sass.dart.js 5.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295112296112297112298112299112300112301112302112303112304112305112306112307112308112309112310112311112312112313112314112315112316112317112318112319112320112321112322112323112324112325112326112327112328112329112330112331112332112333112334112335112336112337112338112339112340112341112342112343112344112345112346112347112348112349112350112351112352112353112354112355112356112357112358112359112360112361112362112363112364112365112366112367112368112369112370112371112372112373112374112375112376112377112378112379112380112381112382112383112384112385112386112387112388112389112390112391112392112393112394112395112396112397112398112399112400112401112402112403112404112405112406112407112408112409112410112411112412112413112414112415112416112417112418112419112420112421112422112423112424112425112426112427112428112429112430112431112432112433112434112435112436112437112438112439112440112441112442112443112444112445112446112447112448112449112450112451112452112453112454112455112456112457112458112459112460112461112462112463112464112465112466112467112468112469112470112471112472112473112474112475112476112477112478112479112480112481112482112483112484112485112486112487112488112489112490112491112492112493112494112495112496112497112498112499112500112501112502112503112504112505112506112507112508112509112510112511112512112513112514112515112516112517112518112519112520112521112522112523112524112525112526112527112528112529112530112531112532112533112534112535112536112537112538112539112540112541112542112543112544112545112546112547112548112549112550112551112552112553112554112555112556112557112558112559112560112561112562112563112564112565112566112567112568112569112570112571112572112573112574112575112576112577112578112579112580112581112582112583112584112585112586112587112588112589112590112591112592112593112594112595112596112597112598112599112600112601112602112603112604112605112606112607112608112609112610112611112612112613112614112615112616112617112618112619112620112621112622112623112624112625112626112627112628112629112630112631112632112633112634112635112636112637112638112639112640112641112642112643112644112645112646112647112648112649112650112651112652112653112654112655112656112657112658112659112660112661112662112663112664112665112666112667112668112669112670112671112672112673112674112675112676112677112678112679112680112681112682112683112684112685112686112687112688112689112690112691112692112693112694112695112696112697112698112699112700112701112702112703112704112705112706112707112708112709112710112711112712112713112714112715112716112717112718112719112720112721112722112723112724112725112726112727112728112729112730112731112732112733112734112735112736112737112738112739112740112741112742112743112744112745112746112747112748112749112750112751112752112753112754112755112756112757112758112759112760112761112762112763112764112765112766112767112768112769112770112771112772112773112774112775112776112777112778112779112780112781112782112783112784112785112786112787112788112789112790112791112792112793112794112795112796112797112798112799112800112801112802112803112804112805112806112807112808112809112810112811112812112813112814112815112816112817112818112819112820112821112822112823112824112825112826112827112828112829112830112831112832112833112834112835112836112837112838112839112840112841112842112843112844112845112846112847112848112849112850112851112852112853112854112855112856112857112858112859112860112861112862112863112864112865112866112867112868112869112870112871112872112873112874112875112876112877112878112879112880112881112882112883112884112885112886112887112888112889112890112891112892112893112894112895112896112897112898112899112900112901112902112903112904112905112906112907112908112909112910112911112912112913112914112915112916112917112918112919112920112921112922112923112924112925112926112927112928112929112930112931112932112933112934112935112936112937112938112939112940112941112942112943112944112945112946112947112948112949112950112951112952112953112954112955112956112957112958112959112960112961112962112963112964112965112966112967112968112969112970112971112972112973112974112975112976112977112978112979112980112981112982112983112984112985112986112987112988112989112990112991112992112993112994112995112996112997112998112999113000113001113002113003113004113005113006113007113008113009113010113011113012113013113014113015113016113017113018113019113020113021113022113023113024113025113026113027113028113029113030113031113032113033113034113035113036113037113038113039113040113041113042113043113044113045113046113047113048113049113050113051113052113053113054113055113056113057113058113059113060113061113062113063113064113065113066113067113068113069113070113071113072113073113074113075113076113077113078113079113080113081113082113083113084113085113086113087113088113089113090113091113092113093113094113095113096113097113098113099113100113101113102113103113104113105113106113107113108113109113110113111113112113113113114113115113116113117113118113119113120113121113122113123113124113125113126113127113128113129113130113131113132113133113134113135113136113137113138113139113140113141113142113143113144113145113146113147113148113149113150113151113152113153113154113155113156113157113158113159113160113161113162113163113164113165113166113167113168113169113170113171113172113173113174113175113176113177113178113179113180113181113182113183113184113185113186113187113188113189113190113191113192113193113194113195113196113197113198113199113200113201113202113203113204113205113206113207113208113209113210113211113212113213113214113215113216113217113218113219113220113221113222113223113224113225113226113227113228113229113230113231113232113233113234113235113236113237113238113239113240113241113242113243113244113245113246113247113248113249113250113251113252113253113254113255113256113257113258113259113260113261113262113263113264113265113266113267113268113269113270113271113272113273113274113275113276113277113278113279113280113281113282113283113284113285113286113287113288113289113290113291113292113293113294113295113296113297113298113299113300113301113302113303113304113305113306113307113308113309113310113311113312113313113314113315113316113317113318113319113320113321113322113323113324113325113326113327113328113329113330113331113332113333113334113335113336113337113338113339113340113341113342113343113344113345113346113347113348113349113350113351113352113353113354113355113356113357113358113359113360113361113362113363113364113365113366113367113368113369113370113371113372113373113374113375113376113377113378113379113380113381113382113383113384113385113386113387113388113389113390113391113392113393113394113395113396113397113398113399113400113401113402113403113404113405113406113407113408113409113410113411113412113413113414113415113416113417113418113419113420113421113422113423113424113425113426113427113428113429113430113431113432113433113434113435113436113437113438113439113440113441113442113443113444113445113446113447113448113449113450113451113452113453113454113455113456113457113458113459113460113461113462113463113464113465113466113467113468113469113470113471113472113473113474113475113476113477113478113479113480113481113482113483113484113485113486113487113488113489113490113491113492113493113494113495113496113497113498113499113500113501113502113503113504113505113506113507113508113509113510113511113512113513113514113515113516113517113518113519113520113521113522113523113524113525113526113527113528113529113530113531113532113533113534113535113536113537113538113539113540113541113542113543113544113545113546113547113548113549113550113551113552113553113554113555113556113557113558113559113560113561113562113563113564113565113566113567113568113569113570113571113572113573113574113575113576113577113578113579113580113581113582113583113584113585113586113587113588113589113590113591113592113593113594113595113596113597113598113599113600113601113602113603113604113605113606113607113608113609113610113611113612113613113614113615113616113617113618113619113620113621113622113623113624113625113626113627113628113629113630113631113632113633113634113635113636113637113638113639113640113641113642113643113644113645113646113647113648113649113650113651113652113653113654113655113656113657113658113659113660113661113662113663113664113665113666113667113668113669113670113671113672113673113674113675113676113677113678113679113680113681113682113683113684113685113686113687113688113689113690113691113692113693113694113695113696113697113698113699113700113701113702113703113704113705113706113707113708113709113710113711113712113713113714113715113716113717113718113719113720113721113722113723113724113725113726113727113728113729113730113731113732113733113734113735113736113737113738113739113740113741113742113743113744113745113746113747113748113749113750113751113752113753113754113755113756113757113758113759113760113761113762113763113764113765113766113767113768113769113770113771113772113773113774113775113776113777113778113779113780113781113782113783113784113785113786113787113788113789113790113791113792113793113794113795113796113797113798113799113800113801113802113803113804113805113806113807113808113809113810113811113812113813113814113815113816113817113818113819113820113821113822113823113824113825113826113827113828113829113830113831113832113833113834113835113836113837113838113839113840113841113842113843113844113845113846113847113848113849113850113851113852113853113854113855113856113857113858113859113860113861113862113863113864113865113866113867113868113869113870113871113872113873113874113875113876113877113878113879113880113881113882113883113884113885113886113887113888113889113890113891113892113893113894113895113896113897113898113899113900113901113902113903113904113905113906113907113908113909113910113911113912113913113914113915113916113917113918113919113920113921113922113923113924113925113926113927113928113929113930113931113932113933113934113935113936113937113938113939113940113941113942113943113944113945113946113947113948113949113950113951113952113953113954113955113956113957113958113959113960113961113962113963113964113965113966113967113968113969113970113971113972113973113974113975113976113977113978113979113980113981113982113983113984113985113986113987113988113989113990113991113992113993113994113995113996113997113998113999114000114001114002114003114004114005114006114007114008114009114010114011114012114013114014114015114016114017114018114019114020114021114022114023114024114025114026114027114028114029114030114031114032114033114034114035114036114037114038114039114040114041114042114043114044114045114046114047114048114049114050114051114052114053114054114055114056114057114058114059114060114061114062114063114064114065114066114067114068114069114070114071114072114073114074114075114076114077114078114079114080114081114082114083114084114085114086114087114088114089114090114091114092114093114094114095114096114097114098114099114100114101114102114103114104114105114106114107114108114109114110114111114112114113114114114115114116114117114118114119114120114121114122114123114124114125114126114127114128114129114130114131114132114133114134114135114136114137114138114139114140114141114142114143114144114145114146114147114148114149114150114151114152114153114154114155114156114157114158114159114160114161114162114163114164114165114166114167114168114169114170114171114172114173114174114175114176114177114178114179114180114181114182114183114184114185114186114187114188114189114190114191114192114193114194114195114196114197114198114199114200114201114202114203114204114205114206114207114208114209114210114211114212114213114214114215114216114217114218114219114220114221114222114223114224114225114226114227114228114229114230114231114232114233114234114235114236114237114238114239114240114241114242114243114244114245114246114247114248114249114250114251114252114253114254114255114256114257114258114259114260114261114262114263114264114265114266114267114268114269114270114271114272114273114274114275114276114277114278114279114280114281114282114283114284114285114286114287114288114289114290114291114292114293114294114295114296114297114298114299114300114301114302114303114304114305114306114307114308114309114310114311114312114313114314114315114316114317114318114319114320114321114322114323114324114325114326114327114328114329114330114331114332114333114334114335114336114337114338114339114340114341114342114343114344114345114346114347114348114349114350114351114352114353114354114355114356114357114358114359114360114361114362114363114364114365114366114367114368114369114370114371114372114373114374114375114376114377114378114379114380114381114382114383114384114385114386114387114388114389114390114391114392114393114394114395114396114397114398114399114400114401114402114403114404114405114406114407114408114409114410114411114412114413114414114415114416114417114418114419114420114421114422114423114424114425114426114427114428114429114430114431114432114433114434114435114436114437114438114439114440114441114442114443114444114445114446114447114448114449114450114451114452114453114454114455114456114457114458114459114460114461114462114463114464114465114466114467114468114469114470114471114472114473114474114475114476114477114478114479114480114481114482114483114484114485114486114487114488114489114490114491114492114493114494114495114496114497114498114499114500114501114502114503114504114505114506114507114508114509114510114511114512114513114514114515114516114517114518114519114520114521114522114523114524114525114526114527114528114529114530114531114532114533114534114535114536114537114538114539114540114541114542114543114544114545114546114547114548114549114550114551114552114553114554114555114556114557114558114559114560114561114562114563114564114565114566114567114568114569114570114571114572114573114574114575114576114577114578114579114580114581114582114583114584114585114586114587114588114589114590114591114592114593114594114595114596114597114598114599114600114601114602114603114604114605114606114607114608114609114610114611114612114613114614114615114616114617114618114619114620114621114622114623114624114625114626114627114628114629114630114631114632114633114634114635114636114637114638114639114640114641114642114643114644114645114646114647114648114649114650114651114652114653114654114655114656114657114658114659114660114661114662114663114664114665114666114667114668114669114670114671114672114673114674114675114676114677114678114679114680114681114682114683114684114685114686114687114688114689114690114691114692114693114694114695114696114697114698114699114700114701114702114703114704114705114706114707114708114709114710114711114712114713114714114715114716114717114718114719114720114721114722114723114724114725114726114727114728114729114730114731114732114733114734114735114736114737114738114739114740114741114742114743114744114745114746114747114748114749114750114751114752114753114754114755114756114757114758114759114760114761114762114763114764114765114766114767114768114769114770114771114772114773114774114775114776114777114778114779114780114781114782114783114784114785114786114787114788114789114790114791114792114793114794114795114796114797114798114799114800114801114802114803114804114805114806114807114808114809114810114811114812114813114814114815114816114817114818114819114820114821114822114823114824114825114826114827114828114829114830114831114832114833114834114835114836114837114838114839114840114841114842114843114844114845114846114847114848114849114850114851114852114853114854114855114856114857114858114859114860114861114862114863114864114865114866114867114868114869114870114871114872114873114874114875114876114877114878114879114880114881114882114883114884114885114886114887114888114889114890114891114892114893114894114895114896114897114898114899114900114901114902114903114904114905114906114907114908114909114910114911114912114913114914114915114916114917114918114919114920114921114922114923114924114925114926114927114928114929114930114931114932114933114934114935114936114937114938114939114940114941114942114943114944114945114946114947114948114949114950114951114952114953114954114955114956114957114958114959114960114961114962114963114964114965114966114967114968114969114970114971114972114973114974114975114976114977114978114979114980114981114982114983114984114985114986114987114988114989114990114991114992114993114994114995114996114997114998114999115000115001115002115003115004115005115006115007115008115009115010115011115012115013115014115015115016115017115018115019115020115021115022115023115024115025115026115027115028115029115030115031115032115033115034115035115036115037115038115039115040115041115042115043115044115045115046115047115048115049115050115051115052115053115054115055115056115057115058115059115060115061115062115063115064115065115066115067115068115069115070115071115072115073115074115075115076115077115078115079115080115081115082115083115084115085115086115087115088115089115090115091115092115093115094115095115096115097115098115099115100115101115102115103115104115105115106115107115108115109115110115111115112115113115114115115115116115117115118115119115120115121115122115123115124115125115126115127115128115129115130115131115132115133115134115135115136115137115138115139115140115141115142115143115144115145115146115147115148115149115150115151115152115153115154115155115156115157115158115159115160115161115162115163115164115165115166115167115168115169115170115171115172115173115174115175115176115177115178115179115180115181115182115183115184115185115186115187115188115189115190115191115192115193115194115195115196115197115198115199115200115201115202115203115204115205115206115207115208115209115210115211115212115213115214115215115216115217115218115219115220115221115222115223115224115225115226115227115228115229115230115231115232115233115234115235115236115237115238115239115240115241115242115243115244115245115246115247115248115249115250115251115252115253115254115255115256115257115258115259115260115261115262115263115264115265115266115267115268115269115270115271115272115273115274115275115276115277115278115279115280115281115282115283115284115285115286115287115288115289115290115291115292115293115294115295115296115297115298115299115300115301115302115303115304115305115306115307115308115309115310115311115312115313115314115315115316115317115318115319115320115321115322115323115324115325115326115327115328115329115330115331115332115333115334115335115336115337115338115339115340115341115342115343115344115345115346115347115348115349115350115351115352115353115354115355115356115357115358115359115360115361115362115363115364115365115366115367115368115369115370115371115372115373115374115375115376115377115378115379115380115381115382115383115384115385115386115387115388115389115390115391115392115393115394115395115396115397115398115399115400115401115402115403115404115405115406115407115408115409115410115411115412115413115414115415115416115417115418115419115420115421115422115423115424115425115426115427115428115429115430115431115432115433115434115435115436115437115438115439115440115441115442115443115444115445115446115447115448115449115450115451115452115453115454115455115456115457115458115459115460115461115462115463115464115465115466115467115468115469115470115471115472115473115474115475115476115477115478115479115480115481115482115483115484115485115486115487115488115489115490115491115492115493115494115495115496115497115498115499115500115501115502115503115504115505115506115507115508115509115510115511115512115513115514115515115516115517115518115519115520115521115522115523115524115525115526115527115528115529115530115531115532115533115534115535115536115537115538115539115540115541115542115543115544115545115546115547115548115549115550115551115552115553115554115555115556115557115558115559115560115561115562115563115564115565115566115567115568115569115570115571115572115573115574115575115576115577115578115579115580115581115582115583115584115585115586115587115588115589115590115591115592115593115594115595115596115597115598115599115600115601115602115603115604115605115606115607115608115609115610115611115612115613115614115615115616115617115618115619115620115621115622115623115624115625115626115627115628115629115630115631115632115633115634115635115636115637115638115639115640115641115642115643115644115645115646115647115648115649115650115651115652115653115654115655115656115657115658115659115660115661115662115663115664115665115666115667115668115669115670115671115672115673115674115675115676115677115678115679115680115681115682115683115684115685115686115687115688115689115690115691115692115693115694115695115696115697115698115699115700115701115702115703115704115705115706115707115708115709115710115711115712115713115714115715115716115717115718115719115720115721115722115723115724115725115726115727115728115729115730115731115732115733115734115735115736115737115738115739115740115741115742115743115744115745115746115747115748115749115750115751115752115753115754115755115756115757115758115759115760115761115762115763115764115765115766115767115768115769115770115771115772115773115774115775115776115777115778115779115780115781115782115783115784115785115786115787115788115789115790115791115792115793115794115795115796115797115798115799115800115801115802115803115804115805115806115807115808115809115810115811115812115813115814115815115816115817115818115819115820115821115822115823115824115825115826115827115828115829115830115831115832115833115834115835115836115837115838115839115840115841115842115843115844115845115846115847115848115849115850115851115852115853115854115855115856115857115858115859115860115861115862115863115864115865115866115867115868115869115870115871115872115873115874115875115876115877115878115879115880115881115882115883115884115885115886115887115888115889115890115891115892115893115894115895115896115897115898115899115900115901115902115903115904115905115906115907115908115909115910115911115912115913115914115915115916115917115918115919115920115921115922115923115924115925115926115927115928115929115930115931115932115933115934115935115936115937115938115939115940115941115942115943115944115945115946115947115948115949115950115951115952115953115954115955115956115957115958115959115960115961115962115963115964115965115966115967115968115969115970115971115972115973115974115975115976115977115978115979115980115981115982115983115984115985115986115987115988115989115990115991115992115993115994115995115996115997115998115999116000116001116002116003116004116005116006116007116008116009116010116011116012116013116014116015116016116017116018116019116020116021116022116023116024116025116026116027116028116029116030116031116032116033116034116035116036116037116038116039116040116041116042116043116044116045116046116047116048116049116050116051116052116053116054116055116056116057116058116059116060116061116062116063116064116065116066116067116068116069116070116071116072116073116074116075116076116077116078116079116080116081116082116083116084116085116086116087116088116089116090116091116092116093116094116095116096116097116098116099116100116101116102116103116104116105116106116107116108116109116110116111116112116113116114116115116116116117116118116119116120116121116122116123116124116125116126116127116128116129116130116131116132116133116134116135116136116137116138116139116140116141116142116143116144116145116146116147116148116149116150116151116152116153116154116155116156116157116158116159116160116161116162116163116164116165116166116167116168116169116170116171116172116173116174116175116176116177116178116179116180116181116182116183116184116185116186116187116188116189116190116191116192116193116194116195116196116197116198116199116200116201116202116203116204116205116206116207116208116209116210116211116212116213116214116215116216116217116218116219116220116221116222116223116224116225116226116227116228116229116230116231116232116233116234116235116236116237116238116239116240116241116242116243116244116245116246116247116248116249116250116251116252116253116254116255116256116257116258116259116260116261116262116263116264116265116266116267116268116269116270116271116272116273116274116275116276116277116278116279116280116281116282116283116284116285116286116287116288116289116290116291116292116293116294116295116296116297116298116299116300116301116302116303116304116305116306116307116308116309116310116311116312116313116314116315116316116317116318116319116320116321116322116323116324116325116326116327116328116329116330116331116332116333116334116335116336116337116338116339116340116341116342116343116344116345116346116347116348116349116350116351116352116353116354116355116356116357116358116359116360116361116362116363116364116365116366116367116368116369116370116371116372116373116374116375116376116377116378116379116380116381116382116383116384116385116386116387116388116389116390116391116392116393116394116395116396116397116398116399116400116401116402116403116404116405116406116407116408116409116410116411116412116413116414116415116416116417116418116419116420116421116422116423116424116425116426116427116428116429116430116431116432116433116434116435116436116437116438116439116440116441116442116443116444116445116446116447116448116449116450116451116452116453116454116455116456116457116458116459116460116461116462116463116464116465116466116467116468116469116470116471116472116473116474116475116476116477116478116479116480116481116482116483116484116485116486116487116488116489116490116491116492116493116494116495116496116497116498116499116500116501116502116503116504116505116506116507116508116509116510116511116512116513116514116515116516116517116518116519116520116521116522116523116524116525116526116527116528116529116530116531116532116533116534116535116536116537116538116539116540116541116542116543116544116545116546116547116548116549116550116551116552116553116554116555116556116557116558116559116560116561116562116563116564116565116566116567116568116569116570116571116572116573116574116575116576116577116578116579116580116581116582116583116584116585116586116587116588116589116590116591116592116593116594116595116596116597116598116599116600116601116602116603116604116605116606116607116608116609116610116611116612116613116614116615116616116617116618116619116620116621116622116623116624116625116626116627116628116629116630116631116632116633116634116635116636116637116638116639116640116641116642116643116644116645116646116647116648116649116650116651116652116653116654116655116656116657116658116659116660116661116662116663116664116665116666116667116668116669116670116671116672116673116674116675116676116677116678116679116680116681116682116683116684116685116686116687116688116689116690116691116692116693116694116695116696116697116698116699116700116701116702116703116704116705116706116707116708116709116710116711116712116713116714116715116716116717116718116719116720116721116722116723116724116725116726116727116728116729116730116731116732116733116734116735116736116737116738116739116740116741116742116743116744116745116746116747116748116749116750116751116752116753116754116755116756116757116758116759116760116761116762116763116764116765116766116767116768116769116770116771116772116773116774116775116776116777116778116779116780116781116782116783116784116785116786116787116788116789116790116791116792116793116794116795116796116797116798116799116800116801116802116803116804116805116806116807116808116809116810116811116812116813116814116815116816116817116818116819116820116821116822116823116824116825116826116827116828116829116830116831116832116833116834116835116836116837116838116839116840116841116842116843116844116845116846116847116848116849116850116851116852116853116854116855116856116857116858116859116860116861116862116863116864116865116866116867116868116869116870116871116872116873116874116875116876116877116878116879116880116881116882116883116884116885116886116887116888116889116890116891116892116893116894116895116896116897116898116899116900116901116902116903116904116905116906116907116908116909116910116911116912116913116914116915116916116917116918116919116920116921116922116923116924116925116926116927116928116929116930116931116932116933116934116935116936116937116938116939116940116941116942116943116944116945116946116947116948116949116950116951116952116953116954116955116956116957116958116959116960116961116962116963116964116965116966116967116968116969116970116971116972116973116974116975116976116977116978116979116980116981116982116983116984116985116986116987116988116989116990116991116992116993116994116995116996116997116998116999117000117001117002117003117004117005117006117007117008117009117010117011117012117013117014117015117016117017117018117019117020117021117022117023117024117025117026117027117028117029117030117031117032117033117034117035117036117037117038117039117040117041117042117043117044117045117046117047117048117049117050117051117052117053117054117055117056117057117058117059117060117061117062117063117064117065117066117067117068117069117070117071117072117073117074117075117076117077117078117079117080117081117082117083117084117085117086117087117088117089117090117091117092117093117094117095117096117097117098117099117100117101117102117103117104117105117106117107117108117109117110117111117112117113117114117115117116117117117118117119117120117121117122117123117124117125117126117127117128117129117130117131117132117133117134117135117136117137117138117139117140117141117142117143117144117145117146117147117148117149117150117151117152117153117154117155117156117157117158117159117160117161117162117163117164117165117166117167117168117169117170117171117172117173117174117175117176117177117178117179117180117181117182117183117184117185117186117187117188117189117190117191117192117193117194117195117196117197117198117199117200117201117202117203117204117205117206117207117208117209117210117211117212117213117214117215117216117217117218117219117220117221117222117223117224117225117226117227117228117229117230117231117232117233117234117235117236117237117238117239117240117241117242117243117244117245117246117247117248117249117250117251117252117253117254117255117256117257117258117259117260117261117262117263117264117265117266117267117268117269117270117271117272117273117274117275117276117277117278117279117280117281117282117283117284117285117286117287117288117289117290117291117292117293117294117295117296117297117298117299117300117301117302117303117304117305117306117307117308117309117310117311117312117313117314117315117316117317117318117319117320117321117322117323117324117325117326117327117328117329117330117331117332117333117334117335117336117337117338117339117340117341117342117343117344117345117346117347117348117349117350117351117352117353117354117355117356117357117358117359117360117361117362117363117364117365117366117367117368117369117370117371117372117373117374117375117376117377117378117379117380117381117382117383117384117385117386117387117388117389117390117391117392117393117394117395117396117397117398117399117400117401117402117403117404117405117406117407117408117409117410117411117412117413117414117415117416117417117418117419117420117421117422117423117424117425117426117427117428117429117430117431117432117433117434117435117436117437117438117439117440117441117442117443117444117445117446117447117448117449117450117451117452117453117454117455117456117457117458117459117460117461117462117463117464117465117466117467117468117469117470117471117472117473117474117475117476117477117478117479117480117481117482117483117484117485117486117487117488117489117490117491117492117493117494117495117496117497117498117499117500117501117502117503117504117505117506117507117508117509117510117511117512117513117514117515117516117517117518117519117520117521117522117523117524117525117526117527117528117529117530117531117532117533117534117535117536117537117538117539117540117541117542117543117544117545117546117547117548117549117550117551117552117553117554117555117556117557117558117559117560117561117562117563117564117565117566117567117568117569117570117571117572117573117574117575117576117577117578117579117580117581117582117583117584117585117586117587117588117589117590117591117592117593117594117595117596117597117598117599117600117601117602117603117604117605117606117607117608117609117610117611117612117613117614117615117616117617117618117619117620117621117622117623117624117625117626117627117628117629117630117631117632117633117634117635117636117637117638117639117640117641117642117643117644117645117646117647117648117649117650117651117652117653117654117655117656117657117658117659117660117661117662117663117664117665117666117667117668117669117670117671117672117673117674117675117676117677117678117679117680117681117682117683117684117685117686117687117688117689117690117691117692117693117694117695117696117697117698117699117700117701117702117703117704117705117706117707117708117709117710117711117712117713117714117715117716117717117718117719117720117721117722117723117724117725117726117727117728117729117730117731117732117733117734117735117736117737117738117739117740117741117742117743117744117745117746117747117748117749117750117751117752117753117754117755117756117757117758117759117760117761117762117763117764117765117766117767117768117769117770117771117772117773117774117775117776117777117778117779117780117781117782117783117784117785117786117787117788117789117790117791117792117793117794117795117796117797117798117799117800117801117802117803117804117805117806117807117808117809117810117811117812117813117814117815117816117817117818117819117820117821117822117823117824117825117826117827117828117829117830117831117832117833117834117835117836117837117838117839117840117841117842117843117844117845117846117847117848117849117850117851117852117853117854117855117856117857117858117859117860117861117862117863117864117865117866117867117868117869117870117871117872117873117874117875117876117877117878117879117880117881117882117883117884117885117886117887117888117889117890117891117892117893117894117895117896117897117898117899117900117901117902117903117904117905117906117907117908117909117910117911117912117913117914117915117916117917117918117919117920117921117922117923117924117925117926117927117928117929117930117931117932117933117934117935117936117937117938117939117940117941117942117943117944117945117946117947117948117949117950117951117952117953117954117955117956117957117958117959117960117961117962117963117964117965117966117967117968117969117970117971117972117973117974117975117976117977117978117979117980117981117982117983117984117985117986117987117988117989117990117991117992117993117994117995117996117997117998117999118000118001118002118003118004118005118006118007118008118009118010118011118012118013118014118015118016118017118018118019118020118021118022118023118024118025118026118027118028118029118030118031118032118033118034118035118036118037118038118039118040118041118042118043118044118045118046118047118048118049118050118051118052118053118054118055118056118057118058118059118060118061118062118063118064118065118066118067118068118069118070118071118072118073118074118075118076118077118078118079118080118081118082118083118084118085118086118087118088118089118090118091118092118093118094118095118096118097118098118099118100118101118102118103118104118105118106118107118108118109118110118111118112118113118114118115118116118117118118118119118120118121118122118123118124118125118126118127118128118129118130118131118132118133118134118135118136118137118138118139118140118141118142118143118144118145118146118147118148118149118150118151118152118153118154118155118156118157118158118159118160118161118162118163118164118165118166118167118168118169118170118171118172118173118174118175118176118177118178118179118180118181118182118183118184118185118186118187118188118189118190118191118192118193118194118195118196118197118198118199118200118201118202118203118204118205118206118207118208118209118210118211118212118213118214118215118216118217118218118219118220118221118222118223118224118225118226118227118228118229118230118231118232118233118234118235118236118237118238118239118240118241118242118243118244118245118246118247118248118249118250118251118252118253118254118255118256118257118258118259118260118261118262118263118264118265118266118267118268118269118270118271118272118273118274118275118276118277118278118279118280118281118282118283118284118285118286118287118288118289118290118291118292118293118294118295118296118297118298118299118300118301118302118303118304118305118306118307118308118309118310118311118312118313118314118315118316118317118318118319118320118321118322118323118324118325118326118327118328118329118330118331118332118333118334118335118336118337118338118339118340118341118342118343118344118345118346118347118348118349118350118351118352118353118354118355118356118357118358118359118360118361118362118363118364118365118366118367118368118369118370118371118372118373118374118375118376118377118378118379118380118381118382118383118384118385118386118387118388118389118390118391118392118393118394118395118396118397118398118399118400118401118402118403118404118405118406118407118408118409118410118411118412118413118414118415118416118417118418118419118420118421118422118423118424118425118426118427118428118429118430118431118432118433118434118435118436118437118438118439118440118441118442118443118444118445118446118447118448118449118450118451118452118453118454118455118456118457118458118459118460118461118462118463118464118465118466118467118468118469118470118471118472118473118474118475118476118477118478118479118480118481118482118483118484118485118486118487118488118489118490118491118492118493118494118495118496118497118498118499118500118501118502118503118504118505118506118507118508118509118510118511118512118513118514118515118516118517118518118519118520118521118522118523118524118525118526118527118528118529118530118531118532118533118534118535118536118537118538118539118540118541118542118543118544118545118546118547118548118549118550118551118552118553118554118555118556118557118558118559118560118561118562118563118564118565118566118567118568118569118570118571118572118573118574118575118576118577118578118579118580118581118582118583118584118585118586118587118588118589118590118591118592118593118594118595118596118597118598118599118600118601118602118603118604118605118606118607118608118609118610118611118612118613118614118615118616118617118618118619118620118621118622118623118624118625118626118627118628118629118630118631118632118633118634118635118636118637118638118639118640118641118642118643118644118645118646118647118648118649118650118651118652118653118654118655118656118657118658118659118660118661118662118663118664118665118666118667118668118669118670118671118672118673118674118675118676118677118678118679118680118681118682118683118684118685118686118687118688118689118690118691118692118693118694118695118696118697118698118699118700118701118702118703118704118705118706118707118708118709118710118711118712118713118714118715118716118717118718118719118720118721118722118723118724118725118726118727118728118729118730118731118732118733118734118735118736118737118738118739118740118741118742118743118744118745118746118747118748118749118750118751118752118753118754118755118756118757118758118759118760118761118762118763118764118765118766118767118768118769118770118771118772118773118774118775118776118777118778118779118780118781118782118783118784118785118786118787118788118789118790118791118792118793118794118795118796118797118798118799118800118801118802118803118804118805118806118807118808118809118810118811118812118813118814118815118816118817118818118819118820118821118822118823118824118825118826118827118828118829118830118831118832118833118834118835118836118837118838118839118840118841118842118843118844118845118846118847118848118849118850118851118852118853118854118855118856118857118858118859118860118861118862118863118864118865118866118867118868118869118870118871118872118873118874118875118876118877118878118879118880118881118882118883118884118885118886118887118888118889118890118891118892118893118894118895118896118897118898118899118900118901118902118903118904118905118906118907118908118909118910118911118912118913118914118915118916118917118918118919118920118921118922118923118924118925118926118927118928118929118930118931118932118933118934118935118936118937118938118939118940118941118942118943118944118945118946118947118948118949118950118951118952118953118954118955118956118957118958118959118960118961118962118963118964118965118966118967118968118969118970118971118972118973118974118975118976118977118978118979118980118981118982118983118984118985118986118987118988118989118990118991118992118993118994118995118996118997118998118999119000119001119002119003119004119005119006119007119008119009119010119011119012119013119014119015119016119017119018119019119020119021119022119023119024119025119026119027119028119029119030119031119032119033119034119035119036119037119038119039119040119041119042119043119044119045119046119047119048119049119050119051119052119053119054119055119056119057119058119059119060119061119062119063119064119065119066119067119068119069119070119071119072119073119074119075119076119077119078119079119080119081119082119083119084119085119086119087119088119089119090119091119092119093119094119095119096119097119098119099119100119101119102119103119104119105119106119107119108119109119110119111119112119113119114119115119116119117119118119119119120119121119122119123119124119125119126119127119128119129119130119131119132119133119134119135119136119137119138119139119140119141119142119143119144119145119146119147119148119149119150119151119152119153119154119155119156119157119158119159119160119161119162119163119164119165119166119167119168119169119170119171119172119173119174119175119176119177119178119179119180119181119182119183119184119185119186119187119188119189119190119191119192119193119194119195119196119197119198119199119200119201119202119203119204119205119206119207119208119209119210119211119212119213119214119215119216119217119218119219119220119221119222119223119224119225119226119227119228119229119230119231119232119233119234119235119236119237119238119239119240119241119242119243119244119245119246119247119248119249119250119251119252119253119254119255119256119257119258119259119260119261119262119263119264119265119266119267119268119269119270119271119272119273119274119275119276119277119278119279119280119281119282119283119284119285119286119287119288119289119290119291119292119293119294119295119296119297119298119299119300119301119302119303119304119305119306119307119308119309119310119311119312119313119314119315119316119317119318119319119320119321119322119323119324119325119326119327119328119329119330119331119332119333119334119335119336119337119338119339119340119341119342119343119344119345119346119347119348119349119350119351119352119353119354119355119356119357119358119359119360119361119362119363119364119365119366119367119368119369119370119371119372119373119374119375119376119377119378119379119380119381119382119383119384119385119386119387119388119389119390119391119392119393119394119395119396119397119398119399119400119401119402119403119404119405119406119407119408119409119410119411119412119413119414119415119416119417119418119419119420119421119422119423119424119425119426119427119428119429119430119431119432119433119434119435119436119437119438119439119440119441119442119443119444119445119446119447119448119449119450119451119452119453119454119455119456119457119458119459119460119461119462119463119464119465119466119467119468119469119470119471119472119473119474119475119476119477119478119479119480119481119482119483119484119485119486119487119488119489119490119491119492119493119494119495119496119497119498119499119500119501119502119503119504119505119506119507119508119509119510119511119512119513119514119515119516119517119518119519119520119521119522119523119524119525119526119527119528119529119530119531119532119533119534119535119536119537119538119539119540119541119542119543119544119545119546119547119548119549119550119551119552119553119554119555119556119557119558119559119560119561119562119563119564119565119566119567119568119569119570119571119572119573119574119575119576119577119578119579119580119581119582119583119584119585119586119587119588119589119590119591119592119593119594119595119596119597119598119599119600119601119602119603119604119605119606119607119608119609119610119611119612119613119614119615119616119617119618119619119620119621119622119623119624119625119626119627119628119629119630119631119632119633119634119635119636119637119638119639119640119641119642119643119644119645119646119647119648119649119650119651119652119653119654119655119656119657119658119659119660119661119662119663119664119665119666119667119668119669119670119671119672119673119674119675119676119677119678119679119680119681119682119683119684119685119686119687119688119689119690119691119692119693119694119695119696119697119698119699119700119701119702119703119704119705119706119707119708119709119710119711119712119713119714119715119716119717119718119719119720119721119722119723119724119725119726119727119728119729119730119731119732119733119734119735119736119737119738119739119740119741119742119743119744119745119746119747119748119749119750119751119752119753119754119755119756119757119758119759119760119761119762119763119764119765119766119767119768119769119770119771119772119773119774119775119776119777119778119779119780119781119782119783119784119785119786119787119788119789119790119791119792119793119794119795119796119797119798119799119800119801119802119803119804119805119806119807119808119809119810119811119812119813119814119815119816119817119818119819119820119821119822119823119824119825119826119827119828119829119830119831119832119833119834119835119836119837119838119839119840119841119842119843119844119845119846119847119848119849119850119851119852119853119854119855119856119857119858119859119860119861119862119863119864119865119866119867119868119869119870119871119872119873119874119875119876119877119878119879119880119881119882119883119884119885119886119887119888119889119890119891119892119893119894119895119896119897119898119899119900119901119902119903119904119905119906119907119908119909119910119911119912119913119914119915119916119917119918119919119920119921119922119923119924119925119926119927119928119929119930119931119932119933119934119935119936119937119938119939119940119941119942119943119944119945119946119947119948119949119950119951119952119953119954119955119956119957119958119959119960119961119962119963119964119965119966119967119968119969119970119971119972119973119974119975119976119977119978119979119980119981119982119983119984119985119986119987119988119989119990119991119992119993119994119995119996119997119998119999120000120001120002120003120004120005120006120007120008120009120010120011120012120013120014120015120016120017120018120019120020120021120022120023120024120025120026120027120028120029120030120031120032120033120034120035120036120037120038120039120040120041120042120043120044120045120046120047120048120049120050120051120052120053120054120055120056120057120058120059120060120061120062120063120064120065120066120067120068120069120070120071120072120073120074120075120076120077120078120079120080120081120082120083120084120085120086120087120088120089120090120091120092120093120094120095120096120097120098120099120100120101120102120103120104120105120106120107120108120109120110120111120112120113120114120115120116120117120118120119120120120121120122120123120124120125120126120127120128120129120130120131120132120133120134120135120136120137120138120139120140120141120142120143120144120145120146120147120148120149120150120151120152120153120154120155120156120157120158120159120160120161120162120163120164120165120166120167120168120169120170120171120172120173120174120175120176120177120178120179120180120181120182120183120184120185120186120187120188120189120190120191120192120193120194120195120196120197120198120199120200120201120202120203120204120205120206120207120208120209120210120211120212120213120214120215120216120217120218120219120220120221120222120223120224120225120226120227120228120229120230120231120232120233120234120235120236120237120238120239120240120241120242120243120244120245120246120247120248120249120250120251120252120253120254120255120256120257120258120259120260120261120262120263120264120265120266120267120268120269120270120271120272120273120274120275120276120277120278120279120280120281120282120283120284120285120286120287120288120289120290120291120292120293120294120295120296120297120298120299120300120301120302120303120304120305120306120307120308120309120310120311120312120313120314120315120316120317120318120319120320120321120322120323120324120325120326120327120328120329120330120331120332120333120334120335120336120337120338120339120340120341120342120343120344120345120346120347120348120349120350120351120352120353120354120355120356120357120358120359120360120361120362120363120364120365120366120367120368120369120370120371120372120373120374120375120376120377120378120379120380120381120382120383120384120385120386120387120388120389120390120391120392120393120394120395120396120397120398120399120400120401120402120403120404120405120406120407120408120409120410120411120412120413120414120415120416120417120418120419120420120421120422120423120424120425120426120427120428120429120430120431120432120433120434120435120436120437120438120439120440120441120442120443120444120445120446120447120448120449120450120451120452120453120454120455120456120457120458120459120460120461120462120463120464120465120466120467120468120469120470120471120472120473120474120475120476120477120478120479120480120481120482120483120484120485120486120487120488120489120490120491120492120493120494120495120496120497120498120499120500120501120502120503120504120505120506120507120508120509120510120511120512120513120514120515120516120517120518120519120520120521120522120523120524120525120526120527120528120529120530120531120532120533120534120535120536120537120538120539120540120541120542120543120544120545120546120547120548120549120550120551120552120553120554120555120556120557120558120559120560120561120562120563120564120565120566120567120568120569120570120571120572120573120574120575120576120577120578120579120580120581120582120583120584120585120586120587120588120589120590120591120592120593120594120595120596120597120598120599120600120601120602120603120604120605120606120607120608120609120610120611120612120613120614120615120616120617120618120619120620120621120622120623120624120625120626120627120628120629120630120631120632120633120634120635120636120637120638120639120640120641120642120643120644120645120646120647120648120649120650120651120652120653120654120655120656120657120658120659120660120661120662120663120664120665120666120667120668120669120670120671120672120673120674120675120676120677120678120679120680120681120682120683120684120685120686120687120688120689120690120691120692120693120694120695120696120697120698120699120700120701120702120703120704120705120706120707120708120709120710120711120712120713120714120715120716120717120718120719120720120721120722120723120724120725120726120727120728120729120730120731120732120733120734120735120736120737120738120739120740120741120742120743120744120745120746120747120748120749120750120751120752120753120754120755120756120757120758120759120760120761120762120763120764120765120766120767120768120769120770120771120772120773120774120775120776120777120778120779120780120781120782120783120784120785120786120787120788120789120790120791120792120793120794120795120796120797120798120799120800120801120802120803120804120805120806120807120808120809120810120811120812120813120814120815120816120817120818120819120820120821120822120823120824120825120826120827120828120829120830120831120832120833120834120835120836120837120838120839120840120841120842120843120844120845120846120847120848120849120850120851120852120853120854120855120856120857120858120859120860120861120862120863120864120865120866120867120868120869120870120871120872120873120874120875120876120877120878120879120880120881120882120883120884120885120886120887120888120889120890120891120892120893120894120895120896120897120898120899120900120901120902120903120904120905120906120907120908120909120910120911120912120913120914120915120916120917120918120919120920120921120922120923120924120925120926120927120928120929120930120931120932120933120934120935120936120937120938120939120940120941120942120943120944120945120946120947120948120949120950120951120952120953120954120955120956120957120958120959120960120961120962120963120964120965120966120967120968120969120970120971120972120973120974120975120976120977120978120979120980120981120982120983120984120985120986120987120988120989120990120991120992120993120994120995120996120997120998120999121000121001121002121003121004121005121006121007121008121009121010121011121012121013121014121015121016121017121018121019121020121021121022121023121024121025121026121027121028121029121030121031121032121033121034121035121036121037121038121039121040121041121042121043121044121045121046121047121048121049121050121051121052121053121054121055121056121057121058121059121060121061121062121063121064121065121066121067121068121069121070121071121072121073121074121075121076121077121078121079121080121081121082121083121084121085121086121087121088121089121090121091121092121093121094121095121096121097121098121099121100121101121102121103121104121105121106121107121108121109121110121111121112121113121114121115121116121117121118121119121120121121121122121123121124121125121126121127121128121129121130121131121132121133121134121135121136121137121138121139121140121141121142121143121144121145121146121147121148121149121150121151121152121153121154121155121156121157121158121159121160121161121162121163121164121165121166121167121168121169121170121171121172121173121174121175121176121177121178121179121180121181121182121183121184121185121186121187121188121189121190121191121192121193121194121195121196121197121198121199121200121201121202121203121204121205121206121207121208121209121210121211121212121213121214121215121216121217121218121219121220121221121222121223121224121225121226121227121228121229121230121231121232121233121234121235121236121237121238121239121240121241121242121243121244121245121246121247121248121249121250121251121252121253121254121255121256121257121258121259121260121261121262121263121264121265121266121267121268121269121270121271121272121273121274121275121276121277121278121279121280121281121282121283121284121285121286121287121288121289121290121291121292121293121294121295121296121297121298121299121300121301121302121303121304121305121306121307121308121309121310121311121312121313121314121315121316121317121318121319121320121321121322121323121324121325121326121327121328121329121330121331121332121333121334121335121336121337121338121339121340121341121342121343121344121345121346121347121348121349121350121351121352121353121354121355121356121357121358121359121360121361121362121363121364121365121366121367121368121369121370121371121372121373121374121375121376121377121378121379121380121381121382121383121384121385121386121387121388121389121390121391121392121393121394121395121396121397121398121399121400121401121402121403121404121405121406121407121408121409121410121411121412121413121414121415121416121417121418121419121420121421121422121423121424121425121426121427121428121429121430121431121432121433121434121435121436121437121438121439121440121441121442121443121444121445121446121447121448121449121450121451121452121453121454121455121456121457121458121459121460121461121462121463121464121465121466121467121468121469121470121471121472121473121474121475121476121477121478121479121480121481121482121483121484121485121486121487121488121489121490121491121492121493121494121495121496121497121498121499121500121501121502121503121504121505121506121507121508121509121510121511121512121513121514121515121516121517121518121519121520121521121522121523121524121525121526121527121528121529121530121531121532121533121534121535121536121537121538121539121540121541121542121543121544121545121546121547121548121549121550121551121552121553121554121555121556121557121558121559121560121561121562121563121564121565121566121567121568121569121570121571121572121573121574121575121576121577121578121579121580121581121582121583121584121585121586121587121588121589121590121591121592121593121594121595121596121597121598121599121600121601121602121603121604121605121606121607121608121609121610121611121612121613121614121615121616121617121618121619121620121621121622121623121624121625121626121627121628121629121630121631121632121633121634121635121636121637121638121639121640121641121642121643121644121645121646121647121648121649121650121651121652121653121654121655121656121657121658121659121660121661121662121663121664121665121666121667121668121669121670121671121672121673121674121675121676121677121678121679121680121681121682121683121684121685121686121687121688121689121690121691121692121693121694121695121696121697121698121699121700121701121702121703121704121705121706121707121708121709121710121711121712121713121714121715121716121717121718121719121720121721121722121723121724121725121726121727121728121729121730121731121732121733121734121735121736121737121738121739121740121741121742121743121744121745121746121747121748121749121750121751121752121753121754121755121756121757121758121759121760121761121762121763121764121765121766121767121768121769121770121771121772121773121774121775121776121777121778121779121780121781121782121783121784121785121786121787121788121789121790121791121792121793121794121795121796121797121798121799121800121801121802121803121804121805121806121807121808121809121810121811121812121813121814121815121816121817121818121819121820121821121822121823121824121825121826121827121828121829121830121831121832121833121834121835121836121837121838121839121840121841121842121843121844121845121846121847121848121849121850121851121852121853121854121855121856121857121858121859121860121861121862121863121864121865121866121867121868121869121870121871121872121873121874121875121876121877121878121879121880121881121882121883121884121885121886121887121888121889121890121891121892121893121894121895121896121897121898121899121900121901121902121903121904121905121906121907121908121909121910121911121912121913121914121915121916121917121918121919121920121921121922121923121924121925121926121927121928121929121930121931121932121933121934121935121936121937121938121939121940121941121942121943121944121945121946121947121948121949121950121951121952121953121954121955121956121957121958121959121960121961121962121963121964121965121966121967121968121969121970121971121972121973121974121975121976121977121978121979121980121981121982121983121984121985121986121987121988121989121990121991121992121993121994121995121996121997121998121999122000122001122002122003122004122005122006122007122008122009122010122011122012122013122014122015122016122017122018122019122020122021122022122023122024122025122026122027122028122029122030122031122032122033122034122035122036122037122038122039122040122041122042122043122044122045122046122047122048122049122050122051122052122053122054122055122056122057122058122059122060122061122062122063122064122065122066122067122068122069122070122071122072122073122074122075122076122077122078122079122080122081122082122083122084122085122086122087122088122089122090122091122092122093122094122095122096122097122098122099122100122101122102122103122104122105122106122107122108122109122110122111122112122113122114122115122116122117122118122119122120122121122122122123122124122125122126122127122128122129122130122131122132122133122134122135122136122137122138122139122140122141122142122143122144122145122146122147122148122149122150122151122152122153122154122155122156122157122158122159122160122161122162122163122164122165122166122167122168122169122170122171122172122173122174122175122176122177122178122179122180122181122182122183122184122185122186122187122188122189122190122191122192122193122194122195122196122197122198122199122200122201122202122203122204122205122206122207122208122209122210122211122212122213122214122215122216122217122218122219122220122221122222122223122224122225122226122227122228122229122230122231122232122233122234122235122236122237122238122239122240122241122242122243122244122245122246122247122248122249122250122251122252122253122254122255122256122257122258122259122260122261122262122263122264122265122266122267122268122269122270122271122272122273122274122275122276122277122278122279122280122281122282122283122284122285122286122287122288122289122290122291122292122293122294122295122296122297122298122299122300122301122302122303122304122305122306122307122308122309122310122311122312122313122314122315122316122317122318122319122320122321122322122323122324122325122326122327122328122329122330122331122332122333122334122335122336122337122338122339122340122341122342122343122344122345122346122347122348122349122350122351122352122353122354122355122356122357122358122359122360122361122362122363122364122365122366122367122368122369122370122371122372122373122374122375122376122377122378122379122380122381122382122383122384122385122386122387122388122389122390122391122392122393122394122395122396122397122398122399122400122401122402122403122404122405122406122407122408122409122410122411122412122413122414122415122416122417122418122419122420122421122422122423122424122425122426122427122428122429122430122431122432122433122434122435122436122437122438122439122440122441122442122443122444122445122446122447122448122449122450122451122452122453122454122455122456122457122458122459122460122461122462122463122464122465122466122467122468122469122470122471122472122473122474122475122476122477122478122479122480122481122482122483122484122485122486122487122488122489122490122491122492122493122494122495122496122497122498122499122500122501122502122503122504122505122506122507122508122509122510122511122512122513122514122515122516122517122518122519122520122521122522122523122524122525122526122527122528122529122530122531122532122533122534122535122536122537122538122539122540122541122542122543122544122545122546122547122548122549122550122551122552122553122554122555122556122557122558122559122560122561122562122563122564122565122566122567122568122569122570122571122572122573122574122575122576122577122578122579122580122581122582122583122584122585122586122587122588122589122590122591122592122593122594122595122596122597122598122599122600122601122602122603122604122605122606122607122608122609122610122611122612122613122614122615122616122617122618122619122620122621122622122623122624122625122626122627122628122629122630122631122632122633122634122635122636122637122638122639122640122641122642122643122644122645122646122647122648122649122650122651122652122653122654122655122656122657122658122659122660122661122662122663122664122665122666122667122668122669122670122671122672122673122674122675122676122677122678122679122680122681122682122683122684122685122686122687122688122689122690122691122692122693122694122695122696122697122698122699122700122701122702122703122704122705122706122707122708122709122710122711122712122713122714122715122716122717122718122719122720122721122722122723122724122725122726122727122728122729122730122731122732122733122734122735122736122737122738122739122740122741122742122743122744122745122746122747122748122749122750122751122752122753122754122755122756122757122758122759122760122761122762122763122764122765122766122767122768122769122770122771122772122773122774122775122776122777122778122779122780122781122782122783122784122785122786122787122788122789122790122791122792122793122794122795122796122797122798122799122800122801122802122803122804122805122806122807122808122809122810122811122812122813122814122815122816122817122818122819122820122821122822122823122824122825122826122827122828122829122830122831122832122833122834122835122836122837122838122839122840122841122842122843122844122845122846122847122848122849122850122851122852122853122854122855122856122857122858122859122860122861122862122863122864122865122866122867122868122869122870122871122872122873122874122875122876122877122878122879122880122881122882122883122884122885122886122887122888122889122890122891122892122893122894122895122896122897122898122899122900122901122902122903122904122905122906122907122908122909122910122911122912122913122914122915122916122917122918122919122920122921122922122923122924122925122926122927122928122929122930122931122932122933122934122935122936122937122938122939122940122941122942122943122944122945122946122947122948122949122950122951122952122953122954122955122956122957122958122959122960122961122962122963122964122965122966122967122968122969122970122971122972122973122974122975122976122977122978122979122980122981122982122983122984122985122986122987122988122989122990122991122992122993122994122995122996122997122998122999123000123001123002123003123004123005123006123007123008123009123010123011123012123013123014123015123016123017123018123019123020123021123022123023123024123025123026123027123028123029123030123031123032123033123034123035123036123037123038123039123040123041123042123043123044123045123046123047123048123049123050123051123052123053123054123055123056123057123058123059123060123061123062123063123064123065123066123067123068123069123070123071123072123073123074123075123076123077123078123079123080123081123082123083123084123085123086123087123088123089123090123091123092123093123094123095123096123097123098123099123100123101123102123103123104123105123106123107123108123109123110123111123112123113123114123115123116123117123118123119123120123121123122123123123124123125123126123127123128123129123130123131123132123133123134123135123136123137123138123139123140123141123142123143123144123145123146123147123148123149123150123151123152123153123154123155123156123157123158123159123160123161123162123163123164123165123166123167123168123169123170123171123172123173123174123175123176123177123178123179123180123181123182123183123184123185123186123187123188123189123190123191123192123193123194123195123196123197123198123199123200123201123202123203123204123205123206123207123208123209123210123211123212123213123214123215123216123217123218123219123220123221123222123223123224123225123226123227123228123229123230123231123232123233123234123235123236123237123238123239123240123241123242123243123244123245123246123247123248123249123250123251123252123253123254123255123256123257123258123259123260123261123262123263123264123265123266123267123268123269123270123271123272123273123274123275123276123277123278123279123280123281123282123283123284123285123286123287123288123289123290123291123292123293123294123295123296123297123298123299123300123301123302123303123304123305123306123307123308123309123310123311123312123313123314123315123316123317123318123319123320123321123322123323123324123325123326123327123328123329123330123331123332123333123334123335123336123337123338123339123340123341123342123343123344123345123346123347123348123349123350123351123352123353123354123355123356123357123358123359123360123361123362123363123364123365123366123367123368123369123370123371123372123373123374123375123376123377123378123379123380123381123382123383123384123385123386123387123388123389123390123391123392123393123394123395123396123397123398123399123400123401123402123403123404123405123406123407123408123409123410123411123412123413123414123415123416123417123418123419123420123421123422123423123424123425123426123427123428123429123430123431123432123433123434123435123436123437123438123439123440123441123442123443123444123445123446123447123448123449123450123451123452123453123454123455123456123457123458123459123460123461123462123463123464123465123466123467123468123469123470123471123472123473123474123475123476123477123478123479123480123481123482123483123484123485123486123487123488123489123490123491123492123493123494123495123496123497123498123499123500123501123502123503123504123505123506123507123508123509123510123511123512123513123514123515123516123517123518123519123520123521123522123523123524123525123526123527123528123529123530123531123532123533123534123535123536123537123538123539123540123541123542123543123544123545123546123547123548123549123550123551123552123553123554123555123556123557123558123559123560123561123562123563123564123565123566123567123568123569123570123571123572123573123574123575123576123577123578123579123580123581123582123583123584123585123586123587123588123589123590123591123592123593123594123595123596123597123598123599123600123601123602123603123604123605123606123607123608123609123610123611123612123613123614123615123616123617123618123619123620123621123622123623123624123625123626123627123628123629123630123631123632123633123634123635123636123637123638123639123640123641123642123643123644123645123646123647123648123649123650123651123652123653123654123655123656123657123658123659123660123661123662123663123664123665123666123667123668123669123670123671123672123673123674123675123676123677123678123679123680123681123682123683123684123685123686123687123688123689123690123691123692123693123694123695123696123697123698123699123700123701123702123703123704123705123706123707123708123709123710123711123712123713123714123715123716123717123718123719123720123721123722123723123724123725123726123727123728123729123730123731123732123733123734123735123736123737123738123739123740123741123742123743123744123745123746123747123748123749123750123751123752123753123754123755123756123757123758123759123760123761123762123763123764123765123766123767123768123769123770123771123772123773123774123775123776123777123778123779123780123781123782123783123784123785123786123787123788123789123790123791123792123793123794123795123796123797123798123799123800123801123802123803123804123805123806123807123808123809123810123811123812123813123814123815123816123817123818123819123820123821123822123823123824123825123826123827123828123829123830123831123832123833123834123835123836123837123838123839123840123841123842123843123844123845123846123847123848123849123850123851123852123853123854123855123856123857123858123859123860123861123862123863123864123865123866123867123868123869123870123871123872123873123874123875123876123877123878123879123880123881123882123883123884123885123886123887123888123889123890123891123892123893123894123895123896123897123898123899123900123901123902123903123904123905123906123907123908123909123910123911123912123913123914123915123916123917123918123919123920123921123922123923123924123925123926123927123928123929123930123931123932123933123934123935123936123937123938123939123940123941123942123943123944123945123946123947123948123949123950123951123952123953123954123955123956123957123958123959123960123961123962123963123964123965123966123967123968123969123970123971123972123973123974123975123976123977123978123979123980123981123982123983123984123985123986123987123988123989123990123991123992123993123994123995123996123997123998123999124000124001124002124003124004124005124006124007124008124009124010124011124012124013124014124015124016124017124018124019124020124021124022124023124024124025124026124027124028124029124030124031124032124033124034124035124036124037124038124039124040124041124042124043124044124045124046124047124048124049124050124051124052124053124054124055124056124057124058124059124060124061124062124063124064124065124066124067124068124069124070124071124072124073124074124075124076124077124078124079124080124081124082124083124084124085124086124087124088124089124090124091124092124093124094124095124096124097124098124099124100124101124102124103124104124105124106124107124108124109124110124111124112124113124114124115124116124117124118124119124120124121124122124123124124124125124126124127124128124129124130124131124132124133124134124135124136124137124138124139124140124141124142124143124144124145124146124147124148124149124150124151124152124153124154124155124156124157124158124159124160124161124162124163124164124165124166124167124168124169124170124171124172124173124174124175124176124177124178124179124180124181124182124183124184124185124186124187124188124189124190124191124192124193124194124195124196124197124198124199124200124201124202124203124204124205124206124207124208124209124210124211124212124213124214124215124216124217124218124219124220124221124222124223124224124225124226124227124228124229124230124231124232124233124234124235124236124237124238124239124240124241124242124243124244124245124246124247124248124249124250124251124252124253124254124255124256124257124258124259124260124261124262124263124264124265124266124267124268124269124270124271124272124273124274124275124276124277124278124279124280124281124282124283124284124285124286124287124288124289124290124291124292124293124294124295124296124297124298124299124300124301124302124303124304124305124306124307124308124309124310124311124312124313124314124315124316124317124318124319124320124321124322124323124324124325124326124327124328124329124330124331124332124333124334124335124336124337124338124339124340124341124342124343124344124345124346124347124348124349124350124351124352124353124354124355124356124357124358124359124360124361124362124363124364124365124366124367124368124369124370124371124372124373124374124375124376124377124378124379124380124381124382124383124384124385124386124387124388124389124390124391124392124393124394124395124396124397124398124399124400124401124402124403124404124405124406124407124408124409124410124411124412124413124414124415124416124417124418124419124420124421124422124423124424124425124426124427124428124429124430124431124432124433124434124435124436124437124438124439124440124441124442124443124444124445124446124447124448124449124450124451124452124453124454124455124456124457124458124459124460124461124462124463124464124465124466124467124468124469124470124471124472124473124474124475124476124477124478124479124480124481124482124483124484124485124486124487124488124489124490124491124492124493124494124495124496124497124498124499124500124501124502124503124504124505124506124507124508124509124510124511124512124513124514124515124516124517124518124519124520124521124522124523124524124525124526124527124528124529124530124531124532124533124534124535124536124537124538124539124540124541124542124543124544124545124546124547124548124549124550124551124552124553124554124555124556124557124558124559124560124561124562124563124564124565124566124567124568124569124570124571124572124573124574124575124576124577124578124579124580124581124582124583124584124585124586124587124588124589124590124591124592124593124594124595124596124597124598124599124600124601124602124603124604124605124606124607124608124609124610124611124612124613124614124615124616124617124618124619124620124621124622124623124624124625124626124627124628124629124630124631124632124633124634124635124636124637124638124639124640124641124642124643124644124645124646124647124648124649124650124651124652124653124654124655124656124657124658124659124660124661124662124663124664124665124666124667124668124669124670124671124672124673124674124675124676124677124678124679124680124681124682124683124684124685124686124687124688124689124690124691124692124693124694124695124696124697124698124699124700124701124702124703124704124705124706124707124708124709124710124711124712124713124714124715124716124717124718124719124720124721124722124723124724124725124726124727124728124729124730124731124732124733124734124735124736124737124738124739124740124741124742124743124744124745124746124747124748124749124750124751124752124753124754124755124756124757124758124759124760124761124762124763124764124765124766124767124768124769124770124771124772124773124774124775124776124777124778124779124780124781124782124783124784124785124786124787124788124789124790124791124792124793124794124795124796124797124798124799124800124801124802124803124804124805124806124807124808124809124810124811124812124813124814124815124816124817124818124819124820124821124822124823124824124825124826124827124828124829124830124831124832124833124834124835124836124837124838124839124840124841124842124843124844124845124846124847124848124849124850124851124852124853124854124855124856124857124858124859124860124861124862124863124864124865124866124867124868124869124870124871124872124873124874124875124876124877124878124879124880124881124882124883124884124885124886124887124888124889124890124891124892124893124894124895124896124897124898124899124900124901124902124903124904124905124906124907124908124909124910124911124912124913124914124915124916124917124918124919124920124921124922124923124924124925124926124927124928124929124930124931124932124933124934124935124936124937124938124939124940124941124942124943124944124945124946124947124948124949124950124951124952124953124954124955124956124957124958124959124960124961124962124963124964124965124966124967124968124969124970124971124972124973124974124975124976124977124978124979124980124981124982124983124984124985124986124987124988124989124990124991124992124993124994124995124996124997124998124999125000125001125002125003125004125005125006125007125008125009125010125011125012125013125014125015125016125017125018125019125020125021125022125023125024125025125026125027125028125029125030125031125032125033125034125035125036125037125038125039125040125041125042125043125044125045125046125047125048125049125050125051125052125053125054125055125056125057125058125059125060125061125062125063125064125065125066125067125068125069125070125071125072125073125074125075125076125077125078125079125080125081125082125083125084125085125086125087125088125089125090125091125092125093125094125095125096125097125098125099125100125101125102125103125104125105125106125107125108125109125110125111125112125113125114125115125116125117125118125119125120125121125122125123125124125125125126125127125128125129125130125131125132125133125134125135125136125137125138125139125140125141125142125143125144125145125146125147125148125149125150125151125152125153125154125155125156125157125158125159125160125161125162125163125164125165125166125167125168125169125170125171125172125173125174125175125176125177125178125179125180125181125182125183125184125185125186125187125188125189125190125191125192125193125194125195125196125197125198125199125200125201125202125203125204125205125206125207125208125209125210125211125212125213125214125215125216125217125218125219125220125221125222125223125224125225125226125227125228125229125230125231125232125233125234125235125236125237125238125239125240125241125242125243125244125245125246125247125248125249125250125251125252125253125254125255125256125257125258125259125260125261125262125263125264125265125266125267125268125269125270125271125272125273125274125275125276125277125278125279125280125281125282125283125284125285125286125287125288125289125290125291125292125293125294125295125296125297125298125299125300125301125302125303125304125305125306125307125308125309125310125311125312125313125314125315125316125317125318125319125320125321125322125323125324125325125326125327125328125329125330125331125332125333125334125335125336125337125338125339125340125341125342125343125344125345125346125347125348125349125350125351125352125353125354125355125356125357125358125359125360125361125362125363125364125365125366125367125368125369125370125371125372125373125374125375125376125377125378125379125380125381125382125383125384125385125386125387125388125389125390125391125392125393125394125395125396125397125398125399125400125401125402125403125404125405125406125407125408125409125410125411125412125413125414125415125416125417125418125419125420125421125422125423125424125425125426125427125428125429125430125431125432125433125434125435125436125437125438125439125440125441125442125443125444125445125446125447125448125449125450125451125452125453125454125455125456125457125458125459125460125461125462125463125464125465125466125467125468125469125470125471125472125473125474125475125476125477125478125479125480125481125482125483125484125485125486125487125488125489125490125491125492125493125494125495125496125497125498125499125500125501125502125503125504125505125506125507125508125509125510125511125512125513125514125515125516125517125518125519125520125521125522125523125524125525125526125527125528125529125530125531125532125533125534125535125536125537125538125539125540125541125542125543125544125545125546125547125548125549125550125551125552125553125554125555125556125557125558125559125560125561125562125563125564125565125566125567125568125569125570125571125572125573125574125575125576125577125578125579125580125581125582125583125584125585125586125587125588125589125590125591125592125593125594125595125596125597125598125599125600125601125602125603125604125605125606125607125608125609125610125611125612125613125614125615125616125617125618125619125620125621125622125623125624125625125626125627125628125629125630125631125632125633125634125635125636125637125638125639125640125641125642125643125644125645125646125647125648125649125650125651125652125653125654125655125656125657125658125659125660125661125662125663125664125665125666125667125668125669125670125671125672125673125674125675125676125677125678125679125680125681125682125683125684125685125686125687125688125689125690125691125692125693125694125695125696125697125698125699125700125701125702125703125704125705125706125707125708125709125710125711125712125713125714125715125716125717125718125719125720125721125722125723125724125725125726125727125728125729125730125731125732125733125734125735125736125737125738125739125740125741125742125743125744125745125746125747125748125749125750125751125752125753125754125755125756125757125758125759125760125761125762125763125764125765125766125767125768125769125770125771125772125773125774125775125776125777125778125779125780125781125782125783125784125785125786125787125788125789125790125791125792125793125794125795125796125797125798125799125800125801125802125803125804125805125806125807125808125809125810125811125812125813125814125815125816125817125818125819125820125821125822125823125824125825125826125827125828125829125830125831125832125833125834125835125836125837125838125839125840125841125842125843125844125845125846125847125848125849125850125851125852125853125854125855125856125857125858125859125860125861125862125863125864125865125866125867125868125869125870125871125872125873125874125875125876125877125878125879125880125881125882125883125884125885125886125887125888125889125890125891125892125893125894125895125896125897125898125899125900125901125902125903125904125905125906125907125908125909125910125911125912125913125914125915125916125917125918125919125920125921125922125923125924125925125926125927125928125929125930125931125932125933125934125935125936125937125938125939125940125941125942125943125944125945125946125947125948125949125950125951125952125953125954125955125956125957125958125959125960125961125962125963125964125965125966125967125968125969125970125971125972125973125974125975125976125977125978125979125980125981125982125983125984125985125986125987125988125989125990125991125992125993125994125995125996125997125998125999126000126001126002126003126004126005126006126007126008126009126010126011126012126013126014126015126016126017126018126019126020126021126022126023126024126025126026126027126028126029126030126031126032126033126034126035126036126037126038126039126040126041126042126043126044126045126046126047126048126049126050126051126052126053126054126055126056126057126058126059126060126061126062126063126064126065126066126067126068126069126070126071126072126073126074126075126076126077126078126079126080126081126082126083126084126085126086126087126088126089126090126091126092126093126094126095126096126097126098126099126100126101126102126103126104126105126106126107126108126109126110126111126112126113126114126115126116126117126118126119126120126121126122126123126124126125126126126127126128126129126130126131126132126133126134126135126136126137126138126139126140126141126142126143126144126145126146126147126148126149126150126151126152126153126154126155126156126157126158126159126160126161126162126163126164126165126166126167126168126169126170126171126172126173126174126175126176126177126178126179126180126181126182126183126184126185126186126187126188126189126190126191126192126193126194126195126196126197126198126199126200126201126202126203126204126205126206126207126208126209126210126211126212126213126214126215126216126217126218126219126220126221126222126223126224126225126226126227126228126229126230126231126232126233126234126235126236126237126238126239126240126241126242126243126244126245126246126247126248126249126250126251126252126253126254126255126256126257126258126259126260126261126262126263126264126265126266126267126268126269126270126271126272126273126274126275126276126277126278126279126280126281126282126283126284126285126286126287126288126289126290126291126292126293126294126295126296126297126298126299126300126301126302126303126304126305126306126307126308126309126310126311126312126313126314126315126316126317126318126319126320126321126322126323126324126325126326126327126328126329126330126331126332126333126334126335126336126337126338126339126340126341126342126343126344126345126346126347126348126349126350126351126352126353126354126355126356126357126358126359126360126361126362126363126364126365126366126367126368126369126370126371126372126373126374126375126376126377126378126379126380126381126382126383126384126385126386126387126388126389126390126391126392126393126394126395126396126397126398126399126400126401126402126403126404126405126406126407126408126409126410126411126412126413126414126415126416126417126418126419126420126421126422126423126424126425126426126427126428126429126430126431126432126433126434126435126436126437126438126439126440126441126442126443126444126445126446126447126448126449126450126451126452126453126454126455126456126457126458126459126460126461126462126463126464126465126466126467126468126469126470126471126472126473126474126475126476126477126478126479126480126481126482126483126484126485126486126487126488126489126490126491126492126493126494126495126496126497126498126499126500126501126502126503126504126505126506126507126508126509126510126511126512126513126514126515126516126517126518126519126520126521126522126523126524126525126526126527126528126529126530126531126532126533126534126535126536126537126538126539126540126541126542126543126544126545126546126547126548126549126550126551126552126553126554126555126556126557126558126559126560126561126562126563126564126565126566126567126568126569126570126571126572126573126574126575126576126577126578126579126580126581126582126583126584126585126586126587126588126589126590126591126592126593126594126595126596126597126598126599126600126601126602126603126604126605126606126607126608126609126610126611126612126613126614126615126616126617126618126619126620126621126622126623126624126625126626126627126628126629126630126631126632126633126634126635126636126637126638126639126640126641126642126643126644126645126646126647126648126649126650126651126652126653126654126655126656126657126658126659126660126661126662126663126664126665126666126667126668126669126670126671126672126673126674126675126676126677126678126679126680126681126682126683126684126685126686126687126688126689126690126691126692126693126694126695126696126697126698126699126700126701126702126703126704126705126706126707126708126709126710126711126712126713126714126715126716126717126718126719126720126721126722126723126724126725126726126727126728126729126730126731126732126733126734126735126736126737126738126739126740126741126742126743126744126745126746126747126748126749126750126751126752126753126754126755126756126757126758126759126760126761126762126763126764126765126766126767126768126769126770126771126772126773126774126775126776126777126778126779126780126781126782126783126784126785126786126787126788126789126790126791126792126793126794126795126796126797126798126799126800126801126802126803126804126805126806126807126808126809126810126811126812126813126814126815126816126817126818126819126820126821126822126823126824126825126826126827126828126829126830126831126832126833126834126835126836126837126838126839126840126841126842126843126844126845126846126847126848126849126850126851126852126853126854126855126856126857126858126859126860126861126862126863126864126865126866126867126868126869126870126871126872126873126874126875126876126877126878126879126880126881126882126883126884126885126886126887126888126889126890126891126892126893126894126895126896126897126898126899126900126901126902126903126904126905126906126907126908126909126910126911126912126913126914126915126916126917126918126919126920126921126922126923126924126925126926126927126928126929126930126931126932126933126934126935126936126937126938126939126940126941126942126943126944126945126946126947126948126949126950126951126952126953126954126955126956126957126958126959126960126961126962126963126964126965126966126967126968126969126970126971126972126973126974126975126976126977126978126979126980126981126982126983126984126985126986126987126988126989126990126991126992126993126994126995126996126997126998126999127000127001127002127003127004127005127006127007127008127009127010127011127012127013127014127015127016127017127018127019127020127021127022127023127024127025127026127027127028127029127030127031127032127033127034127035127036127037127038127039127040127041127042127043127044127045127046127047127048127049127050127051127052127053127054127055127056127057127058127059127060127061127062127063127064127065127066127067127068127069127070127071127072127073127074127075127076127077127078127079127080127081127082127083127084127085127086127087
  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 (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.7.0.
  118. // The code supports the following hooks:
  119. // dartPrint(message):
  120. // if this function is defined it is called instead of the Dart [print]
  121. // method.
  122. //
  123. // dartMainRunner(main, args):
  124. // if this function is defined, the Dart [main] method will not be invoked
  125. // directly. Instead, a closure that will invoke [main], and its arguments
  126. // [args] is passed to [dartMainRunner].
  127. //
  128. // dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId, loadPriority):
  129. // if this function is defined, it will be called when a deferred library
  130. // is loaded. It should load and eval the javascript of `uri`, and call
  131. // successCallback. If it fails to do so, it should call errorCallback with
  132. // an error. The loadId argument is the deferred import that resulted in
  133. // this uri being loaded. The loadPriority argument is an arbitrary argument
  134. // string forwarded from the 'dart2js:load-priority' pragma option.
  135. // dartDeferredLibraryMultiLoader(uris, successCallback, errorCallback, loadId, loadPriority):
  136. // if this function is defined, it will be called when a deferred library
  137. // is loaded. It should load and eval the javascript of every URI in `uris`,
  138. // and call successCallback. If it fails to do so, it should call
  139. // errorCallback with an error. The loadId argument is the deferred import
  140. // that resulted in this uri being loaded. The loadPriority argument is an
  141. // arbitrary argument string forwarded from the 'dart2js:load-priority'
  142. // pragma option.
  143. //
  144. // dartCallInstrumentation(id, qualifiedName):
  145. // if this function is defined, it will be called at each entry of a
  146. // method or constructor. Used only when compiling programs with
  147. // --experiment-call-instrumentation.
  148. (function dartProgram() {
  149. function copyProperties(from, to) {
  150. var keys = Object.keys(from);
  151. for (var i = 0; i < keys.length; i++) {
  152. var key = keys[i];
  153. to[key] = from[key];
  154. }
  155. }
  156. function mixinPropertiesHard(from, to) {
  157. var keys = Object.keys(from);
  158. for (var i = 0; i < keys.length; i++) {
  159. var key = keys[i];
  160. if (!to.hasOwnProperty(key)) {
  161. to[key] = from[key];
  162. }
  163. }
  164. }
  165. function mixinPropertiesEasy(from, to) {
  166. Object.assign(to, from);
  167. }
  168. var supportsDirectProtoAccess = function() {
  169. var cls = function() {
  170. };
  171. cls.prototype = {p: {}};
  172. var object = new cls();
  173. if (!(Object.getPrototypeOf(object) && Object.getPrototypeOf(object).p === cls.prototype.p))
  174. return false;
  175. try {
  176. if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0)
  177. return true;
  178. if (typeof version == "function" && version.length == 0) {
  179. var v = version();
  180. if (/^\d+\.\d+\.\d+\.\d+$/.test(v))
  181. return true;
  182. }
  183. } catch (_) {
  184. }
  185. return false;
  186. }();
  187. function inherit(cls, sup) {
  188. cls.prototype.constructor = cls;
  189. cls.prototype["$is" + cls.name] = cls;
  190. if (sup != null) {
  191. if (supportsDirectProtoAccess) {
  192. Object.setPrototypeOf(cls.prototype, sup.prototype);
  193. return;
  194. }
  195. var clsPrototype = Object.create(sup.prototype);
  196. copyProperties(cls.prototype, clsPrototype);
  197. cls.prototype = clsPrototype;
  198. }
  199. }
  200. function inheritMany(sup, classes) {
  201. for (var i = 0; i < classes.length; i++) {
  202. inherit(classes[i], sup);
  203. }
  204. }
  205. function mixinEasy(cls, mixin) {
  206. mixinPropertiesEasy(mixin.prototype, cls.prototype);
  207. cls.prototype.constructor = cls;
  208. }
  209. function mixinHard(cls, mixin) {
  210. mixinPropertiesHard(mixin.prototype, cls.prototype);
  211. cls.prototype.constructor = cls;
  212. }
  213. function lazy(holder, name, getterName, initializer) {
  214. var uninitializedSentinel = holder;
  215. holder[name] = uninitializedSentinel;
  216. holder[getterName] = function() {
  217. if (holder[name] === uninitializedSentinel) {
  218. holder[name] = initializer();
  219. }
  220. holder[getterName] = function() {
  221. return this[name];
  222. };
  223. return holder[name];
  224. };
  225. }
  226. function lazyFinal(holder, name, getterName, initializer) {
  227. var uninitializedSentinel = holder;
  228. holder[name] = uninitializedSentinel;
  229. holder[getterName] = function() {
  230. if (holder[name] === uninitializedSentinel) {
  231. var value = initializer();
  232. if (holder[name] !== uninitializedSentinel) {
  233. A.throwLateFieldADI(name);
  234. }
  235. holder[name] = value;
  236. }
  237. var finalValue = holder[name];
  238. holder[getterName] = function() {
  239. return finalValue;
  240. };
  241. return finalValue;
  242. };
  243. }
  244. function makeConstList(list) {
  245. list.$flags = 7;
  246. return list;
  247. }
  248. function convertToFastObject(properties) {
  249. function t() {
  250. }
  251. t.prototype = properties;
  252. new t();
  253. return properties;
  254. }
  255. function convertAllToFastObject(arrayOfObjects) {
  256. for (var i = 0; i < arrayOfObjects.length; ++i) {
  257. convertToFastObject(arrayOfObjects[i]);
  258. }
  259. }
  260. var functionCounter = 0;
  261. function instanceTearOffGetter(isIntercepted, parameters) {
  262. var cache = null;
  263. return isIntercepted ? function(receiver) {
  264. if (cache === null)
  265. cache = A.closureFromTearOff(parameters);
  266. return new cache(receiver, this);
  267. } : function() {
  268. if (cache === null)
  269. cache = A.closureFromTearOff(parameters);
  270. return new cache(this, null);
  271. };
  272. }
  273. function staticTearOffGetter(parameters) {
  274. var cache = null;
  275. return function() {
  276. if (cache === null)
  277. cache = A.closureFromTearOff(parameters).prototype;
  278. return cache;
  279. };
  280. }
  281. var typesOffset = 0;
  282. function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  283. if (typeof funType == "number") {
  284. funType += typesOffset;
  285. }
  286. return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
  287. }
  288. function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
  289. var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
  290. var getterFunction = staticTearOffGetter(parameters);
  291. holder[getterName] = getterFunction;
  292. }
  293. function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  294. isIntercepted = !!isIntercepted;
  295. var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
  296. var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
  297. prototype[getterName] = getterFunction;
  298. }
  299. function setOrUpdateInterceptorsByTag(newTags) {
  300. var tags = init.interceptorsByTag;
  301. if (!tags) {
  302. init.interceptorsByTag = newTags;
  303. return;
  304. }
  305. copyProperties(newTags, tags);
  306. }
  307. function setOrUpdateLeafTags(newTags) {
  308. var tags = init.leafTags;
  309. if (!tags) {
  310. init.leafTags = newTags;
  311. return;
  312. }
  313. copyProperties(newTags, tags);
  314. }
  315. function updateTypes(newTypes) {
  316. var types = init.types;
  317. var length = types.length;
  318. types.push.apply(types, newTypes);
  319. return length;
  320. }
  321. function updateHolder(holder, newHolder) {
  322. copyProperties(newHolder, holder);
  323. return holder;
  324. }
  325. var hunkHelpers = function() {
  326. var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  327. return function(container, getterName, name, funType) {
  328. return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
  329. };
  330. },
  331. mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  332. return function(container, getterName, name, funType) {
  333. return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
  334. };
  335. };
  336. return {inherit: inherit, inheritMany: inheritMany, mixin: mixinEasy, mixinHard: mixinHard, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: mkInstance(0, 0, null, ["call$0"], 0), _instance_1u: mkInstance(0, 1, null, ["call$1"], 0), _instance_2u: mkInstance(0, 2, null, ["call$2"], 0), _instance_0i: mkInstance(1, 0, null, ["call$0"], 0), _instance_1i: mkInstance(1, 1, null, ["call$1"], 0), _instance_2i: mkInstance(1, 2, null, ["call$2"], 0), _static_0: mkStatic(0, null, ["call$0"], 0), _static_1: mkStatic(1, null, ["call$1"], 0), _static_2: mkStatic(2, null, ["call$2"], 0), makeConstList: makeConstList, lazy: lazy, lazyFinal: lazyFinal, updateHolder: updateHolder, convertToFastObject: convertToFastObject, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags};
  337. }();
  338. function initializeDeferredHunk(hunk) {
  339. typesOffset = init.types.length;
  340. hunk(hunkHelpers, init, holders, $);
  341. }
  342. var J = {
  343. makeDispatchRecord(interceptor, proto, extension, indexability) {
  344. return {i: interceptor, p: proto, e: extension, x: indexability};
  345. },
  346. getNativeInterceptor(object) {
  347. var proto, objectProto, $constructor, interceptor, t1,
  348. record = object[init.dispatchPropertyName];
  349. if (record == null)
  350. if ($.initNativeDispatchFlag == null) {
  351. A.initNativeDispatch();
  352. record = object[init.dispatchPropertyName];
  353. }
  354. if (record != null) {
  355. proto = record.p;
  356. if (false === proto)
  357. return record.i;
  358. if (true === proto)
  359. return object;
  360. objectProto = Object.getPrototypeOf(object);
  361. if (proto === objectProto)
  362. return record.i;
  363. if (record.e === objectProto)
  364. throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
  365. }
  366. $constructor = object.constructor;
  367. if ($constructor == null)
  368. interceptor = null;
  369. else {
  370. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  371. if (t1 == null)
  372. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  373. interceptor = $constructor[t1];
  374. }
  375. if (interceptor != null)
  376. return interceptor;
  377. interceptor = A.lookupAndCacheInterceptor(object);
  378. if (interceptor != null)
  379. return interceptor;
  380. if (typeof object == "function")
  381. return B.JavaScriptFunction_methods;
  382. proto = Object.getPrototypeOf(object);
  383. if (proto == null)
  384. return B.PlainJavaScriptObject_methods;
  385. if (proto === Object.prototype)
  386. return B.PlainJavaScriptObject_methods;
  387. if (typeof $constructor == "function") {
  388. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  389. if (t1 == null)
  390. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  391. Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
  392. return B.UnknownJavaScriptObject_methods;
  393. }
  394. return B.UnknownJavaScriptObject_methods;
  395. },
  396. JSArray_JSArray$fixed($length, $E) {
  397. if ($length < 0 || $length > 4294967295)
  398. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  399. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  400. },
  401. JSArray_JSArray$allocateFixed($length, $E) {
  402. if ($length > 4294967295)
  403. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  404. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  405. },
  406. JSArray_JSArray$growable($length, $E) {
  407. if ($length < 0)
  408. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  409. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  410. },
  411. JSArray_JSArray$allocateGrowable($length, $E) {
  412. if ($length < 0)
  413. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  414. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  415. },
  416. JSArray_JSArray$markFixed(allocation, $E) {
  417. var t1 = A._setArrayType(allocation, $E._eval$1("JSArray<0>"));
  418. t1.$flags = 1;
  419. return t1;
  420. },
  421. JSArray__compareAny(a, b) {
  422. return J.compareTo$1$ns(a, b);
  423. },
  424. JSString__isWhitespace(codeUnit) {
  425. if (codeUnit < 256)
  426. switch (codeUnit) {
  427. case 9:
  428. case 10:
  429. case 11:
  430. case 12:
  431. case 13:
  432. case 32:
  433. case 133:
  434. case 160:
  435. return true;
  436. default:
  437. return false;
  438. }
  439. switch (codeUnit) {
  440. case 5760:
  441. case 8192:
  442. case 8193:
  443. case 8194:
  444. case 8195:
  445. case 8196:
  446. case 8197:
  447. case 8198:
  448. case 8199:
  449. case 8200:
  450. case 8201:
  451. case 8202:
  452. case 8232:
  453. case 8233:
  454. case 8239:
  455. case 8287:
  456. case 12288:
  457. case 65279:
  458. return true;
  459. default:
  460. return false;
  461. }
  462. },
  463. JSString__skipLeadingWhitespace(string, index) {
  464. var t1, codeUnit;
  465. for (t1 = string.length; index < t1;) {
  466. codeUnit = string.charCodeAt(index);
  467. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  468. break;
  469. ++index;
  470. }
  471. return index;
  472. },
  473. JSString__skipTrailingWhitespace(string, index) {
  474. var index0, codeUnit;
  475. for (; index > 0; index = index0) {
  476. index0 = index - 1;
  477. codeUnit = string.charCodeAt(index0);
  478. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  479. break;
  480. }
  481. return index;
  482. },
  483. getInterceptor$(receiver) {
  484. if (typeof receiver == "number") {
  485. if (Math.floor(receiver) == receiver)
  486. return J.JSInt.prototype;
  487. return J.JSNumNotInt.prototype;
  488. }
  489. if (typeof receiver == "string")
  490. return J.JSString.prototype;
  491. if (receiver == null)
  492. return J.JSNull.prototype;
  493. if (typeof receiver == "boolean")
  494. return J.JSBool.prototype;
  495. if (Array.isArray(receiver))
  496. return J.JSArray.prototype;
  497. if (typeof receiver != "object") {
  498. if (typeof receiver == "function")
  499. return J.JavaScriptFunction.prototype;
  500. if (typeof receiver == "symbol")
  501. return J.JavaScriptSymbol.prototype;
  502. if (typeof receiver == "bigint")
  503. return J.JavaScriptBigInt.prototype;
  504. return receiver;
  505. }
  506. if (receiver instanceof A.Object)
  507. return receiver;
  508. return J.getNativeInterceptor(receiver);
  509. },
  510. getInterceptor$ansx(receiver) {
  511. if (typeof receiver == "number")
  512. return J.JSNumber.prototype;
  513. if (typeof receiver == "string")
  514. return J.JSString.prototype;
  515. if (receiver == null)
  516. return receiver;
  517. if (Array.isArray(receiver))
  518. return J.JSArray.prototype;
  519. if (typeof receiver != "object") {
  520. if (typeof receiver == "function")
  521. return J.JavaScriptFunction.prototype;
  522. if (typeof receiver == "symbol")
  523. return J.JavaScriptSymbol.prototype;
  524. if (typeof receiver == "bigint")
  525. return J.JavaScriptBigInt.prototype;
  526. return receiver;
  527. }
  528. if (receiver instanceof A.Object)
  529. return receiver;
  530. return J.getNativeInterceptor(receiver);
  531. },
  532. getInterceptor$asx(receiver) {
  533. if (typeof receiver == "string")
  534. return J.JSString.prototype;
  535. if (receiver == null)
  536. return receiver;
  537. if (Array.isArray(receiver))
  538. return J.JSArray.prototype;
  539. if (typeof receiver != "object") {
  540. if (typeof receiver == "function")
  541. return J.JavaScriptFunction.prototype;
  542. if (typeof receiver == "symbol")
  543. return J.JavaScriptSymbol.prototype;
  544. if (typeof receiver == "bigint")
  545. return J.JavaScriptBigInt.prototype;
  546. return receiver;
  547. }
  548. if (receiver instanceof A.Object)
  549. return receiver;
  550. return J.getNativeInterceptor(receiver);
  551. },
  552. getInterceptor$ax(receiver) {
  553. if (receiver == null)
  554. return receiver;
  555. if (Array.isArray(receiver))
  556. return J.JSArray.prototype;
  557. if (typeof receiver != "object") {
  558. if (typeof receiver == "function")
  559. return J.JavaScriptFunction.prototype;
  560. if (typeof receiver == "symbol")
  561. return J.JavaScriptSymbol.prototype;
  562. if (typeof receiver == "bigint")
  563. return J.JavaScriptBigInt.prototype;
  564. return receiver;
  565. }
  566. if (receiver instanceof A.Object)
  567. return receiver;
  568. return J.getNativeInterceptor(receiver);
  569. },
  570. getInterceptor$in(receiver) {
  571. if (typeof receiver == "number") {
  572. if (Math.floor(receiver) == receiver)
  573. return J.JSInt.prototype;
  574. return J.JSNumNotInt.prototype;
  575. }
  576. if (receiver == null)
  577. return receiver;
  578. if (!(receiver instanceof A.Object))
  579. return J.UnknownJavaScriptObject.prototype;
  580. return receiver;
  581. },
  582. getInterceptor$ns(receiver) {
  583. if (typeof receiver == "number")
  584. return J.JSNumber.prototype;
  585. if (typeof receiver == "string")
  586. return J.JSString.prototype;
  587. if (receiver == null)
  588. return receiver;
  589. if (!(receiver instanceof A.Object))
  590. return J.UnknownJavaScriptObject.prototype;
  591. return receiver;
  592. },
  593. getInterceptor$s(receiver) {
  594. if (typeof receiver == "string")
  595. return J.JSString.prototype;
  596. if (receiver == null)
  597. return receiver;
  598. if (!(receiver instanceof A.Object))
  599. return J.UnknownJavaScriptObject.prototype;
  600. return receiver;
  601. },
  602. getInterceptor$x(receiver) {
  603. if (receiver == null)
  604. return receiver;
  605. if (typeof receiver != "object") {
  606. if (typeof receiver == "function")
  607. return J.JavaScriptFunction.prototype;
  608. if (typeof receiver == "symbol")
  609. return J.JavaScriptSymbol.prototype;
  610. if (typeof receiver == "bigint")
  611. return J.JavaScriptBigInt.prototype;
  612. return receiver;
  613. }
  614. if (receiver instanceof A.Object)
  615. return receiver;
  616. return J.getNativeInterceptor(receiver);
  617. },
  618. getInterceptor$z(receiver) {
  619. if (receiver == null)
  620. return receiver;
  621. if (!(receiver instanceof A.Object))
  622. return J.UnknownJavaScriptObject.prototype;
  623. return receiver;
  624. },
  625. set$AsyncCompiler$x(receiver, value) {
  626. return J.getInterceptor$x(receiver).set$AsyncCompiler(receiver, value);
  627. },
  628. set$CalculationInterpolation$x(receiver, value) {
  629. return J.getInterceptor$x(receiver).set$CalculationInterpolation(receiver, value);
  630. },
  631. set$CalculationOperation$x(receiver, value) {
  632. return J.getInterceptor$x(receiver).set$CalculationOperation(receiver, value);
  633. },
  634. set$Compiler$x(receiver, value) {
  635. return J.getInterceptor$x(receiver).set$Compiler(receiver, value);
  636. },
  637. set$Exception$x(receiver, value) {
  638. return J.getInterceptor$x(receiver).set$Exception(receiver, value);
  639. },
  640. set$FALSE$x(receiver, value) {
  641. return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
  642. },
  643. set$Logger$x(receiver, value) {
  644. return J.getInterceptor$x(receiver).set$Logger(receiver, value);
  645. },
  646. set$NULL$x(receiver, value) {
  647. return J.getInterceptor$x(receiver).set$NULL(receiver, value);
  648. },
  649. set$NodePackageImporter$x(receiver, value) {
  650. return J.getInterceptor$x(receiver).set$NodePackageImporter(receiver, value);
  651. },
  652. set$SassArgumentList$x(receiver, value) {
  653. return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
  654. },
  655. set$SassBoolean$x(receiver, value) {
  656. return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
  657. },
  658. set$SassCalculation$x(receiver, value) {
  659. return J.getInterceptor$x(receiver).set$SassCalculation(receiver, value);
  660. },
  661. set$SassColor$x(receiver, value) {
  662. return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
  663. },
  664. set$SassFunction$x(receiver, value) {
  665. return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
  666. },
  667. set$SassList$x(receiver, value) {
  668. return J.getInterceptor$x(receiver).set$SassList(receiver, value);
  669. },
  670. set$SassMap$x(receiver, value) {
  671. return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
  672. },
  673. set$SassMixin$x(receiver, value) {
  674. return J.getInterceptor$x(receiver).set$SassMixin(receiver, value);
  675. },
  676. set$SassNumber$x(receiver, value) {
  677. return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
  678. },
  679. set$SassString$x(receiver, value) {
  680. return J.getInterceptor$x(receiver).set$SassString(receiver, value);
  681. },
  682. set$TRUE$x(receiver, value) {
  683. return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
  684. },
  685. set$Value$x(receiver, value) {
  686. return J.getInterceptor$x(receiver).set$Value(receiver, value);
  687. },
  688. set$Version$x(receiver, value) {
  689. return J.getInterceptor$x(receiver).set$Version(receiver, value);
  690. },
  691. set$cli_pkg_main_0_$x(receiver, value) {
  692. return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
  693. },
  694. set$compile$x(receiver, value) {
  695. return J.getInterceptor$x(receiver).set$compile(receiver, value);
  696. },
  697. set$compileAsync$x(receiver, value) {
  698. return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
  699. },
  700. set$compileString$x(receiver, value) {
  701. return J.getInterceptor$x(receiver).set$compileString(receiver, value);
  702. },
  703. set$compileStringAsync$x(receiver, value) {
  704. return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
  705. },
  706. set$context$x(receiver, value) {
  707. return J.getInterceptor$x(receiver).set$context(receiver, value);
  708. },
  709. set$dartValue$x(receiver, value) {
  710. return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
  711. },
  712. set$deprecations$x(receiver, value) {
  713. return J.getInterceptor$x(receiver).set$deprecations(receiver, value);
  714. },
  715. set$exitCode$x(receiver, value) {
  716. return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
  717. },
  718. set$info$x(receiver, value) {
  719. return J.getInterceptor$x(receiver).set$info(receiver, value);
  720. },
  721. set$initAsyncCompiler$x(receiver, value) {
  722. return J.getInterceptor$x(receiver).set$initAsyncCompiler(receiver, value);
  723. },
  724. set$initCompiler$x(receiver, value) {
  725. return J.getInterceptor$x(receiver).set$initCompiler(receiver, value);
  726. },
  727. set$length$asx(receiver, value) {
  728. return J.getInterceptor$asx(receiver).set$length(receiver, value);
  729. },
  730. set$loadParserExports_$x(receiver, value) {
  731. return J.getInterceptor$x(receiver).set$loadParserExports_(receiver, value);
  732. },
  733. set$render$x(receiver, value) {
  734. return J.getInterceptor$x(receiver).set$render(receiver, value);
  735. },
  736. set$renderSync$x(receiver, value) {
  737. return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
  738. },
  739. set$sassFalse$x(receiver, value) {
  740. return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
  741. },
  742. set$sassNull$x(receiver, value) {
  743. return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
  744. },
  745. set$sassTrue$x(receiver, value) {
  746. return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
  747. },
  748. set$types$x(receiver, value) {
  749. return J.getInterceptor$x(receiver).set$types(receiver, value);
  750. },
  751. get$$prototype$x(receiver) {
  752. return J.getInterceptor$x(receiver).get$$prototype(receiver);
  753. },
  754. get$_dartException$x(receiver) {
  755. return J.getInterceptor$x(receiver).get$_dartException(receiver);
  756. },
  757. get$alertAscii$x(receiver) {
  758. return J.getInterceptor$x(receiver).get$alertAscii(receiver);
  759. },
  760. get$alertColor$x(receiver) {
  761. return J.getInterceptor$x(receiver).get$alertColor(receiver);
  762. },
  763. get$argv$x(receiver) {
  764. return J.getInterceptor$x(receiver).get$argv(receiver);
  765. },
  766. get$brackets$x(receiver) {
  767. return J.getInterceptor$x(receiver).get$brackets(receiver);
  768. },
  769. get$charset$x(receiver) {
  770. return J.getInterceptor$x(receiver).get$charset(receiver);
  771. },
  772. get$code$x(receiver) {
  773. return J.getInterceptor$x(receiver).get$code(receiver);
  774. },
  775. get$current$x(receiver) {
  776. return J.getInterceptor$x(receiver).get$current(receiver);
  777. },
  778. get$dartValue$x(receiver) {
  779. return J.getInterceptor$x(receiver).get$dartValue(receiver);
  780. },
  781. get$debug$x(receiver) {
  782. return J.getInterceptor$x(receiver).get$debug(receiver);
  783. },
  784. get$denominatorUnits$x(receiver) {
  785. return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
  786. },
  787. get$end$z(receiver) {
  788. return J.getInterceptor$z(receiver).get$end(receiver);
  789. },
  790. get$env$x(receiver) {
  791. return J.getInterceptor$x(receiver).get$env(receiver);
  792. },
  793. get$exitCode$x(receiver) {
  794. return J.getInterceptor$x(receiver).get$exitCode(receiver);
  795. },
  796. get$fatalDeprecations$x(receiver) {
  797. return J.getInterceptor$x(receiver).get$fatalDeprecations(receiver);
  798. },
  799. get$fiber$x(receiver) {
  800. return J.getInterceptor$x(receiver).get$fiber(receiver);
  801. },
  802. get$file$x(receiver) {
  803. return J.getInterceptor$x(receiver).get$file(receiver);
  804. },
  805. get$filename$x(receiver) {
  806. return J.getInterceptor$x(receiver).get$filename(receiver);
  807. },
  808. get$first$ax(receiver) {
  809. return J.getInterceptor$ax(receiver).get$first(receiver);
  810. },
  811. get$functions$x(receiver) {
  812. return J.getInterceptor$x(receiver).get$functions(receiver);
  813. },
  814. get$futureDeprecations$x(receiver) {
  815. return J.getInterceptor$x(receiver).get$futureDeprecations(receiver);
  816. },
  817. get$hashCode$(receiver) {
  818. return J.getInterceptor$(receiver).get$hashCode(receiver);
  819. },
  820. get$id$x(receiver) {
  821. return J.getInterceptor$x(receiver).get$id(receiver);
  822. },
  823. get$importer$x(receiver) {
  824. return J.getInterceptor$x(receiver).get$importer(receiver);
  825. },
  826. get$importers$x(receiver) {
  827. return J.getInterceptor$x(receiver).get$importers(receiver);
  828. },
  829. get$isEmpty$asx(receiver) {
  830. return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
  831. },
  832. get$isNotEmpty$asx(receiver) {
  833. return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
  834. },
  835. get$isTTY$x(receiver) {
  836. return J.getInterceptor$x(receiver).get$isTTY(receiver);
  837. },
  838. get$iterator$ax(receiver) {
  839. return J.getInterceptor$ax(receiver).get$iterator(receiver);
  840. },
  841. get$keys$z(receiver) {
  842. return J.getInterceptor$z(receiver).get$keys(receiver);
  843. },
  844. get$last$ax(receiver) {
  845. return J.getInterceptor$ax(receiver).get$last(receiver);
  846. },
  847. get$length$asx(receiver) {
  848. return J.getInterceptor$asx(receiver).get$length(receiver);
  849. },
  850. get$loadPaths$x(receiver) {
  851. return J.getInterceptor$x(receiver).get$loadPaths(receiver);
  852. },
  853. get$logger$x(receiver) {
  854. return J.getInterceptor$x(receiver).get$logger(receiver);
  855. },
  856. get$message$x(receiver) {
  857. return J.getInterceptor$x(receiver).get$message(receiver);
  858. },
  859. get$method$x(receiver) {
  860. return J.getInterceptor$x(receiver).get$method(receiver);
  861. },
  862. get$mtime$x(receiver) {
  863. return J.getInterceptor$x(receiver).get$mtime(receiver);
  864. },
  865. get$name$x(receiver) {
  866. return J.getInterceptor$x(receiver).get$name(receiver);
  867. },
  868. get$numeratorUnits$x(receiver) {
  869. return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
  870. },
  871. get$options$x(receiver) {
  872. return J.getInterceptor$x(receiver).get$options(receiver);
  873. },
  874. get$parent$z(receiver) {
  875. return J.getInterceptor$z(receiver).get$parent(receiver);
  876. },
  877. get$path$x(receiver) {
  878. return J.getInterceptor$x(receiver).get$path(receiver);
  879. },
  880. get$platform$x(receiver) {
  881. return J.getInterceptor$x(receiver).get$platform(receiver);
  882. },
  883. get$quietDeps$x(receiver) {
  884. return J.getInterceptor$x(receiver).get$quietDeps(receiver);
  885. },
  886. get$quotes$x(receiver) {
  887. return J.getInterceptor$x(receiver).get$quotes(receiver);
  888. },
  889. get$release$x(receiver) {
  890. return J.getInterceptor$x(receiver).get$release(receiver);
  891. },
  892. get$reversed$ax(receiver) {
  893. return J.getInterceptor$ax(receiver).get$reversed(receiver);
  894. },
  895. get$runtimeType$(receiver) {
  896. return J.getInterceptor$(receiver).get$runtimeType(receiver);
  897. },
  898. get$separator$x(receiver) {
  899. return J.getInterceptor$x(receiver).get$separator(receiver);
  900. },
  901. get$sign$in(receiver) {
  902. if (typeof receiver === "number")
  903. return receiver > 0 ? 1 : receiver < 0 ? -1 : receiver;
  904. return J.getInterceptor$in(receiver).get$sign(receiver);
  905. },
  906. get$silenceDeprecations$x(receiver) {
  907. return J.getInterceptor$x(receiver).get$silenceDeprecations(receiver);
  908. },
  909. get$single$ax(receiver) {
  910. return J.getInterceptor$ax(receiver).get$single(receiver);
  911. },
  912. get$sourceMap$x(receiver) {
  913. return J.getInterceptor$x(receiver).get$sourceMap(receiver);
  914. },
  915. get$sourceMapIncludeSources$x(receiver) {
  916. return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
  917. },
  918. get$space$x(receiver) {
  919. return J.getInterceptor$x(receiver).get$space(receiver);
  920. },
  921. get$span$z(receiver) {
  922. return J.getInterceptor$z(receiver).get$span(receiver);
  923. },
  924. get$stderr$x(receiver) {
  925. return J.getInterceptor$x(receiver).get$stderr(receiver);
  926. },
  927. get$stdout$x(receiver) {
  928. return J.getInterceptor$x(receiver).get$stdout(receiver);
  929. },
  930. get$style$x(receiver) {
  931. return J.getInterceptor$x(receiver).get$style(receiver);
  932. },
  933. get$syntax$x(receiver) {
  934. return J.getInterceptor$x(receiver).get$syntax(receiver);
  935. },
  936. get$trace$z(receiver) {
  937. return J.getInterceptor$z(receiver).get$trace(receiver);
  938. },
  939. get$url$x(receiver) {
  940. return J.getInterceptor$x(receiver).get$url(receiver);
  941. },
  942. get$verbose$x(receiver) {
  943. return J.getInterceptor$x(receiver).get$verbose(receiver);
  944. },
  945. get$warn$x(receiver) {
  946. return J.getInterceptor$x(receiver).get$warn(receiver);
  947. },
  948. get$weight$x(receiver) {
  949. return J.getInterceptor$x(receiver).get$weight(receiver);
  950. },
  951. $add$ansx(receiver, a0) {
  952. if (typeof receiver == "number" && typeof a0 == "number")
  953. return receiver + a0;
  954. return J.getInterceptor$ansx(receiver).$add(receiver, a0);
  955. },
  956. $eq$(receiver, a0) {
  957. if (receiver == null)
  958. return a0 == null;
  959. if (typeof receiver != "object")
  960. return a0 != null && receiver === a0;
  961. return J.getInterceptor$(receiver).$eq(receiver, a0);
  962. },
  963. $index$asx(receiver, a0) {
  964. if (typeof a0 === "number")
  965. if (Array.isArray(receiver) || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
  966. if (a0 >>> 0 === a0 && a0 < receiver.length)
  967. return receiver[a0];
  968. return J.getInterceptor$asx(receiver).$index(receiver, a0);
  969. },
  970. $indexSet$ax(receiver, a0, a1) {
  971. if (typeof a0 === "number")
  972. if ((Array.isArray(receiver) || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !(receiver.$flags & 2) && a0 >>> 0 === a0 && a0 < receiver.length)
  973. return receiver[a0] = a1;
  974. return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
  975. },
  976. $set$2$x(receiver, a0, a1) {
  977. return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
  978. },
  979. add$1$ax(receiver, a0) {
  980. return J.getInterceptor$ax(receiver).add$1(receiver, a0);
  981. },
  982. addAll$1$ax(receiver, a0) {
  983. return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
  984. },
  985. allMatches$1$s(receiver, a0) {
  986. return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
  987. },
  988. allMatches$2$s(receiver, a0, a1) {
  989. return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
  990. },
  991. any$1$ax(receiver, a0) {
  992. return J.getInterceptor$ax(receiver).any$1(receiver, a0);
  993. },
  994. apply$2$x(receiver, a0, a1) {
  995. return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
  996. },
  997. asImmutable$0$x(receiver) {
  998. return J.getInterceptor$x(receiver).asImmutable$0(receiver);
  999. },
  1000. asMutable$0$x(receiver) {
  1001. return J.getInterceptor$x(receiver).asMutable$0(receiver);
  1002. },
  1003. canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
  1004. return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
  1005. },
  1006. cast$1$0$ax(receiver, $T1) {
  1007. return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
  1008. },
  1009. close$0$x(receiver) {
  1010. return J.getInterceptor$x(receiver).close$0(receiver);
  1011. },
  1012. codeUnitAt$1$s(receiver, a0) {
  1013. return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
  1014. },
  1015. compareTo$1$ns(receiver, a0) {
  1016. return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
  1017. },
  1018. contains$1$asx(receiver, a0) {
  1019. return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
  1020. },
  1021. createInterface$1$x(receiver, a0) {
  1022. return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
  1023. },
  1024. createRequire$1$x(receiver, a0) {
  1025. return J.getInterceptor$x(receiver).createRequire$1(receiver, a0);
  1026. },
  1027. elementAt$1$ax(receiver, a0) {
  1028. return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
  1029. },
  1030. endsWith$1$s(receiver, a0) {
  1031. return J.getInterceptor$s(receiver).endsWith$1(receiver, a0);
  1032. },
  1033. error$1$x(receiver, a0) {
  1034. return J.getInterceptor$x(receiver).error$1(receiver, a0);
  1035. },
  1036. every$1$ax(receiver, a0) {
  1037. return J.getInterceptor$ax(receiver).every$1(receiver, a0);
  1038. },
  1039. existsSync$1$x(receiver, a0) {
  1040. return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
  1041. },
  1042. expand$1$1$ax(receiver, a0, $T1) {
  1043. return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
  1044. },
  1045. fillRange$3$ax(receiver, a0, a1, a2) {
  1046. return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
  1047. },
  1048. fold$2$ax(receiver, a0, a1) {
  1049. return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
  1050. },
  1051. forEach$1$ax(receiver, a0) {
  1052. return J.getInterceptor$ax(receiver).forEach$1(receiver, a0);
  1053. },
  1054. getRange$2$ax(receiver, a0, a1) {
  1055. return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1);
  1056. },
  1057. getTime$0$x(receiver) {
  1058. return J.getInterceptor$x(receiver).getTime$0(receiver);
  1059. },
  1060. isDirectory$0$x(receiver) {
  1061. return J.getInterceptor$x(receiver).isDirectory$0(receiver);
  1062. },
  1063. isFile$0$x(receiver) {
  1064. return J.getInterceptor$x(receiver).isFile$0(receiver);
  1065. },
  1066. join$1$ax(receiver, a0) {
  1067. return J.getInterceptor$ax(receiver).join$1(receiver, a0);
  1068. },
  1069. listen$1$z(receiver, a0) {
  1070. return J.getInterceptor$z(receiver).listen$1(receiver, a0);
  1071. },
  1072. log$1$x(receiver, a0) {
  1073. return J.getInterceptor$x(receiver).log$1(receiver, a0);
  1074. },
  1075. map$1$1$ax(receiver, a0, $T1) {
  1076. return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
  1077. },
  1078. matchAsPrefix$2$s(receiver, a0, a1) {
  1079. return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
  1080. },
  1081. mkdirSync$1$x(receiver, a0) {
  1082. return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
  1083. },
  1084. noSuchMethod$1$(receiver, a0) {
  1085. return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
  1086. },
  1087. on$2$x(receiver, a0, a1) {
  1088. return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
  1089. },
  1090. parse$0$z(receiver) {
  1091. return J.getInterceptor$z(receiver).parse$0(receiver);
  1092. },
  1093. readFileSync$2$x(receiver, a0, a1) {
  1094. return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
  1095. },
  1096. readdirSync$1$x(receiver, a0) {
  1097. return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
  1098. },
  1099. remove$1$z(receiver, a0) {
  1100. return J.getInterceptor$z(receiver).remove$1(receiver, a0);
  1101. },
  1102. removeRange$2$ax(receiver, a0, a1) {
  1103. return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1);
  1104. },
  1105. replaceFirst$2$s(receiver, a0, a1) {
  1106. return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1);
  1107. },
  1108. resolve$1$x(receiver, a0) {
  1109. return J.getInterceptor$x(receiver).resolve$1(receiver, a0);
  1110. },
  1111. run$0$x(receiver) {
  1112. return J.getInterceptor$x(receiver).run$0(receiver);
  1113. },
  1114. run$1$x(receiver, a0) {
  1115. return J.getInterceptor$x(receiver).run$1(receiver, a0);
  1116. },
  1117. setRange$4$ax(receiver, a0, a1, a2, a3) {
  1118. return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
  1119. },
  1120. skip$1$ax(receiver, a0) {
  1121. return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
  1122. },
  1123. sort$1$ax(receiver, a0) {
  1124. return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
  1125. },
  1126. startsWith$1$s(receiver, a0) {
  1127. return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
  1128. },
  1129. statSync$1$x(receiver, a0) {
  1130. return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
  1131. },
  1132. sublist$1$ax(receiver, a0) {
  1133. return J.getInterceptor$ax(receiver).sublist$1(receiver, a0);
  1134. },
  1135. substring$1$s(receiver, a0) {
  1136. return J.getInterceptor$s(receiver).substring$1(receiver, a0);
  1137. },
  1138. substring$2$s(receiver, a0, a1) {
  1139. return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
  1140. },
  1141. take$1$ax(receiver, a0) {
  1142. return J.getInterceptor$ax(receiver).take$1(receiver, a0);
  1143. },
  1144. then$1$2$onError$x(receiver, a0, a1, $T1) {
  1145. return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
  1146. },
  1147. then$2$x(receiver, a0, a1) {
  1148. return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
  1149. },
  1150. toArray$0$x(receiver) {
  1151. return J.getInterceptor$x(receiver).toArray$0(receiver);
  1152. },
  1153. toList$0$ax(receiver) {
  1154. return J.getInterceptor$ax(receiver).toList$0(receiver);
  1155. },
  1156. toList$1$growable$ax(receiver, a0) {
  1157. return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
  1158. },
  1159. toSet$0$ax(receiver) {
  1160. return J.getInterceptor$ax(receiver).toSet$0(receiver);
  1161. },
  1162. toString$0$(receiver) {
  1163. return J.getInterceptor$(receiver).toString$0(receiver);
  1164. },
  1165. toString$1$color$(receiver, a0) {
  1166. return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
  1167. },
  1168. trim$0$s(receiver) {
  1169. return J.getInterceptor$s(receiver).trim$0(receiver);
  1170. },
  1171. unlinkSync$1$x(receiver, a0) {
  1172. return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
  1173. },
  1174. visitAtRootRule$1$x(receiver, a0) {
  1175. return J.getInterceptor$x(receiver).visitAtRootRule$1(receiver, a0);
  1176. },
  1177. visitAtRule$1$x(receiver, a0) {
  1178. return J.getInterceptor$x(receiver).visitAtRule$1(receiver, a0);
  1179. },
  1180. visitBinaryOperationExpression$1$x(receiver, a0) {
  1181. return J.getInterceptor$x(receiver).visitBinaryOperationExpression$1(receiver, a0);
  1182. },
  1183. visitBooleanExpression$1$x(receiver, a0) {
  1184. return J.getInterceptor$x(receiver).visitBooleanExpression$1(receiver, a0);
  1185. },
  1186. visitColorExpression$1$x(receiver, a0) {
  1187. return J.getInterceptor$x(receiver).visitColorExpression$1(receiver, a0);
  1188. },
  1189. visitContentBlock$1$x(receiver, a0) {
  1190. return J.getInterceptor$x(receiver).visitContentBlock$1(receiver, a0);
  1191. },
  1192. visitContentRule$1$x(receiver, a0) {
  1193. return J.getInterceptor$x(receiver).visitContentRule$1(receiver, a0);
  1194. },
  1195. visitDebugRule$1$x(receiver, a0) {
  1196. return J.getInterceptor$x(receiver).visitDebugRule$1(receiver, a0);
  1197. },
  1198. visitDeclaration$1$x(receiver, a0) {
  1199. return J.getInterceptor$x(receiver).visitDeclaration$1(receiver, a0);
  1200. },
  1201. visitEachRule$1$x(receiver, a0) {
  1202. return J.getInterceptor$x(receiver).visitEachRule$1(receiver, a0);
  1203. },
  1204. visitErrorRule$1$x(receiver, a0) {
  1205. return J.getInterceptor$x(receiver).visitErrorRule$1(receiver, a0);
  1206. },
  1207. visitExtendRule$1$x(receiver, a0) {
  1208. return J.getInterceptor$x(receiver).visitExtendRule$1(receiver, a0);
  1209. },
  1210. visitForRule$1$x(receiver, a0) {
  1211. return J.getInterceptor$x(receiver).visitForRule$1(receiver, a0);
  1212. },
  1213. visitForwardRule$1$x(receiver, a0) {
  1214. return J.getInterceptor$x(receiver).visitForwardRule$1(receiver, a0);
  1215. },
  1216. visitFunctionExpression$1$x(receiver, a0) {
  1217. return J.getInterceptor$x(receiver).visitFunctionExpression$1(receiver, a0);
  1218. },
  1219. visitFunctionRule$1$x(receiver, a0) {
  1220. return J.getInterceptor$x(receiver).visitFunctionRule$1(receiver, a0);
  1221. },
  1222. visitIfExpression$1$x(receiver, a0) {
  1223. return J.getInterceptor$x(receiver).visitIfExpression$1(receiver, a0);
  1224. },
  1225. visitIfRule$1$x(receiver, a0) {
  1226. return J.getInterceptor$x(receiver).visitIfRule$1(receiver, a0);
  1227. },
  1228. visitImportRule$1$x(receiver, a0) {
  1229. return J.getInterceptor$x(receiver).visitImportRule$1(receiver, a0);
  1230. },
  1231. visitIncludeRule$1$x(receiver, a0) {
  1232. return J.getInterceptor$x(receiver).visitIncludeRule$1(receiver, a0);
  1233. },
  1234. visitInterpolatedFunctionExpression$1$x(receiver, a0) {
  1235. return J.getInterceptor$x(receiver).visitInterpolatedFunctionExpression$1(receiver, a0);
  1236. },
  1237. visitListExpression$1$x(receiver, a0) {
  1238. return J.getInterceptor$x(receiver).visitListExpression$1(receiver, a0);
  1239. },
  1240. visitLoudComment$1$x(receiver, a0) {
  1241. return J.getInterceptor$x(receiver).visitLoudComment$1(receiver, a0);
  1242. },
  1243. visitMapExpression$1$x(receiver, a0) {
  1244. return J.getInterceptor$x(receiver).visitMapExpression$1(receiver, a0);
  1245. },
  1246. visitMediaRule$1$x(receiver, a0) {
  1247. return J.getInterceptor$x(receiver).visitMediaRule$1(receiver, a0);
  1248. },
  1249. visitMixinRule$1$x(receiver, a0) {
  1250. return J.getInterceptor$x(receiver).visitMixinRule$1(receiver, a0);
  1251. },
  1252. visitNullExpression$1$x(receiver, a0) {
  1253. return J.getInterceptor$x(receiver).visitNullExpression$1(receiver, a0);
  1254. },
  1255. visitNumberExpression$1$x(receiver, a0) {
  1256. return J.getInterceptor$x(receiver).visitNumberExpression$1(receiver, a0);
  1257. },
  1258. visitParenthesizedExpression$1$x(receiver, a0) {
  1259. return J.getInterceptor$x(receiver).visitParenthesizedExpression$1(receiver, a0);
  1260. },
  1261. visitReturnRule$1$x(receiver, a0) {
  1262. return J.getInterceptor$x(receiver).visitReturnRule$1(receiver, a0);
  1263. },
  1264. visitSelectorExpression$1$x(receiver, a0) {
  1265. return J.getInterceptor$x(receiver).visitSelectorExpression$1(receiver, a0);
  1266. },
  1267. visitSilentComment$1$x(receiver, a0) {
  1268. return J.getInterceptor$x(receiver).visitSilentComment$1(receiver, a0);
  1269. },
  1270. visitStringExpression$1$x(receiver, a0) {
  1271. return J.getInterceptor$x(receiver).visitStringExpression$1(receiver, a0);
  1272. },
  1273. visitStyleRule$1$x(receiver, a0) {
  1274. return J.getInterceptor$x(receiver).visitStyleRule$1(receiver, a0);
  1275. },
  1276. visitStylesheet$1$x(receiver, a0) {
  1277. return J.getInterceptor$x(receiver).visitStylesheet$1(receiver, a0);
  1278. },
  1279. visitSupportsExpression$1$x(receiver, a0) {
  1280. return J.getInterceptor$x(receiver).visitSupportsExpression$1(receiver, a0);
  1281. },
  1282. visitSupportsRule$1$x(receiver, a0) {
  1283. return J.getInterceptor$x(receiver).visitSupportsRule$1(receiver, a0);
  1284. },
  1285. visitUnaryOperationExpression$1$x(receiver, a0) {
  1286. return J.getInterceptor$x(receiver).visitUnaryOperationExpression$1(receiver, a0);
  1287. },
  1288. visitUseRule$1$x(receiver, a0) {
  1289. return J.getInterceptor$x(receiver).visitUseRule$1(receiver, a0);
  1290. },
  1291. visitValueExpression$1$x(receiver, a0) {
  1292. return J.getInterceptor$x(receiver).visitValueExpression$1(receiver, a0);
  1293. },
  1294. visitVariableDeclaration$1$x(receiver, a0) {
  1295. return J.getInterceptor$x(receiver).visitVariableDeclaration$1(receiver, a0);
  1296. },
  1297. visitVariableExpression$1$x(receiver, a0) {
  1298. return J.getInterceptor$x(receiver).visitVariableExpression$1(receiver, a0);
  1299. },
  1300. visitWarnRule$1$x(receiver, a0) {
  1301. return J.getInterceptor$x(receiver).visitWarnRule$1(receiver, a0);
  1302. },
  1303. visitWhileRule$1$x(receiver, a0) {
  1304. return J.getInterceptor$x(receiver).visitWhileRule$1(receiver, a0);
  1305. },
  1306. watch$2$x(receiver, a0, a1) {
  1307. return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
  1308. },
  1309. where$1$ax(receiver, a0) {
  1310. return J.getInterceptor$ax(receiver).where$1(receiver, a0);
  1311. },
  1312. write$1$x(receiver, a0) {
  1313. return J.getInterceptor$x(receiver).write$1(receiver, a0);
  1314. },
  1315. writeFileSync$2$x(receiver, a0, a1) {
  1316. return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
  1317. },
  1318. yield$0$x(receiver) {
  1319. return J.getInterceptor$x(receiver).yield$0(receiver);
  1320. },
  1321. Interceptor: function Interceptor() {
  1322. },
  1323. JSBool: function JSBool() {
  1324. },
  1325. JSNull: function JSNull() {
  1326. },
  1327. JavaScriptObject: function JavaScriptObject() {
  1328. },
  1329. LegacyJavaScriptObject: function LegacyJavaScriptObject() {
  1330. },
  1331. PlainJavaScriptObject: function PlainJavaScriptObject() {
  1332. },
  1333. UnknownJavaScriptObject: function UnknownJavaScriptObject() {
  1334. },
  1335. JavaScriptFunction: function JavaScriptFunction() {
  1336. },
  1337. JavaScriptBigInt: function JavaScriptBigInt() {
  1338. },
  1339. JavaScriptSymbol: function JavaScriptSymbol() {
  1340. },
  1341. JSArray: function JSArray(t0) {
  1342. this.$ti = t0;
  1343. },
  1344. JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
  1345. this.$ti = t0;
  1346. },
  1347. ArrayIterator: function ArrayIterator(t0, t1, t2) {
  1348. var _ = this;
  1349. _._iterable = t0;
  1350. _._length = t1;
  1351. _._index = 0;
  1352. _._current = null;
  1353. _.$ti = t2;
  1354. },
  1355. JSNumber: function JSNumber() {
  1356. },
  1357. JSInt: function JSInt() {
  1358. },
  1359. JSNumNotInt: function JSNumNotInt() {
  1360. },
  1361. JSString: function JSString() {
  1362. }
  1363. },
  1364. A = {JS_CONST: function JS_CONST() {
  1365. },
  1366. CastIterable_CastIterable(source, $S, $T) {
  1367. if ($S._eval$1("EfficientLengthIterable<0>")._is(source))
  1368. return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
  1369. return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
  1370. },
  1371. LateError$localNI(localName) {
  1372. return new A.LateError("Local '" + localName + "' has not been initialized.");
  1373. },
  1374. hexDigitValue(char) {
  1375. var letter,
  1376. digit = char ^ 48;
  1377. if (digit <= 9)
  1378. return digit;
  1379. letter = char | 32;
  1380. if (97 <= letter && letter <= 102)
  1381. return letter - 87;
  1382. return -1;
  1383. },
  1384. SystemHash_combine(hash, value) {
  1385. hash = hash + value & 536870911;
  1386. hash = hash + ((hash & 524287) << 10) & 536870911;
  1387. return hash ^ hash >>> 6;
  1388. },
  1389. SystemHash_finish(hash) {
  1390. hash = hash + ((hash & 67108863) << 3) & 536870911;
  1391. hash ^= hash >>> 11;
  1392. return hash + ((hash & 16383) << 15) & 536870911;
  1393. },
  1394. checkNotNullable(value, $name, $T) {
  1395. return value;
  1396. },
  1397. isToStringVisiting(object) {
  1398. var t1, i;
  1399. for (t1 = $.toStringVisiting.length, i = 0; i < t1; ++i)
  1400. if (object === $.toStringVisiting[i])
  1401. return true;
  1402. return false;
  1403. },
  1404. SubListIterable$(_iterable, _start, _endOrLength, $E) {
  1405. A.RangeError_checkNotNegative(_start, "start");
  1406. if (_endOrLength != null) {
  1407. A.RangeError_checkNotNegative(_endOrLength, "end");
  1408. if (_start > _endOrLength)
  1409. A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
  1410. }
  1411. return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
  1412. },
  1413. MappedIterable_MappedIterable(iterable, $function, $S, $T) {
  1414. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  1415. return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  1416. return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  1417. },
  1418. TakeIterable_TakeIterable(iterable, takeCount, $E) {
  1419. var _s9_ = "takeCount";
  1420. A.ArgumentError_checkNotNull(takeCount, _s9_);
  1421. A.RangeError_checkNotNegative(takeCount, _s9_);
  1422. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  1423. return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
  1424. return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
  1425. },
  1426. SkipIterable_SkipIterable(iterable, count, $E) {
  1427. var _s5_ = "count";
  1428. if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
  1429. A.ArgumentError_checkNotNull(count, _s5_);
  1430. A.RangeError_checkNotNegative(count, _s5_);
  1431. return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
  1432. }
  1433. A.ArgumentError_checkNotNull(count, _s5_);
  1434. A.RangeError_checkNotNegative(count, _s5_);
  1435. return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
  1436. },
  1437. FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
  1438. if ($E._eval$1("EfficientLengthIterable<0>")._is(second))
  1439. return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
  1440. return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
  1441. },
  1442. IterableElementError_noElement() {
  1443. return new A.StateError("No element");
  1444. },
  1445. IterableElementError_tooMany() {
  1446. return new A.StateError("Too many elements");
  1447. },
  1448. IterableElementError_tooFew() {
  1449. return new A.StateError("Too few elements");
  1450. },
  1451. Sort__doSort(a, left, right, compare) {
  1452. if (right - left <= 32)
  1453. A.Sort__insertionSort(a, left, right, compare);
  1454. else
  1455. A.Sort__dualPivotQuicksort(a, left, right, compare);
  1456. },
  1457. Sort__insertionSort(a, left, right, compare) {
  1458. var i, t1, el, j, j0;
  1459. for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
  1460. el = t1.$index(a, i);
  1461. j = i;
  1462. while (true) {
  1463. if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
  1464. break;
  1465. j0 = j - 1;
  1466. t1.$indexSet(a, j, t1.$index(a, j0));
  1467. j = j0;
  1468. }
  1469. t1.$indexSet(a, j, el);
  1470. }
  1471. },
  1472. Sort__dualPivotQuicksort(a, left, right, compare) {
  1473. var t0, less, great, pivots_are_equal, k, ak, comp, great0, less0, t2,
  1474. sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
  1475. index1 = left + sixth,
  1476. index5 = right - sixth,
  1477. index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
  1478. index2 = index3 - sixth,
  1479. index4 = index3 + sixth,
  1480. t1 = J.getInterceptor$asx(a),
  1481. el1 = t1.$index(a, index1),
  1482. el2 = t1.$index(a, index2),
  1483. el3 = t1.$index(a, index3),
  1484. el4 = t1.$index(a, index4),
  1485. el5 = t1.$index(a, index5);
  1486. if (compare.call$2(el1, el2) > 0) {
  1487. t0 = el2;
  1488. el2 = el1;
  1489. el1 = t0;
  1490. }
  1491. if (compare.call$2(el4, el5) > 0) {
  1492. t0 = el5;
  1493. el5 = el4;
  1494. el4 = t0;
  1495. }
  1496. if (compare.call$2(el1, el3) > 0) {
  1497. t0 = el3;
  1498. el3 = el1;
  1499. el1 = t0;
  1500. }
  1501. if (compare.call$2(el2, el3) > 0) {
  1502. t0 = el3;
  1503. el3 = el2;
  1504. el2 = t0;
  1505. }
  1506. if (compare.call$2(el1, el4) > 0) {
  1507. t0 = el4;
  1508. el4 = el1;
  1509. el1 = t0;
  1510. }
  1511. if (compare.call$2(el3, el4) > 0) {
  1512. t0 = el4;
  1513. el4 = el3;
  1514. el3 = t0;
  1515. }
  1516. if (compare.call$2(el2, el5) > 0) {
  1517. t0 = el5;
  1518. el5 = el2;
  1519. el2 = t0;
  1520. }
  1521. if (compare.call$2(el2, el3) > 0) {
  1522. t0 = el3;
  1523. el3 = el2;
  1524. el2 = t0;
  1525. }
  1526. if (compare.call$2(el4, el5) > 0) {
  1527. t0 = el5;
  1528. el5 = el4;
  1529. el4 = t0;
  1530. }
  1531. t1.$indexSet(a, index1, el1);
  1532. t1.$indexSet(a, index3, el3);
  1533. t1.$indexSet(a, index5, el5);
  1534. t1.$indexSet(a, index2, t1.$index(a, left));
  1535. t1.$indexSet(a, index4, t1.$index(a, right));
  1536. less = left + 1;
  1537. great = right - 1;
  1538. pivots_are_equal = J.$eq$(compare.call$2(el2, el4), 0);
  1539. if (pivots_are_equal)
  1540. for (k = less; k <= great; ++k) {
  1541. ak = t1.$index(a, k);
  1542. comp = compare.call$2(ak, el2);
  1543. if (comp === 0)
  1544. continue;
  1545. if (comp < 0) {
  1546. if (k !== less) {
  1547. t1.$indexSet(a, k, t1.$index(a, less));
  1548. t1.$indexSet(a, less, ak);
  1549. }
  1550. ++less;
  1551. } else
  1552. for (; true;) {
  1553. comp = compare.call$2(t1.$index(a, great), el2);
  1554. if (comp > 0) {
  1555. --great;
  1556. continue;
  1557. } else {
  1558. great0 = great - 1;
  1559. if (comp < 0) {
  1560. t1.$indexSet(a, k, t1.$index(a, less));
  1561. less0 = less + 1;
  1562. t1.$indexSet(a, less, t1.$index(a, great));
  1563. t1.$indexSet(a, great, ak);
  1564. great = great0;
  1565. less = less0;
  1566. break;
  1567. } else {
  1568. t1.$indexSet(a, k, t1.$index(a, great));
  1569. t1.$indexSet(a, great, ak);
  1570. great = great0;
  1571. break;
  1572. }
  1573. }
  1574. }
  1575. }
  1576. else
  1577. for (k = less; k <= great; ++k) {
  1578. ak = t1.$index(a, k);
  1579. if (compare.call$2(ak, el2) < 0) {
  1580. if (k !== less) {
  1581. t1.$indexSet(a, k, t1.$index(a, less));
  1582. t1.$indexSet(a, less, ak);
  1583. }
  1584. ++less;
  1585. } else if (compare.call$2(ak, el4) > 0)
  1586. for (; true;)
  1587. if (compare.call$2(t1.$index(a, great), el4) > 0) {
  1588. --great;
  1589. if (great < k)
  1590. break;
  1591. continue;
  1592. } else {
  1593. great0 = great - 1;
  1594. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  1595. t1.$indexSet(a, k, t1.$index(a, less));
  1596. less0 = less + 1;
  1597. t1.$indexSet(a, less, t1.$index(a, great));
  1598. t1.$indexSet(a, great, ak);
  1599. less = less0;
  1600. } else {
  1601. t1.$indexSet(a, k, t1.$index(a, great));
  1602. t1.$indexSet(a, great, ak);
  1603. }
  1604. great = great0;
  1605. break;
  1606. }
  1607. }
  1608. t2 = less - 1;
  1609. t1.$indexSet(a, left, t1.$index(a, t2));
  1610. t1.$indexSet(a, t2, el2);
  1611. t2 = great + 1;
  1612. t1.$indexSet(a, right, t1.$index(a, t2));
  1613. t1.$indexSet(a, t2, el4);
  1614. A.Sort__doSort(a, left, less - 2, compare);
  1615. A.Sort__doSort(a, great + 2, right, compare);
  1616. if (pivots_are_equal)
  1617. return;
  1618. if (less < index1 && great > index5) {
  1619. for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
  1620. ++less;
  1621. for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
  1622. --great;
  1623. for (k = less; k <= great; ++k) {
  1624. ak = t1.$index(a, k);
  1625. if (compare.call$2(ak, el2) === 0) {
  1626. if (k !== less) {
  1627. t1.$indexSet(a, k, t1.$index(a, less));
  1628. t1.$indexSet(a, less, ak);
  1629. }
  1630. ++less;
  1631. } else if (compare.call$2(ak, el4) === 0)
  1632. for (; true;)
  1633. if (compare.call$2(t1.$index(a, great), el4) === 0) {
  1634. --great;
  1635. if (great < k)
  1636. break;
  1637. continue;
  1638. } else {
  1639. great0 = great - 1;
  1640. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  1641. t1.$indexSet(a, k, t1.$index(a, less));
  1642. less0 = less + 1;
  1643. t1.$indexSet(a, less, t1.$index(a, great));
  1644. t1.$indexSet(a, great, ak);
  1645. less = less0;
  1646. } else {
  1647. t1.$indexSet(a, k, t1.$index(a, great));
  1648. t1.$indexSet(a, great, ak);
  1649. }
  1650. great = great0;
  1651. break;
  1652. }
  1653. }
  1654. A.Sort__doSort(a, less, great, compare);
  1655. } else
  1656. A.Sort__doSort(a, less, great, compare);
  1657. },
  1658. _CastIterableBase: function _CastIterableBase() {
  1659. },
  1660. CastIterator: function CastIterator(t0, t1) {
  1661. this._source = t0;
  1662. this.$ti = t1;
  1663. },
  1664. CastIterable: function CastIterable(t0, t1) {
  1665. this._source = t0;
  1666. this.$ti = t1;
  1667. },
  1668. _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
  1669. this._source = t0;
  1670. this.$ti = t1;
  1671. },
  1672. _CastListBase: function _CastListBase() {
  1673. },
  1674. _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
  1675. this.$this = t0;
  1676. this.compare = t1;
  1677. },
  1678. CastList: function CastList(t0, t1) {
  1679. this._source = t0;
  1680. this.$ti = t1;
  1681. },
  1682. CastSet: function CastSet(t0, t1, t2) {
  1683. this._source = t0;
  1684. this._emptySet = t1;
  1685. this.$ti = t2;
  1686. },
  1687. CastMap: function CastMap(t0, t1) {
  1688. this._source = t0;
  1689. this.$ti = t1;
  1690. },
  1691. CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
  1692. this.$this = t0;
  1693. this.f = t1;
  1694. },
  1695. CastMap_entries_closure: function CastMap_entries_closure(t0) {
  1696. this.$this = t0;
  1697. },
  1698. LateError: function LateError(t0) {
  1699. this._message = t0;
  1700. },
  1701. CodeUnits: function CodeUnits(t0) {
  1702. this._string = t0;
  1703. },
  1704. nullFuture_closure: function nullFuture_closure() {
  1705. },
  1706. SentinelValue: function SentinelValue() {
  1707. },
  1708. EfficientLengthIterable: function EfficientLengthIterable() {
  1709. },
  1710. ListIterable: function ListIterable() {
  1711. },
  1712. SubListIterable: function SubListIterable(t0, t1, t2, t3) {
  1713. var _ = this;
  1714. _.__internal$_iterable = t0;
  1715. _._start = t1;
  1716. _._endOrLength = t2;
  1717. _.$ti = t3;
  1718. },
  1719. ListIterator: function ListIterator(t0, t1, t2) {
  1720. var _ = this;
  1721. _.__internal$_iterable = t0;
  1722. _.__internal$_length = t1;
  1723. _.__internal$_index = 0;
  1724. _.__internal$_current = null;
  1725. _.$ti = t2;
  1726. },
  1727. MappedIterable: function MappedIterable(t0, t1, t2) {
  1728. this.__internal$_iterable = t0;
  1729. this._f = t1;
  1730. this.$ti = t2;
  1731. },
  1732. EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
  1733. this.__internal$_iterable = t0;
  1734. this._f = t1;
  1735. this.$ti = t2;
  1736. },
  1737. MappedIterator: function MappedIterator(t0, t1, t2) {
  1738. var _ = this;
  1739. _.__internal$_current = null;
  1740. _._iterator = t0;
  1741. _._f = t1;
  1742. _.$ti = t2;
  1743. },
  1744. MappedListIterable: function MappedListIterable(t0, t1, t2) {
  1745. this._source = t0;
  1746. this._f = t1;
  1747. this.$ti = t2;
  1748. },
  1749. WhereIterable: function WhereIterable(t0, t1, t2) {
  1750. this.__internal$_iterable = t0;
  1751. this._f = t1;
  1752. this.$ti = t2;
  1753. },
  1754. WhereIterator: function WhereIterator(t0, t1) {
  1755. this._iterator = t0;
  1756. this._f = t1;
  1757. },
  1758. ExpandIterable: function ExpandIterable(t0, t1, t2) {
  1759. this.__internal$_iterable = t0;
  1760. this._f = t1;
  1761. this.$ti = t2;
  1762. },
  1763. ExpandIterator: function ExpandIterator(t0, t1, t2, t3) {
  1764. var _ = this;
  1765. _._iterator = t0;
  1766. _._f = t1;
  1767. _._currentExpansion = t2;
  1768. _.__internal$_current = null;
  1769. _.$ti = t3;
  1770. },
  1771. TakeIterable: function TakeIterable(t0, t1, t2) {
  1772. this.__internal$_iterable = t0;
  1773. this._takeCount = t1;
  1774. this.$ti = t2;
  1775. },
  1776. EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
  1777. this.__internal$_iterable = t0;
  1778. this._takeCount = t1;
  1779. this.$ti = t2;
  1780. },
  1781. TakeIterator: function TakeIterator(t0, t1, t2) {
  1782. this._iterator = t0;
  1783. this._remaining = t1;
  1784. this.$ti = t2;
  1785. },
  1786. SkipIterable: function SkipIterable(t0, t1, t2) {
  1787. this.__internal$_iterable = t0;
  1788. this._skipCount = t1;
  1789. this.$ti = t2;
  1790. },
  1791. EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
  1792. this.__internal$_iterable = t0;
  1793. this._skipCount = t1;
  1794. this.$ti = t2;
  1795. },
  1796. SkipIterator: function SkipIterator(t0, t1) {
  1797. this._iterator = t0;
  1798. this._skipCount = t1;
  1799. },
  1800. SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
  1801. this.__internal$_iterable = t0;
  1802. this._f = t1;
  1803. this.$ti = t2;
  1804. },
  1805. SkipWhileIterator: function SkipWhileIterator(t0, t1) {
  1806. this._iterator = t0;
  1807. this._f = t1;
  1808. this._hasSkipped = false;
  1809. },
  1810. EmptyIterable: function EmptyIterable(t0) {
  1811. this.$ti = t0;
  1812. },
  1813. EmptyIterator: function EmptyIterator() {
  1814. },
  1815. FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
  1816. this.__internal$_first = t0;
  1817. this._second = t1;
  1818. this.$ti = t2;
  1819. },
  1820. EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
  1821. this.__internal$_first = t0;
  1822. this._second = t1;
  1823. this.$ti = t2;
  1824. },
  1825. FollowedByIterator: function FollowedByIterator(t0, t1) {
  1826. this._currentIterator = t0;
  1827. this._nextIterable = t1;
  1828. },
  1829. WhereTypeIterable: function WhereTypeIterable(t0, t1) {
  1830. this._source = t0;
  1831. this.$ti = t1;
  1832. },
  1833. WhereTypeIterator: function WhereTypeIterator(t0, t1) {
  1834. this._source = t0;
  1835. this.$ti = t1;
  1836. },
  1837. NonNullsIterable: function NonNullsIterable(t0, t1) {
  1838. this._source = t0;
  1839. this.$ti = t1;
  1840. },
  1841. NonNullsIterator: function NonNullsIterator(t0) {
  1842. this._source = t0;
  1843. this.__internal$_current = null;
  1844. },
  1845. FixedLengthListMixin: function FixedLengthListMixin() {
  1846. },
  1847. UnmodifiableListMixin: function UnmodifiableListMixin() {
  1848. },
  1849. UnmodifiableListBase: function UnmodifiableListBase() {
  1850. },
  1851. ReversedListIterable: function ReversedListIterable(t0, t1) {
  1852. this._source = t0;
  1853. this.$ti = t1;
  1854. },
  1855. Symbol: function Symbol(t0) {
  1856. this.__internal$_name = t0;
  1857. },
  1858. __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
  1859. },
  1860. ConstantMap_ConstantMap$from(other, $K, $V) {
  1861. var allStrings, k, object, index, index0, map,
  1862. keys = A.List_List$from(other.get$keys(other), true, $K),
  1863. t1 = keys.length,
  1864. _i = 0;
  1865. while (true) {
  1866. if (!(_i < t1)) {
  1867. allStrings = true;
  1868. break;
  1869. }
  1870. k = keys[_i];
  1871. if (typeof k != "string" || "__proto__" === k) {
  1872. allStrings = false;
  1873. break;
  1874. }
  1875. ++_i;
  1876. }
  1877. if (allStrings) {
  1878. object = {};
  1879. for (index = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i, index = index0) {
  1880. k = keys[_i];
  1881. other.$index(0, k);
  1882. index0 = index + 1;
  1883. object[k] = index;
  1884. }
  1885. 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>"));
  1886. map.$keys = keys;
  1887. return map;
  1888. }
  1889. return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
  1890. },
  1891. ConstantMap__throwUnmodifiable() {
  1892. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
  1893. },
  1894. ConstantSet__throwUnmodifiable() {
  1895. throw A.wrapException(A.UnsupportedError$("Cannot modify constant Set"));
  1896. },
  1897. instantiate1(f, T1) {
  1898. var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>"));
  1899. t1.Instantiation$1(f);
  1900. return t1;
  1901. },
  1902. unminifyOrTag(rawClassName) {
  1903. var preserved = init.mangledGlobalNames[rawClassName];
  1904. if (preserved != null)
  1905. return preserved;
  1906. return rawClassName;
  1907. },
  1908. isJsIndexable(object, record) {
  1909. var result;
  1910. if (record != null) {
  1911. result = record.x;
  1912. if (result != null)
  1913. return result;
  1914. }
  1915. return type$.JavaScriptIndexingBehavior_dynamic._is(object);
  1916. },
  1917. S(value) {
  1918. var result;
  1919. if (typeof value == "string")
  1920. return value;
  1921. if (typeof value == "number") {
  1922. if (value !== 0)
  1923. return "" + value;
  1924. } else if (true === value)
  1925. return "true";
  1926. else if (false === value)
  1927. return "false";
  1928. else if (value == null)
  1929. return "null";
  1930. result = J.toString$0$(value);
  1931. return result;
  1932. },
  1933. JSInvocationMirror$(_memberName, _internalName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount) {
  1934. return new A.JSInvocationMirror(_memberName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount);
  1935. },
  1936. Primitives_objectHashCode(object) {
  1937. var hash,
  1938. property = $.Primitives__identityHashCodeProperty;
  1939. if (property == null)
  1940. property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode");
  1941. hash = object[property];
  1942. if (hash == null) {
  1943. hash = Math.random() * 0x3fffffff | 0;
  1944. object[property] = hash;
  1945. }
  1946. return hash;
  1947. },
  1948. Primitives_parseInt(source, radix) {
  1949. var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
  1950. match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
  1951. if (match == null)
  1952. return _null;
  1953. decimalMatch = match[3];
  1954. if (radix == null) {
  1955. if (decimalMatch != null)
  1956. return parseInt(source, 10);
  1957. if (match[2] != null)
  1958. return parseInt(source, 16);
  1959. return _null;
  1960. }
  1961. if (radix < 2 || radix > 36)
  1962. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
  1963. if (radix === 10 && decimalMatch != null)
  1964. return parseInt(source, 10);
  1965. if (radix < 10 || decimalMatch == null) {
  1966. maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
  1967. digitsPart = match[1];
  1968. for (t1 = digitsPart.length, i = 0; i < t1; ++i)
  1969. if ((digitsPart.charCodeAt(i) | 32) > maxCharCode)
  1970. return _null;
  1971. }
  1972. return parseInt(source, radix);
  1973. },
  1974. Primitives_parseDouble(source) {
  1975. var result, trimmed;
  1976. if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
  1977. return null;
  1978. result = parseFloat(source);
  1979. if (isNaN(result)) {
  1980. trimmed = B.JSString_methods.trim$0(source);
  1981. if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
  1982. return result;
  1983. return null;
  1984. }
  1985. return result;
  1986. },
  1987. Primitives_objectTypeName(object) {
  1988. return A.Primitives__objectTypeNameNewRti(object);
  1989. },
  1990. Primitives__objectTypeNameNewRti(object) {
  1991. var interceptor, dispatchName, $constructor, constructorName;
  1992. if (object instanceof A.Object)
  1993. return A._rtiToString(A.instanceType(object), null);
  1994. interceptor = J.getInterceptor$(object);
  1995. if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) {
  1996. dispatchName = B.C_JS_CONST(object);
  1997. if (dispatchName !== "Object" && dispatchName !== "")
  1998. return dispatchName;
  1999. $constructor = object.constructor;
  2000. if (typeof $constructor == "function") {
  2001. constructorName = $constructor.name;
  2002. if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "")
  2003. return constructorName;
  2004. }
  2005. }
  2006. return A._rtiToString(A.instanceType(object), null);
  2007. },
  2008. Primitives_safeToString(object) {
  2009. if (object == null || typeof object == "number" || A._isBool(object))
  2010. return J.toString$0$(object);
  2011. if (typeof object == "string")
  2012. return JSON.stringify(object);
  2013. if (object instanceof A.Closure)
  2014. return object.toString$0(0);
  2015. if (object instanceof A._Record)
  2016. return object._toString$1(true);
  2017. return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
  2018. },
  2019. Primitives_currentUri() {
  2020. if (!!self.location)
  2021. return self.location.href;
  2022. return null;
  2023. },
  2024. Primitives__fromCharCodeApply(array) {
  2025. var result, i, i0, chunkEnd,
  2026. end = array.length;
  2027. if (end <= 500)
  2028. return String.fromCharCode.apply(null, array);
  2029. for (result = "", i = 0; i < end; i = i0) {
  2030. i0 = i + 500;
  2031. chunkEnd = i0 < end ? i0 : end;
  2032. result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
  2033. }
  2034. return result;
  2035. },
  2036. Primitives_stringFromCodePoints(codePoints) {
  2037. var t1, _i, i,
  2038. a = A._setArrayType([], type$.JSArray_int);
  2039. for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
  2040. i = codePoints[_i];
  2041. if (!A._isInt(i))
  2042. throw A.wrapException(A.argumentErrorValue(i));
  2043. if (i <= 65535)
  2044. a.push(i);
  2045. else if (i <= 1114111) {
  2046. a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
  2047. a.push(56320 + (i & 1023));
  2048. } else
  2049. throw A.wrapException(A.argumentErrorValue(i));
  2050. }
  2051. return A.Primitives__fromCharCodeApply(a);
  2052. },
  2053. Primitives_stringFromCharCodes(charCodes) {
  2054. var t1, _i, i;
  2055. for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
  2056. i = charCodes[_i];
  2057. if (!A._isInt(i))
  2058. throw A.wrapException(A.argumentErrorValue(i));
  2059. if (i < 0)
  2060. throw A.wrapException(A.argumentErrorValue(i));
  2061. if (i > 65535)
  2062. return A.Primitives_stringFromCodePoints(charCodes);
  2063. }
  2064. return A.Primitives__fromCharCodeApply(charCodes);
  2065. },
  2066. Primitives_stringFromNativeUint8List(charCodes, start, end) {
  2067. var i, result, i0, chunkEnd;
  2068. if (end <= 500 && start === 0 && end === charCodes.length)
  2069. return String.fromCharCode.apply(null, charCodes);
  2070. for (i = start, result = ""; i < end; i = i0) {
  2071. i0 = i + 500;
  2072. chunkEnd = i0 < end ? i0 : end;
  2073. result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
  2074. }
  2075. return result;
  2076. },
  2077. Primitives_stringFromCharCode(charCode) {
  2078. var bits;
  2079. if (0 <= charCode) {
  2080. if (charCode <= 65535)
  2081. return String.fromCharCode(charCode);
  2082. if (charCode <= 1114111) {
  2083. bits = charCode - 65536;
  2084. return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
  2085. }
  2086. }
  2087. throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
  2088. },
  2089. Primitives_lazyAsJsDate(receiver) {
  2090. if (receiver.date === void 0)
  2091. receiver.date = new Date(receiver._value);
  2092. return receiver.date;
  2093. },
  2094. Primitives_getYear(receiver) {
  2095. var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
  2096. return t1;
  2097. },
  2098. Primitives_getMonth(receiver) {
  2099. var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
  2100. return t1;
  2101. },
  2102. Primitives_getDay(receiver) {
  2103. var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
  2104. return t1;
  2105. },
  2106. Primitives_getHours(receiver) {
  2107. var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
  2108. return t1;
  2109. },
  2110. Primitives_getMinutes(receiver) {
  2111. var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
  2112. return t1;
  2113. },
  2114. Primitives_getSeconds(receiver) {
  2115. var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
  2116. return t1;
  2117. },
  2118. Primitives_getMilliseconds(receiver) {
  2119. var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
  2120. return t1;
  2121. },
  2122. Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
  2123. var $arguments, namedArgumentList, t1 = {};
  2124. t1.argumentCount = 0;
  2125. $arguments = [];
  2126. namedArgumentList = [];
  2127. t1.argumentCount = positionalArguments.length;
  2128. B.JSArray_methods.addAll$1($arguments, positionalArguments);
  2129. t1.names = "";
  2130. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2131. namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
  2132. return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
  2133. },
  2134. Primitives_applyFunction($function, positionalArguments, namedArguments) {
  2135. var t1, argumentCount, jsStub;
  2136. if (Array.isArray(positionalArguments))
  2137. t1 = namedArguments == null || namedArguments.__js_helper$_length === 0;
  2138. else
  2139. t1 = false;
  2140. if (t1) {
  2141. argumentCount = positionalArguments.length;
  2142. if (argumentCount === 0) {
  2143. if (!!$function.call$0)
  2144. return $function.call$0();
  2145. } else if (argumentCount === 1) {
  2146. if (!!$function.call$1)
  2147. return $function.call$1(positionalArguments[0]);
  2148. } else if (argumentCount === 2) {
  2149. if (!!$function.call$2)
  2150. return $function.call$2(positionalArguments[0], positionalArguments[1]);
  2151. } else if (argumentCount === 3) {
  2152. if (!!$function.call$3)
  2153. return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
  2154. } else if (argumentCount === 4) {
  2155. if (!!$function.call$4)
  2156. return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
  2157. } else if (argumentCount === 5)
  2158. if (!!$function.call$5)
  2159. return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
  2160. jsStub = $function["call" + "$" + argumentCount];
  2161. if (jsStub != null)
  2162. return jsStub.apply($function, positionalArguments);
  2163. }
  2164. return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
  2165. },
  2166. Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
  2167. var defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2,
  2168. $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic),
  2169. argumentCount = $arguments.length,
  2170. requiredParameterCount = $function.$requiredArgCount;
  2171. if (argumentCount < requiredParameterCount)
  2172. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2173. defaultValuesClosure = $function.$defaultValues;
  2174. t1 = defaultValuesClosure == null;
  2175. defaultValues = !t1 ? defaultValuesClosure() : null;
  2176. interceptor = J.getInterceptor$($function);
  2177. jsFunction = interceptor["call*"];
  2178. if (typeof jsFunction == "string")
  2179. jsFunction = interceptor[jsFunction];
  2180. if (t1) {
  2181. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2182. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2183. if (argumentCount === requiredParameterCount)
  2184. return jsFunction.apply($function, $arguments);
  2185. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2186. }
  2187. if (Array.isArray(defaultValues)) {
  2188. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2189. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2190. maxArguments = requiredParameterCount + defaultValues.length;
  2191. if (argumentCount > maxArguments)
  2192. return A.Primitives_functionNoSuchMethod($function, $arguments, null);
  2193. if (argumentCount < maxArguments) {
  2194. missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
  2195. if ($arguments === positionalArguments)
  2196. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  2197. B.JSArray_methods.addAll$1($arguments, missingDefaults);
  2198. }
  2199. return jsFunction.apply($function, $arguments);
  2200. } else {
  2201. if (argumentCount > requiredParameterCount)
  2202. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2203. if ($arguments === positionalArguments)
  2204. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  2205. keys = Object.keys(defaultValues);
  2206. if (namedArguments == null)
  2207. for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  2208. defaultValue = defaultValues[keys[_i]];
  2209. if (B.C__Required === defaultValue)
  2210. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2211. B.JSArray_methods.add$1($arguments, defaultValue);
  2212. }
  2213. else {
  2214. for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  2215. t2 = keys[_i];
  2216. if (namedArguments.containsKey$1(t2)) {
  2217. ++used;
  2218. B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
  2219. } else {
  2220. defaultValue = defaultValues[t2];
  2221. if (B.C__Required === defaultValue)
  2222. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2223. B.JSArray_methods.add$1($arguments, defaultValue);
  2224. }
  2225. }
  2226. if (used !== namedArguments.__js_helper$_length)
  2227. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2228. }
  2229. return jsFunction.apply($function, $arguments);
  2230. }
  2231. },
  2232. Primitives_extractStackTrace(error) {
  2233. var jsError = error.$thrownJsError;
  2234. if (jsError == null)
  2235. return null;
  2236. return A.getTraceFromException(jsError);
  2237. },
  2238. Primitives_trySetStackTrace(error, stackTrace) {
  2239. var jsError;
  2240. if (error.$thrownJsError == null) {
  2241. jsError = A.wrapException(error);
  2242. error.$thrownJsError = jsError;
  2243. jsError.stack = stackTrace.toString$0(0);
  2244. }
  2245. },
  2246. diagnoseIndexError(indexable, index) {
  2247. var $length, _s5_ = "index";
  2248. if (!A._isInt(index))
  2249. return new A.ArgumentError(true, index, _s5_, null);
  2250. $length = J.get$length$asx(indexable);
  2251. if (index < 0 || index >= $length)
  2252. return A.IndexError$withLength(index, $length, indexable, null, _s5_);
  2253. return A.RangeError$value(index, _s5_, null);
  2254. },
  2255. diagnoseRangeError(start, end, $length) {
  2256. if (start < 0 || start > $length)
  2257. return A.RangeError$range(start, 0, $length, "start", null);
  2258. if (end != null)
  2259. if (end < start || end > $length)
  2260. return A.RangeError$range(end, start, $length, "end", null);
  2261. return new A.ArgumentError(true, end, "end", null);
  2262. },
  2263. argumentErrorValue(object) {
  2264. return new A.ArgumentError(true, object, null, null);
  2265. },
  2266. wrapException(ex) {
  2267. return A.initializeExceptionWrapper(new Error(), ex);
  2268. },
  2269. initializeExceptionWrapper(wrapper, ex) {
  2270. var t1;
  2271. if (ex == null)
  2272. ex = new A.TypeError();
  2273. wrapper.dartException = ex;
  2274. t1 = A.toStringWrapper;
  2275. if ("defineProperty" in Object) {
  2276. Object.defineProperty(wrapper, "message", {get: t1});
  2277. wrapper.name = "";
  2278. } else
  2279. wrapper.toString = t1;
  2280. return wrapper;
  2281. },
  2282. toStringWrapper() {
  2283. return J.toString$0$(this.dartException);
  2284. },
  2285. throwExpression(ex) {
  2286. throw A.wrapException(ex);
  2287. },
  2288. throwExpressionWithWrapper(ex, wrapper) {
  2289. throw A.initializeExceptionWrapper(wrapper, ex);
  2290. },
  2291. throwUnsupportedOperation(o, operation, verb) {
  2292. var wrapper;
  2293. if (operation == null)
  2294. operation = 0;
  2295. if (verb == null)
  2296. verb = 0;
  2297. wrapper = Error();
  2298. A.throwExpressionWithWrapper(A._diagnoseUnsupportedOperation(o, operation, verb), wrapper);
  2299. },
  2300. _diagnoseUnsupportedOperation(o, encodedOperation, encodedVerb) {
  2301. var operation, table, tableLength, index, verb, object, flags, article, adjective;
  2302. if (typeof encodedOperation == "string")
  2303. operation = encodedOperation;
  2304. else {
  2305. table = "[]=;add;removeWhere;retainWhere;removeRange;setRange;setInt8;setInt16;setInt32;setUint8;setUint16;setUint32;setFloat32;setFloat64".split(";");
  2306. tableLength = table.length;
  2307. index = encodedOperation;
  2308. if (index > tableLength) {
  2309. encodedVerb = index / tableLength | 0;
  2310. index %= tableLength;
  2311. }
  2312. operation = table[index];
  2313. }
  2314. verb = typeof encodedVerb == "string" ? encodedVerb : "modify;remove from;add to".split(";")[encodedVerb];
  2315. object = type$.List_dynamic._is(o) ? "list" : "ByteData";
  2316. flags = o.$flags | 0;
  2317. article = "a ";
  2318. if ((flags & 4) !== 0)
  2319. adjective = "constant ";
  2320. else if ((flags & 2) !== 0) {
  2321. adjective = "unmodifiable ";
  2322. article = "an ";
  2323. } else
  2324. adjective = (flags & 1) !== 0 ? "fixed-length " : "";
  2325. return new A.UnsupportedError("'" + operation + "': Cannot " + verb + " " + article + adjective + object);
  2326. },
  2327. throwConcurrentModificationError(collection) {
  2328. throw A.wrapException(A.ConcurrentModificationError$(collection));
  2329. },
  2330. TypeErrorDecoder_extractPattern(message) {
  2331. var match, $arguments, argumentsExpr, expr, method, receiver;
  2332. message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
  2333. match = message.match(/\\\$[a-zA-Z]+\\\$/g);
  2334. if (match == null)
  2335. match = A._setArrayType([], type$.JSArray_String);
  2336. $arguments = match.indexOf("\\$arguments\\$");
  2337. argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
  2338. expr = match.indexOf("\\$expr\\$");
  2339. method = match.indexOf("\\$method\\$");
  2340. receiver = match.indexOf("\\$receiver\\$");
  2341. 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);
  2342. },
  2343. TypeErrorDecoder_provokeCallErrorOn(expression) {
  2344. return function($expr$) {
  2345. var $argumentsExpr$ = "$arguments$";
  2346. try {
  2347. $expr$.$method$($argumentsExpr$);
  2348. } catch (e) {
  2349. return e.message;
  2350. }
  2351. }(expression);
  2352. },
  2353. TypeErrorDecoder_provokePropertyErrorOn(expression) {
  2354. return function($expr$) {
  2355. try {
  2356. $expr$.$method$;
  2357. } catch (e) {
  2358. return e.message;
  2359. }
  2360. }(expression);
  2361. },
  2362. JsNoSuchMethodError$(_message, match) {
  2363. var t1 = match == null,
  2364. t2 = t1 ? null : match.method;
  2365. return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
  2366. },
  2367. unwrapException(ex) {
  2368. if (ex == null)
  2369. return new A.NullThrownFromJavaScriptException(ex);
  2370. if (ex instanceof A.ExceptionAndStackTrace)
  2371. return A.saveStackTrace(ex, ex.dartException);
  2372. if (typeof ex !== "object")
  2373. return ex;
  2374. if ("dartException" in ex)
  2375. return A.saveStackTrace(ex, ex.dartException);
  2376. return A._unwrapNonDartException(ex);
  2377. },
  2378. saveStackTrace(ex, error) {
  2379. if (type$.Error._is(error))
  2380. if (error.$thrownJsError == null)
  2381. error.$thrownJsError = ex;
  2382. return error;
  2383. },
  2384. _unwrapNonDartException(ex) {
  2385. var message, number, ieErrorCode, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match;
  2386. if (!("message" in ex))
  2387. return ex;
  2388. message = ex.message;
  2389. if ("number" in ex && typeof ex.number == "number") {
  2390. number = ex.number;
  2391. ieErrorCode = number & 65535;
  2392. if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
  2393. switch (ieErrorCode) {
  2394. case 438:
  2395. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", null));
  2396. case 445:
  2397. case 5007:
  2398. A.S(message);
  2399. return A.saveStackTrace(ex, new A.NullError());
  2400. }
  2401. }
  2402. if (ex instanceof TypeError) {
  2403. nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
  2404. notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
  2405. nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
  2406. nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
  2407. undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
  2408. undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
  2409. nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
  2410. $.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
  2411. undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
  2412. undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
  2413. match = nsme.matchTypeError$1(message);
  2414. if (match != null)
  2415. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  2416. else {
  2417. match = notClosure.matchTypeError$1(message);
  2418. if (match != null) {
  2419. match.method = "call";
  2420. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  2421. } 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)
  2422. return A.saveStackTrace(ex, new A.NullError());
  2423. }
  2424. return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
  2425. }
  2426. if (ex instanceof RangeError) {
  2427. if (typeof message == "string" && message.indexOf("call stack") !== -1)
  2428. return new A.StackOverflowError();
  2429. message = function(ex) {
  2430. try {
  2431. return String(ex);
  2432. } catch (e) {
  2433. }
  2434. return null;
  2435. }(ex);
  2436. return A.saveStackTrace(ex, new A.ArgumentError(false, null, null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
  2437. }
  2438. if (typeof InternalError == "function" && ex instanceof InternalError)
  2439. if (typeof message == "string" && message === "too much recursion")
  2440. return new A.StackOverflowError();
  2441. return ex;
  2442. },
  2443. getTraceFromException(exception) {
  2444. var trace;
  2445. if (exception instanceof A.ExceptionAndStackTrace)
  2446. return exception.stackTrace;
  2447. if (exception == null)
  2448. return new A._StackTrace(exception);
  2449. trace = exception.$cachedTrace;
  2450. if (trace != null)
  2451. return trace;
  2452. trace = new A._StackTrace(exception);
  2453. if (typeof exception === "object")
  2454. exception.$cachedTrace = trace;
  2455. return trace;
  2456. },
  2457. objectHashCode(object) {
  2458. if (object == null)
  2459. return J.get$hashCode$(object);
  2460. if (typeof object == "object")
  2461. return A.Primitives_objectHashCode(object);
  2462. return J.get$hashCode$(object);
  2463. },
  2464. constantHashCode(key) {
  2465. if (typeof key == "number")
  2466. return B.JSNumber_methods.get$hashCode(key);
  2467. if (key instanceof A._Type)
  2468. return A.Primitives_objectHashCode(key);
  2469. if (key instanceof A._Record)
  2470. return key.get$hashCode(key);
  2471. if (key instanceof A.Symbol)
  2472. return key.get$hashCode(0);
  2473. return A.objectHashCode(key);
  2474. },
  2475. fillLiteralMap(keyValuePairs, result) {
  2476. var index, index0, index1,
  2477. $length = keyValuePairs.length;
  2478. for (index = 0; index < $length; index = index1) {
  2479. index0 = index + 1;
  2480. index1 = index0 + 1;
  2481. result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
  2482. }
  2483. return result;
  2484. },
  2485. fillLiteralSet(values, result) {
  2486. var index,
  2487. $length = values.length;
  2488. for (index = 0; index < $length; ++index)
  2489. result.add$1(0, values[index]);
  2490. return result;
  2491. },
  2492. _invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
  2493. switch (numberOfArguments) {
  2494. case 0:
  2495. return closure.call$0();
  2496. case 1:
  2497. return closure.call$1(arg1);
  2498. case 2:
  2499. return closure.call$2(arg1, arg2);
  2500. case 3:
  2501. return closure.call$3(arg1, arg2, arg3);
  2502. case 4:
  2503. return closure.call$4(arg1, arg2, arg3, arg4);
  2504. }
  2505. throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
  2506. },
  2507. convertDartClosureToJS(closure, arity) {
  2508. var $function;
  2509. if (closure == null)
  2510. return null;
  2511. $function = closure.$identity;
  2512. if (!!$function)
  2513. return $function;
  2514. $function = A.convertDartClosureToJSUncached(closure, arity);
  2515. closure.$identity = $function;
  2516. return $function;
  2517. },
  2518. convertDartClosureToJSUncached(closure, arity) {
  2519. var entry;
  2520. switch (arity) {
  2521. case 0:
  2522. entry = closure.call$0;
  2523. break;
  2524. case 1:
  2525. entry = closure.call$1;
  2526. break;
  2527. case 2:
  2528. entry = closure.call$2;
  2529. break;
  2530. case 3:
  2531. entry = closure.call$3;
  2532. break;
  2533. case 4:
  2534. entry = closure.call$4;
  2535. break;
  2536. default:
  2537. entry = null;
  2538. }
  2539. if (entry != null)
  2540. return entry.bind(closure);
  2541. return function(closure, arity, invoke) {
  2542. return function(a1, a2, a3, a4) {
  2543. return invoke(closure, arity, a1, a2, a3, a4);
  2544. };
  2545. }(closure, arity, A._invokeClosure);
  2546. },
  2547. Closure_fromTearOff(parameters) {
  2548. var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
  2549. container = parameters.co,
  2550. isStatic = parameters.iS,
  2551. isIntercepted = parameters.iI,
  2552. needsDirectAccess = parameters.nDA,
  2553. applyTrampolineIndex = parameters.aI,
  2554. funsOrNames = parameters.fs,
  2555. callNames = parameters.cs,
  2556. $name = funsOrNames[0],
  2557. callName = callNames[0],
  2558. $function = container[$name],
  2559. t1 = parameters.fT;
  2560. t1.toString;
  2561. $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
  2562. $prototype.$initialize = $prototype.constructor;
  2563. $constructor = isStatic ? function static_tear_off() {
  2564. this.$initialize();
  2565. } : function tear_off(a, b) {
  2566. this.$initialize(a, b);
  2567. };
  2568. $prototype.constructor = $constructor;
  2569. $constructor.prototype = $prototype;
  2570. $prototype.$_name = $name;
  2571. $prototype.$_target = $function;
  2572. t2 = !isStatic;
  2573. if (t2)
  2574. trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
  2575. else {
  2576. $prototype.$static_name = $name;
  2577. trampoline = $function;
  2578. }
  2579. $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted);
  2580. $prototype[callName] = trampoline;
  2581. for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
  2582. stub = funsOrNames[i];
  2583. if (typeof stub == "string") {
  2584. stub0 = container[stub];
  2585. stubName = stub;
  2586. stub = stub0;
  2587. } else
  2588. stubName = "";
  2589. stubCallName = callNames[i];
  2590. if (stubCallName != null) {
  2591. if (t2)
  2592. stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
  2593. $prototype[stubCallName] = stub;
  2594. }
  2595. if (i === applyTrampolineIndex)
  2596. applyTrampoline = stub;
  2597. }
  2598. $prototype["call*"] = applyTrampoline;
  2599. $prototype.$requiredArgCount = parameters.rC;
  2600. $prototype.$defaultValues = parameters.dV;
  2601. return $constructor;
  2602. },
  2603. Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) {
  2604. if (typeof functionType == "number")
  2605. return functionType;
  2606. if (typeof functionType == "string") {
  2607. if (isStatic)
  2608. throw A.wrapException("Cannot compute signature for static tearoff.");
  2609. return function(recipe, evalOnReceiver) {
  2610. return function() {
  2611. return evalOnReceiver(this, recipe);
  2612. };
  2613. }(functionType, A.BoundClosure_evalRecipe);
  2614. }
  2615. throw A.wrapException("Error in functionType of tearoff");
  2616. },
  2617. Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
  2618. var getReceiver = A.BoundClosure_receiverOf;
  2619. switch (needsDirectAccess ? -1 : arity) {
  2620. case 0:
  2621. return function(entry, receiverOf) {
  2622. return function() {
  2623. return receiverOf(this)[entry]();
  2624. };
  2625. }(stubName, getReceiver);
  2626. case 1:
  2627. return function(entry, receiverOf) {
  2628. return function(a) {
  2629. return receiverOf(this)[entry](a);
  2630. };
  2631. }(stubName, getReceiver);
  2632. case 2:
  2633. return function(entry, receiverOf) {
  2634. return function(a, b) {
  2635. return receiverOf(this)[entry](a, b);
  2636. };
  2637. }(stubName, getReceiver);
  2638. case 3:
  2639. return function(entry, receiverOf) {
  2640. return function(a, b, c) {
  2641. return receiverOf(this)[entry](a, b, c);
  2642. };
  2643. }(stubName, getReceiver);
  2644. case 4:
  2645. return function(entry, receiverOf) {
  2646. return function(a, b, c, d) {
  2647. return receiverOf(this)[entry](a, b, c, d);
  2648. };
  2649. }(stubName, getReceiver);
  2650. case 5:
  2651. return function(entry, receiverOf) {
  2652. return function(a, b, c, d, e) {
  2653. return receiverOf(this)[entry](a, b, c, d, e);
  2654. };
  2655. }(stubName, getReceiver);
  2656. default:
  2657. return function(f, receiverOf) {
  2658. return function() {
  2659. return f.apply(receiverOf(this), arguments);
  2660. };
  2661. }($function, getReceiver);
  2662. }
  2663. },
  2664. Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
  2665. if (isIntercepted)
  2666. return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
  2667. return A.Closure_cspForwardCall($function.length, needsDirectAccess, stubName, $function);
  2668. },
  2669. Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
  2670. var getReceiver = A.BoundClosure_receiverOf,
  2671. getInterceptor = A.BoundClosure_interceptorOf;
  2672. switch (needsDirectAccess ? -1 : arity) {
  2673. case 0:
  2674. throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
  2675. case 1:
  2676. return function(entry, interceptorOf, receiverOf) {
  2677. return function() {
  2678. return interceptorOf(this)[entry](receiverOf(this));
  2679. };
  2680. }(stubName, getInterceptor, getReceiver);
  2681. case 2:
  2682. return function(entry, interceptorOf, receiverOf) {
  2683. return function(a) {
  2684. return interceptorOf(this)[entry](receiverOf(this), a);
  2685. };
  2686. }(stubName, getInterceptor, getReceiver);
  2687. case 3:
  2688. return function(entry, interceptorOf, receiverOf) {
  2689. return function(a, b) {
  2690. return interceptorOf(this)[entry](receiverOf(this), a, b);
  2691. };
  2692. }(stubName, getInterceptor, getReceiver);
  2693. case 4:
  2694. return function(entry, interceptorOf, receiverOf) {
  2695. return function(a, b, c) {
  2696. return interceptorOf(this)[entry](receiverOf(this), a, b, c);
  2697. };
  2698. }(stubName, getInterceptor, getReceiver);
  2699. case 5:
  2700. return function(entry, interceptorOf, receiverOf) {
  2701. return function(a, b, c, d) {
  2702. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
  2703. };
  2704. }(stubName, getInterceptor, getReceiver);
  2705. case 6:
  2706. return function(entry, interceptorOf, receiverOf) {
  2707. return function(a, b, c, d, e) {
  2708. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
  2709. };
  2710. }(stubName, getInterceptor, getReceiver);
  2711. default:
  2712. return function(f, interceptorOf, receiverOf) {
  2713. return function() {
  2714. var a = [receiverOf(this)];
  2715. Array.prototype.push.apply(a, arguments);
  2716. return f.apply(interceptorOf(this), a);
  2717. };
  2718. }($function, getInterceptor, getReceiver);
  2719. }
  2720. },
  2721. Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
  2722. var arity, t1;
  2723. if ($.BoundClosure__interceptorFieldNameCache == null)
  2724. $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor");
  2725. if ($.BoundClosure__receiverFieldNameCache == null)
  2726. $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver");
  2727. arity = $function.length;
  2728. t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
  2729. return t1;
  2730. },
  2731. closureFromTearOff(parameters) {
  2732. return A.Closure_fromTearOff(parameters);
  2733. },
  2734. BoundClosure_evalRecipe(closure, recipe) {
  2735. return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
  2736. },
  2737. BoundClosure_receiverOf(closure) {
  2738. return closure._receiver;
  2739. },
  2740. BoundClosure_interceptorOf(closure) {
  2741. return closure._interceptor;
  2742. },
  2743. BoundClosure__computeFieldNamed(fieldName) {
  2744. var names, i, $name,
  2745. template = new A.BoundClosure("receiver", "interceptor"),
  2746. t1 = Object.getOwnPropertyNames(template);
  2747. t1.$flags = 1;
  2748. names = t1;
  2749. for (t1 = names.length, i = 0; i < t1; ++i) {
  2750. $name = names[i];
  2751. if (template[$name] === fieldName)
  2752. return $name;
  2753. }
  2754. throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
  2755. },
  2756. throwCyclicInit(staticName) {
  2757. throw A.wrapException(new A._CyclicInitializationError(staticName));
  2758. },
  2759. getIsolateAffinityTag($name) {
  2760. return init.getIsolateTag($name);
  2761. },
  2762. defineProperty(obj, property, value) {
  2763. Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
  2764. },
  2765. lookupAndCacheInterceptor(obj) {
  2766. var interceptor, interceptorClass, altTag, mark, t1,
  2767. tag = $.getTagFunction.call$1(obj),
  2768. record = $.dispatchRecordsForInstanceTags[tag];
  2769. if (record != null) {
  2770. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2771. return record.i;
  2772. }
  2773. interceptor = $.interceptorsForUncacheableTags[tag];
  2774. if (interceptor != null)
  2775. return interceptor;
  2776. interceptorClass = init.interceptorsByTag[tag];
  2777. if (interceptorClass == null) {
  2778. altTag = $.alternateTagFunction.call$2(obj, tag);
  2779. if (altTag != null) {
  2780. record = $.dispatchRecordsForInstanceTags[altTag];
  2781. if (record != null) {
  2782. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2783. return record.i;
  2784. }
  2785. interceptor = $.interceptorsForUncacheableTags[altTag];
  2786. if (interceptor != null)
  2787. return interceptor;
  2788. interceptorClass = init.interceptorsByTag[altTag];
  2789. tag = altTag;
  2790. }
  2791. }
  2792. if (interceptorClass == null)
  2793. return null;
  2794. interceptor = interceptorClass.prototype;
  2795. mark = tag[0];
  2796. if (mark === "!") {
  2797. record = A.makeLeafDispatchRecord(interceptor);
  2798. $.dispatchRecordsForInstanceTags[tag] = record;
  2799. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2800. return record.i;
  2801. }
  2802. if (mark === "~") {
  2803. $.interceptorsForUncacheableTags[tag] = interceptor;
  2804. return interceptor;
  2805. }
  2806. if (mark === "-") {
  2807. t1 = A.makeLeafDispatchRecord(interceptor);
  2808. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  2809. return t1.i;
  2810. }
  2811. if (mark === "+")
  2812. return A.patchInteriorProto(obj, interceptor);
  2813. if (mark === "*")
  2814. throw A.wrapException(A.UnimplementedError$(tag));
  2815. if (init.leafTags[tag] === true) {
  2816. t1 = A.makeLeafDispatchRecord(interceptor);
  2817. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  2818. return t1.i;
  2819. } else
  2820. return A.patchInteriorProto(obj, interceptor);
  2821. },
  2822. patchInteriorProto(obj, interceptor) {
  2823. var proto = Object.getPrototypeOf(obj);
  2824. Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
  2825. return interceptor;
  2826. },
  2827. makeLeafDispatchRecord(interceptor) {
  2828. return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
  2829. },
  2830. makeDefaultDispatchRecord(tag, interceptorClass, proto) {
  2831. var interceptor = interceptorClass.prototype;
  2832. if (init.leafTags[tag] === true)
  2833. return A.makeLeafDispatchRecord(interceptor);
  2834. else
  2835. return J.makeDispatchRecord(interceptor, proto, null, null);
  2836. },
  2837. initNativeDispatch() {
  2838. if (true === $.initNativeDispatchFlag)
  2839. return;
  2840. $.initNativeDispatchFlag = true;
  2841. A.initNativeDispatchContinue();
  2842. },
  2843. initNativeDispatchContinue() {
  2844. var map, tags, fun, i, tag, proto, record, interceptorClass;
  2845. $.dispatchRecordsForInstanceTags = Object.create(null);
  2846. $.interceptorsForUncacheableTags = Object.create(null);
  2847. A.initHooks();
  2848. map = init.interceptorsByTag;
  2849. tags = Object.getOwnPropertyNames(map);
  2850. if (typeof window != "undefined") {
  2851. window;
  2852. fun = function() {
  2853. };
  2854. for (i = 0; i < tags.length; ++i) {
  2855. tag = tags[i];
  2856. proto = $.prototypeForTagFunction.call$1(tag);
  2857. if (proto != null) {
  2858. record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
  2859. if (record != null) {
  2860. Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2861. fun.prototype = proto;
  2862. }
  2863. }
  2864. }
  2865. }
  2866. for (i = 0; i < tags.length; ++i) {
  2867. tag = tags[i];
  2868. if (/^[A-Za-z_]/.test(tag)) {
  2869. interceptorClass = map[tag];
  2870. map["!" + tag] = interceptorClass;
  2871. map["~" + tag] = interceptorClass;
  2872. map["-" + tag] = interceptorClass;
  2873. map["+" + tag] = interceptorClass;
  2874. map["*" + tag] = interceptorClass;
  2875. }
  2876. }
  2877. },
  2878. initHooks() {
  2879. var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
  2880. hooks = B.C_JS_CONST0();
  2881. 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)))))));
  2882. if (typeof dartNativeDispatchHooksTransformer != "undefined") {
  2883. transformers = dartNativeDispatchHooksTransformer;
  2884. if (typeof transformers == "function")
  2885. transformers = [transformers];
  2886. if (Array.isArray(transformers))
  2887. for (i = 0; i < transformers.length; ++i) {
  2888. transformer = transformers[i];
  2889. if (typeof transformer == "function")
  2890. hooks = transformer(hooks) || hooks;
  2891. }
  2892. }
  2893. getTag = hooks.getTag;
  2894. getUnknownTag = hooks.getUnknownTag;
  2895. prototypeForTag = hooks.prototypeForTag;
  2896. $.getTagFunction = new A.initHooks_closure(getTag);
  2897. $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
  2898. $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
  2899. },
  2900. applyHooksTransformer(transformer, hooks) {
  2901. return transformer(hooks) || hooks;
  2902. },
  2903. _RecordN__equalValues(a, b) {
  2904. var i;
  2905. for (i = 0; i < a.length; ++i)
  2906. if (!J.$eq$(a[i], b[i]))
  2907. return false;
  2908. return true;
  2909. },
  2910. createRecordTypePredicate(shape, fieldRtis) {
  2911. var $length = fieldRtis.length,
  2912. $function = init.rttc["" + $length + ";" + shape];
  2913. if ($function == null)
  2914. return null;
  2915. if ($length === 0)
  2916. return $function;
  2917. if ($length === $function.length)
  2918. return $function.apply(null, fieldRtis);
  2919. return $function(fieldRtis);
  2920. },
  2921. JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) {
  2922. var m = multiLine ? "m" : "",
  2923. i = caseSensitive ? "" : "i",
  2924. u = unicode ? "u" : "",
  2925. s = dotAll ? "s" : "",
  2926. g = global ? "g" : "",
  2927. regexp = function(source, modifiers) {
  2928. try {
  2929. return new RegExp(source, modifiers);
  2930. } catch (e) {
  2931. return e;
  2932. }
  2933. }(source, m + i + u + s + g);
  2934. if (regexp instanceof RegExp)
  2935. return regexp;
  2936. throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
  2937. },
  2938. stringContainsUnchecked(receiver, other, startIndex) {
  2939. var t1;
  2940. if (typeof other == "string")
  2941. return receiver.indexOf(other, startIndex) >= 0;
  2942. else if (other instanceof A.JSSyntaxRegExp) {
  2943. t1 = B.JSString_methods.substring$1(receiver, startIndex);
  2944. return other._nativeRegExp.test(t1);
  2945. } else
  2946. return !J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex)).get$isEmpty(0);
  2947. },
  2948. escapeReplacement(replacement) {
  2949. if (replacement.indexOf("$", 0) >= 0)
  2950. return replacement.replace(/\$/g, "$$$$");
  2951. return replacement;
  2952. },
  2953. stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
  2954. var match = regexp._execGlobal$2(receiver, startIndex);
  2955. if (match == null)
  2956. return receiver;
  2957. return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(0), replacement);
  2958. },
  2959. quoteStringForRegExp(string) {
  2960. if (/[[\]{}()*+?.\\^$|]/.test(string))
  2961. return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
  2962. return string;
  2963. },
  2964. stringReplaceAllUnchecked(receiver, pattern, replacement) {
  2965. var nativeRegexp;
  2966. if (typeof pattern == "string")
  2967. return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
  2968. if (pattern instanceof A.JSSyntaxRegExp) {
  2969. nativeRegexp = pattern.get$_nativeGlobalVersion();
  2970. nativeRegexp.lastIndex = 0;
  2971. return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
  2972. }
  2973. return A.stringReplaceAllGeneral(receiver, pattern, replacement);
  2974. },
  2975. stringReplaceAllGeneral(receiver, pattern, replacement) {
  2976. var t1, startIndex, t2, match;
  2977. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) {
  2978. match = t1.get$current(t1);
  2979. t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement;
  2980. startIndex = match.get$end(match);
  2981. }
  2982. t1 = t2 + receiver.substring(startIndex);
  2983. return t1.charCodeAt(0) == 0 ? t1 : t1;
  2984. },
  2985. stringReplaceAllUncheckedString(receiver, pattern, replacement) {
  2986. var $length, t1, i;
  2987. if (pattern === "") {
  2988. if (receiver === "")
  2989. return replacement;
  2990. $length = receiver.length;
  2991. t1 = "" + replacement;
  2992. for (i = 0; i < $length; ++i)
  2993. t1 = t1 + receiver[i] + replacement;
  2994. return t1.charCodeAt(0) == 0 ? t1 : t1;
  2995. }
  2996. if (receiver.indexOf(pattern, 0) < 0)
  2997. return receiver;
  2998. if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
  2999. return receiver.split(pattern).join(replacement);
  3000. return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
  3001. },
  3002. stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
  3003. var index, t1, matches, match;
  3004. if (typeof pattern == "string") {
  3005. index = receiver.indexOf(pattern, startIndex);
  3006. if (index < 0)
  3007. return receiver;
  3008. return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
  3009. }
  3010. if (pattern instanceof A.JSSyntaxRegExp)
  3011. return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
  3012. t1 = J.allMatches$2$s(pattern, receiver, startIndex);
  3013. matches = t1.get$iterator(t1);
  3014. if (!matches.moveNext$0())
  3015. return receiver;
  3016. match = matches.get$current(matches);
  3017. return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
  3018. },
  3019. stringReplaceRangeUnchecked(receiver, start, end, replacement) {
  3020. return receiver.substring(0, start) + replacement + receiver.substring(end);
  3021. },
  3022. _Record_1: function _Record_1(t0) {
  3023. this._0 = t0;
  3024. },
  3025. _Record_2: function _Record_2(t0, t1) {
  3026. this._0 = t0;
  3027. this._1 = t1;
  3028. },
  3029. _Record_2_forImport: function _Record_2_forImport(t0, t1) {
  3030. this._0 = t0;
  3031. this._1 = t1;
  3032. },
  3033. _Record_2_imports_modules: function _Record_2_imports_modules(t0, t1) {
  3034. this._0 = t0;
  3035. this._1 = t1;
  3036. },
  3037. _Record_2_loadedUrls_stylesheet: function _Record_2_loadedUrls_stylesheet(t0, t1) {
  3038. this._0 = t0;
  3039. this._1 = t1;
  3040. },
  3041. _Record_2_sourceMap: function _Record_2_sourceMap(t0, t1) {
  3042. this._0 = t0;
  3043. this._1 = t1;
  3044. },
  3045. _Record_3: function _Record_3(t0, t1, t2) {
  3046. this._0 = t0;
  3047. this._1 = t1;
  3048. this._2 = t2;
  3049. },
  3050. _Record_3_deprecation_message_span: function _Record_3_deprecation_message_span(t0, t1, t2) {
  3051. this._0 = t0;
  3052. this._1 = t1;
  3053. this._2 = t2;
  3054. },
  3055. _Record_3_forImport: function _Record_3_forImport(t0, t1, t2) {
  3056. this._0 = t0;
  3057. this._1 = t1;
  3058. this._2 = t2;
  3059. },
  3060. _Record_3_importer_isDependency: function _Record_3_importer_isDependency(t0, t1, t2) {
  3061. this._0 = t0;
  3062. this._1 = t1;
  3063. this._2 = t2;
  3064. },
  3065. _Record_3_originalUrl: function _Record_3_originalUrl(t0, t1, t2) {
  3066. this._0 = t0;
  3067. this._1 = t1;
  3068. this._2 = t2;
  3069. },
  3070. _Record_5_named_namedNodes_positional_positionalNodes_separator: function _Record_5_named_namedNodes_positional_positionalNodes_separator(t0) {
  3071. this._values = t0;
  3072. },
  3073. ConstantMapView: function ConstantMapView(t0, t1) {
  3074. this._map = t0;
  3075. this.$ti = t1;
  3076. },
  3077. ConstantMap: function ConstantMap() {
  3078. },
  3079. ConstantStringMap: function ConstantStringMap(t0, t1, t2) {
  3080. this._jsIndex = t0;
  3081. this._values = t1;
  3082. this.$ti = t2;
  3083. },
  3084. _KeysOrValues: function _KeysOrValues(t0, t1) {
  3085. this._elements = t0;
  3086. this.$ti = t1;
  3087. },
  3088. _KeysOrValuesOrElementsIterator: function _KeysOrValuesOrElementsIterator(t0, t1, t2) {
  3089. var _ = this;
  3090. _._elements = t0;
  3091. _.__js_helper$_length = t1;
  3092. _.__js_helper$_index = 0;
  3093. _.__js_helper$_current = null;
  3094. _.$ti = t2;
  3095. },
  3096. ConstantSet: function ConstantSet() {
  3097. },
  3098. ConstantStringSet: function ConstantStringSet(t0, t1, t2) {
  3099. this._jsIndex = t0;
  3100. this.__js_helper$_length = t1;
  3101. this.$ti = t2;
  3102. },
  3103. GeneralConstantSet: function GeneralConstantSet(t0, t1) {
  3104. this._elements = t0;
  3105. this.$ti = t1;
  3106. },
  3107. Instantiation: function Instantiation() {
  3108. },
  3109. Instantiation1: function Instantiation1(t0, t1) {
  3110. this._genericClosure = t0;
  3111. this.$ti = t1;
  3112. },
  3113. JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
  3114. var _ = this;
  3115. _.__js_helper$_memberName = t0;
  3116. _.__js_helper$_kind = t1;
  3117. _._arguments = t2;
  3118. _._namedArgumentNames = t3;
  3119. _._typeArgumentCount = t4;
  3120. },
  3121. Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
  3122. this._box_0 = t0;
  3123. this.namedArgumentList = t1;
  3124. this.$arguments = t2;
  3125. },
  3126. TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
  3127. var _ = this;
  3128. _._pattern = t0;
  3129. _._arguments = t1;
  3130. _._argumentsExpr = t2;
  3131. _._expr = t3;
  3132. _._method = t4;
  3133. _._receiver = t5;
  3134. },
  3135. NullError: function NullError() {
  3136. },
  3137. JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
  3138. this.__js_helper$_message = t0;
  3139. this._method = t1;
  3140. this._receiver = t2;
  3141. },
  3142. UnknownJsTypeError: function UnknownJsTypeError(t0) {
  3143. this.__js_helper$_message = t0;
  3144. },
  3145. NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
  3146. this._irritant = t0;
  3147. },
  3148. ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
  3149. this.dartException = t0;
  3150. this.stackTrace = t1;
  3151. },
  3152. _StackTrace: function _StackTrace(t0) {
  3153. this._exception = t0;
  3154. this._trace = null;
  3155. },
  3156. Closure: function Closure() {
  3157. },
  3158. Closure0Args: function Closure0Args() {
  3159. },
  3160. Closure2Args: function Closure2Args() {
  3161. },
  3162. TearOffClosure: function TearOffClosure() {
  3163. },
  3164. StaticClosure: function StaticClosure() {
  3165. },
  3166. BoundClosure: function BoundClosure(t0, t1) {
  3167. this._receiver = t0;
  3168. this._interceptor = t1;
  3169. },
  3170. _CyclicInitializationError: function _CyclicInitializationError(t0) {
  3171. this.variableName = t0;
  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. _.__js_helper$_last = _.__js_helper$_first = _.__js_helper$_rest = _.__js_helper$_nums = _.__js_helper$_strings = null;
  3182. _.__js_helper$_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. _.__js_helper$_previous = _.__js_helper$_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. _.__js_helper$_modifications = t1;
  3202. _.__js_helper$_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. _.__js_helper$_modifications = t1;
  3213. _.__js_helper$_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. _.__js_helper$_modifications = t1;
  3224. _.__js_helper$_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. _.__js_helper$_last = _.__js_helper$_first = _.__js_helper$_rest = _.__js_helper$_nums = _.__js_helper$_strings = null;
  3232. _.__js_helper$_modifications = 0;
  3233. _.$ti = t0;
  3234. },
  3235. JsConstantLinkedHashMap: function JsConstantLinkedHashMap(t0) {
  3236. var _ = this;
  3237. _.__js_helper$_length = 0;
  3238. _.__js_helper$_last = _.__js_helper$_first = _.__js_helper$_rest = _.__js_helper$_nums = _.__js_helper$_strings = null;
  3239. _.__js_helper$_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. _._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. A.throwExpressionWithWrapper(new A.LateError("Field '" + fieldName + "' has been assigned during initialization."), new Error());
  3300. },
  3301. throwUnnamedLateFieldNI() {
  3302. A.throwExpressionWithWrapper(new A.LateError("Field '' has not been initialized."), new Error());
  3303. },
  3304. throwUnnamedLateFieldAI() {
  3305. A.throwExpressionWithWrapper(new A.LateError("Field '' has already been initialized."), new Error());
  3306. },
  3307. throwUnnamedLateFieldADI() {
  3308. A.throwExpressionWithWrapper(new A.LateError("Field '' has been assigned during initialization."), 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__getQuestionFromStar(universe, rti) {
  3387. var question = rti._precomputed1;
  3388. return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question;
  3389. },
  3390. Rti__getFutureFromFutureOr(universe, rti) {
  3391. var future = rti._precomputed1;
  3392. return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
  3393. },
  3394. Rti__isUnionOfFunctionType(rti) {
  3395. var kind = rti._kind;
  3396. if (kind === 6 || kind === 7 || kind === 8)
  3397. return A.Rti__isUnionOfFunctionType(rti._primary);
  3398. return kind === 12 || kind === 13;
  3399. },
  3400. Rti__getCanonicalRecipe(rti) {
  3401. return rti._canonicalRecipe;
  3402. },
  3403. pairwiseIsTest(fieldRtis, values) {
  3404. var i,
  3405. $length = values.length;
  3406. for (i = 0; i < $length; ++i)
  3407. if (!fieldRtis[i]._is(values[i]))
  3408. return false;
  3409. return true;
  3410. },
  3411. findType(recipe) {
  3412. return A._Universe_eval(init.typeUniverse, recipe, false);
  3413. },
  3414. instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
  3415. var t1, cache, key, probe, rti;
  3416. if (genericFunctionRti == null)
  3417. return null;
  3418. t1 = instantiationRti._rest;
  3419. cache = genericFunctionRti._bindCache;
  3420. if (cache == null)
  3421. cache = genericFunctionRti._bindCache = new Map();
  3422. key = instantiationRti._canonicalRecipe;
  3423. probe = cache.get(key);
  3424. if (probe != null)
  3425. return probe;
  3426. rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
  3427. cache.set(key, rti);
  3428. return rti;
  3429. },
  3430. _substitute(universe, rti, typeArguments, depth) {
  3431. var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, t1, fields, substitutedFields, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
  3432. kind = rti._kind;
  3433. switch (kind) {
  3434. case 5:
  3435. case 1:
  3436. case 2:
  3437. case 3:
  3438. case 4:
  3439. return rti;
  3440. case 6:
  3441. baseType = rti._primary;
  3442. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3443. if (substitutedBaseType === baseType)
  3444. return rti;
  3445. return A._Universe__lookupStarRti(universe, substitutedBaseType, true);
  3446. case 7:
  3447. baseType = rti._primary;
  3448. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3449. if (substitutedBaseType === baseType)
  3450. return rti;
  3451. return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
  3452. case 8:
  3453. baseType = rti._primary;
  3454. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3455. if (substitutedBaseType === baseType)
  3456. return rti;
  3457. return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
  3458. case 9:
  3459. interfaceTypeArguments = rti._rest;
  3460. substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
  3461. if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
  3462. return rti;
  3463. return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
  3464. case 10:
  3465. base = rti._primary;
  3466. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  3467. $arguments = rti._rest;
  3468. substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
  3469. if (substitutedBase === base && substitutedArguments === $arguments)
  3470. return rti;
  3471. return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
  3472. case 11:
  3473. t1 = rti._primary;
  3474. fields = rti._rest;
  3475. substitutedFields = A._substituteArray(universe, fields, typeArguments, depth);
  3476. if (substitutedFields === fields)
  3477. return rti;
  3478. return A._Universe__lookupRecordRti(universe, t1, substitutedFields);
  3479. case 12:
  3480. returnType = rti._primary;
  3481. substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
  3482. functionParameters = rti._rest;
  3483. substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
  3484. if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
  3485. return rti;
  3486. return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
  3487. case 13:
  3488. bounds = rti._rest;
  3489. depth += bounds.length;
  3490. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
  3491. base = rti._primary;
  3492. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  3493. if (substitutedBounds === bounds && substitutedBase === base)
  3494. return rti;
  3495. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
  3496. case 14:
  3497. index = rti._primary;
  3498. if (index < depth)
  3499. return rti;
  3500. argument = typeArguments[index - depth];
  3501. if (argument == null)
  3502. return rti;
  3503. return argument;
  3504. default:
  3505. throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
  3506. }
  3507. },
  3508. _substituteArray(universe, rtiArray, typeArguments, depth) {
  3509. var changed, i, rti, substitutedRti,
  3510. $length = rtiArray.length,
  3511. result = A._Utils_newArrayOrEmpty($length);
  3512. for (changed = false, i = 0; i < $length; ++i) {
  3513. rti = rtiArray[i];
  3514. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  3515. if (substitutedRti !== rti)
  3516. changed = true;
  3517. result[i] = substitutedRti;
  3518. }
  3519. return changed ? result : rtiArray;
  3520. },
  3521. _substituteNamed(universe, namedArray, typeArguments, depth) {
  3522. var changed, i, t1, t2, rti, substitutedRti,
  3523. $length = namedArray.length,
  3524. result = A._Utils_newArrayOrEmpty($length);
  3525. for (changed = false, i = 0; i < $length; i += 3) {
  3526. t1 = namedArray[i];
  3527. t2 = namedArray[i + 1];
  3528. rti = namedArray[i + 2];
  3529. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  3530. if (substitutedRti !== rti)
  3531. changed = true;
  3532. result.splice(i, 3, t1, t2, substitutedRti);
  3533. }
  3534. return changed ? result : namedArray;
  3535. },
  3536. _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
  3537. var result,
  3538. requiredPositional = functionParameters._requiredPositional,
  3539. substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
  3540. optionalPositional = functionParameters._optionalPositional,
  3541. substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
  3542. named = functionParameters._named,
  3543. substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
  3544. if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
  3545. return functionParameters;
  3546. result = new A._FunctionParameters();
  3547. result._requiredPositional = substitutedRequiredPositional;
  3548. result._optionalPositional = substitutedOptionalPositional;
  3549. result._named = substitutedNamed;
  3550. return result;
  3551. },
  3552. _setArrayType(target, rti) {
  3553. target[init.arrayRti] = rti;
  3554. return target;
  3555. },
  3556. closureFunctionType(closure) {
  3557. var signature = closure.$signature;
  3558. if (signature != null) {
  3559. if (typeof signature == "number")
  3560. return A.getTypeFromTypesTable(signature);
  3561. return closure.$signature();
  3562. }
  3563. return null;
  3564. },
  3565. instanceOrFunctionType(object, testRti) {
  3566. var rti;
  3567. if (A.Rti__isUnionOfFunctionType(testRti))
  3568. if (object instanceof A.Closure) {
  3569. rti = A.closureFunctionType(object);
  3570. if (rti != null)
  3571. return rti;
  3572. }
  3573. return A.instanceType(object);
  3574. },
  3575. instanceType(object) {
  3576. if (object instanceof A.Object)
  3577. return A._instanceType(object);
  3578. if (Array.isArray(object))
  3579. return A._arrayInstanceType(object);
  3580. return A._instanceTypeFromConstructor(J.getInterceptor$(object));
  3581. },
  3582. _arrayInstanceType(object) {
  3583. var rti = object[init.arrayRti],
  3584. defaultRti = type$.JSArray_dynamic;
  3585. if (rti == null)
  3586. return defaultRti;
  3587. if (rti.constructor !== defaultRti.constructor)
  3588. return defaultRti;
  3589. return rti;
  3590. },
  3591. _instanceType(object) {
  3592. var rti = object.$ti;
  3593. return rti != null ? rti : A._instanceTypeFromConstructor(object);
  3594. },
  3595. _instanceTypeFromConstructor(instance) {
  3596. var $constructor = instance.constructor,
  3597. probe = $constructor.$ccache;
  3598. if (probe != null)
  3599. return probe;
  3600. return A._instanceTypeFromConstructorMiss(instance, $constructor);
  3601. },
  3602. _instanceTypeFromConstructorMiss(instance, $constructor) {
  3603. var effectiveConstructor = instance instanceof A.Closure ? Object.getPrototypeOf(Object.getPrototypeOf(instance)).constructor : $constructor,
  3604. rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
  3605. $constructor.$ccache = rti;
  3606. return rti;
  3607. },
  3608. getTypeFromTypesTable(index) {
  3609. var rti,
  3610. table = init.types,
  3611. type = table[index];
  3612. if (typeof type == "string") {
  3613. rti = A._Universe_eval(init.typeUniverse, type, false);
  3614. table[index] = rti;
  3615. return rti;
  3616. }
  3617. return type;
  3618. },
  3619. getRuntimeTypeOfDartObject(object) {
  3620. return A.createRuntimeType(A._instanceType(object));
  3621. },
  3622. getRuntimeTypeOfClosure(closure) {
  3623. var rti = A.closureFunctionType(closure);
  3624. return A.createRuntimeType(rti == null ? A.instanceType(closure) : rti);
  3625. },
  3626. _structuralTypeOf(object) {
  3627. var functionRti;
  3628. if (object instanceof A._Record)
  3629. return A.evaluateRtiForRecord(object.$recipe, object._getFieldValues$0());
  3630. functionRti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
  3631. if (functionRti != null)
  3632. return functionRti;
  3633. if (type$.TrustedGetRuntimeType._is(object))
  3634. return J.get$runtimeType$(object)._rti;
  3635. if (Array.isArray(object))
  3636. return A._arrayInstanceType(object);
  3637. return A.instanceType(object);
  3638. },
  3639. createRuntimeType(rti) {
  3640. var t1 = rti._cachedRuntimeType;
  3641. return t1 == null ? rti._cachedRuntimeType = A._createRuntimeType(rti) : t1;
  3642. },
  3643. _createRuntimeType(rti) {
  3644. var starErasedRti, t1,
  3645. s = rti._canonicalRecipe,
  3646. starErasedRecipe = s.replace(/\*/g, "");
  3647. if (starErasedRecipe === s)
  3648. return rti._cachedRuntimeType = new A._Type(rti);
  3649. starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true);
  3650. t1 = starErasedRti._cachedRuntimeType;
  3651. return t1 == null ? starErasedRti._cachedRuntimeType = A._createRuntimeType(starErasedRti) : t1;
  3652. },
  3653. evaluateRtiForRecord(recordRecipe, valuesList) {
  3654. var bindings, i,
  3655. values = valuesList,
  3656. $length = values.length;
  3657. if ($length === 0)
  3658. return type$.Record_0;
  3659. bindings = A._Universe_evalInEnvironment(init.typeUniverse, A._structuralTypeOf(values[0]), "@<0>");
  3660. for (i = 1; i < $length; ++i)
  3661. bindings = A._Universe_bind(init.typeUniverse, bindings, A._structuralTypeOf(values[i]));
  3662. return A._Universe_evalInEnvironment(init.typeUniverse, bindings, recordRecipe);
  3663. },
  3664. typeLiteral(recipe) {
  3665. return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
  3666. },
  3667. _installSpecializedIsTest(object) {
  3668. var t1, unstarred, unstarredKind, isFn, $name, predicate, testRti = this;
  3669. if (testRti === type$.Object)
  3670. return A._finishIsFn(testRti, object, A._isObject);
  3671. if (!A.isSoundTopType(testRti))
  3672. t1 = testRti === type$.legacy_Object;
  3673. else
  3674. t1 = true;
  3675. if (t1)
  3676. return A._finishIsFn(testRti, object, A._isTop);
  3677. t1 = testRti._kind;
  3678. if (t1 === 7)
  3679. return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation);
  3680. if (t1 === 1)
  3681. return A._finishIsFn(testRti, object, A._isNever);
  3682. unstarred = t1 === 6 ? testRti._primary : testRti;
  3683. unstarredKind = unstarred._kind;
  3684. if (unstarredKind === 8)
  3685. return A._finishIsFn(testRti, object, A._isFutureOr);
  3686. if (unstarred === type$.int)
  3687. isFn = A._isInt;
  3688. else if (unstarred === type$.double || unstarred === type$.num)
  3689. isFn = A._isNum;
  3690. else if (unstarred === type$.String)
  3691. isFn = A._isString;
  3692. else
  3693. isFn = unstarred === type$.bool ? A._isBool : null;
  3694. if (isFn != null)
  3695. return A._finishIsFn(testRti, object, isFn);
  3696. if (unstarredKind === 9) {
  3697. $name = unstarred._primary;
  3698. if (unstarred._rest.every(A.isDefinitelyTopType)) {
  3699. testRti._specializedTestResource = "$is" + $name;
  3700. if ($name === "List")
  3701. return A._finishIsFn(testRti, object, A._isListTestViaProperty);
  3702. return A._finishIsFn(testRti, object, A._isTestViaProperty);
  3703. }
  3704. } else if (unstarredKind === 11) {
  3705. predicate = A.createRecordTypePredicate(unstarred._primary, unstarred._rest);
  3706. return A._finishIsFn(testRti, object, predicate == null ? A._isNever : predicate);
  3707. }
  3708. return A._finishIsFn(testRti, object, A._generalIsTestImplementation);
  3709. },
  3710. _finishIsFn(testRti, object, isFn) {
  3711. testRti._is = isFn;
  3712. return testRti._is(object);
  3713. },
  3714. _installSpecializedAsCheck(object) {
  3715. var t1, testRti = this,
  3716. asFn = A._generalAsCheckImplementation;
  3717. if (!A.isSoundTopType(testRti))
  3718. t1 = testRti === type$.legacy_Object;
  3719. else
  3720. t1 = true;
  3721. if (t1)
  3722. asFn = A._asTop;
  3723. else if (testRti === type$.Object)
  3724. asFn = A._asObject;
  3725. else {
  3726. t1 = A.isNullable(testRti);
  3727. if (t1)
  3728. asFn = A._generalNullableAsCheckImplementation;
  3729. }
  3730. testRti._as = asFn;
  3731. return testRti._as(object);
  3732. },
  3733. _nullIs(testRti) {
  3734. var kind = testRti._kind,
  3735. t1 = true;
  3736. if (!A.isSoundTopType(testRti))
  3737. if (!(testRti === type$.legacy_Object))
  3738. if (!(testRti === type$.legacy_Never))
  3739. if (kind !== 7)
  3740. if (!(kind === 6 && A._nullIs(testRti._primary)))
  3741. t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull;
  3742. return t1;
  3743. },
  3744. _generalIsTestImplementation(object) {
  3745. var testRti = this;
  3746. if (object == null)
  3747. return A._nullIs(testRti);
  3748. return A.isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), testRti);
  3749. },
  3750. _generalNullableIsTestImplementation(object) {
  3751. if (object == null)
  3752. return true;
  3753. return this._primary._is(object);
  3754. },
  3755. _isTestViaProperty(object) {
  3756. var tag, testRti = this;
  3757. if (object == null)
  3758. return A._nullIs(testRti);
  3759. tag = testRti._specializedTestResource;
  3760. if (object instanceof A.Object)
  3761. return !!object[tag];
  3762. return !!J.getInterceptor$(object)[tag];
  3763. },
  3764. _isListTestViaProperty(object) {
  3765. var tag, testRti = this;
  3766. if (object == null)
  3767. return A._nullIs(testRti);
  3768. if (typeof object != "object")
  3769. return false;
  3770. if (Array.isArray(object))
  3771. return true;
  3772. tag = testRti._specializedTestResource;
  3773. if (object instanceof A.Object)
  3774. return !!object[tag];
  3775. return !!J.getInterceptor$(object)[tag];
  3776. },
  3777. _generalAsCheckImplementation(object) {
  3778. var testRti = this;
  3779. if (object == null) {
  3780. if (A.isNullable(testRti))
  3781. return object;
  3782. } else if (testRti._is(object))
  3783. return object;
  3784. A._failedAsCheck(object, testRti);
  3785. },
  3786. _generalNullableAsCheckImplementation(object) {
  3787. var testRti = this;
  3788. if (object == null)
  3789. return object;
  3790. else if (testRti._is(object))
  3791. return object;
  3792. A._failedAsCheck(object, testRti);
  3793. },
  3794. _failedAsCheck(object, testRti) {
  3795. throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A._rtiToString(testRti, null))));
  3796. },
  3797. _Error_compose(object, checkedTypeDescription) {
  3798. return A.Error_safeToString(object) + ": type '" + A._rtiToString(A._structuralTypeOf(object), null) + "' is not a subtype of type '" + checkedTypeDescription + "'";
  3799. },
  3800. _TypeError$fromMessage(message) {
  3801. return new A._TypeError("TypeError: " + message);
  3802. },
  3803. _TypeError__TypeError$forType(object, type) {
  3804. return new A._TypeError("TypeError: " + A._Error_compose(object, type));
  3805. },
  3806. _isFutureOr(object) {
  3807. var testRti = this,
  3808. unstarred = testRti._kind === 6 ? testRti._primary : testRti;
  3809. return unstarred._primary._is(object) || A.Rti__getFutureFromFutureOr(init.typeUniverse, unstarred)._is(object);
  3810. },
  3811. _isObject(object) {
  3812. return object != null;
  3813. },
  3814. _asObject(object) {
  3815. if (object != null)
  3816. return object;
  3817. throw A.wrapException(A._TypeError__TypeError$forType(object, "Object"));
  3818. },
  3819. _isTop(object) {
  3820. return true;
  3821. },
  3822. _asTop(object) {
  3823. return object;
  3824. },
  3825. _isNever(object) {
  3826. return false;
  3827. },
  3828. _isBool(object) {
  3829. return true === object || false === object;
  3830. },
  3831. _asBool(object) {
  3832. if (true === object)
  3833. return true;
  3834. if (false === object)
  3835. return false;
  3836. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  3837. },
  3838. _asBoolS(object) {
  3839. if (true === object)
  3840. return true;
  3841. if (false === object)
  3842. return false;
  3843. if (object == null)
  3844. return object;
  3845. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  3846. },
  3847. _asBoolQ(object) {
  3848. if (true === object)
  3849. return true;
  3850. if (false === object)
  3851. return false;
  3852. if (object == null)
  3853. return object;
  3854. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool?"));
  3855. },
  3856. _asDouble(object) {
  3857. if (typeof object == "number")
  3858. return object;
  3859. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  3860. },
  3861. _asDoubleS(object) {
  3862. if (typeof object == "number")
  3863. return object;
  3864. if (object == null)
  3865. return object;
  3866. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  3867. },
  3868. _asDoubleQ(object) {
  3869. if (typeof object == "number")
  3870. return object;
  3871. if (object == null)
  3872. return object;
  3873. throw A.wrapException(A._TypeError__TypeError$forType(object, "double?"));
  3874. },
  3875. _isInt(object) {
  3876. return typeof object == "number" && Math.floor(object) === object;
  3877. },
  3878. _asInt(object) {
  3879. if (typeof object == "number" && Math.floor(object) === object)
  3880. return object;
  3881. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  3882. },
  3883. _asIntS(object) {
  3884. if (typeof object == "number" && Math.floor(object) === object)
  3885. return object;
  3886. if (object == null)
  3887. return object;
  3888. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  3889. },
  3890. _asIntQ(object) {
  3891. if (typeof object == "number" && Math.floor(object) === object)
  3892. return object;
  3893. if (object == null)
  3894. return object;
  3895. throw A.wrapException(A._TypeError__TypeError$forType(object, "int?"));
  3896. },
  3897. _isNum(object) {
  3898. return typeof object == "number";
  3899. },
  3900. _asNum(object) {
  3901. if (typeof object == "number")
  3902. return object;
  3903. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  3904. },
  3905. _asNumS(object) {
  3906. if (typeof object == "number")
  3907. return object;
  3908. if (object == null)
  3909. return object;
  3910. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  3911. },
  3912. _asNumQ(object) {
  3913. if (typeof object == "number")
  3914. return object;
  3915. if (object == null)
  3916. return object;
  3917. throw A.wrapException(A._TypeError__TypeError$forType(object, "num?"));
  3918. },
  3919. _isString(object) {
  3920. return typeof object == "string";
  3921. },
  3922. _asString(object) {
  3923. if (typeof object == "string")
  3924. return object;
  3925. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  3926. },
  3927. _asStringS(object) {
  3928. if (typeof object == "string")
  3929. return object;
  3930. if (object == null)
  3931. return object;
  3932. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  3933. },
  3934. _asStringQ(object) {
  3935. if (typeof object == "string")
  3936. return object;
  3937. if (object == null)
  3938. return object;
  3939. throw A.wrapException(A._TypeError__TypeError$forType(object, "String?"));
  3940. },
  3941. _rtiArrayToString(array, genericContext) {
  3942. var s, sep, i;
  3943. for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
  3944. s += sep + A._rtiToString(array[i], genericContext);
  3945. return s;
  3946. },
  3947. _recordRtiToString(recordType, genericContext) {
  3948. var fieldCount, names, namesIndex, s, comma, i,
  3949. partialShape = recordType._primary,
  3950. fields = recordType._rest;
  3951. if ("" === partialShape)
  3952. return "(" + A._rtiArrayToString(fields, genericContext) + ")";
  3953. fieldCount = fields.length;
  3954. names = partialShape.split(",");
  3955. namesIndex = names.length - fieldCount;
  3956. for (s = "(", comma = "", i = 0; i < fieldCount; ++i, comma = ", ") {
  3957. s += comma;
  3958. if (namesIndex === 0)
  3959. s += "{";
  3960. s += A._rtiToString(fields[i], genericContext);
  3961. if (namesIndex >= 0)
  3962. s += " " + names[namesIndex];
  3963. ++namesIndex;
  3964. }
  3965. return s + "})";
  3966. },
  3967. _functionRtiToString(functionType, genericContext, bounds) {
  3968. var boundsLength, offset, i, t1, t2, typeParametersText, typeSep, boundRti, kind, t3, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ", outerContextLength = null;
  3969. if (bounds != null) {
  3970. boundsLength = bounds.length;
  3971. if (genericContext == null)
  3972. genericContext = A._setArrayType([], type$.JSArray_String);
  3973. else
  3974. outerContextLength = genericContext.length;
  3975. offset = genericContext.length;
  3976. for (i = boundsLength; i > 0; --i)
  3977. genericContext.push("T" + (offset + i));
  3978. for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
  3979. typeParametersText = typeParametersText + typeSep + genericContext[genericContext.length - 1 - i];
  3980. boundRti = bounds[i];
  3981. kind = boundRti._kind;
  3982. if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
  3983. t3 = boundRti === t2;
  3984. else
  3985. t3 = true;
  3986. if (!t3)
  3987. typeParametersText += " extends " + A._rtiToString(boundRti, genericContext);
  3988. }
  3989. typeParametersText += ">";
  3990. } else
  3991. typeParametersText = "";
  3992. t1 = functionType._primary;
  3993. parameters = functionType._rest;
  3994. requiredPositional = parameters._requiredPositional;
  3995. requiredPositionalLength = requiredPositional.length;
  3996. optionalPositional = parameters._optionalPositional;
  3997. optionalPositionalLength = optionalPositional.length;
  3998. named = parameters._named;
  3999. namedLength = named.length;
  4000. returnTypeText = A._rtiToString(t1, genericContext);
  4001. for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
  4002. argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);
  4003. if (optionalPositionalLength > 0) {
  4004. argumentsText += sep + "[";
  4005. for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
  4006. argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);
  4007. argumentsText += "]";
  4008. }
  4009. if (namedLength > 0) {
  4010. argumentsText += sep + "{";
  4011. for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
  4012. argumentsText += sep;
  4013. if (named[i + 1])
  4014. argumentsText += "required ";
  4015. argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i];
  4016. }
  4017. argumentsText += "}";
  4018. }
  4019. if (outerContextLength != null) {
  4020. genericContext.toString;
  4021. genericContext.length = outerContextLength;
  4022. }
  4023. return typeParametersText + "(" + argumentsText + ") => " + returnTypeText;
  4024. },
  4025. _rtiToString(rti, genericContext) {
  4026. var questionArgument, s, argumentKind, $name, $arguments, t1,
  4027. kind = rti._kind;
  4028. if (kind === 5)
  4029. return "erased";
  4030. if (kind === 2)
  4031. return "dynamic";
  4032. if (kind === 3)
  4033. return "void";
  4034. if (kind === 1)
  4035. return "Never";
  4036. if (kind === 4)
  4037. return "any";
  4038. if (kind === 6)
  4039. return A._rtiToString(rti._primary, genericContext);
  4040. if (kind === 7) {
  4041. questionArgument = rti._primary;
  4042. s = A._rtiToString(questionArgument, genericContext);
  4043. argumentKind = questionArgument._kind;
  4044. return (argumentKind === 12 || argumentKind === 13 ? "(" + s + ")" : s) + "?";
  4045. }
  4046. if (kind === 8)
  4047. return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">";
  4048. if (kind === 9) {
  4049. $name = A._unminifyOrTag(rti._primary);
  4050. $arguments = rti._rest;
  4051. return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name;
  4052. }
  4053. if (kind === 11)
  4054. return A._recordRtiToString(rti, genericContext);
  4055. if (kind === 12)
  4056. return A._functionRtiToString(rti, genericContext, null);
  4057. if (kind === 13)
  4058. return A._functionRtiToString(rti._primary, genericContext, rti._rest);
  4059. if (kind === 14) {
  4060. t1 = rti._primary;
  4061. return genericContext[genericContext.length - 1 - t1];
  4062. }
  4063. return "?";
  4064. },
  4065. _unminifyOrTag(rawClassName) {
  4066. var preserved = init.mangledGlobalNames[rawClassName];
  4067. if (preserved != null)
  4068. return preserved;
  4069. return rawClassName;
  4070. },
  4071. _Universe_findRule(universe, targetType) {
  4072. var rule = universe.tR[targetType];
  4073. for (; typeof rule == "string";)
  4074. rule = universe.tR[rule];
  4075. return rule;
  4076. },
  4077. _Universe_findErasedType(universe, cls) {
  4078. var $length, erased, $arguments, i, $interface,
  4079. t1 = universe.eT,
  4080. probe = t1[cls];
  4081. if (probe == null)
  4082. return A._Universe_eval(universe, cls, false);
  4083. else if (typeof probe == "number") {
  4084. $length = probe;
  4085. erased = A._Universe__lookupTerminalRti(universe, 5, "#");
  4086. $arguments = A._Utils_newArrayOrEmpty($length);
  4087. for (i = 0; i < $length; ++i)
  4088. $arguments[i] = erased;
  4089. $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
  4090. t1[cls] = $interface;
  4091. return $interface;
  4092. } else
  4093. return probe;
  4094. },
  4095. _Universe_addRules(universe, rules) {
  4096. return A._Utils_objectAssign(universe.tR, rules);
  4097. },
  4098. _Universe_addErasedTypes(universe, types) {
  4099. return A._Utils_objectAssign(universe.eT, types);
  4100. },
  4101. _Universe_eval(universe, recipe, normalize) {
  4102. var rti,
  4103. t1 = universe.eC,
  4104. probe = t1.get(recipe);
  4105. if (probe != null)
  4106. return probe;
  4107. rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize));
  4108. t1.set(recipe, rti);
  4109. return rti;
  4110. },
  4111. _Universe_evalInEnvironment(universe, environment, recipe) {
  4112. var probe, rti,
  4113. cache = environment._evalCache;
  4114. if (cache == null)
  4115. cache = environment._evalCache = new Map();
  4116. probe = cache.get(recipe);
  4117. if (probe != null)
  4118. return probe;
  4119. rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));
  4120. cache.set(recipe, rti);
  4121. return rti;
  4122. },
  4123. _Universe_bind(universe, environment, argumentsRti) {
  4124. var argumentsRecipe, probe, rti,
  4125. cache = environment._bindCache;
  4126. if (cache == null)
  4127. cache = environment._bindCache = new Map();
  4128. argumentsRecipe = argumentsRti._canonicalRecipe;
  4129. probe = cache.get(argumentsRecipe);
  4130. if (probe != null)
  4131. return probe;
  4132. rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]);
  4133. cache.set(argumentsRecipe, rti);
  4134. return rti;
  4135. },
  4136. _Universe__installTypeTests(universe, rti) {
  4137. rti._as = A._installSpecializedAsCheck;
  4138. rti._is = A._installSpecializedIsTest;
  4139. return rti;
  4140. },
  4141. _Universe__lookupTerminalRti(universe, kind, key) {
  4142. var rti, t1,
  4143. probe = universe.eC.get(key);
  4144. if (probe != null)
  4145. return probe;
  4146. rti = new A.Rti(null, null);
  4147. rti._kind = kind;
  4148. rti._canonicalRecipe = key;
  4149. t1 = A._Universe__installTypeTests(universe, rti);
  4150. universe.eC.set(key, t1);
  4151. return t1;
  4152. },
  4153. _Universe__lookupStarRti(universe, baseType, normalize) {
  4154. var t1,
  4155. key = baseType._canonicalRecipe + "*",
  4156. probe = universe.eC.get(key);
  4157. if (probe != null)
  4158. return probe;
  4159. t1 = A._Universe__createStarRti(universe, baseType, key, normalize);
  4160. universe.eC.set(key, t1);
  4161. return t1;
  4162. },
  4163. _Universe__createStarRti(universe, baseType, key, normalize) {
  4164. var baseKind, t1, rti;
  4165. if (normalize) {
  4166. baseKind = baseType._kind;
  4167. if (!A.isSoundTopType(baseType))
  4168. t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6;
  4169. else
  4170. t1 = true;
  4171. if (t1)
  4172. return baseType;
  4173. }
  4174. rti = new A.Rti(null, null);
  4175. rti._kind = 6;
  4176. rti._primary = baseType;
  4177. rti._canonicalRecipe = key;
  4178. return A._Universe__installTypeTests(universe, rti);
  4179. },
  4180. _Universe__lookupQuestionRti(universe, baseType, normalize) {
  4181. var t1,
  4182. key = baseType._canonicalRecipe + "?",
  4183. probe = universe.eC.get(key);
  4184. if (probe != null)
  4185. return probe;
  4186. t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);
  4187. universe.eC.set(key, t1);
  4188. return t1;
  4189. },
  4190. _Universe__createQuestionRti(universe, baseType, key, normalize) {
  4191. var baseKind, t1, starArgument, rti;
  4192. if (normalize) {
  4193. baseKind = baseType._kind;
  4194. t1 = true;
  4195. if (!A.isSoundTopType(baseType))
  4196. if (!(baseType === type$.Null || baseType === type$.JSNull))
  4197. if (baseKind !== 7)
  4198. t1 = baseKind === 8 && A.isNullable(baseType._primary);
  4199. if (t1)
  4200. return baseType;
  4201. else if (baseKind === 1 || baseType === type$.legacy_Never)
  4202. return type$.Null;
  4203. else if (baseKind === 6) {
  4204. starArgument = baseType._primary;
  4205. if (starArgument._kind === 8 && A.isNullable(starArgument._primary))
  4206. return starArgument;
  4207. else
  4208. return A.Rti__getQuestionFromStar(universe, baseType);
  4209. }
  4210. }
  4211. rti = new A.Rti(null, null);
  4212. rti._kind = 7;
  4213. rti._primary = baseType;
  4214. rti._canonicalRecipe = key;
  4215. return A._Universe__installTypeTests(universe, rti);
  4216. },
  4217. _Universe__lookupFutureOrRti(universe, baseType, normalize) {
  4218. var t1,
  4219. key = baseType._canonicalRecipe + "/",
  4220. probe = universe.eC.get(key);
  4221. if (probe != null)
  4222. return probe;
  4223. t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);
  4224. universe.eC.set(key, t1);
  4225. return t1;
  4226. },
  4227. _Universe__createFutureOrRti(universe, baseType, key, normalize) {
  4228. var t1, rti;
  4229. if (normalize) {
  4230. t1 = baseType._kind;
  4231. if (A.isSoundTopType(baseType) || baseType === type$.Object || baseType === type$.legacy_Object)
  4232. return baseType;
  4233. else if (t1 === 1)
  4234. return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
  4235. else if (baseType === type$.Null || baseType === type$.JSNull)
  4236. return type$.nullable_Future_Null;
  4237. }
  4238. rti = new A.Rti(null, null);
  4239. rti._kind = 8;
  4240. rti._primary = baseType;
  4241. rti._canonicalRecipe = key;
  4242. return A._Universe__installTypeTests(universe, rti);
  4243. },
  4244. _Universe__lookupGenericFunctionParameterRti(universe, index) {
  4245. var rti, t1,
  4246. key = "" + index + "^",
  4247. probe = universe.eC.get(key);
  4248. if (probe != null)
  4249. return probe;
  4250. rti = new A.Rti(null, null);
  4251. rti._kind = 14;
  4252. rti._primary = index;
  4253. rti._canonicalRecipe = key;
  4254. t1 = A._Universe__installTypeTests(universe, rti);
  4255. universe.eC.set(key, t1);
  4256. return t1;
  4257. },
  4258. _Universe__canonicalRecipeJoin($arguments) {
  4259. var s, sep, i,
  4260. $length = $arguments.length;
  4261. for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
  4262. s += sep + $arguments[i]._canonicalRecipe;
  4263. return s;
  4264. },
  4265. _Universe__canonicalRecipeJoinNamed($arguments) {
  4266. var s, sep, i, t1, nameSep,
  4267. $length = $arguments.length;
  4268. for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
  4269. t1 = $arguments[i];
  4270. nameSep = $arguments[i + 1] ? "!" : ":";
  4271. s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe;
  4272. }
  4273. return s;
  4274. },
  4275. _Universe__lookupInterfaceRti(universe, $name, $arguments) {
  4276. var probe, rti, t1,
  4277. s = $name;
  4278. if ($arguments.length > 0)
  4279. s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
  4280. probe = universe.eC.get(s);
  4281. if (probe != null)
  4282. return probe;
  4283. rti = new A.Rti(null, null);
  4284. rti._kind = 9;
  4285. rti._primary = $name;
  4286. rti._rest = $arguments;
  4287. if ($arguments.length > 0)
  4288. rti._precomputed1 = $arguments[0];
  4289. rti._canonicalRecipe = s;
  4290. t1 = A._Universe__installTypeTests(universe, rti);
  4291. universe.eC.set(s, t1);
  4292. return t1;
  4293. },
  4294. _Universe__lookupBindingRti(universe, base, $arguments) {
  4295. var newBase, newArguments, key, probe, rti, t1;
  4296. if (base._kind === 10) {
  4297. newBase = base._primary;
  4298. newArguments = base._rest.concat($arguments);
  4299. } else {
  4300. newArguments = $arguments;
  4301. newBase = base;
  4302. }
  4303. key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
  4304. probe = universe.eC.get(key);
  4305. if (probe != null)
  4306. return probe;
  4307. rti = new A.Rti(null, null);
  4308. rti._kind = 10;
  4309. rti._primary = newBase;
  4310. rti._rest = newArguments;
  4311. rti._canonicalRecipe = key;
  4312. t1 = A._Universe__installTypeTests(universe, rti);
  4313. universe.eC.set(key, t1);
  4314. return t1;
  4315. },
  4316. _Universe__lookupRecordRti(universe, partialShapeTag, fields) {
  4317. var rti, t1,
  4318. key = "+" + (partialShapeTag + "(" + A._Universe__canonicalRecipeJoin(fields) + ")"),
  4319. probe = universe.eC.get(key);
  4320. if (probe != null)
  4321. return probe;
  4322. rti = new A.Rti(null, null);
  4323. rti._kind = 11;
  4324. rti._primary = partialShapeTag;
  4325. rti._rest = fields;
  4326. rti._canonicalRecipe = key;
  4327. t1 = A._Universe__installTypeTests(universe, rti);
  4328. universe.eC.set(key, t1);
  4329. return t1;
  4330. },
  4331. _Universe__lookupFunctionRti(universe, returnType, parameters) {
  4332. var sep, key, probe, rti, t1,
  4333. s = returnType._canonicalRecipe,
  4334. requiredPositional = parameters._requiredPositional,
  4335. requiredPositionalLength = requiredPositional.length,
  4336. optionalPositional = parameters._optionalPositional,
  4337. optionalPositionalLength = optionalPositional.length,
  4338. named = parameters._named,
  4339. namedLength = named.length,
  4340. recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
  4341. if (optionalPositionalLength > 0) {
  4342. sep = requiredPositionalLength > 0 ? "," : "";
  4343. recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]";
  4344. }
  4345. if (namedLength > 0) {
  4346. sep = requiredPositionalLength > 0 ? "," : "";
  4347. recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}";
  4348. }
  4349. key = s + (recipe + ")");
  4350. probe = universe.eC.get(key);
  4351. if (probe != null)
  4352. return probe;
  4353. rti = new A.Rti(null, null);
  4354. rti._kind = 12;
  4355. rti._primary = returnType;
  4356. rti._rest = parameters;
  4357. rti._canonicalRecipe = key;
  4358. t1 = A._Universe__installTypeTests(universe, rti);
  4359. universe.eC.set(key, t1);
  4360. return t1;
  4361. },
  4362. _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
  4363. var t1,
  4364. key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
  4365. probe = universe.eC.get(key);
  4366. if (probe != null)
  4367. return probe;
  4368. t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
  4369. universe.eC.set(key, t1);
  4370. return t1;
  4371. },
  4372. _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
  4373. var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
  4374. if (normalize) {
  4375. $length = bounds.length;
  4376. typeArguments = A._Utils_newArrayOrEmpty($length);
  4377. for (count = 0, i = 0; i < $length; ++i) {
  4378. bound = bounds[i];
  4379. if (bound._kind === 1) {
  4380. typeArguments[i] = bound;
  4381. ++count;
  4382. }
  4383. }
  4384. if (count > 0) {
  4385. substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
  4386. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
  4387. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
  4388. }
  4389. }
  4390. rti = new A.Rti(null, null);
  4391. rti._kind = 13;
  4392. rti._primary = baseFunctionType;
  4393. rti._rest = bounds;
  4394. rti._canonicalRecipe = key;
  4395. return A._Universe__installTypeTests(universe, rti);
  4396. },
  4397. _Parser_create(universe, environment, recipe, normalize) {
  4398. return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
  4399. },
  4400. _Parser_parse(parser) {
  4401. var t2, i, ch, t3, array, end, item,
  4402. source = parser.r,
  4403. t1 = parser.s;
  4404. for (t2 = source.length, i = 0; i < t2;) {
  4405. ch = source.charCodeAt(i);
  4406. if (ch >= 48 && ch <= 57)
  4407. i = A._Parser_handleDigit(i + 1, ch, source, t1);
  4408. else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124)
  4409. i = A._Parser_handleIdentifier(parser, i, source, t1, false);
  4410. else if (ch === 46)
  4411. i = A._Parser_handleIdentifier(parser, i, source, t1, true);
  4412. else {
  4413. ++i;
  4414. switch (ch) {
  4415. case 44:
  4416. break;
  4417. case 58:
  4418. t1.push(false);
  4419. break;
  4420. case 33:
  4421. t1.push(true);
  4422. break;
  4423. case 59:
  4424. t1.push(A._Parser_toType(parser.u, parser.e, t1.pop()));
  4425. break;
  4426. case 94:
  4427. t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop()));
  4428. break;
  4429. case 35:
  4430. t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
  4431. break;
  4432. case 64:
  4433. t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
  4434. break;
  4435. case 126:
  4436. t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
  4437. break;
  4438. case 60:
  4439. t1.push(parser.p);
  4440. parser.p = t1.length;
  4441. break;
  4442. case 62:
  4443. A._Parser_handleTypeArguments(parser, t1);
  4444. break;
  4445. case 38:
  4446. A._Parser_handleExtendedOperations(parser, t1);
  4447. break;
  4448. case 42:
  4449. t3 = parser.u;
  4450. t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4451. break;
  4452. case 63:
  4453. t3 = parser.u;
  4454. t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4455. break;
  4456. case 47:
  4457. t3 = parser.u;
  4458. t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4459. break;
  4460. case 40:
  4461. t1.push(-3);
  4462. t1.push(parser.p);
  4463. parser.p = t1.length;
  4464. break;
  4465. case 41:
  4466. A._Parser_handleArguments(parser, t1);
  4467. break;
  4468. case 91:
  4469. t1.push(parser.p);
  4470. parser.p = t1.length;
  4471. break;
  4472. case 93:
  4473. array = t1.splice(parser.p);
  4474. A._Parser_toTypes(parser.u, parser.e, array);
  4475. parser.p = t1.pop();
  4476. t1.push(array);
  4477. t1.push(-1);
  4478. break;
  4479. case 123:
  4480. t1.push(parser.p);
  4481. parser.p = t1.length;
  4482. break;
  4483. case 125:
  4484. array = t1.splice(parser.p);
  4485. A._Parser_toTypesNamed(parser.u, parser.e, array);
  4486. parser.p = t1.pop();
  4487. t1.push(array);
  4488. t1.push(-2);
  4489. break;
  4490. case 43:
  4491. end = source.indexOf("(", i);
  4492. t1.push(source.substring(i, end));
  4493. t1.push(-4);
  4494. t1.push(parser.p);
  4495. parser.p = t1.length;
  4496. i = end + 1;
  4497. break;
  4498. default:
  4499. throw "Bad character " + ch;
  4500. }
  4501. }
  4502. }
  4503. item = t1.pop();
  4504. return A._Parser_toType(parser.u, parser.e, item);
  4505. },
  4506. _Parser_handleDigit(i, digit, source, stack) {
  4507. var t1, ch,
  4508. value = digit - 48;
  4509. for (t1 = source.length; i < t1; ++i) {
  4510. ch = source.charCodeAt(i);
  4511. if (!(ch >= 48 && ch <= 57))
  4512. break;
  4513. value = value * 10 + (ch - 48);
  4514. }
  4515. stack.push(value);
  4516. return i;
  4517. },
  4518. _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
  4519. var t1, ch, t2, string, environment, recipe,
  4520. i = start + 1;
  4521. for (t1 = source.length; i < t1; ++i) {
  4522. ch = source.charCodeAt(i);
  4523. if (ch === 46) {
  4524. if (hasPeriod)
  4525. break;
  4526. hasPeriod = true;
  4527. } else {
  4528. if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124))
  4529. t2 = ch >= 48 && ch <= 57;
  4530. else
  4531. t2 = true;
  4532. if (!t2)
  4533. break;
  4534. }
  4535. }
  4536. string = source.substring(start, i);
  4537. if (hasPeriod) {
  4538. t1 = parser.u;
  4539. environment = parser.e;
  4540. if (environment._kind === 10)
  4541. environment = environment._primary;
  4542. recipe = A._Universe_findRule(t1, environment._primary)[string];
  4543. if (recipe == null)
  4544. A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
  4545. stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
  4546. } else
  4547. stack.push(string);
  4548. return i;
  4549. },
  4550. _Parser_handleTypeArguments(parser, stack) {
  4551. var base,
  4552. t1 = parser.u,
  4553. $arguments = A._Parser_collectArray(parser, stack),
  4554. head = stack.pop();
  4555. if (typeof head == "string")
  4556. stack.push(A._Universe__lookupInterfaceRti(t1, head, $arguments));
  4557. else {
  4558. base = A._Parser_toType(t1, parser.e, head);
  4559. switch (base._kind) {
  4560. case 12:
  4561. stack.push(A._Universe__lookupGenericFunctionRti(t1, base, $arguments, parser.n));
  4562. break;
  4563. default:
  4564. stack.push(A._Universe__lookupBindingRti(t1, base, $arguments));
  4565. break;
  4566. }
  4567. }
  4568. },
  4569. _Parser_handleArguments(parser, stack) {
  4570. var requiredPositional, returnType, parameters,
  4571. t1 = parser.u,
  4572. head = stack.pop(),
  4573. optionalPositional = null, named = null;
  4574. if (typeof head == "number")
  4575. switch (head) {
  4576. case -1:
  4577. optionalPositional = stack.pop();
  4578. break;
  4579. case -2:
  4580. named = stack.pop();
  4581. break;
  4582. default:
  4583. stack.push(head);
  4584. break;
  4585. }
  4586. else
  4587. stack.push(head);
  4588. requiredPositional = A._Parser_collectArray(parser, stack);
  4589. head = stack.pop();
  4590. switch (head) {
  4591. case -3:
  4592. head = stack.pop();
  4593. if (optionalPositional == null)
  4594. optionalPositional = t1.sEA;
  4595. if (named == null)
  4596. named = t1.sEA;
  4597. returnType = A._Parser_toType(t1, parser.e, head);
  4598. parameters = new A._FunctionParameters();
  4599. parameters._requiredPositional = requiredPositional;
  4600. parameters._optionalPositional = optionalPositional;
  4601. parameters._named = named;
  4602. stack.push(A._Universe__lookupFunctionRti(t1, returnType, parameters));
  4603. return;
  4604. case -4:
  4605. stack.push(A._Universe__lookupRecordRti(t1, stack.pop(), requiredPositional));
  4606. return;
  4607. default:
  4608. throw A.wrapException(A.AssertionError$("Unexpected state under `()`: " + A.S(head)));
  4609. }
  4610. },
  4611. _Parser_handleExtendedOperations(parser, stack) {
  4612. var $top = stack.pop();
  4613. if (0 === $top) {
  4614. stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
  4615. return;
  4616. }
  4617. if (1 === $top) {
  4618. stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
  4619. return;
  4620. }
  4621. throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
  4622. },
  4623. _Parser_collectArray(parser, stack) {
  4624. var array = stack.splice(parser.p);
  4625. A._Parser_toTypes(parser.u, parser.e, array);
  4626. parser.p = stack.pop();
  4627. return array;
  4628. },
  4629. _Parser_toType(universe, environment, item) {
  4630. if (typeof item == "string")
  4631. return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
  4632. else if (typeof item == "number") {
  4633. environment.toString;
  4634. return A._Parser_indexToType(universe, environment, item);
  4635. } else
  4636. return item;
  4637. },
  4638. _Parser_toTypes(universe, environment, items) {
  4639. var i,
  4640. $length = items.length;
  4641. for (i = 0; i < $length; ++i)
  4642. items[i] = A._Parser_toType(universe, environment, items[i]);
  4643. },
  4644. _Parser_toTypesNamed(universe, environment, items) {
  4645. var i,
  4646. $length = items.length;
  4647. for (i = 2; i < $length; i += 3)
  4648. items[i] = A._Parser_toType(universe, environment, items[i]);
  4649. },
  4650. _Parser_indexToType(universe, environment, index) {
  4651. var typeArguments, len,
  4652. kind = environment._kind;
  4653. if (kind === 10) {
  4654. if (index === 0)
  4655. return environment._primary;
  4656. typeArguments = environment._rest;
  4657. len = typeArguments.length;
  4658. if (index <= len)
  4659. return typeArguments[index - 1];
  4660. index -= len;
  4661. environment = environment._primary;
  4662. kind = environment._kind;
  4663. } else if (index === 0)
  4664. return environment;
  4665. if (kind !== 9)
  4666. throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
  4667. typeArguments = environment._rest;
  4668. if (index <= typeArguments.length)
  4669. return typeArguments[index - 1];
  4670. throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
  4671. },
  4672. isSubtype(universe, s, t) {
  4673. var result,
  4674. sCache = s._isSubtypeCache;
  4675. if (sCache == null)
  4676. sCache = s._isSubtypeCache = new Map();
  4677. result = sCache.get(t);
  4678. if (result == null) {
  4679. result = A._isSubtype(universe, s, null, t, null, false) ? 1 : 0;
  4680. sCache.set(t, result);
  4681. }
  4682. if (0 === result)
  4683. return false;
  4684. if (1 === result)
  4685. return true;
  4686. return true;
  4687. },
  4688. _isSubtype(universe, s, sEnv, t, tEnv, isLegacy) {
  4689. var t1, sKind, leftTypeVariable, tKind, t2, sBounds, tBounds, sLength, i, sBound, tBound;
  4690. if (s === t)
  4691. return true;
  4692. if (!A.isSoundTopType(t))
  4693. t1 = t === type$.legacy_Object;
  4694. else
  4695. t1 = true;
  4696. if (t1)
  4697. return true;
  4698. sKind = s._kind;
  4699. if (sKind === 4)
  4700. return true;
  4701. if (A.isSoundTopType(s))
  4702. return false;
  4703. t1 = s._kind;
  4704. if (t1 === 1)
  4705. return true;
  4706. leftTypeVariable = sKind === 14;
  4707. if (leftTypeVariable)
  4708. if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv, false))
  4709. return true;
  4710. tKind = t._kind;
  4711. t1 = s === type$.Null || s === type$.JSNull;
  4712. if (t1) {
  4713. if (tKind === 8)
  4714. return A._isSubtype(universe, s, sEnv, t._primary, tEnv, false);
  4715. return t === type$.Null || t === type$.JSNull || tKind === 7 || tKind === 6;
  4716. }
  4717. if (t === type$.Object) {
  4718. if (sKind === 8)
  4719. return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false);
  4720. if (sKind === 6)
  4721. return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false);
  4722. return sKind !== 7;
  4723. }
  4724. if (sKind === 6)
  4725. return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false);
  4726. if (tKind === 6) {
  4727. t1 = A.Rti__getQuestionFromStar(universe, t);
  4728. return A._isSubtype(universe, s, sEnv, t1, tEnv, false);
  4729. }
  4730. if (sKind === 8) {
  4731. if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv, false))
  4732. return false;
  4733. return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv, false);
  4734. }
  4735. if (sKind === 7) {
  4736. t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv, false);
  4737. return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv, false);
  4738. }
  4739. if (tKind === 8) {
  4740. if (A._isSubtype(universe, s, sEnv, t._primary, tEnv, false))
  4741. return true;
  4742. return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv, false);
  4743. }
  4744. if (tKind === 7) {
  4745. t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv, false);
  4746. return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv, false);
  4747. }
  4748. if (leftTypeVariable)
  4749. return false;
  4750. t1 = sKind !== 12;
  4751. if ((!t1 || sKind === 13) && t === type$.Function)
  4752. return true;
  4753. t2 = sKind === 11;
  4754. if (t2 && t === type$.Record)
  4755. return true;
  4756. if (tKind === 13) {
  4757. if (s === type$.JavaScriptFunction)
  4758. return true;
  4759. if (sKind !== 13)
  4760. return false;
  4761. sBounds = s._rest;
  4762. tBounds = t._rest;
  4763. sLength = sBounds.length;
  4764. if (sLength !== tBounds.length)
  4765. return false;
  4766. sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
  4767. tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
  4768. for (i = 0; i < sLength; ++i) {
  4769. sBound = sBounds[i];
  4770. tBound = tBounds[i];
  4771. if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv, false) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv, false))
  4772. return false;
  4773. }
  4774. return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv, false);
  4775. }
  4776. if (tKind === 12) {
  4777. if (s === type$.JavaScriptFunction)
  4778. return true;
  4779. if (t1)
  4780. return false;
  4781. return A._isFunctionSubtype(universe, s, sEnv, t, tEnv, false);
  4782. }
  4783. if (sKind === 9) {
  4784. if (tKind !== 9)
  4785. return false;
  4786. return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv, false);
  4787. }
  4788. if (t2 && tKind === 11)
  4789. return A._isRecordSubtype(universe, s, sEnv, t, tEnv, false);
  4790. return false;
  4791. },
  4792. _isFunctionSubtype(universe, s, sEnv, t, tEnv, isLegacy) {
  4793. var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
  4794. if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv, false))
  4795. return false;
  4796. sParameters = s._rest;
  4797. tParameters = t._rest;
  4798. sRequiredPositional = sParameters._requiredPositional;
  4799. tRequiredPositional = tParameters._requiredPositional;
  4800. sRequiredPositionalLength = sRequiredPositional.length;
  4801. tRequiredPositionalLength = tRequiredPositional.length;
  4802. if (sRequiredPositionalLength > tRequiredPositionalLength)
  4803. return false;
  4804. requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
  4805. sOptionalPositional = sParameters._optionalPositional;
  4806. tOptionalPositional = tParameters._optionalPositional;
  4807. sOptionalPositionalLength = sOptionalPositional.length;
  4808. tOptionalPositionalLength = tOptionalPositional.length;
  4809. if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
  4810. return false;
  4811. for (i = 0; i < sRequiredPositionalLength; ++i) {
  4812. t1 = sRequiredPositional[i];
  4813. if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv, false))
  4814. return false;
  4815. }
  4816. for (i = 0; i < requiredPositionalDelta; ++i) {
  4817. t1 = sOptionalPositional[i];
  4818. if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv, false))
  4819. return false;
  4820. }
  4821. for (i = 0; i < tOptionalPositionalLength; ++i) {
  4822. t1 = sOptionalPositional[requiredPositionalDelta + i];
  4823. if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv, false))
  4824. return false;
  4825. }
  4826. sNamed = sParameters._named;
  4827. tNamed = tParameters._named;
  4828. sNamedLength = sNamed.length;
  4829. tNamedLength = tNamed.length;
  4830. for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
  4831. tName = tNamed[tIndex];
  4832. for (; true;) {
  4833. if (sIndex >= sNamedLength)
  4834. return false;
  4835. sName = sNamed[sIndex];
  4836. sIndex += 3;
  4837. if (tName < sName)
  4838. return false;
  4839. sIsRequired = sNamed[sIndex - 2];
  4840. if (sName < tName) {
  4841. if (sIsRequired)
  4842. return false;
  4843. continue;
  4844. }
  4845. t1 = tNamed[tIndex + 1];
  4846. if (sIsRequired && !t1)
  4847. return false;
  4848. t1 = sNamed[sIndex - 1];
  4849. if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv, false))
  4850. return false;
  4851. break;
  4852. }
  4853. }
  4854. for (; sIndex < sNamedLength;) {
  4855. if (sNamed[sIndex + 1])
  4856. return false;
  4857. sIndex += 3;
  4858. }
  4859. return true;
  4860. },
  4861. _isInterfaceSubtype(universe, s, sEnv, t, tEnv, isLegacy) {
  4862. var rule, recipes, $length, supertypeArgs, i,
  4863. sName = s._primary,
  4864. tName = t._primary;
  4865. for (; sName !== tName;) {
  4866. rule = universe.tR[sName];
  4867. if (rule == null)
  4868. return false;
  4869. if (typeof rule == "string") {
  4870. sName = rule;
  4871. continue;
  4872. }
  4873. recipes = rule[tName];
  4874. if (recipes == null)
  4875. return false;
  4876. $length = recipes.length;
  4877. supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  4878. for (i = 0; i < $length; ++i)
  4879. supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
  4880. return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv, false);
  4881. }
  4882. return A._areArgumentsSubtypes(universe, s._rest, null, sEnv, t._rest, tEnv, false);
  4883. },
  4884. _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv, isLegacy) {
  4885. var i,
  4886. $length = sArgs.length;
  4887. for (i = 0; i < $length; ++i)
  4888. if (!A._isSubtype(universe, sArgs[i], sEnv, tArgs[i], tEnv, false))
  4889. return false;
  4890. return true;
  4891. },
  4892. _isRecordSubtype(universe, s, sEnv, t, tEnv, isLegacy) {
  4893. var i,
  4894. sFields = s._rest,
  4895. tFields = t._rest,
  4896. sCount = sFields.length;
  4897. if (sCount !== tFields.length)
  4898. return false;
  4899. if (s._primary !== t._primary)
  4900. return false;
  4901. for (i = 0; i < sCount; ++i)
  4902. if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv, false))
  4903. return false;
  4904. return true;
  4905. },
  4906. isNullable(t) {
  4907. var kind = t._kind,
  4908. t1 = true;
  4909. if (!(t === type$.Null || t === type$.JSNull))
  4910. if (!A.isSoundTopType(t))
  4911. if (kind !== 7)
  4912. if (!(kind === 6 && A.isNullable(t._primary)))
  4913. t1 = kind === 8 && A.isNullable(t._primary);
  4914. return t1;
  4915. },
  4916. isDefinitelyTopType(t) {
  4917. var t1;
  4918. if (!A.isSoundTopType(t))
  4919. t1 = t === type$.legacy_Object;
  4920. else
  4921. t1 = true;
  4922. return t1;
  4923. },
  4924. isSoundTopType(t) {
  4925. var kind = t._kind;
  4926. return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
  4927. },
  4928. _Utils_objectAssign(o, other) {
  4929. var i, key,
  4930. keys = Object.keys(other),
  4931. $length = keys.length;
  4932. for (i = 0; i < $length; ++i) {
  4933. key = keys[i];
  4934. o[key] = other[key];
  4935. }
  4936. },
  4937. _Utils_newArrayOrEmpty($length) {
  4938. return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  4939. },
  4940. Rti: function Rti(t0, t1) {
  4941. var _ = this;
  4942. _._as = t0;
  4943. _._is = t1;
  4944. _._cachedRuntimeType = _._specializedTestResource = _._isSubtypeCache = _._precomputed1 = null;
  4945. _._kind = 0;
  4946. _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
  4947. },
  4948. _FunctionParameters: function _FunctionParameters() {
  4949. this._named = this._optionalPositional = this._requiredPositional = null;
  4950. },
  4951. _Type: function _Type(t0) {
  4952. this._rti = t0;
  4953. },
  4954. _Error: function _Error() {
  4955. },
  4956. _TypeError: function _TypeError(t0) {
  4957. this.__rti$_message = t0;
  4958. },
  4959. _AsyncRun__initializeScheduleImmediate() {
  4960. var t1, div, span;
  4961. if (self.scheduleImmediate != null)
  4962. return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
  4963. if (self.MutationObserver != null && self.document != null) {
  4964. t1 = {};
  4965. div = self.document.createElement("div");
  4966. span = self.document.createElement("span");
  4967. t1.storedCallback = null;
  4968. new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
  4969. return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
  4970. } else if (self.setImmediate != null)
  4971. return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
  4972. return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
  4973. },
  4974. _AsyncRun__scheduleImmediateJsOverride(callback) {
  4975. self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
  4976. },
  4977. _AsyncRun__scheduleImmediateWithSetImmediate(callback) {
  4978. self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
  4979. },
  4980. _AsyncRun__scheduleImmediateWithTimer(callback) {
  4981. A.Timer__createTimer(B.Duration_0, callback);
  4982. },
  4983. Timer__createTimer(duration, callback) {
  4984. var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  4985. return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
  4986. },
  4987. _TimerImpl$(milliseconds, callback) {
  4988. var t1 = new A._TimerImpl(true);
  4989. t1._TimerImpl$2(milliseconds, callback);
  4990. return t1;
  4991. },
  4992. _TimerImpl$periodic(milliseconds, callback) {
  4993. var t1 = new A._TimerImpl(false);
  4994. t1._TimerImpl$periodic$2(milliseconds, callback);
  4995. return t1;
  4996. },
  4997. _makeAsyncAwaitCompleter($T) {
  4998. return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
  4999. },
  5000. _asyncStartSync(bodyFunction, completer) {
  5001. bodyFunction.call$2(0, null);
  5002. completer.isSync = true;
  5003. return completer._future;
  5004. },
  5005. _asyncAwait(object, bodyFunction) {
  5006. A._awaitOnObject(object, bodyFunction);
  5007. },
  5008. _asyncReturn(object, completer) {
  5009. completer.complete$1(object);
  5010. },
  5011. _asyncRethrow(object, completer) {
  5012. completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
  5013. },
  5014. _awaitOnObject(object, bodyFunction) {
  5015. var t1, future,
  5016. thenCallback = new A._awaitOnObject_closure(bodyFunction),
  5017. errorCallback = new A._awaitOnObject_closure0(bodyFunction);
  5018. if (object instanceof A._Future)
  5019. object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
  5020. else {
  5021. t1 = type$.dynamic;
  5022. if (object instanceof A._Future)
  5023. object.then$1$2$onError(0, thenCallback, errorCallback, t1);
  5024. else {
  5025. future = new A._Future($.Zone__current, type$._Future_dynamic);
  5026. future._state = 8;
  5027. future._resultOrListeners = object;
  5028. future._thenAwait$1$2(thenCallback, errorCallback, t1);
  5029. }
  5030. }
  5031. },
  5032. _wrapJsFunctionForAsync($function) {
  5033. var $protected = function(fn, ERROR) {
  5034. return function(errorCode, result) {
  5035. while (true) {
  5036. try {
  5037. fn(errorCode, result);
  5038. break;
  5039. } catch (error) {
  5040. result = error;
  5041. errorCode = ERROR;
  5042. }
  5043. }
  5044. };
  5045. }($function, 1);
  5046. return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
  5047. },
  5048. _SyncStarIterator__terminatedBody(_1, _2, _3) {
  5049. return 0;
  5050. },
  5051. AsyncError_defaultStackTrace(error) {
  5052. var stackTrace;
  5053. if (type$.Error._is(error)) {
  5054. stackTrace = error.get$stackTrace();
  5055. if (stackTrace != null)
  5056. return stackTrace;
  5057. }
  5058. return B._StringStackTrace_OdL;
  5059. },
  5060. Future_Future$value(value, $T) {
  5061. var t1;
  5062. $T._as(value);
  5063. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  5064. t1._asyncComplete$1(value);
  5065. return t1;
  5066. },
  5067. Future_Future$error(error, stackTrace, $T) {
  5068. var _0_0 = A._interceptUserError(error, stackTrace),
  5069. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  5070. t1._asyncCompleteError$2(_0_0.error, _0_0.stackTrace);
  5071. return t1;
  5072. },
  5073. Future_wait(futures, eagerError, $T) {
  5074. var handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null,
  5075. _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
  5076. _box_0.values = null;
  5077. _box_0.remaining = 0;
  5078. _box_0.stackTrace = _box_0.error = null;
  5079. handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future);
  5080. try {
  5081. for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
  5082. future = t1.get$current(t1);
  5083. pos = _box_0.remaining;
  5084. J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, $T, cleanUp, eagerError), handleError, t2);
  5085. ++_box_0.remaining;
  5086. }
  5087. t1 = _box_0.remaining;
  5088. if (t1 === 0) {
  5089. t1 = _future;
  5090. t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
  5091. return t1;
  5092. }
  5093. _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
  5094. } catch (exception) {
  5095. e = A.unwrapException(exception);
  5096. st = A.getTraceFromException(exception);
  5097. if (_box_0.remaining === 0 || eagerError)
  5098. return A.Future_Future$error(e, st, $T._eval$1("List<0>"));
  5099. else {
  5100. _box_0.error = e;
  5101. _box_0.stackTrace = st;
  5102. }
  5103. }
  5104. return _future;
  5105. },
  5106. _interceptError(error, stackTrace) {
  5107. var replacement, t1, t2,
  5108. zone = $.Zone__current;
  5109. if (zone === B.C__RootZone)
  5110. return null;
  5111. replacement = zone.errorCallback$2(error, stackTrace);
  5112. if (replacement == null)
  5113. return null;
  5114. t1 = replacement.error;
  5115. t2 = replacement.stackTrace;
  5116. if (type$.Error._is(t1))
  5117. A.Primitives_trySetStackTrace(t1, t2);
  5118. return replacement;
  5119. },
  5120. _interceptUserError(error, stackTrace) {
  5121. var replacement;
  5122. if ($.Zone__current !== B.C__RootZone) {
  5123. replacement = A._interceptError(error, stackTrace);
  5124. if (replacement != null)
  5125. return replacement;
  5126. }
  5127. if (stackTrace == null)
  5128. if (type$.Error._is(error)) {
  5129. stackTrace = error.get$stackTrace();
  5130. if (stackTrace == null) {
  5131. A.Primitives_trySetStackTrace(error, B._StringStackTrace_OdL);
  5132. stackTrace = B._StringStackTrace_OdL;
  5133. }
  5134. } else
  5135. stackTrace = B._StringStackTrace_OdL;
  5136. else if (type$.Error._is(error))
  5137. A.Primitives_trySetStackTrace(error, stackTrace);
  5138. return new A.AsyncError(error, stackTrace);
  5139. },
  5140. _Future$zoneValue(value, _zone, $T) {
  5141. var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
  5142. t1._state = 8;
  5143. t1._resultOrListeners = value;
  5144. return t1;
  5145. },
  5146. _Future$value(value, $T) {
  5147. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  5148. t1._state = 8;
  5149. t1._resultOrListeners = value;
  5150. return t1;
  5151. },
  5152. _Future__chainCoreFuture(source, target, sync) {
  5153. var t2, ignoreError, listeners, _box_0 = {},
  5154. t1 = _box_0.source = source;
  5155. for (; t2 = t1._state, (t2 & 4) !== 0;) {
  5156. t1 = t1._resultOrListeners;
  5157. _box_0.source = t1;
  5158. }
  5159. if (t1 === target) {
  5160. target._asyncCompleteError$2(new A.ArgumentError(true, t1, null, "Cannot complete a future with itself"), A.StackTrace_current());
  5161. return;
  5162. }
  5163. ignoreError = target._state & 1;
  5164. t2 = t1._state = t2 | ignoreError;
  5165. if ((t2 & 24) === 0) {
  5166. listeners = target._resultOrListeners;
  5167. target._state = target._state & 1 | 4;
  5168. target._resultOrListeners = t1;
  5169. t1._prependListeners$1(listeners);
  5170. return;
  5171. }
  5172. if (!sync)
  5173. if (target._resultOrListeners == null)
  5174. t1 = (t2 & 16) === 0 || ignoreError !== 0;
  5175. else
  5176. t1 = false;
  5177. else
  5178. t1 = true;
  5179. if (t1) {
  5180. listeners = target._removeListeners$0();
  5181. target._cloneResult$1(_box_0.source);
  5182. A._Future__propagateToListeners(target, listeners);
  5183. return;
  5184. }
  5185. target._state ^= 2;
  5186. target._zone.scheduleMicrotask$1(new A._Future__chainCoreFuture_closure(_box_0, target));
  5187. },
  5188. _Future__propagateToListeners(source, listeners) {
  5189. var _box_0, t2, t3, hasError, nextListener, nextListener0, sourceResult, t4, zone, oldZone, result, current, _box_1 = {},
  5190. t1 = _box_1.source = source;
  5191. for (; true;) {
  5192. _box_0 = {};
  5193. t2 = t1._state;
  5194. t3 = (t2 & 16) === 0;
  5195. hasError = !t3;
  5196. if (listeners == null) {
  5197. if (hasError && (t2 & 1) === 0) {
  5198. t2 = t1._resultOrListeners;
  5199. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  5200. }
  5201. return;
  5202. }
  5203. _box_0.listener = listeners;
  5204. nextListener = listeners._nextListener;
  5205. for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
  5206. t1._nextListener = null;
  5207. A._Future__propagateToListeners(_box_1.source, t1);
  5208. _box_0.listener = nextListener;
  5209. nextListener0 = nextListener._nextListener;
  5210. }
  5211. t2 = _box_1.source;
  5212. sourceResult = t2._resultOrListeners;
  5213. _box_0.listenerHasError = hasError;
  5214. _box_0.listenerValueOrError = sourceResult;
  5215. if (t3) {
  5216. t4 = t1.state;
  5217. t4 = (t4 & 1) !== 0 || (t4 & 15) === 8;
  5218. } else
  5219. t4 = true;
  5220. if (t4) {
  5221. zone = t1.result._zone;
  5222. if (hasError) {
  5223. t1 = t2._zone;
  5224. t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
  5225. } else
  5226. t1 = false;
  5227. if (t1) {
  5228. t1 = _box_1.source;
  5229. t2 = t1._resultOrListeners;
  5230. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  5231. return;
  5232. }
  5233. oldZone = $.Zone__current;
  5234. if (oldZone !== zone)
  5235. $.Zone__current = zone;
  5236. else
  5237. oldZone = null;
  5238. t1 = _box_0.listener.state;
  5239. if ((t1 & 15) === 8)
  5240. new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
  5241. else if (t3) {
  5242. if ((t1 & 1) !== 0)
  5243. new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
  5244. } else if ((t1 & 2) !== 0)
  5245. new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
  5246. if (oldZone != null)
  5247. $.Zone__current = oldZone;
  5248. t1 = _box_0.listenerValueOrError;
  5249. if (t1 instanceof A._Future) {
  5250. t2 = _box_0.listener.$ti;
  5251. t2 = t2._eval$1("Future<2>")._is(t1) || !t2._rest[1]._is(t1);
  5252. } else
  5253. t2 = false;
  5254. if (t2) {
  5255. result = _box_0.listener.result;
  5256. if ((t1._state & 24) !== 0) {
  5257. current = result._resultOrListeners;
  5258. result._resultOrListeners = null;
  5259. listeners = result._reverseListeners$1(current);
  5260. result._state = t1._state & 30 | result._state & 1;
  5261. result._resultOrListeners = t1._resultOrListeners;
  5262. _box_1.source = t1;
  5263. continue;
  5264. } else
  5265. A._Future__chainCoreFuture(t1, result, true);
  5266. return;
  5267. }
  5268. }
  5269. result = _box_0.listener.result;
  5270. current = result._resultOrListeners;
  5271. result._resultOrListeners = null;
  5272. listeners = result._reverseListeners$1(current);
  5273. t1 = _box_0.listenerHasError;
  5274. t2 = _box_0.listenerValueOrError;
  5275. if (!t1) {
  5276. result._state = 8;
  5277. result._resultOrListeners = t2;
  5278. } else {
  5279. result._state = result._state & 1 | 16;
  5280. result._resultOrListeners = t2;
  5281. }
  5282. _box_1.source = result;
  5283. t1 = result;
  5284. }
  5285. },
  5286. _registerErrorHandler(errorHandler, zone) {
  5287. if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
  5288. return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
  5289. if (type$.dynamic_Function_Object._is(errorHandler))
  5290. return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
  5291. throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
  5292. },
  5293. _microtaskLoop() {
  5294. var entry, next;
  5295. for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
  5296. $._lastPriorityCallback = null;
  5297. next = entry.next;
  5298. $._nextCallback = next;
  5299. if (next == null)
  5300. $._lastCallback = null;
  5301. entry.callback.call$0();
  5302. }
  5303. },
  5304. _startMicrotaskLoop() {
  5305. $._isInCallbackLoop = true;
  5306. try {
  5307. A._microtaskLoop();
  5308. } finally {
  5309. $._lastPriorityCallback = null;
  5310. $._isInCallbackLoop = false;
  5311. if ($._nextCallback != null)
  5312. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  5313. }
  5314. },
  5315. _scheduleAsyncCallback(callback) {
  5316. var newEntry = new A._AsyncCallbackEntry(callback),
  5317. lastCallback = $._lastCallback;
  5318. if (lastCallback == null) {
  5319. $._nextCallback = $._lastCallback = newEntry;
  5320. if (!$._isInCallbackLoop)
  5321. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  5322. } else
  5323. $._lastCallback = lastCallback.next = newEntry;
  5324. },
  5325. _schedulePriorityAsyncCallback(callback) {
  5326. var entry, lastPriorityCallback, next,
  5327. t1 = $._nextCallback;
  5328. if (t1 == null) {
  5329. A._scheduleAsyncCallback(callback);
  5330. $._lastPriorityCallback = $._lastCallback;
  5331. return;
  5332. }
  5333. entry = new A._AsyncCallbackEntry(callback);
  5334. lastPriorityCallback = $._lastPriorityCallback;
  5335. if (lastPriorityCallback == null) {
  5336. entry.next = t1;
  5337. $._nextCallback = $._lastPriorityCallback = entry;
  5338. } else {
  5339. next = lastPriorityCallback.next;
  5340. entry.next = next;
  5341. $._lastPriorityCallback = lastPriorityCallback.next = entry;
  5342. if (next == null)
  5343. $._lastCallback = entry;
  5344. }
  5345. },
  5346. scheduleMicrotask(callback) {
  5347. var t1, _null = null,
  5348. currentZone = $.Zone__current;
  5349. if (B.C__RootZone === currentZone) {
  5350. A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
  5351. return;
  5352. }
  5353. if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
  5354. t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
  5355. else
  5356. t1 = false;
  5357. if (t1) {
  5358. A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
  5359. return;
  5360. }
  5361. t1 = $.Zone__current;
  5362. t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
  5363. },
  5364. Stream_Stream$fromFuture(future, $T) {
  5365. var _null = null,
  5366. t1 = $T._eval$1("_SyncStreamController<0>"),
  5367. controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
  5368. future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
  5369. return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
  5370. },
  5371. StreamIterator_StreamIterator(stream) {
  5372. return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
  5373. },
  5374. StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
  5375. 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>"));
  5376. },
  5377. _runGuarded(notificationHandler) {
  5378. var e, s, exception;
  5379. if (notificationHandler == null)
  5380. return;
  5381. try {
  5382. notificationHandler.call$0();
  5383. } catch (exception) {
  5384. e = A.unwrapException(exception);
  5385. s = A.getTraceFromException(exception);
  5386. $.Zone__current.handleUncaughtError$2(e, s);
  5387. }
  5388. },
  5389. _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
  5390. var t1 = $.Zone__current,
  5391. t2 = cancelOnError ? 1 : 0,
  5392. t3 = onError != null ? 32 : 0,
  5393. t4 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
  5394. t5 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
  5395. t6 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  5396. return new A._ControllerSubscription(_controller, t4, t5, t1.registerCallback$1$1(t6, type$.void), t1, t2 | t3, $T._eval$1("_ControllerSubscription<0>"));
  5397. },
  5398. _AddStreamState_makeErrorHandler(controller) {
  5399. return new A._AddStreamState_makeErrorHandler_closure(controller);
  5400. },
  5401. _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
  5402. var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
  5403. return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
  5404. },
  5405. _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
  5406. if (handleError == null)
  5407. handleError = A.async___nullErrorHandler$closure();
  5408. if (type$.void_Function_Object_StackTrace._is(handleError))
  5409. return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
  5410. if (type$.void_Function_Object._is(handleError))
  5411. return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
  5412. throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
  5413. },
  5414. _nullDataHandler(value) {
  5415. },
  5416. _nullErrorHandler(error, stackTrace) {
  5417. $.Zone__current.handleUncaughtError$2(error, stackTrace);
  5418. },
  5419. _nullDoneHandler() {
  5420. },
  5421. Timer_Timer(duration, callback) {
  5422. var t1 = $.Zone__current;
  5423. if (t1 === B.C__RootZone)
  5424. return t1.createTimer$2(duration, callback);
  5425. return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
  5426. },
  5427. _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
  5428. A._rootHandleError(error, stackTrace);
  5429. },
  5430. _rootHandleError(error, stackTrace) {
  5431. A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
  5432. },
  5433. _rootRun($self, $parent, zone, f) {
  5434. var old,
  5435. t1 = $.Zone__current;
  5436. if (t1 === zone)
  5437. return f.call$0();
  5438. $.Zone__current = zone;
  5439. old = t1;
  5440. try {
  5441. t1 = f.call$0();
  5442. return t1;
  5443. } finally {
  5444. $.Zone__current = old;
  5445. }
  5446. },
  5447. _rootRunUnary($self, $parent, zone, f, arg) {
  5448. var old,
  5449. t1 = $.Zone__current;
  5450. if (t1 === zone)
  5451. return f.call$1(arg);
  5452. $.Zone__current = zone;
  5453. old = t1;
  5454. try {
  5455. t1 = f.call$1(arg);
  5456. return t1;
  5457. } finally {
  5458. $.Zone__current = old;
  5459. }
  5460. },
  5461. _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
  5462. var old,
  5463. t1 = $.Zone__current;
  5464. if (t1 === zone)
  5465. return f.call$2(arg1, arg2);
  5466. $.Zone__current = zone;
  5467. old = t1;
  5468. try {
  5469. t1 = f.call$2(arg1, arg2);
  5470. return t1;
  5471. } finally {
  5472. $.Zone__current = old;
  5473. }
  5474. },
  5475. _rootRegisterCallback($self, $parent, zone, f) {
  5476. return f;
  5477. },
  5478. _rootRegisterUnaryCallback($self, $parent, zone, f) {
  5479. return f;
  5480. },
  5481. _rootRegisterBinaryCallback($self, $parent, zone, f) {
  5482. return f;
  5483. },
  5484. _rootErrorCallback($self, $parent, zone, error, stackTrace) {
  5485. return null;
  5486. },
  5487. _rootScheduleMicrotask($self, $parent, zone, f) {
  5488. var t1, t2;
  5489. if (B.C__RootZone !== zone) {
  5490. t1 = B.C__RootZone.get$errorZone();
  5491. t2 = zone.get$errorZone();
  5492. f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
  5493. }
  5494. A._scheduleAsyncCallback(f);
  5495. },
  5496. _rootCreateTimer($self, $parent, zone, duration, callback) {
  5497. return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
  5498. },
  5499. _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
  5500. var milliseconds;
  5501. if (B.C__RootZone !== zone)
  5502. callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
  5503. milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  5504. return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
  5505. },
  5506. _rootPrint($self, $parent, zone, line) {
  5507. A.printString(line);
  5508. },
  5509. _printToZone(line) {
  5510. $.Zone__current.print$1(line);
  5511. },
  5512. _rootFork($self, $parent, zone, specification, zoneValues) {
  5513. var valueMap, t1, handleUncaughtError;
  5514. $.printToZone = A.async___printToZone$closure();
  5515. if (specification == null)
  5516. specification = B._ZoneSpecification_Ipa;
  5517. if (zoneValues == null)
  5518. valueMap = zone.get$_async$_map();
  5519. else {
  5520. t1 = type$.nullable_Object;
  5521. valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
  5522. }
  5523. 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);
  5524. handleUncaughtError = specification.handleUncaughtError;
  5525. if (handleUncaughtError != null)
  5526. t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
  5527. return t1;
  5528. },
  5529. runZoned(body, zoneValues, $R) {
  5530. return A._runZoned(body, zoneValues, null, $R);
  5531. },
  5532. _runZoned(body, zoneValues, specification, $R) {
  5533. return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
  5534. },
  5535. _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
  5536. this._box_0 = t0;
  5537. },
  5538. _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
  5539. this._box_0 = t0;
  5540. this.div = t1;
  5541. this.span = t2;
  5542. },
  5543. _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
  5544. this.callback = t0;
  5545. },
  5546. _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
  5547. this.callback = t0;
  5548. },
  5549. _TimerImpl: function _TimerImpl(t0) {
  5550. this._once = t0;
  5551. this._handle = null;
  5552. this._tick = 0;
  5553. },
  5554. _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
  5555. this.$this = t0;
  5556. this.callback = t1;
  5557. },
  5558. _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
  5559. var _ = this;
  5560. _.$this = t0;
  5561. _.milliseconds = t1;
  5562. _.start = t2;
  5563. _.callback = t3;
  5564. },
  5565. _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
  5566. this._future = t0;
  5567. this.isSync = false;
  5568. this.$ti = t1;
  5569. },
  5570. _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
  5571. this.bodyFunction = t0;
  5572. },
  5573. _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
  5574. this.bodyFunction = t0;
  5575. },
  5576. _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
  5577. this.$protected = t0;
  5578. },
  5579. _SyncStarIterator: function _SyncStarIterator(t0) {
  5580. var _ = this;
  5581. _._body = t0;
  5582. _._suspendedBodies = _._nestedIterator = _._datum = _._async$_current = null;
  5583. },
  5584. _SyncStarIterable: function _SyncStarIterable(t0, t1) {
  5585. this._outerHelper = t0;
  5586. this.$ti = t1;
  5587. },
  5588. AsyncError: function AsyncError(t0, t1) {
  5589. this.error = t0;
  5590. this.stackTrace = t1;
  5591. },
  5592. Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3) {
  5593. var _ = this;
  5594. _._box_0 = t0;
  5595. _.cleanUp = t1;
  5596. _.eagerError = t2;
  5597. _._future = t3;
  5598. },
  5599. Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5) {
  5600. var _ = this;
  5601. _._box_0 = t0;
  5602. _.pos = t1;
  5603. _._future = t2;
  5604. _.T = t3;
  5605. _.cleanUp = t4;
  5606. _.eagerError = t5;
  5607. },
  5608. _Completer: function _Completer() {
  5609. },
  5610. _AsyncCompleter: function _AsyncCompleter(t0, t1) {
  5611. this.future = t0;
  5612. this.$ti = t1;
  5613. },
  5614. _SyncCompleter: function _SyncCompleter(t0, t1) {
  5615. this.future = t0;
  5616. this.$ti = t1;
  5617. },
  5618. _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
  5619. var _ = this;
  5620. _._nextListener = null;
  5621. _.result = t0;
  5622. _.state = t1;
  5623. _.callback = t2;
  5624. _.errorCallback = t3;
  5625. _.$ti = t4;
  5626. },
  5627. _Future: function _Future(t0, t1) {
  5628. var _ = this;
  5629. _._state = 0;
  5630. _._zone = t0;
  5631. _._resultOrListeners = null;
  5632. _.$ti = t1;
  5633. },
  5634. _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
  5635. this.$this = t0;
  5636. this.listener = t1;
  5637. },
  5638. _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
  5639. this._box_0 = t0;
  5640. this.$this = t1;
  5641. },
  5642. _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) {
  5643. this.$this = t0;
  5644. },
  5645. _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) {
  5646. this.$this = t0;
  5647. },
  5648. _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) {
  5649. this.$this = t0;
  5650. this.e = t1;
  5651. this.s = t2;
  5652. },
  5653. _Future__chainCoreFuture_closure: function _Future__chainCoreFuture_closure(t0, t1) {
  5654. this._box_0 = t0;
  5655. this.target = t1;
  5656. },
  5657. _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
  5658. this.$this = t0;
  5659. this.value = t1;
  5660. },
  5661. _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) {
  5662. this.$this = t0;
  5663. this.error = t1;
  5664. this.stackTrace = t2;
  5665. },
  5666. _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
  5667. this._box_0 = t0;
  5668. this._box_1 = t1;
  5669. this.hasError = t2;
  5670. },
  5671. _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0, t1) {
  5672. this.joinedResult = t0;
  5673. this.originalSource = t1;
  5674. },
  5675. _Future__propagateToListeners_handleWhenCompleteCallback_closure0: function _Future__propagateToListeners_handleWhenCompleteCallback_closure0(t0) {
  5676. this.joinedResult = t0;
  5677. },
  5678. _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
  5679. this._box_0 = t0;
  5680. this.sourceResult = t1;
  5681. },
  5682. _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
  5683. this._box_1 = t0;
  5684. this._box_0 = t1;
  5685. },
  5686. _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
  5687. this.callback = t0;
  5688. this.next = null;
  5689. },
  5690. Stream: function Stream() {
  5691. },
  5692. Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
  5693. this.controller = t0;
  5694. this.T = t1;
  5695. },
  5696. Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
  5697. this.controller = t0;
  5698. },
  5699. Stream_length_closure: function Stream_length_closure(t0, t1) {
  5700. this._box_0 = t0;
  5701. this.$this = t1;
  5702. },
  5703. Stream_length_closure0: function Stream_length_closure0(t0, t1) {
  5704. this._box_0 = t0;
  5705. this.future = t1;
  5706. },
  5707. _StreamController: function _StreamController() {
  5708. },
  5709. _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
  5710. this.$this = t0;
  5711. },
  5712. _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
  5713. this.$this = t0;
  5714. },
  5715. _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
  5716. },
  5717. _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
  5718. },
  5719. _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
  5720. var _ = this;
  5721. _._varData = null;
  5722. _._state = 0;
  5723. _._doneFuture = null;
  5724. _.onListen = t0;
  5725. _.onPause = t1;
  5726. _.onResume = t2;
  5727. _.onCancel = t3;
  5728. _.$ti = t4;
  5729. },
  5730. _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
  5731. var _ = this;
  5732. _._varData = null;
  5733. _._state = 0;
  5734. _._doneFuture = null;
  5735. _.onListen = t0;
  5736. _.onPause = t1;
  5737. _.onResume = t2;
  5738. _.onCancel = t3;
  5739. _.$ti = t4;
  5740. },
  5741. _ControllerStream: function _ControllerStream(t0, t1) {
  5742. this._controller = t0;
  5743. this.$ti = t1;
  5744. },
  5745. _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
  5746. var _ = this;
  5747. _._controller = t0;
  5748. _._onData = t1;
  5749. _._onError = t2;
  5750. _._onDone = t3;
  5751. _._zone = t4;
  5752. _._state = t5;
  5753. _._pending = _._cancelFuture = null;
  5754. _.$ti = t6;
  5755. },
  5756. _AddStreamState: function _AddStreamState() {
  5757. },
  5758. _AddStreamState_makeErrorHandler_closure: function _AddStreamState_makeErrorHandler_closure(t0) {
  5759. this.controller = t0;
  5760. },
  5761. _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
  5762. this.$this = t0;
  5763. },
  5764. _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
  5765. this._varData = t0;
  5766. this.addStreamFuture = t1;
  5767. this.addSubscription = t2;
  5768. },
  5769. _BufferingStreamSubscription: function _BufferingStreamSubscription() {
  5770. },
  5771. _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
  5772. this.$this = t0;
  5773. this.error = t1;
  5774. this.stackTrace = t2;
  5775. },
  5776. _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
  5777. this.$this = t0;
  5778. },
  5779. _StreamImpl: function _StreamImpl() {
  5780. },
  5781. _DelayedEvent: function _DelayedEvent() {
  5782. },
  5783. _DelayedData: function _DelayedData(t0) {
  5784. this.value = t0;
  5785. this.next = null;
  5786. },
  5787. _DelayedError: function _DelayedError(t0, t1) {
  5788. this.error = t0;
  5789. this.stackTrace = t1;
  5790. this.next = null;
  5791. },
  5792. _DelayedDone: function _DelayedDone() {
  5793. },
  5794. _PendingEvents: function _PendingEvents() {
  5795. this._state = 0;
  5796. this.lastPendingEvent = this.firstPendingEvent = null;
  5797. },
  5798. _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
  5799. this.$this = t0;
  5800. this.dispatch = t1;
  5801. },
  5802. _StreamIterator: function _StreamIterator(t0) {
  5803. this._subscription = null;
  5804. this._stateData = t0;
  5805. this._async$_hasValue = false;
  5806. },
  5807. _ForwardingStream: function _ForwardingStream() {
  5808. },
  5809. _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
  5810. var _ = this;
  5811. _._stream = t0;
  5812. _._subscription = null;
  5813. _._onData = t1;
  5814. _._onError = t2;
  5815. _._onDone = t3;
  5816. _._zone = t4;
  5817. _._state = t5;
  5818. _._pending = _._cancelFuture = null;
  5819. _.$ti = t6;
  5820. },
  5821. _MapStream: function _MapStream(t0, t1, t2) {
  5822. this._transform = t0;
  5823. this._async$_source = t1;
  5824. this.$ti = t2;
  5825. },
  5826. _ZoneFunction: function _ZoneFunction(t0, t1) {
  5827. this.zone = t0;
  5828. this.$function = t1;
  5829. },
  5830. _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  5831. var _ = this;
  5832. _.handleUncaughtError = t0;
  5833. _.run = t1;
  5834. _.runUnary = t2;
  5835. _.runBinary = t3;
  5836. _.registerCallback = t4;
  5837. _.registerUnaryCallback = t5;
  5838. _.registerBinaryCallback = t6;
  5839. _.errorCallback = t7;
  5840. _.scheduleMicrotask = t8;
  5841. _.createTimer = t9;
  5842. _.createPeriodicTimer = t10;
  5843. _.print = t11;
  5844. _.fork = t12;
  5845. },
  5846. _ZoneDelegate: function _ZoneDelegate(t0) {
  5847. this._delegationTarget = t0;
  5848. },
  5849. _Zone: function _Zone() {
  5850. },
  5851. _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  5852. var _ = this;
  5853. _._run = t0;
  5854. _._runUnary = t1;
  5855. _._runBinary = t2;
  5856. _._registerCallback = t3;
  5857. _._registerUnaryCallback = t4;
  5858. _._registerBinaryCallback = t5;
  5859. _._errorCallback = t6;
  5860. _._scheduleMicrotask = t7;
  5861. _._createTimer = t8;
  5862. _._createPeriodicTimer = t9;
  5863. _._print = t10;
  5864. _._fork = t11;
  5865. _._handleUncaughtError = t12;
  5866. _._delegateCache = null;
  5867. _.parent = t13;
  5868. _._async$_map = t14;
  5869. },
  5870. _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
  5871. this.$this = t0;
  5872. this.registered = t1;
  5873. this.R = t2;
  5874. },
  5875. _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  5876. var _ = this;
  5877. _.$this = t0;
  5878. _.registered = t1;
  5879. _.T = t2;
  5880. _.R = t3;
  5881. },
  5882. _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
  5883. this.$this = t0;
  5884. this.registered = t1;
  5885. },
  5886. _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
  5887. this.error = t0;
  5888. this.stackTrace = t1;
  5889. },
  5890. _RootZone: function _RootZone() {
  5891. },
  5892. _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
  5893. this.$this = t0;
  5894. this.f = t1;
  5895. this.R = t2;
  5896. },
  5897. _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  5898. var _ = this;
  5899. _.$this = t0;
  5900. _.f = t1;
  5901. _.T = t2;
  5902. _.R = t3;
  5903. },
  5904. _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
  5905. this.$this = t0;
  5906. this.f = t1;
  5907. },
  5908. HashMap_HashMap($K, $V) {
  5909. return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
  5910. },
  5911. _HashMap__getTableEntry(table, key) {
  5912. var entry = table[key];
  5913. return entry === table ? null : entry;
  5914. },
  5915. _HashMap__setTableEntry(table, key, value) {
  5916. if (value == null)
  5917. table[key] = table;
  5918. else
  5919. table[key] = value;
  5920. },
  5921. _HashMap__newHashTable() {
  5922. var table = Object.create(null);
  5923. A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
  5924. delete table["<non-identifier-key>"];
  5925. return table;
  5926. },
  5927. LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
  5928. if (isValidKey == null)
  5929. if (hashCode == null) {
  5930. if (equals == null)
  5931. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  5932. hashCode = A.collection___defaultHashCode$closure();
  5933. } else {
  5934. if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
  5935. return new A.JsIdentityLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsIdentityLinkedHashMap<1,2>"));
  5936. if (equals == null)
  5937. equals = A.collection___defaultEquals$closure();
  5938. }
  5939. else {
  5940. if (hashCode == null)
  5941. hashCode = A.collection___defaultHashCode$closure();
  5942. if (equals == null)
  5943. equals = A.collection___defaultEquals$closure();
  5944. }
  5945. return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
  5946. },
  5947. LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
  5948. return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
  5949. },
  5950. LinkedHashMap_LinkedHashMap$_empty($K, $V) {
  5951. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  5952. },
  5953. _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
  5954. var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
  5955. return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
  5956. },
  5957. LinkedHashSet_LinkedHashSet($E) {
  5958. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  5959. },
  5960. LinkedHashSet_LinkedHashSet$_empty($E) {
  5961. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  5962. },
  5963. LinkedHashSet_LinkedHashSet$_literal(values, $E) {
  5964. return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
  5965. },
  5966. _LinkedHashSet__newHashTable() {
  5967. var table = Object.create(null);
  5968. table["<non-identifier-key>"] = table;
  5969. delete table["<non-identifier-key>"];
  5970. return table;
  5971. },
  5972. _LinkedHashSetIterator$(_set, _modifications, $E) {
  5973. var t1 = new A._LinkedHashSetIterator(_set, _modifications, $E._eval$1("_LinkedHashSetIterator<0>"));
  5974. t1._cell = _set._first;
  5975. return t1;
  5976. },
  5977. UnmodifiableListView$(source, $E) {
  5978. return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
  5979. },
  5980. _defaultEquals(a, b) {
  5981. return J.$eq$(a, b);
  5982. },
  5983. _defaultHashCode(a) {
  5984. return J.get$hashCode$(a);
  5985. },
  5986. HashMap_HashMap$from(other, $K, $V) {
  5987. var result = A.HashMap_HashMap($K, $V);
  5988. other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
  5989. return result;
  5990. },
  5991. IterableExtensions_get_firstOrNull(_this) {
  5992. var t2,
  5993. t1 = A._arrayInstanceType(_this),
  5994. iterator = new J.ArrayIterator(_this, _this.length, t1._eval$1("ArrayIterator<1>"));
  5995. if (iterator.moveNext$0()) {
  5996. t2 = iterator._current;
  5997. return t2 == null ? t1._precomputed1._as(t2) : t2;
  5998. }
  5999. return null;
  6000. },
  6001. LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
  6002. var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  6003. other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
  6004. return result;
  6005. },
  6006. LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
  6007. var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  6008. t1.addAll$1(0, other);
  6009. return t1;
  6010. },
  6011. LinkedHashSet_LinkedHashSet$from(elements, $E) {
  6012. var t1, _i,
  6013. result = A.LinkedHashSet_LinkedHashSet($E);
  6014. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  6015. result.add$1(0, $E._as(elements[_i]));
  6016. return result;
  6017. },
  6018. LinkedHashSet_LinkedHashSet$of(elements, $E) {
  6019. var t1 = A.LinkedHashSet_LinkedHashSet($E);
  6020. t1.addAll$1(0, elements);
  6021. return t1;
  6022. },
  6023. ListBase__compareAny(a, b) {
  6024. var t1 = type$.Comparable_dynamic;
  6025. return J.compareTo$1$ns(t1._as(a), t1._as(b));
  6026. },
  6027. MapBase_mapToString(m) {
  6028. var result, t1;
  6029. if (A.isToStringVisiting(m))
  6030. return "{...}";
  6031. result = new A.StringBuffer("");
  6032. try {
  6033. t1 = {};
  6034. $.toStringVisiting.push(m);
  6035. result._contents += "{";
  6036. t1.first = true;
  6037. m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
  6038. result._contents += "}";
  6039. } finally {
  6040. $.toStringVisiting.pop();
  6041. }
  6042. t1 = result._contents;
  6043. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6044. },
  6045. MapBase__fillMapWithIterables(map, keys, values) {
  6046. var keyIterator = keys.get$iterator(keys),
  6047. valueIterator = values.get$iterator(values),
  6048. hasNextKey = keyIterator.moveNext$0(),
  6049. hasNextValue = valueIterator.moveNext$0();
  6050. while (true) {
  6051. if (!(hasNextKey && hasNextValue))
  6052. break;
  6053. map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
  6054. hasNextKey = keyIterator.moveNext$0();
  6055. hasNextValue = valueIterator.moveNext$0();
  6056. }
  6057. if (hasNextKey || hasNextValue)
  6058. throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
  6059. },
  6060. ListQueue$($E) {
  6061. return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
  6062. },
  6063. ListQueue__calculateCapacity(initialCapacity) {
  6064. return 8;
  6065. },
  6066. ListQueue__nextPowerOf2(number) {
  6067. var nextNumber;
  6068. number = (number << 1 >>> 0) - 1;
  6069. for (; true; number = nextNumber) {
  6070. nextNumber = (number & number - 1) >>> 0;
  6071. if (nextNumber === 0)
  6072. return number;
  6073. }
  6074. },
  6075. _ListQueueIterator$(queue, $E) {
  6076. return new A._ListQueueIterator(queue, queue._tail, queue._modificationCount, queue._head, $E._eval$1("_ListQueueIterator<0>"));
  6077. },
  6078. _UnmodifiableSetMixin__throwUnmodifiable() {
  6079. throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
  6080. },
  6081. _HashMap: function _HashMap(t0) {
  6082. var _ = this;
  6083. _._collection$_length = 0;
  6084. _._collection$_keys = _._collection$_rest = _._nums = _._strings = null;
  6085. _.$ti = t0;
  6086. },
  6087. _HashMap_values_closure: function _HashMap_values_closure(t0) {
  6088. this.$this = t0;
  6089. },
  6090. _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
  6091. this.$this = t0;
  6092. },
  6093. _IdentityHashMap: function _IdentityHashMap(t0) {
  6094. var _ = this;
  6095. _._collection$_length = 0;
  6096. _._collection$_keys = _._collection$_rest = _._nums = _._strings = null;
  6097. _.$ti = t0;
  6098. },
  6099. _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
  6100. this._map = t0;
  6101. this.$ti = t1;
  6102. },
  6103. _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1, t2) {
  6104. var _ = this;
  6105. _._map = t0;
  6106. _._collection$_keys = t1;
  6107. _._offset = 0;
  6108. _._collection$_current = null;
  6109. _.$ti = t2;
  6110. },
  6111. _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
  6112. var _ = this;
  6113. _._equals = t0;
  6114. _._hashCode = t1;
  6115. _._validKey = t2;
  6116. _.__js_helper$_length = 0;
  6117. _.__js_helper$_last = _.__js_helper$_first = _.__js_helper$_rest = _.__js_helper$_nums = _.__js_helper$_strings = null;
  6118. _.__js_helper$_modifications = 0;
  6119. _.$ti = t3;
  6120. },
  6121. _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
  6122. this.K = t0;
  6123. },
  6124. _LinkedHashSet: function _LinkedHashSet(t0) {
  6125. var _ = this;
  6126. _._collection$_length = 0;
  6127. _._last = _._first = _._collection$_rest = _._nums = _._strings = null;
  6128. _._modifications = 0;
  6129. _.$ti = t0;
  6130. },
  6131. _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
  6132. var _ = this;
  6133. _._collection$_length = 0;
  6134. _._last = _._first = _._collection$_rest = _._nums = _._strings = null;
  6135. _._modifications = 0;
  6136. _.$ti = t0;
  6137. },
  6138. _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
  6139. this._element = t0;
  6140. this._previous = this._next = null;
  6141. },
  6142. _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1, t2) {
  6143. var _ = this;
  6144. _._set = t0;
  6145. _._modifications = t1;
  6146. _._collection$_current = _._cell = null;
  6147. _.$ti = t2;
  6148. },
  6149. UnmodifiableListView: function UnmodifiableListView(t0, t1) {
  6150. this._collection$_source = t0;
  6151. this.$ti = t1;
  6152. },
  6153. HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
  6154. this.result = t0;
  6155. this.K = t1;
  6156. this.V = t2;
  6157. },
  6158. LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
  6159. this.result = t0;
  6160. this.K = t1;
  6161. this.V = t2;
  6162. },
  6163. ListBase: function ListBase() {
  6164. },
  6165. MapBase: function MapBase() {
  6166. },
  6167. MapBase_addAll_closure: function MapBase_addAll_closure(t0) {
  6168. this.$this = t0;
  6169. },
  6170. MapBase_entries_closure: function MapBase_entries_closure(t0) {
  6171. this.$this = t0;
  6172. },
  6173. MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
  6174. this._box_0 = t0;
  6175. this.result = t1;
  6176. },
  6177. UnmodifiableMapBase: function UnmodifiableMapBase() {
  6178. },
  6179. _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
  6180. this._map = t0;
  6181. this.$ti = t1;
  6182. },
  6183. _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1, t2) {
  6184. var _ = this;
  6185. _._collection$_keys = t0;
  6186. _._map = t1;
  6187. _._collection$_current = null;
  6188. _.$ti = t2;
  6189. },
  6190. _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
  6191. },
  6192. MapView: function MapView() {
  6193. },
  6194. UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
  6195. this._map = t0;
  6196. this.$ti = t1;
  6197. },
  6198. ListQueue: function ListQueue(t0, t1) {
  6199. var _ = this;
  6200. _._table = t0;
  6201. _._modificationCount = _._tail = _._head = 0;
  6202. _.$ti = t1;
  6203. },
  6204. _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3, t4) {
  6205. var _ = this;
  6206. _._queue = t0;
  6207. _._collection$_end = t1;
  6208. _._modificationCount = t2;
  6209. _._collection$_position = t3;
  6210. _._collection$_current = null;
  6211. _.$ti = t4;
  6212. },
  6213. SetBase: function SetBase() {
  6214. },
  6215. _SetBase: function _SetBase() {
  6216. },
  6217. _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
  6218. },
  6219. UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
  6220. this._collection$_source = t0;
  6221. this.$ti = t1;
  6222. },
  6223. _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
  6224. },
  6225. _UnmodifiableSetView_SetBase__UnmodifiableSetMixin: function _UnmodifiableSetView_SetBase__UnmodifiableSetMixin() {
  6226. },
  6227. _parseJson(source, reviver) {
  6228. var e, exception, t1, parsed = null;
  6229. try {
  6230. parsed = JSON.parse(source);
  6231. } catch (exception) {
  6232. e = A.unwrapException(exception);
  6233. t1 = A.FormatException$(String(e), null, null);
  6234. throw A.wrapException(t1);
  6235. }
  6236. t1 = A._convertJsonToDartLazy(parsed);
  6237. return t1;
  6238. },
  6239. _convertJsonToDartLazy(object) {
  6240. var i;
  6241. if (object == null)
  6242. return null;
  6243. if (typeof object != "object")
  6244. return object;
  6245. if (!Array.isArray(object))
  6246. return new A._JsonMap(object, Object.create(null));
  6247. for (i = 0; i < object.length; ++i)
  6248. object[i] = A._convertJsonToDartLazy(object[i]);
  6249. return object;
  6250. },
  6251. _Utf8Decoder__makeNativeUint8List(codeUnits, start, end) {
  6252. var bytes, t1, i, b,
  6253. $length = end - start;
  6254. if ($length <= 4096)
  6255. bytes = $.$get$_Utf8Decoder__reusableBuffer();
  6256. else
  6257. bytes = new Uint8Array($length);
  6258. for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
  6259. b = t1.$index(codeUnits, start + i);
  6260. if ((b & 255) !== b)
  6261. b = 255;
  6262. bytes[i] = b;
  6263. }
  6264. return bytes;
  6265. },
  6266. _Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
  6267. var decoder = allowMalformed ? $.$get$_Utf8Decoder__decoderNonfatal() : $.$get$_Utf8Decoder__decoder();
  6268. if (decoder == null)
  6269. return null;
  6270. if (0 === start && end === codeUnits.length)
  6271. return A._Utf8Decoder__useTextDecoder(decoder, codeUnits);
  6272. return A._Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, end));
  6273. },
  6274. _Utf8Decoder__useTextDecoder(decoder, codeUnits) {
  6275. var t1, exception;
  6276. try {
  6277. t1 = decoder.decode(codeUnits);
  6278. return t1;
  6279. } catch (exception) {
  6280. }
  6281. return null;
  6282. },
  6283. Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
  6284. if (B.JSInt_methods.$mod($length, 4) !== 0)
  6285. throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
  6286. if (firstPadding + paddingCount !== $length)
  6287. throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
  6288. if (paddingCount > 2)
  6289. throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
  6290. },
  6291. _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
  6292. var t1, t2, i, byteOr, byte, outputIndex0, outputIndex1,
  6293. bits = state >>> 2,
  6294. expectedChars = 3 - (state & 3);
  6295. for (t1 = J.getInterceptor$asx(bytes), t2 = output.$flags | 0, i = start, byteOr = 0; i < end; ++i) {
  6296. byte = t1.$index(bytes, i);
  6297. byteOr = (byteOr | byte) >>> 0;
  6298. bits = (bits << 8 | byte) & 16777215;
  6299. --expectedChars;
  6300. if (expectedChars === 0) {
  6301. outputIndex0 = outputIndex + 1;
  6302. t2 & 2 && A.throwUnsupportedOperation(output);
  6303. output[outputIndex] = alphabet.charCodeAt(bits >>> 18 & 63);
  6304. outputIndex = outputIndex0 + 1;
  6305. output[outputIndex0] = alphabet.charCodeAt(bits >>> 12 & 63);
  6306. outputIndex0 = outputIndex + 1;
  6307. output[outputIndex] = alphabet.charCodeAt(bits >>> 6 & 63);
  6308. outputIndex = outputIndex0 + 1;
  6309. output[outputIndex0] = alphabet.charCodeAt(bits & 63);
  6310. bits = 0;
  6311. expectedChars = 3;
  6312. }
  6313. }
  6314. if (byteOr >= 0 && byteOr <= 255) {
  6315. if (isLast && expectedChars < 3) {
  6316. outputIndex0 = outputIndex + 1;
  6317. outputIndex1 = outputIndex0 + 1;
  6318. if (3 - expectedChars === 1) {
  6319. t2 & 2 && A.throwUnsupportedOperation(output);
  6320. output[outputIndex] = alphabet.charCodeAt(bits >>> 2 & 63);
  6321. output[outputIndex0] = alphabet.charCodeAt(bits << 4 & 63);
  6322. output[outputIndex1] = 61;
  6323. output[outputIndex1 + 1] = 61;
  6324. } else {
  6325. t2 & 2 && A.throwUnsupportedOperation(output);
  6326. output[outputIndex] = alphabet.charCodeAt(bits >>> 10 & 63);
  6327. output[outputIndex0] = alphabet.charCodeAt(bits >>> 4 & 63);
  6328. output[outputIndex1] = alphabet.charCodeAt(bits << 2 & 63);
  6329. output[outputIndex1 + 1] = 61;
  6330. }
  6331. return 0;
  6332. }
  6333. return (bits << 2 | 3 - expectedChars) >>> 0;
  6334. }
  6335. for (i = start; i < end;) {
  6336. byte = t1.$index(bytes, i);
  6337. if (byte < 0 || byte > 255)
  6338. break;
  6339. ++i;
  6340. }
  6341. 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));
  6342. },
  6343. JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
  6344. return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
  6345. },
  6346. _defaultToEncodable(object) {
  6347. return object.toJson$0();
  6348. },
  6349. _JsonStringStringifier$(_sink, _toEncodable) {
  6350. return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
  6351. },
  6352. _JsonStringStringifier_stringify(object, toEncodable, indent) {
  6353. var t1,
  6354. output = new A.StringBuffer(""),
  6355. stringifier = A._JsonStringStringifier$(output, toEncodable);
  6356. stringifier.writeObject$1(object);
  6357. t1 = output._contents;
  6358. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6359. },
  6360. _Utf8Decoder_errorDescription(state) {
  6361. switch (state) {
  6362. case 65:
  6363. return "Missing extension byte";
  6364. case 67:
  6365. return "Unexpected extension byte";
  6366. case 69:
  6367. return "Invalid UTF-8 byte";
  6368. case 71:
  6369. return "Overlong encoding";
  6370. case 73:
  6371. return "Out of unicode range";
  6372. case 75:
  6373. return "Encoded surrogate";
  6374. case 77:
  6375. return "Unfinished UTF-8 octet sequence";
  6376. default:
  6377. return "";
  6378. }
  6379. },
  6380. _JsonMap: function _JsonMap(t0, t1) {
  6381. this._original = t0;
  6382. this._processed = t1;
  6383. this._data = null;
  6384. },
  6385. _JsonMap_values_closure: function _JsonMap_values_closure(t0) {
  6386. this.$this = t0;
  6387. },
  6388. _JsonMap_addAll_closure: function _JsonMap_addAll_closure(t0) {
  6389. this.$this = t0;
  6390. },
  6391. _JsonMapKeyIterable: function _JsonMapKeyIterable(t0) {
  6392. this._convert$_parent = t0;
  6393. },
  6394. _Utf8Decoder__decoder_closure: function _Utf8Decoder__decoder_closure() {
  6395. },
  6396. _Utf8Decoder__decoderNonfatal_closure: function _Utf8Decoder__decoderNonfatal_closure() {
  6397. },
  6398. AsciiCodec: function AsciiCodec() {
  6399. },
  6400. _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
  6401. },
  6402. AsciiEncoder: function AsciiEncoder(t0) {
  6403. this._subsetMask = t0;
  6404. },
  6405. Base64Codec: function Base64Codec() {
  6406. },
  6407. Base64Encoder: function Base64Encoder() {
  6408. },
  6409. _Base64Encoder: function _Base64Encoder(t0) {
  6410. this._convert$_state = 0;
  6411. this._alphabet = t0;
  6412. },
  6413. _Base64EncoderSink: function _Base64EncoderSink() {
  6414. },
  6415. _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
  6416. this._sink = t0;
  6417. this._encoder = t1;
  6418. },
  6419. ByteConversionSink: function ByteConversionSink() {
  6420. },
  6421. Codec: function Codec() {
  6422. },
  6423. Converter: function Converter() {
  6424. },
  6425. Encoding: function Encoding() {
  6426. },
  6427. JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
  6428. this.unsupportedObject = t0;
  6429. this.cause = t1;
  6430. },
  6431. JsonCyclicError: function JsonCyclicError(t0, t1) {
  6432. this.unsupportedObject = t0;
  6433. this.cause = t1;
  6434. },
  6435. JsonCodec: function JsonCodec() {
  6436. },
  6437. JsonEncoder: function JsonEncoder(t0) {
  6438. this._toEncodable = t0;
  6439. },
  6440. JsonDecoder: function JsonDecoder(t0) {
  6441. this._reviver = t0;
  6442. },
  6443. _JsonStringifier: function _JsonStringifier() {
  6444. },
  6445. _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
  6446. this._box_0 = t0;
  6447. this.keyValueList = t1;
  6448. },
  6449. _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
  6450. this._sink = t0;
  6451. this._seen = t1;
  6452. this._toEncodable = t2;
  6453. },
  6454. StringConversionSink: function StringConversionSink() {
  6455. },
  6456. _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
  6457. this._stringSink = t0;
  6458. },
  6459. _StringCallbackSink: function _StringCallbackSink(t0, t1) {
  6460. this._convert$_callback = t0;
  6461. this._stringSink = t1;
  6462. },
  6463. _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
  6464. this._decoder = t0;
  6465. this._sink = t1;
  6466. this._stringSink = t2;
  6467. },
  6468. Utf8Codec: function Utf8Codec() {
  6469. },
  6470. Utf8Encoder: function Utf8Encoder() {
  6471. },
  6472. _Utf8Encoder: function _Utf8Encoder(t0) {
  6473. this._bufferIndex = 0;
  6474. this._buffer = t0;
  6475. },
  6476. Utf8Decoder: function Utf8Decoder(t0) {
  6477. this._allowMalformed = t0;
  6478. },
  6479. _Utf8Decoder: function _Utf8Decoder(t0) {
  6480. this.allowMalformed = t0;
  6481. this._convert$_state = 16;
  6482. this._charOrIndex = 0;
  6483. },
  6484. identityHashCode(object) {
  6485. return A.objectHashCode(object);
  6486. },
  6487. Function_apply($function, positionalArguments) {
  6488. return A.Primitives_applyFunction($function, positionalArguments, null);
  6489. },
  6490. Expando$() {
  6491. return new A.Expando(new WeakMap());
  6492. },
  6493. Expando__checkType(object) {
  6494. if (A._isBool(object) || typeof object == "number" || typeof object == "string" || object instanceof A._Record)
  6495. A.Expando__badExpandoKey(object);
  6496. },
  6497. Expando__badExpandoKey(object) {
  6498. throw A.wrapException(A.ArgumentError$value(object, "object", "Expandos are not allowed on strings, numbers, bools, records or null"));
  6499. },
  6500. int_parse(source, radix) {
  6501. var value = A.Primitives_parseInt(source, radix);
  6502. if (value != null)
  6503. return value;
  6504. throw A.wrapException(A.FormatException$(source, null, null));
  6505. },
  6506. double_parse(source) {
  6507. var value = A.Primitives_parseDouble(source);
  6508. if (value != null)
  6509. return value;
  6510. throw A.wrapException(A.FormatException$("Invalid double", source, null));
  6511. },
  6512. Error__throw(error, stackTrace) {
  6513. error = A.wrapException(error);
  6514. error.stack = stackTrace.toString$0(0);
  6515. throw error;
  6516. throw A.wrapException("unreachable");
  6517. },
  6518. List_List$filled($length, fill, growable, $E) {
  6519. var i,
  6520. result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
  6521. if ($length !== 0 && fill != null)
  6522. for (i = 0; i < result.length; ++i)
  6523. result[i] = fill;
  6524. return result;
  6525. },
  6526. List_List$from(elements, growable, $E) {
  6527. var t1,
  6528. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  6529. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  6530. list.push(t1.get$current(t1));
  6531. if (growable)
  6532. return list;
  6533. list.$flags = 1;
  6534. return list;
  6535. },
  6536. List_List$of(elements, growable, $E) {
  6537. var t1;
  6538. if (growable)
  6539. return A.List_List$_of(elements, $E);
  6540. t1 = A.List_List$_of(elements, $E);
  6541. t1.$flags = 1;
  6542. return t1;
  6543. },
  6544. List_List$_of(elements, $E) {
  6545. var list, t1;
  6546. if (Array.isArray(elements))
  6547. return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
  6548. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  6549. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  6550. list.push(t1.get$current(t1));
  6551. return list;
  6552. },
  6553. List_List$unmodifiable(elements, $E) {
  6554. var result = A.List_List$from(elements, false, $E);
  6555. result.$flags = 3;
  6556. return result;
  6557. },
  6558. String_String$fromCharCodes(charCodes, start, end) {
  6559. var t1, t2, maxLength, array, len;
  6560. A.RangeError_checkNotNegative(start, "start");
  6561. t1 = end == null;
  6562. t2 = !t1;
  6563. if (t2) {
  6564. maxLength = end - start;
  6565. if (maxLength < 0)
  6566. throw A.wrapException(A.RangeError$range(end, start, null, "end", null));
  6567. if (maxLength === 0)
  6568. return "";
  6569. }
  6570. if (Array.isArray(charCodes)) {
  6571. array = charCodes;
  6572. len = array.length;
  6573. if (t1)
  6574. end = len;
  6575. return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
  6576. }
  6577. if (type$.NativeUint8List._is(charCodes))
  6578. return A.String__stringFromUint8List(charCodes, start, end);
  6579. if (t2)
  6580. charCodes = J.take$1$ax(charCodes, end);
  6581. if (start > 0)
  6582. charCodes = J.skip$1$ax(charCodes, start);
  6583. return A.Primitives_stringFromCharCodes(A.List_List$of(charCodes, true, type$.int));
  6584. },
  6585. String_String$fromCharCode(charCode) {
  6586. return A.Primitives_stringFromCharCode(charCode);
  6587. },
  6588. String__stringFromUint8List(charCodes, start, endOrNull) {
  6589. var len = charCodes.length;
  6590. if (start >= len)
  6591. return "";
  6592. return A.Primitives_stringFromNativeUint8List(charCodes, start, endOrNull == null || endOrNull > len ? len : endOrNull);
  6593. },
  6594. RegExp_RegExp(source, multiLine) {
  6595. return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, false));
  6596. },
  6597. identical(a, b) {
  6598. return a == null ? b == null : a === b;
  6599. },
  6600. StringBuffer__writeAll(string, objects, separator) {
  6601. var iterator = J.get$iterator$ax(objects);
  6602. if (!iterator.moveNext$0())
  6603. return string;
  6604. if (separator.length === 0) {
  6605. do
  6606. string += A.S(iterator.get$current(iterator));
  6607. while (iterator.moveNext$0());
  6608. } else {
  6609. string += A.S(iterator.get$current(iterator));
  6610. for (; iterator.moveNext$0();)
  6611. string = string + separator + A.S(iterator.get$current(iterator));
  6612. }
  6613. return string;
  6614. },
  6615. NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation) {
  6616. return new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments());
  6617. },
  6618. Uri_base() {
  6619. var cachedUri, uri,
  6620. current = A.Primitives_currentUri();
  6621. if (current == null)
  6622. throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
  6623. cachedUri = $.Uri__cachedBaseUri;
  6624. if (cachedUri != null && current === $.Uri__cachedBaseString)
  6625. return cachedUri;
  6626. uri = A.Uri_parse(current);
  6627. $.Uri__cachedBaseUri = uri;
  6628. $.Uri__cachedBaseString = current;
  6629. return uri;
  6630. },
  6631. _Uri__uriEncode(canonicalMask, text, encoding, spaceToPlus) {
  6632. var t1, bytes, i, t2, byte,
  6633. _s16_ = "0123456789ABCDEF";
  6634. if (encoding === B.C_Utf8Codec) {
  6635. t1 = $.$get$_Uri__needsNoEncoding();
  6636. t1 = t1._nativeRegExp.test(text);
  6637. } else
  6638. t1 = false;
  6639. if (t1)
  6640. return text;
  6641. bytes = B.C_Utf8Encoder.convert$1(text);
  6642. for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
  6643. byte = bytes[i];
  6644. if (byte < 128 && (string$.x00_____.charCodeAt(byte) & canonicalMask) !== 0)
  6645. t2 += A.Primitives_stringFromCharCode(byte);
  6646. else
  6647. t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
  6648. }
  6649. return t2.charCodeAt(0) == 0 ? t2 : t2;
  6650. },
  6651. StackTrace_current() {
  6652. return A.getTraceFromException(new Error());
  6653. },
  6654. DateTime__fourDigits(n) {
  6655. var absN = Math.abs(n),
  6656. sign = n < 0 ? "-" : "";
  6657. if (absN >= 1000)
  6658. return "" + n;
  6659. if (absN >= 100)
  6660. return sign + "0" + absN;
  6661. if (absN >= 10)
  6662. return sign + "00" + absN;
  6663. return sign + "000" + absN;
  6664. },
  6665. DateTime__threeDigits(n) {
  6666. if (n >= 100)
  6667. return "" + n;
  6668. if (n >= 10)
  6669. return "0" + n;
  6670. return "00" + n;
  6671. },
  6672. DateTime__twoDigits(n) {
  6673. if (n >= 10)
  6674. return "" + n;
  6675. return "0" + n;
  6676. },
  6677. Duration$(microseconds, milliseconds) {
  6678. return new A.Duration(microseconds + 1000 * milliseconds);
  6679. },
  6680. EnumByName_byName(_this, $name) {
  6681. var _i, value;
  6682. for (_i = 0; _i < 4; ++_i) {
  6683. value = _this[_i];
  6684. if (value._name === $name)
  6685. return value;
  6686. }
  6687. throw A.wrapException(A.ArgumentError$value($name, "name", "No enum value with that name"));
  6688. },
  6689. Error_safeToString(object) {
  6690. if (typeof object == "number" || A._isBool(object) || object == null)
  6691. return J.toString$0$(object);
  6692. if (typeof object == "string")
  6693. return JSON.stringify(object);
  6694. return A.Primitives_safeToString(object);
  6695. },
  6696. Error_throwWithStackTrace(error, stackTrace) {
  6697. A.checkNotNullable(error, "error", type$.Object);
  6698. A.checkNotNullable(stackTrace, "stackTrace", type$.StackTrace);
  6699. A.Error__throw(error, stackTrace);
  6700. },
  6701. AssertionError$(message) {
  6702. return new A.AssertionError(message);
  6703. },
  6704. ArgumentError$(message, $name) {
  6705. return new A.ArgumentError(false, null, $name, message);
  6706. },
  6707. ArgumentError$value(value, $name, message) {
  6708. return new A.ArgumentError(true, value, $name, message);
  6709. },
  6710. ArgumentError_checkNotNull(argument, $name) {
  6711. return argument;
  6712. },
  6713. RangeError$(message) {
  6714. var _null = null;
  6715. return new A.RangeError(_null, _null, false, _null, _null, message);
  6716. },
  6717. RangeError$value(value, $name, message) {
  6718. return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
  6719. },
  6720. RangeError$range(invalidValue, minValue, maxValue, $name, message) {
  6721. return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
  6722. },
  6723. RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
  6724. if (value < minValue || value > maxValue)
  6725. throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
  6726. return value;
  6727. },
  6728. RangeError_checkValidRange(start, end, $length) {
  6729. if (0 > start || start > $length)
  6730. throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
  6731. if (end != null) {
  6732. if (start > end || end > $length)
  6733. throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
  6734. return end;
  6735. }
  6736. return $length;
  6737. },
  6738. RangeError_checkNotNegative(value, $name) {
  6739. if (value < 0)
  6740. throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
  6741. return value;
  6742. },
  6743. IndexError$withLength(invalidValue, $length, indexable, message, $name) {
  6744. return new A.IndexError($length, true, invalidValue, $name, "Index out of range");
  6745. },
  6746. IndexError_check(index, $length, indexable, message, $name) {
  6747. if (0 > index || index >= $length)
  6748. throw A.wrapException(A.IndexError$withLength(index, $length, indexable, message, $name == null ? "index" : $name));
  6749. return index;
  6750. },
  6751. UnsupportedError$(message) {
  6752. return new A.UnsupportedError(message);
  6753. },
  6754. UnimplementedError$(message) {
  6755. return new A.UnimplementedError(message);
  6756. },
  6757. StateError$(message) {
  6758. return new A.StateError(message);
  6759. },
  6760. ConcurrentModificationError$(modifiedObject) {
  6761. return new A.ConcurrentModificationError(modifiedObject);
  6762. },
  6763. FormatException$(message, source, offset) {
  6764. return new A.FormatException(message, source, offset);
  6765. },
  6766. Iterable_Iterable$generate(count, generator, $E) {
  6767. if (count <= 0)
  6768. return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
  6769. return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
  6770. },
  6771. Iterable_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
  6772. var parts, t1;
  6773. if (A.isToStringVisiting(iterable)) {
  6774. if (leftDelimiter === "(" && rightDelimiter === ")")
  6775. return "(...)";
  6776. return leftDelimiter + "..." + rightDelimiter;
  6777. }
  6778. parts = A._setArrayType([], type$.JSArray_String);
  6779. $.toStringVisiting.push(iterable);
  6780. try {
  6781. A._iterablePartsToStrings(iterable, parts);
  6782. } finally {
  6783. $.toStringVisiting.pop();
  6784. }
  6785. t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
  6786. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6787. },
  6788. Iterable_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
  6789. var buffer, t1;
  6790. if (A.isToStringVisiting(iterable))
  6791. return leftDelimiter + "..." + rightDelimiter;
  6792. buffer = new A.StringBuffer(leftDelimiter);
  6793. $.toStringVisiting.push(iterable);
  6794. try {
  6795. t1 = buffer;
  6796. t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
  6797. } finally {
  6798. $.toStringVisiting.pop();
  6799. }
  6800. buffer._contents += rightDelimiter;
  6801. t1 = buffer._contents;
  6802. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6803. },
  6804. _iterablePartsToStrings(iterable, parts) {
  6805. var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
  6806. it = iterable.get$iterator(iterable),
  6807. $length = 0, count = 0;
  6808. while (true) {
  6809. if (!($length < 80 || count < 3))
  6810. break;
  6811. if (!it.moveNext$0())
  6812. return;
  6813. next = A.S(it.get$current(it));
  6814. parts.push(next);
  6815. $length += next.length + 2;
  6816. ++count;
  6817. }
  6818. if (!it.moveNext$0()) {
  6819. if (count <= 5)
  6820. return;
  6821. ultimateString = parts.pop();
  6822. penultimateString = parts.pop();
  6823. } else {
  6824. penultimate = it.get$current(it);
  6825. ++count;
  6826. if (!it.moveNext$0()) {
  6827. if (count <= 4) {
  6828. parts.push(A.S(penultimate));
  6829. return;
  6830. }
  6831. ultimateString = A.S(penultimate);
  6832. penultimateString = parts.pop();
  6833. $length += ultimateString.length + 2;
  6834. } else {
  6835. ultimate = it.get$current(it);
  6836. ++count;
  6837. for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
  6838. ultimate0 = it.get$current(it);
  6839. ++count;
  6840. if (count > 100) {
  6841. while (true) {
  6842. if (!($length > 75 && count > 3))
  6843. break;
  6844. $length -= parts.pop().length + 2;
  6845. --count;
  6846. }
  6847. parts.push("...");
  6848. return;
  6849. }
  6850. }
  6851. penultimateString = A.S(penultimate);
  6852. ultimateString = A.S(ultimate);
  6853. $length += ultimateString.length + penultimateString.length + 4;
  6854. }
  6855. }
  6856. if (count > parts.length + 2) {
  6857. $length += 5;
  6858. elision = "...";
  6859. } else
  6860. elision = null;
  6861. while (true) {
  6862. if (!($length > 80 && parts.length > 3))
  6863. break;
  6864. $length -= parts.pop().length + 2;
  6865. if (elision == null) {
  6866. $length += 5;
  6867. elision = "...";
  6868. }
  6869. }
  6870. if (elision != null)
  6871. parts.push(elision);
  6872. parts.push(penultimateString);
  6873. parts.push(ultimateString);
  6874. },
  6875. Map_castFrom(source, $K, $V, K2, V2) {
  6876. 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>"));
  6877. },
  6878. Object_hash(object1, object2, object3, object4) {
  6879. var t1;
  6880. if (B.C_SentinelValue === object3) {
  6881. t1 = J.get$hashCode$(object1);
  6882. object2 = J.get$hashCode$(object2);
  6883. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
  6884. }
  6885. if (B.C_SentinelValue === object4) {
  6886. t1 = J.get$hashCode$(object1);
  6887. object2 = J.get$hashCode$(object2);
  6888. object3 = J.get$hashCode$(object3);
  6889. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3));
  6890. }
  6891. t1 = J.get$hashCode$(object1);
  6892. object2 = J.get$hashCode$(object2);
  6893. object3 = J.get$hashCode$(object3);
  6894. object4 = J.get$hashCode$(object4);
  6895. object4 = A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4));
  6896. return object4;
  6897. },
  6898. Object_hashAll(objects) {
  6899. var t1, _i,
  6900. hash = $.$get$_hashSeed();
  6901. for (t1 = objects.length, _i = 0; _i < objects.length; objects.length === t1 || (0, A.throwConcurrentModificationError)(objects), ++_i)
  6902. hash = A.SystemHash_combine(hash, J.get$hashCode$(objects[_i]));
  6903. return A.SystemHash_finish(hash);
  6904. },
  6905. print(object) {
  6906. var line = A.S(object),
  6907. toZone = $.printToZone;
  6908. if (toZone == null)
  6909. A.printString(line);
  6910. else
  6911. toZone.call$1(line);
  6912. },
  6913. Set_Set$unmodifiable(elements, $E) {
  6914. return new A.UnmodifiableSetView(A.LinkedHashSet_LinkedHashSet$of(elements, $E), $E._eval$1("UnmodifiableSetView<0>"));
  6915. },
  6916. Set_castFrom(source, newSet, $S, $T) {
  6917. return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
  6918. },
  6919. _combineSurrogatePair(start, end) {
  6920. return 65536 + ((start & 1023) << 10) + (end & 1023);
  6921. },
  6922. Uri_Uri$dataFromString($content, encoding, mimeType) {
  6923. var encodingName, t1,
  6924. buffer = new A.StringBuffer(""),
  6925. indices = A._setArrayType([-1], type$.JSArray_int);
  6926. if (encoding == null)
  6927. encodingName = null;
  6928. else
  6929. encodingName = "utf-8";
  6930. if (encoding == null)
  6931. encoding = B.C_AsciiCodec;
  6932. A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
  6933. indices.push(buffer._contents.length);
  6934. buffer._contents += ",";
  6935. A.UriData__uriEncodeBytes(256, encoding.encode$1($content), buffer);
  6936. t1 = buffer._contents;
  6937. return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
  6938. },
  6939. Uri_parse(uri) {
  6940. 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,
  6941. end = uri.length;
  6942. if (end >= 5) {
  6943. delta = ((uri.charCodeAt(4) ^ 58) * 3 | uri.charCodeAt(0) ^ 100 | uri.charCodeAt(1) ^ 97 | uri.charCodeAt(2) ^ 116 | uri.charCodeAt(3) ^ 97) >>> 0;
  6944. if (delta === 0)
  6945. return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
  6946. else if (delta === 32)
  6947. return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
  6948. }
  6949. indices = A.List_List$filled(8, 0, false, type$.int);
  6950. indices[0] = 0;
  6951. indices[1] = -1;
  6952. indices[2] = -1;
  6953. indices[7] = -1;
  6954. indices[3] = 0;
  6955. indices[4] = 0;
  6956. indices[5] = end;
  6957. indices[6] = end;
  6958. if (A._scan(uri, 0, end, 0, indices) >= 14)
  6959. indices[7] = end;
  6960. schemeEnd = indices[1];
  6961. if (schemeEnd >= 0)
  6962. if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
  6963. indices[7] = schemeEnd;
  6964. hostStart = indices[2] + 1;
  6965. portStart = indices[3];
  6966. pathStart = indices[4];
  6967. queryStart = indices[5];
  6968. fragmentStart = indices[6];
  6969. if (fragmentStart < queryStart)
  6970. queryStart = fragmentStart;
  6971. if (pathStart < hostStart)
  6972. pathStart = queryStart;
  6973. else if (pathStart <= schemeEnd)
  6974. pathStart = schemeEnd + 1;
  6975. if (portStart < hostStart)
  6976. portStart = pathStart;
  6977. isSimple = indices[7] < 0;
  6978. scheme = _null;
  6979. if (isSimple) {
  6980. isSimple = false;
  6981. if (!(hostStart > schemeEnd + 3)) {
  6982. t1 = portStart > 0;
  6983. if (!(t1 && portStart + 1 === pathStart)) {
  6984. if (!B.JSString_methods.startsWith$2(uri, "\\", pathStart))
  6985. if (hostStart > 0)
  6986. t2 = B.JSString_methods.startsWith$2(uri, "\\", hostStart - 1) || B.JSString_methods.startsWith$2(uri, "\\", hostStart - 2);
  6987. else
  6988. t2 = false;
  6989. else
  6990. t2 = true;
  6991. if (!t2) {
  6992. if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
  6993. t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
  6994. else
  6995. t2 = true;
  6996. if (!t2)
  6997. if (schemeEnd === 4) {
  6998. if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
  6999. if (hostStart <= 0) {
  7000. if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
  7001. schemeAuth = "file:///";
  7002. delta = 3;
  7003. } else {
  7004. schemeAuth = "file://";
  7005. delta = 2;
  7006. }
  7007. uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
  7008. queryStart += delta;
  7009. fragmentStart += delta;
  7010. end = uri.length;
  7011. hostStart = 7;
  7012. portStart = 7;
  7013. pathStart = 7;
  7014. } else if (pathStart === queryStart) {
  7015. ++fragmentStart;
  7016. queryStart0 = queryStart + 1;
  7017. uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
  7018. ++end;
  7019. queryStart = queryStart0;
  7020. }
  7021. scheme = "file";
  7022. } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
  7023. if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
  7024. fragmentStart -= 3;
  7025. pathStart0 = pathStart - 3;
  7026. queryStart -= 3;
  7027. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  7028. end -= 3;
  7029. pathStart = pathStart0;
  7030. }
  7031. scheme = "http";
  7032. }
  7033. } else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
  7034. if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
  7035. fragmentStart -= 4;
  7036. pathStart0 = pathStart - 4;
  7037. queryStart -= 4;
  7038. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  7039. end -= 3;
  7040. pathStart = pathStart0;
  7041. }
  7042. scheme = "https";
  7043. }
  7044. isSimple = !t2;
  7045. }
  7046. }
  7047. }
  7048. }
  7049. if (isSimple)
  7050. return new A._SimpleUri(end < uri.length ? B.JSString_methods.substring$2(uri, 0, end) : uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
  7051. if (scheme == null)
  7052. if (schemeEnd > 0)
  7053. scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
  7054. else {
  7055. if (schemeEnd === 0)
  7056. A._Uri__fail(uri, 0, "Invalid empty scheme");
  7057. scheme = "";
  7058. }
  7059. port = _null;
  7060. if (hostStart > 0) {
  7061. userInfoStart = schemeEnd + 3;
  7062. userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
  7063. host = A._Uri__makeHost(uri, hostStart, portStart, false);
  7064. t1 = portStart + 1;
  7065. if (t1 < pathStart) {
  7066. portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
  7067. port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
  7068. }
  7069. } else {
  7070. host = _null;
  7071. userInfo = "";
  7072. }
  7073. path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
  7074. query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
  7075. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
  7076. },
  7077. Uri_decodeComponent(encodedComponent) {
  7078. return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
  7079. },
  7080. Uri__parseIPv4Address(host, start, end) {
  7081. var i, partStart, partIndex, char, part, partIndex0,
  7082. _s43_ = "IPv4 address should contain exactly 4 parts",
  7083. _s37_ = "each part must be in the range 0..255",
  7084. error = new A.Uri__parseIPv4Address_error(host),
  7085. result = new Uint8Array(4);
  7086. for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
  7087. char = host.charCodeAt(i);
  7088. if (char !== 46) {
  7089. if ((char ^ 48) > 9)
  7090. error.call$2("invalid character", i);
  7091. } else {
  7092. if (partIndex === 3)
  7093. error.call$2(_s43_, i);
  7094. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
  7095. if (part > 255)
  7096. error.call$2(_s37_, partStart);
  7097. partIndex0 = partIndex + 1;
  7098. result[partIndex] = part;
  7099. partStart = i + 1;
  7100. partIndex = partIndex0;
  7101. }
  7102. }
  7103. if (partIndex !== 3)
  7104. error.call$2(_s43_, end);
  7105. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
  7106. if (part > 255)
  7107. error.call$2(_s37_, partStart);
  7108. result[partIndex] = part;
  7109. return result;
  7110. },
  7111. Uri_parseIPv6Address(host, start, end) {
  7112. var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null,
  7113. error = new A.Uri_parseIPv6Address_error(host),
  7114. parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
  7115. if (host.length < 2)
  7116. error.call$2("address is too short", _null);
  7117. parts = A._setArrayType([], type$.JSArray_int);
  7118. for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
  7119. char = host.charCodeAt(i);
  7120. if (char === 58) {
  7121. if (i === start) {
  7122. ++i;
  7123. if (host.charCodeAt(i) !== 58)
  7124. error.call$2("invalid start colon.", i);
  7125. partStart = i;
  7126. }
  7127. if (i === partStart) {
  7128. if (wildcardSeen)
  7129. error.call$2("only one wildcard `::` is allowed", i);
  7130. parts.push(-1);
  7131. wildcardSeen = true;
  7132. } else
  7133. parts.push(parseHex.call$2(partStart, i));
  7134. partStart = i + 1;
  7135. } else if (char === 46)
  7136. seenDot = true;
  7137. }
  7138. if (parts.length === 0)
  7139. error.call$2("too few parts", _null);
  7140. atEnd = partStart === end;
  7141. t1 = B.JSArray_methods.get$last(parts);
  7142. if (atEnd && t1 !== -1)
  7143. error.call$2("expected a part after last `:`", end);
  7144. if (!atEnd)
  7145. if (!seenDot)
  7146. parts.push(parseHex.call$2(partStart, end));
  7147. else {
  7148. last = A.Uri__parseIPv4Address(host, partStart, end);
  7149. parts.push((last[0] << 8 | last[1]) >>> 0);
  7150. parts.push((last[2] << 8 | last[3]) >>> 0);
  7151. }
  7152. if (wildcardSeen) {
  7153. if (parts.length > 7)
  7154. error.call$2("an address with a wildcard must have less than 7 parts", _null);
  7155. } else if (parts.length !== 8)
  7156. error.call$2("an address without a wildcard must contain exactly 8 parts", _null);
  7157. bytes = new Uint8Array(16);
  7158. for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
  7159. value = parts[i];
  7160. if (value === -1)
  7161. for (j = 0; j < wildCardLength; ++j) {
  7162. bytes[index] = 0;
  7163. bytes[index + 1] = 0;
  7164. index += 2;
  7165. }
  7166. else {
  7167. bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
  7168. bytes[index + 1] = value & 255;
  7169. index += 2;
  7170. }
  7171. }
  7172. return bytes;
  7173. },
  7174. _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
  7175. return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
  7176. },
  7177. _Uri__Uri(host, path, pathSegments, scheme) {
  7178. var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
  7179. scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
  7180. userInfo = A._Uri__makeUserInfo(_null, 0, 0);
  7181. host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
  7182. query = A._Uri__makeQuery(_null, 0, 0, _null);
  7183. fragment = A._Uri__makeFragment(_null, 0, 0);
  7184. port = A._Uri__makePort(_null, scheme);
  7185. isFile = scheme === "file";
  7186. if (host == null)
  7187. t1 = userInfo.length !== 0 || port != null || isFile;
  7188. else
  7189. t1 = false;
  7190. if (t1)
  7191. host = "";
  7192. t1 = host == null;
  7193. hasAuthority = !t1;
  7194. path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
  7195. t2 = scheme.length === 0;
  7196. if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
  7197. path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
  7198. else
  7199. path = A._Uri__removeDotSegments(path);
  7200. return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
  7201. },
  7202. _Uri__defaultPort(scheme) {
  7203. if (scheme === "http")
  7204. return 80;
  7205. if (scheme === "https")
  7206. return 443;
  7207. return 0;
  7208. },
  7209. _Uri__fail(uri, index, message) {
  7210. throw A.wrapException(A.FormatException$(message, uri, index));
  7211. },
  7212. _Uri__Uri$file(path, windows) {
  7213. return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
  7214. },
  7215. _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
  7216. var t1, _i, segment;
  7217. for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
  7218. segment = segments[_i];
  7219. if (A.stringContainsUnchecked(segment, "/", 0)) {
  7220. t1 = A.UnsupportedError$("Illegal path character " + segment);
  7221. throw A.wrapException(t1);
  7222. }
  7223. }
  7224. },
  7225. _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
  7226. var t1, t2, t3, t4;
  7227. 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();) {
  7228. t3 = t1.__internal$_current;
  7229. if (t3 == null)
  7230. t3 = t2._as(t3);
  7231. t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
  7232. if (A.stringContainsUnchecked(t3, t4, 0))
  7233. if (argumentError)
  7234. throw A.wrapException(A.ArgumentError$("Illegal character in path", null));
  7235. else
  7236. throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
  7237. }
  7238. },
  7239. _Uri__checkWindowsDriveLetter(charCode, argumentError) {
  7240. var t1,
  7241. _s21_ = "Illegal drive letter ";
  7242. if (!(65 <= charCode && charCode <= 90))
  7243. t1 = 97 <= charCode && charCode <= 122;
  7244. else
  7245. t1 = true;
  7246. if (t1)
  7247. return;
  7248. if (argumentError)
  7249. throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
  7250. else
  7251. throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
  7252. },
  7253. _Uri__makeFileUri(path, slashTerminated) {
  7254. var _null = null,
  7255. segments = A._setArrayType(path.split("/"), type$.JSArray_String);
  7256. if (B.JSString_methods.startsWith$1(path, "/"))
  7257. return A._Uri__Uri(_null, _null, segments, "file");
  7258. else
  7259. return A._Uri__Uri(_null, _null, segments, _null);
  7260. },
  7261. _Uri__makeWindowsFileUrl(path, slashTerminated) {
  7262. var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
  7263. if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
  7264. if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
  7265. path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
  7266. else {
  7267. path = B.JSString_methods.substring$1(path, 4);
  7268. if (path.length < 3 || path.charCodeAt(1) !== 58 || path.charCodeAt(2) !== 92)
  7269. throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with \\\\?\\ prefix must be absolute"));
  7270. }
  7271. else
  7272. path = A.stringReplaceAllUnchecked(path, "/", _s1_);
  7273. t1 = path.length;
  7274. if (t1 > 1 && path.charCodeAt(1) === 58) {
  7275. A._Uri__checkWindowsDriveLetter(path.charCodeAt(0), true);
  7276. if (t1 === 2 || path.charCodeAt(2) !== 92)
  7277. throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with drive letter must be absolute"));
  7278. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7279. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
  7280. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  7281. }
  7282. if (B.JSString_methods.startsWith$1(path, _s1_))
  7283. if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
  7284. pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
  7285. t1 = pathStart < 0;
  7286. hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
  7287. pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
  7288. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7289. return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
  7290. } else {
  7291. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7292. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7293. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  7294. }
  7295. else {
  7296. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7297. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7298. return A._Uri__Uri(_null, _null, pathSegments, _null);
  7299. }
  7300. },
  7301. _Uri__makePort(port, scheme) {
  7302. if (port != null && port === A._Uri__defaultPort(scheme))
  7303. return null;
  7304. return port;
  7305. },
  7306. _Uri__makeHost(host, start, end, strictIPv6) {
  7307. var t1, t2, index, zoneIDstart, zoneID, i;
  7308. if (host == null)
  7309. return null;
  7310. if (start === end)
  7311. return "";
  7312. if (host.charCodeAt(start) === 91) {
  7313. t1 = end - 1;
  7314. if (host.charCodeAt(t1) !== 93)
  7315. A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
  7316. t2 = start + 1;
  7317. index = A._Uri__checkZoneID(host, t2, t1);
  7318. if (index < t1) {
  7319. zoneIDstart = index + 1;
  7320. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25");
  7321. } else
  7322. zoneID = "";
  7323. A.Uri_parseIPv6Address(host, t2, index);
  7324. return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]";
  7325. }
  7326. for (i = start; i < end; ++i)
  7327. if (host.charCodeAt(i) === 58) {
  7328. index = B.JSString_methods.indexOf$2(host, "%", start);
  7329. index = index >= start && index < end ? index : end;
  7330. if (index < end) {
  7331. zoneIDstart = index + 1;
  7332. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
  7333. } else
  7334. zoneID = "";
  7335. A.Uri_parseIPv6Address(host, start, index);
  7336. return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
  7337. }
  7338. return A._Uri__normalizeRegName(host, start, end);
  7339. },
  7340. _Uri__checkZoneID(host, start, end) {
  7341. var index = B.JSString_methods.indexOf$2(host, "%", start);
  7342. return index >= start && index < end ? index : end;
  7343. },
  7344. _Uri__normalizeZoneID(host, start, end, prefix) {
  7345. var index, sectionStart, isNormalized, char, replacement, t1, t2, sourceLength, tail, slice,
  7346. buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
  7347. for (index = start, sectionStart = index, isNormalized = true; index < end;) {
  7348. char = host.charCodeAt(index);
  7349. if (char === 37) {
  7350. replacement = A._Uri__normalizeEscape(host, index, true);
  7351. t1 = replacement == null;
  7352. if (t1 && isNormalized) {
  7353. index += 3;
  7354. continue;
  7355. }
  7356. if (buffer == null)
  7357. buffer = new A.StringBuffer("");
  7358. t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7359. if (t1)
  7360. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  7361. else if (replacement === "%")
  7362. A._Uri__fail(host, index, "ZoneID should not contain % anymore");
  7363. buffer._contents = t2 + replacement;
  7364. index += 3;
  7365. sectionStart = index;
  7366. isNormalized = true;
  7367. } else if (char < 127 && (string$.x00_____.charCodeAt(char) & 1) !== 0) {
  7368. if (isNormalized && 65 <= char && 90 >= char) {
  7369. if (buffer == null)
  7370. buffer = new A.StringBuffer("");
  7371. if (sectionStart < index) {
  7372. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7373. sectionStart = index;
  7374. }
  7375. isNormalized = false;
  7376. }
  7377. ++index;
  7378. } else {
  7379. sourceLength = 1;
  7380. if ((char & 64512) === 55296 && index + 1 < end) {
  7381. tail = host.charCodeAt(index + 1);
  7382. if ((tail & 64512) === 56320) {
  7383. char = 65536 + ((char & 1023) << 10) + (tail & 1023);
  7384. sourceLength = 2;
  7385. }
  7386. }
  7387. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7388. if (buffer == null) {
  7389. buffer = new A.StringBuffer("");
  7390. t1 = buffer;
  7391. } else
  7392. t1 = buffer;
  7393. t1._contents += slice;
  7394. t2 = A._Uri__escapeChar(char);
  7395. t1._contents += t2;
  7396. index += sourceLength;
  7397. sectionStart = index;
  7398. }
  7399. }
  7400. if (buffer == null)
  7401. return B.JSString_methods.substring$2(host, start, end);
  7402. if (sectionStart < end) {
  7403. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  7404. buffer._contents += slice;
  7405. }
  7406. t1 = buffer._contents;
  7407. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7408. },
  7409. _Uri__normalizeRegName(host, start, end) {
  7410. var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail,
  7411. _s128_ = string$.x00_____;
  7412. for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
  7413. char = host.charCodeAt(index);
  7414. if (char === 37) {
  7415. replacement = A._Uri__normalizeEscape(host, index, true);
  7416. t1 = replacement == null;
  7417. if (t1 && isNormalized) {
  7418. index += 3;
  7419. continue;
  7420. }
  7421. if (buffer == null)
  7422. buffer = new A.StringBuffer("");
  7423. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7424. if (!isNormalized)
  7425. slice = slice.toLowerCase();
  7426. t2 = buffer._contents += slice;
  7427. sourceLength = 3;
  7428. if (t1)
  7429. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  7430. else if (replacement === "%") {
  7431. replacement = "%25";
  7432. sourceLength = 1;
  7433. }
  7434. buffer._contents = t2 + replacement;
  7435. index += sourceLength;
  7436. sectionStart = index;
  7437. isNormalized = true;
  7438. } else if (char < 127 && (_s128_.charCodeAt(char) & 32) !== 0) {
  7439. if (isNormalized && 65 <= char && 90 >= char) {
  7440. if (buffer == null)
  7441. buffer = new A.StringBuffer("");
  7442. if (sectionStart < index) {
  7443. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7444. sectionStart = index;
  7445. }
  7446. isNormalized = false;
  7447. }
  7448. ++index;
  7449. } else if (char <= 93 && (_s128_.charCodeAt(char) & 1024) !== 0)
  7450. A._Uri__fail(host, index, "Invalid character");
  7451. else {
  7452. sourceLength = 1;
  7453. if ((char & 64512) === 55296 && index + 1 < end) {
  7454. tail = host.charCodeAt(index + 1);
  7455. if ((tail & 64512) === 56320) {
  7456. char = 65536 + ((char & 1023) << 10) + (tail & 1023);
  7457. sourceLength = 2;
  7458. }
  7459. }
  7460. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7461. if (!isNormalized)
  7462. slice = slice.toLowerCase();
  7463. if (buffer == null) {
  7464. buffer = new A.StringBuffer("");
  7465. t1 = buffer;
  7466. } else
  7467. t1 = buffer;
  7468. t1._contents += slice;
  7469. t2 = A._Uri__escapeChar(char);
  7470. t1._contents += t2;
  7471. index += sourceLength;
  7472. sectionStart = index;
  7473. }
  7474. }
  7475. if (buffer == null)
  7476. return B.JSString_methods.substring$2(host, start, end);
  7477. if (sectionStart < end) {
  7478. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  7479. if (!isNormalized)
  7480. slice = slice.toLowerCase();
  7481. buffer._contents += slice;
  7482. }
  7483. t1 = buffer._contents;
  7484. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7485. },
  7486. _Uri__makeScheme(scheme, start, end) {
  7487. var i, containsUpperCase, codeUnit;
  7488. if (start === end)
  7489. return "";
  7490. if (!A._Uri__isAlphabeticCharacter(scheme.charCodeAt(start)))
  7491. A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
  7492. for (i = start, containsUpperCase = false; i < end; ++i) {
  7493. codeUnit = scheme.charCodeAt(i);
  7494. if (!(codeUnit < 128 && (string$.x00_____.charCodeAt(codeUnit) & 8) !== 0))
  7495. A._Uri__fail(scheme, i, "Illegal scheme character");
  7496. if (65 <= codeUnit && codeUnit <= 90)
  7497. containsUpperCase = true;
  7498. }
  7499. scheme = B.JSString_methods.substring$2(scheme, start, end);
  7500. return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
  7501. },
  7502. _Uri__canonicalizeScheme(scheme) {
  7503. if (scheme === "http")
  7504. return "http";
  7505. if (scheme === "file")
  7506. return "file";
  7507. if (scheme === "https")
  7508. return "https";
  7509. if (scheme === "package")
  7510. return "package";
  7511. return scheme;
  7512. },
  7513. _Uri__makeUserInfo(userInfo, start, end) {
  7514. if (userInfo == null)
  7515. return "";
  7516. return A._Uri__normalizeOrSubstring(userInfo, start, end, 16, false, false);
  7517. },
  7518. _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
  7519. var result,
  7520. isFile = scheme === "file",
  7521. ensureLeadingSlash = isFile || hasAuthority;
  7522. if (path == null) {
  7523. if (pathSegments == null)
  7524. return isFile ? "/" : "";
  7525. result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
  7526. } else if (pathSegments != null)
  7527. throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
  7528. else
  7529. result = A._Uri__normalizeOrSubstring(path, start, end, 128, true, true);
  7530. if (result.length === 0) {
  7531. if (isFile)
  7532. return "/";
  7533. } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
  7534. result = "/" + result;
  7535. return A._Uri__normalizePath(result, scheme, hasAuthority);
  7536. },
  7537. _Uri__normalizePath(path, scheme, hasAuthority) {
  7538. var t1 = scheme.length === 0;
  7539. if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/") && !B.JSString_methods.startsWith$1(path, "\\"))
  7540. return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
  7541. return A._Uri__removeDotSegments(path);
  7542. },
  7543. _Uri__makeQuery(query, start, end, queryParameters) {
  7544. if (query != null)
  7545. return A._Uri__normalizeOrSubstring(query, start, end, 256, true, false);
  7546. return null;
  7547. },
  7548. _Uri__makeFragment(fragment, start, end) {
  7549. if (fragment == null)
  7550. return null;
  7551. return A._Uri__normalizeOrSubstring(fragment, start, end, 256, true, false);
  7552. },
  7553. _Uri__normalizeEscape(source, index, lowerCase) {
  7554. var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
  7555. t1 = index + 2;
  7556. if (t1 >= source.length)
  7557. return "%";
  7558. firstDigit = source.charCodeAt(index + 1);
  7559. secondDigit = source.charCodeAt(t1);
  7560. firstDigitValue = A.hexDigitValue(firstDigit);
  7561. secondDigitValue = A.hexDigitValue(secondDigit);
  7562. if (firstDigitValue < 0 || secondDigitValue < 0)
  7563. return "%";
  7564. value = firstDigitValue * 16 + secondDigitValue;
  7565. if (value < 127 && (string$.x00_____.charCodeAt(value) & 1) !== 0)
  7566. return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
  7567. if (firstDigit >= 97 || secondDigit >= 97)
  7568. return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
  7569. return null;
  7570. },
  7571. _Uri__escapeChar(char) {
  7572. var codeUnits, flag, encodedBytes, index, byte,
  7573. _s16_ = "0123456789ABCDEF";
  7574. if (char <= 127) {
  7575. codeUnits = new Uint8Array(3);
  7576. codeUnits[0] = 37;
  7577. codeUnits[1] = _s16_.charCodeAt(char >>> 4);
  7578. codeUnits[2] = _s16_.charCodeAt(char & 15);
  7579. } else {
  7580. if (char > 2047)
  7581. if (char > 65535) {
  7582. flag = 240;
  7583. encodedBytes = 4;
  7584. } else {
  7585. flag = 224;
  7586. encodedBytes = 3;
  7587. }
  7588. else {
  7589. flag = 192;
  7590. encodedBytes = 2;
  7591. }
  7592. codeUnits = new Uint8Array(3 * encodedBytes);
  7593. for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
  7594. byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
  7595. codeUnits[index] = 37;
  7596. codeUnits[index + 1] = _s16_.charCodeAt(byte >>> 4);
  7597. codeUnits[index + 2] = _s16_.charCodeAt(byte & 15);
  7598. index += 3;
  7599. }
  7600. }
  7601. return A.String_String$fromCharCodes(codeUnits, 0, null);
  7602. },
  7603. _Uri__normalizeOrSubstring(component, start, end, charMask, escapeDelimiters, replaceBackslash) {
  7604. var t1 = A._Uri__normalize(component, start, end, charMask, escapeDelimiters, replaceBackslash);
  7605. return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
  7606. },
  7607. _Uri__normalize(component, start, end, charMask, escapeDelimiters, replaceBackslash) {
  7608. var t1, index, sectionStart, buffer, char, sourceLength, replacement, t2, tail, t3, _null = null,
  7609. _s128_ = string$.x00_____;
  7610. for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
  7611. char = component.charCodeAt(index);
  7612. if (char < 127 && (_s128_.charCodeAt(char) & charMask) !== 0)
  7613. ++index;
  7614. else {
  7615. sourceLength = 1;
  7616. if (char === 37) {
  7617. replacement = A._Uri__normalizeEscape(component, index, false);
  7618. if (replacement == null) {
  7619. index += 3;
  7620. continue;
  7621. }
  7622. if ("%" === replacement)
  7623. replacement = "%25";
  7624. else
  7625. sourceLength = 3;
  7626. } else if (char === 92 && replaceBackslash)
  7627. replacement = "/";
  7628. else if (t1 && char <= 93 && (_s128_.charCodeAt(char) & 1024) !== 0) {
  7629. A._Uri__fail(component, index, "Invalid character");
  7630. sourceLength = _null;
  7631. replacement = sourceLength;
  7632. } else {
  7633. if ((char & 64512) === 55296) {
  7634. t2 = index + 1;
  7635. if (t2 < end) {
  7636. tail = component.charCodeAt(t2);
  7637. if ((tail & 64512) === 56320) {
  7638. char = 65536 + ((char & 1023) << 10) + (tail & 1023);
  7639. sourceLength = 2;
  7640. }
  7641. }
  7642. }
  7643. replacement = A._Uri__escapeChar(char);
  7644. }
  7645. if (buffer == null) {
  7646. buffer = new A.StringBuffer("");
  7647. t2 = buffer;
  7648. } else
  7649. t2 = buffer;
  7650. t3 = t2._contents += B.JSString_methods.substring$2(component, sectionStart, index);
  7651. t2._contents = t3 + A.S(replacement);
  7652. index += sourceLength;
  7653. sectionStart = index;
  7654. }
  7655. }
  7656. if (buffer == null)
  7657. return _null;
  7658. if (sectionStart < end) {
  7659. t1 = B.JSString_methods.substring$2(component, sectionStart, end);
  7660. buffer._contents += t1;
  7661. }
  7662. t1 = buffer._contents;
  7663. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7664. },
  7665. _Uri__mayContainDotSegments(path) {
  7666. if (B.JSString_methods.startsWith$1(path, "."))
  7667. return true;
  7668. return B.JSString_methods.indexOf$1(path, "/.") !== -1;
  7669. },
  7670. _Uri__removeDotSegments(path) {
  7671. var output, t1, t2, appendSlash, _i, segment;
  7672. if (!A._Uri__mayContainDotSegments(path))
  7673. return path;
  7674. output = A._setArrayType([], type$.JSArray_String);
  7675. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  7676. segment = t1[_i];
  7677. if (segment === "..") {
  7678. if (output.length !== 0) {
  7679. output.pop();
  7680. if (output.length === 0)
  7681. output.push("");
  7682. }
  7683. appendSlash = true;
  7684. } else {
  7685. appendSlash = "." === segment;
  7686. if (!appendSlash)
  7687. output.push(segment);
  7688. }
  7689. }
  7690. if (appendSlash)
  7691. output.push("");
  7692. return B.JSArray_methods.join$1(output, "/");
  7693. },
  7694. _Uri__normalizeRelativePath(path, allowScheme) {
  7695. var output, t1, t2, appendSlash, _i, segment;
  7696. if (!A._Uri__mayContainDotSegments(path))
  7697. return !allowScheme ? A._Uri__escapeScheme(path) : path;
  7698. output = A._setArrayType([], type$.JSArray_String);
  7699. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  7700. segment = t1[_i];
  7701. if (".." === segment) {
  7702. appendSlash = output.length !== 0 && B.JSArray_methods.get$last(output) !== "..";
  7703. if (appendSlash)
  7704. output.pop();
  7705. else
  7706. output.push("..");
  7707. } else {
  7708. appendSlash = "." === segment;
  7709. if (!appendSlash)
  7710. output.push(segment);
  7711. }
  7712. }
  7713. t1 = output.length;
  7714. if (t1 !== 0)
  7715. t1 = t1 === 1 && output[0].length === 0;
  7716. else
  7717. t1 = true;
  7718. if (t1)
  7719. return "./";
  7720. if (appendSlash || B.JSArray_methods.get$last(output) === "..")
  7721. output.push("");
  7722. if (!allowScheme)
  7723. output[0] = A._Uri__escapeScheme(output[0]);
  7724. return B.JSArray_methods.join$1(output, "/");
  7725. },
  7726. _Uri__escapeScheme(path) {
  7727. var i, char,
  7728. t1 = path.length;
  7729. if (t1 >= 2 && A._Uri__isAlphabeticCharacter(path.charCodeAt(0)))
  7730. for (i = 1; i < t1; ++i) {
  7731. char = path.charCodeAt(i);
  7732. if (char === 58)
  7733. return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
  7734. if (char > 127 || (string$.x00_____.charCodeAt(char) & 8) === 0)
  7735. break;
  7736. }
  7737. return path;
  7738. },
  7739. _Uri__packageNameEnd(uri, path) {
  7740. if (uri.isScheme$1("package") && uri._host == null)
  7741. return A._skipPackageNameChars(path, 0, path.length);
  7742. return -1;
  7743. },
  7744. _Uri__toWindowsFilePath(uri) {
  7745. var t2, hasDriveLetter, host,
  7746. segments = uri.get$pathSegments(),
  7747. t1 = segments.length;
  7748. if (t1 > 0) {
  7749. t2 = segments[0];
  7750. hasDriveLetter = t2.length === 2 && t2.charCodeAt(1) === 58;
  7751. } else
  7752. hasDriveLetter = false;
  7753. if (hasDriveLetter) {
  7754. A._Uri__checkWindowsDriveLetter(segments[0].charCodeAt(0), false);
  7755. A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
  7756. } else
  7757. A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
  7758. t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : "";
  7759. if (uri.get$hasAuthority()) {
  7760. host = uri.get$host();
  7761. if (host.length !== 0)
  7762. t2 = t2 + "\\" + host + "\\";
  7763. }
  7764. t2 = A.StringBuffer__writeAll(t2, segments, "\\");
  7765. t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
  7766. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7767. },
  7768. _Uri__hexCharPairToByte(s, pos) {
  7769. var byte, i, charCode;
  7770. for (byte = 0, i = 0; i < 2; ++i) {
  7771. charCode = s.charCodeAt(pos + i);
  7772. if (48 <= charCode && charCode <= 57)
  7773. byte = byte * 16 + charCode - 48;
  7774. else {
  7775. charCode |= 32;
  7776. if (97 <= charCode && charCode <= 102)
  7777. byte = byte * 16 + charCode - 87;
  7778. else
  7779. throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
  7780. }
  7781. }
  7782. return byte;
  7783. },
  7784. _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
  7785. var simple, codeUnit, t1, bytes,
  7786. i = start;
  7787. while (true) {
  7788. if (!(i < end)) {
  7789. simple = true;
  7790. break;
  7791. }
  7792. codeUnit = text.charCodeAt(i);
  7793. if (codeUnit <= 127)
  7794. t1 = codeUnit === 37;
  7795. else
  7796. t1 = true;
  7797. if (t1) {
  7798. simple = false;
  7799. break;
  7800. }
  7801. ++i;
  7802. }
  7803. if (simple)
  7804. if (B.C_Utf8Codec === encoding)
  7805. return B.JSString_methods.substring$2(text, start, end);
  7806. else
  7807. bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
  7808. else {
  7809. bytes = A._setArrayType([], type$.JSArray_int);
  7810. for (t1 = text.length, i = start; i < end; ++i) {
  7811. codeUnit = text.charCodeAt(i);
  7812. if (codeUnit > 127)
  7813. throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
  7814. if (codeUnit === 37) {
  7815. if (i + 3 > t1)
  7816. throw A.wrapException(A.ArgumentError$("Truncated URI", null));
  7817. bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
  7818. i += 2;
  7819. } else
  7820. bytes.push(codeUnit);
  7821. }
  7822. }
  7823. return B.Utf8Decoder_false.convert$1(bytes);
  7824. },
  7825. _Uri__isAlphabeticCharacter(codeUnit) {
  7826. var lowerCase = codeUnit | 32;
  7827. return 97 <= lowerCase && lowerCase <= 122;
  7828. },
  7829. UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
  7830. var t1, slashIndex;
  7831. if (mimeType != null)
  7832. t1 = 10 === mimeType.length && A._caseInsensitiveCompareStart("text/plain", mimeType, 0) >= 0;
  7833. else
  7834. t1 = true;
  7835. if (t1)
  7836. mimeType = "";
  7837. if (mimeType.length === 0 || mimeType === "application/octet-stream")
  7838. t1 = buffer._contents += mimeType;
  7839. else {
  7840. slashIndex = A.UriData__validateMimeType(mimeType);
  7841. if (slashIndex < 0)
  7842. throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
  7843. t1 = A._Uri__uriEncode(512, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
  7844. t1 = buffer._contents += t1;
  7845. buffer._contents = t1 + "/";
  7846. t1 = A._Uri__uriEncode(512, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
  7847. t1 = buffer._contents += t1;
  7848. }
  7849. if (charsetName != null) {
  7850. indices.push(t1.length);
  7851. indices.push(buffer._contents.length + 8);
  7852. buffer._contents += ";charset=";
  7853. t1 = A._Uri__uriEncode(512, charsetName, B.C_Utf8Codec, false);
  7854. buffer._contents += t1;
  7855. }
  7856. },
  7857. UriData__validateMimeType(mimeType) {
  7858. var t1, slashIndex, i;
  7859. for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
  7860. if (mimeType.charCodeAt(i) !== 47)
  7861. continue;
  7862. if (slashIndex < 0) {
  7863. slashIndex = i;
  7864. continue;
  7865. }
  7866. return -1;
  7867. }
  7868. return slashIndex;
  7869. },
  7870. UriData__parse(text, start, sourceUri) {
  7871. var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
  7872. _s17_ = "Invalid MIME type",
  7873. indices = A._setArrayType([start - 1], type$.JSArray_int);
  7874. for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
  7875. char = text.charCodeAt(i);
  7876. if (char === 44 || char === 59)
  7877. break;
  7878. if (char === 47) {
  7879. if (slashIndex < 0) {
  7880. slashIndex = i;
  7881. continue;
  7882. }
  7883. throw A.wrapException(A.FormatException$(_s17_, text, i));
  7884. }
  7885. }
  7886. if (slashIndex < 0 && i > start)
  7887. throw A.wrapException(A.FormatException$(_s17_, text, i));
  7888. for (; char !== 44;) {
  7889. indices.push(i);
  7890. ++i;
  7891. for (equalsIndex = -1; i < t1; ++i) {
  7892. char = text.charCodeAt(i);
  7893. if (char === 61) {
  7894. if (equalsIndex < 0)
  7895. equalsIndex = i;
  7896. } else if (char === 59 || char === 44)
  7897. break;
  7898. }
  7899. if (equalsIndex >= 0)
  7900. indices.push(equalsIndex);
  7901. else {
  7902. lastSeparator = B.JSArray_methods.get$last(indices);
  7903. if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
  7904. throw A.wrapException(A.FormatException$("Expecting '='", text, i));
  7905. break;
  7906. }
  7907. }
  7908. indices.push(i);
  7909. t2 = i + 1;
  7910. if ((indices.length & 1) === 1)
  7911. text = B.C_Base64Codec.normalize$3(text, t2, t1);
  7912. else {
  7913. data = A._Uri__normalize(text, t2, t1, 256, true, false);
  7914. if (data != null)
  7915. text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
  7916. }
  7917. return new A.UriData(text, indices, sourceUri);
  7918. },
  7919. UriData__uriEncodeBytes(canonicalMask, bytes, buffer) {
  7920. var t1, byteOr, i, byte, t2,
  7921. _s16_ = "0123456789ABCDEF";
  7922. for (t1 = bytes.length, byteOr = 0, i = 0; i < t1; ++i) {
  7923. byte = bytes[i];
  7924. byteOr |= byte;
  7925. if (byte < 128 && (string$.x00_____.charCodeAt(byte) & canonicalMask) !== 0) {
  7926. t2 = A.Primitives_stringFromCharCode(byte);
  7927. buffer._contents += t2;
  7928. } else {
  7929. t2 = A.Primitives_stringFromCharCode(37);
  7930. buffer._contents += t2;
  7931. t2 = A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte >>> 4));
  7932. buffer._contents += t2;
  7933. t2 = A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte & 15));
  7934. buffer._contents += t2;
  7935. }
  7936. }
  7937. if ((byteOr & 4294967040) !== 0)
  7938. for (i = 0; i < t1; ++i) {
  7939. byte = bytes[i];
  7940. if (byte > 255)
  7941. throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
  7942. }
  7943. },
  7944. _scan(uri, start, end, state, indices) {
  7945. var i, char, transition;
  7946. for (i = start; i < end; ++i) {
  7947. char = uri.charCodeAt(i) ^ 96;
  7948. if (char > 95)
  7949. char = 31;
  7950. 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);
  7951. state = transition & 31;
  7952. indices[transition >>> 5] = i;
  7953. }
  7954. return state;
  7955. },
  7956. _SimpleUri__packageNameEnd(uri) {
  7957. if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
  7958. return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
  7959. return -1;
  7960. },
  7961. _skipPackageNameChars(source, start, end) {
  7962. var i, dots, char;
  7963. for (i = start, dots = 0; i < end; ++i) {
  7964. char = source.charCodeAt(i);
  7965. if (char === 47)
  7966. return dots !== 0 ? i : -1;
  7967. if (char === 37 || char === 58)
  7968. return -1;
  7969. dots |= char ^ 46;
  7970. }
  7971. return -1;
  7972. },
  7973. _caseInsensitiveCompareStart(prefix, string, start) {
  7974. var t1, result, i, stringChar, delta, lowerChar;
  7975. for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) {
  7976. stringChar = string.charCodeAt(start + i);
  7977. delta = prefix.charCodeAt(i) ^ stringChar;
  7978. if (delta !== 0) {
  7979. if (delta === 32) {
  7980. lowerChar = stringChar | delta;
  7981. if (97 <= lowerChar && lowerChar <= 122) {
  7982. result = 32;
  7983. continue;
  7984. }
  7985. }
  7986. return -1;
  7987. }
  7988. }
  7989. return result;
  7990. },
  7991. NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
  7992. this._box_0 = t0;
  7993. this.sb = t1;
  7994. },
  7995. DateTime: function DateTime(t0, t1, t2) {
  7996. this._value = t0;
  7997. this._microsecond = t1;
  7998. this.isUtc = t2;
  7999. },
  8000. Duration: function Duration(t0) {
  8001. this._duration = t0;
  8002. },
  8003. _Enum: function _Enum() {
  8004. },
  8005. Error: function Error() {
  8006. },
  8007. AssertionError: function AssertionError(t0) {
  8008. this.message = t0;
  8009. },
  8010. TypeError: function TypeError() {
  8011. },
  8012. ArgumentError: function ArgumentError(t0, t1, t2, t3) {
  8013. var _ = this;
  8014. _._hasValue = t0;
  8015. _.invalidValue = t1;
  8016. _.name = t2;
  8017. _.message = t3;
  8018. },
  8019. RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
  8020. var _ = this;
  8021. _.start = t0;
  8022. _.end = t1;
  8023. _._hasValue = t2;
  8024. _.invalidValue = t3;
  8025. _.name = t4;
  8026. _.message = t5;
  8027. },
  8028. IndexError: function IndexError(t0, t1, t2, t3, t4) {
  8029. var _ = this;
  8030. _.length = t0;
  8031. _._hasValue = t1;
  8032. _.invalidValue = t2;
  8033. _.name = t3;
  8034. _.message = t4;
  8035. },
  8036. NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
  8037. var _ = this;
  8038. _._core$_receiver = t0;
  8039. _._memberName = t1;
  8040. _._core$_arguments = t2;
  8041. _._namedArguments = t3;
  8042. },
  8043. UnsupportedError: function UnsupportedError(t0) {
  8044. this.message = t0;
  8045. },
  8046. UnimplementedError: function UnimplementedError(t0) {
  8047. this.message = t0;
  8048. },
  8049. StateError: function StateError(t0) {
  8050. this.message = t0;
  8051. },
  8052. ConcurrentModificationError: function ConcurrentModificationError(t0) {
  8053. this.modifiedObject = t0;
  8054. },
  8055. OutOfMemoryError: function OutOfMemoryError() {
  8056. },
  8057. StackOverflowError: function StackOverflowError() {
  8058. },
  8059. _Exception: function _Exception(t0) {
  8060. this.message = t0;
  8061. },
  8062. FormatException: function FormatException(t0, t1, t2) {
  8063. this.message = t0;
  8064. this.source = t1;
  8065. this.offset = t2;
  8066. },
  8067. Iterable: function Iterable() {
  8068. },
  8069. _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
  8070. this.length = t0;
  8071. this._generator = t1;
  8072. this.$ti = t2;
  8073. },
  8074. MapEntry: function MapEntry(t0, t1, t2) {
  8075. this.key = t0;
  8076. this.value = t1;
  8077. this.$ti = t2;
  8078. },
  8079. Null: function Null() {
  8080. },
  8081. Object: function Object() {
  8082. },
  8083. _StringStackTrace: function _StringStackTrace(t0) {
  8084. this._stackTrace = t0;
  8085. },
  8086. Runes: function Runes(t0) {
  8087. this.string = t0;
  8088. },
  8089. RuneIterator: function RuneIterator(t0) {
  8090. var _ = this;
  8091. _.string = t0;
  8092. _._nextPosition = _._position = 0;
  8093. _._currentCodePoint = -1;
  8094. },
  8095. StringBuffer: function StringBuffer(t0) {
  8096. this._contents = t0;
  8097. },
  8098. Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
  8099. this.host = t0;
  8100. },
  8101. Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
  8102. this.host = t0;
  8103. },
  8104. Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
  8105. this.error = t0;
  8106. this.host = t1;
  8107. },
  8108. _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
  8109. var _ = this;
  8110. _.scheme = t0;
  8111. _._userInfo = t1;
  8112. _._host = t2;
  8113. _._port = t3;
  8114. _.path = t4;
  8115. _._query = t5;
  8116. _._fragment = t6;
  8117. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  8118. },
  8119. _Uri__makePath_closure: function _Uri__makePath_closure() {
  8120. },
  8121. UriData: function UriData(t0, t1, t2) {
  8122. this._text = t0;
  8123. this._separatorIndices = t1;
  8124. this._uriCache = t2;
  8125. },
  8126. _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
  8127. var _ = this;
  8128. _._uri = t0;
  8129. _._schemeEnd = t1;
  8130. _._hostStart = t2;
  8131. _._portStart = t3;
  8132. _._pathStart = t4;
  8133. _._queryStart = t5;
  8134. _._fragmentStart = t6;
  8135. _._schemeCache = t7;
  8136. _._hashCodeCache = null;
  8137. },
  8138. _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
  8139. var _ = this;
  8140. _.scheme = t0;
  8141. _._userInfo = t1;
  8142. _._host = t2;
  8143. _._port = t3;
  8144. _.path = t4;
  8145. _._query = t5;
  8146. _._fragment = t6;
  8147. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  8148. },
  8149. Expando: function Expando(t0) {
  8150. this._jsWeakMap = t0;
  8151. },
  8152. _convertDartFunctionFast(f) {
  8153. var ret,
  8154. existing = f.$dart_jsFunction;
  8155. if (existing != null)
  8156. return existing;
  8157. ret = function(_call, f) {
  8158. return function() {
  8159. return _call(f, Array.prototype.slice.apply(arguments));
  8160. };
  8161. }(A._callDartFunctionFast, f);
  8162. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  8163. f.$dart_jsFunction = ret;
  8164. return ret;
  8165. },
  8166. _convertDartFunctionFastCaptureThis(f) {
  8167. var ret,
  8168. existing = f._$dart_jsFunctionCaptureThis;
  8169. if (existing != null)
  8170. return existing;
  8171. ret = function(_call, f) {
  8172. return function() {
  8173. return _call(f, this, Array.prototype.slice.apply(arguments));
  8174. };
  8175. }(A._callDartFunctionFastCaptureThis, f);
  8176. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  8177. f._$dart_jsFunctionCaptureThis = ret;
  8178. return ret;
  8179. },
  8180. _callDartFunctionFast(callback, $arguments) {
  8181. return A.Function_apply(callback, $arguments);
  8182. },
  8183. _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
  8184. var t1 = [$self];
  8185. B.JSArray_methods.addAll$1(t1, $arguments);
  8186. return A.Function_apply(callback, t1);
  8187. },
  8188. allowInterop(f) {
  8189. if (typeof f == "function")
  8190. return f;
  8191. else
  8192. return A._convertDartFunctionFast(f);
  8193. },
  8194. allowInteropCaptureThis(f) {
  8195. if (typeof f == "function")
  8196. throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
  8197. else
  8198. return A._convertDartFunctionFastCaptureThis(f);
  8199. },
  8200. _callDartFunctionFast2(callback, arg1, arg2, $length) {
  8201. if ($length >= 2)
  8202. return callback.call$2(arg1, arg2);
  8203. if ($length === 1)
  8204. return callback.call$1(arg1);
  8205. return callback.call$0();
  8206. },
  8207. _noJsifyRequired(o) {
  8208. 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);
  8209. },
  8210. jsify(object) {
  8211. if (A._noJsifyRequired(object))
  8212. return object;
  8213. return new A.jsify__convert(new A._IdentityHashMap(type$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(object);
  8214. },
  8215. _callMethodUnchecked0(o, method) {
  8216. return o[method]();
  8217. },
  8218. callConstructor(constr, $arguments) {
  8219. var args, factoryFunction;
  8220. if ($arguments instanceof Array)
  8221. switch ($arguments.length) {
  8222. case 0:
  8223. return new constr();
  8224. case 1:
  8225. return new constr($arguments[0]);
  8226. case 2:
  8227. return new constr($arguments[0], $arguments[1]);
  8228. case 3:
  8229. return new constr($arguments[0], $arguments[1], $arguments[2]);
  8230. case 4:
  8231. return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
  8232. }
  8233. args = [null];
  8234. B.JSArray_methods.addAll$1(args, $arguments);
  8235. factoryFunction = constr.bind.apply(constr, args);
  8236. String(factoryFunction);
  8237. return new factoryFunction();
  8238. },
  8239. promiseToFuture(jsPromise, $T) {
  8240. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  8241. completer = new A._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0>"));
  8242. jsPromise.then(A.convertDartClosureToJS(new A.promiseToFuture_closure(completer), 1), A.convertDartClosureToJS(new A.promiseToFuture_closure0(completer), 1));
  8243. return t1;
  8244. },
  8245. jsify__convert: function jsify__convert(t0) {
  8246. this._convertedObjects = t0;
  8247. },
  8248. promiseToFuture_closure: function promiseToFuture_closure(t0) {
  8249. this.completer = t0;
  8250. },
  8251. promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
  8252. this.completer = t0;
  8253. },
  8254. NullRejectionException: function NullRejectionException(t0) {
  8255. this.isUndefined = t0;
  8256. },
  8257. max(a, b) {
  8258. return Math.max(a, b);
  8259. },
  8260. pow(x, exponent) {
  8261. return Math.pow(x, exponent);
  8262. },
  8263. Random_Random() {
  8264. return B.C__JSRandom;
  8265. },
  8266. _JSRandom: function _JSRandom() {
  8267. },
  8268. ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
  8269. var _ = this;
  8270. _._arg_parser$_options = t0;
  8271. _._aliases = t1;
  8272. _.options = t2;
  8273. _.commands = t3;
  8274. _._optionsAndSeparators = t4;
  8275. _.allowTrailingOptions = t5;
  8276. _.usageLineLength = t6;
  8277. },
  8278. ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
  8279. this.$this = t0;
  8280. },
  8281. ArgParserException$(message, commands, argumentName, source, offset) {
  8282. return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), argumentName, message, source, offset);
  8283. },
  8284. ArgParserException: function ArgParserException(t0, t1, t2, t3, t4) {
  8285. var _ = this;
  8286. _.commands = t0;
  8287. _.argumentName = t1;
  8288. _.message = t2;
  8289. _.source = t3;
  8290. _.offset = t4;
  8291. },
  8292. ArgResults: function ArgResults(t0, t1, t2, t3) {
  8293. var _ = this;
  8294. _._parser = t0;
  8295. _._parsed = t1;
  8296. _.name = t2;
  8297. _.rest = t3;
  8298. },
  8299. Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  8300. var _ = this;
  8301. _.name = t0;
  8302. _.abbr = t1;
  8303. _.help = t2;
  8304. _.valueHelp = t3;
  8305. _.allowed = t4;
  8306. _.allowedHelp = t5;
  8307. _.defaultsTo = t6;
  8308. _.negatable = t7;
  8309. _.callback = t8;
  8310. _.type = t9;
  8311. _.splitCommas = t10;
  8312. _.mandatory = t11;
  8313. _.hide = t12;
  8314. },
  8315. OptionType: function OptionType(t0) {
  8316. this.name = t0;
  8317. },
  8318. Parser$(_commandName, _grammar, _args, _parent, rest) {
  8319. var t1 = A._setArrayType([], type$.JSArray_String);
  8320. if (rest != null)
  8321. B.JSArray_methods.addAll$1(t1, rest);
  8322. return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  8323. },
  8324. _isLetterOrDigit(codeUnit) {
  8325. var t1 = true;
  8326. if (!(codeUnit >= 65 && codeUnit <= 90))
  8327. if (!(codeUnit >= 97 && codeUnit <= 122))
  8328. t1 = codeUnit >= 48 && codeUnit <= 57;
  8329. return t1;
  8330. },
  8331. Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
  8332. var _ = this;
  8333. _._commandName = t0;
  8334. _._parser$_parent = t1;
  8335. _._grammar = t2;
  8336. _._args = t3;
  8337. _._parser$_rest = t4;
  8338. _._results = t5;
  8339. },
  8340. Parser_parse_closure: function Parser_parse_closure(t0) {
  8341. this.$this = t0;
  8342. },
  8343. Parser__setOption_closure: function Parser__setOption_closure() {
  8344. },
  8345. _Usage: function _Usage(t0, t1, t2) {
  8346. var _ = this;
  8347. _._usage$_optionsAndSeparators = t0;
  8348. _._usage$_buffer = t1;
  8349. _._currentColumn = 0;
  8350. _.___Usage__columnWidths_FI = $;
  8351. _._newlinesNeeded = 0;
  8352. _.lineLength = t2;
  8353. },
  8354. _Usage__writeOption_closure: function _Usage__writeOption_closure() {
  8355. },
  8356. _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
  8357. this.option = t0;
  8358. },
  8359. FutureGroup: function FutureGroup(t0, t1, t2) {
  8360. var _ = this;
  8361. _._future_group$_pending = 0;
  8362. _._future_group$_closed = false;
  8363. _._future_group$_completer = t0;
  8364. _._future_group$_values = t1;
  8365. _.$ti = t2;
  8366. },
  8367. FutureGroup_add_closure: function FutureGroup_add_closure(t0, t1) {
  8368. this.$this = t0;
  8369. this.index = t1;
  8370. },
  8371. FutureGroup_add_closure0: function FutureGroup_add_closure0(t0) {
  8372. this.$this = t0;
  8373. },
  8374. ErrorResult: function ErrorResult(t0, t1) {
  8375. this.error = t0;
  8376. this.stackTrace = t1;
  8377. },
  8378. ValueResult: function ValueResult(t0, t1) {
  8379. this.value = t0;
  8380. this.$ti = t1;
  8381. },
  8382. StreamCompleter: function StreamCompleter(t0, t1) {
  8383. this._stream_completer$_stream = t0;
  8384. this.$ti = t1;
  8385. },
  8386. _CompleterStream: function _CompleterStream(t0) {
  8387. this._sourceStream = this._stream_completer$_controller = null;
  8388. this.$ti = t0;
  8389. },
  8390. StreamGroup: function StreamGroup(t0, t1, t2) {
  8391. var _ = this;
  8392. _.__StreamGroup__controller_A = $;
  8393. _._closed = false;
  8394. _._stream_group$_state = t0;
  8395. _._subscriptions = t1;
  8396. _.$ti = t2;
  8397. },
  8398. StreamGroup_add_closure: function StreamGroup_add_closure() {
  8399. },
  8400. StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
  8401. this.$this = t0;
  8402. this.stream = t1;
  8403. },
  8404. StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
  8405. },
  8406. StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
  8407. this.$this = t0;
  8408. },
  8409. StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
  8410. this.$this = t0;
  8411. this.stream = t1;
  8412. },
  8413. _StreamGroupState: function _StreamGroupState(t0) {
  8414. this.name = t0;
  8415. },
  8416. StreamQueue: function StreamQueue(t0, t1, t2, t3) {
  8417. var _ = this;
  8418. _._stream_queue$_source = t0;
  8419. _._stream_queue$_subscription = null;
  8420. _._isDone = false;
  8421. _._eventsReceived = 0;
  8422. _._eventQueue = t1;
  8423. _._requestQueue = t2;
  8424. _.$ti = t3;
  8425. },
  8426. StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
  8427. this.$this = t0;
  8428. },
  8429. StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
  8430. this.$this = t0;
  8431. },
  8432. StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
  8433. this.$this = t0;
  8434. },
  8435. _NextRequest: function _NextRequest(t0, t1) {
  8436. this._completer = t0;
  8437. this.$ti = t1;
  8438. },
  8439. isNodeJs() {
  8440. var t1 = self.process;
  8441. if (t1 == null)
  8442. t1 = null;
  8443. else {
  8444. t1 = J.get$release$x(t1);
  8445. t1 = t1 == null ? null : J.get$name$x(t1);
  8446. }
  8447. return J.$eq$(t1, "node");
  8448. },
  8449. isBrowser() {
  8450. return !A.isNodeJs() && self.document != null && typeof self.document.querySelector == "function";
  8451. },
  8452. wrapJSExceptions(callback) {
  8453. var error, error0, error1, error2, t1, exception;
  8454. if (!$.$get$_isStrictMode())
  8455. return callback.call$0();
  8456. try {
  8457. t1 = callback.call$0();
  8458. return t1;
  8459. } catch (exception) {
  8460. t1 = A.unwrapException(exception);
  8461. if (typeof t1 == "string") {
  8462. error = t1;
  8463. throw A.wrapException(error);
  8464. } else if (A._isBool(t1)) {
  8465. error0 = t1;
  8466. throw A.wrapException(error0);
  8467. } else if (typeof t1 == "number") {
  8468. error1 = t1;
  8469. throw A.wrapException(error1);
  8470. } else {
  8471. error2 = t1;
  8472. if (typeof error2 == "symbol" || typeof error2 == "bigint" || error2 == null)
  8473. throw A.wrapException(A._callMethodUnchecked0(error2, "toString"));
  8474. throw exception;
  8475. }
  8476. }
  8477. },
  8478. _isStrictMode_closure: function _isStrictMode_closure() {
  8479. },
  8480. Repl: function Repl(t0, t1, t2, t3) {
  8481. var _ = this;
  8482. _.prompt = t0;
  8483. _.continuation = t1;
  8484. _.validator = t2;
  8485. _.__Repl__adapter_A = $;
  8486. _.history = t3;
  8487. },
  8488. alwaysValid_closure: function alwaysValid_closure() {
  8489. },
  8490. ReplAdapter: function ReplAdapter(t0) {
  8491. this.repl = t0;
  8492. this.rl = null;
  8493. },
  8494. ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
  8495. var _ = this;
  8496. _._box_0 = t0;
  8497. _.$this = t1;
  8498. _.rl = t2;
  8499. _.runController = t3;
  8500. },
  8501. ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
  8502. this.lineController = t0;
  8503. },
  8504. Stdin: function Stdin() {
  8505. },
  8506. Stdout: function Stdout() {
  8507. },
  8508. ReadlineModule: function ReadlineModule() {
  8509. },
  8510. ReadlineOptions: function ReadlineOptions() {
  8511. },
  8512. ReadlineInterface: function ReadlineInterface() {
  8513. },
  8514. EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
  8515. this.$ti = t0;
  8516. },
  8517. _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
  8518. },
  8519. DefaultEquality: function DefaultEquality() {
  8520. },
  8521. IterableEquality: function IterableEquality() {
  8522. },
  8523. ListEquality: function ListEquality() {
  8524. },
  8525. _MapEntry: function _MapEntry(t0, t1, t2) {
  8526. this.equality = t0;
  8527. this.key = t1;
  8528. this.value = t2;
  8529. },
  8530. MapEquality: function MapEquality(t0) {
  8531. this.$ti = t0;
  8532. },
  8533. QueueList$(initialCapacity, $E) {
  8534. 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>"));
  8535. },
  8536. QueueList_QueueList$from(source, $E) {
  8537. var $length, queue, t1;
  8538. if (type$.List_dynamic._is(source)) {
  8539. $length = J.get$length$asx(source);
  8540. queue = A.QueueList$($length + 1, $E);
  8541. J.setRange$4$ax(queue._queue_list$_table, 0, $length, source, 0);
  8542. queue._queue_list$_tail = $length;
  8543. return queue;
  8544. } else {
  8545. t1 = A.QueueList$(null, $E);
  8546. t1.addAll$1(0, source);
  8547. return t1;
  8548. }
  8549. },
  8550. QueueList__computeInitialCapacity(initialCapacity) {
  8551. if (initialCapacity == null || initialCapacity < 8)
  8552. return 8;
  8553. ++initialCapacity;
  8554. if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
  8555. return initialCapacity;
  8556. return A.QueueList__nextPowerOf2(initialCapacity);
  8557. },
  8558. QueueList__nextPowerOf2(number) {
  8559. var nextNumber;
  8560. number = (number << 1 >>> 0) - 1;
  8561. for (; true; number = nextNumber) {
  8562. nextNumber = (number & number - 1) >>> 0;
  8563. if (nextNumber === 0)
  8564. return number;
  8565. }
  8566. },
  8567. QueueList: function QueueList(t0, t1, t2, t3) {
  8568. var _ = this;
  8569. _._queue_list$_table = t0;
  8570. _._queue_list$_head = t1;
  8571. _._queue_list$_tail = t2;
  8572. _.$ti = t3;
  8573. },
  8574. _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
  8575. var _ = this;
  8576. _._queue_list$_delegate = t0;
  8577. _._queue_list$_table = t1;
  8578. _._queue_list$_head = t2;
  8579. _._queue_list$_tail = t3;
  8580. _.$ti = t4;
  8581. },
  8582. _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
  8583. },
  8584. UnionSet: function UnionSet(t0, t1) {
  8585. this._sets = t0;
  8586. this.$ti = t1;
  8587. },
  8588. UnionSet__iterable_closure: function UnionSet__iterable_closure(t0) {
  8589. this.$this = t0;
  8590. },
  8591. UnionSet_contains_closure: function UnionSet_contains_closure(t0, t1) {
  8592. this.$this = t0;
  8593. this.element = t1;
  8594. },
  8595. _UnionSet_SetBase_UnmodifiableSetMixin: function _UnionSet_SetBase_UnmodifiableSetMixin() {
  8596. },
  8597. UnmodifiableSetMixin__throw() {
  8598. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
  8599. },
  8600. UnmodifiableSetView0: function UnmodifiableSetView0(t0, t1) {
  8601. this._base = t0;
  8602. this.$ti = t1;
  8603. },
  8604. UnmodifiableSetMixin: function UnmodifiableSetMixin() {
  8605. },
  8606. _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
  8607. },
  8608. _DelegatingIterableBase: function _DelegatingIterableBase() {
  8609. },
  8610. DelegatingSet: function DelegatingSet(t0, t1) {
  8611. this._base = t0;
  8612. this.$ti = t1;
  8613. },
  8614. MapKeySet: function MapKeySet(t0, t1) {
  8615. this._baseMap = t0;
  8616. this.$ti = t1;
  8617. },
  8618. MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
  8619. this.$this = t0;
  8620. this.other = t1;
  8621. },
  8622. _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
  8623. },
  8624. BufferModule: function BufferModule() {
  8625. },
  8626. BufferConstants: function BufferConstants() {
  8627. },
  8628. Buffer: function Buffer() {
  8629. },
  8630. ConsoleModule: function ConsoleModule() {
  8631. },
  8632. Console: function Console() {
  8633. },
  8634. EventEmitter: function EventEmitter() {
  8635. },
  8636. fs() {
  8637. var t1 = $._fs;
  8638. return t1 == null ? $._fs = self.fs : t1;
  8639. },
  8640. FS: function FS() {
  8641. },
  8642. FSConstants: function FSConstants() {
  8643. },
  8644. FSWatcher: function FSWatcher() {
  8645. },
  8646. ReadStream: function ReadStream() {
  8647. },
  8648. ReadStreamOptions: function ReadStreamOptions() {
  8649. },
  8650. WriteStream: function WriteStream() {
  8651. },
  8652. WriteStreamOptions: function WriteStreamOptions() {
  8653. },
  8654. FileOptions: function FileOptions() {
  8655. },
  8656. StatOptions: function StatOptions() {
  8657. },
  8658. MkdirOptions: function MkdirOptions() {
  8659. },
  8660. RmdirOptions: function RmdirOptions() {
  8661. },
  8662. WatchOptions: function WatchOptions() {
  8663. },
  8664. WatchFileOptions: function WatchFileOptions() {
  8665. },
  8666. Stats: function Stats() {
  8667. },
  8668. Promise: function Promise() {
  8669. },
  8670. Date: function Date() {
  8671. },
  8672. JsError: function JsError() {
  8673. },
  8674. Atomics: function Atomics() {
  8675. },
  8676. Modules: function Modules() {
  8677. },
  8678. Module: function Module() {
  8679. },
  8680. Net: function Net() {
  8681. },
  8682. Socket: function Socket() {
  8683. },
  8684. NetAddress: function NetAddress() {
  8685. },
  8686. NetServer: function NetServer() {
  8687. },
  8688. NodeJsError: function NodeJsError() {
  8689. },
  8690. JsAssertionError: function JsAssertionError() {
  8691. },
  8692. JsRangeError: function JsRangeError() {
  8693. },
  8694. JsReferenceError: function JsReferenceError() {
  8695. },
  8696. JsSyntaxError: function JsSyntaxError() {
  8697. },
  8698. JsTypeError: function JsTypeError() {
  8699. },
  8700. JsSystemError: function JsSystemError() {
  8701. },
  8702. Process: function Process() {
  8703. },
  8704. CPUUsage: function CPUUsage() {
  8705. },
  8706. Release: function Release() {
  8707. },
  8708. StreamModule: function StreamModule() {
  8709. },
  8710. Readable: function Readable() {
  8711. },
  8712. Writable: function Writable() {
  8713. },
  8714. Duplex: function Duplex() {
  8715. },
  8716. Transform: function Transform() {
  8717. },
  8718. WritableOptions: function WritableOptions() {
  8719. },
  8720. ReadableOptions: function ReadableOptions() {
  8721. },
  8722. Immediate: function Immediate() {
  8723. },
  8724. Timeout: function Timeout() {
  8725. },
  8726. TTY: function TTY() {
  8727. },
  8728. TTYReadStream: function TTYReadStream() {
  8729. },
  8730. TTYWriteStream: function TTYWriteStream() {
  8731. },
  8732. jsify0(dartObject) {
  8733. if (A._isBasicType(dartObject))
  8734. return dartObject;
  8735. return A.jsify(dartObject);
  8736. },
  8737. _isBasicType(value) {
  8738. return false;
  8739. },
  8740. promiseToFuture0(promise, $T) {
  8741. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  8742. completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
  8743. J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure1(completer)), A.allowInterop(new A.promiseToFuture_closure2(completer)));
  8744. return t1;
  8745. },
  8746. futureToPromise(future, $T) {
  8747. return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
  8748. },
  8749. Util: function Util() {
  8750. },
  8751. promiseToFuture_closure1: function promiseToFuture_closure1(t0) {
  8752. this.completer = t0;
  8753. },
  8754. promiseToFuture_closure2: function promiseToFuture_closure2(t0) {
  8755. this.completer = t0;
  8756. },
  8757. futureToPromise_closure: function futureToPromise_closure(t0, t1) {
  8758. this.future = t0;
  8759. this.T = t1;
  8760. },
  8761. futureToPromise__closure: function futureToPromise__closure(t0, t1) {
  8762. this.resolve = t0;
  8763. this.T = t1;
  8764. },
  8765. Context_Context(style) {
  8766. return new A.Context(style, ".");
  8767. },
  8768. _parseUri(uri) {
  8769. if (typeof uri == "string")
  8770. return A.Uri_parse(uri);
  8771. if (type$.Uri._is(uri))
  8772. return uri;
  8773. throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
  8774. },
  8775. _validateArgList(method, args) {
  8776. var numArgs, i, numArgs0, message, t1, t2, t3, t4;
  8777. for (numArgs = args.length, i = 1; i < numArgs; ++i) {
  8778. if (args[i] == null || args[i - 1] != null)
  8779. continue;
  8780. for (; numArgs >= 1; numArgs = numArgs0) {
  8781. numArgs0 = numArgs - 1;
  8782. if (args[numArgs0] != null)
  8783. break;
  8784. }
  8785. message = new A.StringBuffer("");
  8786. t1 = "" + (method + "(");
  8787. message._contents = t1;
  8788. t2 = A._arrayInstanceType(args);
  8789. t3 = t2._eval$1("SubListIterable<1>");
  8790. t4 = new A.SubListIterable(args, 0, numArgs, t3);
  8791. t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
  8792. t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
  8793. message._contents = t3;
  8794. message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
  8795. throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
  8796. }
  8797. },
  8798. Context: function Context(t0, t1) {
  8799. this.style = t0;
  8800. this._context$_current = t1;
  8801. },
  8802. Context_joinAll_closure: function Context_joinAll_closure() {
  8803. },
  8804. Context_split_closure: function Context_split_closure() {
  8805. },
  8806. _validateArgList_closure: function _validateArgList_closure() {
  8807. },
  8808. _PathDirection: function _PathDirection(t0) {
  8809. this.name = t0;
  8810. },
  8811. _PathRelation: function _PathRelation(t0) {
  8812. this.name = t0;
  8813. },
  8814. InternalStyle: function InternalStyle() {
  8815. },
  8816. ParsedPath_ParsedPath$parse(path, style) {
  8817. var t1, parts, separators, start, i,
  8818. root = style.getRoot$1(path),
  8819. isRootRelative = style.isRootRelative$1(path);
  8820. if (root != null)
  8821. path = B.JSString_methods.substring$1(path, root.length);
  8822. t1 = type$.JSArray_String;
  8823. parts = A._setArrayType([], t1);
  8824. separators = A._setArrayType([], t1);
  8825. t1 = path.length;
  8826. if (t1 !== 0 && style.isSeparator$1(path.charCodeAt(0))) {
  8827. separators.push(path[0]);
  8828. start = 1;
  8829. } else {
  8830. separators.push("");
  8831. start = 0;
  8832. }
  8833. for (i = start; i < t1; ++i)
  8834. if (style.isSeparator$1(path.charCodeAt(i))) {
  8835. parts.push(B.JSString_methods.substring$2(path, start, i));
  8836. separators.push(path[i]);
  8837. start = i + 1;
  8838. }
  8839. if (start < t1) {
  8840. parts.push(B.JSString_methods.substring$1(path, start));
  8841. separators.push("");
  8842. }
  8843. return new A.ParsedPath(style, root, isRootRelative, parts, separators);
  8844. },
  8845. ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
  8846. var _ = this;
  8847. _.style = t0;
  8848. _.root = t1;
  8849. _.isRootRelative = t2;
  8850. _.parts = t3;
  8851. _.separators = t4;
  8852. },
  8853. ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
  8854. },
  8855. ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
  8856. },
  8857. PathException$(message) {
  8858. return new A.PathException(message);
  8859. },
  8860. PathException: function PathException(t0) {
  8861. this.message = t0;
  8862. },
  8863. PathMap__create(context, $V) {
  8864. var t1 = {};
  8865. t1.context = context;
  8866. t1.context = $.$get$context();
  8867. 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);
  8868. },
  8869. PathMap: function PathMap(t0, t1) {
  8870. this._map = t0;
  8871. this.$ti = t1;
  8872. },
  8873. PathMap__create_closure: function PathMap__create_closure(t0) {
  8874. this._box_0 = t0;
  8875. },
  8876. PathMap__create_closure0: function PathMap__create_closure0(t0) {
  8877. this._box_0 = t0;
  8878. },
  8879. PathMap__create_closure1: function PathMap__create_closure1() {
  8880. },
  8881. Style__getPlatformStyle() {
  8882. if (A.Uri_base().get$scheme() !== "file")
  8883. return $.$get$Style_url();
  8884. var t1 = A.Uri_base();
  8885. if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
  8886. return $.$get$Style_url();
  8887. if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
  8888. return $.$get$Style_windows();
  8889. return $.$get$Style_posix();
  8890. },
  8891. Style: function Style() {
  8892. },
  8893. PosixStyle: function PosixStyle(t0, t1, t2) {
  8894. this.separatorPattern = t0;
  8895. this.needsSeparatorPattern = t1;
  8896. this.rootPattern = t2;
  8897. },
  8898. UrlStyle: function UrlStyle(t0, t1, t2, t3) {
  8899. var _ = this;
  8900. _.separatorPattern = t0;
  8901. _.needsSeparatorPattern = t1;
  8902. _.rootPattern = t2;
  8903. _.relativeRootPattern = t3;
  8904. },
  8905. WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
  8906. var _ = this;
  8907. _.separatorPattern = t0;
  8908. _.needsSeparatorPattern = t1;
  8909. _.rootPattern = t2;
  8910. _.relativeRootPattern = t3;
  8911. },
  8912. WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
  8913. },
  8914. Version$_(major, minor, patch, preRelease, build, _text) {
  8915. var t1 = preRelease == null ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(preRelease),
  8916. t2 = build == null ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(build);
  8917. if (major < 0)
  8918. A.throwExpression(A.ArgumentError$("Major version must be non-negative.", null));
  8919. if (minor < 0)
  8920. A.throwExpression(A.ArgumentError$("Minor version must be non-negative.", null));
  8921. if (patch < 0)
  8922. A.throwExpression(A.ArgumentError$("Patch version must be non-negative.", null));
  8923. return new A.Version(major, minor, patch, t1, t2, _text);
  8924. },
  8925. Version_Version(major, minor, patch, pre) {
  8926. var text = "" + major + "." + minor + "." + patch;
  8927. if (pre != null)
  8928. text += "-" + pre;
  8929. return A.Version$_(major, minor, patch, pre, null, text);
  8930. },
  8931. Version___parse_tearOff(text) {
  8932. return A.Version_Version$parse(text);
  8933. },
  8934. Version_Version$parse(text) {
  8935. var major, minor, patch, preRelease, build, t1, exception, _null = null,
  8936. _s17_ = 'Could not parse "',
  8937. match = $.$get$completeVersion().firstMatch$1(text);
  8938. if (match == null)
  8939. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  8940. try {
  8941. t1 = match._match[1];
  8942. t1.toString;
  8943. major = A.int_parse(t1, _null);
  8944. t1 = match._match[2];
  8945. t1.toString;
  8946. minor = A.int_parse(t1, _null);
  8947. t1 = match._match[3];
  8948. t1.toString;
  8949. patch = A.int_parse(t1, _null);
  8950. preRelease = match._match[5];
  8951. build = match._match[8];
  8952. t1 = A.Version$_(major, minor, patch, preRelease, build, text);
  8953. return t1;
  8954. } catch (exception) {
  8955. if (type$.FormatException._is(A.unwrapException(exception)))
  8956. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  8957. else
  8958. throw exception;
  8959. }
  8960. },
  8961. Version__splitParts(text) {
  8962. var t1 = type$.MappedListIterable_String_Object;
  8963. return A.List_List$of(new A.MappedListIterable(A._setArrayType(text.split("."), type$.JSArray_String), new A.Version__splitParts_closure(), t1), true, t1._eval$1("ListIterable.E"));
  8964. },
  8965. Version: function Version(t0, t1, t2, t3, t4, t5) {
  8966. var _ = this;
  8967. _.major = t0;
  8968. _.minor = t1;
  8969. _.patch = t2;
  8970. _.preRelease = t3;
  8971. _.build = t4;
  8972. _._version$_text = t5;
  8973. },
  8974. Version__splitParts_closure: function Version__splitParts_closure() {
  8975. },
  8976. VersionRange_VersionRange(includeMax, max) {
  8977. return new A.VersionRange(null, max, false, true);
  8978. },
  8979. VersionRange: function VersionRange(t0, t1, t2, t3) {
  8980. var _ = this;
  8981. _.min = t0;
  8982. _.max = t1;
  8983. _.includeMin = t2;
  8984. _.includeMax = t3;
  8985. },
  8986. CssMediaQuery$type(type, conditions, modifier) {
  8987. return new A.CssMediaQuery(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  8988. },
  8989. CssMediaQuery$condition(conditions, conjunction) {
  8990. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  8991. if (t1.length > 1 && conjunction == null)
  8992. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  8993. return new A.CssMediaQuery(null, null, conjunction !== false, t1);
  8994. },
  8995. CssMediaQuery: function CssMediaQuery(t0, t1, t2, t3) {
  8996. var _ = this;
  8997. _.modifier = t0;
  8998. _.type = t1;
  8999. _.conjunction = t2;
  9000. _.conditions = t3;
  9001. },
  9002. _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
  9003. this._name = t0;
  9004. },
  9005. MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
  9006. this.query = t0;
  9007. },
  9008. ModifiableCssAtRule$($name, span, childless, value) {
  9009. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9010. return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9011. },
  9012. ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
  9013. var _ = this;
  9014. _.name = t0;
  9015. _.value = t1;
  9016. _.isChildless = t2;
  9017. _.span = t3;
  9018. _.children = t4;
  9019. _._children = t5;
  9020. _._indexInParent = _._parent = null;
  9021. _.isGroupEnd = false;
  9022. },
  9023. ModifiableCssComment: function ModifiableCssComment(t0, t1) {
  9024. var _ = this;
  9025. _.text = t0;
  9026. _.span = t1;
  9027. _._indexInParent = _._parent = null;
  9028. _.isGroupEnd = false;
  9029. },
  9030. ModifiableCssDeclaration$($name, value, span, interleavedRules, parsedAsCustomProperty, trace, valueSpanForMap) {
  9031. var t3,
  9032. t1 = interleavedRules == null ? B.List_empty11 : A.List_List$unmodifiable(interleavedRules, type$.CssStyleRule),
  9033. t2 = valueSpanForMap == null ? value.span : valueSpanForMap;
  9034. if (parsedAsCustomProperty)
  9035. if (!J.startsWith$1$s($name.value, "--"))
  9036. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  9037. else {
  9038. t3 = value.value;
  9039. if (!(t3 instanceof A.SassString))
  9040. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t3).toString$0(0) + ").", null));
  9041. }
  9042. return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, trace, t2, span);
  9043. },
  9044. ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4, t5, t6) {
  9045. var _ = this;
  9046. _.name = t0;
  9047. _.value = t1;
  9048. _.parsedAsCustomProperty = t2;
  9049. _.interleavedRules = t3;
  9050. _.trace = t4;
  9051. _.valueSpanForMap = t5;
  9052. _.span = t6;
  9053. _._indexInParent = _._parent = null;
  9054. _.isGroupEnd = false;
  9055. },
  9056. ModifiableCssImport: function ModifiableCssImport(t0, t1, t2) {
  9057. var _ = this;
  9058. _.url = t0;
  9059. _.modifiers = t1;
  9060. _.span = t2;
  9061. _._indexInParent = _._parent = null;
  9062. _.isGroupEnd = false;
  9063. },
  9064. ModifiableCssKeyframeBlock$(selector, span) {
  9065. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9066. return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9067. },
  9068. ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
  9069. var _ = this;
  9070. _.selector = t0;
  9071. _.span = t1;
  9072. _.children = t2;
  9073. _._children = t3;
  9074. _._indexInParent = _._parent = null;
  9075. _.isGroupEnd = false;
  9076. },
  9077. ModifiableCssMediaRule$(queries, span) {
  9078. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
  9079. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9080. if (J.get$isEmpty$asx(queries))
  9081. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  9082. return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
  9083. },
  9084. ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
  9085. var _ = this;
  9086. _.queries = t0;
  9087. _.span = t1;
  9088. _.children = t2;
  9089. _._children = t3;
  9090. _._indexInParent = _._parent = null;
  9091. _.isGroupEnd = false;
  9092. },
  9093. ModifiableCssNode: function ModifiableCssNode() {
  9094. },
  9095. ModifiableCssNode_hasFollowingSibling_closure: function ModifiableCssNode_hasFollowingSibling_closure() {
  9096. },
  9097. ModifiableCssParentNode: function ModifiableCssParentNode() {
  9098. },
  9099. ModifiableCssStyleRule$(_selector, span, fromPlainCss, originalSelector) {
  9100. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9101. return new A.ModifiableCssStyleRule(_selector, originalSelector, span, fromPlainCss, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9102. },
  9103. ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4, t5) {
  9104. var _ = this;
  9105. _._style_rule$_selector = t0;
  9106. _.originalSelector = t1;
  9107. _.span = t2;
  9108. _.fromPlainCss = t3;
  9109. _.children = t4;
  9110. _._children = t5;
  9111. _._indexInParent = _._parent = null;
  9112. _.isGroupEnd = false;
  9113. },
  9114. ModifiableCssStylesheet$(span) {
  9115. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9116. return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9117. },
  9118. ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
  9119. var _ = this;
  9120. _.span = t0;
  9121. _.children = t1;
  9122. _._children = t2;
  9123. _._indexInParent = _._parent = null;
  9124. _.isGroupEnd = false;
  9125. },
  9126. ModifiableCssSupportsRule$(condition, span) {
  9127. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9128. return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9129. },
  9130. ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
  9131. var _ = this;
  9132. _.condition = t0;
  9133. _.span = t1;
  9134. _.children = t2;
  9135. _._children = t3;
  9136. _._indexInParent = _._parent = null;
  9137. _.isGroupEnd = false;
  9138. },
  9139. CssNode: function CssNode() {
  9140. },
  9141. CssParentNode: function CssParentNode() {
  9142. },
  9143. _IsInvisibleVisitor: function _IsInvisibleVisitor(t0, t1) {
  9144. this.includeBogus = t0;
  9145. this.includeComments = t1;
  9146. },
  9147. __IsInvisibleVisitor_Object_EveryCssVisitor: function __IsInvisibleVisitor_Object_EveryCssVisitor() {
  9148. },
  9149. CssStylesheet: function CssStylesheet(t0, t1) {
  9150. this.children = t0;
  9151. this.span = t1;
  9152. },
  9153. CssValue: function CssValue(t0, t1, t2) {
  9154. this.value = t0;
  9155. this.span = t1;
  9156. this.$ti = t2;
  9157. },
  9158. _FakeAstNode: function _FakeAstNode(t0) {
  9159. this._callback = t0;
  9160. },
  9161. ArgumentList$empty(span) {
  9162. return new A.ArgumentList(B.List_empty9, B.Map_empty5, null, null, span);
  9163. },
  9164. ArgumentList: function ArgumentList(t0, t1, t2, t3, t4) {
  9165. var _ = this;
  9166. _.positional = t0;
  9167. _.named = t1;
  9168. _.rest = t2;
  9169. _.keywordRest = t3;
  9170. _.span = t4;
  9171. },
  9172. AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
  9173. var _ = this;
  9174. _.include = t0;
  9175. _.names = t1;
  9176. _._all = t2;
  9177. _._at_root_query$_rule = t3;
  9178. },
  9179. ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
  9180. var _ = this;
  9181. _.name = t0;
  9182. _.expression = t1;
  9183. _.isGuarded = t2;
  9184. _.span = t3;
  9185. },
  9186. Expression: function Expression() {
  9187. },
  9188. BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
  9189. var _ = this;
  9190. _.operator = t0;
  9191. _.left = t1;
  9192. _.right = t2;
  9193. _.allowsSlash = t3;
  9194. },
  9195. BinaryOperator: function BinaryOperator(t0, t1, t2, t3, t4) {
  9196. var _ = this;
  9197. _.name = t0;
  9198. _.operator = t1;
  9199. _.precedence = t2;
  9200. _.isAssociative = t3;
  9201. _._name = t4;
  9202. },
  9203. BooleanExpression: function BooleanExpression(t0, t1) {
  9204. this.value = t0;
  9205. this.span = t1;
  9206. },
  9207. ColorExpression: function ColorExpression(t0, t1) {
  9208. this.value = t0;
  9209. this.span = t1;
  9210. },
  9211. FunctionExpression: function FunctionExpression(t0, t1, t2, t3, t4) {
  9212. var _ = this;
  9213. _.namespace = t0;
  9214. _.name = t1;
  9215. _.originalName = t2;
  9216. _.$arguments = t3;
  9217. _.span = t4;
  9218. },
  9219. IfExpression: function IfExpression(t0, t1) {
  9220. this.$arguments = t0;
  9221. this.span = t1;
  9222. },
  9223. InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
  9224. this.name = t0;
  9225. this.$arguments = t1;
  9226. this.span = t2;
  9227. },
  9228. ListExpression: function ListExpression(t0, t1, t2, t3) {
  9229. var _ = this;
  9230. _.contents = t0;
  9231. _.separator = t1;
  9232. _.hasBrackets = t2;
  9233. _.span = t3;
  9234. },
  9235. ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
  9236. this.$this = t0;
  9237. },
  9238. MapExpression: function MapExpression(t0, t1) {
  9239. this.pairs = t0;
  9240. this.span = t1;
  9241. },
  9242. NullExpression: function NullExpression(t0) {
  9243. this.span = t0;
  9244. },
  9245. NumberExpression: function NumberExpression(t0, t1, t2) {
  9246. this.value = t0;
  9247. this.unit = t1;
  9248. this.span = t2;
  9249. },
  9250. ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
  9251. this.expression = t0;
  9252. this.span = t1;
  9253. },
  9254. SelectorExpression: function SelectorExpression(t0) {
  9255. this.span = t0;
  9256. },
  9257. StringExpression_quoteText(text) {
  9258. var t1,
  9259. quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
  9260. buffer = new A.StringBuffer("");
  9261. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  9262. A.StringExpression__quoteInnerText(text, quote, buffer, true);
  9263. t1 = A.Primitives_stringFromCharCode(quote);
  9264. t1 = buffer._contents += t1;
  9265. return t1.charCodeAt(0) == 0 ? t1 : t1;
  9266. },
  9267. StringExpression__quoteInnerText(text, quote, buffer, $static) {
  9268. var t1, t2, i, _1_0, _0_0, t3, t4, t5, t0;
  9269. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  9270. _1_0 = text.charCodeAt(i);
  9271. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  9272. buffer.writeCharCode$1(92);
  9273. buffer.writeCharCode$1(97);
  9274. if (i !== t2) {
  9275. _0_0 = text.charCodeAt(i + 1);
  9276. t3 = true;
  9277. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  9278. if (!(_0_0 >= 48 && _0_0 <= 57))
  9279. if (!(_0_0 >= 97 && _0_0 <= 102))
  9280. t3 = _0_0 >= 65 && _0_0 <= 70;
  9281. if (t3)
  9282. buffer.writeCharCode$1(32);
  9283. }
  9284. continue;
  9285. }
  9286. t3 = 92 === _1_0;
  9287. if (t3)
  9288. t4 = _1_0;
  9289. else
  9290. t4 = null;
  9291. if (!t3) {
  9292. t3 = false;
  9293. t5 = _1_0 === quote;
  9294. if (t5)
  9295. t4 = _1_0;
  9296. if (!t5)
  9297. if (35 === _1_0)
  9298. if ($static)
  9299. if (i < t2) {
  9300. t3 = text.charCodeAt(i + 1) === 123;
  9301. if (t3)
  9302. t4 = _1_0;
  9303. t0 = t4;
  9304. t4 = t3;
  9305. t3 = t0;
  9306. } else {
  9307. t0 = t4;
  9308. t4 = t3;
  9309. t3 = t0;
  9310. }
  9311. else {
  9312. t0 = t4;
  9313. t4 = t3;
  9314. t3 = t0;
  9315. }
  9316. else {
  9317. t0 = t4;
  9318. t4 = t3;
  9319. t3 = t0;
  9320. }
  9321. else {
  9322. t3 = t4;
  9323. t4 = true;
  9324. }
  9325. } else {
  9326. t3 = t4;
  9327. t4 = true;
  9328. }
  9329. if (t4) {
  9330. buffer.writeCharCode$1(92);
  9331. buffer.writeCharCode$1(t3);
  9332. continue;
  9333. }
  9334. buffer.writeCharCode$1(_1_0);
  9335. }
  9336. },
  9337. StringExpression__bestQuote(strings) {
  9338. var t1, t2, t3, containsDoubleQuote, t4, t5;
  9339. 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();)
  9340. for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
  9341. t5 = t4.__internal$_current;
  9342. if (t5 == null)
  9343. t5 = t2._as(t5);
  9344. if (t5 === 39)
  9345. return 34;
  9346. if (t5 === 34)
  9347. containsDoubleQuote = true;
  9348. }
  9349. return containsDoubleQuote ? 39 : 34;
  9350. },
  9351. StringExpression: function StringExpression(t0, t1) {
  9352. this.text = t0;
  9353. this.hasQuotes = t1;
  9354. },
  9355. SupportsExpression: function SupportsExpression(t0) {
  9356. this.condition = t0;
  9357. },
  9358. UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
  9359. this.operator = t0;
  9360. this.operand = t1;
  9361. this.span = t2;
  9362. },
  9363. UnaryOperator: function UnaryOperator(t0, t1, t2) {
  9364. this.name = t0;
  9365. this.operator = t1;
  9366. this._name = t2;
  9367. },
  9368. ValueExpression: function ValueExpression(t0, t1) {
  9369. this.value = t0;
  9370. this.span = t1;
  9371. },
  9372. VariableExpression: function VariableExpression(t0, t1, t2) {
  9373. this.namespace = t0;
  9374. this.name = t1;
  9375. this.span = t2;
  9376. },
  9377. DynamicImport: function DynamicImport(t0, t1) {
  9378. this.urlString = t0;
  9379. this.span = t1;
  9380. },
  9381. StaticImport: function StaticImport(t0, t1, t2) {
  9382. this.url = t0;
  9383. this.modifiers = t1;
  9384. this.span = t2;
  9385. },
  9386. Interpolation$(contents, spans, span) {
  9387. var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), A.List_List$unmodifiable(spans, type$.nullable_FileSpan), span);
  9388. t1.Interpolation$3(contents, spans, span);
  9389. return t1;
  9390. },
  9391. Interpolation: function Interpolation(t0, t1, t2) {
  9392. this.contents = t0;
  9393. this.spans = t1;
  9394. this.span = t2;
  9395. },
  9396. Interpolation_toString_closure: function Interpolation_toString_closure() {
  9397. },
  9398. Parameter: function Parameter(t0, t1, t2) {
  9399. this.name = t0;
  9400. this.defaultValue = t1;
  9401. this.span = t2;
  9402. },
  9403. ParameterList_ParameterList$parse(contents, url) {
  9404. return A.ScssParser$(contents, url).parseParameterList$0();
  9405. },
  9406. ParameterList: function ParameterList(t0, t1, t2) {
  9407. this.parameters = t0;
  9408. this.restParameter = t1;
  9409. this.span = t2;
  9410. },
  9411. ParameterList_verify_closure: function ParameterList_verify_closure() {
  9412. },
  9413. ParameterList_verify_closure0: function ParameterList_verify_closure0() {
  9414. },
  9415. Statement: function Statement() {
  9416. },
  9417. AtRootRule$(children, span, query) {
  9418. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9419. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9420. return new A.AtRootRule(query, span, t1, t2);
  9421. },
  9422. AtRootRule: function AtRootRule(t0, t1, t2, t3) {
  9423. var _ = this;
  9424. _.query = t0;
  9425. _.span = t1;
  9426. _.children = t2;
  9427. _.hasDeclarations = t3;
  9428. },
  9429. AtRule$($name, span, children, value) {
  9430. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
  9431. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9432. return new A.AtRule($name, value, span, t1, t2 === true);
  9433. },
  9434. AtRule: function AtRule(t0, t1, t2, t3, t4) {
  9435. var _ = this;
  9436. _.name = t0;
  9437. _.value = t1;
  9438. _.span = t2;
  9439. _.children = t3;
  9440. _.hasDeclarations = t4;
  9441. },
  9442. CallableDeclaration: function CallableDeclaration() {
  9443. },
  9444. ContentBlock$(parameters, children, span) {
  9445. var _s8_ = "@content",
  9446. t1 = A.stringReplaceAllUnchecked(_s8_, "_", "-"),
  9447. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9448. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9449. return new A.ContentBlock(t1, _s8_, parameters, span, t2, t3);
  9450. },
  9451. ContentBlock: function ContentBlock(t0, t1, t2, t3, t4, t5) {
  9452. var _ = this;
  9453. _.name = t0;
  9454. _.originalName = t1;
  9455. _.parameters = t2;
  9456. _.span = t3;
  9457. _.children = t4;
  9458. _.hasDeclarations = t5;
  9459. },
  9460. ContentRule: function ContentRule(t0, t1) {
  9461. this.$arguments = t0;
  9462. this.span = t1;
  9463. },
  9464. DebugRule: function DebugRule(t0, t1) {
  9465. this.expression = t0;
  9466. this.span = t1;
  9467. },
  9468. Declaration$($name, value, span) {
  9469. return new A.Declaration($name, value, span, null, false);
  9470. },
  9471. Declaration$nested($name, children, span, value) {
  9472. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9473. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9474. return new A.Declaration($name, value, span, t1, t2);
  9475. },
  9476. Declaration: function Declaration(t0, t1, t2, t3, t4) {
  9477. var _ = this;
  9478. _.name = t0;
  9479. _.value = t1;
  9480. _.span = t2;
  9481. _.children = t3;
  9482. _.hasDeclarations = t4;
  9483. },
  9484. EachRule$(variables, list, children, span) {
  9485. var t1 = A.List_List$unmodifiable(variables, type$.String),
  9486. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9487. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9488. return new A.EachRule(t1, list, span, t2, t3);
  9489. },
  9490. EachRule: function EachRule(t0, t1, t2, t3, t4) {
  9491. var _ = this;
  9492. _.variables = t0;
  9493. _.list = t1;
  9494. _.span = t2;
  9495. _.children = t3;
  9496. _.hasDeclarations = t4;
  9497. },
  9498. EachRule_toString_closure: function EachRule_toString_closure() {
  9499. },
  9500. ErrorRule: function ErrorRule(t0, t1) {
  9501. this.expression = t0;
  9502. this.span = t1;
  9503. },
  9504. ExtendRule: function ExtendRule(t0, t1, t2) {
  9505. this.selector = t0;
  9506. this.isOptional = t1;
  9507. this.span = t2;
  9508. },
  9509. ForRule$(variable, from, to, children, span, exclusive) {
  9510. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9511. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9512. return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
  9513. },
  9514. ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
  9515. var _ = this;
  9516. _.variable = t0;
  9517. _.from = t1;
  9518. _.to = t2;
  9519. _.isExclusive = t3;
  9520. _.span = t4;
  9521. _.children = t5;
  9522. _.hasDeclarations = t6;
  9523. },
  9524. ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
  9525. var _ = this;
  9526. _.url = t0;
  9527. _.shownMixinsAndFunctions = t1;
  9528. _.shownVariables = t2;
  9529. _.hiddenMixinsAndFunctions = t3;
  9530. _.hiddenVariables = t4;
  9531. _.prefix = t5;
  9532. _.configuration = t6;
  9533. _.span = t7;
  9534. },
  9535. FunctionRule$($name, parameters, children, span, comment) {
  9536. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  9537. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9538. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9539. return new A.FunctionRule(t1, $name, parameters, span, t2, t3);
  9540. },
  9541. FunctionRule: function FunctionRule(t0, t1, t2, t3, t4, t5) {
  9542. var _ = this;
  9543. _.name = t0;
  9544. _.originalName = t1;
  9545. _.parameters = t2;
  9546. _.span = t3;
  9547. _.children = t4;
  9548. _.hasDeclarations = t5;
  9549. },
  9550. IfClause$(expression, children) {
  9551. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  9552. return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  9553. },
  9554. ElseClause$(children) {
  9555. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  9556. return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  9557. },
  9558. IfRule: function IfRule(t0, t1, t2) {
  9559. this.clauses = t0;
  9560. this.lastClause = t1;
  9561. this.span = t2;
  9562. },
  9563. IfRule_toString_closure: function IfRule_toString_closure() {
  9564. },
  9565. IfRuleClause: function IfRuleClause() {
  9566. },
  9567. IfRuleClause$__closure: function IfRuleClause$__closure() {
  9568. },
  9569. IfRuleClause$___closure: function IfRuleClause$___closure() {
  9570. },
  9571. IfClause: function IfClause(t0, t1, t2) {
  9572. this.expression = t0;
  9573. this.children = t1;
  9574. this.hasDeclarations = t2;
  9575. },
  9576. ElseClause: function ElseClause(t0, t1) {
  9577. this.children = t0;
  9578. this.hasDeclarations = t1;
  9579. },
  9580. ImportRule: function ImportRule(t0, t1) {
  9581. this.imports = t0;
  9582. this.span = t1;
  9583. },
  9584. IncludeRule: function IncludeRule(t0, t1, t2, t3, t4, t5) {
  9585. var _ = this;
  9586. _.namespace = t0;
  9587. _.name = t1;
  9588. _.originalName = t2;
  9589. _.$arguments = t3;
  9590. _.content = t4;
  9591. _.span = t5;
  9592. },
  9593. LoudComment: function LoudComment(t0) {
  9594. this.text = t0;
  9595. },
  9596. MediaRule$(query, children, span) {
  9597. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9598. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9599. return new A.MediaRule(query, span, t1, t2);
  9600. },
  9601. MediaRule: function MediaRule(t0, t1, t2, t3) {
  9602. var _ = this;
  9603. _.query = t0;
  9604. _.span = t1;
  9605. _.children = t2;
  9606. _.hasDeclarations = t3;
  9607. },
  9608. MixinRule$($name, parameters, children, span, comment) {
  9609. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  9610. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9611. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9612. return new A.MixinRule(t1, $name, parameters, span, t2, t3);
  9613. },
  9614. MixinRule: function MixinRule(t0, t1, t2, t3, t4, t5) {
  9615. var _ = this;
  9616. _.__MixinRule_hasContent_FI = $;
  9617. _.name = t0;
  9618. _.originalName = t1;
  9619. _.parameters = t2;
  9620. _.span = t3;
  9621. _.children = t4;
  9622. _.hasDeclarations = t5;
  9623. },
  9624. _HasContentVisitor: function _HasContentVisitor() {
  9625. },
  9626. __HasContentVisitor_Object_StatementSearchVisitor: function __HasContentVisitor_Object_StatementSearchVisitor() {
  9627. },
  9628. ParentStatement: function ParentStatement() {
  9629. },
  9630. ParentStatement_closure: function ParentStatement_closure() {
  9631. },
  9632. ParentStatement__closure: function ParentStatement__closure() {
  9633. },
  9634. ReturnRule: function ReturnRule(t0, t1) {
  9635. this.expression = t0;
  9636. this.span = t1;
  9637. },
  9638. SilentComment: function SilentComment(t0, t1) {
  9639. this.text = t0;
  9640. this.span = t1;
  9641. },
  9642. StyleRule$(selector, children, span) {
  9643. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9644. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9645. return new A.StyleRule(selector, span, t1, t2);
  9646. },
  9647. StyleRule: function StyleRule(t0, t1, t2, t3) {
  9648. var _ = this;
  9649. _.selector = t0;
  9650. _.span = t1;
  9651. _.children = t2;
  9652. _.hasDeclarations = t3;
  9653. },
  9654. Stylesheet$(children, span) {
  9655. var t1 = A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span),
  9656. t2 = A._setArrayType([], type$.JSArray_UseRule),
  9657. t3 = A._setArrayType([], type$.JSArray_ForwardRule),
  9658. t4 = A.List_List$unmodifiable(children, type$.Statement),
  9659. t5 = B.JSArray_methods.any$1(t4, new A.ParentStatement_closure());
  9660. 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_empty7, t4, t5);
  9661. t2.Stylesheet$internal$5$globalVariables$plainCss(children, span, t1, null, false);
  9662. return t2;
  9663. },
  9664. Stylesheet$internal(children, span, parseTimeWarnings, globalVariables, plainCss) {
  9665. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  9666. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  9667. t3 = globalVariables == null ? B.Map_empty7 : A.ConstantMap_ConstantMap$from(globalVariables, type$.String, type$.FileSpan),
  9668. t4 = A.List_List$unmodifiable(children, type$.Statement),
  9669. t5 = B.JSArray_methods.any$1(t4, new A.ParentStatement_closure());
  9670. 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);
  9671. t1.Stylesheet$internal$5$globalVariables$plainCss(children, span, parseTimeWarnings, globalVariables, plainCss);
  9672. return t1;
  9673. },
  9674. Stylesheet_Stylesheet$parse(contents, syntax, url) {
  9675. var error, stackTrace, url0, t1, exception, t2;
  9676. try {
  9677. switch (syntax) {
  9678. case B.Syntax_Sass_sass:
  9679. 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);
  9680. return t1;
  9681. case B.Syntax_SCSS_scss:
  9682. t1 = A.ScssParser$(contents, url).parse$0(0);
  9683. return t1;
  9684. case B.Syntax_CSS_css:
  9685. 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);
  9686. return t1;
  9687. }
  9688. } catch (exception) {
  9689. t1 = A.unwrapException(exception);
  9690. if (t1 instanceof A.SassException) {
  9691. error = t1;
  9692. stackTrace = A.getTraceFromException(exception);
  9693. t1 = error;
  9694. t2 = J.getInterceptor$z(t1);
  9695. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  9696. url0 = t1.get$sourceUrl(t1);
  9697. if (url0 == null || J.toString$0$(url0) === "stdin")
  9698. throw exception;
  9699. t1 = type$.Uri;
  9700. throw A.wrapException(A.throwWithTrace(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  9701. } else
  9702. throw exception;
  9703. }
  9704. },
  9705. Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5, t6, t7) {
  9706. var _ = this;
  9707. _.span = t0;
  9708. _.plainCss = t1;
  9709. _._uses = t2;
  9710. _._forwards = t3;
  9711. _.parseTimeWarnings = t4;
  9712. _.globalVariables = t5;
  9713. _.children = t6;
  9714. _.hasDeclarations = t7;
  9715. },
  9716. SupportsRule$(condition, children, span) {
  9717. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9718. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9719. return new A.SupportsRule(condition, span, t1, t2);
  9720. },
  9721. SupportsRule: function SupportsRule(t0, t1, t2, t3) {
  9722. var _ = this;
  9723. _.condition = t0;
  9724. _.span = t1;
  9725. _.children = t2;
  9726. _.hasDeclarations = t3;
  9727. },
  9728. UseRule: function UseRule(t0, t1, t2, t3) {
  9729. var _ = this;
  9730. _.url = t0;
  9731. _.namespace = t1;
  9732. _.configuration = t2;
  9733. _.span = t3;
  9734. },
  9735. VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
  9736. if (namespace != null && global)
  9737. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  9738. return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
  9739. },
  9740. VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
  9741. var _ = this;
  9742. _.namespace = t0;
  9743. _.name = t1;
  9744. _.expression = t2;
  9745. _.isGuarded = t3;
  9746. _.isGlobal = t4;
  9747. _.span = t5;
  9748. },
  9749. WarnRule: function WarnRule(t0, t1) {
  9750. this.expression = t0;
  9751. this.span = t1;
  9752. },
  9753. WhileRule$(condition, children, span) {
  9754. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9755. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9756. return new A.WhileRule(condition, span, t1, t2);
  9757. },
  9758. WhileRule: function WhileRule(t0, t1, t2, t3) {
  9759. var _ = this;
  9760. _.condition = t0;
  9761. _.span = t1;
  9762. _.children = t2;
  9763. _.hasDeclarations = t3;
  9764. },
  9765. SupportsAnything: function SupportsAnything(t0, t1) {
  9766. this.contents = t0;
  9767. this.span = t1;
  9768. },
  9769. SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
  9770. this.name = t0;
  9771. this.value = t1;
  9772. this.span = t2;
  9773. },
  9774. SupportsFunction: function SupportsFunction(t0, t1, t2) {
  9775. this.name = t0;
  9776. this.$arguments = t1;
  9777. this.span = t2;
  9778. },
  9779. SupportsInterpolation: function SupportsInterpolation(t0, t1) {
  9780. this.expression = t0;
  9781. this.span = t1;
  9782. },
  9783. SupportsNegation: function SupportsNegation(t0, t1) {
  9784. this.condition = t0;
  9785. this.span = t1;
  9786. },
  9787. SupportsOperation$(left, right, operator, span) {
  9788. var lowerOperator = operator.toLowerCase();
  9789. if (lowerOperator !== "and" && lowerOperator !== "or")
  9790. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  9791. return new A.SupportsOperation(left, right, operator, span);
  9792. },
  9793. SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
  9794. var _ = this;
  9795. _.left = t0;
  9796. _.right = t1;
  9797. _.operator = t2;
  9798. _.span = t3;
  9799. },
  9800. Selector: function Selector() {
  9801. },
  9802. _IsInvisibleVisitor0: function _IsInvisibleVisitor0(t0) {
  9803. this.includeBogus = t0;
  9804. },
  9805. _IsBogusVisitor: function _IsBogusVisitor(t0) {
  9806. this.includeLeadingCombinator = t0;
  9807. },
  9808. _IsBogusVisitor_visitComplexSelector_closure: function _IsBogusVisitor_visitComplexSelector_closure(t0) {
  9809. this.$this = t0;
  9810. },
  9811. _IsUselessVisitor: function _IsUselessVisitor() {
  9812. },
  9813. _IsUselessVisitor_visitComplexSelector_closure: function _IsUselessVisitor_visitComplexSelector_closure(t0) {
  9814. this.$this = t0;
  9815. },
  9816. __IsBogusVisitor_Object_AnySelectorVisitor: function __IsBogusVisitor_Object_AnySelectorVisitor() {
  9817. },
  9818. __IsInvisibleVisitor_Object_AnySelectorVisitor: function __IsInvisibleVisitor_Object_AnySelectorVisitor() {
  9819. },
  9820. __IsUselessVisitor_Object_AnySelectorVisitor: function __IsUselessVisitor_Object_AnySelectorVisitor() {
  9821. },
  9822. AttributeSelector: function AttributeSelector(t0, t1, t2, t3, t4) {
  9823. var _ = this;
  9824. _.name = t0;
  9825. _.op = t1;
  9826. _.value = t2;
  9827. _.modifier = t3;
  9828. _.span = t4;
  9829. },
  9830. AttributeOperator: function AttributeOperator(t0, t1) {
  9831. this._attribute$_text = t0;
  9832. this._name = t1;
  9833. },
  9834. ClassSelector: function ClassSelector(t0, t1) {
  9835. this.name = t0;
  9836. this.span = t1;
  9837. },
  9838. Combinator: function Combinator(t0, t1) {
  9839. this._combinator$_text = t0;
  9840. this._name = t1;
  9841. },
  9842. ComplexSelector$(leadingCombinators, components, span, lineBreak) {
  9843. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator),
  9844. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
  9845. if (t1.length === 0 && t2.length === 0)
  9846. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  9847. return new A.ComplexSelector(t1, t2, lineBreak, span);
  9848. },
  9849. ComplexSelector: function ComplexSelector(t0, t1, t2, t3) {
  9850. var _ = this;
  9851. _.leadingCombinators = t0;
  9852. _.components = t1;
  9853. _.lineBreak = t2;
  9854. _.__ComplexSelector_specificity_FI = $;
  9855. _.span = t3;
  9856. },
  9857. ComplexSelector_specificity_closure: function ComplexSelector_specificity_closure() {
  9858. },
  9859. ComplexSelectorComponent: function ComplexSelectorComponent(t0, t1, t2) {
  9860. this.selector = t0;
  9861. this.combinators = t1;
  9862. this.span = t2;
  9863. },
  9864. ComplexSelectorComponent_toString_closure: function ComplexSelectorComponent_toString_closure() {
  9865. },
  9866. CompoundSelector$(components, span) {
  9867. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
  9868. if (t1.length === 0)
  9869. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  9870. return new A.CompoundSelector(t1, span);
  9871. },
  9872. CompoundSelector: function CompoundSelector(t0, t1) {
  9873. var _ = this;
  9874. _.components = t0;
  9875. _.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = _.__CompoundSelector_specificity_FI = $;
  9876. _.span = t1;
  9877. },
  9878. CompoundSelector_specificity_closure: function CompoundSelector_specificity_closure() {
  9879. },
  9880. CompoundSelector_hasComplicatedSuperselectorSemantics_closure: function CompoundSelector_hasComplicatedSuperselectorSemantics_closure() {
  9881. },
  9882. IDSelector: function IDSelector(t0, t1) {
  9883. this.name = t0;
  9884. this.span = t1;
  9885. },
  9886. IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
  9887. this.$this = t0;
  9888. },
  9889. SelectorList$(components, span) {
  9890. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
  9891. if (t1.length === 0)
  9892. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  9893. return new A.SelectorList(t1, span);
  9894. },
  9895. SelectorList_SelectorList$parse(contents, allowParent, interpolationMap, plainCss) {
  9896. return new A.SelectorParser(allowParent, plainCss, A.SpanScanner$(contents, null), interpolationMap).parse$0(0);
  9897. },
  9898. SelectorList: function SelectorList(t0, t1) {
  9899. this.components = t0;
  9900. this.span = t1;
  9901. },
  9902. SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
  9903. },
  9904. SelectorList_nestWithin_closure: function SelectorList_nestWithin_closure(t0, t1, t2, t3) {
  9905. var _ = this;
  9906. _.$this = t0;
  9907. _.preserveParentSelectors = t1;
  9908. _.implicitParent = t2;
  9909. _.parent = t3;
  9910. },
  9911. SelectorList_nestWithin__closure: function SelectorList_nestWithin__closure(t0) {
  9912. this.complex = t0;
  9913. },
  9914. SelectorList_nestWithin__closure0: function SelectorList_nestWithin__closure0(t0) {
  9915. this.complex = t0;
  9916. },
  9917. SelectorList__nestWithinCompound_closure: function SelectorList__nestWithinCompound_closure() {
  9918. },
  9919. SelectorList__nestWithinCompound_closure0: function SelectorList__nestWithinCompound_closure0(t0) {
  9920. this.parent = t0;
  9921. },
  9922. SelectorList__nestWithinCompound_closure1: function SelectorList__nestWithinCompound_closure1(t0, t1, t2) {
  9923. this.parentSelector = t0;
  9924. this.resolvedSimples = t1;
  9925. this.component = t2;
  9926. },
  9927. SelectorList_withAdditionalCombinators_closure: function SelectorList_withAdditionalCombinators_closure(t0) {
  9928. this.combinators = t0;
  9929. },
  9930. _ParentSelectorVisitor: function _ParentSelectorVisitor() {
  9931. },
  9932. __ParentSelectorVisitor_Object_SelectorSearchVisitor: function __ParentSelectorVisitor_Object_SelectorSearchVisitor() {
  9933. },
  9934. ParentSelector: function ParentSelector(t0, t1) {
  9935. this.suffix = t0;
  9936. this.span = t1;
  9937. },
  9938. PlaceholderSelector: function PlaceholderSelector(t0, t1) {
  9939. this.name = t0;
  9940. this.span = t1;
  9941. },
  9942. PseudoSelector$($name, span, argument, element, selector) {
  9943. var t1 = !element,
  9944. t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
  9945. return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector, span);
  9946. },
  9947. PseudoSelector__isFakePseudoElement($name) {
  9948. switch ($name.charCodeAt(0)) {
  9949. case 97:
  9950. case 65:
  9951. return A.equalsIgnoreCase($name, "after");
  9952. case 98:
  9953. case 66:
  9954. return A.equalsIgnoreCase($name, "before");
  9955. case 102:
  9956. case 70:
  9957. return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
  9958. default:
  9959. return false;
  9960. }
  9961. },
  9962. PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5, t6) {
  9963. var _ = this;
  9964. _.name = t0;
  9965. _.normalizedName = t1;
  9966. _.isClass = t2;
  9967. _.isSyntacticClass = t3;
  9968. _.argument = t4;
  9969. _.selector = t5;
  9970. _.__PseudoSelector_specificity_FI = $;
  9971. _.span = t6;
  9972. },
  9973. PseudoSelector_specificity_closure: function PseudoSelector_specificity_closure(t0) {
  9974. this.$this = t0;
  9975. },
  9976. PseudoSelector_specificity__closure: function PseudoSelector_specificity__closure() {
  9977. },
  9978. PseudoSelector_specificity__closure0: function PseudoSelector_specificity__closure0() {
  9979. },
  9980. PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
  9981. },
  9982. QualifiedName: function QualifiedName(t0, t1) {
  9983. this.name = t0;
  9984. this.namespace = t1;
  9985. },
  9986. SimpleSelector: function SimpleSelector() {
  9987. },
  9988. SimpleSelector_isSuperselector_closure: function SimpleSelector_isSuperselector_closure(t0) {
  9989. this.$this = t0;
  9990. },
  9991. SimpleSelector_isSuperselector__closure: function SimpleSelector_isSuperselector__closure(t0) {
  9992. this.$this = t0;
  9993. },
  9994. TypeSelector: function TypeSelector(t0, t1) {
  9995. this.name = t0;
  9996. this.span = t1;
  9997. },
  9998. UniversalSelector: function UniversalSelector(t0, t1) {
  9999. this.namespace = t0;
  10000. this.span = t1;
  10001. },
  10002. compileAsync(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose) {
  10003. var $async$goto = 0,
  10004. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10005. $async$returnValue, t3, t4, t0, stylesheet, result, t1, t2;
  10006. var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10007. if ($async$errorCode === 1)
  10008. return A._asyncRethrow($async$result, $async$completer);
  10009. while (true)
  10010. switch ($async$goto) {
  10011. case 0:
  10012. // Function start
  10013. t1 = type$.Deprecation;
  10014. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10015. t2.addAll$1(0, silenceDeprecations);
  10016. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10017. t3.addAll$1(0, fatalDeprecations);
  10018. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10019. t4.addAll$1(0, futureDeprecations);
  10020. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  10021. logger.validate$0();
  10022. t1 = syntax === A.Syntax_forPath(path);
  10023. $async$goto = t1 ? 3 : 5;
  10024. break;
  10025. case 3:
  10026. // then
  10027. t1 = $.$get$FilesystemImporter_cwd();
  10028. t2 = A.isNodeJs() ? self.process : null;
  10029. if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
  10030. t2 = A.isNodeJs() ? self.process : null;
  10031. t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
  10032. } else
  10033. t2 = true;
  10034. if (t2) {
  10035. t2 = $.$get$context();
  10036. t3 = A._realCasePath(A.absolute(t2.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  10037. t0 = t3;
  10038. t3 = t2;
  10039. t2 = t0;
  10040. } else {
  10041. t2 = $.$get$context();
  10042. t3 = t2.canonicalize$1(0, path);
  10043. t0 = t3;
  10044. t3 = t2;
  10045. t2 = t0;
  10046. }
  10047. $async$goto = 6;
  10048. return A._asyncAwait(importCache.importCanonical$3$originalUrl(t1, t3.toUri$1(t2), t3.toUri$1(path)), $async$compileAsync);
  10049. case 6:
  10050. // returning from await.
  10051. t3 = $async$result;
  10052. t3.toString;
  10053. stylesheet = t3;
  10054. // goto join
  10055. $async$goto = 4;
  10056. break;
  10057. case 5:
  10058. // else
  10059. t1 = A.readFile(path);
  10060. stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, $.$get$context().toUri$1(path));
  10061. case 4:
  10062. // join
  10063. $async$goto = 7;
  10064. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileAsync);
  10065. case 7:
  10066. // returning from await.
  10067. result = $async$result;
  10068. logger.summarize$1$js(false);
  10069. $async$returnValue = result;
  10070. // goto return
  10071. $async$goto = 1;
  10072. break;
  10073. case 1:
  10074. // return
  10075. return A._asyncReturn($async$returnValue, $async$completer);
  10076. }
  10077. });
  10078. return A._asyncStartSync($async$compileAsync, $async$completer);
  10079. },
  10080. compileStringAsync(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose) {
  10081. var $async$goto = 0,
  10082. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10083. $async$returnValue, t3, t4, stylesheet, result, t1, t2;
  10084. var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10085. if ($async$errorCode === 1)
  10086. return A._asyncRethrow($async$result, $async$completer);
  10087. while (true)
  10088. switch ($async$goto) {
  10089. case 0:
  10090. // Function start
  10091. t1 = type$.Deprecation;
  10092. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10093. t2.addAll$1(0, silenceDeprecations);
  10094. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10095. t3.addAll$1(0, fatalDeprecations);
  10096. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10097. t4.addAll$1(0, futureDeprecations);
  10098. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  10099. logger.validate$0();
  10100. stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, null);
  10101. $async$goto = 3;
  10102. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
  10103. case 3:
  10104. // returning from await.
  10105. result = $async$result;
  10106. logger.summarize$1$js(false);
  10107. $async$returnValue = result;
  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$compileStringAsync, $async$completer);
  10117. },
  10118. _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10119. var $async$goto = 0,
  10120. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10121. $async$returnValue, serializeResult, resultSourceMap, $async$temp1;
  10122. var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10123. if ($async$errorCode === 1)
  10124. return A._asyncRethrow($async$result, $async$completer);
  10125. while (true)
  10126. switch ($async$goto) {
  10127. case 0:
  10128. // Function start
  10129. $async$temp1 = A;
  10130. $async$goto = 3;
  10131. return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
  10132. case 3:
  10133. // returning from await.
  10134. serializeResult = $async$temp1.serialize($async$result._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, true);
  10135. resultSourceMap = serializeResult._1;
  10136. if (resultSourceMap != null)
  10137. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
  10138. $async$returnValue = new A.CompileResult(serializeResult);
  10139. // goto return
  10140. $async$goto = 1;
  10141. break;
  10142. case 1:
  10143. // return
  10144. return A._asyncReturn($async$returnValue, $async$completer);
  10145. }
  10146. });
  10147. return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
  10148. },
  10149. _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
  10150. this.stylesheet = t0;
  10151. this.importCache = t1;
  10152. },
  10153. AsyncEnvironment$() {
  10154. var t1 = type$.String,
  10155. t2 = type$.Module_AsyncCallable,
  10156. t3 = type$.AstNode,
  10157. t4 = type$.int,
  10158. t5 = type$.AsyncCallable,
  10159. t6 = type$.JSArray_Map_String_AsyncCallable;
  10160. 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);
  10161. },
  10162. AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  10163. var t1 = type$.String,
  10164. t2 = type$.int;
  10165. 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);
  10166. },
  10167. _EnvironmentModule__EnvironmentModule0(environment, css, preModuleComments, extensionStore, forwarded) {
  10168. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10169. if (forwarded == null)
  10170. forwarded = B.Set_empty2;
  10171. t1 = type$.dynamic;
  10172. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10173. 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();) {
  10174. t6 = t4.get$current(t4);
  10175. module = t6._0;
  10176. result = A.List_List$from(t6._1, false, t5);
  10177. result.$flags = 3;
  10178. t1.$indexSet(0, module, result);
  10179. }
  10180. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10181. t2 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
  10182. 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);
  10183. 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);
  10184. t5 = type$.Map_String_AsyncCallable;
  10185. t6 = type$.AsyncCallable;
  10186. 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);
  10187. 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);
  10188. 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());
  10189. 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()));
  10190. },
  10191. _EnvironmentModule__makeModulesByVariable0(forwarded) {
  10192. var modulesByVariable, t1, t2, t3, t4, t5;
  10193. if (forwarded.get$isEmpty(forwarded))
  10194. return B.Map_empty9;
  10195. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
  10196. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10197. t2 = t1.get$current(t1);
  10198. if (t2 instanceof A._EnvironmentModule0) {
  10199. for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10200. t4 = t3.get$current(t3);
  10201. t5 = t4.get$variables();
  10202. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10203. }
  10204. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables)), t2);
  10205. } else {
  10206. t3 = t2.get$variables();
  10207. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10208. }
  10209. }
  10210. return modulesByVariable;
  10211. },
  10212. _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
  10213. var t1, t2, t3;
  10214. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10215. if (otherMaps.get$isEmpty(otherMaps))
  10216. return localMap;
  10217. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10218. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10219. t3 = t2.get$current(t2);
  10220. if (t3.get$isNotEmpty(t3))
  10221. t1.push(t3);
  10222. }
  10223. t1.push(localMap);
  10224. if (t1.length === 1)
  10225. return localMap;
  10226. return A.MergedMapView$(t1, type$.String, $V);
  10227. },
  10228. _EnvironmentModule$_0(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10229. return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10230. },
  10231. AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  10232. var _ = this;
  10233. _._async_environment$_modules = t0;
  10234. _._async_environment$_namespaceNodes = t1;
  10235. _._async_environment$_globalModules = t2;
  10236. _._async_environment$_importedModules = t3;
  10237. _._async_environment$_forwardedModules = t4;
  10238. _._async_environment$_nestedForwardedModules = t5;
  10239. _._async_environment$_allModules = t6;
  10240. _._async_environment$_variables = t7;
  10241. _._async_environment$_variableNodes = t8;
  10242. _._async_environment$_variableIndices = t9;
  10243. _._async_environment$_functions = t10;
  10244. _._async_environment$_functionIndices = t11;
  10245. _._async_environment$_mixins = t12;
  10246. _._async_environment$_mixinIndices = t13;
  10247. _._async_environment$_content = t14;
  10248. _._async_environment$_inMixin = false;
  10249. _._async_environment$_inSemiGlobalScope = true;
  10250. _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
  10251. },
  10252. AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
  10253. this.name = t0;
  10254. },
  10255. AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
  10256. this.$this = t0;
  10257. this.name = t1;
  10258. },
  10259. AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
  10260. this.name = t0;
  10261. },
  10262. AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
  10263. this.$this = t0;
  10264. this.name = t1;
  10265. },
  10266. AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
  10267. this.name = t0;
  10268. },
  10269. AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
  10270. this.name = t0;
  10271. },
  10272. AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
  10273. },
  10274. AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
  10275. },
  10276. _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10277. var _ = this;
  10278. _.upstream = t0;
  10279. _.variables = t1;
  10280. _.variableNodes = t2;
  10281. _.functions = t3;
  10282. _.mixins = t4;
  10283. _.extensionStore = t5;
  10284. _.css = t6;
  10285. _.preModuleComments = t7;
  10286. _.transitivelyContainsCss = t8;
  10287. _.transitivelyContainsExtensions = t9;
  10288. _._async_environment$_environment = t10;
  10289. _._async_environment$_modulesByVariable = t11;
  10290. },
  10291. _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
  10292. },
  10293. _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
  10294. },
  10295. _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
  10296. },
  10297. _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
  10298. },
  10299. _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
  10300. },
  10301. _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
  10302. },
  10303. AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
  10304. var t1, t2, t3, t4, _i, path, _null = null,
  10305. sassPath = A.getEnvironmentVariable("SASS_PATH");
  10306. if (A.isBrowser()) {
  10307. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10308. B.JSArray_methods.addAll$1(t1, importers);
  10309. return t1;
  10310. }
  10311. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10312. B.JSArray_methods.addAll$1(t1, importers);
  10313. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  10314. t3 = t2.get$current(t2);
  10315. 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));
  10316. }
  10317. if (sassPath != null) {
  10318. t2 = A.isNodeJs() ? self.process : _null;
  10319. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  10320. t4 = t3.length;
  10321. _i = 0;
  10322. for (; _i < t4; ++_i) {
  10323. path = t3[_i];
  10324. 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));
  10325. }
  10326. }
  10327. return t1;
  10328. },
  10329. AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5, t6) {
  10330. var _ = this;
  10331. _._async_import_cache$_importers = t0;
  10332. _._async_import_cache$_canonicalizeCache = t1;
  10333. _._async_import_cache$_perImporterCanonicalizeCache = t2;
  10334. _._async_import_cache$_nonCanonicalRelativeUrls = t3;
  10335. _._async_import_cache$_importCache = t4;
  10336. _._async_import_cache$_resultsCache = t5;
  10337. _._async_import_cache$_loadTimes = t6;
  10338. },
  10339. AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4, t5, t6) {
  10340. var _ = this;
  10341. _.$this = t0;
  10342. _.baseImporter = t1;
  10343. _.resolvedUrl = t2;
  10344. _.baseUrl = t3;
  10345. _.forImport = t4;
  10346. _.key = t5;
  10347. _.url = t6;
  10348. },
  10349. AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
  10350. this.importer = t0;
  10351. this.url = t1;
  10352. },
  10353. AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3) {
  10354. var _ = this;
  10355. _.$this = t0;
  10356. _.importer = t1;
  10357. _.canonicalUrl = t2;
  10358. _.originalUrl = t3;
  10359. },
  10360. AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
  10361. this.canonicalUrl = t0;
  10362. },
  10363. AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
  10364. },
  10365. AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
  10366. },
  10367. AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
  10368. this.canonicalUrl = t0;
  10369. },
  10370. AsyncBuiltInCallable$mixin($name, parameters, callback, acceptsContent, url) {
  10371. return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + parameters + ") {", url).parseParameterList$0(), new A.AsyncBuiltInCallable$mixin_closure(callback), false);
  10372. },
  10373. AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2, t3) {
  10374. var _ = this;
  10375. _.name = t0;
  10376. _._parameters = t1;
  10377. _._async_built_in$_callback = t2;
  10378. _.acceptsContent = t3;
  10379. },
  10380. AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
  10381. this.callback = t0;
  10382. },
  10383. AsyncBuiltInCallable_withDeprecationWarning_closure: function AsyncBuiltInCallable_withDeprecationWarning_closure(t0, t1, t2) {
  10384. this.$this = t0;
  10385. this.module = t1;
  10386. this.newName = t2;
  10387. },
  10388. BuiltInCallable$function($name, parameters, callback, url) {
  10389. 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);
  10390. },
  10391. BuiltInCallable$mixin($name, parameters, callback, acceptsContent, url) {
  10392. 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);
  10393. },
  10394. BuiltInCallable$overloadedFunction($name, overloads) {
  10395. var t2, t3, t4, t5, t6, t7, args, callback,
  10396. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value);
  10397. 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();) {
  10398. t7 = t3.get$current(t3);
  10399. args = t7._0;
  10400. callback = t7._1;
  10401. 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));
  10402. }
  10403. return new A.BuiltInCallable($name, t1, false);
  10404. },
  10405. BuiltInCallable: function BuiltInCallable(t0, t1, t2) {
  10406. this.name = t0;
  10407. this._overloads = t1;
  10408. this.acceptsContent = t2;
  10409. },
  10410. BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
  10411. this.callback = t0;
  10412. },
  10413. BuiltInCallable_withDeprecationWarning_closure: function BuiltInCallable_withDeprecationWarning_closure(t0, t1, t2, t3) {
  10414. var _ = this;
  10415. _._box_0 = t0;
  10416. _.$this = t1;
  10417. _.module = t2;
  10418. _.newName = t3;
  10419. },
  10420. PlainCssCallable: function PlainCssCallable(t0) {
  10421. this.name = t0;
  10422. },
  10423. UserDefinedCallable: function UserDefinedCallable(t0, t1, t2, t3) {
  10424. var _ = this;
  10425. _.declaration = t0;
  10426. _.environment = t1;
  10427. _.inDependency = t2;
  10428. _.$ti = t3;
  10429. },
  10430. _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10431. 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),
  10432. resultSourceMap = serializeResult._1;
  10433. if (resultSourceMap != null)
  10434. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
  10435. return new A.CompileResult(serializeResult);
  10436. },
  10437. _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
  10438. this.stylesheet = t0;
  10439. this.importCache = t1;
  10440. },
  10441. CompileResult: function CompileResult(t0) {
  10442. this._serialize = t0;
  10443. },
  10444. Configuration: function Configuration(t0, t1) {
  10445. this._configuration$_values = t0;
  10446. this.__originalConfiguration = t1;
  10447. },
  10448. ExplicitConfiguration: function ExplicitConfiguration(t0, t1, t2) {
  10449. this.nodeWithSpan = t0;
  10450. this._configuration$_values = t1;
  10451. this.__originalConfiguration = t2;
  10452. },
  10453. ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
  10454. this.value = t0;
  10455. this.configurationSpan = t1;
  10456. this.assignmentNode = t2;
  10457. },
  10458. Deprecation_fromId(id) {
  10459. return A.IterableExtension_firstWhereOrNull(B.List_DfK, new A.Deprecation_fromId_closure(id));
  10460. },
  10461. Deprecation_forVersion(version) {
  10462. var t2, _i, deprecation, $self, t3,
  10463. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  10464. for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i < 24; ++_i) {
  10465. deprecation = B.List_DfK[_i];
  10466. $self = deprecation._deprecatedIn;
  10467. t3 = $self == null ? null : A.Version___parse_tearOff($self);
  10468. t3 = t3 == null ? null : t2.call$1(t3);
  10469. if (t3 == null ? false : t3)
  10470. t1.add$1(0, deprecation);
  10471. }
  10472. return t1;
  10473. },
  10474. Deprecation: function Deprecation(t0, t1, t2) {
  10475. this.id = t0;
  10476. this._deprecatedIn = t1;
  10477. this._name = t2;
  10478. },
  10479. Deprecation_fromId_closure: function Deprecation_fromId_closure(t0) {
  10480. this.id = t0;
  10481. },
  10482. Environment$() {
  10483. var t1 = type$.String,
  10484. t2 = type$.Module_Callable,
  10485. t3 = type$.AstNode,
  10486. t4 = type$.int,
  10487. t5 = type$.Callable,
  10488. t6 = type$.JSArray_Map_String_Callable;
  10489. 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);
  10490. },
  10491. Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  10492. var t1 = type$.String,
  10493. t2 = type$.int;
  10494. 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);
  10495. },
  10496. _EnvironmentModule__EnvironmentModule(environment, css, preModuleComments, extensionStore, forwarded) {
  10497. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10498. if (forwarded == null)
  10499. forwarded = B.Set_empty0;
  10500. t1 = type$.dynamic;
  10501. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10502. 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();) {
  10503. t6 = t4.get$current(t4);
  10504. module = t6._0;
  10505. result = A.List_List$from(t6._1, false, t5);
  10506. result.$flags = 3;
  10507. t1.$indexSet(0, module, result);
  10508. }
  10509. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10510. t2 = A._EnvironmentModule__makeModulesByVariable(forwarded);
  10511. 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);
  10512. 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);
  10513. t5 = type$.Map_String_Callable;
  10514. t6 = type$.Callable;
  10515. t7 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t5), t6);
  10516. t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t5), t6);
  10517. 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());
  10518. 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()));
  10519. },
  10520. _EnvironmentModule__makeModulesByVariable(forwarded) {
  10521. var modulesByVariable, t1, t2, t3, t4, t5;
  10522. if (forwarded.get$isEmpty(forwarded))
  10523. return B.Map_empty1;
  10524. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
  10525. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10526. t2 = t1.get$current(t1);
  10527. if (t2 instanceof A._EnvironmentModule) {
  10528. for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10529. t4 = t3.get$current(t3);
  10530. t5 = t4.get$variables();
  10531. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10532. }
  10533. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment$_environment._variables)), t2);
  10534. } else {
  10535. t3 = t2.get$variables();
  10536. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10537. }
  10538. }
  10539. return modulesByVariable;
  10540. },
  10541. _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
  10542. var t1, t2, t3;
  10543. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10544. if (otherMaps.get$isEmpty(otherMaps))
  10545. return localMap;
  10546. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10547. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10548. t3 = t2.get$current(t2);
  10549. if (t3.get$isNotEmpty(t3))
  10550. t1.push(t3);
  10551. }
  10552. t1.push(localMap);
  10553. if (t1.length === 1)
  10554. return localMap;
  10555. return A.MergedMapView$(t1, type$.String, $V);
  10556. },
  10557. _EnvironmentModule$_(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10558. return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10559. },
  10560. Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  10561. var _ = this;
  10562. _._environment$_modules = t0;
  10563. _._namespaceNodes = t1;
  10564. _._globalModules = t2;
  10565. _._importedModules = t3;
  10566. _._forwardedModules = t4;
  10567. _._nestedForwardedModules = t5;
  10568. _._allModules = t6;
  10569. _._variables = t7;
  10570. _._variableNodes = t8;
  10571. _._variableIndices = t9;
  10572. _._functions = t10;
  10573. _._functionIndices = t11;
  10574. _._mixins = t12;
  10575. _._mixinIndices = t13;
  10576. _._content = t14;
  10577. _._inMixin = false;
  10578. _._inSemiGlobalScope = true;
  10579. _._lastVariableIndex = _._lastVariableName = null;
  10580. },
  10581. Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
  10582. this.name = t0;
  10583. },
  10584. Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
  10585. this.$this = t0;
  10586. this.name = t1;
  10587. },
  10588. Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
  10589. this.name = t0;
  10590. },
  10591. Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
  10592. this.$this = t0;
  10593. this.name = t1;
  10594. },
  10595. Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
  10596. this.name = t0;
  10597. },
  10598. Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
  10599. this.name = t0;
  10600. },
  10601. Environment_toModule_closure: function Environment_toModule_closure() {
  10602. },
  10603. Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
  10604. },
  10605. _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10606. var _ = this;
  10607. _.upstream = t0;
  10608. _.variables = t1;
  10609. _.variableNodes = t2;
  10610. _.functions = t3;
  10611. _.mixins = t4;
  10612. _.extensionStore = t5;
  10613. _.css = t6;
  10614. _.preModuleComments = t7;
  10615. _.transitivelyContainsCss = t8;
  10616. _.transitivelyContainsExtensions = t9;
  10617. _._environment$_environment = t10;
  10618. _._modulesByVariable = t11;
  10619. },
  10620. _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
  10621. },
  10622. _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
  10623. },
  10624. _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
  10625. },
  10626. _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
  10627. },
  10628. _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
  10629. },
  10630. _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
  10631. },
  10632. SassException$(message, span, loadedUrls) {
  10633. return new A.SassException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10634. },
  10635. MultiSpanSassException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10636. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10637. return new A.MultiSpanSassException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10638. },
  10639. SassRuntimeException$(message, span, trace, loadedUrls) {
  10640. return new A.SassRuntimeException(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10641. },
  10642. MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  10643. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10644. return new A.MultiSpanSassRuntimeException(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10645. },
  10646. SassFormatException$(message, span, loadedUrls) {
  10647. return new A.SassFormatException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10648. },
  10649. MultiSpanSassFormatException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10650. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10651. return new A.MultiSpanSassFormatException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10652. },
  10653. SassScriptException$(message, argumentName) {
  10654. return new A.SassScriptException(argumentName == null ? message : "$" + argumentName + ": " + message);
  10655. },
  10656. MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
  10657. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10658. return new A.MultiSpanSassScriptException(primaryLabel, t1, message);
  10659. },
  10660. SassException: function SassException(t0, t1, t2) {
  10661. this.loadedUrls = t0;
  10662. this._span_exception$_message = t1;
  10663. this._span = t2;
  10664. },
  10665. MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3, t4) {
  10666. var _ = this;
  10667. _.primaryLabel = t0;
  10668. _.secondarySpans = t1;
  10669. _.loadedUrls = t2;
  10670. _._span_exception$_message = t3;
  10671. _._span = t4;
  10672. },
  10673. SassRuntimeException: function SassRuntimeException(t0, t1, t2, t3) {
  10674. var _ = this;
  10675. _.trace = t0;
  10676. _.loadedUrls = t1;
  10677. _._span_exception$_message = t2;
  10678. _._span = t3;
  10679. },
  10680. MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4, t5) {
  10681. var _ = this;
  10682. _.trace = t0;
  10683. _.primaryLabel = t1;
  10684. _.secondarySpans = t2;
  10685. _.loadedUrls = t3;
  10686. _._span_exception$_message = t4;
  10687. _._span = t5;
  10688. },
  10689. SassFormatException: function SassFormatException(t0, t1, t2) {
  10690. this.loadedUrls = t0;
  10691. this._span_exception$_message = t1;
  10692. this._span = t2;
  10693. },
  10694. MultiSpanSassFormatException: function MultiSpanSassFormatException(t0, t1, t2, t3, t4) {
  10695. var _ = this;
  10696. _.primaryLabel = t0;
  10697. _.secondarySpans = t1;
  10698. _.loadedUrls = t2;
  10699. _._span_exception$_message = t3;
  10700. _._span = t4;
  10701. },
  10702. SassScriptException: function SassScriptException(t0) {
  10703. this.message = t0;
  10704. },
  10705. MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
  10706. this.primaryLabel = t0;
  10707. this.secondarySpans = t1;
  10708. this.message = t2;
  10709. },
  10710. compileStylesheet(options, graph, source, destination, ifModified) {
  10711. return A.compileStylesheet$body(options, graph, source, destination, ifModified);
  10712. },
  10713. compileStylesheet$body(options, graph, source, destination, ifModified) {
  10714. var $async$goto = 0,
  10715. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_int_and_String_and_nullable_String),
  10716. $async$returnValue, $async$handler = 2, $async$errorStack = [], error, stackTrace, message, error0, stackTrace0, path, message0, exception, t1, $async$exception;
  10717. var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10718. if ($async$errorCode === 1) {
  10719. $async$errorStack.push($async$result);
  10720. $async$goto = $async$handler;
  10721. }
  10722. while (true)
  10723. switch ($async$goto) {
  10724. case 0:
  10725. // Function start
  10726. $async$handler = 4;
  10727. $async$goto = 7;
  10728. return A._asyncAwait(A._compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified), $async$compileStylesheet);
  10729. case 7:
  10730. // returning from await.
  10731. $async$handler = 2;
  10732. // goto after finally
  10733. $async$goto = 6;
  10734. break;
  10735. case 4:
  10736. // catch
  10737. $async$handler = 3;
  10738. $async$exception = $async$errorStack.pop();
  10739. t1 = A.unwrapException($async$exception);
  10740. if (t1 instanceof A.SassException) {
  10741. error = t1;
  10742. stackTrace = A.getTraceFromException($async$exception);
  10743. if (destination != null && !options.get$emitErrorCss())
  10744. A._tryDelete(destination);
  10745. message = J.toString$1$color$(error, options.get$color());
  10746. if (A._asBool(options._options.$index(0, "trace"))) {
  10747. t1 = A.getTrace(error);
  10748. if (t1 == null)
  10749. t1 = stackTrace;
  10750. } else
  10751. t1 = null;
  10752. $async$returnValue = A._getErrorWithStackTrace(65, message, t1);
  10753. // goto return
  10754. $async$goto = 1;
  10755. break;
  10756. } else if (t1 instanceof A.FileSystemException) {
  10757. error0 = t1;
  10758. stackTrace0 = A.getTraceFromException($async$exception);
  10759. path = error0.path;
  10760. message0 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  10761. if (A._asBool(options._options.$index(0, "trace"))) {
  10762. t1 = A.getTrace(error0);
  10763. if (t1 == null)
  10764. t1 = stackTrace0;
  10765. } else
  10766. t1 = null;
  10767. $async$returnValue = A._getErrorWithStackTrace(66, message0, t1);
  10768. // goto return
  10769. $async$goto = 1;
  10770. break;
  10771. } else
  10772. throw $async$exception;
  10773. // goto after finally
  10774. $async$goto = 6;
  10775. break;
  10776. case 3:
  10777. // uncaught
  10778. // goto rethrow
  10779. $async$goto = 2;
  10780. break;
  10781. case 6:
  10782. // after finally
  10783. $async$returnValue = null;
  10784. // goto return
  10785. $async$goto = 1;
  10786. break;
  10787. case 1:
  10788. // return
  10789. return A._asyncReturn($async$returnValue, $async$completer);
  10790. case 2:
  10791. // rethrow
  10792. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  10793. }
  10794. });
  10795. return A._asyncStartSync($async$compileStylesheet, $async$completer);
  10796. },
  10797. _compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified) {
  10798. return A._compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified);
  10799. },
  10800. _compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified) {
  10801. var $async$goto = 0,
  10802. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  10803. $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, t0, css, buffer, sourceName, destinationName, nowStr, timestamp, importer, $async$exception;
  10804. var $async$_compileStylesheetWithoutErrorHandling = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10805. if ($async$errorCode === 1) {
  10806. $async$errorStack.push($async$result);
  10807. $async$goto = $async$handler;
  10808. }
  10809. while (true)
  10810. switch ($async$goto) {
  10811. case 0:
  10812. // Function start
  10813. importer = $.$get$FilesystemImporter_cwd();
  10814. if (ifModified)
  10815. try {
  10816. t1 = false;
  10817. if (source != null)
  10818. if (destination != null) {
  10819. t1 = A.absolute(source, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  10820. t1 = !graph.modifiedSince$3($.$get$context().toUri$1(t1), A.modificationTime(destination), importer);
  10821. }
  10822. if (t1) {
  10823. // goto return
  10824. $async$goto = 1;
  10825. break;
  10826. }
  10827. } catch (exception) {
  10828. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  10829. throw exception;
  10830. }
  10831. syntax = null;
  10832. if (A._asBoolQ(options._ifParsed$1("indented")) === true)
  10833. syntax = B.Syntax_Sass_sass;
  10834. else if (source != null)
  10835. syntax = A.Syntax_forPath(source);
  10836. else
  10837. syntax = B.Syntax_SCSS_scss;
  10838. result = null;
  10839. $async$handler = 4;
  10840. t1 = options._options;
  10841. $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
  10842. break;
  10843. case 7:
  10844. // then
  10845. t2 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;
  10846. t3 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport;
  10847. t4 = type$.Uri;
  10848. 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));
  10849. $async$goto = source == null ? 10 : 12;
  10850. break;
  10851. case 10:
  10852. // then
  10853. $async$goto = 13;
  10854. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10855. case 13:
  10856. // returning from await.
  10857. t2 = $async$result;
  10858. t3 = syntax;
  10859. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10860. t5 = $.$get$FilesystemImporter_cwd();
  10861. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10862. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10863. t8 = A._asBool(t1.$index(0, "verbose"));
  10864. t9 = options.get$emitSourceMap();
  10865. t1 = A._asBool(t1.$index(0, "charset"));
  10866. t10 = options.get$silenceDeprecations(0);
  10867. $async$goto = 14;
  10868. 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);
  10869. case 14:
  10870. // returning from await.
  10871. result0 = $async$result;
  10872. // goto join
  10873. $async$goto = 11;
  10874. break;
  10875. case 12:
  10876. // else
  10877. t2 = syntax;
  10878. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10879. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10880. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  10881. t6 = A._asBool(t1.$index(0, "verbose"));
  10882. t7 = options.get$emitSourceMap();
  10883. t1 = A._asBool(t1.$index(0, "charset"));
  10884. t8 = options.get$silenceDeprecations(0);
  10885. $async$goto = 15;
  10886. 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);
  10887. case 15:
  10888. // returning from await.
  10889. result0 = $async$result;
  10890. case 11:
  10891. // join
  10892. result = result0;
  10893. // goto join
  10894. $async$goto = 8;
  10895. break;
  10896. case 9:
  10897. // else
  10898. graph.reloadAllModified$0();
  10899. $async$goto = source == null ? 16 : 18;
  10900. break;
  10901. case 16:
  10902. // then
  10903. $async$goto = 19;
  10904. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10905. case 19:
  10906. // returning from await.
  10907. t2 = $async$result;
  10908. t3 = syntax;
  10909. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10910. t5 = $.$get$FilesystemImporter_cwd();
  10911. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10912. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10913. t8 = A._asBool(t1.$index(0, "verbose"));
  10914. t9 = options.get$emitSourceMap();
  10915. t1 = A._asBool(t1.$index(0, "charset"));
  10916. t10 = options.get$silenceDeprecations(0);
  10917. t11 = options.get$fatalDeprecations(0);
  10918. t12 = options.get$futureDeprecations(0);
  10919. t13 = type$.Deprecation;
  10920. t14 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10921. t14.addAll$1(0, t10);
  10922. t10 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10923. t10.addAll$1(0, t11);
  10924. t11 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10925. t11.addAll$1(0, t12);
  10926. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t13, type$.int), t4, t14, t10, t11, !t8);
  10927. logger.validate$0();
  10928. stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS_scss : t3, null);
  10929. result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, t5, null, t6, true, null, null, t7, t9, t1);
  10930. logger.summarize$1$js(false);
  10931. // goto join
  10932. $async$goto = 17;
  10933. break;
  10934. case 18:
  10935. // else
  10936. t2 = syntax;
  10937. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10938. importCache = graph.importCache;
  10939. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10940. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  10941. t6 = A._asBool(t1.$index(0, "verbose"));
  10942. t7 = options.get$emitSourceMap();
  10943. t1 = A._asBool(t1.$index(0, "charset"));
  10944. t8 = options.get$silenceDeprecations(0);
  10945. t9 = options.get$fatalDeprecations(0);
  10946. t10 = options.get$futureDeprecations(0);
  10947. t11 = type$.Deprecation;
  10948. t12 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  10949. t12.addAll$1(0, t8);
  10950. t8 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  10951. t8.addAll$1(0, t9);
  10952. t9 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  10953. t9.addAll$1(0, t10);
  10954. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t11, type$.int), t3, t12, t8, t9, !t6);
  10955. logger.validate$0();
  10956. t3 = t2 == null || t2 === A.Syntax_forPath(source);
  10957. if (t3) {
  10958. t2 = $.$get$FilesystemImporter_cwd();
  10959. t3 = A.isNodeJs() ? self.process : null;
  10960. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  10961. t3 = A.isNodeJs() ? self.process : null;
  10962. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  10963. } else
  10964. t3 = true;
  10965. if (t3) {
  10966. t3 = $.$get$context();
  10967. t6 = A._realCasePath(A.absolute(t3.normalize$1(source), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  10968. t0 = t6;
  10969. t6 = t3;
  10970. t3 = t0;
  10971. } else {
  10972. t3 = $.$get$context();
  10973. t6 = t3.canonicalize$1(0, source);
  10974. t0 = t6;
  10975. t6 = t3;
  10976. t3 = t0;
  10977. }
  10978. t6 = importCache.importCanonical$3$originalUrl(t2, t6.toUri$1(t3), t6.toUri$1(source));
  10979. t6.toString;
  10980. stylesheet = t6;
  10981. } else {
  10982. t3 = A.readFile(source);
  10983. if (t2 == null)
  10984. t2 = A.Syntax_forPath(source);
  10985. stylesheet = A.Stylesheet_Stylesheet$parse(t3, t2, $.$get$context().toUri$1(source));
  10986. }
  10987. result0 = A._compileStylesheet(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, t4, true, null, null, t5, t7, t1);
  10988. logger.summarize$1$js(false);
  10989. case 17:
  10990. // join
  10991. result = result0;
  10992. case 8:
  10993. // join
  10994. $async$handler = 2;
  10995. // goto after finally
  10996. $async$goto = 6;
  10997. break;
  10998. case 4:
  10999. // catch
  11000. $async$handler = 3;
  11001. $async$exception = $async$errorStack.pop();
  11002. t1 = A.unwrapException($async$exception);
  11003. if (t1 instanceof A.SassException) {
  11004. error = t1;
  11005. if (options.get$emitErrorCss())
  11006. if (destination == null)
  11007. A.print(error.toCssString$0());
  11008. else {
  11009. A.ensureDir($.$get$context().dirname$1(destination));
  11010. A.writeFile(destination, error.toCssString$0() + "\n");
  11011. }
  11012. throw $async$exception;
  11013. } else
  11014. throw $async$exception;
  11015. // goto after finally
  11016. $async$goto = 6;
  11017. break;
  11018. case 3:
  11019. // uncaught
  11020. // goto rethrow
  11021. $async$goto = 2;
  11022. break;
  11023. case 6:
  11024. // after finally
  11025. css = result._serialize._0 + A._writeSourceMap(options, result._serialize._1, destination);
  11026. if (destination == null) {
  11027. if (css.length !== 0)
  11028. A.print(css);
  11029. } else {
  11030. A.ensureDir($.$get$context().dirname$1(destination));
  11031. A.writeFile(destination, css + "\n");
  11032. }
  11033. t1 = options._options;
  11034. if (!A._asBool(t1.$index(0, "quiet")))
  11035. t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
  11036. else
  11037. t1 = true;
  11038. if (t1) {
  11039. // goto return
  11040. $async$goto = 1;
  11041. break;
  11042. }
  11043. buffer = new A.StringBuffer("");
  11044. if (source == null)
  11045. sourceName = "stdin";
  11046. else {
  11047. t1 = $.$get$context();
  11048. sourceName = t1.prettyUri$1(t1.toUri$1(source));
  11049. }
  11050. destination.toString;
  11051. t1 = $.$get$context();
  11052. destinationName = t1.prettyUri$1(t1.toUri$1(destination));
  11053. nowStr = new A.DateTime(Date.now(), 0, false).toString$0(0);
  11054. timestamp = B.JSString_methods.substring$2(nowStr, 0, nowStr.length - 7);
  11055. t1 = options.get$color() ? buffer._contents = "" + "\x1b[90m" : "";
  11056. t1 = buffer._contents = t1 + ("[" + timestamp + "] ");
  11057. if (options.get$color())
  11058. t1 = buffer._contents = t1 + "\x1b[32m";
  11059. t1 += "Compiled " + sourceName + " to " + destinationName + ".";
  11060. buffer._contents = t1;
  11061. if (options.get$color())
  11062. buffer._contents = t1 + "\x1b[0m";
  11063. t1 = A.isNodeJs() ? self.process : null;
  11064. if (t1 != null) {
  11065. t1 = J.get$stdout$x(t1);
  11066. J.write$1$x(t1, buffer.toString$0(0) + "\n");
  11067. } else {
  11068. t1 = self.console;
  11069. J.log$1$x(t1, buffer);
  11070. }
  11071. case 1:
  11072. // return
  11073. return A._asyncReturn($async$returnValue, $async$completer);
  11074. case 2:
  11075. // rethrow
  11076. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  11077. }
  11078. });
  11079. return A._asyncStartSync($async$_compileStylesheetWithoutErrorHandling, $async$completer);
  11080. },
  11081. _writeSourceMap(options, sourceMap, destination) {
  11082. var t1, sourceMapText, url, sourceMapPath, t2, escapedUrl;
  11083. if (sourceMap == null)
  11084. return "";
  11085. if (destination != null) {
  11086. t1 = $.$get$context();
  11087. sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
  11088. }
  11089. A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
  11090. t1 = options._options;
  11091. sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
  11092. if (A._asBool(t1.$index(0, "embed-source-map")))
  11093. url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
  11094. else {
  11095. destination.toString;
  11096. sourceMapPath = destination + ".map";
  11097. t2 = $.$get$context();
  11098. A.ensureDir(t2.dirname$1(sourceMapPath));
  11099. A.writeFile(sourceMapPath, sourceMapText);
  11100. url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
  11101. }
  11102. t2 = url.toString$0(0);
  11103. escapedUrl = A.stringReplaceAllUnchecked(t2, "*/", "%2A/");
  11104. t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0) === B.OutputStyle_1 ? "" : "\n\n";
  11105. return t1 + ("/*# sourceMappingURL=" + escapedUrl + " */");
  11106. },
  11107. _tryDelete(path) {
  11108. var exception;
  11109. try {
  11110. A.deleteFile(path);
  11111. } catch (exception) {
  11112. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  11113. throw exception;
  11114. }
  11115. },
  11116. _getErrorWithStackTrace(exitCode, error, stackTrace) {
  11117. 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);
  11118. },
  11119. _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
  11120. this.options = t0;
  11121. this.destination = t1;
  11122. },
  11123. ExecutableOptions__separator(text) {
  11124. var t1 = $.$get$ExecutableOptions__separatorBar(),
  11125. t2 = B.JSString_methods.$mul(t1, 3),
  11126. t3 = A.hasTerminal() ? "\x1b[1m" : "",
  11127. t4 = A.hasTerminal() ? "\x1b[0m" : "";
  11128. return t2 + " " + t3 + text + t4 + " " + B.JSString_methods.$mul(t1, 35 - text.length);
  11129. },
  11130. ExecutableOptions__fail(message) {
  11131. return A.throwExpression(A.UsageException$(message));
  11132. },
  11133. ExecutableOptions_ExecutableOptions$parse(args) {
  11134. var options, error, t1, t2, exception;
  11135. try {
  11136. t1 = $.$get$ExecutableOptions__parser();
  11137. t2 = A.ListQueue$(type$.String);
  11138. t2.addAll$1(0, args);
  11139. t2 = A.Parser$(null, t1, t2, null, null).parse$0(0);
  11140. if (t2.wasParsed$1("poll") && !A._asBool(t2.$index(0, "watch")))
  11141. A.ExecutableOptions__fail("--poll may not be passed without --watch.");
  11142. options = new A.ExecutableOptions(t2);
  11143. if (A._asBool(options._options.$index(0, "help")))
  11144. A.ExecutableOptions__fail("Compile Sass to CSS.");
  11145. return options;
  11146. } catch (exception) {
  11147. t1 = A.unwrapException(exception);
  11148. if (type$.FormatException._is(t1)) {
  11149. error = t1;
  11150. A.ExecutableOptions__fail(J.get$message$x(error));
  11151. } else
  11152. throw exception;
  11153. }
  11154. },
  11155. UsageException$(message) {
  11156. return new A.UsageException(message);
  11157. },
  11158. ExecutableOptions: function ExecutableOptions(t0) {
  11159. var _ = this;
  11160. _._options = t0;
  11161. _.__ExecutableOptions_interactive_FI = $;
  11162. _._sourcesToDestinations = null;
  11163. _.__ExecutableOptions__sourceDirectoriesToDestinations_F = $;
  11164. _._fatalDeprecations = null;
  11165. },
  11166. ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
  11167. },
  11168. ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
  11169. this.$this = t0;
  11170. },
  11171. ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
  11172. },
  11173. ExecutableOptions_fatalDeprecations_closure: function ExecutableOptions_fatalDeprecations_closure(t0) {
  11174. this.$this = t0;
  11175. },
  11176. UsageException: function UsageException(t0) {
  11177. this.message = t0;
  11178. },
  11179. repl(options) {
  11180. return A.repl$body(options);
  11181. },
  11182. repl$body(options) {
  11183. var $async$goto = 0,
  11184. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  11185. $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;
  11186. var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11187. if ($async$errorCode === 1) {
  11188. $async$errorStack.push($async$result);
  11189. $async$goto = $async$handler;
  11190. }
  11191. while (true)
  11192. switch ($async$goto) {
  11193. case 0:
  11194. // Function start
  11195. t1 = A._setArrayType([], type$.JSArray_String);
  11196. t2 = B.JSString_methods.$mul(" ", 3);
  11197. t3 = $.$get$alwaysValid();
  11198. repl0 = new A.Repl(">> ", t2, t3, t1);
  11199. repl0.__Repl__adapter_A = new A.ReplAdapter(repl0);
  11200. repl = repl0;
  11201. t1 = options._options;
  11202. trackingLogger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
  11203. 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")));
  11204. logger.validate$0();
  11205. warn = new A.repl_warn(logger);
  11206. t2 = $.$get$FilesystemImporter_cwd();
  11207. 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);
  11208. t2 = repl.__Repl__adapter_A;
  11209. t2 === $ && A.throwUnnamedLateFieldNI();
  11210. t2 = new A._StreamIterator(A.checkNotNullable(t2.runAsync$0(), "stream", type$.Object));
  11211. $async$handler = 2;
  11212. t1 = type$.String, t3 = type$.FileSpan, t4 = type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span, t5 = type$.Expression;
  11213. case 5:
  11214. // for condition
  11215. $async$goto = 7;
  11216. return A._asyncAwait(t2.moveNext$0(), $async$repl);
  11217. case 7:
  11218. // returning from await.
  11219. if (!$async$result) {
  11220. // goto after for
  11221. $async$goto = 6;
  11222. break;
  11223. }
  11224. line = t2.get$current(0);
  11225. if (J.trim$0$s(line).length === 0) {
  11226. // goto for condition
  11227. $async$goto = 5;
  11228. break;
  11229. }
  11230. try {
  11231. if (J.startsWith$1$s(line, "@")) {
  11232. node = null;
  11233. warnings = null;
  11234. _1_0 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A._setArrayType([], t4), A.SpanScanner$(line, null), null).parseUseRule$0();
  11235. node = _1_0._0;
  11236. warnings = _1_0._1;
  11237. J.forEach$1$ax(warnings, warn);
  11238. t6 = evaluator;
  11239. t7 = node;
  11240. t6._visitor.runStatement$2(t6._importer, t7);
  11241. // goto for condition
  11242. $async$goto = 5;
  11243. break;
  11244. }
  11245. if (new A.Parser(A.SpanScanner$(line, null), null)._isVariableDeclarationLike$0()) {
  11246. node0 = null;
  11247. warnings0 = null;
  11248. _2_0 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A._setArrayType([], t4), A.SpanScanner$(line, null), null).parseVariableDeclaration$0();
  11249. node0 = _2_0._0;
  11250. warnings0 = _2_0._1;
  11251. J.forEach$1$ax(warnings0, warn);
  11252. t6 = evaluator;
  11253. t7 = node0;
  11254. t6._visitor.runStatement$2(t6._importer, t7);
  11255. t7 = evaluator;
  11256. t6 = node0.name;
  11257. t8 = node0.span;
  11258. t9 = node0.namespace;
  11259. line0 = t7._visitor.runExpression$2(t7._importer, new A.VariableExpression(t9, t6, t8)).toString$0(0);
  11260. toZone = $.printToZone;
  11261. if (toZone == null)
  11262. A.printString(line0);
  11263. else
  11264. toZone.call$1(line0);
  11265. } else {
  11266. node1 = null;
  11267. warnings1 = null;
  11268. t6 = A._setArrayType([], t4);
  11269. t7 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), t6, A.SpanScanner$(line, null), null);
  11270. _3_0 = new A._Record_2(t7._parseSingleProduction$1$1(t7.get$_expression(), t5), t6);
  11271. node1 = _3_0._0;
  11272. warnings1 = _3_0._1;
  11273. J.forEach$1$ax(warnings1, warn);
  11274. t6 = evaluator;
  11275. t7 = node1;
  11276. line0 = t6._visitor.runExpression$2(t6._importer, t7).toString$0(0);
  11277. toZone = $.printToZone;
  11278. if (toZone == null)
  11279. A.printString(line0);
  11280. else
  11281. toZone.call$1(line0);
  11282. }
  11283. } catch (exception) {
  11284. t6 = A.unwrapException(exception);
  11285. if (t6 instanceof A.SassException) {
  11286. error = t6;
  11287. stackTrace = A.getTraceFromException(exception);
  11288. t6 = error;
  11289. t7 = typeof t6 != "string";
  11290. if (!t7 || typeof t6 == "number" || A._isBool(t6))
  11291. t6 = null;
  11292. else {
  11293. t8 = $.$get$_traces();
  11294. if (A._isBool(t6) || typeof t6 == "number" || !t7 || t6 instanceof A._Record)
  11295. A.Expando__badExpandoKey(t6);
  11296. t6 = t8._jsWeakMap.get(t6);
  11297. }
  11298. if (t6 == null)
  11299. t6 = stackTrace;
  11300. A._logError(error, t6, line, repl, options, trackingLogger);
  11301. } else
  11302. throw exception;
  11303. }
  11304. // goto for condition
  11305. $async$goto = 5;
  11306. break;
  11307. case 6:
  11308. // after for
  11309. $async$next.push(4);
  11310. // goto finally
  11311. $async$goto = 3;
  11312. break;
  11313. case 2:
  11314. // uncaught
  11315. $async$next = [1];
  11316. case 3:
  11317. // finally
  11318. $async$handler = 1;
  11319. $async$goto = 8;
  11320. return A._asyncAwait(t2.cancel$0(), $async$repl);
  11321. case 8:
  11322. // returning from await.
  11323. // goto the next finally handler
  11324. $async$goto = $async$next.pop();
  11325. break;
  11326. case 4:
  11327. // after finally
  11328. // implicit return
  11329. return A._asyncReturn(null, $async$completer);
  11330. case 1:
  11331. // rethrow
  11332. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  11333. }
  11334. });
  11335. return A._asyncStartSync($async$repl, $async$completer);
  11336. },
  11337. _logError(error, stackTrace, line, repl, options, logger) {
  11338. var t2, spacesBeforeError, t3,
  11339. t1 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11340. if (t1.get$sourceUrl(t1) == null)
  11341. if (!A._asBool(options._options.$index(0, "quiet")))
  11342. t1 = logger._emittedDebug || logger._emittedWarning;
  11343. else
  11344. t1 = false;
  11345. else
  11346. t1 = true;
  11347. if (t1) {
  11348. A.print(error.toString$1$color(0, options.get$color()));
  11349. return;
  11350. }
  11351. t1 = options.get$color() ? "" + "\x1b[31m" : "";
  11352. t2 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11353. t2 = t2.get$start(t2);
  11354. spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
  11355. if (options.get$color()) {
  11356. t2 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11357. t2 = t2.get$start(t2);
  11358. t2 = t2.file.getColumn$1(t2.offset) < line.length;
  11359. } else
  11360. t2 = false;
  11361. if (t2)
  11362. t1 = t1 + ("\x1b[1F\x1b[" + spacesBeforeError + "C") + (A.SourceSpanException.prototype.get$span.call(error, 0).get$text() + "\n");
  11363. t2 = B.JSString_methods.$mul(" ", spacesBeforeError);
  11364. t3 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11365. t3 = t1 + t2 + (B.JSString_methods.$mul("^", Math.max(1, t3.get$length(t3))) + "\n");
  11366. t1 = options.get$color() ? t3 + "\x1b[0m" : t3;
  11367. t1 += "Error: " + error._span_exception$_message + "\n";
  11368. if (A._asBool(options._options.$index(0, "trace")))
  11369. t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
  11370. A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
  11371. },
  11372. repl_warn: function repl_warn(t0) {
  11373. this.logger = t0;
  11374. },
  11375. watch(options, graph) {
  11376. var $async$goto = 0,
  11377. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  11378. $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, sourcesToDestinations, t7, t0;
  11379. var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11380. if ($async$errorCode === 1)
  11381. return A._asyncRethrow($async$result, $async$completer);
  11382. while (true)
  11383. switch ($async$goto) {
  11384. case 0:
  11385. // Function start
  11386. options._ensureSources$0();
  11387. t1 = options.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  11388. t1 === $ && A.throwUnnamedLateFieldNI();
  11389. t2 = type$.String;
  11390. t1 = t1.cast$2$0(0, t2, t2);
  11391. t1 = A.List_List$of(t1.get$keys(t1), true, t2);
  11392. for (options._ensureSources$0(), t3 = options._sourcesToDestinations.cast$2$0(0, t2, t2), t3 = J.get$iterator$ax(t3.get$keys(t3)); t3.moveNext$0();) {
  11393. t4 = t3.get$current(t3);
  11394. t1.push($.$get$context().dirname$1(t4));
  11395. }
  11396. t3 = options._options;
  11397. B.JSArray_methods.addAll$1(t1, type$.List_String._as(t3.$index(0, "load-path")));
  11398. t4 = A._asBool(t3.$index(0, "poll"));
  11399. t5 = type$.Stream_WatchEvent;
  11400. t6 = A.PathMap__create(null, t5);
  11401. t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
  11402. t5.__StreamGroup__controller_A = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
  11403. dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
  11404. $async$goto = 3;
  11405. 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);
  11406. case 3:
  11407. // returning from await.
  11408. options._ensureSources$0();
  11409. sourcesToDestinations = options._sourcesToDestinations.cast$2$0(0, t2, t2);
  11410. for (t1 = J.get$iterator$ax(sourcesToDestinations.get$keys(sourcesToDestinations)); t1.moveNext$0();) {
  11411. t4 = t1.get$current(t1);
  11412. t5 = $.$get$FilesystemImporter_cwd();
  11413. t6 = self.process;
  11414. if (t6 == null)
  11415. t6 = null;
  11416. else {
  11417. t6 = J.get$release$x(t6);
  11418. t6 = t6 == null ? null : J.get$name$x(t6);
  11419. }
  11420. t6 = J.$eq$(t6, "node") ? self.process : null;
  11421. if (!J.$eq$(t6 == null ? null : J.get$platform$x(t6), "win32")) {
  11422. t6 = self.process;
  11423. if (t6 == null)
  11424. t6 = null;
  11425. else {
  11426. t6 = J.get$release$x(t6);
  11427. t6 = t6 == null ? null : J.get$name$x(t6);
  11428. }
  11429. t6 = J.$eq$(t6, "node") ? self.process : null;
  11430. t6 = J.$eq$(t6 == null ? null : J.get$platform$x(t6), "darwin");
  11431. } else
  11432. t6 = true;
  11433. if (t6) {
  11434. t6 = $.$get$context();
  11435. t7 = A._realCasePath(t6.absolute$15(t6.normalize$1(t4), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  11436. t0 = t7;
  11437. t7 = t6;
  11438. t6 = t0;
  11439. } else {
  11440. t6 = $.$get$context();
  11441. t7 = t6.canonicalize$1(0, t4);
  11442. t0 = t7;
  11443. t7 = t6;
  11444. t6 = t0;
  11445. }
  11446. graph.addCanonical$4$recanonicalize(t5, t7.toUri$1(t6), t7.toUri$1(t4), false);
  11447. }
  11448. $async$goto = 4;
  11449. return A._asyncAwait(A.compileStylesheets(options, graph, sourcesToDestinations, true), $async$watch);
  11450. case 4:
  11451. // returning from await.
  11452. if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
  11453. t1 = dirWatcher._group.__StreamGroup__controller_A;
  11454. t1 === $ && A.throwUnnamedLateFieldNI();
  11455. new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$1(0, null).cancel$0();
  11456. // goto return
  11457. $async$goto = 1;
  11458. break;
  11459. }
  11460. A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
  11461. $async$goto = 5;
  11462. return A._asyncAwait(new A._Watcher(options, graph, A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)).watch$1(0, dirWatcher), $async$watch);
  11463. case 5:
  11464. // returning from await.
  11465. case 1:
  11466. // return
  11467. return A._asyncReturn($async$returnValue, $async$completer);
  11468. }
  11469. });
  11470. return A._asyncStartSync($async$watch, $async$completer);
  11471. },
  11472. watch_closure: function watch_closure(t0) {
  11473. this.dirWatcher = t0;
  11474. },
  11475. _Watcher: function _Watcher(t0, t1, t2) {
  11476. this._watch$_options = t0;
  11477. this._graph = t1;
  11478. this._toRecompile = t2;
  11479. },
  11480. _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
  11481. },
  11482. EmptyExtensionStore: function EmptyExtensionStore() {
  11483. },
  11484. Extension: function Extension(t0, t1, t2, t3, t4) {
  11485. var _ = this;
  11486. _.extender = t0;
  11487. _.target = t1;
  11488. _.mediaContext = t2;
  11489. _.isOptional = t3;
  11490. _.span = t4;
  11491. },
  11492. Extender: function Extender(t0, t1) {
  11493. this.selector = t0;
  11494. this.isOriginal = t1;
  11495. this._extension = null;
  11496. },
  11497. ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
  11498. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  11499. extender = A.ExtensionStore$_mode(mode);
  11500. if (!selector.accept$1(B._IsInvisibleVisitor_true))
  11501. extender._originals.addAll$1(0, selector.components);
  11502. 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) {
  11503. complex = t1[_i];
  11504. compound = complex.get$singleCompound();
  11505. if (compound == null)
  11506. throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + complex.toString$0(0) + ".", null));
  11507. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  11508. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  11509. simple = t10[_i0];
  11510. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  11511. for (_i1 = 0; _i1 < t4; ++_i1) {
  11512. complex = t3[_i1];
  11513. complex.get$specificity();
  11514. t13 = new A.Extender(complex, false);
  11515. t14 = new A.Extension(t13, simple, null, true, span);
  11516. t13._extension = t14;
  11517. t12.$indexSet(0, complex, t14);
  11518. }
  11519. t9.$indexSet(0, simple, t12);
  11520. }
  11521. selector = extender._extendList$2(selector, t9);
  11522. }
  11523. return selector;
  11524. },
  11525. ExtensionStore$() {
  11526. var t1 = type$.SimpleSelector;
  11527. 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);
  11528. },
  11529. ExtensionStore$_mode(_mode) {
  11530. var t1 = type$.SimpleSelector;
  11531. 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);
  11532. },
  11533. ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
  11534. var _ = this;
  11535. _._selectors = t0;
  11536. _._extensions = t1;
  11537. _._extensionsByExtender = t2;
  11538. _._mediaContexts = t3;
  11539. _._sourceSpecificity = t4;
  11540. _._originals = t5;
  11541. _._mode = t6;
  11542. },
  11543. ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
  11544. },
  11545. ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
  11546. },
  11547. ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
  11548. },
  11549. ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
  11550. },
  11551. ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
  11552. this.complex = t0;
  11553. },
  11554. ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
  11555. },
  11556. ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
  11557. },
  11558. ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure() {
  11559. },
  11560. ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0, t1, t2) {
  11561. this._box_0 = t0;
  11562. this.$this = t1;
  11563. this.complex = t2;
  11564. },
  11565. ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure(t0, t1, t2) {
  11566. this._box_0 = t0;
  11567. this.$this = t1;
  11568. this.complex = t2;
  11569. },
  11570. ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure() {
  11571. },
  11572. ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0() {
  11573. },
  11574. ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1(t0) {
  11575. this.original = t0;
  11576. },
  11577. ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2) {
  11578. this.$this = t0;
  11579. this.extensions = t1;
  11580. this.targetsUsed = t2;
  11581. },
  11582. ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1) {
  11583. this.$this = t0;
  11584. this.withoutPseudo = t1;
  11585. },
  11586. ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
  11587. },
  11588. ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
  11589. },
  11590. ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
  11591. },
  11592. ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
  11593. },
  11594. ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
  11595. this.pseudo = t0;
  11596. },
  11597. ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0, t1) {
  11598. this.pseudo = t0;
  11599. this.selector = t1;
  11600. },
  11601. ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
  11602. this._box_0 = t0;
  11603. this.complex1 = t1;
  11604. },
  11605. ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
  11606. this._box_0 = t0;
  11607. this.complex1 = t1;
  11608. },
  11609. ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
  11610. var _ = this;
  11611. _.$this = t0;
  11612. _.newSelectors = t1;
  11613. _.oldToNewSelectors = t2;
  11614. _.newMediaContexts = t3;
  11615. },
  11616. unifyComplex(complexes, span) {
  11617. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, _0_6_isSet, _0_6, t5, newLeadingCombinator, base, _1_1, newTrailingCombinator, unifiedBase0, t6, t7, t8, _null = null,
  11618. t1 = J.getInterceptor$asx(complexes);
  11619. if (t1.get$length(complexes) === 1)
  11620. return complexes;
  11621. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  11622. t3 = t2.get$current(t2);
  11623. if (t3.accept$1(B.C__IsUselessVisitor))
  11624. return _null;
  11625. t4 = t3.components;
  11626. _0_6_isSet = t4.length === 1;
  11627. if (_0_6_isSet) {
  11628. _0_6 = t3.leadingCombinators;
  11629. t5 = _0_6.length === 1;
  11630. } else {
  11631. _0_6 = _null;
  11632. t5 = false;
  11633. }
  11634. if (t5) {
  11635. newLeadingCombinator = (_0_6_isSet ? _0_6 : t3.leadingCombinators)[0];
  11636. if (leadingCombinator == null)
  11637. leadingCombinator = newLeadingCombinator;
  11638. else if (!(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value)))
  11639. return _null;
  11640. }
  11641. base = B.JSArray_methods.get$last(t4);
  11642. _1_1 = base.combinators;
  11643. if (_1_1.length === 1) {
  11644. newTrailingCombinator = _1_1[0];
  11645. if (trailingCombinator != null)
  11646. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  11647. else
  11648. t3 = false;
  11649. if (t3)
  11650. return _null;
  11651. trailingCombinator = newTrailingCombinator;
  11652. }
  11653. unifiedBase0 = base.selector;
  11654. if (unifiedBase == null)
  11655. unifiedBase = unifiedBase0;
  11656. else {
  11657. unifiedBase = A.unifyCompound(unifiedBase, unifiedBase0);
  11658. if (unifiedBase == null)
  11659. return _null;
  11660. }
  11661. }
  11662. t2 = type$.JSArray_ComplexSelector;
  11663. t3 = A._setArrayType([], t2);
  11664. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  11665. t5 = t4.get$current(t4);
  11666. t6 = t5.components;
  11667. t7 = t6.length;
  11668. if (t7 > 1) {
  11669. t8 = t5.leadingCombinators;
  11670. t3.push(A.ComplexSelector$(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  11671. }
  11672. }
  11673. t4 = leadingCombinator == null ? B.List_empty0 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator);
  11674. unifiedBase.toString;
  11675. t5 = trailingCombinator == null ? B.List_empty0 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator);
  11676. 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()));
  11677. if (t3.length === 0)
  11678. t1 = A._setArrayType([base], t2);
  11679. else {
  11680. t1 = A.List_List$of(A.IterableExtension_get_exceptLast(t3), true, type$.ComplexSelector);
  11681. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  11682. }
  11683. return A.weave(t1, span, false);
  11684. },
  11685. unifyCompound(compound1, compound2) {
  11686. var t1, t2, pseudoElementFound, _i, simple, unified,
  11687. result = compound1.components,
  11688. pseudoResult = A._setArrayType([], type$.JSArray_SimpleSelector);
  11689. for (t1 = compound2.components, t2 = t1.length, pseudoElementFound = false, _i = 0; _i < t2; ++_i) {
  11690. simple = t1[_i];
  11691. if (pseudoElementFound && simple instanceof A.PseudoSelector) {
  11692. unified = simple.unify$1(pseudoResult);
  11693. if (unified == null)
  11694. return null;
  11695. pseudoResult = unified;
  11696. } else {
  11697. pseudoElementFound = B.JSBool_methods.$or(pseudoElementFound, simple instanceof A.PseudoSelector && !simple.isClass);
  11698. unified = simple.unify$1(result);
  11699. if (unified == null)
  11700. return null;
  11701. result = unified;
  11702. }
  11703. }
  11704. t1 = A.List_List$of(result, true, type$.SimpleSelector);
  11705. B.JSArray_methods.addAll$1(t1, pseudoResult);
  11706. return A.CompoundSelector$(t1, compound1.span);
  11707. },
  11708. unifyUniversalAndElement(selector1, selector2) {
  11709. var namespace, $name, t1,
  11710. _0_0 = A._namespaceAndName(selector1, "selector1"),
  11711. namespace1 = _0_0._0,
  11712. name1 = _0_0._1,
  11713. _1_0 = A._namespaceAndName(selector2, "selector2"),
  11714. namespace2 = _1_0._0,
  11715. name2 = _1_0._1;
  11716. if (namespace1 == namespace2 || namespace2 === "*")
  11717. namespace = namespace1;
  11718. else {
  11719. if (namespace1 !== "*")
  11720. return null;
  11721. namespace = namespace2;
  11722. }
  11723. if (name1 == name2 || name2 == null)
  11724. $name = name1;
  11725. else {
  11726. if (!(name1 == null || name1 === "*"))
  11727. return null;
  11728. $name = name2;
  11729. }
  11730. t1 = selector1.span;
  11731. return $name == null ? new A.UniversalSelector(namespace, t1) : new A.TypeSelector(new A.QualifiedName($name, namespace), t1);
  11732. },
  11733. _namespaceAndName(selector, $name) {
  11734. var t1, _0_4;
  11735. $label0$0: {
  11736. if (selector instanceof A.UniversalSelector) {
  11737. t1 = new A._Record_2(selector.namespace, null);
  11738. break $label0$0;
  11739. }
  11740. if (selector instanceof A.TypeSelector) {
  11741. _0_4 = selector.name;
  11742. t1 = new A._Record_2(_0_4.namespace, _0_4.name);
  11743. break $label0$0;
  11744. }
  11745. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  11746. }
  11747. return t1;
  11748. },
  11749. weave(complexes, span, forceLineBreak) {
  11750. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  11751. t1 = J.getInterceptor$asx(complexes);
  11752. if (t1.get$length(complexes) === 1) {
  11753. complex = t1.$index(complexes, 0);
  11754. if (!forceLineBreak || complex.lineBreak)
  11755. return complexes;
  11756. return A._setArrayType([A.ComplexSelector$(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector);
  11757. }
  11758. t2 = type$.JSArray_ComplexSelector;
  11759. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  11760. 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();) {
  11761. t5 = t1.__internal$_current;
  11762. if (t5 == null)
  11763. t5 = t3._as(t5);
  11764. t6 = t5.components;
  11765. if (t6.length === 1) {
  11766. for (i = 0; i < prefixes.length; ++i)
  11767. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  11768. continue;
  11769. }
  11770. t7 = A._setArrayType([], t2);
  11771. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  11772. t9 = A._weaveParents(prefixes[_i], t5, span);
  11773. if (t9 == null)
  11774. t9 = B.List_empty1;
  11775. t10 = t9.length;
  11776. _i0 = 0;
  11777. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  11778. parentPrefix = t9[_i0];
  11779. t11 = B.JSArray_methods.get$last(t6);
  11780. t12 = A.List_List$of(parentPrefix.components, true, t4);
  11781. t12.push(t11);
  11782. t11 = parentPrefix.lineBreak || forceLineBreak;
  11783. t7.push(A.ComplexSelector$(parentPrefix.leadingCombinators, t12, span, t11));
  11784. }
  11785. }
  11786. prefixes = t7;
  11787. }
  11788. return prefixes;
  11789. },
  11790. _weaveParents(prefix, base, span) {
  11791. var t1, queue1, queue2, trailingCombinators, _0_1, _0_3, _0_3_isSet, _0_30, rootish2, t2, rootish1, rootish, t3, rootish_case_0, t0, rootish_case_1, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  11792. leadingCombinators = A._mergeLeadingCombinators(prefix.leadingCombinators, base.leadingCombinators);
  11793. if (leadingCombinators == null)
  11794. return _null;
  11795. t1 = type$.ComplexSelectorComponent;
  11796. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  11797. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast(base.components), t1);
  11798. trailingCombinators = A._mergeTrailingCombinators(queue1, queue2, span, _null);
  11799. if (trailingCombinators == null)
  11800. return _null;
  11801. $label0$0: {
  11802. _0_1 = A._firstIfRootish(queue1);
  11803. _0_3 = A._firstIfRootish(queue2);
  11804. _0_3_isSet = _0_1 != null;
  11805. _0_30 = _null;
  11806. rootish2 = _null;
  11807. t2 = false;
  11808. if (_0_3_isSet) {
  11809. rootish1 = _0_1 == null ? t1._as(_0_1) : _0_1;
  11810. t2 = _0_3 != null;
  11811. if (t2)
  11812. rootish2 = _0_3 == null ? t1._as(_0_3) : _0_3;
  11813. _0_30 = _0_3;
  11814. } else
  11815. rootish1 = _null;
  11816. if (t2) {
  11817. rootish = A.unifyCompound(rootish1.selector, rootish2.selector);
  11818. if (rootish == null)
  11819. return _null;
  11820. t1 = rootish1.combinators;
  11821. t2 = rootish1.span;
  11822. t3 = type$.CssValue_Combinator;
  11823. queue1.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(t1, t3), t2));
  11824. queue2.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  11825. break $label0$0;
  11826. }
  11827. t2 = _null;
  11828. t3 = false;
  11829. if (_0_1 != null) {
  11830. rootish_case_0 = _0_1;
  11831. if (_0_3_isSet)
  11832. t2 = _0_30;
  11833. else {
  11834. t2 = _0_3;
  11835. _0_30 = t2;
  11836. _0_3_isSet = true;
  11837. }
  11838. t2 = t2 == null;
  11839. t3 = t2 ? rootish_case_0 : _null;
  11840. t0 = t3;
  11841. t3 = t2;
  11842. t2 = t0;
  11843. }
  11844. if (!t3)
  11845. if (_0_1 == null) {
  11846. if (_0_3_isSet)
  11847. t3 = _0_30;
  11848. else {
  11849. t3 = _0_3;
  11850. _0_30 = t3;
  11851. _0_3_isSet = true;
  11852. }
  11853. t3 = t3 != null;
  11854. if (t3) {
  11855. rootish_case_1 = _0_3_isSet ? _0_30 : _0_3;
  11856. if (rootish_case_1 == null)
  11857. rootish_case_1 = t1._as(rootish_case_1);
  11858. t1 = rootish_case_1;
  11859. } else
  11860. t1 = t2;
  11861. t2 = t3;
  11862. } else {
  11863. t1 = t2;
  11864. t2 = false;
  11865. }
  11866. else {
  11867. t1 = t2;
  11868. t2 = true;
  11869. }
  11870. if (t2) {
  11871. queue1.addFirst$1(t1);
  11872. queue2.addFirst$1(t1);
  11873. }
  11874. }
  11875. groups1 = A._groupSelectors(queue1);
  11876. groups2 = A._groupSelectors(queue2);
  11877. t1 = type$.List_ComplexSelectorComponent;
  11878. lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(span), t1);
  11879. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent);
  11880. 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) {
  11881. group = lcs[_i];
  11882. t5 = A._setArrayType([], t3);
  11883. 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) {
  11884. chunk = t6[_i0];
  11885. t8 = A._setArrayType([], t4);
  11886. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  11887. B.JSArray_methods.addAll$1(t8, t9.get$current(0));
  11888. t5.push(t8);
  11889. }
  11890. choices.push(t5);
  11891. choices.push(A._setArrayType([group], t3));
  11892. groups1.removeFirst$0();
  11893. groups2.removeFirst$0();
  11894. }
  11895. t2 = A._setArrayType([], t3);
  11896. 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) {
  11897. chunk = t1[_i];
  11898. t5 = A._setArrayType([], t4);
  11899. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  11900. B.JSArray_methods.addAll$1(t5, t6.get$current(0));
  11901. t2.push(t5);
  11902. }
  11903. choices.push(t2);
  11904. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  11905. t1 = A._setArrayType([], type$.JSArray_ComplexSelector);
  11906. 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();) {
  11907. t6 = t2.get$current(t2);
  11908. t7 = A._setArrayType([], t4);
  11909. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  11910. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  11911. t1.push(A.ComplexSelector$(leadingCombinators, t7, span, !t3 || t5));
  11912. }
  11913. return t1;
  11914. },
  11915. _firstIfRootish(queue) {
  11916. var first, t1, t2, _i, simple, t3;
  11917. if (queue.get$length(0) >= 1) {
  11918. first = queue.$index(0, 0);
  11919. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  11920. simple = t1[_i];
  11921. t3 = false;
  11922. if (simple instanceof A.PseudoSelector)
  11923. if (simple.isClass)
  11924. t3 = $._rootishPseudoClasses.contains$1(0, simple.normalizedName);
  11925. if (t3) {
  11926. queue.removeFirst$0();
  11927. return first;
  11928. }
  11929. }
  11930. }
  11931. return null;
  11932. },
  11933. _mergeLeadingCombinators(combinators1, combinators2) {
  11934. var _0_4, t1, t2, _0_7_isSet, _0_7, t3, _0_4_isSet, _0_11, _0_11_isSet, combinators, _null = null;
  11935. $label0$0: {
  11936. _0_4 = combinators2;
  11937. t1 = _null;
  11938. t2 = type$.List_CssValue_Combinator;
  11939. _0_7_isSet = t2._is(combinators1);
  11940. _0_7 = _null;
  11941. if (_0_7_isSet) {
  11942. _0_7 = combinators1.length;
  11943. t3 = _0_7;
  11944. t3 = t3 > 1;
  11945. } else
  11946. t3 = false;
  11947. _0_4_isSet = true;
  11948. _0_11 = _null;
  11949. if (!t3) {
  11950. t3 = _0_4;
  11951. _0_11_isSet = t2._is(t3);
  11952. if (_0_11_isSet) {
  11953. t3 = _0_4;
  11954. _0_11 = (t3 == null ? t2._as(t3) : t3).length;
  11955. t3 = _0_11;
  11956. t3 = t3 > 1;
  11957. } else
  11958. t3 = false;
  11959. } else {
  11960. _0_11_isSet = false;
  11961. t3 = true;
  11962. }
  11963. if (t3)
  11964. break $label0$0;
  11965. if (t2._is(combinators1)) {
  11966. if (_0_7_isSet)
  11967. t3 = _0_7;
  11968. else {
  11969. _0_7 = combinators1.length;
  11970. t3 = _0_7;
  11971. }
  11972. t3 = t3 <= 0;
  11973. if (t3)
  11974. if (_0_4_isSet)
  11975. combinators = _0_4;
  11976. else {
  11977. combinators = combinators2;
  11978. _0_4 = combinators;
  11979. _0_4_isSet = true;
  11980. }
  11981. else
  11982. combinators = t1;
  11983. t1 = t3;
  11984. } else {
  11985. combinators = t1;
  11986. t1 = false;
  11987. }
  11988. if (!t1) {
  11989. t1 = false;
  11990. if (_0_4_isSet)
  11991. t3 = _0_4;
  11992. else {
  11993. t3 = combinators2;
  11994. _0_4 = t3;
  11995. _0_4_isSet = true;
  11996. }
  11997. if (t2._is(t3)) {
  11998. if (_0_11_isSet)
  11999. t1 = _0_11;
  12000. else {
  12001. t1 = _0_4_isSet ? _0_4 : combinators2;
  12002. _0_11 = (t1 == null ? t2._as(t1) : t1).length;
  12003. t1 = _0_11;
  12004. }
  12005. t1 = t1 <= 0;
  12006. }
  12007. combinators = combinators1;
  12008. } else
  12009. t1 = true;
  12010. if (t1) {
  12011. t1 = combinators;
  12012. break $label0$0;
  12013. }
  12014. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  12015. break $label0$0;
  12016. }
  12017. return t1;
  12018. },
  12019. _mergeTrailingCombinators(components1, components2, span, result) {
  12020. var _0_1, t1, _1_1, t2, t3, _4_1, _4_3, _4_4_isSet, _4_5, _4_4, component1, component2, t4, t5, choices, _2_0, _4_9, _4_6, _4_7, followingComponents, nextComponents, _4_4_isSet0, _4_6_isSet, _4_7_isSet, _4_10_isSet, _4_10, _4_5_isSet, next, following, _3_0, siblingComponents_case_0, siblingComponents_case_1, combinator1, t6, combinator2, unified, t7, combinator_case_0, combinatorComponents_case_0, descendantComponents_case_0, t0, combinator_case_1, descendantComponents_case_1, combinatorComponents_case_1, _null = null;
  12021. if (result == null)
  12022. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
  12023. $label0$0: {
  12024. _0_1 = components1.get$length(0);
  12025. if (_0_1 >= 1) {
  12026. t1 = components1.$index(0, _0_1 - 1).combinators;
  12027. break $label0$0;
  12028. }
  12029. t1 = B.List_empty0;
  12030. break $label0$0;
  12031. }
  12032. $label1$1: {
  12033. _1_1 = components2.get$length(0);
  12034. if (_1_1 >= 1) {
  12035. t2 = components2.$index(0, _1_1 - 1).combinators;
  12036. break $label1$1;
  12037. }
  12038. t2 = B.List_empty0;
  12039. break $label1$1;
  12040. }
  12041. t3 = t1.length;
  12042. if (t3 === 0 && t2.length === 0)
  12043. return result;
  12044. if (t3 > 1 || t2.length > 1)
  12045. return _null;
  12046. $label2$2: {
  12047. t3 = A.IterableExtension_get_firstOrNull(t1);
  12048. t3 = t3 == null ? _null : t3.value;
  12049. t2 = A.IterableExtension_get_firstOrNull(t2);
  12050. t2 = [t3, t2 == null ? _null : t2.value, components1, components2];
  12051. _4_1 = t2[0];
  12052. _4_3 = B.Combinator_55N === _4_1;
  12053. _4_4_isSet = _4_3;
  12054. _4_5 = _null;
  12055. _4_4 = _null;
  12056. if (_4_4_isSet) {
  12057. _4_4 = t2[1];
  12058. _4_5 = B.Combinator_55N === _4_4;
  12059. t3 = _4_5;
  12060. } else
  12061. t3 = false;
  12062. if (t3) {
  12063. component1 = components1.removeLast$0(0);
  12064. component2 = components2.removeLast$0(0);
  12065. t2 = component1.selector;
  12066. t3 = component2.selector;
  12067. if (A.compoundIsSuperselector(t2, t3, _null))
  12068. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12069. else {
  12070. t4 = type$.JSArray_ComplexSelectorComponent;
  12071. t5 = type$.JSArray_List_ComplexSelectorComponent;
  12072. if (A.compoundIsSuperselector(t3, t2, _null))
  12073. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  12074. else {
  12075. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  12076. _2_0 = A.unifyCompound(t2, t3);
  12077. if (_2_0 != null)
  12078. 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));
  12079. result.addFirst$1(choices);
  12080. }
  12081. }
  12082. break $label2$2;
  12083. }
  12084. _4_9 = _null;
  12085. _4_6 = _null;
  12086. _4_7 = _null;
  12087. followingComponents = _null;
  12088. nextComponents = _null;
  12089. if (_4_3) {
  12090. if (_4_4_isSet) {
  12091. t3 = _4_4;
  12092. _4_4_isSet0 = _4_4_isSet;
  12093. } else {
  12094. _4_4 = t2[1];
  12095. t3 = _4_4;
  12096. _4_4_isSet0 = true;
  12097. }
  12098. _4_9 = B.Combinator_bOP === t3;
  12099. _4_6_isSet = _4_9;
  12100. if (_4_6_isSet) {
  12101. _4_6 = t2[2];
  12102. _4_7 = t2[3];
  12103. nextComponents = _4_7;
  12104. followingComponents = _4_6;
  12105. }
  12106. t3 = _4_6_isSet;
  12107. _4_7_isSet = t3;
  12108. } else {
  12109. _4_4_isSet0 = _4_4_isSet;
  12110. _4_6_isSet = false;
  12111. _4_7_isSet = false;
  12112. t3 = false;
  12113. }
  12114. _4_10_isSet = !t3;
  12115. _4_10 = _null;
  12116. if (_4_10_isSet) {
  12117. _4_10 = B.Combinator_bOP === _4_1;
  12118. t3 = _4_10;
  12119. if (t3) {
  12120. if (_4_4_isSet) {
  12121. t3 = _4_5;
  12122. _4_5_isSet = _4_4_isSet;
  12123. _4_4_isSet = _4_4_isSet0;
  12124. } else {
  12125. if (_4_4_isSet0) {
  12126. t3 = _4_4;
  12127. _4_4_isSet = _4_4_isSet0;
  12128. } else {
  12129. _4_4 = t2[1];
  12130. t3 = _4_4;
  12131. _4_4_isSet = true;
  12132. }
  12133. _4_5 = B.Combinator_55N === t3;
  12134. t3 = _4_5;
  12135. _4_5_isSet = true;
  12136. }
  12137. if (t3) {
  12138. if (_4_6_isSet)
  12139. nextComponents = _4_6;
  12140. else {
  12141. _4_6 = t2[2];
  12142. nextComponents = _4_6;
  12143. _4_6_isSet = true;
  12144. }
  12145. if (_4_7_isSet)
  12146. followingComponents = _4_7;
  12147. else {
  12148. _4_7 = t2[3];
  12149. followingComponents = _4_7;
  12150. _4_7_isSet = true;
  12151. }
  12152. }
  12153. } else {
  12154. _4_5_isSet = _4_4_isSet;
  12155. _4_4_isSet = _4_4_isSet0;
  12156. t3 = false;
  12157. }
  12158. } else {
  12159. _4_5_isSet = _4_4_isSet;
  12160. _4_4_isSet = _4_4_isSet0;
  12161. t3 = true;
  12162. }
  12163. if (t3) {
  12164. next = nextComponents.removeLast$0(0);
  12165. following = followingComponents.removeLast$0(0);
  12166. t1 = following.selector;
  12167. t2 = next.selector;
  12168. t3 = type$.JSArray_ComplexSelectorComponent;
  12169. t4 = type$.JSArray_List_ComplexSelectorComponent;
  12170. if (A.compoundIsSuperselector(t1, t2, _null))
  12171. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  12172. else {
  12173. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  12174. _3_0 = A.unifyCompound(t1, t2);
  12175. if (_3_0 != null)
  12176. t4.push(A._setArrayType([new A.ComplexSelectorComponent(_3_0, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator), span)], t3));
  12177. result.addFirst$1(t4);
  12178. }
  12179. break $label2$2;
  12180. }
  12181. t3 = _null;
  12182. if (B.Combinator_0mp === _4_1) {
  12183. _4_4_isSet0 = true;
  12184. if (_4_3)
  12185. t4 = _4_9;
  12186. else {
  12187. if (_4_4_isSet)
  12188. t4 = _4_4;
  12189. else {
  12190. _4_4 = t2[1];
  12191. t4 = _4_4;
  12192. _4_4_isSet = _4_4_isSet0;
  12193. }
  12194. _4_9 = B.Combinator_bOP === t4;
  12195. t4 = _4_9;
  12196. }
  12197. if (!t4)
  12198. if (_4_5_isSet)
  12199. t4 = _4_5;
  12200. else {
  12201. if (_4_4_isSet)
  12202. t4 = _4_4;
  12203. else {
  12204. _4_4 = t2[1];
  12205. t4 = _4_4;
  12206. _4_4_isSet = _4_4_isSet0;
  12207. }
  12208. _4_5 = B.Combinator_55N === t4;
  12209. t4 = _4_5;
  12210. }
  12211. else
  12212. t4 = true;
  12213. if (t4) {
  12214. if (_4_7_isSet)
  12215. siblingComponents_case_0 = _4_7;
  12216. else {
  12217. _4_7 = t2[3];
  12218. siblingComponents_case_0 = _4_7;
  12219. _4_7_isSet = true;
  12220. }
  12221. t3 = siblingComponents_case_0;
  12222. }
  12223. } else
  12224. t4 = false;
  12225. if (!t4) {
  12226. if (_4_10_isSet)
  12227. t4 = _4_10;
  12228. else {
  12229. _4_10 = B.Combinator_bOP === _4_1;
  12230. t4 = _4_10;
  12231. }
  12232. if (!t4)
  12233. t4 = _4_3;
  12234. else
  12235. t4 = true;
  12236. if (t4) {
  12237. if (_4_4_isSet)
  12238. t4 = _4_4;
  12239. else {
  12240. _4_4 = t2[1];
  12241. t4 = _4_4;
  12242. _4_4_isSet = true;
  12243. }
  12244. t4 = B.Combinator_0mp === t4;
  12245. if (t4) {
  12246. if (_4_6_isSet)
  12247. siblingComponents_case_1 = _4_6;
  12248. else {
  12249. _4_6 = t2[2];
  12250. siblingComponents_case_1 = _4_6;
  12251. _4_6_isSet = true;
  12252. }
  12253. t3 = siblingComponents_case_1;
  12254. }
  12255. } else
  12256. t4 = false;
  12257. } else
  12258. t4 = true;
  12259. if (t4) {
  12260. result.addFirst$1(A._setArrayType([A._setArrayType([t3.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12261. break $label2$2;
  12262. }
  12263. t3 = _4_1 == null;
  12264. t4 = !t3;
  12265. t5 = false;
  12266. if (t4) {
  12267. _4_4_isSet0 = true;
  12268. combinator1 = _4_1;
  12269. if (_4_4_isSet)
  12270. t6 = _4_4;
  12271. else {
  12272. _4_4 = t2[1];
  12273. t6 = _4_4;
  12274. _4_4_isSet = _4_4_isSet0;
  12275. }
  12276. if (t6 != null) {
  12277. if (_4_4_isSet)
  12278. combinator2 = _4_4;
  12279. else {
  12280. _4_4 = t2[1];
  12281. combinator2 = _4_4;
  12282. _4_4_isSet = _4_4_isSet0;
  12283. }
  12284. t5 = combinator1 === (combinator2 == null ? type$.Combinator._as(combinator2) : combinator2);
  12285. }
  12286. }
  12287. if (t5) {
  12288. unified = A.unifyCompound(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  12289. if (unified == null)
  12290. return _null;
  12291. 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));
  12292. break $label2$2;
  12293. }
  12294. t1 = _null;
  12295. t5 = _null;
  12296. t6 = _null;
  12297. t7 = false;
  12298. if (t4) {
  12299. combinator_case_0 = _4_1;
  12300. if (_4_4_isSet)
  12301. t4 = _4_4;
  12302. else {
  12303. _4_4 = t2[1];
  12304. t4 = _4_4;
  12305. _4_4_isSet = true;
  12306. }
  12307. t4 = t4 == null;
  12308. if (t4) {
  12309. if (_4_6_isSet)
  12310. combinatorComponents_case_0 = _4_6;
  12311. else {
  12312. _4_6 = t2[2];
  12313. combinatorComponents_case_0 = _4_6;
  12314. _4_6_isSet = true;
  12315. }
  12316. if (_4_7_isSet)
  12317. descendantComponents_case_0 = _4_7;
  12318. else {
  12319. _4_7 = t2[3];
  12320. descendantComponents_case_0 = _4_7;
  12321. _4_7_isSet = true;
  12322. }
  12323. t1 = descendantComponents_case_0;
  12324. t6 = t1;
  12325. t1 = combinator_case_0;
  12326. t5 = combinatorComponents_case_0;
  12327. }
  12328. t0 = t6;
  12329. t6 = t4;
  12330. t4 = t5;
  12331. t5 = t0;
  12332. } else {
  12333. t4 = t5;
  12334. t5 = t6;
  12335. t6 = t7;
  12336. }
  12337. if (!t6)
  12338. if (t3) {
  12339. if (_4_4_isSet)
  12340. t3 = _4_4;
  12341. else {
  12342. _4_4 = t2[1];
  12343. t3 = _4_4;
  12344. _4_4_isSet = true;
  12345. }
  12346. t3 = t3 != null;
  12347. if (t3) {
  12348. combinator_case_1 = _4_4_isSet ? _4_4 : t2[1];
  12349. if (combinator_case_1 == null)
  12350. combinator_case_1 = type$.Combinator._as(combinator_case_1);
  12351. descendantComponents_case_1 = _4_6_isSet ? _4_6 : t2[2];
  12352. combinatorComponents_case_1 = _4_7_isSet ? _4_7 : t2[3];
  12353. t1 = combinatorComponents_case_1;
  12354. t2 = descendantComponents_case_1;
  12355. t4 = t2;
  12356. t2 = t1;
  12357. t1 = combinator_case_1;
  12358. } else {
  12359. t2 = t4;
  12360. t4 = t5;
  12361. }
  12362. t0 = t4;
  12363. t4 = t3;
  12364. t3 = t0;
  12365. } else {
  12366. t3 = t5;
  12367. t2 = t4;
  12368. t4 = false;
  12369. }
  12370. else {
  12371. t3 = t5;
  12372. t2 = t4;
  12373. t4 = true;
  12374. }
  12375. if (t4) {
  12376. if (t1 === B.Combinator_0mp) {
  12377. t1 = A.IterableExtension_get_lastOrNull(t3);
  12378. t1 = t1 == null ? _null : A.compoundIsSuperselector(t1.selector, t2.get$last(t2).selector, _null);
  12379. t1 = t1 === true;
  12380. } else
  12381. t1 = false;
  12382. if (t1)
  12383. t3.removeLast$0(0);
  12384. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12385. break $label2$2;
  12386. }
  12387. return _null;
  12388. }
  12389. return A._mergeTrailingCombinators(components1, components2, span, result);
  12390. },
  12391. _mustUnify(complex1, complex2) {
  12392. var t2, t3, t4,
  12393. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
  12394. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  12395. 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();)
  12396. t1.add$1(0, t3.get$current(0));
  12397. if (t1._collection$_length === 0)
  12398. return false;
  12399. return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
  12400. },
  12401. _isUnique(simple) {
  12402. var t1;
  12403. if (!(simple instanceof A.IDSelector))
  12404. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  12405. else
  12406. t1 = true;
  12407. return t1;
  12408. },
  12409. _chunks(queue1, queue2, done, $T) {
  12410. var chunk2, _0_4, _0_5_isSet, _0_1, _0_7, _0_5, chunk, _0_5_isSet0, t2, _null = null,
  12411. t1 = $T._eval$1("JSArray<0>"),
  12412. chunk1 = A._setArrayType([], t1);
  12413. for (; !done.call$1(queue1);)
  12414. chunk1.push(queue1.removeFirst$0());
  12415. chunk2 = A._setArrayType([], t1);
  12416. for (; !done.call$1(queue2);)
  12417. chunk2.push(queue2.removeFirst$0());
  12418. $label0$0: {
  12419. _0_4 = chunk1.length <= 0;
  12420. _0_5_isSet = _0_4;
  12421. _0_1 = chunk1;
  12422. _0_7 = _null;
  12423. _0_5 = _null;
  12424. if (_0_5_isSet) {
  12425. _0_7 = chunk2.length <= 0;
  12426. t1 = _0_7;
  12427. _0_5 = chunk2;
  12428. } else
  12429. t1 = false;
  12430. if (t1) {
  12431. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  12432. break $label0$0;
  12433. }
  12434. if (_0_4)
  12435. if (_0_5_isSet) {
  12436. chunk = _0_5;
  12437. _0_5_isSet0 = _0_5_isSet;
  12438. } else {
  12439. chunk = chunk2;
  12440. _0_5 = chunk;
  12441. _0_5_isSet0 = true;
  12442. }
  12443. else {
  12444. chunk = _null;
  12445. _0_5_isSet0 = _0_5_isSet;
  12446. }
  12447. if (!_0_4) {
  12448. if (_0_5_isSet)
  12449. t1 = _0_7;
  12450. else {
  12451. _0_7 = (_0_5_isSet0 ? _0_5 : chunk2).length <= 0;
  12452. t1 = _0_7;
  12453. }
  12454. chunk = _0_1;
  12455. } else
  12456. t1 = true;
  12457. if (t1) {
  12458. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  12459. break $label0$0;
  12460. }
  12461. t1 = A.List_List$of(chunk1, true, $T);
  12462. B.JSArray_methods.addAll$1(t1, chunk2);
  12463. t2 = A.List_List$of(chunk2, true, $T);
  12464. B.JSArray_methods.addAll$1(t2, chunk1);
  12465. t2 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  12466. t1 = t2;
  12467. break $label0$0;
  12468. }
  12469. return t1;
  12470. },
  12471. paths(choices, $T) {
  12472. 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));
  12473. },
  12474. _groupSelectors(complex) {
  12475. var t2, t3, t4,
  12476. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
  12477. t1 = type$.JSArray_ComplexSelectorComponent,
  12478. group = A._setArrayType([], t1);
  12479. 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();) {
  12480. t4 = t3.__internal$_current;
  12481. if (t4 == null)
  12482. t4 = t2._as(t4);
  12483. group.push(t4);
  12484. if (t4.combinators.length === 0) {
  12485. groups._queue_list$_add$1(group);
  12486. group = A._setArrayType([], t1);
  12487. }
  12488. }
  12489. if (group.length !== 0)
  12490. groups._queue_list$_add$1(group);
  12491. return groups;
  12492. },
  12493. listIsSuperselector(list1, list2) {
  12494. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
  12495. },
  12496. _complexIsParentSuperselector(complex1, complex2) {
  12497. var t1, base, t2;
  12498. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  12499. return false;
  12500. t1 = $.$get$bogusSpan();
  12501. 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);
  12502. t1 = type$.ComplexSelectorComponent;
  12503. t2 = A.List_List$of(complex1, true, t1);
  12504. t2.push(base);
  12505. t1 = A.List_List$of(complex2, true, t1);
  12506. t1.push(base);
  12507. return A.complexIsSuperselector(t2, t1);
  12508. },
  12509. complexIsSuperselector(complex1, complex2) {
  12510. var t1, t2, previousCombinator, i1, i2, remaining1, remaining2, component1, t3, t4, endOfSubselector, component2, t5, combinator1, _null = null;
  12511. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  12512. return false;
  12513. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  12514. return false;
  12515. for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), previousCombinator = _null, i1 = 0, i2 = 0; true; previousCombinator = combinator1) {
  12516. remaining1 = complex1.length - i1;
  12517. remaining2 = complex2.length - i2;
  12518. if (remaining1 === 0 || remaining2 === 0)
  12519. return false;
  12520. if (remaining1 > remaining2)
  12521. return false;
  12522. component1 = complex1[i1];
  12523. t3 = component1.combinators;
  12524. if (t3.length > 1)
  12525. return false;
  12526. if (remaining1 === 1)
  12527. if (B.JSArray_methods.any$1(complex2, new A.complexIsSuperselector_closure()))
  12528. return false;
  12529. else {
  12530. t1 = component1.selector;
  12531. t2 = B.JSArray_methods.get$last(complex2).selector;
  12532. return A.compoundIsSuperselector(t1, t2, t1.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, complex2.length - 1) : _null);
  12533. }
  12534. for (t4 = component1.selector, endOfSubselector = i2; true;) {
  12535. component2 = complex2[endOfSubselector];
  12536. if (component2.combinators.length > 1)
  12537. return false;
  12538. t5 = t4.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, endOfSubselector) : _null;
  12539. if (A.compoundIsSuperselector(t4, component2.selector, t5))
  12540. break;
  12541. ++endOfSubselector;
  12542. if (endOfSubselector === complex2.length - 1)
  12543. return false;
  12544. }
  12545. t4 = new A.SubListIterable(complex2, 0, endOfSubselector, t1);
  12546. t4.SubListIterable$3(complex2, 0, endOfSubselector, t2);
  12547. if (!A._compatibleWithPreviousCombinator(previousCombinator, t4.skip$1(0, i2)))
  12548. return false;
  12549. component2 = complex2[endOfSubselector];
  12550. combinator1 = A.IterableExtension_get_firstOrNull(t3);
  12551. if (!A._isSupercombinator(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  12552. return false;
  12553. ++i1;
  12554. i2 = endOfSubselector + 1;
  12555. if (complex1.length - i1 === 1) {
  12556. t3 = combinator1 == null;
  12557. if (J.$eq$(t3 ? _null : combinator1.value, B.Combinator_55N)) {
  12558. t3 = complex2.length - 1;
  12559. t4 = new A.SubListIterable(complex2, 0, t3, t1);
  12560. t4.SubListIterable$3(complex2, 0, t3, t2);
  12561. if (!t4.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure0(combinator1)))
  12562. return false;
  12563. } else if (!t3)
  12564. if (complex2.length - i2 > 1)
  12565. return false;
  12566. }
  12567. }
  12568. },
  12569. _compatibleWithPreviousCombinator(previous, parents) {
  12570. if (parents.get$isEmpty(parents))
  12571. return true;
  12572. if (previous == null)
  12573. return true;
  12574. if (previous.value !== B.Combinator_55N)
  12575. return false;
  12576. return parents.every$1(0, new A._compatibleWithPreviousCombinator_closure());
  12577. },
  12578. _isSupercombinator(combinator1, combinator2) {
  12579. var t2, t3,
  12580. t1 = true;
  12581. if (!J.$eq$(combinator1, combinator2)) {
  12582. t2 = combinator1 == null;
  12583. if (t2)
  12584. t3 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_0mp);
  12585. else
  12586. t3 = false;
  12587. if (!t3)
  12588. if (J.$eq$(t2 ? null : combinator1.value, B.Combinator_55N))
  12589. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_bOP);
  12590. else
  12591. t1 = false;
  12592. }
  12593. return t1;
  12594. },
  12595. compoundIsSuperselector(compound1, compound2, parents) {
  12596. var t1, _0_1, _0_5, _0_5_isSet, _0_50, index1, pseudo2, index2, t2, t3, pseudo1, t4, t5, _i, simple1, _null = null;
  12597. if (!compound1.get$hasComplicatedSuperselectorSemantics() && !compound2.get$hasComplicatedSuperselectorSemantics()) {
  12598. t1 = compound1.components;
  12599. if (t1.length > compound2.components.length)
  12600. return false;
  12601. return B.JSArray_methods.every$1(t1, new A.compoundIsSuperselector_closure(compound2));
  12602. }
  12603. _0_1 = A._findPseudoElementIndexed(compound1);
  12604. _0_5 = A._findPseudoElementIndexed(compound2);
  12605. t1 = type$.Record_2_nullable_Object_and_nullable_Object;
  12606. _0_5_isSet = t1._is(_0_1);
  12607. _0_50 = _null;
  12608. index1 = _null;
  12609. pseudo2 = _null;
  12610. index2 = _null;
  12611. t2 = false;
  12612. if (_0_5_isSet) {
  12613. t3 = _0_1 == null;
  12614. pseudo1 = (t3 ? t1._as(_0_1) : _0_1)._0;
  12615. index1 = (t3 ? t1._as(_0_1) : _0_1)._1;
  12616. t2 = t1._is(_0_5);
  12617. if (t2) {
  12618. t3 = _0_5 == null;
  12619. pseudo2 = (t3 ? t1._as(_0_5) : _0_5)._0;
  12620. index2 = (t3 ? t1._as(_0_5) : _0_5)._1;
  12621. }
  12622. t1 = t2;
  12623. _0_50 = _0_5;
  12624. } else {
  12625. t1 = t2;
  12626. pseudo1 = _null;
  12627. }
  12628. if (t1) {
  12629. if (pseudo1.isSuperselector$1(pseudo2)) {
  12630. t1 = compound1.components;
  12631. t2 = type$.int;
  12632. t3 = A._arrayInstanceType(t1)._precomputed1;
  12633. t4 = compound2.components;
  12634. t5 = A._arrayInstanceType(t4)._precomputed1;
  12635. 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);
  12636. } else
  12637. t1 = false;
  12638. return t1;
  12639. }
  12640. if (_0_1 == null)
  12641. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  12642. else
  12643. t1 = true;
  12644. if (t1)
  12645. return false;
  12646. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  12647. simple1 = t1[_i];
  12648. if (simple1 instanceof A.PseudoSelector)
  12649. t4 = simple1.selector != null;
  12650. else
  12651. t4 = false;
  12652. if (t4) {
  12653. if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
  12654. return false;
  12655. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  12656. return false;
  12657. }
  12658. return true;
  12659. },
  12660. _findPseudoElementIndexed(compound) {
  12661. var t1, t2, i, simple;
  12662. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  12663. simple = t1[i];
  12664. if (simple instanceof A.PseudoSelector && !simple.isClass)
  12665. return new A._Record_2(simple, i);
  12666. }
  12667. return null;
  12668. },
  12669. _compoundComponentsIsSuperselector(compound1, compound2, parents) {
  12670. var t1;
  12671. if (compound1.get$length(0) === 0)
  12672. return true;
  12673. if (compound2.get$length(0) === 0)
  12674. compound2 = A._setArrayType([new A.UniversalSelector("*", $.$get$bogusSpan())], type$.JSArray_SimpleSelector);
  12675. t1 = $.$get$bogusSpan();
  12676. return A.compoundIsSuperselector(A.CompoundSelector$(compound1, t1), A.CompoundSelector$(compound2, t1), parents);
  12677. },
  12678. _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
  12679. var selector1 = pseudo1.selector;
  12680. if (selector1 == null)
  12681. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  12682. switch (pseudo1.normalizedName) {
  12683. case "is":
  12684. case "matches":
  12685. case "any":
  12686. case "where":
  12687. 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));
  12688. case "has":
  12689. case "host":
  12690. case "host-context":
  12691. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1));
  12692. case "slotted":
  12693. return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1));
  12694. case "not":
  12695. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
  12696. case "current":
  12697. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1));
  12698. case "nth-child":
  12699. case "nth-last-child":
  12700. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1));
  12701. default:
  12702. throw A.wrapException("unreachable");
  12703. }
  12704. },
  12705. _selectorPseudoArgs(compound, $name, isClass) {
  12706. var t1 = type$.WhereTypeIterable_PseudoSelector;
  12707. 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);
  12708. },
  12709. unifyComplex_closure: function unifyComplex_closure() {
  12710. },
  12711. _weaveParents_closure: function _weaveParents_closure(t0) {
  12712. this.span = t0;
  12713. },
  12714. _weaveParents_closure0: function _weaveParents_closure0(t0) {
  12715. this.group = t0;
  12716. },
  12717. _weaveParents_closure1: function _weaveParents_closure1() {
  12718. },
  12719. _weaveParents_closure2: function _weaveParents_closure2() {
  12720. },
  12721. _mustUnify_closure: function _mustUnify_closure(t0) {
  12722. this.uniqueSelectors = t0;
  12723. },
  12724. _mustUnify__closure: function _mustUnify__closure(t0) {
  12725. this.uniqueSelectors = t0;
  12726. },
  12727. paths_closure: function paths_closure(t0) {
  12728. this.T = t0;
  12729. },
  12730. paths__closure: function paths__closure(t0, t1) {
  12731. this.paths = t0;
  12732. this.T = t1;
  12733. },
  12734. paths___closure: function paths___closure(t0, t1) {
  12735. this.option = t0;
  12736. this.T = t1;
  12737. },
  12738. listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
  12739. this.list1 = t0;
  12740. },
  12741. listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
  12742. this.complex1 = t0;
  12743. },
  12744. complexIsSuperselector_closure: function complexIsSuperselector_closure() {
  12745. },
  12746. complexIsSuperselector_closure0: function complexIsSuperselector_closure0(t0) {
  12747. this.combinator1 = t0;
  12748. },
  12749. _compatibleWithPreviousCombinator_closure: function _compatibleWithPreviousCombinator_closure() {
  12750. },
  12751. compoundIsSuperselector_closure: function compoundIsSuperselector_closure(t0) {
  12752. this.compound2 = t0;
  12753. },
  12754. _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
  12755. this.selector1 = t0;
  12756. },
  12757. _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
  12758. this.parents = t0;
  12759. this.compound2 = t1;
  12760. },
  12761. _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
  12762. this.selector1 = t0;
  12763. },
  12764. _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
  12765. this.selector1 = t0;
  12766. },
  12767. _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
  12768. this.compound2 = t0;
  12769. this.pseudo1 = t1;
  12770. },
  12771. _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
  12772. this.complex = t0;
  12773. this.pseudo1 = t1;
  12774. },
  12775. _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
  12776. this.simple2 = t0;
  12777. },
  12778. _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
  12779. this.simple2 = t0;
  12780. },
  12781. _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
  12782. this.selector1 = t0;
  12783. },
  12784. _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
  12785. this.pseudo1 = t0;
  12786. this.selector1 = t1;
  12787. },
  12788. _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
  12789. this.isClass = t0;
  12790. this.name = t1;
  12791. },
  12792. _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
  12793. },
  12794. MergedExtension_merge(left, right) {
  12795. var t2, t3, t4,
  12796. t1 = left.extender.selector;
  12797. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  12798. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  12799. t2 = left.mediaContext;
  12800. t3 = t2 == null;
  12801. if (!t3) {
  12802. t4 = right.mediaContext;
  12803. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  12804. } else
  12805. t4 = false;
  12806. if (t4)
  12807. throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  12808. if (right.isOptional && right.mediaContext == null)
  12809. return left;
  12810. if (left.isOptional && t3)
  12811. return right;
  12812. if (t3)
  12813. t2 = right.mediaContext;
  12814. t1.get$specificity();
  12815. t1 = new A.Extender(t1, false);
  12816. return t1._extension = new A.MergedExtension(left, right, t1, left.target, t2, true, left.span);
  12817. },
  12818. MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
  12819. var _ = this;
  12820. _.left = t0;
  12821. _.right = t1;
  12822. _.extender = t2;
  12823. _.target = t3;
  12824. _.mediaContext = t4;
  12825. _.isOptional = t5;
  12826. _.span = t6;
  12827. },
  12828. ExtendMode: function ExtendMode(t0, t1) {
  12829. this.name = t0;
  12830. this._name = t1;
  12831. },
  12832. globalFunctions_closure: function globalFunctions_closure() {
  12833. },
  12834. _invert($arguments, global) {
  12835. var t2, color, rgb, channel2, space, weight, inSpace, t3, _1_9, channel0, channel1, t4, _s6_ = "weight", _s5_ = "space",
  12836. t1 = J.getInterceptor$asx($arguments),
  12837. weightNumber = t1.$index($arguments, 1).assertNumber$1(_s6_);
  12838. if (!(t1.$index($arguments, 0) instanceof A.SassNumber))
  12839. t2 = global && t1.$index($arguments, 0).get$isSpecialNumber();
  12840. else
  12841. t2 = true;
  12842. if (t2) {
  12843. if (weightNumber._number$_value !== 100 || !weightNumber.hasUnit$1("%"))
  12844. throw A.wrapException(string$.Only_oa);
  12845. return A._functionString("invert", t1.take$1($arguments, 1));
  12846. }
  12847. color = t1.$index($arguments, 0).assertColor$1("color");
  12848. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull)) {
  12849. t1 = color._space;
  12850. if (!t1.get$isLegacyInternal())
  12851. throw A.wrapException(A.SassScriptException$(string$.To_usei + color.toString$0(0) + ", you must provide a $space.", "color"));
  12852. A._checkPercent(weightNumber, _s6_);
  12853. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  12854. channel2 = B.LinearChannel_vJ3;
  12855. 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);
  12856. }
  12857. t1 = t1.$index($arguments, 2).assertString$1(_s5_);
  12858. t1.assertUnquoted$1(_s5_);
  12859. space = A.ColorSpace_fromName(t1._string$_text, _s5_);
  12860. weight = weightNumber.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100;
  12861. if (A.fuzzyEquals(weight, 0))
  12862. return color;
  12863. inSpace = color.toSpace$1(space);
  12864. $label0$0: {
  12865. if (B.HwbColorSpace_guQ === space) {
  12866. t1 = A._invertChannel(inSpace, space._channels[0], inSpace.channel0OrNull);
  12867. t2 = inSpace.alphaOrNull;
  12868. if (t2 == null)
  12869. t2 = 0;
  12870. t2 = A.SassColor_SassColor$hwb(t1, inSpace.channel2OrNull, inSpace.channel1OrNull, t2);
  12871. t1 = t2;
  12872. break $label0$0;
  12873. }
  12874. if (B.HslColorSpace_JQ2 === space || B.LchColorSpace_Bpv === space || B.OklchColorSpace_9Gj === space) {
  12875. t1 = space._channels;
  12876. t2 = A._invertChannel(inSpace, t1[0], inSpace.channel0OrNull);
  12877. t1 = A._invertChannel(inSpace, t1[2], inSpace.channel2OrNull);
  12878. t3 = inSpace.alphaOrNull;
  12879. if (t3 == null)
  12880. t3 = 0;
  12881. t3 = A.SassColor_SassColor$forSpaceInternal(space, t2, inSpace.channel1OrNull, t1, t3);
  12882. t1 = t3;
  12883. break $label0$0;
  12884. }
  12885. _1_9 = space._channels;
  12886. channel0 = _1_9[0];
  12887. channel1 = _1_9[1];
  12888. channel2 = _1_9[2];
  12889. t1 = A._invertChannel(inSpace, channel0, inSpace.channel0OrNull);
  12890. t2 = A._invertChannel(inSpace, channel1, inSpace.channel1OrNull);
  12891. t3 = A._invertChannel(inSpace, channel2, inSpace.channel2OrNull);
  12892. t4 = inSpace.alphaOrNull;
  12893. t1 = A.SassColor_SassColor$forSpaceInternal(space, t1, t2, t3, t4 == null ? 0 : t4);
  12894. break $label0$0;
  12895. }
  12896. 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);
  12897. },
  12898. _invertChannel(color, channel, value) {
  12899. var _0_2_isSet, _0_2, t1;
  12900. if (value == null)
  12901. A._missingChannelError(color, channel.name);
  12902. $label0$0: {
  12903. _0_2_isSet = channel instanceof A.LinearChannel;
  12904. if (_0_2_isSet) {
  12905. _0_2 = channel.min;
  12906. t1 = _0_2 < 0;
  12907. } else {
  12908. _0_2 = null;
  12909. t1 = false;
  12910. }
  12911. if (t1) {
  12912. t1 = -value;
  12913. break $label0$0;
  12914. }
  12915. if (_0_2_isSet)
  12916. t1 = 0 === _0_2;
  12917. else
  12918. t1 = false;
  12919. if (t1) {
  12920. t1 = channel.max - value;
  12921. break $label0$0;
  12922. }
  12923. if (channel.isPolarAngle) {
  12924. t1 = B.JSNumber_methods.$mod(value + 180, 360);
  12925. break $label0$0;
  12926. }
  12927. t1 = A.throwExpression(A.UnsupportedError$("Unknown channel " + channel.toString$0(0) + "."));
  12928. }
  12929. return t1;
  12930. },
  12931. _grayscale(colorArg) {
  12932. var hsl, t2, oklch,
  12933. color = colorArg.assertColor$1("color"),
  12934. t1 = color._space;
  12935. if (t1.get$isLegacyInternal()) {
  12936. hsl = color.toSpace$1(B.HslColorSpace_JQ2);
  12937. t2 = hsl.alphaOrNull;
  12938. if (t2 == null)
  12939. t2 = 0;
  12940. return A.SassColor_SassColor$hsl(hsl.channel0OrNull, 0, hsl.channel2OrNull, t2).toSpace$2$legacyMissing(t1, false);
  12941. } else {
  12942. oklch = color.toSpace$1(B.OklchColorSpace_9Gj);
  12943. t2 = oklch.alphaOrNull;
  12944. if (t2 == null)
  12945. t2 = 0;
  12946. return A.SassColor_SassColor$forSpaceInternal(B.OklchColorSpace_9Gj, oklch.channel0OrNull, 0, oklch.channel2OrNull, t2).toSpace$1(t1);
  12947. }
  12948. },
  12949. _updateComponents($arguments, adjust, change, scale) {
  12950. var t2, t3, keywords, originalColor, spaceKeyword, alphaArg, color, channelArgs, channelInfo, t4, value, channelIndex, result, i, alphaNumber, _null = null, _s5_ = "space",
  12951. t1 = J.getInterceptor$asx($arguments),
  12952. argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
  12953. if (argumentList._list$_contents.length !== 0)
  12954. throw A.wrapException(A.SassScriptException$(string$.Only_op, _null));
  12955. argumentList._wereKeywordsAccessed = true;
  12956. t2 = type$.String;
  12957. t3 = type$.Value;
  12958. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, t2, t3);
  12959. originalColor = t1.$index($arguments, 0).assertColor$1("color");
  12960. t1 = keywords.remove$1(0, _s5_);
  12961. spaceKeyword = t1 == null ? _null : t1.assertString$1(_s5_);
  12962. if (spaceKeyword == null)
  12963. spaceKeyword = _null;
  12964. else
  12965. spaceKeyword.assertUnquoted$1(_s5_);
  12966. alphaArg = keywords.remove$1(0, "alpha");
  12967. t1 = spaceKeyword == null;
  12968. if (t1 && originalColor._space.get$isLegacyInternal() && keywords.__js_helper$_length !== 0) {
  12969. t1 = A.NullableExtension_andThen(A._sniffLegacyColorSpace(keywords), new A._updateComponents_closure(originalColor));
  12970. color = t1 == null ? originalColor : t1;
  12971. } else
  12972. color = A._colorInSpace(originalColor, t1 ? B.C__SassNull : spaceKeyword, true);
  12973. channelArgs = A.List_List$filled(color.get$channels().length, _null, false, type$.nullable_Value);
  12974. t1 = color._space;
  12975. channelInfo = t1._channels;
  12976. for (t2 = A.MapExtensions_get_pairs(keywords, t2, t3), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  12977. t3 = {};
  12978. t4 = t2.get$current(t2);
  12979. t3.name = null;
  12980. t3.name = t4._0;
  12981. value = t4._1;
  12982. channelIndex = B.JSArray_methods.indexWhere$1(channelInfo, new A._updateComponents_closure0(t3));
  12983. if (channelIndex === -1)
  12984. throw A.wrapException(A.SassScriptException$("Color space " + t1.toString$0(0) + " doesn't have a channel with this name.", t3.name));
  12985. channelArgs[channelIndex] = value;
  12986. }
  12987. if (change)
  12988. result = A._changeColor(color, channelArgs, alphaArg);
  12989. else {
  12990. t2 = A._setArrayType([], type$.JSArray_nullable_SassNumber);
  12991. for (i = 0; i < 3; ++i) {
  12992. t3 = channelArgs[i];
  12993. t2.push(t3 == null ? _null : t3.assertNumber$1(channelInfo[i].name));
  12994. }
  12995. alphaNumber = alphaArg == null ? _null : alphaArg.assertNumber$1("alpha");
  12996. 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);
  12997. }
  12998. return result.toSpace$2$legacyMissing(originalColor._space, false);
  12999. },
  13000. _changeColor(color, channelArgs, alphaArg) {
  13001. var t4, _s5_ = "alpha",
  13002. t1 = A._channelForChange(channelArgs[0], color, 0),
  13003. t2 = A._channelForChange(channelArgs[1], color, 1),
  13004. t3 = A._channelForChange(channelArgs[2], color, 2);
  13005. $label0$0: {
  13006. if (alphaArg == null) {
  13007. t4 = color.alphaOrNull;
  13008. if (t4 == null)
  13009. t4 = 0;
  13010. break $label0$0;
  13011. }
  13012. t4 = A._isNone(alphaArg);
  13013. if (t4) {
  13014. t4 = null;
  13015. break $label0$0;
  13016. }
  13017. t4 = alphaArg instanceof A.SassNumber;
  13018. if (t4 && !alphaArg.get$hasUnits()) {
  13019. t4 = alphaArg.valueInRange$3(0, 1, _s5_);
  13020. break $label0$0;
  13021. }
  13022. if (t4 && alphaArg.hasUnit$1("%")) {
  13023. t4 = alphaArg.valueInRangeWithUnit$4(0, 100, _s5_, "%") / 100;
  13024. break $label0$0;
  13025. }
  13026. if (t4) {
  13027. t4 = new A._changeColor_closure(alphaArg).call$0();
  13028. break $label0$0;
  13029. }
  13030. t4 = A.throwExpression(A.SassScriptException$(alphaArg.toString$0(0) + ' is not a number or unquoted "none".', _s5_));
  13031. }
  13032. return A._colorFromChannels(color._space, t1, t2, t3, t4, false, false);
  13033. },
  13034. _channelForChange(channelArg, color, channel) {
  13035. var _0_0, t1, t2;
  13036. if (channelArg == null) {
  13037. _0_0 = color.get$channelsOrNull()[channel];
  13038. $label0$0: {
  13039. if (_0_0 != null) {
  13040. t1 = color._space;
  13041. t2 = A.SassNumber_SassNumber(_0_0, (t1 === B.HslColorSpace_JQ2 || t1 === B.HwbColorSpace_guQ) && channel > 0 ? "%" : null);
  13042. t1 = t2;
  13043. break $label0$0;
  13044. }
  13045. t1 = null;
  13046. break $label0$0;
  13047. }
  13048. return t1;
  13049. }
  13050. if (A._isNone(channelArg))
  13051. return null;
  13052. if (channelArg instanceof A.SassNumber)
  13053. return channelArg;
  13054. throw A.wrapException(A.SassScriptException$(channelArg.toString$0(0) + ' is not a number or unquoted "none".', color._space._channels[channel].name));
  13055. },
  13056. _scaleChannel(color, channel, oldValue, factorArg) {
  13057. var t1, factor;
  13058. if (factorArg == null)
  13059. return oldValue;
  13060. if (!(channel instanceof A.LinearChannel))
  13061. throw A.wrapException(A.SassScriptException$("Channel isn't scalable.", channel.name));
  13062. if (oldValue == null)
  13063. A._missingChannelError(color, channel.name);
  13064. t1 = channel.name;
  13065. factorArg.assertUnit$2("%", t1);
  13066. factor = factorArg.valueInRangeWithUnit$4(-100, 100, t1, "%") / 100;
  13067. $label0$0: {
  13068. if (0 === factor) {
  13069. t1 = oldValue;
  13070. break $label0$0;
  13071. }
  13072. if (factor > 0) {
  13073. t1 = channel.max;
  13074. t1 = oldValue >= t1 ? oldValue : oldValue + (t1 - oldValue) * factor;
  13075. break $label0$0;
  13076. }
  13077. t1 = channel.min;
  13078. t1 = oldValue <= t1 ? oldValue : oldValue + (oldValue - t1) * factor;
  13079. break $label0$0;
  13080. }
  13081. return t1;
  13082. },
  13083. _adjustColor(color, channelArgs, alphaArg) {
  13084. var t1 = color._space,
  13085. t2 = t1._channels;
  13086. 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()));
  13087. },
  13088. _adjustChannel(color, channel, oldValue, adjustmentArg) {
  13089. var _0_1, _0_3, t1, _0_6_isSet, _0_6, _0_6_isSet0, t2, _0_11, result, min, max, _null = null;
  13090. if (adjustmentArg == null)
  13091. return oldValue;
  13092. if (oldValue == null)
  13093. A._missingChannelError(color, channel.name);
  13094. $label0$0: {
  13095. _0_1 = color._space;
  13096. _0_3 = B.HslColorSpace_JQ2 === _0_1;
  13097. t1 = _0_3;
  13098. if (!t1)
  13099. _0_6_isSet = B.HwbColorSpace_guQ === _0_1;
  13100. else
  13101. _0_6_isSet = true;
  13102. if (_0_6_isSet) {
  13103. t1 = channel.isPolarAngle;
  13104. _0_6 = channel;
  13105. } else {
  13106. _0_6 = _null;
  13107. t1 = false;
  13108. }
  13109. if (t1) {
  13110. adjustmentArg = A.SassNumber_SassNumber(A._angleValue(adjustmentArg, "hue"), _null);
  13111. break $label0$0;
  13112. }
  13113. t1 = false;
  13114. if (_0_3) {
  13115. _0_6_isSet0 = true;
  13116. if (_0_6_isSet)
  13117. t2 = _0_6;
  13118. else {
  13119. t2 = channel;
  13120. _0_6_isSet = _0_6_isSet0;
  13121. _0_6 = t2;
  13122. }
  13123. if (t2 instanceof A.LinearChannel) {
  13124. if (_0_6_isSet)
  13125. t1 = _0_6;
  13126. else {
  13127. t1 = channel;
  13128. _0_6_isSet = _0_6_isSet0;
  13129. _0_6 = t1;
  13130. }
  13131. _0_11 = type$.LinearChannel._as(t1).name;
  13132. t1 = _0_11;
  13133. if ("saturation" !== t1)
  13134. t1 = "lightness" === _0_11;
  13135. else
  13136. t1 = true;
  13137. }
  13138. }
  13139. if (t1) {
  13140. A._checkPercent(adjustmentArg, channel.name);
  13141. adjustmentArg = A.SassNumber_SassNumber(adjustmentArg._number$_value, "%");
  13142. break $label0$0;
  13143. }
  13144. if (B.LinearChannel_XL8 === (_0_6_isSet ? _0_6 : channel) && adjustmentArg.get$hasUnits()) {
  13145. A.warnForDeprecation("$alpha: Passing a number with unit " + adjustmentArg.get$unitString() + string$.x20is_de + adjustmentArg.unitSuggestion$1("alpha") + string$.x0a_Morex3af, B.Deprecation_jG1);
  13146. adjustmentArg = A.SassNumber_SassNumber(adjustmentArg._number$_value, _null);
  13147. }
  13148. }
  13149. t1 = A._channelFromValue(channel, adjustmentArg, false);
  13150. t1.toString;
  13151. result = oldValue + t1;
  13152. $label1$1: {
  13153. t1 = channel instanceof A.LinearChannel;
  13154. min = _null;
  13155. t2 = false;
  13156. if (t1)
  13157. if (channel.lowerClamped) {
  13158. min = channel.min;
  13159. t2 = result < min;
  13160. }
  13161. if (t2) {
  13162. t1 = oldValue < min ? Math.max(oldValue, result) : min;
  13163. break $label1$1;
  13164. }
  13165. max = _null;
  13166. t2 = false;
  13167. if (t1)
  13168. if (channel.upperClamped) {
  13169. max = channel.max;
  13170. t1 = result > max;
  13171. } else
  13172. t1 = t2;
  13173. else
  13174. t1 = t2;
  13175. if (t1) {
  13176. t1 = oldValue > max ? Math.min(oldValue, result) : max;
  13177. break $label1$1;
  13178. }
  13179. t1 = result;
  13180. break $label1$1;
  13181. }
  13182. return t1;
  13183. },
  13184. _sniffLegacyColorSpace(keywords) {
  13185. var t1, t2;
  13186. for (t1 = new A.LinkedHashMapKeyIterator(keywords, keywords.__js_helper$_modifications, keywords.__js_helper$_first); t1.moveNext$0();) {
  13187. t2 = t1.__js_helper$_current;
  13188. if ("red" === t2 || "green" === t2 || "blue" === t2)
  13189. return B.RgbColorSpace_i0P;
  13190. if ("saturation" === t2 || "lightness" === t2)
  13191. return B.HslColorSpace_JQ2;
  13192. if ("whiteness" === t2 || "blackness" === t2)
  13193. return B.HwbColorSpace_guQ;
  13194. }
  13195. return keywords.containsKey$1("hue") ? B.HslColorSpace_JQ2 : null;
  13196. },
  13197. _functionString($name, $arguments) {
  13198. return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
  13199. },
  13200. _removedColorFunction($name, argument, negative) {
  13201. return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
  13202. },
  13203. _rgb($name, $arguments) {
  13204. var t3, t4,
  13205. t1 = J.getInterceptor$asx($arguments),
  13206. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  13207. t2 = true;
  13208. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  13209. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  13210. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  13211. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  13212. t2 = t2 === true;
  13213. }
  13214. if (t2)
  13215. return A._functionString($name, $arguments);
  13216. t2 = t1.$index($arguments, 0).assertNumber$1("red");
  13217. t3 = t1.$index($arguments, 1).assertNumber$1("green");
  13218. t1 = t1.$index($arguments, 2).assertNumber$1("blue");
  13219. t4 = A.NullableExtension_andThen(alpha, new A._rgb_closure());
  13220. return A._colorFromChannels(B.RgbColorSpace_i0P, t2, t3, t1, t4 == null ? 1 : t4, true, true);
  13221. },
  13222. _rgbTwoArg($name, $arguments) {
  13223. var t2, color,
  13224. t1 = J.getInterceptor$asx($arguments),
  13225. first = t1.$index($arguments, 0),
  13226. second = t1.$index($arguments, 1);
  13227. if (!first.get$isVar())
  13228. t2 = !(first instanceof A.SassColor) && second.get$isVar();
  13229. else
  13230. t2 = true;
  13231. if (t2)
  13232. return A._functionString($name, $arguments);
  13233. color = first.assertColor$1("color");
  13234. if (!color._space.get$isLegacyInternal())
  13235. throw A.wrapException(A.SassScriptException$("Expected " + color.toString$0(0) + string$.x20to_be_ + color.toString$0(0) + ", $alpha: " + second.toString$0(0) + ")", $name));
  13236. color.assertLegacy$1("color");
  13237. color = color.toSpace$1(B.RgbColorSpace_i0P);
  13238. if (second.get$isSpecialNumber())
  13239. 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));
  13240. t1 = A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha");
  13241. return color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  13242. },
  13243. _hsl($name, $arguments) {
  13244. var t3, t4,
  13245. t1 = J.getInterceptor$asx($arguments),
  13246. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  13247. t2 = true;
  13248. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  13249. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  13250. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  13251. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  13252. t2 = t2 === true;
  13253. }
  13254. if (t2)
  13255. return A._functionString($name, $arguments);
  13256. t2 = t1.$index($arguments, 0).assertNumber$1("hue");
  13257. t3 = t1.$index($arguments, 1).assertNumber$1("saturation");
  13258. t1 = t1.$index($arguments, 2).assertNumber$1("lightness");
  13259. t4 = A.NullableExtension_andThen(alpha, new A._hsl_closure());
  13260. return A._colorFromChannels(B.HslColorSpace_JQ2, t2, t3, t1, t4 == null ? 1 : t4, true, false);
  13261. },
  13262. _angleValue(angleValue, $name) {
  13263. var angle = angleValue.assertNumber$1($name);
  13264. if (angle.compatibleWithUnit$1("deg"))
  13265. return angle.coerceValueToUnit$1("deg");
  13266. 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);
  13267. return angle._number$_value;
  13268. },
  13269. _checkPercent(number, $name) {
  13270. if (number.hasUnit$1("%"))
  13271. return;
  13272. 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);
  13273. },
  13274. _percentageOrUnitless(number, max, $name) {
  13275. var value;
  13276. if (!number.get$hasUnits())
  13277. value = number._number$_value;
  13278. else if (number.hasUnit$1("%"))
  13279. value = max * number._number$_value / 100;
  13280. else
  13281. throw A.wrapException(A.SassScriptException$("Expected " + number.toString$0(0) + ' to have unit "%" or no units.', $name));
  13282. return value;
  13283. },
  13284. _mixLegacy(color1, color2, weight) {
  13285. var t2, alphaDistance, weight1, weight2, t3, t4, t5, t6, t7, t8,
  13286. rgb1 = color1.toSpace$1(B.RgbColorSpace_i0P),
  13287. rgb2 = color2.toSpace$1(B.RgbColorSpace_i0P),
  13288. weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
  13289. normalizedWeight = weightScale * 2 - 1,
  13290. t1 = color1.alphaOrNull;
  13291. if (t1 == null)
  13292. t1 = 0;
  13293. t2 = color2.alphaOrNull;
  13294. alphaDistance = t1 - (t2 == null ? 0 : t2);
  13295. t1 = normalizedWeight * alphaDistance;
  13296. weight1 = ((t1 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t1)) + 1) / 2;
  13297. weight2 = 1 - weight1;
  13298. t1 = rgb1.channel0OrNull;
  13299. if (t1 == null)
  13300. t1 = 0;
  13301. t2 = rgb2.channel0OrNull;
  13302. if (t2 == null)
  13303. t2 = 0;
  13304. t3 = rgb1.channel1OrNull;
  13305. if (t3 == null)
  13306. t3 = 0;
  13307. t4 = rgb2.channel1OrNull;
  13308. if (t4 == null)
  13309. t4 = 0;
  13310. t5 = rgb1.channel2OrNull;
  13311. if (t5 == null)
  13312. t5 = 0;
  13313. t6 = rgb2.channel2OrNull;
  13314. if (t6 == null)
  13315. t6 = 0;
  13316. t7 = rgb1.alphaOrNull;
  13317. if (t7 == null)
  13318. t7 = 0;
  13319. t8 = rgb2.alphaOrNull;
  13320. if (t8 == null)
  13321. t8 = 0;
  13322. return A.SassColor_SassColor$rgbInternal(t1 * weight1 + t2 * weight2, t3 * weight1 + t4 * weight2, t5 * weight1 + t6 * weight2, t7 * weightScale + t8 * (1 - weightScale), null);
  13323. },
  13324. _opacify($name, $arguments) {
  13325. var result,
  13326. t1 = J.getInterceptor$asx($arguments),
  13327. color = t1.$index($arguments, 0).assertColor$1("color"),
  13328. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  13329. if (!color._space.get$isLegacyInternal())
  13330. throw A.wrapException(A.SassScriptException$($name + string$.x28__is_oa, null));
  13331. t1 = color.alphaOrNull;
  13332. if (t1 == null)
  13333. t1 = 0;
  13334. t1 += amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  13335. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  13336. A.warnForDeprecation($name + "() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_cyE);
  13337. return result;
  13338. },
  13339. _transparentize($name, $arguments) {
  13340. var result,
  13341. t1 = J.getInterceptor$asx($arguments),
  13342. color = t1.$index($arguments, 0).assertColor$1("color"),
  13343. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  13344. if (!color._space.get$isLegacyInternal())
  13345. throw A.wrapException(A.SassScriptException$($name + string$.x28__is_oa, null));
  13346. t1 = color.alphaOrNull;
  13347. if (t1 == null)
  13348. t1 = 0;
  13349. t1 -= amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  13350. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  13351. A.warnForDeprecation($name + "() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_cyE);
  13352. return result;
  13353. },
  13354. _colorInSpace(colorUntyped, spaceUntyped, legacyMissing) {
  13355. var t1, _s5_ = "space",
  13356. color = colorUntyped.assertColor$1("color");
  13357. if (spaceUntyped.$eq(0, B.C__SassNull))
  13358. return color;
  13359. t1 = spaceUntyped.assertString$1(_s5_);
  13360. t1.assertUnquoted$1(_s5_);
  13361. return color.toSpace$2$legacyMissing(A.ColorSpace_fromName(t1._string$_text, _s5_), legacyMissing);
  13362. },
  13363. _parseChannels(functionName, input, $name, space) {
  13364. var parsedSlash, components, alphaValue, _2_0, _2_1, _2_5, t1, t2, _2_6, channels, first, rest, componentList, spaceName, i, channel, channelName, t3, t4, _null = null;
  13365. if (input.get$isVar())
  13366. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13367. parsedSlash = A._parseSlashChannels(input, $name);
  13368. if (parsedSlash == null)
  13369. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13370. components = parsedSlash._0;
  13371. alphaValue = parsedSlash._1;
  13372. $label0$0: {
  13373. _2_0 = components.assertCommonListStyle$2$allowSlash($name, false);
  13374. _2_1 = _2_0.length;
  13375. if (_2_1 <= 0)
  13376. throw A.wrapException(A.SassScriptException$("Color component list may not be empty.", $name));
  13377. _2_5 = _2_1 >= 1;
  13378. t1 = _2_5;
  13379. t2 = false;
  13380. if (t1) {
  13381. _2_6 = _2_0[0];
  13382. if (_2_6 instanceof A.SassString) {
  13383. type$.SassString._as(_2_6);
  13384. t2 = !_2_6._hasQuotes && _2_6._string$_text.toLowerCase() === "from";
  13385. }
  13386. } else
  13387. _2_6 = _null;
  13388. if (t2)
  13389. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13390. t2 = components.get$isVar();
  13391. if (t2) {
  13392. channels = A._setArrayType([components], type$.JSArray_Value);
  13393. break $label0$0;
  13394. }
  13395. channels = _null;
  13396. if (_2_5) {
  13397. first = t1 ? _2_6 : _2_0[0];
  13398. rest = B.JSArray_methods.sublist$1(_2_0, 1);
  13399. componentList = _2_0;
  13400. } else {
  13401. componentList = channels;
  13402. rest = componentList;
  13403. first = _null;
  13404. }
  13405. if (_2_5) {
  13406. if (space == null) {
  13407. spaceName = first.assertString$1($name);
  13408. spaceName.assertUnquoted$1($name);
  13409. space = spaceName.get$isVar() ? _null : A.ColorSpace_fromName(spaceName._string$_text, $name);
  13410. 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)
  13411. throw A.wrapException(A.SassScriptException$(string$.The_co + A.S(space) + ". Use the " + A.S(space) + "() function instead.", $name));
  13412. channels = rest;
  13413. } else
  13414. channels = componentList;
  13415. for (i = 0; i < channels.length; ++i) {
  13416. channel = channels[i];
  13417. t1 = false;
  13418. if (!channel.get$isSpecialNumber())
  13419. if (!(channel instanceof A.SassNumber))
  13420. t1 = !(channel instanceof A.SassString && !channel._hasQuotes && channel._string$_text.toLowerCase() === "none");
  13421. if (t1) {
  13422. t1 = _null;
  13423. if (space == null)
  13424. channelName = t1;
  13425. else {
  13426. t2 = space._channels;
  13427. t2 = i < 3 ? t2[i] : _null;
  13428. if (!(t2 == null))
  13429. t1 = new A._parseChannels_closure().call$1(t2.name);
  13430. channelName = t1;
  13431. }
  13432. if (channelName == null)
  13433. channelName = "channel " + (i + 1);
  13434. throw A.wrapException(A.SassScriptException$("Expected " + channelName + " to be a number, was " + channel.toString$0(0) + ".", $name));
  13435. }
  13436. }
  13437. break $label0$0;
  13438. }
  13439. throw A.wrapException("unreachable");
  13440. }
  13441. t1 = alphaValue == null;
  13442. t2 = t1 ? _null : alphaValue.get$isSpecialNumber();
  13443. if (t2 === true) {
  13444. if (channels.length === 3 && B.Set_9FDyj.contains$1(0, space)) {
  13445. t1 = A.List_List$of(channels, true, type$.Value);
  13446. alphaValue.toString;
  13447. t1.push(alphaValue);
  13448. t1 = A._functionString(functionName, t1);
  13449. } else
  13450. t1 = A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13451. return t1;
  13452. }
  13453. $label1$1: {
  13454. if (t1) {
  13455. t2 = 1;
  13456. break $label1$1;
  13457. }
  13458. if (alphaValue instanceof A.SassString && !alphaValue._hasQuotes && "none" === alphaValue._string$_text) {
  13459. t2 = _null;
  13460. break $label1$1;
  13461. }
  13462. t2 = A._percentageOrUnitless(alphaValue.assertNumber$1($name), 1, "alpha");
  13463. t2 = isNaN(t2) ? 0 : B.JSNumber_methods.clamp$2(t2, 0, 1);
  13464. break $label1$1;
  13465. }
  13466. if (space == null)
  13467. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13468. if (B.JSArray_methods.any$1(channels, new A._parseChannels_closure0())) {
  13469. if (channels.length === 3 && B.Set_9FDyj.contains$1(0, space)) {
  13470. t2 = A.List_List$of(channels, true, type$.Value);
  13471. if (!t1)
  13472. t2.push(alphaValue);
  13473. t1 = A._functionString(functionName, t2);
  13474. } else
  13475. t1 = A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13476. return t1;
  13477. }
  13478. if (channels.length !== 3)
  13479. throw A.wrapException(A.SassScriptException$("The " + space.toString$0(0) + " color space has 3 channels but " + input.toString$0(0) + " has " + channels.length + ".", $name));
  13480. t1 = channels[0];
  13481. t1 = t1 instanceof A.SassNumber ? t1 : _null;
  13482. t3 = channels[1];
  13483. t3 = t3 instanceof A.SassNumber ? t3 : _null;
  13484. t4 = channels[2];
  13485. t4 = t4 instanceof A.SassNumber ? t4 : _null;
  13486. return A._colorFromChannels(space, t1, t3, t4, t2, true, space === B.RgbColorSpace_i0P);
  13487. },
  13488. _parseSlashChannels(input, $name) {
  13489. var _1_1, alphaValue, t1, components, _1_7, _1_9_isSet, _1_8, _1_9, initial, t2, _0_0, _0_1, channel3, alpha, _1_16, _1_16_isSet, _1_9_isSet0, t3, _null = null,
  13490. _1_0 = input.assertCommonListStyle$2$allowSlash($name, true);
  13491. $label0$0: {
  13492. _1_1 = _1_0.length;
  13493. alphaValue = _null;
  13494. t1 = false;
  13495. if (_1_1 === 2) {
  13496. components = _1_0[0];
  13497. alphaValue = _1_0[1];
  13498. t1 = input.get$separator(input) === B.ListSeparator_bRz;
  13499. } else
  13500. components = _null;
  13501. if (t1) {
  13502. t1 = new A._Record_2(components, alphaValue);
  13503. break $label0$0;
  13504. }
  13505. t1 = input.get$separator(input);
  13506. if (t1 === B.ListSeparator_bRz) {
  13507. t1 = _1_0.length;
  13508. A.throwExpression(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", t1, "were") + " passed.", $name));
  13509. }
  13510. _1_7 = _1_1 >= 1;
  13511. _1_9_isSet = _1_7;
  13512. _1_8 = _null;
  13513. _1_9 = _null;
  13514. initial = _null;
  13515. t1 = false;
  13516. if (_1_9_isSet) {
  13517. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  13518. initial = _1_8;
  13519. _1_9 = _1_0[_1_1 - 1];
  13520. t2 = _1_9;
  13521. if (t2 instanceof A.SassString) {
  13522. type$.SassString._as(_1_9);
  13523. t1 = !_1_9._hasQuotes;
  13524. }
  13525. }
  13526. if (t1) {
  13527. if (_1_9_isSet)
  13528. t1 = _1_9;
  13529. else {
  13530. _1_9 = _1_0[_1_1 - 1];
  13531. t1 = _1_9;
  13532. }
  13533. _0_0 = type$.SassString._as(t1)._string$_text.split("/");
  13534. $label1$1: {
  13535. _0_1 = _0_0.length;
  13536. if (_0_1 === 1) {
  13537. t1 = new A._Record_2(input, _null);
  13538. break $label1$1;
  13539. }
  13540. if (_0_1 === 2) {
  13541. channel3 = _0_0[0];
  13542. alpha = _0_0[1];
  13543. t1 = A.List_List$of(initial, true, type$.Value);
  13544. t1.push(A._parseNumberOrString(channel3));
  13545. t1 = new A._Record_2(A.SassList$(t1, B.ListSeparator_qSL, false), A._parseNumberOrString(alpha));
  13546. break $label1$1;
  13547. }
  13548. t1 = _null;
  13549. break $label1$1;
  13550. }
  13551. break $label0$0;
  13552. }
  13553. _1_16 = _null;
  13554. _1_16_isSet = false;
  13555. t1 = false;
  13556. if (_1_7) {
  13557. _1_9_isSet0 = true;
  13558. if (_1_9_isSet)
  13559. initial = _1_8;
  13560. else {
  13561. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  13562. initial = _1_8;
  13563. }
  13564. if (_1_9_isSet)
  13565. t2 = _1_9;
  13566. else {
  13567. _1_9 = _1_0[_1_1 - 1];
  13568. t2 = _1_9;
  13569. _1_9_isSet = _1_9_isSet0;
  13570. }
  13571. _1_16_isSet = t2 instanceof A.SassNumber;
  13572. if (_1_16_isSet) {
  13573. if (_1_9_isSet)
  13574. t1 = _1_9;
  13575. else {
  13576. _1_9 = _1_0[_1_1 - 1];
  13577. t1 = _1_9;
  13578. _1_9_isSet = _1_9_isSet0;
  13579. }
  13580. _1_16 = type$.SassNumber._as(t1).asSlash;
  13581. t1 = _1_16;
  13582. t1 = type$.Record_2_nullable_Object_and_nullable_Object._is(t1);
  13583. }
  13584. } else
  13585. initial = _null;
  13586. if (t1) {
  13587. if (_1_16_isSet)
  13588. t1 = _1_16;
  13589. else {
  13590. if (_1_9_isSet)
  13591. t1 = _1_9;
  13592. else {
  13593. _1_9 = _1_0[_1_1 - 1];
  13594. t1 = _1_9;
  13595. _1_9_isSet = true;
  13596. }
  13597. _1_16 = type$.SassNumber._as(t1).asSlash;
  13598. t1 = _1_16;
  13599. _1_16_isSet = true;
  13600. }
  13601. if (t1 == null)
  13602. t1 = type$.Record_2_nullable_Object_and_nullable_Object._as(t1);
  13603. if (_1_16_isSet)
  13604. t2 = _1_16;
  13605. else {
  13606. if (_1_9_isSet)
  13607. t2 = _1_9;
  13608. else {
  13609. _1_9 = _1_0[_1_1 - 1];
  13610. t2 = _1_9;
  13611. }
  13612. _1_16 = type$.SassNumber._as(t2).asSlash;
  13613. t2 = _1_16;
  13614. }
  13615. if (t2 == null)
  13616. t2 = type$.Record_2_nullable_Object_and_nullable_Object._as(t2);
  13617. t3 = A.List_List$of(initial, true, type$.Value);
  13618. t3.push(t1._0);
  13619. t2 = new A._Record_2(A.SassList$(t3, B.ListSeparator_qSL, false), t2._1);
  13620. t1 = t2;
  13621. break $label0$0;
  13622. }
  13623. t1 = new A._Record_2(input, _null);
  13624. break $label0$0;
  13625. }
  13626. return t1;
  13627. },
  13628. _parseNumberOrString(text) {
  13629. var t1, expression, exception;
  13630. try {
  13631. t1 = A.ScssParser$(text, null);
  13632. expression = t1._parseSingleProduction$1$1(t1.get$_number(), type$.NumberExpression);
  13633. t1 = A.SassNumber_SassNumber(expression.value, expression.unit);
  13634. return t1;
  13635. } catch (exception) {
  13636. if (type$.SassFormatException._is(A.unwrapException(exception)))
  13637. return new A.SassString(text, false);
  13638. else
  13639. throw exception;
  13640. }
  13641. },
  13642. _colorFromChannels(space, channel0, channel1, channel2, alpha, clamp, fromRgbFunction) {
  13643. var t1, t2, whiteness, blackness, t3;
  13644. switch (space) {
  13645. case B.HslColorSpace_JQ2:
  13646. if (channel1 != null)
  13647. A._checkPercent(channel1, "saturation");
  13648. if (channel2 != null)
  13649. A._checkPercent(channel2, "lightness");
  13650. t1 = space._channels;
  13651. 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);
  13652. case B.HwbColorSpace_guQ:
  13653. t1 = channel1 == null;
  13654. if (!t1)
  13655. channel1.assertUnit$2("%", "whiteness");
  13656. t2 = channel2 == null;
  13657. if (!t2)
  13658. channel2.assertUnit$2("%", "blackness");
  13659. whiteness = t1 ? null : channel1._number$_value;
  13660. blackness = t2 ? null : channel2._number$_value;
  13661. if (whiteness != null && blackness != null && whiteness + blackness > 100) {
  13662. t1 = whiteness + blackness;
  13663. whiteness = whiteness / t1 * 100;
  13664. blackness = blackness / t1 * 100;
  13665. }
  13666. return A.SassColor_SassColor$hwb(A.NullableExtension_andThen(channel0, new A._colorFromChannels_closure0()), whiteness, blackness, alpha);
  13667. case B.RgbColorSpace_i0P:
  13668. t1 = space._channels;
  13669. t2 = A._channelFromValue(t1[0], channel0, clamp);
  13670. t3 = A._channelFromValue(t1[1], channel1, clamp);
  13671. t1 = A._channelFromValue(t1[2], channel2, clamp);
  13672. return A.SassColor_SassColor$rgbInternal(t2, t3, t1, alpha, fromRgbFunction ? B.C__ColorFormatEnum : null);
  13673. default:
  13674. t1 = space._channels;
  13675. 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);
  13676. }
  13677. },
  13678. _forcePercent(number) {
  13679. var t1, _0_3;
  13680. $label0$0: {
  13681. if (number == null) {
  13682. t1 = null;
  13683. break $label0$0;
  13684. }
  13685. _0_3 = number.get$numeratorUnits(number);
  13686. if (_0_3.length === 1)
  13687. t1 = "%" === _0_3[0] && number.get$denominatorUnits(number).length <= 0;
  13688. else
  13689. t1 = false;
  13690. if (t1) {
  13691. t1 = number;
  13692. break $label0$0;
  13693. }
  13694. t1 = A.SassNumber_SassNumber(number._number$_value, "%");
  13695. break $label0$0;
  13696. }
  13697. return t1;
  13698. },
  13699. _channelFromValue(channel, value, clamp) {
  13700. return A.NullableExtension_andThen(value, new A._channelFromValue_closure(channel, clamp));
  13701. },
  13702. _isNone(value) {
  13703. return value instanceof A.SassString && !value._hasQuotes && value._string$_text.toLowerCase() === "none";
  13704. },
  13705. _channelFunction($name, space, getter, global, unit) {
  13706. return A.BuiltInCallable$function($name, "$color", new A._channelFunction_closure(getter, unit, global, $name, space), "sass:color");
  13707. },
  13708. _suggestScaleAndAdjust(original, adjustment, channelName) {
  13709. var t2, oldValue, newValue, factor, t3, suggestion,
  13710. channel = channelName === "alpha" ? B.LinearChannel_XL8 : type$.LinearChannel._as(B.JSArray_methods.firstWhere$1(B.List_oAL, new A._suggestScaleAndAdjust_closure(channelName))),
  13711. t1 = channel === B.LinearChannel_XL8;
  13712. if (t1) {
  13713. t2 = original.alphaOrNull;
  13714. oldValue = t2 == null ? 0 : t2;
  13715. } else
  13716. oldValue = original.toSpace$1(B.HslColorSpace_JQ2).channel$1(0, channelName);
  13717. newValue = oldValue + adjustment;
  13718. if (adjustment !== 0) {
  13719. factor = A._Cell$();
  13720. t2 = channel.max;
  13721. if (newValue > t2)
  13722. factor.__late_helper$_value = 1;
  13723. else {
  13724. t3 = channel.min;
  13725. if (newValue < t3)
  13726. factor.__late_helper$_value = -1;
  13727. else if (adjustment > 0)
  13728. factor.__late_helper$_value = adjustment / (t2 - oldValue);
  13729. else
  13730. factor.__late_helper$_value = (newValue - oldValue) / (oldValue - t3);
  13731. }
  13732. suggestion = "Suggestion" + ("s:\n\ncolor.scale($color, $" + channelName + ": " + A.SassNumber_SassNumber(factor._readLocal$0() * 100, "%").toString$0(0) + ")\n");
  13733. } else
  13734. suggestion = "Suggestion:\n\n";
  13735. return suggestion + ("color.adjust($color, $" + channelName + ": " + A.SassNumber_SassNumber(adjustment, t1 ? null : "%").toString$0(0) + ")");
  13736. },
  13737. _missingChannelError(color, channel) {
  13738. return A.throwExpression(A.SassScriptException$(string$.Becaus + color.toString$0(0) + ").", channel));
  13739. },
  13740. _channelName(value) {
  13741. var t1 = value.assertString$1("channel");
  13742. t1.assertQuoted$1("channel");
  13743. return t1._string$_text;
  13744. },
  13745. _function5($name, $arguments, callback) {
  13746. return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
  13747. },
  13748. global_closure0: function global_closure0() {
  13749. },
  13750. global_closure1: function global_closure1() {
  13751. },
  13752. global_closure2: function global_closure2() {
  13753. },
  13754. global_closure3: function global_closure3() {
  13755. },
  13756. global_closure4: function global_closure4() {
  13757. },
  13758. global_closure5: function global_closure5() {
  13759. },
  13760. global_closure6: function global_closure6() {
  13761. },
  13762. global_closure7: function global_closure7() {
  13763. },
  13764. global_closure8: function global_closure8() {
  13765. },
  13766. global_closure9: function global_closure9() {
  13767. },
  13768. global_closure10: function global_closure10() {
  13769. },
  13770. global_closure11: function global_closure11() {
  13771. },
  13772. global_closure12: function global_closure12() {
  13773. },
  13774. global_closure13: function global_closure13() {
  13775. },
  13776. global_closure14: function global_closure14() {
  13777. },
  13778. global_closure15: function global_closure15() {
  13779. },
  13780. global_closure16: function global_closure16() {
  13781. },
  13782. global_closure17: function global_closure17() {
  13783. },
  13784. global_closure18: function global_closure18() {
  13785. },
  13786. global_closure19: function global_closure19() {
  13787. },
  13788. global_closure20: function global_closure20() {
  13789. },
  13790. global_closure21: function global_closure21() {
  13791. },
  13792. global_closure22: function global_closure22() {
  13793. },
  13794. global_closure23: function global_closure23() {
  13795. },
  13796. global_closure24: function global_closure24() {
  13797. },
  13798. global_closure25: function global_closure25() {
  13799. },
  13800. global_closure26: function global_closure26() {
  13801. },
  13802. global_closure27: function global_closure27() {
  13803. },
  13804. global_closure28: function global_closure28() {
  13805. },
  13806. global_closure29: function global_closure29() {
  13807. },
  13808. global_closure30: function global_closure30() {
  13809. },
  13810. global_closure31: function global_closure31() {
  13811. },
  13812. global_closure32: function global_closure32() {
  13813. },
  13814. global_closure33: function global_closure33() {
  13815. },
  13816. global_closure34: function global_closure34() {
  13817. },
  13818. global_closure35: function global_closure35() {
  13819. },
  13820. global__closure: function global__closure() {
  13821. },
  13822. global_closure36: function global_closure36() {
  13823. },
  13824. global_closure37: function global_closure37() {
  13825. },
  13826. global_closure38: function global_closure38() {
  13827. },
  13828. global_closure39: function global_closure39() {
  13829. },
  13830. global_closure40: function global_closure40() {
  13831. },
  13832. global_closure41: function global_closure41() {
  13833. },
  13834. global_closure42: function global_closure42() {
  13835. },
  13836. module_closure1: function module_closure1() {
  13837. },
  13838. module_closure2: function module_closure2() {
  13839. },
  13840. module_closure3: function module_closure3() {
  13841. },
  13842. module_closure4: function module_closure4() {
  13843. },
  13844. module_closure5: function module_closure5() {
  13845. },
  13846. module_closure6: function module_closure6() {
  13847. },
  13848. module_closure7: function module_closure7() {
  13849. },
  13850. module_closure8: function module_closure8() {
  13851. },
  13852. module_closure9: function module_closure9() {
  13853. },
  13854. module_closure10: function module_closure10() {
  13855. },
  13856. module_closure11: function module_closure11() {
  13857. },
  13858. module_closure12: function module_closure12() {
  13859. },
  13860. module_closure13: function module_closure13() {
  13861. },
  13862. module_closure14: function module_closure14() {
  13863. },
  13864. module__closure2: function module__closure2() {
  13865. },
  13866. module_closure15: function module_closure15() {
  13867. },
  13868. module_closure16: function module_closure16() {
  13869. },
  13870. module_closure17: function module_closure17() {
  13871. },
  13872. module_closure18: function module_closure18() {
  13873. },
  13874. module_closure19: function module_closure19() {
  13875. },
  13876. module_closure20: function module_closure20() {
  13877. },
  13878. module_closure21: function module_closure21() {
  13879. },
  13880. module_closure22: function module_closure22() {
  13881. },
  13882. module__closure1: function module__closure1(t0) {
  13883. this.channelName = t0;
  13884. },
  13885. module_closure23: function module_closure23() {
  13886. },
  13887. module_closure_toXyzNoMissing: function module_closure_toXyzNoMissing() {
  13888. },
  13889. module_closure24: function module_closure24() {
  13890. },
  13891. _mix_closure: function _mix_closure() {
  13892. },
  13893. _complement_closure: function _complement_closure() {
  13894. },
  13895. _adjust_closure: function _adjust_closure() {
  13896. },
  13897. _scale_closure: function _scale_closure() {
  13898. },
  13899. _change_closure: function _change_closure() {
  13900. },
  13901. _ieHexStr_closure: function _ieHexStr_closure() {
  13902. },
  13903. _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
  13904. },
  13905. _updateComponents_closure: function _updateComponents_closure(t0) {
  13906. this.originalColor = t0;
  13907. },
  13908. _updateComponents_closure0: function _updateComponents_closure0(t0) {
  13909. this._box_0 = t0;
  13910. },
  13911. _changeColor_closure: function _changeColor_closure(t0) {
  13912. this.alphaArg = t0;
  13913. },
  13914. _adjustColor_closure: function _adjustColor_closure() {
  13915. },
  13916. _functionString_closure: function _functionString_closure() {
  13917. },
  13918. _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
  13919. this.name = t0;
  13920. this.argument = t1;
  13921. this.negative = t2;
  13922. },
  13923. _rgb_closure: function _rgb_closure() {
  13924. },
  13925. _hsl_closure: function _hsl_closure() {
  13926. },
  13927. _parseChannels_closure: function _parseChannels_closure() {
  13928. },
  13929. _parseChannels_closure0: function _parseChannels_closure0() {
  13930. },
  13931. _colorFromChannels_closure: function _colorFromChannels_closure() {
  13932. },
  13933. _colorFromChannels_closure0: function _colorFromChannels_closure0() {
  13934. },
  13935. _channelFromValue_closure: function _channelFromValue_closure(t0, t1) {
  13936. this.channel = t0;
  13937. this.clamp = t1;
  13938. },
  13939. _channelFunction_closure: function _channelFunction_closure(t0, t1, t2, t3, t4) {
  13940. var _ = this;
  13941. _.getter = t0;
  13942. _.unit = t1;
  13943. _.global = t2;
  13944. _.name = t3;
  13945. _.space = t4;
  13946. },
  13947. _suggestScaleAndAdjust_closure: function _suggestScaleAndAdjust_closure(t0) {
  13948. this.channelName = t0;
  13949. },
  13950. _function4($name, $arguments, callback) {
  13951. return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
  13952. },
  13953. _length_closure0: function _length_closure0() {
  13954. },
  13955. _nth_closure: function _nth_closure() {
  13956. },
  13957. _setNth_closure: function _setNth_closure() {
  13958. },
  13959. _join_closure: function _join_closure() {
  13960. },
  13961. _append_closure0: function _append_closure0() {
  13962. },
  13963. _zip_closure: function _zip_closure() {
  13964. },
  13965. _zip__closure: function _zip__closure() {
  13966. },
  13967. _zip__closure0: function _zip__closure0(t0) {
  13968. this._box_0 = t0;
  13969. },
  13970. _zip__closure1: function _zip__closure1(t0) {
  13971. this._box_0 = t0;
  13972. },
  13973. _index_closure0: function _index_closure0() {
  13974. },
  13975. _separator_closure: function _separator_closure() {
  13976. },
  13977. _isBracketed_closure: function _isBracketed_closure() {
  13978. },
  13979. _slash_closure: function _slash_closure() {
  13980. },
  13981. _modify(map, keys, modify, addNesting) {
  13982. var keyIterator = J.get$iterator$ax(keys);
  13983. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  13984. },
  13985. _deepMergeImpl(map1, map2) {
  13986. var t2, t3, result, t4, key, value, _1_1, _1_3, _1_3_isSet, _1_30, resultMap, valueMap, merged,
  13987. t1 = map1._map$_contents;
  13988. if (t1.get$isEmpty(t1))
  13989. return map2;
  13990. t2 = map2._map$_contents;
  13991. if (t2.get$isEmpty(t2))
  13992. return map1;
  13993. t3 = type$.Value;
  13994. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  13995. for (t1 = A.MapExtensions_get_pairs(t2, t3, t3), t1 = t1.get$iterator(t1), t2 = type$.SassMap; t1.moveNext$0();) {
  13996. t4 = t1.get$current(t1);
  13997. key = t4._0;
  13998. value = t4._1;
  13999. t4 = result.$index(0, key);
  14000. _1_1 = t4 == null ? null : t4.tryMap$0();
  14001. _1_3 = value.tryMap$0();
  14002. _1_3_isSet = _1_1 != null;
  14003. _1_30 = null;
  14004. t4 = false;
  14005. if (_1_3_isSet) {
  14006. resultMap = _1_1 == null ? t2._as(_1_1) : _1_1;
  14007. t4 = _1_3 != null;
  14008. _1_30 = _1_3;
  14009. } else
  14010. resultMap = null;
  14011. if (t4) {
  14012. valueMap = _1_3_isSet ? _1_30 : _1_3;
  14013. merged = A._deepMergeImpl(resultMap, valueMap == null ? t2._as(valueMap) : valueMap);
  14014. if (merged === resultMap)
  14015. continue;
  14016. result.$indexSet(0, key, merged);
  14017. } else
  14018. result.$indexSet(0, key, value);
  14019. }
  14020. return new A.SassMap(A.ConstantMap_ConstantMap$from(result, t3, t3));
  14021. },
  14022. _function3($name, $arguments, callback) {
  14023. return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
  14024. },
  14025. _get_closure: function _get_closure() {
  14026. },
  14027. _set_closure: function _set_closure() {
  14028. },
  14029. _set__closure0: function _set__closure0(t0) {
  14030. this.$arguments = t0;
  14031. },
  14032. _set_closure0: function _set_closure0() {
  14033. },
  14034. _set__closure: function _set__closure(t0) {
  14035. this._box_0 = t0;
  14036. },
  14037. _merge_closure: function _merge_closure() {
  14038. },
  14039. _merge_closure0: function _merge_closure0() {
  14040. },
  14041. _merge__closure: function _merge__closure(t0) {
  14042. this.map2 = t0;
  14043. },
  14044. _deepMerge_closure: function _deepMerge_closure() {
  14045. },
  14046. _deepRemove_closure: function _deepRemove_closure() {
  14047. },
  14048. _deepRemove__closure: function _deepRemove__closure(t0) {
  14049. this.keys = t0;
  14050. },
  14051. _remove_closure: function _remove_closure() {
  14052. },
  14053. _remove_closure0: function _remove_closure0() {
  14054. },
  14055. _keys_closure: function _keys_closure() {
  14056. },
  14057. _values_closure: function _values_closure() {
  14058. },
  14059. _hasKey_closure: function _hasKey_closure() {
  14060. },
  14061. _modify_modifyNestedMap: function _modify_modifyNestedMap(t0, t1, t2) {
  14062. this.keyIterator = t0;
  14063. this.modify = t1;
  14064. this.addNesting = t2;
  14065. },
  14066. _singleArgumentMathFunc($name, mathFunc) {
  14067. return A.BuiltInCallable$function($name, "$number", new A._singleArgumentMathFunc_closure(mathFunc), "sass:math");
  14068. },
  14069. _numberFunction($name, transform) {
  14070. return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
  14071. },
  14072. _function2($name, $arguments, callback) {
  14073. return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
  14074. },
  14075. global_closure: function global_closure() {
  14076. },
  14077. module_closure0: function module_closure0() {
  14078. },
  14079. _ceil_closure: function _ceil_closure() {
  14080. },
  14081. _clamp_closure: function _clamp_closure() {
  14082. },
  14083. _floor_closure: function _floor_closure() {
  14084. },
  14085. _max_closure: function _max_closure() {
  14086. },
  14087. _min_closure: function _min_closure() {
  14088. },
  14089. _round_closure: function _round_closure() {
  14090. },
  14091. _hypot_closure: function _hypot_closure() {
  14092. },
  14093. _hypot__closure: function _hypot__closure() {
  14094. },
  14095. _log_closure: function _log_closure() {
  14096. },
  14097. _pow_closure: function _pow_closure() {
  14098. },
  14099. _atan2_closure: function _atan2_closure() {
  14100. },
  14101. _compatible_closure: function _compatible_closure() {
  14102. },
  14103. _isUnitless_closure: function _isUnitless_closure() {
  14104. },
  14105. _unit_closure: function _unit_closure() {
  14106. },
  14107. _percentage_closure: function _percentage_closure() {
  14108. },
  14109. _randomFunction_closure: function _randomFunction_closure() {
  14110. },
  14111. _div_closure: function _div_closure() {
  14112. },
  14113. _singleArgumentMathFunc_closure: function _singleArgumentMathFunc_closure(t0) {
  14114. this.mathFunc = t0;
  14115. },
  14116. _numberFunction_closure: function _numberFunction_closure(t0) {
  14117. this.transform = t0;
  14118. },
  14119. _function($name, $arguments, callback) {
  14120. return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
  14121. },
  14122. _shared_closure: function _shared_closure() {
  14123. },
  14124. _shared_closure0: function _shared_closure0() {
  14125. },
  14126. _shared_closure1: function _shared_closure1() {
  14127. },
  14128. _shared_closure2: function _shared_closure2() {
  14129. },
  14130. moduleFunctions_closure: function moduleFunctions_closure() {
  14131. },
  14132. moduleFunctions_closure0: function moduleFunctions_closure0() {
  14133. },
  14134. moduleFunctions__closure: function moduleFunctions__closure() {
  14135. },
  14136. moduleFunctions_closure1: function moduleFunctions_closure1() {
  14137. },
  14138. _prependParent(compound) {
  14139. var _0_3, _0_4, t2, _0_4_isSet, t3, rest,
  14140. t1 = A.EvaluationContext_currentOrNull(),
  14141. span = (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan(),
  14142. _0_0 = compound.components;
  14143. $label0$0: {
  14144. _0_3 = _0_0.length >= 1;
  14145. if (_0_3) {
  14146. _0_4 = _0_0[0];
  14147. t1 = _0_4 instanceof A.UniversalSelector;
  14148. } else {
  14149. _0_4 = null;
  14150. t1 = false;
  14151. }
  14152. t2 = null;
  14153. if (t1) {
  14154. t1 = t2;
  14155. break $label0$0;
  14156. }
  14157. t1 = false;
  14158. if (_0_3) {
  14159. _0_4_isSet = true;
  14160. t3 = _0_4;
  14161. if (t3 instanceof A.TypeSelector) {
  14162. t1 = _0_4;
  14163. t1 = type$.TypeSelector._as(t1).name.namespace != null;
  14164. }
  14165. } else
  14166. _0_4_isSet = _0_3;
  14167. if (t1) {
  14168. t1 = t2;
  14169. break $label0$0;
  14170. }
  14171. if (_0_3) {
  14172. if (_0_4_isSet)
  14173. t1 = _0_4;
  14174. else {
  14175. _0_4 = _0_0[0];
  14176. t1 = _0_4;
  14177. _0_4_isSet = true;
  14178. }
  14179. t1 = t1 instanceof A.TypeSelector;
  14180. } else
  14181. t1 = false;
  14182. if (t1) {
  14183. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  14184. type$.TypeSelector._as(t1);
  14185. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  14186. t1 = A._setArrayType([new A.ParentSelector(t1.name.name, span)], type$.JSArray_SimpleSelector);
  14187. B.JSArray_methods.addAll$1(t1, rest);
  14188. t1 = A.CompoundSelector$(t1, span);
  14189. break $label0$0;
  14190. }
  14191. t1 = A._setArrayType([new A.ParentSelector(null, span)], type$.JSArray_SimpleSelector);
  14192. B.JSArray_methods.addAll$1(t1, _0_0);
  14193. t1 = A.CompoundSelector$(t1, span);
  14194. break $label0$0;
  14195. }
  14196. return t1;
  14197. },
  14198. _function1($name, $arguments, callback) {
  14199. return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
  14200. },
  14201. _nest_closure: function _nest_closure() {
  14202. },
  14203. _nest__closure: function _nest__closure(t0) {
  14204. this._box_0 = t0;
  14205. },
  14206. _nest__closure0: function _nest__closure0() {
  14207. },
  14208. _append_closure: function _append_closure() {
  14209. },
  14210. _append__closure: function _append__closure() {
  14211. },
  14212. _append__closure0: function _append__closure0(t0) {
  14213. this.span = t0;
  14214. },
  14215. _append___closure: function _append___closure(t0, t1) {
  14216. this.parent = t0;
  14217. this.span = t1;
  14218. },
  14219. _extend_closure: function _extend_closure() {
  14220. },
  14221. _replace_closure: function _replace_closure() {
  14222. },
  14223. _unify_closure: function _unify_closure() {
  14224. },
  14225. _isSuperselector_closure: function _isSuperselector_closure() {
  14226. },
  14227. _simpleSelectors_closure: function _simpleSelectors_closure() {
  14228. },
  14229. _simpleSelectors__closure: function _simpleSelectors__closure() {
  14230. },
  14231. _parse_closure: function _parse_closure() {
  14232. },
  14233. _codepointForIndex(index, lengthInCodepoints, allowNegative) {
  14234. var result;
  14235. if (index === 0)
  14236. return 0;
  14237. if (index > 0)
  14238. return Math.min(index - 1, lengthInCodepoints);
  14239. result = lengthInCodepoints + index;
  14240. if (result < 0 && !allowNegative)
  14241. return 0;
  14242. return result;
  14243. },
  14244. _function0($name, $arguments, callback) {
  14245. return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
  14246. },
  14247. module_closure: function module_closure() {
  14248. },
  14249. module__closure: function module__closure(t0) {
  14250. this.string = t0;
  14251. },
  14252. module__closure0: function module__closure0(t0) {
  14253. this.string = t0;
  14254. },
  14255. _unquote_closure: function _unquote_closure() {
  14256. },
  14257. _quote_closure: function _quote_closure() {
  14258. },
  14259. _length_closure: function _length_closure() {
  14260. },
  14261. _insert_closure: function _insert_closure() {
  14262. },
  14263. _index_closure: function _index_closure() {
  14264. },
  14265. _slice_closure: function _slice_closure() {
  14266. },
  14267. _toUpperCase_closure: function _toUpperCase_closure() {
  14268. },
  14269. _toLowerCase_closure: function _toLowerCase_closure() {
  14270. },
  14271. _uniqueId_closure: function _uniqueId_closure() {
  14272. },
  14273. ImportCache$(importers, loadPaths) {
  14274. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl,
  14275. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport,
  14276. t3 = type$.Uri;
  14277. 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));
  14278. },
  14279. ImportCache__toImporters(importers, loadPaths, packageConfig) {
  14280. var t1, t2, t3, t4, _i, path, _null = null,
  14281. sassPath = A.getEnvironmentVariable("SASS_PATH");
  14282. if (A.isBrowser()) {
  14283. t1 = A._setArrayType([], type$.JSArray_Importer);
  14284. B.JSArray_methods.addAll$1(t1, importers);
  14285. return t1;
  14286. }
  14287. t1 = A._setArrayType([], type$.JSArray_Importer);
  14288. B.JSArray_methods.addAll$1(t1, importers);
  14289. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  14290. t3 = t2.get$current(t2);
  14291. 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));
  14292. }
  14293. if (sassPath != null) {
  14294. t2 = A.isNodeJs() ? self.process : _null;
  14295. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  14296. t4 = t3.length;
  14297. _i = 0;
  14298. for (; _i < t4; ++_i) {
  14299. path = t3[_i];
  14300. 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));
  14301. }
  14302. }
  14303. return t1;
  14304. },
  14305. ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5, t6) {
  14306. var _ = this;
  14307. _._importers = t0;
  14308. _._canonicalizeCache = t1;
  14309. _._perImporterCanonicalizeCache = t2;
  14310. _._nonCanonicalRelativeUrls = t3;
  14311. _._importCache = t4;
  14312. _._resultsCache = t5;
  14313. _._loadTimes = t6;
  14314. },
  14315. ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4, t5, t6) {
  14316. var _ = this;
  14317. _.$this = t0;
  14318. _.baseImporter = t1;
  14319. _.resolvedUrl = t2;
  14320. _.baseUrl = t3;
  14321. _.forImport = t4;
  14322. _.key = t5;
  14323. _.url = t6;
  14324. },
  14325. ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
  14326. this.importer = t0;
  14327. this.url = t1;
  14328. },
  14329. ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3) {
  14330. var _ = this;
  14331. _.$this = t0;
  14332. _.importer = t1;
  14333. _.canonicalUrl = t2;
  14334. _.originalUrl = t3;
  14335. },
  14336. ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
  14337. this.canonicalUrl = t0;
  14338. },
  14339. ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
  14340. },
  14341. ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
  14342. },
  14343. ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
  14344. this.canonicalUrl = t0;
  14345. },
  14346. Importer: function Importer() {
  14347. },
  14348. AsyncImporter: function AsyncImporter() {
  14349. },
  14350. CanonicalizeContext: function CanonicalizeContext(t0, t1) {
  14351. this._fromImport = t0;
  14352. this._containingUrl = t1;
  14353. this._wasContainingUrlAccessed = false;
  14354. },
  14355. FilesystemImporter: function FilesystemImporter(t0, t1) {
  14356. this._loadPath = t0;
  14357. this._loadPathDeprecated = t1;
  14358. },
  14359. FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
  14360. },
  14361. NoOpImporter: function NoOpImporter() {
  14362. },
  14363. NodePackageImporter: function NodePackageImporter() {
  14364. this.__NodePackageImporter__entryPointDirectory_F = $;
  14365. },
  14366. NodePackageImporter__nodePackageExportsResolve_closure: function NodePackageImporter__nodePackageExportsResolve_closure() {
  14367. },
  14368. NodePackageImporter__nodePackageExportsResolve_closure0: function NodePackageImporter__nodePackageExportsResolve_closure0() {
  14369. },
  14370. NodePackageImporter__nodePackageExportsResolve_closure1: function NodePackageImporter__nodePackageExportsResolve_closure1() {
  14371. },
  14372. NodePackageImporter__nodePackageExportsResolve_closure2: function NodePackageImporter__nodePackageExportsResolve_closure2(t0, t1, t2) {
  14373. this.$this = t0;
  14374. this.exports = t1;
  14375. this.packageRoot = t2;
  14376. },
  14377. NodePackageImporter__nodePackageExportsResolve__closure: function NodePackageImporter__nodePackageExportsResolve__closure(t0, t1, t2) {
  14378. this.$this = t0;
  14379. this.variant = t1;
  14380. this.packageRoot = t2;
  14381. },
  14382. NodePackageImporter__nodePackageExportsResolve__closure0: function NodePackageImporter__nodePackageExportsResolve__closure0() {
  14383. },
  14384. NodePackageImporter__getMainExport_closure: function NodePackageImporter__getMainExport_closure() {
  14385. },
  14386. ImporterResult: function ImporterResult(t0, t1, t2) {
  14387. this.contents = t0;
  14388. this._sourceMapUrl = t1;
  14389. this.syntax = t2;
  14390. },
  14391. fromImport() {
  14392. var t1 = type$.nullable_CanonicalizeContext._as($.Zone__current.$index(0, B.Symbol__canonicalizeContext));
  14393. t1 = t1 == null ? null : t1._fromImport;
  14394. return t1 === true;
  14395. },
  14396. canonicalizeContext() {
  14397. var t1,
  14398. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  14399. $label0$0: {
  14400. if (_0_0 == null)
  14401. A.throwExpression(A.StateError$(string$.canoni));
  14402. if (_0_0 instanceof A.CanonicalizeContext) {
  14403. t1 = _0_0;
  14404. break $label0$0;
  14405. }
  14406. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  14407. }
  14408. return t1;
  14409. },
  14410. resolveImportPath(path) {
  14411. var t1,
  14412. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  14413. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  14414. t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
  14415. return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
  14416. }
  14417. t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
  14418. if (t1 == null)
  14419. t1 = A._exactlyOne(A._tryPathWithExtensions(path));
  14420. return t1 == null ? A._tryPathAsDirectory(path) : t1;
  14421. },
  14422. _tryPathWithExtensions(path) {
  14423. var result = A._tryPath(path + ".sass");
  14424. B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
  14425. return result.length !== 0 ? result : A._tryPath(path + ".css");
  14426. },
  14427. _tryPath(path) {
  14428. var t1 = $.$get$context(),
  14429. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  14430. t1 = A._setArrayType([], type$.JSArray_String);
  14431. if (A.fileExists(partial))
  14432. t1.push(partial);
  14433. if (A.fileExists(path))
  14434. t1.push(path);
  14435. return t1;
  14436. },
  14437. _tryPathAsDirectory(path) {
  14438. var t1;
  14439. if (!A.dirExists(path))
  14440. return null;
  14441. t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
  14442. return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
  14443. },
  14444. _exactlyOne(paths) {
  14445. var _0_1, t1, path;
  14446. $label0$0: {
  14447. _0_1 = paths.length;
  14448. if (_0_1 <= 0) {
  14449. t1 = null;
  14450. break $label0$0;
  14451. }
  14452. if (_0_1 === 1) {
  14453. path = paths[0];
  14454. t1 = path;
  14455. break $label0$0;
  14456. }
  14457. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
  14458. }
  14459. return t1;
  14460. },
  14461. resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
  14462. this.path = t0;
  14463. this.extension = t1;
  14464. },
  14465. resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
  14466. this.path = t0;
  14467. },
  14468. _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
  14469. this.path = t0;
  14470. },
  14471. _exactlyOne_closure: function _exactlyOne_closure() {
  14472. },
  14473. InterpolationBuffer: function InterpolationBuffer(t0, t1, t2) {
  14474. this._interpolation_buffer$_text = t0;
  14475. this._interpolation_buffer$_contents = t1;
  14476. this._spans = t2;
  14477. },
  14478. InterpolationMap$(_interpolation, targetLocations) {
  14479. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  14480. t2 = _interpolation.contents.length,
  14481. expectedLocations = Math.max(0, t2 - 1);
  14482. if (t1.length !== expectedLocations)
  14483. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  14484. return new A.InterpolationMap(_interpolation, t1);
  14485. },
  14486. InterpolationMap: function InterpolationMap(t0, t1) {
  14487. this._interpolation = t0;
  14488. this._targetLocations = t1;
  14489. },
  14490. InterpolationMap_mapException_closure: function InterpolationMap_mapException_closure() {
  14491. },
  14492. _realCasePath(path) {
  14493. var prefix, _null = null,
  14494. t1 = A.isNodeJs() ? self.process : _null;
  14495. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  14496. t1 = A.isNodeJs() ? self.process : _null;
  14497. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  14498. } else
  14499. t1 = true;
  14500. if (!t1)
  14501. return path;
  14502. t1 = A.isNodeJs() ? self.process : _null;
  14503. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  14504. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  14505. t1 = prefix.length;
  14506. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic(prefix.charCodeAt(0)))
  14507. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  14508. }
  14509. return new A._realCasePath_helper().call$1(path);
  14510. },
  14511. _realCasePath_helper: function _realCasePath_helper() {
  14512. },
  14513. _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2) {
  14514. this.helper = t0;
  14515. this.dirname = t1;
  14516. this.path = t2;
  14517. },
  14518. _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
  14519. this.basename = t0;
  14520. },
  14521. printError(message) {
  14522. var t1 = A.isNodeJs() ? self.process : null;
  14523. if (t1 != null) {
  14524. t1 = J.get$stderr$x(t1);
  14525. J.write$1$x(t1, A.S(message == null ? "" : message) + "\n");
  14526. } else {
  14527. t1 = self.console;
  14528. J.error$1$x(t1, message == null ? "" : message);
  14529. }
  14530. },
  14531. readFile(path) {
  14532. var contents, sourceFile, t1, i;
  14533. if (!A.isNodeJs())
  14534. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  14535. contents = A._asString(A._readFile(path, "utf8"));
  14536. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  14537. return contents;
  14538. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  14539. for (t1 = contents.length, i = 0; i < t1; ++i) {
  14540. if (contents.charCodeAt(i) !== 65533)
  14541. continue;
  14542. throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  14543. }
  14544. return contents;
  14545. },
  14546. _readFile(path, encoding) {
  14547. return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
  14548. },
  14549. writeFile(path, contents) {
  14550. if (!A.isNodeJs())
  14551. throw A.wrapException(A.UnsupportedError$("writeFile() is only supported on Node.js"));
  14552. return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
  14553. },
  14554. deleteFile(path) {
  14555. if (!A.isNodeJs())
  14556. throw A.wrapException(A.UnsupportedError$("deleteFile() is only supported on Node.js"));
  14557. return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
  14558. },
  14559. readStdin() {
  14560. return A.readStdin$body();
  14561. },
  14562. readStdin$body() {
  14563. var $async$goto = 0,
  14564. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  14565. $async$returnValue, t3, completer, sink, t1, t2;
  14566. var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14567. if ($async$errorCode === 1)
  14568. return A._asyncRethrow($async$result, $async$completer);
  14569. while (true)
  14570. switch ($async$goto) {
  14571. case 0:
  14572. // Function start
  14573. t1 = {};
  14574. t2 = A.isNodeJs() ? self.process : null;
  14575. if (t2 == null)
  14576. throw A.wrapException(A.UnsupportedError$("readStdin() is only supported on Node.js"));
  14577. t3 = new A._Future($.Zone__current, type$._Future_String);
  14578. completer = new A._AsyncCompleter(t3, type$._AsyncCompleter_String);
  14579. t1.contents = null;
  14580. sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
  14581. t1 = J.getInterceptor$x(t2);
  14582. J.on$2$x(t1.get$stdin(t2), "data", A.allowInterop(new A.readStdin_closure0(sink)));
  14583. J.on$2$x(t1.get$stdin(t2), "end", A.allowInterop(new A.readStdin_closure1(sink)));
  14584. J.on$2$x(t1.get$stdin(t2), "error", A.allowInterop(new A.readStdin_closure2(completer)));
  14585. $async$returnValue = t3;
  14586. // goto return
  14587. $async$goto = 1;
  14588. break;
  14589. case 1:
  14590. // return
  14591. return A._asyncReturn($async$returnValue, $async$completer);
  14592. }
  14593. });
  14594. return A._asyncStartSync($async$readStdin, $async$completer);
  14595. },
  14596. fileExists(path) {
  14597. if (!A.isNodeJs())
  14598. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  14599. return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
  14600. },
  14601. dirExists(path) {
  14602. if (!A.isNodeJs())
  14603. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  14604. return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
  14605. },
  14606. ensureDir(path) {
  14607. if (!A.isNodeJs())
  14608. throw A.wrapException(A.UnsupportedError$("ensureDir() is only supported on Node.js"));
  14609. return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
  14610. },
  14611. listDir(path, recursive) {
  14612. if (!A.isNodeJs())
  14613. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  14614. return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
  14615. },
  14616. modificationTime(path) {
  14617. if (!A.isNodeJs())
  14618. throw A.wrapException(A.UnsupportedError$("modificationTime() is only supported on Node.js"));
  14619. return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
  14620. },
  14621. getEnvironmentVariable($name) {
  14622. var t1 = A.isNodeJs() ? self.process : null,
  14623. env = t1 == null ? null : J.get$env$x(t1);
  14624. if (env == null)
  14625. t1 = null;
  14626. else
  14627. t1 = A._asStringQ(env[$name]);
  14628. return t1;
  14629. },
  14630. _systemErrorToFileSystemException(callback) {
  14631. var error, t1, exception, t2;
  14632. try {
  14633. t1 = callback.call$0();
  14634. return t1;
  14635. } catch (exception) {
  14636. error = A.unwrapException(exception);
  14637. if (!type$.JsSystemError._is(error))
  14638. throw exception;
  14639. t1 = error;
  14640. t2 = J.getInterceptor$x(t1);
  14641. 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)));
  14642. }
  14643. },
  14644. hasTerminal() {
  14645. var t1 = A.isNodeJs() ? self.process : null;
  14646. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  14647. },
  14648. isWindows() {
  14649. var t1 = A.isNodeJs() ? self.process : null;
  14650. return J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32");
  14651. },
  14652. watchDir(path, poll) {
  14653. return A.watchDir$body(path, poll);
  14654. },
  14655. watchDir$body(path, poll) {
  14656. var $async$goto = 0,
  14657. $async$completer = A._makeAsyncAwaitCompleter(type$.Stream_WatchEvent),
  14658. $async$returnValue, _0_0, t2, parcel, controller, watcher, t3, t1, $async$temp1, $async$temp2, $async$temp3;
  14659. var $async$watchDir = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14660. if ($async$errorCode === 1)
  14661. return A._asyncRethrow($async$result, $async$completer);
  14662. while (true)
  14663. switch ($async$goto) {
  14664. case 0:
  14665. // Function start
  14666. t1 = {};
  14667. if (!A.isNodeJs())
  14668. throw A.wrapException(A.UnsupportedError$("watchDir() is only supported on Node.js"));
  14669. t1.controller = null;
  14670. _0_0 = self.parcel_watcher;
  14671. if (_0_0 != null) {
  14672. t2 = !poll;
  14673. parcel = _0_0;
  14674. } else {
  14675. parcel = null;
  14676. t2 = false;
  14677. }
  14678. $async$goto = t2 ? 3 : 5;
  14679. break;
  14680. case 3:
  14681. // then
  14682. $async$temp1 = t1;
  14683. $async$temp2 = A;
  14684. $async$temp3 = A;
  14685. $async$goto = 6;
  14686. return A._asyncAwait(A.ParcelWatcher_subscribe(parcel, path, new A.watchDir_closure0(t1)), $async$watchDir);
  14687. case 6:
  14688. // returning from await.
  14689. controller = $async$temp1.controller = $async$temp2.StreamController_StreamController(new $async$temp3.watchDir_closure($async$result), null, null, null, false, type$.WatchEvent);
  14690. $async$returnValue = new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>"));
  14691. // goto return
  14692. $async$goto = 1;
  14693. break;
  14694. // goto join
  14695. $async$goto = 4;
  14696. break;
  14697. case 5:
  14698. // else
  14699. watcher = J.watch$2$x(self.chokidar, path, {usePolling: poll});
  14700. t2 = J.getInterceptor$x(watcher);
  14701. t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure1(t1)));
  14702. t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure2(t1)));
  14703. t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure3(t1)));
  14704. t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure4(t1)));
  14705. t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
  14706. t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure5(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
  14707. $async$returnValue = t3;
  14708. // goto return
  14709. $async$goto = 1;
  14710. break;
  14711. case 4:
  14712. // join
  14713. case 1:
  14714. // return
  14715. return A._asyncReturn($async$returnValue, $async$completer);
  14716. }
  14717. });
  14718. return A._asyncStartSync($async$watchDir, $async$completer);
  14719. },
  14720. FileSystemException: function FileSystemException(t0, t1) {
  14721. this.message = t0;
  14722. this.path = t1;
  14723. },
  14724. _readFile_closure: function _readFile_closure(t0, t1) {
  14725. this.path = t0;
  14726. this.encoding = t1;
  14727. },
  14728. writeFile_closure: function writeFile_closure(t0, t1) {
  14729. this.path = t0;
  14730. this.contents = t1;
  14731. },
  14732. deleteFile_closure: function deleteFile_closure(t0) {
  14733. this.path = t0;
  14734. },
  14735. readStdin_closure: function readStdin_closure(t0, t1) {
  14736. this._box_0 = t0;
  14737. this.completer = t1;
  14738. },
  14739. readStdin_closure0: function readStdin_closure0(t0) {
  14740. this.sink = t0;
  14741. },
  14742. readStdin_closure1: function readStdin_closure1(t0) {
  14743. this.sink = t0;
  14744. },
  14745. readStdin_closure2: function readStdin_closure2(t0) {
  14746. this.completer = t0;
  14747. },
  14748. fileExists_closure: function fileExists_closure(t0) {
  14749. this.path = t0;
  14750. },
  14751. dirExists_closure: function dirExists_closure(t0) {
  14752. this.path = t0;
  14753. },
  14754. ensureDir_closure: function ensureDir_closure(t0) {
  14755. this.path = t0;
  14756. },
  14757. listDir_closure: function listDir_closure(t0, t1) {
  14758. this.recursive = t0;
  14759. this.path = t1;
  14760. },
  14761. listDir__closure: function listDir__closure(t0) {
  14762. this.path = t0;
  14763. },
  14764. listDir__closure0: function listDir__closure0() {
  14765. },
  14766. listDir_closure_list: function listDir_closure_list() {
  14767. },
  14768. listDir__list_closure: function listDir__list_closure(t0, t1) {
  14769. this.parent = t0;
  14770. this.list = t1;
  14771. },
  14772. modificationTime_closure: function modificationTime_closure(t0) {
  14773. this.path = t0;
  14774. },
  14775. watchDir_closure0: function watchDir_closure0(t0) {
  14776. this._box_0 = t0;
  14777. },
  14778. watchDir_closure: function watchDir_closure(t0) {
  14779. this.subscription = t0;
  14780. },
  14781. watchDir_closure1: function watchDir_closure1(t0) {
  14782. this._box_0 = t0;
  14783. },
  14784. watchDir_closure2: function watchDir_closure2(t0) {
  14785. this._box_0 = t0;
  14786. },
  14787. watchDir_closure3: function watchDir_closure3(t0) {
  14788. this._box_0 = t0;
  14789. },
  14790. watchDir_closure4: function watchDir_closure4(t0) {
  14791. this._box_0 = t0;
  14792. },
  14793. watchDir_closure5: function watchDir_closure5(t0, t1, t2) {
  14794. this._box_0 = t0;
  14795. this.watcher = t1;
  14796. this.completer = t2;
  14797. },
  14798. watchDir__closure: function watchDir__closure(t0) {
  14799. this.watcher = t0;
  14800. },
  14801. JSArray0: function JSArray0() {
  14802. },
  14803. Chokidar: function Chokidar() {
  14804. },
  14805. ChokidarOptions: function ChokidarOptions() {
  14806. },
  14807. ChokidarWatcher: function ChokidarWatcher() {
  14808. },
  14809. JSFunction: function JSFunction() {
  14810. },
  14811. ImmutableList: function ImmutableList() {
  14812. },
  14813. ImmutableMap: function ImmutableMap() {
  14814. },
  14815. NodeImporterResult: function NodeImporterResult() {
  14816. },
  14817. RenderContext: function RenderContext() {
  14818. },
  14819. RenderContextOptions: function RenderContextOptions() {
  14820. },
  14821. RenderContextResult: function RenderContextResult() {
  14822. },
  14823. RenderContextResultStats: function RenderContextResultStats() {
  14824. },
  14825. JSModule: function JSModule() {
  14826. },
  14827. JSModuleRequire: function JSModuleRequire() {
  14828. },
  14829. ParcelWatcher_subscribe(_this, path, callback) {
  14830. var result,
  14831. t1 = new A.ParcelWatcher_subscribe_closure(callback);
  14832. if (typeof t1 == "function")
  14833. A.throwExpression(A.ArgumentError$("Attempting to rewrap a JS function.", null));
  14834. result = function(_call, f) {
  14835. return function(arg1, arg2) {
  14836. return _call(f, arg1, arg2, arguments.length);
  14837. };
  14838. }(A._callDartFunctionFast2, t1);
  14839. result[$.$get$DART_CLOSURE_PROPERTY_NAME()] = t1;
  14840. return A.promiseToFuture(_this.subscribe(path, result), type$.JSObject);
  14841. },
  14842. ParcelWatcher_subscribe_closure: function ParcelWatcher_subscribe_closure(t0) {
  14843. this.callback = t0;
  14844. },
  14845. JSClass: function JSClass() {
  14846. },
  14847. JSUrl: function JSUrl() {
  14848. },
  14849. jsThrow0(error) {
  14850. return type$.Never._as($.$get$_jsThrow0().call$1(error));
  14851. },
  14852. _PropertyDescriptor: function _PropertyDescriptor() {
  14853. },
  14854. _RequireMain: function _RequireMain() {
  14855. },
  14856. WarnForDeprecation_warnForDeprecation(_this, deprecation, message, span, trace) {
  14857. _this.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  14858. },
  14859. LoggerWithDeprecationType: function LoggerWithDeprecationType() {
  14860. },
  14861. _QuietLogger: function _QuietLogger() {
  14862. },
  14863. DeprecationProcessingLogger: function DeprecationProcessingLogger(t0, t1, t2, t3, t4, t5) {
  14864. var _ = this;
  14865. _._warningCounts = t0;
  14866. _._inner = t1;
  14867. _.silenceDeprecations = t2;
  14868. _.fatalDeprecations = t3;
  14869. _.futureDeprecations = t4;
  14870. _.limitRepetition = t5;
  14871. },
  14872. DeprecationProcessingLogger_summarize_closure: function DeprecationProcessingLogger_summarize_closure() {
  14873. },
  14874. DeprecationProcessingLogger_summarize_closure0: function DeprecationProcessingLogger_summarize_closure0() {
  14875. },
  14876. StderrLogger: function StderrLogger(t0) {
  14877. this.color = t0;
  14878. },
  14879. TrackingLogger: function TrackingLogger(t0) {
  14880. this._tracking$_logger = t0;
  14881. this._emittedDebug = this._emittedWarning = false;
  14882. },
  14883. BuiltInModule$($name, functions, mixins, variables, $T) {
  14884. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  14885. t2 = A.BuiltInModule__callableMap(functions, $T),
  14886. t3 = A.BuiltInModule__callableMap(mixins, $T),
  14887. t4 = variables == null ? B.Map_empty6 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
  14888. return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
  14889. },
  14890. BuiltInModule__callableMap(callables, $T) {
  14891. var t2, _i, callable,
  14892. t1 = type$.String;
  14893. if (callables == null)
  14894. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  14895. else {
  14896. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  14897. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  14898. callable = callables[_i];
  14899. t1.$indexSet(0, callable.get$name(callable), callable);
  14900. }
  14901. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  14902. }
  14903. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  14904. },
  14905. BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
  14906. var _ = this;
  14907. _.url = t0;
  14908. _.functions = t1;
  14909. _.mixins = t2;
  14910. _.variables = t3;
  14911. _.$ti = t4;
  14912. },
  14913. ForwardedModuleView_ifNecessary(inner, rule, $T) {
  14914. var t2,
  14915. t1 = false;
  14916. if (rule.prefix == null)
  14917. if (rule.shownMixinsAndFunctions == null)
  14918. if (rule.shownVariables == null) {
  14919. t2 = rule.hiddenMixinsAndFunctions;
  14920. t2 = t2 == null ? null : t2._base.get$isEmpty(0);
  14921. if (t2 === true) {
  14922. t1 = rule.hiddenVariables;
  14923. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  14924. t1 = t1 === true;
  14925. }
  14926. }
  14927. if (t1)
  14928. return inner;
  14929. else
  14930. return A.ForwardedModuleView$(inner, rule, $T);
  14931. },
  14932. ForwardedModuleView$(_inner, _rule, $T) {
  14933. var t1 = _rule.prefix,
  14934. t2 = _rule.shownVariables,
  14935. t3 = _rule.hiddenVariables,
  14936. t4 = _rule.shownMixinsAndFunctions,
  14937. t5 = _rule.hiddenMixinsAndFunctions;
  14938. 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>"));
  14939. },
  14940. ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
  14941. var t1 = prefix == null,
  14942. t2 = false;
  14943. if (t1)
  14944. if (safelist == null)
  14945. t2 = blocklist == null || blocklist._base.get$isEmpty(0);
  14946. if (t2)
  14947. return map;
  14948. if (!t1)
  14949. map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
  14950. if (safelist != null)
  14951. 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>"));
  14952. else if (blocklist != null && blocklist._base.get$isNotEmpty(0))
  14953. map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  14954. return map;
  14955. },
  14956. ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
  14957. var _ = this;
  14958. _._forwarded_view$_inner = t0;
  14959. _._rule = t1;
  14960. _.variables = t2;
  14961. _.variableNodes = t3;
  14962. _.functions = t4;
  14963. _.mixins = t5;
  14964. _.$ti = t6;
  14965. },
  14966. ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
  14967. 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;
  14968. },
  14969. ShadowedModuleView__shadowedMap(map, blocklist, $V) {
  14970. var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
  14971. return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  14972. },
  14973. ShadowedModuleView__needsBlocklist(map, blocklist) {
  14974. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  14975. },
  14976. ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
  14977. var _ = this;
  14978. _._shadowed_view$_inner = t0;
  14979. _.variables = t1;
  14980. _.variableNodes = t2;
  14981. _.functions = t3;
  14982. _.mixins = t4;
  14983. _.$ti = t5;
  14984. },
  14985. AtRootQueryParser: function AtRootQueryParser(t0, t1) {
  14986. this.scanner = t0;
  14987. this._interpolationMap = t1;
  14988. },
  14989. AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
  14990. this.$this = t0;
  14991. },
  14992. _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
  14993. },
  14994. CssParser: function CssParser(t0, t1, t2, t3) {
  14995. var _ = this;
  14996. _._isUseAllowed = true;
  14997. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14998. _._globalVariables = t0;
  14999. _.warnings = t1;
  15000. _.lastSilentComment = null;
  15001. _.scanner = t2;
  15002. _._interpolationMap = t3;
  15003. },
  15004. KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1) {
  15005. this.scanner = t0;
  15006. this._interpolationMap = t1;
  15007. },
  15008. KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
  15009. this.$this = t0;
  15010. },
  15011. MediaQueryParser: function MediaQueryParser(t0, t1) {
  15012. this.scanner = t0;
  15013. this._interpolationMap = t1;
  15014. },
  15015. MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
  15016. this.$this = t0;
  15017. },
  15018. Parser_isIdentifier(text) {
  15019. var exception;
  15020. try {
  15021. new A.Parser(A.SpanScanner$(text, null), null)._parseIdentifier$0();
  15022. return true;
  15023. } catch (exception) {
  15024. if (type$.SassFormatException._is(A.unwrapException(exception)))
  15025. return false;
  15026. else
  15027. throw exception;
  15028. }
  15029. },
  15030. Parser: function Parser(t0, t1) {
  15031. this.scanner = t0;
  15032. this._interpolationMap = t1;
  15033. },
  15034. Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
  15035. this.$this = t0;
  15036. },
  15037. Parser_escape_closure: function Parser_escape_closure() {
  15038. },
  15039. Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
  15040. this.caseSensitive = t0;
  15041. this.char = t1;
  15042. },
  15043. Parser_spanFrom_closure: function Parser_spanFrom_closure(t0, t1) {
  15044. this.$this = t0;
  15045. this.span = t1;
  15046. },
  15047. SassParser: function SassParser(t0, t1, t2, t3) {
  15048. var _ = this;
  15049. _._currentIndentation = 0;
  15050. _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
  15051. _._isUseAllowed = true;
  15052. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  15053. _._globalVariables = t0;
  15054. _.warnings = t1;
  15055. _.lastSilentComment = null;
  15056. _.scanner = t2;
  15057. _._interpolationMap = t3;
  15058. },
  15059. SassParser_styleRuleSelector_closure: function SassParser_styleRuleSelector_closure() {
  15060. },
  15061. SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
  15062. this.$this = t0;
  15063. this.child = t1;
  15064. this.children = t2;
  15065. },
  15066. SassParser__peekIndentation_closure: function SassParser__peekIndentation_closure() {
  15067. },
  15068. SassParser__peekIndentation_closure0: function SassParser__peekIndentation_closure0() {
  15069. },
  15070. SassParser__tryTrailingSemicolon_closure: function SassParser__tryTrailingSemicolon_closure() {
  15071. },
  15072. ScssParser$(contents, url) {
  15073. 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);
  15074. },
  15075. ScssParser: function ScssParser(t0, t1, t2, t3) {
  15076. var _ = this;
  15077. _._isUseAllowed = true;
  15078. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  15079. _._globalVariables = t0;
  15080. _.warnings = t1;
  15081. _.lastSilentComment = null;
  15082. _.scanner = t2;
  15083. _._interpolationMap = t3;
  15084. },
  15085. SelectorParser: function SelectorParser(t0, t1, t2, t3) {
  15086. var _ = this;
  15087. _._allowParent = t0;
  15088. _._plainCss = t1;
  15089. _.scanner = t2;
  15090. _._interpolationMap = t3;
  15091. },
  15092. SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
  15093. this.$this = t0;
  15094. },
  15095. SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
  15096. this.$this = t0;
  15097. },
  15098. StylesheetParser: function StylesheetParser() {
  15099. },
  15100. StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
  15101. this.$this = t0;
  15102. },
  15103. StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
  15104. this.$this = t0;
  15105. },
  15106. StylesheetParser_parseParameterList_closure: function StylesheetParser_parseParameterList_closure(t0) {
  15107. this.$this = t0;
  15108. },
  15109. StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
  15110. this.$this = t0;
  15111. },
  15112. StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
  15113. this.$this = t0;
  15114. },
  15115. StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
  15116. this.$this = t0;
  15117. this.production = t1;
  15118. this.T = t2;
  15119. },
  15120. StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
  15121. this.$this = t0;
  15122. },
  15123. StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
  15124. this.$this = t0;
  15125. this.start = t1;
  15126. },
  15127. StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
  15128. this.declaration = t0;
  15129. },
  15130. StylesheetParser__declarationOrBuffer_closure: function StylesheetParser__declarationOrBuffer_closure(t0) {
  15131. this.$this = t0;
  15132. },
  15133. StylesheetParser__declarationOrBuffer_closure0: function StylesheetParser__declarationOrBuffer_closure0(t0) {
  15134. this.$this = t0;
  15135. },
  15136. StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1(t0) {
  15137. this.$this = t0;
  15138. },
  15139. StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
  15140. var _ = this;
  15141. _._box_0 = t0;
  15142. _.$this = t1;
  15143. _.wasInStyleRule = t2;
  15144. _.start = t3;
  15145. },
  15146. StylesheetParser__propertyOrVariableDeclaration_closure: function StylesheetParser__propertyOrVariableDeclaration_closure(t0) {
  15147. this.$this = t0;
  15148. },
  15149. StylesheetParser__tryDeclarationChildren_closure: function StylesheetParser__tryDeclarationChildren_closure(t0, t1) {
  15150. this.name = t0;
  15151. this.value = t1;
  15152. },
  15153. StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
  15154. this.query = t0;
  15155. },
  15156. StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
  15157. },
  15158. StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
  15159. var _ = this;
  15160. _.$this = t0;
  15161. _.wasInControlDirective = t1;
  15162. _.variables = t2;
  15163. _.list = t3;
  15164. },
  15165. StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
  15166. this.name = t0;
  15167. this.parameters = t1;
  15168. this.precedingComment = t2;
  15169. },
  15170. StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
  15171. this._box_0 = t0;
  15172. this.$this = t1;
  15173. },
  15174. StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
  15175. var _ = this;
  15176. _._box_0 = t0;
  15177. _.$this = t1;
  15178. _.wasInControlDirective = t2;
  15179. _.variable = t3;
  15180. _.from = t4;
  15181. _.to = t5;
  15182. },
  15183. StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
  15184. this.$this = t0;
  15185. this.variables = t1;
  15186. this.identifiers = t2;
  15187. },
  15188. StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
  15189. this.contentParameters_ = t0;
  15190. },
  15191. StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
  15192. this.query = t0;
  15193. },
  15194. StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
  15195. var _ = this;
  15196. _.$this = t0;
  15197. _.name = t1;
  15198. _.parameters = t2;
  15199. _.precedingComment = t3;
  15200. },
  15201. StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0) {
  15202. this.$this = t0;
  15203. },
  15204. StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
  15205. var _ = this;
  15206. _._box_0 = t0;
  15207. _.$this = t1;
  15208. _.name = t2;
  15209. _.value = t3;
  15210. },
  15211. StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
  15212. this.condition = t0;
  15213. },
  15214. StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
  15215. this.$this = t0;
  15216. this.wasInControlDirective = t1;
  15217. this.condition = t2;
  15218. },
  15219. StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
  15220. this._box_0 = t0;
  15221. this.name = t1;
  15222. },
  15223. StylesheetParser__expression_resetState: function StylesheetParser__expression_resetState(t0, t1, t2) {
  15224. this._box_0 = t0;
  15225. this.$this = t1;
  15226. this.start = t2;
  15227. },
  15228. StylesheetParser__expression_resolveOneOperation: function StylesheetParser__expression_resolveOneOperation(t0, t1) {
  15229. this._box_0 = t0;
  15230. this.$this = t1;
  15231. },
  15232. StylesheetParser__expression_resolveOperations: function StylesheetParser__expression_resolveOperations(t0, t1) {
  15233. this._box_0 = t0;
  15234. this.resolveOneOperation = t1;
  15235. },
  15236. StylesheetParser__expression_addSingleExpression: function StylesheetParser__expression_addSingleExpression(t0, t1, t2, t3) {
  15237. var _ = this;
  15238. _._box_0 = t0;
  15239. _.$this = t1;
  15240. _.resetState = t2;
  15241. _.resolveOperations = t3;
  15242. },
  15243. StylesheetParser__expression_addOperator: function StylesheetParser__expression_addOperator(t0, t1, t2) {
  15244. this._box_0 = t0;
  15245. this.$this = t1;
  15246. this.resolveOneOperation = t2;
  15247. },
  15248. StylesheetParser__expression_resolveSpaceExpressions: function StylesheetParser__expression_resolveSpaceExpressions(t0, t1, t2) {
  15249. this._box_0 = t0;
  15250. this.$this = t1;
  15251. this.resolveOperations = t2;
  15252. },
  15253. StylesheetParser_expressionUntilComma_closure: function StylesheetParser_expressionUntilComma_closure(t0) {
  15254. this.$this = t0;
  15255. },
  15256. StylesheetParser__isHexColor_closure: function StylesheetParser__isHexColor_closure() {
  15257. },
  15258. StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
  15259. },
  15260. StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
  15261. },
  15262. StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
  15263. this.$this = t0;
  15264. this.start = t1;
  15265. },
  15266. StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
  15267. },
  15268. StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
  15269. this.$this = t0;
  15270. },
  15271. StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
  15272. this.$this = t0;
  15273. this.start = t1;
  15274. },
  15275. StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
  15276. var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream._1, allUpstream._0, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
  15277. t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
  15278. return t1;
  15279. },
  15280. StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
  15281. this._nodes = t0;
  15282. this.importCache = t1;
  15283. this._transitiveModificationTimes = t2;
  15284. },
  15285. StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
  15286. this.$this = t0;
  15287. },
  15288. StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
  15289. this.node = t0;
  15290. this.transitiveModificationTime = t1;
  15291. },
  15292. StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
  15293. var _ = this;
  15294. _.$this = t0;
  15295. _.url = t1;
  15296. _.baseImporter = t2;
  15297. _.baseUrl = t3;
  15298. },
  15299. StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
  15300. var _ = this;
  15301. _.$this = t0;
  15302. _.importer = t1;
  15303. _.canonicalUrl = t2;
  15304. _.originalUrl = t3;
  15305. },
  15306. StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
  15307. this.$this = t0;
  15308. this.node = t1;
  15309. this.canonicalUrl = t2;
  15310. },
  15311. StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
  15312. var _ = this;
  15313. _.$this = t0;
  15314. _.url = t1;
  15315. _.baseImporter = t2;
  15316. _.baseUrl = t3;
  15317. _.forImport = t4;
  15318. },
  15319. StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1) {
  15320. this._box_0 = t0;
  15321. this.$this = t1;
  15322. },
  15323. StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
  15324. var _ = this;
  15325. _._stylesheet = t0;
  15326. _.importer = t1;
  15327. _.canonicalUrl = t2;
  15328. _._upstream = t3;
  15329. _._upstreamImports = t4;
  15330. _._downstream = t5;
  15331. },
  15332. Syntax_forPath(path) {
  15333. var t1,
  15334. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  15335. $label0$0: {
  15336. if (".sass" === _0_0) {
  15337. t1 = B.Syntax_Sass_sass;
  15338. break $label0$0;
  15339. }
  15340. if (".css" === _0_0) {
  15341. t1 = B.Syntax_CSS_css;
  15342. break $label0$0;
  15343. }
  15344. t1 = B.Syntax_SCSS_scss;
  15345. break $label0$0;
  15346. }
  15347. return t1;
  15348. },
  15349. Syntax: function Syntax(t0, t1) {
  15350. this._syntax$_name = t0;
  15351. this._name = t1;
  15352. },
  15353. Box: function Box(t0, t1) {
  15354. this._box$_inner = t0;
  15355. this.$ti = t1;
  15356. },
  15357. ModifiableBox: function ModifiableBox(t0, t1) {
  15358. this.value = t0;
  15359. this.$ti = t1;
  15360. },
  15361. LazyFileSpan: function LazyFileSpan(t0) {
  15362. this._builder = t0;
  15363. this._lazy_file_span$_span = null;
  15364. },
  15365. LimitedMapView$blocklist(_map, blocklist, $K, $V) {
  15366. var t2, key,
  15367. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  15368. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  15369. key = t2.get$current(t2);
  15370. if (!blocklist.contains$1(0, key))
  15371. t1.add$1(0, key);
  15372. }
  15373. return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
  15374. },
  15375. LimitedMapView: function LimitedMapView(t0, t1, t2) {
  15376. this._limited_map_view$_map = t0;
  15377. this._limited_map_view$_keys = t1;
  15378. this.$ti = t2;
  15379. },
  15380. MapExtensions_get_pairs(_this, $K, $V) {
  15381. var t1 = _this.get$entries(_this);
  15382. 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)"));
  15383. },
  15384. MapExtensions_get_pairs_closure: function MapExtensions_get_pairs_closure(t0, t1) {
  15385. this.K = t0;
  15386. this.V = t1;
  15387. },
  15388. MergedMapView$(maps, $K, $V) {
  15389. var t1 = $K._eval$1("@<0>")._bind$1($V);
  15390. t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
  15391. t1.MergedMapView$1(maps, $K, $V);
  15392. return t1;
  15393. },
  15394. MergedMapView: function MergedMapView(t0, t1) {
  15395. this._mapsByKey = t0;
  15396. this.$ti = t1;
  15397. },
  15398. MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
  15399. this._watchers = t0;
  15400. this._group = t1;
  15401. this._poll = t2;
  15402. },
  15403. MultiSpan: function MultiSpan(t0, t1, t2) {
  15404. this._multi_span$_primary = t0;
  15405. this.primaryLabel = t1;
  15406. this.secondarySpans = t2;
  15407. },
  15408. NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
  15409. this._no_source_map_buffer$_buffer = t0;
  15410. },
  15411. PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
  15412. this._prefixed_map_view$_map = t0;
  15413. this._prefix = t1;
  15414. this.$ti = t2;
  15415. },
  15416. _PrefixedKeys: function _PrefixedKeys(t0) {
  15417. this._view = t0;
  15418. },
  15419. _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
  15420. this.$this = t0;
  15421. },
  15422. PublicMemberMapView: function PublicMemberMapView(t0, t1) {
  15423. this._public_member_map_view$_inner = t0;
  15424. this.$ti = t1;
  15425. },
  15426. SourceMapBuffer: function SourceMapBuffer(t0, t1) {
  15427. var _ = this;
  15428. _._source_map_buffer$_buffer = t0;
  15429. _._entries = t1;
  15430. _._column = _._line = 0;
  15431. _._inSpan = false;
  15432. },
  15433. SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
  15434. this._box_0 = t0;
  15435. this.prefixLength = t1;
  15436. },
  15437. UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
  15438. this._unprefixed_map_view$_map = t0;
  15439. this._unprefixed_map_view$_prefix = t1;
  15440. this.$ti = t2;
  15441. },
  15442. _UnprefixedKeys: function _UnprefixedKeys(t0) {
  15443. this._unprefixed_map_view$_view = t0;
  15444. },
  15445. _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
  15446. this.$this = t0;
  15447. },
  15448. _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
  15449. this.$this = t0;
  15450. },
  15451. toSentence(iter, conjunction) {
  15452. if (iter.get$length(iter) === 1)
  15453. return J.toString$0$(iter.get$first(iter));
  15454. return A.IterableExtension_get_exceptLast(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  15455. },
  15456. indent(string, indentation) {
  15457. 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");
  15458. },
  15459. pluralize($name, number, plural) {
  15460. if (number === 1)
  15461. return $name;
  15462. if (plural != null)
  15463. return plural;
  15464. return $name + "s";
  15465. },
  15466. trimAscii(string, excludeEscape) {
  15467. var t1,
  15468. start = A._firstNonWhitespace(string);
  15469. if (start == null)
  15470. t1 = "";
  15471. else {
  15472. t1 = A._lastNonWhitespace(string, true);
  15473. t1.toString;
  15474. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  15475. }
  15476. return t1;
  15477. },
  15478. trimAsciiRight(string, excludeEscape) {
  15479. var end = A._lastNonWhitespace(string, excludeEscape);
  15480. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  15481. },
  15482. _firstNonWhitespace(string) {
  15483. var t1, i, t2;
  15484. for (t1 = string.length, i = 0; i < t1; ++i) {
  15485. t2 = string.charCodeAt(i);
  15486. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  15487. return i;
  15488. }
  15489. return null;
  15490. },
  15491. _lastNonWhitespace(string, excludeEscape) {
  15492. var i, i0, codeUnit;
  15493. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  15494. codeUnit = string.charCodeAt(i0);
  15495. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  15496. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  15497. return i0 + 1;
  15498. else
  15499. return i0;
  15500. }
  15501. return null;
  15502. },
  15503. isPublic(member) {
  15504. var start = member.charCodeAt(0);
  15505. return start !== 45 && start !== 95;
  15506. },
  15507. flattenVertically(iterable, $T) {
  15508. var result, flags,
  15509. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  15510. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), true, t1._eval$1("ListIterable.E"));
  15511. if (queues.length === 1)
  15512. return B.JSArray_methods.get$first(queues);
  15513. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  15514. for (flags = queues.$flags | 0; queues.length !== 0;) {
  15515. flags & 1 && A.throwUnsupportedOperation(queues, 16);
  15516. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
  15517. }
  15518. return result;
  15519. },
  15520. codepointIndexToCodeUnitIndex(string, codepointIndex) {
  15521. var codeUnitIndex, i, codeUnitIndex0;
  15522. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  15523. codeUnitIndex0 = codeUnitIndex + 1;
  15524. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  15525. }
  15526. return codeUnitIndex;
  15527. },
  15528. codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
  15529. var codepointIndex, i;
  15530. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  15531. ++codepointIndex;
  15532. return codepointIndex;
  15533. },
  15534. frameForSpan(span, member, url) {
  15535. var t2, t3,
  15536. t1 = url == null ? span.get$sourceUrl(span) : url;
  15537. if (t1 == null)
  15538. t1 = $.$get$_noSourceUrl();
  15539. t2 = span.get$start(span);
  15540. t2 = t2.file.getLine$1(t2.offset);
  15541. t3 = span.get$start(span);
  15542. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  15543. },
  15544. declarationName(span) {
  15545. var text = span.get$text();
  15546. return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  15547. },
  15548. unvendor($name) {
  15549. var i,
  15550. t1 = $name.length;
  15551. if (t1 < 2)
  15552. return $name;
  15553. if ($name.charCodeAt(0) !== 45)
  15554. return $name;
  15555. if ($name.charCodeAt(1) === 45)
  15556. return $name;
  15557. for (i = 2; i < t1; ++i)
  15558. if ($name.charCodeAt(i) === 45)
  15559. return B.JSString_methods.substring$1($name, i + 1);
  15560. return $name;
  15561. },
  15562. equalsIgnoreCase(string1, string2) {
  15563. var t1, i;
  15564. if (string1 === string2)
  15565. return true;
  15566. if (string1 == null)
  15567. return false;
  15568. t1 = string1.length;
  15569. if (t1 !== string2.length)
  15570. return false;
  15571. for (i = 0; i < t1; ++i)
  15572. if (!A.characterEqualsIgnoreCase(string1.charCodeAt(i), string2.charCodeAt(i)))
  15573. return false;
  15574. return true;
  15575. },
  15576. startsWithIgnoreCase(string, prefix) {
  15577. var i,
  15578. t1 = prefix.length;
  15579. if (string.length < t1)
  15580. return false;
  15581. for (i = 0; i < t1; ++i)
  15582. if (!A.characterEqualsIgnoreCase(string.charCodeAt(i), prefix.charCodeAt(i)))
  15583. return false;
  15584. return true;
  15585. },
  15586. mapInPlace(list, $function) {
  15587. var i;
  15588. for (i = 0; i < list.length; ++i)
  15589. list[i] = $function.call$1(list[i]);
  15590. },
  15591. longestCommonSubsequence(list1, list2, select, $T) {
  15592. var t1, _i, selections, i, i0, j, selection, j0,
  15593. _length = list1.get$length(0) + 1,
  15594. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  15595. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  15596. 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);
  15597. _length = list1.get$length(0);
  15598. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  15599. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  15600. 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);
  15601. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  15602. 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) {
  15603. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  15604. selections[i][j] = selection;
  15605. t1 = lengths[i0];
  15606. j0 = j + 1;
  15607. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  15608. }
  15609. return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  15610. },
  15611. removeFirstWhere(list, test, orElse) {
  15612. var i;
  15613. for (i = 0; i < list.length; ++i) {
  15614. if (!test.call$1(list[i]))
  15615. continue;
  15616. B.JSArray_methods.removeAt$1(list, i);
  15617. return;
  15618. }
  15619. orElse.call$0();
  15620. },
  15621. mapAddAll2(destination, source, K1, K2, $V) {
  15622. source.forEach$1(0, new A.mapAddAll2_closure(destination, K1, K2, $V));
  15623. },
  15624. setAll(map, keys, value) {
  15625. var t1;
  15626. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  15627. map.$indexSet(0, t1.get$current(t1), value);
  15628. },
  15629. rotateSlice(list, start, end) {
  15630. var i, next,
  15631. element = list.$index(0, end - 1);
  15632. for (i = start; i < end; ++i, element = next) {
  15633. next = list.$index(0, i);
  15634. list.$indexSet(0, i, element);
  15635. }
  15636. },
  15637. mapAsync(iterable, callback, $E, $F) {
  15638. return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  15639. },
  15640. mapAsync$body(iterable, callback, $E, $F, $async$type) {
  15641. var $async$goto = 0,
  15642. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  15643. $async$returnValue, t2, _i, t1, $async$temp1;
  15644. var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15645. if ($async$errorCode === 1)
  15646. return A._asyncRethrow($async$result, $async$completer);
  15647. while (true)
  15648. switch ($async$goto) {
  15649. case 0:
  15650. // Function start
  15651. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  15652. t2 = iterable.length, _i = 0;
  15653. case 3:
  15654. // for condition
  15655. if (!(_i < t2)) {
  15656. // goto after for
  15657. $async$goto = 5;
  15658. break;
  15659. }
  15660. $async$temp1 = t1;
  15661. $async$goto = 6;
  15662. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
  15663. case 6:
  15664. // returning from await.
  15665. $async$temp1.push($async$result);
  15666. case 4:
  15667. // for update
  15668. ++_i;
  15669. // goto for condition
  15670. $async$goto = 3;
  15671. break;
  15672. case 5:
  15673. // after for
  15674. $async$returnValue = t1;
  15675. // goto return
  15676. $async$goto = 1;
  15677. break;
  15678. case 1:
  15679. // return
  15680. return A._asyncReturn($async$returnValue, $async$completer);
  15681. }
  15682. });
  15683. return A._asyncStartSync($async$mapAsync, $async$completer);
  15684. },
  15685. putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
  15686. return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
  15687. },
  15688. putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
  15689. var $async$goto = 0,
  15690. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  15691. $async$returnValue, t1, value;
  15692. var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15693. if ($async$errorCode === 1)
  15694. return A._asyncRethrow($async$result, $async$completer);
  15695. while (true)
  15696. switch ($async$goto) {
  15697. case 0:
  15698. // Function start
  15699. if (map.containsKey$1(key)) {
  15700. t1 = map.$index(0, key);
  15701. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  15702. // goto return
  15703. $async$goto = 1;
  15704. break;
  15705. }
  15706. $async$goto = 3;
  15707. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
  15708. case 3:
  15709. // returning from await.
  15710. value = $async$result;
  15711. map.$indexSet(0, key, value);
  15712. $async$returnValue = value;
  15713. // goto return
  15714. $async$goto = 1;
  15715. break;
  15716. case 1:
  15717. // return
  15718. return A._asyncReturn($async$returnValue, $async$completer);
  15719. }
  15720. });
  15721. return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
  15722. },
  15723. copyMapOfMap(map, K1, K2, $V) {
  15724. var t3, key, child,
  15725. t1 = K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  15726. t2 = A.LinkedHashMap_LinkedHashMap$_empty(K1, t1);
  15727. for (t1 = A.MapExtensions_get_pairs(map, K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  15728. t3 = t1.get$current(t1);
  15729. key = t3._0;
  15730. child = t3._1;
  15731. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  15732. t3.addAll$1(0, child);
  15733. t2.$indexSet(0, key, t3);
  15734. }
  15735. return t2;
  15736. },
  15737. copyMapOfList(map, $K, $E) {
  15738. var t3,
  15739. t1 = $E._eval$1("List<0>"),
  15740. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  15741. for (t1 = A.MapExtensions_get_pairs(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  15742. t3 = t1.get$current(t1);
  15743. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  15744. }
  15745. return t2;
  15746. },
  15747. consumeEscapedCharacter(scanner) {
  15748. var _1_0, value, i, next, t1;
  15749. scanner.expectChar$1(92);
  15750. _1_0 = scanner.peekChar$0();
  15751. if (_1_0 == null)
  15752. return 65533;
  15753. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  15754. scanner.error$1(0, "Expected escape sequence.");
  15755. if (A.CharacterExtension_get_isHex(_1_0)) {
  15756. for (value = 0, i = 0; i < 6; ++i) {
  15757. next = scanner.peekChar$0();
  15758. if (next != null) {
  15759. t1 = true;
  15760. if (!(next >= 48 && next <= 57))
  15761. if (!(next >= 97 && next <= 102))
  15762. t1 = next >= 65 && next <= 70;
  15763. t1 = !t1;
  15764. } else
  15765. t1 = true;
  15766. if (t1)
  15767. break;
  15768. value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
  15769. }
  15770. t1 = scanner.peekChar$0();
  15771. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  15772. scanner.readChar$0();
  15773. $label0$1: {
  15774. if (0 !== value)
  15775. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  15776. else
  15777. t1 = true;
  15778. if (t1) {
  15779. t1 = 65533;
  15780. break $label0$1;
  15781. }
  15782. t1 = value;
  15783. break $label0$1;
  15784. }
  15785. return t1;
  15786. }
  15787. return scanner.readChar$0();
  15788. },
  15789. throwWithTrace(error, originalError, trace) {
  15790. var t1 = A.getTrace(originalError);
  15791. A.attachTrace(error, t1 == null ? trace : t1);
  15792. throw A.wrapException(error);
  15793. },
  15794. attachTrace(error, trace) {
  15795. var t1;
  15796. if (trace.toString$0(0).length === 0)
  15797. return;
  15798. t1 = $.$get$_traces();
  15799. A.Expando__checkType(error);
  15800. if (t1._jsWeakMap.get(error) == null)
  15801. t1.$indexSet(0, error, trace);
  15802. },
  15803. getTrace(error) {
  15804. var t1;
  15805. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  15806. t1 = null;
  15807. else {
  15808. t1 = $.$get$_traces();
  15809. A.Expando__checkType(error);
  15810. t1 = t1._jsWeakMap.get(error);
  15811. }
  15812. return t1;
  15813. },
  15814. indent_closure: function indent_closure(t0) {
  15815. this.indentation = t0;
  15816. },
  15817. flattenVertically_closure: function flattenVertically_closure(t0) {
  15818. this.T = t0;
  15819. },
  15820. flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
  15821. this.result = t0;
  15822. this.T = t1;
  15823. },
  15824. longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
  15825. this.selections = t0;
  15826. this.lengths = t1;
  15827. this.T = t2;
  15828. },
  15829. mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
  15830. var _ = this;
  15831. _.destination = t0;
  15832. _.K1 = t1;
  15833. _.K2 = t2;
  15834. _.V = t3;
  15835. },
  15836. SassApiValue_assertSelector(_this, allowParent, $name) {
  15837. var error, stackTrace, t1, exception,
  15838. string = _this._selectorString$1($name);
  15839. try {
  15840. t1 = A.SelectorList_SelectorList$parse(string, allowParent, null, false);
  15841. return t1;
  15842. } catch (exception) {
  15843. t1 = A.unwrapException(exception);
  15844. if (type$.SassFormatException._is(t1)) {
  15845. error = t1;
  15846. stackTrace = A.getTraceFromException(exception);
  15847. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  15848. A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  15849. } else
  15850. throw exception;
  15851. }
  15852. },
  15853. SassApiValue_assertCompoundSelector(_this, $name) {
  15854. var error, stackTrace, t1, exception,
  15855. allowParent = false,
  15856. string = _this._selectorString$1($name);
  15857. try {
  15858. t1 = new A.SelectorParser(allowParent, false, A.SpanScanner$(string, null), null).parseCompoundSelector$0();
  15859. return t1;
  15860. } catch (exception) {
  15861. t1 = A.unwrapException(exception);
  15862. if (type$.SassFormatException._is(t1)) {
  15863. error = t1;
  15864. stackTrace = A.getTraceFromException(exception);
  15865. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  15866. A.throwWithTrace(new A.SassScriptException("$" + $name + ": " + t1), error, stackTrace);
  15867. } else
  15868. throw exception;
  15869. }
  15870. },
  15871. Value: function Value() {
  15872. },
  15873. SassArgumentList$(contents, keywords, separator) {
  15874. var t1 = type$.Value;
  15875. t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  15876. t1.SassList$3$brackets(contents, separator, false);
  15877. return t1;
  15878. },
  15879. SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
  15880. var _ = this;
  15881. _._keywords = t0;
  15882. _._wereKeywordsAccessed = false;
  15883. _._list$_contents = t1;
  15884. _._separator = t2;
  15885. _._hasBrackets = t3;
  15886. },
  15887. SassBoolean: function SassBoolean(t0) {
  15888. this.value = t0;
  15889. },
  15890. SassCalculation_calc(argument) {
  15891. var t1,
  15892. _0_0 = A.SassCalculation__simplify(argument);
  15893. $label0$0: {
  15894. if (_0_0 instanceof A.SassNumber) {
  15895. t1 = _0_0;
  15896. break $label0$0;
  15897. }
  15898. if (_0_0 instanceof A.SassCalculation) {
  15899. t1 = _0_0;
  15900. break $label0$0;
  15901. }
  15902. t1 = new A.SassCalculation("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  15903. break $label0$0;
  15904. }
  15905. return t1;
  15906. },
  15907. SassCalculation_min($arguments) {
  15908. var minimum, _i, arg, t2,
  15909. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15910. t1 = args.length;
  15911. if (t1 === 0)
  15912. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  15913. for (minimum = null, _i = 0; _i < t1; ++_i) {
  15914. arg = args[_i];
  15915. if (arg instanceof A.SassNumber)
  15916. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  15917. else
  15918. t2 = true;
  15919. if (t2) {
  15920. minimum = null;
  15921. break;
  15922. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  15923. minimum = arg;
  15924. }
  15925. if (minimum != null)
  15926. return minimum;
  15927. A.SassCalculation__verifyCompatibleNumbers(args);
  15928. return new A.SassCalculation("min", args);
  15929. },
  15930. SassCalculation_max($arguments) {
  15931. var maximum, _i, arg, t2,
  15932. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15933. t1 = args.length;
  15934. if (t1 === 0)
  15935. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  15936. for (maximum = null, _i = 0; _i < t1; ++_i) {
  15937. arg = args[_i];
  15938. if (arg instanceof A.SassNumber)
  15939. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  15940. else
  15941. t2 = true;
  15942. if (t2) {
  15943. maximum = null;
  15944. break;
  15945. } else if (maximum == null || maximum.lessThan$1(arg).value)
  15946. maximum = arg;
  15947. }
  15948. if (maximum != null)
  15949. return maximum;
  15950. A.SassCalculation__verifyCompatibleNumbers(args);
  15951. return new A.SassCalculation("max", args);
  15952. },
  15953. SassCalculation_hypot($arguments) {
  15954. var first, subtotal, i, number, value, t2, t3,
  15955. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15956. t1 = args.length;
  15957. if (t1 === 0)
  15958. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  15959. A.SassCalculation__verifyCompatibleNumbers(args);
  15960. first = B.JSArray_methods.get$first(args);
  15961. if (!(first instanceof A.SassNumber) || first.hasUnit$1("%"))
  15962. return new A.SassCalculation("hypot", args);
  15963. for (subtotal = 0, i = 0; i < t1;) {
  15964. number = args[i];
  15965. if (!(number instanceof A.SassNumber) || !number.hasCompatibleUnits$1(first))
  15966. return new A.SassCalculation("hypot", args);
  15967. ++i;
  15968. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  15969. subtotal += value * value;
  15970. }
  15971. t1 = Math.sqrt(subtotal);
  15972. t2 = J.getInterceptor$x(first);
  15973. t3 = t2.get$numeratorUnits(first);
  15974. return A.SassNumber_SassNumber$withUnits(t1, t2.get$denominatorUnits(first), t3);
  15975. },
  15976. SassCalculation_abs(argument) {
  15977. argument = A.SassCalculation__simplify(argument);
  15978. if (!(argument instanceof A.SassNumber))
  15979. return new A.SassCalculation("abs", A._setArrayType([argument], type$.JSArray_Object));
  15980. if (argument.hasUnit$1("%"))
  15981. 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);
  15982. return A.SassNumber_SassNumber(Math.abs(argument._number$_value), null).coerceToMatch$1(argument);
  15983. },
  15984. SassCalculation_exp(argument) {
  15985. argument = A.SassCalculation__simplify(argument);
  15986. if (!(argument instanceof A.SassNumber))
  15987. return new A.SassCalculation("exp", A._setArrayType([argument], type$.JSArray_Object));
  15988. argument.assertNoUnits$0();
  15989. return A.pow0(A.SassNumber_SassNumber(2.718281828459045, null), argument);
  15990. },
  15991. SassCalculation_sign(argument) {
  15992. var t1, _0_2, t2, arg;
  15993. argument = A.SassCalculation__simplify(argument);
  15994. $label0$0: {
  15995. t1 = argument instanceof A.SassNumber;
  15996. if (t1) {
  15997. _0_2 = argument._number$_value;
  15998. if (!isNaN(_0_2))
  15999. t2 = 0 === _0_2;
  16000. else
  16001. t2 = true;
  16002. } else
  16003. t2 = false;
  16004. if (t2) {
  16005. t1 = argument;
  16006. break $label0$0;
  16007. }
  16008. if (t1) {
  16009. t1 = !argument.hasUnit$1("%");
  16010. arg = argument;
  16011. } else {
  16012. arg = null;
  16013. t1 = false;
  16014. }
  16015. if (t1) {
  16016. t1 = A.SassNumber_SassNumber(J.get$sign$in(arg._number$_value), null).coerceToMatch$1(argument);
  16017. break $label0$0;
  16018. }
  16019. t1 = new A.SassCalculation("sign", A._setArrayType([argument], type$.JSArray_Object));
  16020. break $label0$0;
  16021. }
  16022. return t1;
  16023. },
  16024. SassCalculation_clamp(min, value, max) {
  16025. var t1, args;
  16026. if (value == null && max != null)
  16027. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  16028. min = A.SassCalculation__simplify(min);
  16029. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  16030. max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
  16031. if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  16032. if (value.lessThanOrEquals$1(min).value)
  16033. return min;
  16034. if (value.greaterThanOrEquals$1(max).value)
  16035. return max;
  16036. return value;
  16037. }
  16038. t1 = [min];
  16039. if (value != null)
  16040. t1.push(value);
  16041. if (max != null)
  16042. t1.push(max);
  16043. args = A.List_List$unmodifiable(t1, type$.Object);
  16044. A.SassCalculation__verifyCompatibleNumbers(args);
  16045. A.SassCalculation__verifyLength(args, 3);
  16046. return new A.SassCalculation("clamp", args);
  16047. },
  16048. SassCalculation_pow(base, exponent) {
  16049. var t1 = A._setArrayType([base], type$.JSArray_Object);
  16050. if (exponent != null)
  16051. t1.push(exponent);
  16052. A.SassCalculation__verifyLength(t1, 2);
  16053. base = A.SassCalculation__simplify(base);
  16054. exponent = A.NullableExtension_andThen(exponent, A.calculation_SassCalculation__simplify$closure());
  16055. if (!(base instanceof A.SassNumber) || !(exponent instanceof A.SassNumber))
  16056. return new A.SassCalculation("pow", t1);
  16057. base.assertNoUnits$0();
  16058. exponent.assertNoUnits$0();
  16059. return A.pow0(base, exponent);
  16060. },
  16061. SassCalculation_log(number, base) {
  16062. var t1, t2;
  16063. number = A.SassCalculation__simplify(number);
  16064. base = A.NullableExtension_andThen(base, A.calculation_SassCalculation__simplify$closure());
  16065. t1 = A._setArrayType([number], type$.JSArray_Object);
  16066. t2 = base != null;
  16067. if (t2)
  16068. t1.push(base);
  16069. if (number instanceof A.SassNumber)
  16070. t2 = t2 && !(base instanceof A.SassNumber);
  16071. else
  16072. t2 = true;
  16073. if (t2)
  16074. return new A.SassCalculation("log", t1);
  16075. number.assertNoUnits$0();
  16076. if (base instanceof A.SassNumber) {
  16077. base.assertNoUnits$0();
  16078. return A.log(number, base);
  16079. }
  16080. return A.log(number, null);
  16081. },
  16082. SassCalculation_atan2(y, x) {
  16083. var t1;
  16084. y = A.SassCalculation__simplify(y);
  16085. x = A.NullableExtension_andThen(x, A.calculation_SassCalculation__simplify$closure());
  16086. t1 = A._setArrayType([y], type$.JSArray_Object);
  16087. if (x != null)
  16088. t1.push(x);
  16089. A.SassCalculation__verifyLength(t1, 2);
  16090. A.SassCalculation__verifyCompatibleNumbers(t1);
  16091. if (!(y instanceof A.SassNumber) || !(x instanceof A.SassNumber) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  16092. return new A.SassCalculation("atan2", t1);
  16093. 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));
  16094. },
  16095. SassCalculation_rem(dividend, modulus) {
  16096. var t1, result;
  16097. dividend = A.SassCalculation__simplify(dividend);
  16098. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  16099. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  16100. if (modulus != null)
  16101. t1.push(modulus);
  16102. A.SassCalculation__verifyLength(t1, 2);
  16103. A.SassCalculation__verifyCompatibleNumbers(t1);
  16104. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  16105. return new A.SassCalculation("rem", t1);
  16106. result = dividend.modulo$1(modulus);
  16107. t1 = modulus._number$_value;
  16108. if (A.DoubleWithSignedZero_get_signIncludingZero(t1) !== A.DoubleWithSignedZero_get_signIncludingZero(dividend._number$_value)) {
  16109. if (t1 == 1 / 0 || t1 == -1 / 0)
  16110. return dividend;
  16111. if (result._number$_value === 0)
  16112. return result.unaryMinus$0();
  16113. return result.minus$1(modulus);
  16114. }
  16115. return result;
  16116. },
  16117. SassCalculation_mod(dividend, modulus) {
  16118. var t1;
  16119. dividend = A.SassCalculation__simplify(dividend);
  16120. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  16121. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  16122. if (modulus != null)
  16123. t1.push(modulus);
  16124. A.SassCalculation__verifyLength(t1, 2);
  16125. A.SassCalculation__verifyCompatibleNumbers(t1);
  16126. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  16127. return new A.SassCalculation("mod", t1);
  16128. return dividend.modulo$1(modulus);
  16129. },
  16130. SassCalculation_roundInternal(strategyOrNumber, numberOrStep, step, inLegacySassFunction, span, warn) {
  16131. var _0_8_isSet, _0_6_isSet, t2, _0_6_isSet0, _0_14_isSet, _0_14, _0_12, _0_16, _0_18, _0_18_isSet, _0_20, _0_20_isSet, strategy, _0_9_isSet0, _0_16_isSet, t3, t4, _0_12_isSet, _0_12_isSet0, rest, _null = null, _s5_ = "round",
  16132. _0_1 = A.SassCalculation__simplify(strategyOrNumber),
  16133. _0_6 = A.NullableExtension_andThen(numberOrStep, A.calculation_SassCalculation__simplify$closure()),
  16134. _0_9 = A.NullableExtension_andThen(step, A.calculation_SassCalculation__simplify$closure()),
  16135. _0_10 = _0_1,
  16136. _0_8 = _null,
  16137. _0_60 = _null,
  16138. _0_100 = _null,
  16139. _0_10_isSet = false,
  16140. _0_90 = _null,
  16141. _0_9_isSet = false,
  16142. number = _null,
  16143. t1 = false;
  16144. if (_0_1 instanceof A.SassNumber) {
  16145. type$.SassNumber._as(_0_10);
  16146. _0_8_isSet = !_0_10.get$hasUnits();
  16147. if (_0_8_isSet) {
  16148. _0_8 = _0_6 == null;
  16149. _0_9_isSet = _0_8;
  16150. _0_60 = _0_6;
  16151. if (_0_9_isSet) {
  16152. _0_100 = _0_9 == null;
  16153. t1 = _0_100;
  16154. _0_90 = _0_9;
  16155. }
  16156. _0_10_isSet = _0_9_isSet;
  16157. number = _0_10;
  16158. }
  16159. _0_6_isSet = _0_8_isSet;
  16160. _0_1 = _0_10;
  16161. _0_10 = _0_100;
  16162. } else {
  16163. _0_1 = _0_10;
  16164. _0_10 = _0_100;
  16165. _0_8_isSet = false;
  16166. _0_6_isSet = false;
  16167. }
  16168. if (t1)
  16169. return A.SassNumber_SassNumber(B.JSNumber_methods.round$0(number._number$_value), _null);
  16170. t1 = false;
  16171. if (_0_1 instanceof A.SassNumber) {
  16172. if (_0_8_isSet)
  16173. t2 = _0_8;
  16174. else {
  16175. if (_0_6_isSet)
  16176. t2 = _0_60;
  16177. else {
  16178. t2 = _0_6;
  16179. _0_60 = t2;
  16180. _0_6_isSet = true;
  16181. }
  16182. _0_8 = t2 == null;
  16183. t2 = _0_8;
  16184. _0_8_isSet = true;
  16185. }
  16186. if (t2) {
  16187. if (_0_10_isSet)
  16188. t1 = _0_10;
  16189. else {
  16190. if (_0_9_isSet)
  16191. t1 = _0_90;
  16192. else {
  16193. t1 = _0_9;
  16194. _0_90 = t1;
  16195. _0_9_isSet = true;
  16196. }
  16197. _0_10 = t1 == null;
  16198. t1 = _0_10;
  16199. _0_10_isSet = true;
  16200. }
  16201. t1 = t1 && inLegacySassFunction != null;
  16202. }
  16203. number = _0_1;
  16204. } else
  16205. number = _null;
  16206. if (t1) {
  16207. warn.call$2(string$.In_fut, B.Deprecation_1AX);
  16208. t1 = B.JSNumber_methods.round$0(number._number$_value);
  16209. t2 = number.get$numeratorUnits(number);
  16210. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  16211. }
  16212. step = _null;
  16213. t1 = false;
  16214. if (_0_1 instanceof A.SassNumber) {
  16215. _0_6_isSet0 = true;
  16216. if (_0_6_isSet)
  16217. t2 = _0_60;
  16218. else {
  16219. t2 = _0_6;
  16220. _0_6_isSet = _0_6_isSet0;
  16221. _0_60 = t2;
  16222. }
  16223. if (t2 instanceof A.SassNumber) {
  16224. if (_0_6_isSet)
  16225. t2 = _0_60;
  16226. else {
  16227. t2 = _0_6;
  16228. _0_6_isSet = _0_6_isSet0;
  16229. _0_60 = t2;
  16230. }
  16231. type$.SassNumber._as(t2);
  16232. if (_0_10_isSet)
  16233. t1 = _0_10;
  16234. else {
  16235. if (_0_9_isSet)
  16236. t1 = _0_90;
  16237. else {
  16238. t1 = _0_9;
  16239. _0_90 = t1;
  16240. _0_9_isSet = true;
  16241. }
  16242. _0_10 = t1 == null;
  16243. t1 = _0_10;
  16244. _0_10_isSet = true;
  16245. }
  16246. t1 = t1 && !_0_1.hasCompatibleUnits$1(t2);
  16247. step = t2;
  16248. }
  16249. number = _0_1;
  16250. } else
  16251. number = _null;
  16252. if (t1) {
  16253. t1 = type$.JSArray_Object;
  16254. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  16255. return new A.SassCalculation(_s5_, A._setArrayType([number, step], t1));
  16256. }
  16257. step = _null;
  16258. t1 = false;
  16259. if (_0_1 instanceof A.SassNumber) {
  16260. _0_6_isSet0 = true;
  16261. if (_0_6_isSet)
  16262. t2 = _0_60;
  16263. else {
  16264. t2 = _0_6;
  16265. _0_6_isSet = _0_6_isSet0;
  16266. _0_60 = t2;
  16267. }
  16268. if (t2 instanceof A.SassNumber) {
  16269. if (_0_6_isSet)
  16270. t2 = _0_60;
  16271. else {
  16272. t2 = _0_6;
  16273. _0_6_isSet = _0_6_isSet0;
  16274. _0_60 = t2;
  16275. }
  16276. type$.SassNumber._as(t2);
  16277. if (_0_10_isSet)
  16278. t1 = _0_10;
  16279. else {
  16280. if (_0_9_isSet)
  16281. t1 = _0_90;
  16282. else {
  16283. t1 = _0_9;
  16284. _0_90 = t1;
  16285. _0_9_isSet = true;
  16286. }
  16287. _0_10 = t1 == null;
  16288. t1 = _0_10;
  16289. _0_10_isSet = true;
  16290. }
  16291. step = t2;
  16292. }
  16293. number = _0_1;
  16294. } else
  16295. number = _null;
  16296. if (t1) {
  16297. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  16298. return A.SassCalculation__roundWithStep("nearest", number, step);
  16299. }
  16300. _0_14_isSet = _0_1 instanceof A.SassString;
  16301. _0_14 = _null;
  16302. _0_12 = _null;
  16303. _0_16 = _null;
  16304. _0_18 = _null;
  16305. _0_18_isSet = false;
  16306. _0_20 = _null;
  16307. _0_20_isSet = false;
  16308. strategy = _null;
  16309. number = _null;
  16310. step = _null;
  16311. t1 = false;
  16312. if (_0_14_isSet) {
  16313. _0_6_isSet0 = true;
  16314. _0_9_isSet0 = true;
  16315. _0_12 = _0_1._string$_text;
  16316. t2 = _0_12;
  16317. _0_14 = "nearest" === t2;
  16318. t2 = _0_14;
  16319. _0_16_isSet = !t2;
  16320. t2 = true;
  16321. if (_0_16_isSet) {
  16322. _0_16 = "up" === _0_12;
  16323. t3 = _0_16;
  16324. _0_18_isSet = !t3;
  16325. if (_0_18_isSet) {
  16326. _0_18 = "down" === _0_12;
  16327. t3 = _0_18;
  16328. _0_20_isSet = !t3;
  16329. if (_0_20_isSet) {
  16330. _0_20 = "to-zero" === _0_12;
  16331. t2 = _0_20;
  16332. }
  16333. }
  16334. }
  16335. if (t2) {
  16336. if (_0_6_isSet)
  16337. t2 = _0_60;
  16338. else {
  16339. t2 = _0_6;
  16340. _0_6_isSet = _0_6_isSet0;
  16341. _0_60 = t2;
  16342. }
  16343. if (t2 instanceof A.SassNumber) {
  16344. if (_0_6_isSet)
  16345. t2 = _0_60;
  16346. else {
  16347. t2 = _0_6;
  16348. _0_6_isSet = _0_6_isSet0;
  16349. _0_60 = t2;
  16350. }
  16351. t3 = type$.SassNumber;
  16352. t3._as(t2);
  16353. if (_0_9_isSet)
  16354. t4 = _0_90;
  16355. else {
  16356. t4 = _0_9;
  16357. _0_9_isSet = _0_9_isSet0;
  16358. _0_90 = t4;
  16359. }
  16360. if (t4 instanceof A.SassNumber) {
  16361. if (_0_9_isSet)
  16362. t1 = _0_90;
  16363. else {
  16364. t1 = _0_9;
  16365. _0_9_isSet = _0_9_isSet0;
  16366. _0_90 = t1;
  16367. }
  16368. t3._as(t1);
  16369. t3 = !t2.hasCompatibleUnits$1(t1);
  16370. step = t1;
  16371. t1 = t3;
  16372. }
  16373. number = t2;
  16374. }
  16375. strategy = _0_1;
  16376. }
  16377. } else
  16378. _0_16_isSet = false;
  16379. if (t1) {
  16380. t1 = type$.JSArray_Object;
  16381. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  16382. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], t1));
  16383. }
  16384. strategy = _null;
  16385. number = _null;
  16386. step = _null;
  16387. t1 = false;
  16388. if (_0_1 instanceof A.SassString) {
  16389. _0_6_isSet0 = true;
  16390. _0_9_isSet0 = true;
  16391. _0_12_isSet = true;
  16392. if (_0_14_isSet) {
  16393. t2 = _0_14;
  16394. _0_12_isSet0 = _0_14_isSet;
  16395. } else {
  16396. _0_12 = _0_1._string$_text;
  16397. t2 = _0_12;
  16398. _0_14 = "nearest" === t2;
  16399. t2 = _0_14;
  16400. _0_12_isSet0 = _0_12_isSet;
  16401. _0_14_isSet = true;
  16402. }
  16403. t3 = true;
  16404. if (!t2) {
  16405. if (_0_16_isSet)
  16406. t2 = _0_16;
  16407. else {
  16408. if (_0_12_isSet0)
  16409. t2 = _0_12;
  16410. else {
  16411. _0_12 = _0_1._string$_text;
  16412. t2 = _0_12;
  16413. _0_12_isSet0 = _0_12_isSet;
  16414. }
  16415. _0_16 = "up" === t2;
  16416. t2 = _0_16;
  16417. _0_16_isSet = true;
  16418. }
  16419. if (!t2) {
  16420. if (_0_18_isSet)
  16421. t2 = _0_18;
  16422. else {
  16423. if (_0_12_isSet0)
  16424. t2 = _0_12;
  16425. else {
  16426. _0_12 = _0_1._string$_text;
  16427. t2 = _0_12;
  16428. _0_12_isSet0 = _0_12_isSet;
  16429. }
  16430. _0_18 = "down" === t2;
  16431. t2 = _0_18;
  16432. _0_18_isSet = true;
  16433. }
  16434. if (!t2)
  16435. if (_0_20_isSet) {
  16436. t2 = _0_20;
  16437. _0_12_isSet = _0_12_isSet0;
  16438. } else {
  16439. if (_0_12_isSet0) {
  16440. t2 = _0_12;
  16441. _0_12_isSet = _0_12_isSet0;
  16442. } else {
  16443. _0_12 = _0_1._string$_text;
  16444. t2 = _0_12;
  16445. }
  16446. _0_20 = "to-zero" === t2;
  16447. t2 = _0_20;
  16448. _0_20_isSet = true;
  16449. }
  16450. else {
  16451. t2 = t3;
  16452. _0_12_isSet = _0_12_isSet0;
  16453. }
  16454. } else {
  16455. t2 = t3;
  16456. _0_12_isSet = _0_12_isSet0;
  16457. }
  16458. } else {
  16459. t2 = t3;
  16460. _0_12_isSet = _0_12_isSet0;
  16461. }
  16462. if (t2) {
  16463. if (_0_6_isSet)
  16464. t2 = _0_60;
  16465. else {
  16466. t2 = _0_6;
  16467. _0_6_isSet = _0_6_isSet0;
  16468. _0_60 = t2;
  16469. }
  16470. if (t2 instanceof A.SassNumber) {
  16471. if (_0_6_isSet)
  16472. t2 = _0_60;
  16473. else {
  16474. t2 = _0_6;
  16475. _0_6_isSet = _0_6_isSet0;
  16476. _0_60 = t2;
  16477. }
  16478. t3 = type$.SassNumber;
  16479. t3._as(t2);
  16480. if (_0_9_isSet)
  16481. t1 = _0_90;
  16482. else {
  16483. t1 = _0_9;
  16484. _0_9_isSet = _0_9_isSet0;
  16485. _0_90 = t1;
  16486. }
  16487. t1 = t1 instanceof A.SassNumber;
  16488. if (t1) {
  16489. if (_0_9_isSet)
  16490. t4 = _0_90;
  16491. else {
  16492. t4 = _0_9;
  16493. _0_9_isSet = _0_9_isSet0;
  16494. _0_90 = t4;
  16495. }
  16496. t3._as(t4);
  16497. step = t4;
  16498. }
  16499. number = t2;
  16500. }
  16501. strategy = _0_1;
  16502. }
  16503. } else
  16504. _0_12_isSet = _0_14_isSet;
  16505. if (t1) {
  16506. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  16507. return A.SassCalculation__roundWithStep(strategy._string$_text, number, step);
  16508. }
  16509. strategy = _null;
  16510. rest = _null;
  16511. t1 = false;
  16512. if (_0_1 instanceof A.SassString) {
  16513. _0_6_isSet0 = true;
  16514. _0_12_isSet0 = true;
  16515. if (_0_14_isSet)
  16516. t2 = _0_14;
  16517. else {
  16518. if (_0_12_isSet)
  16519. t2 = _0_12;
  16520. else {
  16521. _0_12 = _0_1._string$_text;
  16522. t2 = _0_12;
  16523. _0_12_isSet = _0_12_isSet0;
  16524. }
  16525. _0_14 = "nearest" === t2;
  16526. t2 = _0_14;
  16527. _0_14_isSet = true;
  16528. }
  16529. t3 = true;
  16530. if (!t2) {
  16531. if (_0_16_isSet)
  16532. t2 = _0_16;
  16533. else {
  16534. if (_0_12_isSet)
  16535. t2 = _0_12;
  16536. else {
  16537. _0_12 = _0_1._string$_text;
  16538. t2 = _0_12;
  16539. _0_12_isSet = _0_12_isSet0;
  16540. }
  16541. _0_16 = "up" === t2;
  16542. t2 = _0_16;
  16543. _0_16_isSet = true;
  16544. }
  16545. if (!t2) {
  16546. if (_0_18_isSet)
  16547. t2 = _0_18;
  16548. else {
  16549. if (_0_12_isSet)
  16550. t2 = _0_12;
  16551. else {
  16552. _0_12 = _0_1._string$_text;
  16553. t2 = _0_12;
  16554. _0_12_isSet = _0_12_isSet0;
  16555. }
  16556. _0_18 = "down" === t2;
  16557. t2 = _0_18;
  16558. _0_18_isSet = true;
  16559. }
  16560. if (!t2)
  16561. if (_0_20_isSet)
  16562. t2 = _0_20;
  16563. else {
  16564. if (_0_12_isSet)
  16565. t2 = _0_12;
  16566. else {
  16567. _0_12 = _0_1._string$_text;
  16568. t2 = _0_12;
  16569. _0_12_isSet = _0_12_isSet0;
  16570. }
  16571. _0_20 = "to-zero" === t2;
  16572. t2 = _0_20;
  16573. _0_20_isSet = true;
  16574. }
  16575. else
  16576. t2 = t3;
  16577. } else
  16578. t2 = t3;
  16579. } else
  16580. t2 = t3;
  16581. if (t2) {
  16582. if (_0_6_isSet)
  16583. t2 = _0_60;
  16584. else {
  16585. t2 = _0_6;
  16586. _0_6_isSet = _0_6_isSet0;
  16587. _0_60 = t2;
  16588. }
  16589. if (t2 instanceof A.SassString) {
  16590. if (_0_6_isSet)
  16591. t2 = _0_60;
  16592. else {
  16593. t2 = _0_6;
  16594. _0_6_isSet = _0_6_isSet0;
  16595. _0_60 = t2;
  16596. }
  16597. type$.SassString._as(t2);
  16598. if (_0_10_isSet)
  16599. t1 = _0_10;
  16600. else {
  16601. if (_0_9_isSet)
  16602. t1 = _0_90;
  16603. else {
  16604. t1 = _0_9;
  16605. _0_90 = t1;
  16606. _0_9_isSet = true;
  16607. }
  16608. _0_10 = t1 == null;
  16609. t1 = _0_10;
  16610. _0_10_isSet = true;
  16611. }
  16612. rest = t2;
  16613. }
  16614. strategy = _0_1;
  16615. }
  16616. }
  16617. if (t1)
  16618. return new A.SassCalculation(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  16619. t1 = false;
  16620. if (_0_1 instanceof A.SassString) {
  16621. _0_12_isSet0 = true;
  16622. if (_0_14_isSet)
  16623. t2 = _0_14;
  16624. else {
  16625. if (_0_12_isSet)
  16626. t2 = _0_12;
  16627. else {
  16628. _0_12 = _0_1._string$_text;
  16629. t2 = _0_12;
  16630. _0_12_isSet = _0_12_isSet0;
  16631. }
  16632. _0_14 = "nearest" === t2;
  16633. t2 = _0_14;
  16634. _0_14_isSet = true;
  16635. }
  16636. t3 = true;
  16637. if (!t2) {
  16638. if (_0_16_isSet)
  16639. t2 = _0_16;
  16640. else {
  16641. if (_0_12_isSet)
  16642. t2 = _0_12;
  16643. else {
  16644. _0_12 = _0_1._string$_text;
  16645. t2 = _0_12;
  16646. _0_12_isSet = _0_12_isSet0;
  16647. }
  16648. _0_16 = "up" === t2;
  16649. t2 = _0_16;
  16650. _0_16_isSet = true;
  16651. }
  16652. if (!t2) {
  16653. if (_0_18_isSet)
  16654. t2 = _0_18;
  16655. else {
  16656. if (_0_12_isSet)
  16657. t2 = _0_12;
  16658. else {
  16659. _0_12 = _0_1._string$_text;
  16660. t2 = _0_12;
  16661. _0_12_isSet = _0_12_isSet0;
  16662. }
  16663. _0_18 = "down" === t2;
  16664. t2 = _0_18;
  16665. _0_18_isSet = true;
  16666. }
  16667. if (!t2)
  16668. if (_0_20_isSet)
  16669. t2 = _0_20;
  16670. else {
  16671. if (_0_12_isSet)
  16672. t2 = _0_12;
  16673. else {
  16674. _0_12 = _0_1._string$_text;
  16675. t2 = _0_12;
  16676. _0_12_isSet = _0_12_isSet0;
  16677. }
  16678. _0_20 = "to-zero" === t2;
  16679. t2 = _0_20;
  16680. _0_20_isSet = true;
  16681. }
  16682. else
  16683. t2 = t3;
  16684. } else
  16685. t2 = t3;
  16686. } else
  16687. t2 = t3;
  16688. if (t2) {
  16689. if (_0_6_isSet)
  16690. t2 = _0_60;
  16691. else {
  16692. t2 = _0_6;
  16693. _0_60 = t2;
  16694. _0_6_isSet = true;
  16695. }
  16696. if (t2 != null)
  16697. if (_0_10_isSet)
  16698. t1 = _0_10;
  16699. else {
  16700. if (_0_9_isSet)
  16701. t1 = _0_90;
  16702. else {
  16703. t1 = _0_9;
  16704. _0_90 = t1;
  16705. _0_9_isSet = true;
  16706. }
  16707. _0_10 = t1 == null;
  16708. t1 = _0_10;
  16709. _0_10_isSet = true;
  16710. }
  16711. }
  16712. }
  16713. if (t1)
  16714. throw A.wrapException(A.SassScriptException$(string$.If_str, _null));
  16715. t1 = false;
  16716. if (_0_1 instanceof A.SassString) {
  16717. _0_12_isSet0 = true;
  16718. if (_0_14_isSet)
  16719. t2 = _0_14;
  16720. else {
  16721. if (_0_12_isSet)
  16722. t2 = _0_12;
  16723. else {
  16724. _0_12 = _0_1._string$_text;
  16725. t2 = _0_12;
  16726. _0_12_isSet = _0_12_isSet0;
  16727. }
  16728. _0_14 = "nearest" === t2;
  16729. t2 = _0_14;
  16730. _0_14_isSet = true;
  16731. }
  16732. t3 = true;
  16733. if (!t2) {
  16734. if (_0_16_isSet)
  16735. t2 = _0_16;
  16736. else {
  16737. if (_0_12_isSet)
  16738. t2 = _0_12;
  16739. else {
  16740. _0_12 = _0_1._string$_text;
  16741. t2 = _0_12;
  16742. _0_12_isSet = _0_12_isSet0;
  16743. }
  16744. _0_16 = "up" === t2;
  16745. t2 = _0_16;
  16746. _0_16_isSet = true;
  16747. }
  16748. if (!t2) {
  16749. if (_0_18_isSet)
  16750. t2 = _0_18;
  16751. else {
  16752. if (_0_12_isSet)
  16753. t2 = _0_12;
  16754. else {
  16755. _0_12 = _0_1._string$_text;
  16756. t2 = _0_12;
  16757. _0_12_isSet = _0_12_isSet0;
  16758. }
  16759. _0_18 = "down" === t2;
  16760. t2 = _0_18;
  16761. _0_18_isSet = true;
  16762. }
  16763. if (!t2)
  16764. if (_0_20_isSet)
  16765. t2 = _0_20;
  16766. else {
  16767. if (_0_12_isSet)
  16768. t2 = _0_12;
  16769. else {
  16770. _0_12 = _0_1._string$_text;
  16771. t2 = _0_12;
  16772. _0_12_isSet = _0_12_isSet0;
  16773. }
  16774. _0_20 = "to-zero" === t2;
  16775. t2 = _0_20;
  16776. _0_20_isSet = true;
  16777. }
  16778. else
  16779. t2 = t3;
  16780. } else
  16781. t2 = t3;
  16782. } else
  16783. t2 = t3;
  16784. if (t2) {
  16785. if (_0_8_isSet)
  16786. t2 = _0_8;
  16787. else {
  16788. if (_0_6_isSet)
  16789. t2 = _0_60;
  16790. else {
  16791. t2 = _0_6;
  16792. _0_60 = t2;
  16793. _0_6_isSet = true;
  16794. }
  16795. _0_8 = t2 == null;
  16796. t2 = _0_8;
  16797. _0_8_isSet = true;
  16798. }
  16799. if (t2)
  16800. if (_0_10_isSet)
  16801. t1 = _0_10;
  16802. else {
  16803. if (_0_9_isSet)
  16804. t1 = _0_90;
  16805. else {
  16806. t1 = _0_9;
  16807. _0_90 = t1;
  16808. _0_9_isSet = true;
  16809. }
  16810. _0_10 = t1 == null;
  16811. t1 = _0_10;
  16812. _0_10_isSet = true;
  16813. }
  16814. }
  16815. }
  16816. if (t1)
  16817. throw A.wrapException(A.SassScriptException$(string$.Number, _null));
  16818. t1 = false;
  16819. if (_0_8_isSet)
  16820. t2 = _0_8;
  16821. else {
  16822. if (_0_6_isSet)
  16823. t2 = _0_60;
  16824. else {
  16825. t2 = _0_6;
  16826. _0_60 = t2;
  16827. _0_6_isSet = true;
  16828. }
  16829. _0_8 = t2 == null;
  16830. t2 = _0_8;
  16831. }
  16832. if (t2)
  16833. if (_0_10_isSet)
  16834. t1 = _0_10;
  16835. else {
  16836. if (_0_9_isSet)
  16837. t1 = _0_90;
  16838. else {
  16839. t1 = _0_9;
  16840. _0_90 = t1;
  16841. _0_9_isSet = true;
  16842. }
  16843. _0_10 = t1 == null;
  16844. t1 = _0_10;
  16845. _0_10_isSet = true;
  16846. }
  16847. if (t1)
  16848. return new A.SassCalculation(_s5_, A._setArrayType([_0_1], type$.JSArray_Object));
  16849. step = _null;
  16850. t1 = false;
  16851. _0_6_isSet0 = true;
  16852. if (_0_6_isSet)
  16853. t2 = _0_60;
  16854. else {
  16855. t2 = _0_6;
  16856. _0_6_isSet = _0_6_isSet0;
  16857. _0_60 = t2;
  16858. }
  16859. if (t2 != null) {
  16860. if (_0_6_isSet)
  16861. step = _0_60;
  16862. else {
  16863. step = _0_6;
  16864. _0_6_isSet = _0_6_isSet0;
  16865. _0_60 = step;
  16866. }
  16867. if (step == null)
  16868. step = type$.Object._as(step);
  16869. if (_0_10_isSet)
  16870. t1 = _0_10;
  16871. else {
  16872. if (_0_9_isSet)
  16873. t1 = _0_90;
  16874. else {
  16875. t1 = _0_9;
  16876. _0_90 = t1;
  16877. _0_9_isSet = true;
  16878. }
  16879. _0_10 = t1 == null;
  16880. t1 = _0_10;
  16881. }
  16882. }
  16883. if (t1)
  16884. return new A.SassCalculation(_s5_, A._setArrayType([_0_1, step], type$.JSArray_Object));
  16885. if (_0_1 instanceof A.SassString) {
  16886. t1 = true;
  16887. if (_0_14_isSet)
  16888. t2 = _0_14;
  16889. else {
  16890. if (_0_12_isSet)
  16891. t2 = _0_12;
  16892. else {
  16893. _0_12 = _0_1._string$_text;
  16894. t2 = _0_12;
  16895. _0_12_isSet = true;
  16896. }
  16897. _0_14 = "nearest" === t2;
  16898. t2 = _0_14;
  16899. }
  16900. if (!t2) {
  16901. if (_0_16_isSet)
  16902. t2 = _0_16;
  16903. else {
  16904. if (_0_12_isSet)
  16905. t2 = _0_12;
  16906. else {
  16907. _0_12 = _0_1._string$_text;
  16908. t2 = _0_12;
  16909. _0_12_isSet = true;
  16910. }
  16911. _0_16 = "up" === t2;
  16912. t2 = _0_16;
  16913. }
  16914. if (!t2) {
  16915. if (_0_18_isSet)
  16916. t2 = _0_18;
  16917. else {
  16918. if (_0_12_isSet)
  16919. t2 = _0_12;
  16920. else {
  16921. _0_12 = _0_1._string$_text;
  16922. t2 = _0_12;
  16923. _0_12_isSet = true;
  16924. }
  16925. _0_18 = "down" === t2;
  16926. t2 = _0_18;
  16927. }
  16928. if (!t2)
  16929. if (_0_20_isSet)
  16930. t1 = _0_20;
  16931. else {
  16932. if (_0_12_isSet)
  16933. t1 = _0_12;
  16934. else {
  16935. _0_12 = _0_1._string$_text;
  16936. t1 = _0_12;
  16937. }
  16938. _0_20 = "to-zero" === t1;
  16939. t1 = _0_20;
  16940. }
  16941. }
  16942. }
  16943. } else
  16944. t1 = false;
  16945. if (!t1)
  16946. if (_0_1 instanceof A.SassString)
  16947. t1 = _0_1.get$isVar();
  16948. else
  16949. t1 = false;
  16950. else
  16951. t1 = true;
  16952. number = _null;
  16953. step = _null;
  16954. t2 = false;
  16955. if (t1) {
  16956. _0_6_isSet0 = true;
  16957. _0_9_isSet0 = true;
  16958. type$.SassString._as(_0_1);
  16959. if (_0_6_isSet)
  16960. t1 = _0_60;
  16961. else {
  16962. t1 = _0_6;
  16963. _0_6_isSet = _0_6_isSet0;
  16964. _0_60 = t1;
  16965. }
  16966. if (t1 != null) {
  16967. if (_0_6_isSet)
  16968. number = _0_60;
  16969. else {
  16970. number = _0_6;
  16971. _0_6_isSet = _0_6_isSet0;
  16972. _0_60 = number;
  16973. }
  16974. if (number == null)
  16975. number = type$.Object._as(number);
  16976. if (_0_9_isSet)
  16977. t1 = _0_90;
  16978. else {
  16979. t1 = _0_9;
  16980. _0_9_isSet = _0_9_isSet0;
  16981. _0_90 = t1;
  16982. }
  16983. t1 = t1 != null;
  16984. if (t1) {
  16985. if (_0_9_isSet)
  16986. step = _0_90;
  16987. else {
  16988. step = _0_9;
  16989. _0_9_isSet = _0_9_isSet0;
  16990. _0_90 = step;
  16991. }
  16992. if (step == null)
  16993. step = type$.Object._as(step);
  16994. }
  16995. } else
  16996. t1 = t2;
  16997. strategy = _0_1;
  16998. } else {
  16999. t1 = t2;
  17000. strategy = _null;
  17001. }
  17002. if (t1)
  17003. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  17004. t1 = false;
  17005. if ((_0_6_isSet ? _0_60 : _0_6) != null)
  17006. t1 = (_0_9_isSet ? _0_90 : _0_9) != null;
  17007. if (t1)
  17008. throw A.wrapException(A.SassScriptException$(A.S(strategyOrNumber) + string$.x20must_b, _null));
  17009. t1 = A.SassScriptException$("Invalid parameters.", _null);
  17010. throw A.wrapException(t1);
  17011. },
  17012. SassCalculation_calcSize(basis, value) {
  17013. var t1 = type$.JSArray_Object,
  17014. t2 = A._setArrayType([basis], t1);
  17015. if (value != null)
  17016. t2.push(value);
  17017. A.SassCalculation__verifyLength(t2, 2);
  17018. basis = A.SassCalculation__simplify(basis);
  17019. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  17020. t1 = A._setArrayType([basis], t1);
  17021. if (value != null)
  17022. t1.push(value);
  17023. return new A.SassCalculation("calc-size", t1);
  17024. },
  17025. SassCalculation_operateInternal(operator, left, right, inLegacySassFunction, simplify, warn) {
  17026. var compatible, t1;
  17027. if (!simplify)
  17028. return new A.CalculationOperation(operator, left, right);
  17029. left = A.SassCalculation__simplify(left);
  17030. right = A.SassCalculation__simplify(right);
  17031. if (B.CalculationOperator_F7i === operator || B.CalculationOperator_oum === operator) {
  17032. if (left instanceof A.SassNumber && right instanceof A.SassNumber) {
  17033. compatible = left.hasCompatibleUnits$1(right);
  17034. if (!compatible && inLegacySassFunction != null && left.isComparableTo$1(right)) {
  17035. t1 = A.S(inLegacySassFunction);
  17036. warn.call$2("In future versions of Sass, " + t1 + "() will be interpreted as the CSS " + t1 + string$.x28__cal + t1 + string$.x28__ins, B.Deprecation_1AX);
  17037. compatible = true;
  17038. }
  17039. if (compatible)
  17040. return operator === B.CalculationOperator_F7i ? left.plus$1(right) : left.minus$1(right);
  17041. }
  17042. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
  17043. if (right instanceof A.SassNumber) {
  17044. t1 = right._number$_value;
  17045. t1 = t1 < 0 && !A.fuzzyEquals(t1, 0);
  17046. } else
  17047. t1 = false;
  17048. if (t1) {
  17049. right = right.times$1(A.SassNumber_SassNumber(-1, null));
  17050. operator = operator === B.CalculationOperator_F7i ? B.CalculationOperator_oum : B.CalculationOperator_F7i;
  17051. }
  17052. return new A.CalculationOperation(operator, left, right);
  17053. } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  17054. return operator === B.CalculationOperator_kkN ? left.times$1(right) : left.dividedBy$1(right);
  17055. else
  17056. return new A.CalculationOperation(operator, left, right);
  17057. },
  17058. SassCalculation__roundWithStep(strategy, number, step) {
  17059. var _0_2, t1, _0_6, _0_8_isSet, _0_8, _0_9_isSet, _0_9, _0_11, _0_13, stepWithNumberUnit, t2, _null = null;
  17060. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  17061. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, _null));
  17062. _0_2 = number._number$_value;
  17063. if (_0_2 == 1 / 0 || _0_2 == -1 / 0) {
  17064. t1 = step._number$_value;
  17065. t1 = t1 == 1 / 0 || t1 == -1 / 0;
  17066. } else
  17067. t1 = false;
  17068. if (!t1) {
  17069. t1 = step._number$_value;
  17070. t1 = t1 === 0 || isNaN(_0_2) || isNaN(t1);
  17071. } else
  17072. t1 = true;
  17073. if (t1) {
  17074. t1 = number.get$numeratorUnits(number);
  17075. return A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  17076. }
  17077. if (_0_2 == 1 / 0 || _0_2 == -1 / 0)
  17078. return number;
  17079. t1 = step._number$_value;
  17080. if (t1 == 1 / 0 || t1 == -1 / 0) {
  17081. $label0$0: {
  17082. if (0 === _0_2) {
  17083. t1 = number;
  17084. break $label0$0;
  17085. }
  17086. _0_6 = "nearest" === strategy;
  17087. t1 = _0_6;
  17088. _0_8_isSet = !t1;
  17089. _0_8 = _null;
  17090. if (_0_8_isSet) {
  17091. _0_8 = "to-zero" === strategy;
  17092. _0_9_isSet = _0_8;
  17093. } else
  17094. _0_9_isSet = true;
  17095. _0_9 = _null;
  17096. if (_0_9_isSet) {
  17097. _0_9 = _0_2 > 0;
  17098. t1 = _0_9;
  17099. } else
  17100. t1 = false;
  17101. if (t1) {
  17102. t1 = number.get$numeratorUnits(number);
  17103. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  17104. break $label0$0;
  17105. }
  17106. if (!_0_6)
  17107. if (_0_8_isSet)
  17108. t1 = _0_8;
  17109. else {
  17110. _0_8 = "to-zero" === strategy;
  17111. t1 = _0_8;
  17112. }
  17113. else
  17114. t1 = true;
  17115. if (t1) {
  17116. t1 = number.get$numeratorUnits(number);
  17117. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  17118. break $label0$0;
  17119. }
  17120. _0_11 = "up" === strategy;
  17121. t1 = _0_11;
  17122. if (t1)
  17123. if (_0_9_isSet)
  17124. t1 = _0_9;
  17125. else {
  17126. _0_9 = _0_2 > 0;
  17127. t1 = _0_9;
  17128. }
  17129. else
  17130. t1 = false;
  17131. if (t1) {
  17132. t1 = number.get$numeratorUnits(number);
  17133. t1 = A.SassNumber_SassNumber$withUnits(1 / 0, number.get$denominatorUnits(number), t1);
  17134. break $label0$0;
  17135. }
  17136. if (_0_11) {
  17137. t1 = number.get$numeratorUnits(number);
  17138. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  17139. break $label0$0;
  17140. }
  17141. _0_13 = "down" === strategy;
  17142. t1 = _0_13;
  17143. if (t1)
  17144. t1 = _0_2 < 0;
  17145. else
  17146. t1 = false;
  17147. if (t1) {
  17148. t1 = number.get$numeratorUnits(number);
  17149. t1 = A.SassNumber_SassNumber$withUnits(-1 / 0, number.get$denominatorUnits(number), t1);
  17150. break $label0$0;
  17151. }
  17152. if (_0_13) {
  17153. t1 = number.get$numeratorUnits(number);
  17154. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  17155. break $label0$0;
  17156. }
  17157. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  17158. }
  17159. return t1;
  17160. }
  17161. stepWithNumberUnit = step.convertValueToMatch$1(number);
  17162. $label1$1: {
  17163. if ("nearest" === strategy) {
  17164. t1 = B.JSNumber_methods.round$0(_0_2 / stepWithNumberUnit);
  17165. t2 = number.get$numeratorUnits(number);
  17166. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17167. t1 = t2;
  17168. break $label1$1;
  17169. }
  17170. if ("up" === strategy) {
  17171. t2 = _0_2 / stepWithNumberUnit;
  17172. t1 = t1 < 0 ? B.JSNumber_methods.floor$0(t2) : B.JSNumber_methods.ceil$0(t2);
  17173. t2 = number.get$numeratorUnits(number);
  17174. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17175. t1 = t2;
  17176. break $label1$1;
  17177. }
  17178. if ("down" === strategy) {
  17179. t2 = _0_2 / stepWithNumberUnit;
  17180. t1 = t1 < 0 ? B.JSNumber_methods.ceil$0(t2) : B.JSNumber_methods.floor$0(t2);
  17181. t2 = number.get$numeratorUnits(number);
  17182. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17183. t1 = t2;
  17184. break $label1$1;
  17185. }
  17186. if ("to-zero" === strategy) {
  17187. t1 = _0_2 / stepWithNumberUnit;
  17188. if (_0_2 < 0) {
  17189. t1 = B.JSNumber_methods.ceil$0(t1);
  17190. t2 = number.get$numeratorUnits(number);
  17191. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17192. t1 = t2;
  17193. } else {
  17194. t1 = B.JSNumber_methods.floor$0(t1);
  17195. t2 = number.get$numeratorUnits(number);
  17196. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17197. t1 = t2;
  17198. }
  17199. break $label1$1;
  17200. }
  17201. t1 = number.get$numeratorUnits(number);
  17202. t1 = A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  17203. break $label1$1;
  17204. }
  17205. return t1;
  17206. },
  17207. SassCalculation__simplify(arg) {
  17208. 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,
  17209. _s32_ = " can't be used in a calculation.";
  17210. $label0$0: {
  17211. if (arg instanceof A.SassNumber || arg instanceof A.CalculationOperation) {
  17212. t1 = arg;
  17213. break $label0$0;
  17214. }
  17215. t1 = arg instanceof A.SassString;
  17216. t2 = _null;
  17217. if (t1 && !arg._hasQuotes) {
  17218. t1 = arg;
  17219. break $label0$0;
  17220. }
  17221. if (t1)
  17222. A.throwExpression(A.SassScriptException$("Quoted string " + arg.toString$0(0) + _s32_, _null));
  17223. _0_11_isSet = arg instanceof A.SassCalculation;
  17224. _0_15 = _null;
  17225. _0_12 = _null;
  17226. _0_16_isSet = false;
  17227. text = _null;
  17228. t1 = false;
  17229. if (_0_11_isSet) {
  17230. _0_11 = "calc" === arg.name;
  17231. if (_0_11) {
  17232. _0_12 = arg.$arguments;
  17233. _0_15 = _0_12.length === 1;
  17234. _0_16_isSet = _0_15;
  17235. if (_0_16_isSet) {
  17236. _0_16 = _0_12[0];
  17237. t2 = _0_16;
  17238. if (t2 instanceof A.SassString) {
  17239. type$.SassString._as(_0_16);
  17240. if (!_0_16._hasQuotes) {
  17241. text = _0_16._string$_text;
  17242. t1 = A.SassCalculation__needsParentheses(text);
  17243. }
  17244. }
  17245. } else
  17246. _0_16 = t2;
  17247. } else
  17248. _0_16 = t2;
  17249. _0_12_isSet = _0_11;
  17250. _0_15_isSet = _0_12_isSet;
  17251. } else {
  17252. _0_16 = t2;
  17253. _0_11 = _null;
  17254. _0_15_isSet = false;
  17255. _0_12_isSet = false;
  17256. }
  17257. if (t1) {
  17258. t1 = new A.SassString("(" + A.S(text) + ")", false);
  17259. break $label0$0;
  17260. }
  17261. t1 = false;
  17262. if (_0_11_isSet)
  17263. if (_0_11)
  17264. if (_0_15_isSet)
  17265. t1 = _0_15;
  17266. else {
  17267. if (_0_12_isSet)
  17268. t1 = _0_12;
  17269. else {
  17270. _0_12 = arg.$arguments;
  17271. t1 = _0_12;
  17272. _0_12_isSet = true;
  17273. }
  17274. _0_15 = t1.length === 1;
  17275. t1 = _0_15;
  17276. }
  17277. if (t1) {
  17278. if (_0_16_isSet)
  17279. value = _0_16;
  17280. else {
  17281. _0_16 = (_0_12_isSet ? _0_12 : arg.$arguments)[0];
  17282. value = _0_16;
  17283. }
  17284. t1 = value;
  17285. break $label0$0;
  17286. }
  17287. if (_0_11_isSet) {
  17288. t1 = arg;
  17289. break $label0$0;
  17290. }
  17291. if (arg instanceof A.Value)
  17292. A.throwExpression(A.SassScriptException$("Value " + arg.toString$0(0) + _s32_, _null));
  17293. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  17294. }
  17295. return t1;
  17296. },
  17297. SassCalculation__needsParentheses(text) {
  17298. var t1, couldBeVar, second, third, fourth, i, t2,
  17299. first = text.charCodeAt(0);
  17300. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  17301. return true;
  17302. t1 = text.length;
  17303. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase(first, 118);
  17304. if (t1 < 2)
  17305. return false;
  17306. second = text.charCodeAt(1);
  17307. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  17308. return true;
  17309. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(second, 97);
  17310. if (t1 < 3)
  17311. return false;
  17312. third = text.charCodeAt(2);
  17313. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  17314. return true;
  17315. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(third, 114);
  17316. if (t1 < 4)
  17317. return false;
  17318. fourth = text.charCodeAt(3);
  17319. if (couldBeVar && fourth === 40)
  17320. return true;
  17321. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  17322. return true;
  17323. for (i = 4; i < t1; ++i) {
  17324. t2 = text.charCodeAt(i);
  17325. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  17326. return true;
  17327. }
  17328. return false;
  17329. },
  17330. SassCalculation__verifyCompatibleNumbers(args) {
  17331. var t1, _i, t2, arg, i, number1, j, number2;
  17332. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  17333. arg = args[_i];
  17334. if (arg instanceof A.SassNumber && arg.get$hasComplexUnits())
  17335. throw A.wrapException(A.SassScriptException$("Number " + A.S(arg) + " isn't compatible with CSS calculations.", null));
  17336. }
  17337. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  17338. number1 = args[i];
  17339. if (!(number1 instanceof A.SassNumber))
  17340. continue;
  17341. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  17342. number2 = args[j];
  17343. if (!(number2 instanceof A.SassNumber))
  17344. continue;
  17345. if (number1.hasPossiblyCompatibleUnits$1(number2))
  17346. continue;
  17347. throw A.wrapException(A.SassScriptException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  17348. }
  17349. }
  17350. },
  17351. SassCalculation__verifyLength(args, expectedLength) {
  17352. var t1;
  17353. if (args.length === expectedLength)
  17354. return;
  17355. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
  17356. return;
  17357. t1 = args.length;
  17358. throw A.wrapException(A.SassScriptException$("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed.", null));
  17359. },
  17360. SassCalculation__singleArgument($name, argument, mathFunc, forbidUnits) {
  17361. argument = A.SassCalculation__simplify(argument);
  17362. if (!(argument instanceof A.SassNumber))
  17363. return new A.SassCalculation($name, A._setArrayType([argument], type$.JSArray_Object));
  17364. if (forbidUnits)
  17365. argument.assertNoUnits$0();
  17366. return mathFunc.call$1(argument);
  17367. },
  17368. SassCalculation: function SassCalculation(t0, t1) {
  17369. this.name = t0;
  17370. this.$arguments = t1;
  17371. },
  17372. SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
  17373. },
  17374. CalculationOperation: function CalculationOperation(t0, t1, t2) {
  17375. this._operator = t0;
  17376. this._left = t1;
  17377. this._right = t2;
  17378. },
  17379. CalculationOperator: function CalculationOperator(t0, t1, t2, t3) {
  17380. var _ = this;
  17381. _.name = t0;
  17382. _.operator = t1;
  17383. _.precedence = t2;
  17384. _._name = t3;
  17385. },
  17386. SassColor_SassColor$rgb(red, green, blue, alpha) {
  17387. return A.SassColor_SassColor$rgbInternal(red, green, blue, alpha, null);
  17388. },
  17389. SassColor_SassColor$rgbInternal(red, green, blue, alpha, format) {
  17390. var _null = null,
  17391. t1 = red == null ? _null : red,
  17392. t2 = green == null ? _null : green,
  17393. t3 = blue == null ? _null : blue;
  17394. return A.SassColor$_forSpace(B.RgbColorSpace_i0P, t1, t2, t3, alpha == null ? _null : alpha, format);
  17395. },
  17396. SassColor_SassColor$hsl(hue, saturation, lightness, alpha) {
  17397. var _null = null,
  17398. t1 = hue == null ? _null : hue,
  17399. t2 = saturation == null ? _null : saturation,
  17400. t3 = lightness == null ? _null : lightness;
  17401. return A.SassColor_SassColor$forSpaceInternal(B.HslColorSpace_JQ2, t1, t2, t3, alpha == null ? _null : alpha);
  17402. },
  17403. SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
  17404. var _null = null,
  17405. t1 = hue == null ? _null : hue,
  17406. t2 = whiteness == null ? _null : whiteness,
  17407. t3 = blackness == null ? _null : blackness;
  17408. return A.SassColor_SassColor$forSpaceInternal(B.HwbColorSpace_guQ, t1, t2, t3, alpha == null ? _null : alpha);
  17409. },
  17410. SassColor_SassColor$forSpaceInternal(space, channel0, channel1, channel2, alpha) {
  17411. var t1, t2, _null = null;
  17412. $label0$0: {
  17413. if (B.HslColorSpace_JQ2 === space) {
  17414. t1 = channel1 == null;
  17415. t2 = A.SassColor__normalizeHue(channel0, !t1 && channel1 < 0 && !A.fuzzyEquals(channel1, 0));
  17416. t2 = A.SassColor$_forSpace(space, t2, t1 ? _null : Math.abs(channel1), channel2, alpha, _null);
  17417. t1 = t2;
  17418. break $label0$0;
  17419. }
  17420. if (B.HwbColorSpace_guQ === space) {
  17421. t1 = A.SassColor$_forSpace(space, A.SassColor__normalizeHue(channel0, false), channel1, channel2, alpha, _null);
  17422. break $label0$0;
  17423. }
  17424. if (B.LchColorSpace_Bpv === space || B.OklchColorSpace_9Gj === space) {
  17425. t1 = channel1 == null;
  17426. t2 = t1 ? _null : Math.abs(channel1);
  17427. t2 = A.SassColor$_forSpace(space, channel0, t2, A.SassColor__normalizeHue(channel2, !t1 && channel1 < 0 && !A.fuzzyEquals(channel1, 0)), alpha, _null);
  17428. t1 = t2;
  17429. break $label0$0;
  17430. }
  17431. t1 = A.SassColor$_forSpace(space, channel0, channel1, channel2, alpha, _null);
  17432. break $label0$0;
  17433. }
  17434. return t1;
  17435. },
  17436. SassColor$_forSpace(_space, channel0OrNull, channel1OrNull, channel2OrNull, alpha, format) {
  17437. return new A.SassColor(_space, channel0OrNull, channel1OrNull, channel2OrNull, format, A.NullableExtension_andThen(alpha, new A.SassColor$_forSpace_closure()));
  17438. },
  17439. SassColor__normalizeHue(hue, invert) {
  17440. var t1, t2;
  17441. if (hue == null)
  17442. return hue;
  17443. t1 = B.JSNumber_methods.$mod(hue, 360);
  17444. t2 = invert ? 180 : 0;
  17445. return B.JSNumber_methods.$mod(t1 + 360 + t2, 360);
  17446. },
  17447. SassColor: function SassColor(t0, t1, t2, t3, t4, t5) {
  17448. var _ = this;
  17449. _._space = t0;
  17450. _.channel0OrNull = t1;
  17451. _.channel1OrNull = t2;
  17452. _.channel2OrNull = t3;
  17453. _.format = t4;
  17454. _.alphaOrNull = t5;
  17455. },
  17456. SassColor$_forSpace_closure: function SassColor$_forSpace_closure() {
  17457. },
  17458. _ColorFormatEnum: function _ColorFormatEnum() {
  17459. },
  17460. SpanColorFormat: function SpanColorFormat(t0) {
  17461. this._color$_span = t0;
  17462. },
  17463. ColorChannel: function ColorChannel(t0, t1, t2) {
  17464. this.name = t0;
  17465. this.isPolarAngle = t1;
  17466. this.associatedUnit = t2;
  17467. },
  17468. LinearChannel: function LinearChannel(t0, t1, t2, t3, t4, t5, t6, t7) {
  17469. var _ = this;
  17470. _.min = t0;
  17471. _.max = t1;
  17472. _.requiresPercent = t2;
  17473. _.lowerClamped = t3;
  17474. _.upperClamped = t4;
  17475. _.name = t5;
  17476. _.isPolarAngle = t6;
  17477. _.associatedUnit = t7;
  17478. },
  17479. GamutMapMethod_GamutMapMethod$fromName($name) {
  17480. var t1;
  17481. $label0$0: {
  17482. if ("clip" === $name) {
  17483. t1 = B.ClipGamutMap_clip;
  17484. break $label0$0;
  17485. }
  17486. if ("local-minde" === $name) {
  17487. t1 = B.LocalMindeGamutMap_A2x;
  17488. break $label0$0;
  17489. }
  17490. t1 = A.throwExpression(A.SassScriptException$('Unknown gamut map method "' + $name + '".', null));
  17491. }
  17492. return t1;
  17493. },
  17494. GamutMapMethod: function GamutMapMethod() {
  17495. },
  17496. ClipGamutMap: function ClipGamutMap(t0) {
  17497. this.name = t0;
  17498. },
  17499. LocalMindeGamutMap: function LocalMindeGamutMap(t0) {
  17500. this.name = t0;
  17501. },
  17502. InterpolationMethod$(space, hue) {
  17503. var t1;
  17504. if (space.get$isPolarInternal())
  17505. t1 = hue == null ? B.HueInterpolationMethod_0 : hue;
  17506. else
  17507. t1 = null;
  17508. if (!space.get$isPolarInternal() && hue != null)
  17509. A.throwExpression(A.ArgumentError$(string$.Hue_in + space.toString$0(0) + ".", null));
  17510. return new A.InterpolationMethod(space, t1);
  17511. },
  17512. InterpolationMethod_InterpolationMethod$fromValue(value, $name) {
  17513. var t1, space, hueMethod,
  17514. list = value.assertCommonListStyle$2$allowSlash($name, false);
  17515. if (list.length === 0)
  17516. throw A.wrapException(A.SassScriptException$(string$.Expecta, $name));
  17517. t1 = B.JSArray_methods.get$first(list).assertString$1($name);
  17518. t1.assertUnquoted$1($name);
  17519. space = A.ColorSpace_fromName(t1._string$_text, $name);
  17520. if (list.length === 1)
  17521. return A.InterpolationMethod$(space, null);
  17522. hueMethod = A.HueInterpolationMethod_HueInterpolationMethod$_fromValue(list[1], $name);
  17523. if (list.length === 2)
  17524. throw A.wrapException(A.SassScriptException$('Expected unquoted string "hue" after ' + value.toString$0(0) + ".", $name));
  17525. else {
  17526. t1 = list[2].assertString$1($name);
  17527. t1.assertUnquoted$1($name);
  17528. if (t1._string$_text.toLowerCase() !== "hue")
  17529. throw A.wrapException(A.SassScriptException$(string$.Expectu + value.toString$0(0) + ", was " + list[2].toString$0(0) + ".", $name));
  17530. else if (list.length > 3)
  17531. throw A.wrapException(A.SassScriptException$('Expected nothing after "hue" in ' + value.toString$0(0) + ".", $name));
  17532. else if (!space.get$isPolarInternal())
  17533. throw A.wrapException(A.SassScriptException$('Hue interpolation method "' + hueMethod.toString$0(0) + string$.x20hue__ + space.toString$0(0) + ".", $name));
  17534. }
  17535. return A.InterpolationMethod$(space, hueMethod);
  17536. },
  17537. HueInterpolationMethod_HueInterpolationMethod$_fromValue(value, $name) {
  17538. var _0_0,
  17539. t1 = value.assertString$1($name);
  17540. t1.assertUnquoted$0();
  17541. _0_0 = t1._string$_text.toLowerCase();
  17542. $label0$0: {
  17543. if ("shorter" === _0_0) {
  17544. t1 = B.HueInterpolationMethod_0;
  17545. break $label0$0;
  17546. }
  17547. if ("longer" === _0_0) {
  17548. t1 = B.HueInterpolationMethod_1;
  17549. break $label0$0;
  17550. }
  17551. if ("increasing" === _0_0) {
  17552. t1 = B.HueInterpolationMethod_2;
  17553. break $label0$0;
  17554. }
  17555. if ("decreasing" === _0_0) {
  17556. t1 = B.HueInterpolationMethod_3;
  17557. break $label0$0;
  17558. }
  17559. t1 = A.throwExpression(A.SassScriptException$("Unknown hue interpolation method " + value.toString$0(0) + ".", $name));
  17560. }
  17561. return t1;
  17562. },
  17563. InterpolationMethod: function InterpolationMethod(t0, t1) {
  17564. this.space = t0;
  17565. this.hue = t1;
  17566. },
  17567. HueInterpolationMethod: function HueInterpolationMethod(t0) {
  17568. this._name = t0;
  17569. },
  17570. ColorSpace_fromName($name, argumentName) {
  17571. var t1,
  17572. _0_0 = $name.toLowerCase();
  17573. $label0$0: {
  17574. if ("rgb" === _0_0) {
  17575. t1 = B.RgbColorSpace_i0P;
  17576. break $label0$0;
  17577. }
  17578. if ("hwb" === _0_0) {
  17579. t1 = B.HwbColorSpace_guQ;
  17580. break $label0$0;
  17581. }
  17582. if ("hsl" === _0_0) {
  17583. t1 = B.HslColorSpace_JQ2;
  17584. break $label0$0;
  17585. }
  17586. if ("srgb" === _0_0) {
  17587. t1 = B.SrgbColorSpace_thf;
  17588. break $label0$0;
  17589. }
  17590. if ("srgb-linear" === _0_0) {
  17591. t1 = B.SrgbLinearColorSpace_kUj;
  17592. break $label0$0;
  17593. }
  17594. if ("display-p3" === _0_0) {
  17595. t1 = B.DisplayP3ColorSpace_MmT;
  17596. break $label0$0;
  17597. }
  17598. if ("a98-rgb" === _0_0) {
  17599. t1 = B.A98RgbColorSpace_lf2;
  17600. break $label0$0;
  17601. }
  17602. if ("prophoto-rgb" === _0_0) {
  17603. t1 = B.ProphotoRgbColorSpace_BDz;
  17604. break $label0$0;
  17605. }
  17606. if ("rec2020" === _0_0) {
  17607. t1 = B.Rec2020ColorSpace_6oo;
  17608. break $label0$0;
  17609. }
  17610. if ("xyz" === _0_0 || "xyz-d65" === _0_0) {
  17611. t1 = B.XyzD65ColorSpace_WiJ;
  17612. break $label0$0;
  17613. }
  17614. if ("xyz-d50" === _0_0) {
  17615. t1 = B.XyzD50ColorSpace_2OB;
  17616. break $label0$0;
  17617. }
  17618. if ("lab" === _0_0) {
  17619. t1 = B.LabColorSpace_2nT;
  17620. break $label0$0;
  17621. }
  17622. if ("lch" === _0_0) {
  17623. t1 = B.LchColorSpace_Bpv;
  17624. break $label0$0;
  17625. }
  17626. if ("oklab" === _0_0) {
  17627. t1 = B.OklabColorSpace_540;
  17628. break $label0$0;
  17629. }
  17630. if ("oklch" === _0_0) {
  17631. t1 = B.OklchColorSpace_9Gj;
  17632. break $label0$0;
  17633. }
  17634. t1 = A.throwExpression(A.SassScriptException$('Unknown color space "' + $name + '".', argumentName));
  17635. }
  17636. return t1;
  17637. },
  17638. ColorSpace: function ColorSpace() {
  17639. },
  17640. A98RgbColorSpace: function A98RgbColorSpace(t0, t1) {
  17641. this.name = t0;
  17642. this._channels = t1;
  17643. },
  17644. DisplayP3ColorSpace: function DisplayP3ColorSpace(t0, t1) {
  17645. this.name = t0;
  17646. this._channels = t1;
  17647. },
  17648. HslColorSpace: function HslColorSpace(t0, t1) {
  17649. this.name = t0;
  17650. this._channels = t1;
  17651. },
  17652. HwbColorSpace: function HwbColorSpace(t0, t1) {
  17653. this.name = t0;
  17654. this._channels = t1;
  17655. },
  17656. HwbColorSpace_convert_toRgb: function HwbColorSpace_convert_toRgb(t0, t1) {
  17657. this._box_0 = t0;
  17658. this.factor = t1;
  17659. },
  17660. LabColorSpace: function LabColorSpace(t0, t1) {
  17661. this.name = t0;
  17662. this._channels = t1;
  17663. },
  17664. LchColorSpace: function LchColorSpace(t0, t1) {
  17665. this.name = t0;
  17666. this._channels = t1;
  17667. },
  17668. LmsColorSpace: function LmsColorSpace(t0, t1) {
  17669. this.name = t0;
  17670. this._channels = t1;
  17671. },
  17672. OklabColorSpace: function OklabColorSpace(t0, t1) {
  17673. this.name = t0;
  17674. this._channels = t1;
  17675. },
  17676. OklchColorSpace: function OklchColorSpace(t0, t1) {
  17677. this.name = t0;
  17678. this._channels = t1;
  17679. },
  17680. ProphotoRgbColorSpace: function ProphotoRgbColorSpace(t0, t1) {
  17681. this.name = t0;
  17682. this._channels = t1;
  17683. },
  17684. Rec2020ColorSpace: function Rec2020ColorSpace(t0, t1) {
  17685. this.name = t0;
  17686. this._channels = t1;
  17687. },
  17688. RgbColorSpace: function RgbColorSpace(t0, t1) {
  17689. this.name = t0;
  17690. this._channels = t1;
  17691. },
  17692. SrgbColorSpace: function SrgbColorSpace(t0, t1) {
  17693. this.name = t0;
  17694. this._channels = t1;
  17695. },
  17696. SrgbLinearColorSpace: function SrgbLinearColorSpace(t0, t1) {
  17697. this.name = t0;
  17698. this._channels = t1;
  17699. },
  17700. XyzD50ColorSpace: function XyzD50ColorSpace(t0, t1) {
  17701. this.name = t0;
  17702. this._channels = t1;
  17703. },
  17704. XyzD65ColorSpace: function XyzD65ColorSpace(t0, t1) {
  17705. this.name = t0;
  17706. this._channels = t1;
  17707. },
  17708. SassFunction: function SassFunction(t0) {
  17709. this.callable = t0;
  17710. },
  17711. SassList$(contents, _separator, brackets) {
  17712. var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
  17713. t1.SassList$3$brackets(contents, _separator, brackets);
  17714. return t1;
  17715. },
  17716. SassList: function SassList(t0, t1, t2) {
  17717. this._list$_contents = t0;
  17718. this._separator = t1;
  17719. this._hasBrackets = t2;
  17720. },
  17721. SassList_isBlank_closure: function SassList_isBlank_closure() {
  17722. },
  17723. ListSeparator: function ListSeparator(t0, t1, t2) {
  17724. this._list$_name = t0;
  17725. this.separator = t1;
  17726. this._name = t2;
  17727. },
  17728. SassMap: function SassMap(t0) {
  17729. this._map$_contents = t0;
  17730. },
  17731. SassMixin: function SassMixin(t0) {
  17732. this.callable = t0;
  17733. },
  17734. _SassNull: function _SassNull() {
  17735. },
  17736. conversionFactor(unit1, unit2) {
  17737. var _0_0;
  17738. if (unit1 === unit2)
  17739. return 1;
  17740. _0_0 = B.Map_NtHoP.$index(0, unit1);
  17741. if (_0_0 != null)
  17742. return _0_0.$index(0, unit2);
  17743. return null;
  17744. },
  17745. SassNumber_SassNumber(value, unit) {
  17746. return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
  17747. },
  17748. SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
  17749. var t1, _0_8_isSet, _0_8, _0_10, _0_10_isSet, _0_7, unit, t2, _0_7_isSet, t3, _0_4_isSet, _0_7_isSet0, numerators, denominators, unsimplifiedDenominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _1_2, _1_7_isSet, _1_7, _null = null,
  17750. _0_6_isSet = !false,
  17751. _0_6 = _null,
  17752. _0_4 = _null;
  17753. if (_0_6_isSet) {
  17754. _0_4 = (numeratorUnits === null ? type$.List_String._as(numeratorUnits) : numeratorUnits).length;
  17755. t1 = _0_4;
  17756. _0_6 = t1 <= 0;
  17757. _0_8_isSet = _0_6;
  17758. } else
  17759. _0_8_isSet = true;
  17760. _0_8 = _null;
  17761. _0_10 = _null;
  17762. if (_0_8_isSet) {
  17763. _0_8 = denominatorUnits == null;
  17764. t1 = _0_8;
  17765. _0_10_isSet = !t1;
  17766. if (_0_10_isSet) {
  17767. _0_10 = (denominatorUnits == null ? type$.List_String._as(denominatorUnits) : denominatorUnits).length <= 0;
  17768. t1 = _0_10;
  17769. } else
  17770. t1 = true;
  17771. _0_7 = denominatorUnits;
  17772. } else {
  17773. _0_7 = _null;
  17774. _0_10_isSet = false;
  17775. t1 = false;
  17776. }
  17777. if (t1)
  17778. return new A.UnitlessSassNumber(value, _null);
  17779. t1 = type$.List_String;
  17780. unit = _null;
  17781. t2 = false;
  17782. if (t1._is(numeratorUnits)) {
  17783. _0_7_isSet = true;
  17784. if (_0_6_isSet) {
  17785. t3 = _0_4;
  17786. _0_4_isSet = _0_6_isSet;
  17787. } else {
  17788. _0_4 = numeratorUnits.length;
  17789. t3 = _0_4;
  17790. _0_4_isSet = true;
  17791. }
  17792. if (t3 === 1) {
  17793. unit = numeratorUnits[0];
  17794. if (_0_8_isSet) {
  17795. t2 = _0_8;
  17796. _0_7_isSet0 = _0_8_isSet;
  17797. } else {
  17798. _0_8 = denominatorUnits == null;
  17799. t2 = _0_8;
  17800. _0_7_isSet0 = _0_7_isSet;
  17801. _0_7 = denominatorUnits;
  17802. _0_8_isSet = true;
  17803. }
  17804. if (!t2)
  17805. if (_0_10_isSet) {
  17806. t2 = _0_10;
  17807. _0_7_isSet = _0_7_isSet0;
  17808. } else {
  17809. if (_0_7_isSet0) {
  17810. t2 = _0_7;
  17811. _0_7_isSet = _0_7_isSet0;
  17812. } else {
  17813. t2 = denominatorUnits;
  17814. _0_7 = t2;
  17815. }
  17816. _0_10 = (t2 == null ? t1._as(t2) : t2).length <= 0;
  17817. t2 = _0_10;
  17818. _0_10_isSet = true;
  17819. }
  17820. else {
  17821. _0_7_isSet = _0_7_isSet0;
  17822. t2 = true;
  17823. }
  17824. } else
  17825. _0_7_isSet = _0_8_isSet;
  17826. } else {
  17827. _0_7_isSet = _0_8_isSet;
  17828. _0_4_isSet = _0_6_isSet;
  17829. }
  17830. if (t2)
  17831. return new A.SingleUnitSassNumber(unit, value, _null);
  17832. t2 = numeratorUnits === null;
  17833. t3 = false;
  17834. if (!t2) {
  17835. _0_7_isSet0 = true;
  17836. numerators = numeratorUnits;
  17837. if (_0_8_isSet)
  17838. t3 = _0_8;
  17839. else {
  17840. if (_0_7_isSet)
  17841. t3 = _0_7;
  17842. else {
  17843. t3 = denominatorUnits;
  17844. _0_7_isSet = _0_7_isSet0;
  17845. _0_7 = t3;
  17846. }
  17847. _0_8 = t3 == null;
  17848. t3 = _0_8;
  17849. }
  17850. if (!t3)
  17851. if (_0_10_isSet)
  17852. t3 = _0_10;
  17853. else {
  17854. if (_0_7_isSet)
  17855. t3 = _0_7;
  17856. else {
  17857. t3 = denominatorUnits;
  17858. _0_7_isSet = _0_7_isSet0;
  17859. _0_7 = t3;
  17860. }
  17861. _0_10 = (t3 == null ? t1._as(t3) : t3).length <= 0;
  17862. t3 = _0_10;
  17863. }
  17864. else
  17865. t3 = true;
  17866. } else
  17867. numerators = _null;
  17868. if (t3)
  17869. return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  17870. if (!false)
  17871. if (_0_6_isSet)
  17872. t2 = _0_6;
  17873. else {
  17874. if (_0_4_isSet)
  17875. t2 = _0_4;
  17876. else {
  17877. _0_4 = (t2 ? t1._as(numeratorUnits) : numeratorUnits).length;
  17878. t2 = _0_4;
  17879. }
  17880. _0_6 = t2 <= 0;
  17881. t2 = _0_6;
  17882. }
  17883. else
  17884. t2 = true;
  17885. denominators = _null;
  17886. if (t2) {
  17887. if (_0_7_isSet)
  17888. t2 = _0_7;
  17889. else {
  17890. t2 = denominatorUnits;
  17891. _0_7 = t2;
  17892. _0_7_isSet = true;
  17893. }
  17894. t2 = t2 != null;
  17895. if (t2) {
  17896. denominators = _0_7_isSet ? _0_7 : denominatorUnits;
  17897. if (denominators == null)
  17898. denominators = t1._as(denominators);
  17899. }
  17900. t1 = t2;
  17901. } else
  17902. t1 = false;
  17903. if (t1)
  17904. return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  17905. numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
  17906. unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits));
  17907. denominators = A._setArrayType([], type$.JSArray_String);
  17908. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  17909. denominator = unsimplifiedDenominators[_i];
  17910. i = 0;
  17911. while (true) {
  17912. if (!(i < numerators.length)) {
  17913. simplifiedAway = false;
  17914. break;
  17915. }
  17916. c$0: {
  17917. factor = A.conversionFactor(denominator, numerators[i]);
  17918. if (factor == null)
  17919. break c$0;
  17920. valueDouble *= factor;
  17921. B.JSArray_methods.removeAt$1(numerators, i);
  17922. simplifiedAway = true;
  17923. break;
  17924. }
  17925. ++i;
  17926. }
  17927. if (!simplifiedAway)
  17928. denominators.push(denominator);
  17929. }
  17930. $label0$1: {
  17931. _1_2 = numerators.length;
  17932. t1 = _1_2;
  17933. _1_7_isSet = t1 <= 0;
  17934. if (_1_7_isSet) {
  17935. _1_7 = denominators.length <= 0;
  17936. t1 = _1_7;
  17937. } else {
  17938. _1_7 = _null;
  17939. t1 = false;
  17940. }
  17941. if (t1) {
  17942. t1 = new A.UnitlessSassNumber(valueDouble, _null);
  17943. break $label0$1;
  17944. }
  17945. t1 = false;
  17946. if (_1_2 === 1) {
  17947. unit = numerators[0];
  17948. t1 = _1_7_isSet ? _1_7 : denominators.length <= 0;
  17949. } else
  17950. unit = _null;
  17951. if (t1) {
  17952. t1 = new A.SingleUnitSassNumber(unit, valueDouble, _null);
  17953. break $label0$1;
  17954. }
  17955. t1 = type$.String;
  17956. t1 = new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  17957. break $label0$1;
  17958. }
  17959. return t1;
  17960. },
  17961. SassNumber: function SassNumber() {
  17962. },
  17963. SassNumber__coerceOrConvertValue_compatibilityException: function SassNumber__coerceOrConvertValue_compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
  17964. var _ = this;
  17965. _.$this = t0;
  17966. _.other = t1;
  17967. _.otherName = t2;
  17968. _.otherHasUnits = t3;
  17969. _.name = t4;
  17970. _.newNumerators = t5;
  17971. _.newDenominators = t6;
  17972. },
  17973. SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
  17974. this._box_0 = t0;
  17975. this.newNumerator = t1;
  17976. },
  17977. SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
  17978. this.compatibilityException = t0;
  17979. },
  17980. SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
  17981. this._box_0 = t0;
  17982. this.newDenominator = t1;
  17983. },
  17984. SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
  17985. this.compatibilityException = t0;
  17986. },
  17987. SassNumber_plus_closure: function SassNumber_plus_closure() {
  17988. },
  17989. SassNumber_minus_closure: function SassNumber_minus_closure() {
  17990. },
  17991. SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
  17992. this._box_0 = t0;
  17993. this.numerator = t1;
  17994. },
  17995. SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
  17996. this.newNumerators = t0;
  17997. this.numerator = t1;
  17998. },
  17999. SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
  18000. this._box_0 = t0;
  18001. this.numerator = t1;
  18002. },
  18003. SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
  18004. this.newNumerators = t0;
  18005. this.numerator = t1;
  18006. },
  18007. SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
  18008. this.units2 = t0;
  18009. },
  18010. SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
  18011. },
  18012. SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
  18013. this.$this = t0;
  18014. },
  18015. SassNumber_unitSuggestion_closure: function SassNumber_unitSuggestion_closure() {
  18016. },
  18017. SassNumber_unitSuggestion_closure0: function SassNumber_unitSuggestion_closure0() {
  18018. },
  18019. ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
  18020. var _ = this;
  18021. _._numeratorUnits = t0;
  18022. _._denominatorUnits = t1;
  18023. _._number$_value = t2;
  18024. _.hashCache = null;
  18025. _.asSlash = t3;
  18026. },
  18027. SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
  18028. var _ = this;
  18029. _._unit = t0;
  18030. _._number$_value = t1;
  18031. _.hashCache = null;
  18032. _.asSlash = t2;
  18033. },
  18034. SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
  18035. this.$this = t0;
  18036. this.unit = t1;
  18037. },
  18038. SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
  18039. this.$this = t0;
  18040. },
  18041. SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
  18042. this._box_0 = t0;
  18043. this.$this = t1;
  18044. },
  18045. SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
  18046. this._box_0 = t0;
  18047. this.$this = t1;
  18048. },
  18049. UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
  18050. this._number$_value = t0;
  18051. this.hashCache = null;
  18052. this.asSlash = t1;
  18053. },
  18054. SassString$(_text, quotes) {
  18055. return new A.SassString(_text, quotes);
  18056. },
  18057. SassString: function SassString(t0, t1) {
  18058. var _ = this;
  18059. _._string$_text = t0;
  18060. _._hasQuotes = t1;
  18061. _.__SassString__sassLength_FI = $;
  18062. _._hashCache = null;
  18063. },
  18064. AnySelectorVisitor: function AnySelectorVisitor() {
  18065. },
  18066. AnySelectorVisitor_visitComplexSelector_closure: function AnySelectorVisitor_visitComplexSelector_closure(t0) {
  18067. this.$this = t0;
  18068. },
  18069. AnySelectorVisitor_visitCompoundSelector_closure: function AnySelectorVisitor_visitCompoundSelector_closure(t0) {
  18070. this.$this = t0;
  18071. },
  18072. _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  18073. var t1 = type$.Uri,
  18074. t2 = type$.Module_AsyncCallable,
  18075. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  18076. 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, A.AsyncEnvironment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty_null);
  18077. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  18078. return t1;
  18079. },
  18080. _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  18081. var _ = this;
  18082. _._async_evaluate$_importCache = t0;
  18083. _._async_evaluate$_nodeImporter = t1;
  18084. _._async_evaluate$_builtInFunctions = t2;
  18085. _._async_evaluate$_builtInModules = t3;
  18086. _._async_evaluate$_modules = t4;
  18087. _._async_evaluate$_moduleConfigurations = t5;
  18088. _._async_evaluate$_moduleNodes = t6;
  18089. _._async_evaluate$_logger = t7;
  18090. _._async_evaluate$_warningsEmitted = t8;
  18091. _._async_evaluate$_quietDeps = t9;
  18092. _._async_evaluate$_sourceMap = t10;
  18093. _._async_evaluate$_environment = t11;
  18094. _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQuerySources = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
  18095. _._async_evaluate$_member = "root stylesheet";
  18096. _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = _._async_evaluate$_currentCallable = null;
  18097. _._async_evaluate$_inSupportsDeclaration = _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
  18098. _._async_evaluate$_loadedUrls = t12;
  18099. _._async_evaluate$_activeModules = t13;
  18100. _._async_evaluate$_stack = t14;
  18101. _._async_evaluate$_importer = null;
  18102. _._async_evaluate$_inDependency = false;
  18103. _._async_evaluate$__extensionStore = _._async_evaluate$_preModuleComments = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
  18104. _._async_evaluate$_configuration = t15;
  18105. },
  18106. _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
  18107. this.$this = t0;
  18108. },
  18109. _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
  18110. this.$this = t0;
  18111. },
  18112. _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
  18113. this.$this = t0;
  18114. },
  18115. _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
  18116. this.$this = t0;
  18117. },
  18118. _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
  18119. this.$this = t0;
  18120. },
  18121. _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
  18122. this.$this = t0;
  18123. },
  18124. _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
  18125. this.$this = t0;
  18126. },
  18127. _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
  18128. this.$this = t0;
  18129. },
  18130. _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
  18131. this.$this = t0;
  18132. },
  18133. _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0, t1, t2) {
  18134. this.$this = t0;
  18135. this.name = t1;
  18136. this.module = t2;
  18137. },
  18138. _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
  18139. this.$this = t0;
  18140. },
  18141. _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
  18142. this.$this = t0;
  18143. this.name = t1;
  18144. this.module = t2;
  18145. },
  18146. _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
  18147. this.$this = t0;
  18148. },
  18149. _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
  18150. this.$this = t0;
  18151. },
  18152. _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0, t1, t2) {
  18153. this.values = t0;
  18154. this.span = t1;
  18155. this.callableNode = t2;
  18156. },
  18157. _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0) {
  18158. this.$this = t0;
  18159. },
  18160. _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
  18161. this.$this = t0;
  18162. },
  18163. _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
  18164. this.$this = t0;
  18165. this.node = t1;
  18166. this.importer = t2;
  18167. },
  18168. _EvaluateVisitor_run__closure0: function _EvaluateVisitor_run__closure0(t0, t1, t2) {
  18169. this.$this = t0;
  18170. this.importer = t1;
  18171. this.node = t2;
  18172. },
  18173. _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
  18174. this._box_0 = t0;
  18175. this.callback = t1;
  18176. },
  18177. _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
  18178. var _ = this;
  18179. _.$this = t0;
  18180. _.url = t1;
  18181. _.nodeWithSpan = t2;
  18182. _.baseUrl = t3;
  18183. _.namesInErrors = t4;
  18184. _.configuration = t5;
  18185. _.callback = t6;
  18186. },
  18187. _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
  18188. this.$this = t0;
  18189. this.message = t1;
  18190. },
  18191. _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1, t2) {
  18192. this._box_1 = t0;
  18193. this.callback = t1;
  18194. this.firstLoad = t2;
  18195. },
  18196. _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5, t6) {
  18197. var _ = this;
  18198. _.$this = t0;
  18199. _.importer = t1;
  18200. _.stylesheet = t2;
  18201. _.extensionStore = t3;
  18202. _.configuration = t4;
  18203. _.css = t5;
  18204. _.preModuleComments = t6;
  18205. },
  18206. _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
  18207. },
  18208. _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2(t0) {
  18209. this.selectors = t0;
  18210. },
  18211. _EvaluateVisitor__combineCss_visitModule0: function _EvaluateVisitor__combineCss_visitModule0(t0, t1, t2, t3, t4, t5) {
  18212. var _ = this;
  18213. _.$this = t0;
  18214. _.seen = t1;
  18215. _.clone = t2;
  18216. _.css = t3;
  18217. _.imports = t4;
  18218. _.sorted = t5;
  18219. },
  18220. _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
  18221. this.originalSelectors = t0;
  18222. },
  18223. _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
  18224. },
  18225. _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
  18226. this.$this = t0;
  18227. this.node = t1;
  18228. },
  18229. _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
  18230. this.$this = t0;
  18231. this.node = t1;
  18232. },
  18233. _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
  18234. this.$this = t0;
  18235. this.newParent = t1;
  18236. this.node = t2;
  18237. },
  18238. _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
  18239. this.$this = t0;
  18240. this.innerScope = t1;
  18241. },
  18242. _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
  18243. this.$this = t0;
  18244. this.innerScope = t1;
  18245. },
  18246. _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
  18247. this.innerScope = t0;
  18248. this.callback = t1;
  18249. },
  18250. _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
  18251. this.$this = t0;
  18252. this.innerScope = t1;
  18253. },
  18254. _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
  18255. },
  18256. _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
  18257. this.$this = t0;
  18258. this.innerScope = t1;
  18259. },
  18260. _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
  18261. this.$this = t0;
  18262. this.content = t1;
  18263. },
  18264. _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
  18265. this._box_0 = t0;
  18266. this.$this = t1;
  18267. },
  18268. _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
  18269. this._box_0 = t0;
  18270. this.$this = t1;
  18271. this.nodeWithSpan = t2;
  18272. },
  18273. _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
  18274. this._box_1 = t0;
  18275. this.$this = t1;
  18276. this.nodeWithSpan = t2;
  18277. },
  18278. _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
  18279. var _ = this;
  18280. _.$this = t0;
  18281. _.list = t1;
  18282. _.setVariables = t2;
  18283. _.node = t3;
  18284. },
  18285. _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
  18286. this.$this = t0;
  18287. this.setVariables = t1;
  18288. this.node = t2;
  18289. },
  18290. _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
  18291. this.$this = t0;
  18292. },
  18293. _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
  18294. this.$this = t0;
  18295. },
  18296. _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1, t2) {
  18297. this.$this = t0;
  18298. this.name = t1;
  18299. this.children = t2;
  18300. },
  18301. _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
  18302. this.$this = t0;
  18303. this.children = t1;
  18304. },
  18305. _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
  18306. },
  18307. _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
  18308. this.$this = t0;
  18309. this.node = t1;
  18310. },
  18311. _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
  18312. this.$this = t0;
  18313. this.node = t1;
  18314. },
  18315. _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
  18316. this.fromNumber = t0;
  18317. },
  18318. _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
  18319. this.toNumber = t0;
  18320. this.fromNumber = t1;
  18321. },
  18322. _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
  18323. var _ = this;
  18324. _._box_0 = t0;
  18325. _.$this = t1;
  18326. _.node = t2;
  18327. _.from = t3;
  18328. _.direction = t4;
  18329. _.fromNumber = t5;
  18330. },
  18331. _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
  18332. this.$this = t0;
  18333. },
  18334. _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
  18335. this.$this = t0;
  18336. this.node = t1;
  18337. },
  18338. _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
  18339. this.$this = t0;
  18340. this.node = t1;
  18341. },
  18342. _EvaluateVisitor__registerCommentsForModule_closure0: function _EvaluateVisitor__registerCommentsForModule_closure0() {
  18343. },
  18344. _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0) {
  18345. this.$this = t0;
  18346. },
  18347. _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0, t1) {
  18348. this.$this = t0;
  18349. this.clause = t1;
  18350. },
  18351. _EvaluateVisitor_visitIfRule___closure0: function _EvaluateVisitor_visitIfRule___closure0(t0) {
  18352. this.$this = t0;
  18353. },
  18354. _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
  18355. this.$this = t0;
  18356. this.$import = t1;
  18357. },
  18358. _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
  18359. this.$this = t0;
  18360. },
  18361. _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
  18362. },
  18363. _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
  18364. },
  18365. _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4) {
  18366. var _ = this;
  18367. _._box_0 = t0;
  18368. _.$this = t1;
  18369. _.loadsUserDefinedModules = t2;
  18370. _.environment = t3;
  18371. _.children = t4;
  18372. },
  18373. _EvaluateVisitor__applyMixin_closure1: function _EvaluateVisitor__applyMixin_closure1(t0, t1, t2, t3) {
  18374. var _ = this;
  18375. _.$this = t0;
  18376. _.$arguments = t1;
  18377. _.mixin = t2;
  18378. _.nodeWithSpanWithoutContent = t3;
  18379. },
  18380. _EvaluateVisitor__applyMixin__closure2: function _EvaluateVisitor__applyMixin__closure2(t0, t1, t2, t3) {
  18381. var _ = this;
  18382. _.$this = t0;
  18383. _.$arguments = t1;
  18384. _.mixin = t2;
  18385. _.nodeWithSpanWithoutContent = t3;
  18386. },
  18387. _EvaluateVisitor__applyMixin_closure2: function _EvaluateVisitor__applyMixin_closure2(t0, t1, t2, t3) {
  18388. var _ = this;
  18389. _.$this = t0;
  18390. _.contentCallable = t1;
  18391. _.mixin = t2;
  18392. _.nodeWithSpanWithoutContent = t3;
  18393. },
  18394. _EvaluateVisitor__applyMixin__closure1: function _EvaluateVisitor__applyMixin__closure1(t0, t1, t2) {
  18395. this.$this = t0;
  18396. this.mixin = t1;
  18397. this.nodeWithSpanWithoutContent = t2;
  18398. },
  18399. _EvaluateVisitor__applyMixin___closure0: function _EvaluateVisitor__applyMixin___closure0(t0, t1, t2) {
  18400. this.$this = t0;
  18401. this.mixin = t1;
  18402. this.nodeWithSpanWithoutContent = t2;
  18403. },
  18404. _EvaluateVisitor__applyMixin____closure0: function _EvaluateVisitor__applyMixin____closure0(t0, t1) {
  18405. this.$this = t0;
  18406. this.statement = t1;
  18407. },
  18408. _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0, t1) {
  18409. this.$this = t0;
  18410. this.node = t1;
  18411. },
  18412. _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0) {
  18413. this.$this = t0;
  18414. },
  18415. _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
  18416. this.node = t0;
  18417. },
  18418. _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
  18419. this.$this = t0;
  18420. this.queries = t1;
  18421. },
  18422. _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3, t4) {
  18423. var _ = this;
  18424. _.$this = t0;
  18425. _.mergedQueries = t1;
  18426. _.queries = t2;
  18427. _.mergedSources = t3;
  18428. _.node = t4;
  18429. },
  18430. _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
  18431. this.$this = t0;
  18432. this.node = t1;
  18433. },
  18434. _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
  18435. this.$this = t0;
  18436. this.node = t1;
  18437. },
  18438. _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
  18439. this.mergedSources = t0;
  18440. },
  18441. _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3(t0, t1) {
  18442. this.$this = t0;
  18443. this.node = t1;
  18444. },
  18445. _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4() {
  18446. },
  18447. _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6(t0, t1, t2) {
  18448. this.$this = t0;
  18449. this.rule = t1;
  18450. this.node = t2;
  18451. },
  18452. _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
  18453. this.$this = t0;
  18454. this.node = t1;
  18455. },
  18456. _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
  18457. },
  18458. _EvaluateVisitor__warnForBogusCombinators_closure0: function _EvaluateVisitor__warnForBogusCombinators_closure0() {
  18459. },
  18460. _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
  18461. this.$this = t0;
  18462. this.node = t1;
  18463. },
  18464. _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
  18465. this.$this = t0;
  18466. this.node = t1;
  18467. },
  18468. _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
  18469. },
  18470. _EvaluateVisitor__visitSupportsCondition_closure0: function _EvaluateVisitor__visitSupportsCondition_closure0(t0, t1) {
  18471. this._box_0 = t0;
  18472. this.$this = t1;
  18473. },
  18474. _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
  18475. this._box_0 = t0;
  18476. this.$this = t1;
  18477. this.node = t2;
  18478. },
  18479. _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
  18480. this.$this = t0;
  18481. this.node = t1;
  18482. },
  18483. _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
  18484. this.$this = t0;
  18485. this.node = t1;
  18486. this.value = t2;
  18487. },
  18488. _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
  18489. this.$this = t0;
  18490. this.node = t1;
  18491. },
  18492. _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
  18493. this.$this = t0;
  18494. this.node = t1;
  18495. },
  18496. _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
  18497. this.$this = t0;
  18498. this.node = t1;
  18499. },
  18500. _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
  18501. this.$this = t0;
  18502. },
  18503. _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
  18504. this.$this = t0;
  18505. this.node = t1;
  18506. },
  18507. _EvaluateVisitor__slash_recommendation0: function _EvaluateVisitor__slash_recommendation0() {
  18508. },
  18509. _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
  18510. this.$this = t0;
  18511. this.node = t1;
  18512. },
  18513. _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
  18514. this.node = t0;
  18515. this.operand = t1;
  18516. },
  18517. _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
  18518. this.$this = t0;
  18519. },
  18520. _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1) {
  18521. this.$this = t0;
  18522. this.node = t1;
  18523. },
  18524. _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3() {
  18525. },
  18526. _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
  18527. this._box_0 = t0;
  18528. this.$this = t1;
  18529. this.node = t2;
  18530. },
  18531. _EvaluateVisitor__visitCalculation_closure0: function _EvaluateVisitor__visitCalculation_closure0(t0, t1) {
  18532. this.$this = t0;
  18533. this.node = t1;
  18534. },
  18535. _EvaluateVisitor__checkCalculationArguments_check0: function _EvaluateVisitor__checkCalculationArguments_check0(t0, t1) {
  18536. this.$this = t0;
  18537. this.node = t1;
  18538. },
  18539. _EvaluateVisitor__visitCalculationExpression_closure0: function _EvaluateVisitor__visitCalculationExpression_closure0(t0, t1, t2, t3) {
  18540. var _ = this;
  18541. _._box_0 = t0;
  18542. _.$this = t1;
  18543. _.node = t2;
  18544. _.inLegacySassFunction = t3;
  18545. },
  18546. _EvaluateVisitor__visitCalculationExpression__closure0: function _EvaluateVisitor__visitCalculationExpression__closure0(t0, t1) {
  18547. this.$this = t0;
  18548. this.node = t1;
  18549. },
  18550. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
  18551. this.$this = t0;
  18552. this.node = t1;
  18553. this.$function = t2;
  18554. },
  18555. _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
  18556. var _ = this;
  18557. _.$this = t0;
  18558. _.callable = t1;
  18559. _.evaluated = t2;
  18560. _.nodeWithSpan = t3;
  18561. _.run = t4;
  18562. _.V = t5;
  18563. },
  18564. _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
  18565. var _ = this;
  18566. _.$this = t0;
  18567. _.evaluated = t1;
  18568. _.callable = t2;
  18569. _.nodeWithSpan = t3;
  18570. _.run = t4;
  18571. _.V = t5;
  18572. },
  18573. _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
  18574. var _ = this;
  18575. _.$this = t0;
  18576. _.evaluated = t1;
  18577. _.callable = t2;
  18578. _.nodeWithSpan = t3;
  18579. _.run = t4;
  18580. _.V = t5;
  18581. },
  18582. _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
  18583. },
  18584. _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
  18585. this.$this = t0;
  18586. this.callable = t1;
  18587. },
  18588. _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2(t0, t1, t2) {
  18589. this._box_0 = t0;
  18590. this.evaluated = t1;
  18591. this.namedSet = t2;
  18592. },
  18593. _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1) {
  18594. this._box_0 = t0;
  18595. this.evaluated = t1;
  18596. },
  18597. _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
  18598. },
  18599. _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
  18600. },
  18601. _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
  18602. this.$this = t0;
  18603. this.restNodeForSpan = t1;
  18604. },
  18605. _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
  18606. var _ = this;
  18607. _.$this = t0;
  18608. _.named = t1;
  18609. _.restNodeForSpan = t2;
  18610. _.namedNodes = t3;
  18611. },
  18612. _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
  18613. },
  18614. _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
  18615. this.restArgs = t0;
  18616. },
  18617. _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
  18618. this.$this = t0;
  18619. this.restNodeForSpan = t1;
  18620. this.restArgs = t2;
  18621. },
  18622. _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
  18623. var _ = this;
  18624. _.$this = t0;
  18625. _.named = t1;
  18626. _.restNodeForSpan = t2;
  18627. _.restArgs = t3;
  18628. },
  18629. _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
  18630. this.$this = t0;
  18631. this.keywordRestNodeForSpan = t1;
  18632. this.keywordRestArgs = t2;
  18633. },
  18634. _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
  18635. var _ = this;
  18636. _.$this = t0;
  18637. _.values = t1;
  18638. _.convert = t2;
  18639. _.expressionNode = t3;
  18640. _.map = t4;
  18641. _.nodeWithSpan = t5;
  18642. },
  18643. _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
  18644. this.parameters = t0;
  18645. this.positional = t1;
  18646. this.named = t2;
  18647. },
  18648. _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
  18649. this.$this = t0;
  18650. this.node = t1;
  18651. },
  18652. _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
  18653. },
  18654. _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
  18655. this.$this = t0;
  18656. this.node = t1;
  18657. },
  18658. _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
  18659. },
  18660. _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
  18661. this.$this = t0;
  18662. this.node = t1;
  18663. },
  18664. _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2, t3) {
  18665. var _ = this;
  18666. _.$this = t0;
  18667. _.mergedQueries = t1;
  18668. _.node = t2;
  18669. _.mergedSources = t3;
  18670. },
  18671. _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
  18672. this.$this = t0;
  18673. this.node = t1;
  18674. },
  18675. _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
  18676. this.$this = t0;
  18677. this.node = t1;
  18678. },
  18679. _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
  18680. this.mergedSources = t0;
  18681. },
  18682. _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2(t0, t1, t2) {
  18683. this.$this = t0;
  18684. this.rule = t1;
  18685. this.node = t2;
  18686. },
  18687. _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
  18688. this.$this = t0;
  18689. this.node = t1;
  18690. },
  18691. _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1() {
  18692. },
  18693. _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
  18694. this.$this = t0;
  18695. this.node = t1;
  18696. },
  18697. _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
  18698. this.$this = t0;
  18699. this.node = t1;
  18700. },
  18701. _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
  18702. },
  18703. _EvaluateVisitor__performInterpolationHelper_closure0: function _EvaluateVisitor__performInterpolationHelper_closure0(t0) {
  18704. this.interpolation = t0;
  18705. },
  18706. _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
  18707. this.value = t0;
  18708. this.quote = t1;
  18709. },
  18710. _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
  18711. this.$this = t0;
  18712. this.expression = t1;
  18713. },
  18714. _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
  18715. },
  18716. _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
  18717. this.$this = t0;
  18718. },
  18719. _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
  18720. this._async_evaluate$_visitor = t0;
  18721. },
  18722. _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
  18723. },
  18724. _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
  18725. this.hasBeenMerged = t0;
  18726. },
  18727. _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
  18728. },
  18729. _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
  18730. },
  18731. _EvaluationContext0: function _EvaluationContext0(t0, t1) {
  18732. this._async_evaluate$_visitor = t0;
  18733. this._async_evaluate$_defaultWarnNodeWithSpan = t1;
  18734. },
  18735. cloneCssStylesheet(stylesheet, extensionStore) {
  18736. var _0_0 = extensionStore.clone$0();
  18737. return new A._Record_2(new A._CloneCssVisitor(_0_0._1)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), _0_0._0);
  18738. },
  18739. _CloneCssVisitor: function _CloneCssVisitor(t0) {
  18740. this._oldToNewSelectors = t0;
  18741. },
  18742. _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  18743. var t1 = type$.Uri,
  18744. t2 = type$.Module_Callable,
  18745. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  18746. 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, A.Environment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty_null);
  18747. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  18748. return t1;
  18749. },
  18750. Evaluator: function Evaluator(t0, t1) {
  18751. this._visitor = t0;
  18752. this._importer = t1;
  18753. },
  18754. _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  18755. var _ = this;
  18756. _._evaluate$_importCache = t0;
  18757. _._evaluate$_nodeImporter = t1;
  18758. _._builtInFunctions = t2;
  18759. _._builtInModules = t3;
  18760. _._modules = t4;
  18761. _._moduleConfigurations = t5;
  18762. _._moduleNodes = t6;
  18763. _._logger = t7;
  18764. _._warningsEmitted = t8;
  18765. _._quietDeps = t9;
  18766. _._sourceMap = t10;
  18767. _._environment = t11;
  18768. _._declarationName = _.__parent = _._mediaQuerySources = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
  18769. _._member = "root stylesheet";
  18770. _._importSpan = _._callableNode = _._currentCallable = null;
  18771. _._inSupportsDeclaration = _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
  18772. _._loadedUrls = t12;
  18773. _._activeModules = t13;
  18774. _._stack = t14;
  18775. _._importer = null;
  18776. _._inDependency = false;
  18777. _.__extensionStore = _._preModuleComments = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
  18778. _._configuration = t15;
  18779. },
  18780. _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
  18781. this.$this = t0;
  18782. },
  18783. _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
  18784. this.$this = t0;
  18785. },
  18786. _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
  18787. this.$this = t0;
  18788. },
  18789. _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
  18790. this.$this = t0;
  18791. },
  18792. _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
  18793. this.$this = t0;
  18794. },
  18795. _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
  18796. this.$this = t0;
  18797. },
  18798. _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
  18799. this.$this = t0;
  18800. },
  18801. _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
  18802. this.$this = t0;
  18803. },
  18804. _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
  18805. this.$this = t0;
  18806. },
  18807. _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
  18808. this.$this = t0;
  18809. this.name = t1;
  18810. this.module = t2;
  18811. },
  18812. _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
  18813. this.$this = t0;
  18814. },
  18815. _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
  18816. this.$this = t0;
  18817. this.name = t1;
  18818. this.module = t2;
  18819. },
  18820. _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
  18821. this.$this = t0;
  18822. },
  18823. _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
  18824. this.$this = t0;
  18825. },
  18826. _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
  18827. this.values = t0;
  18828. this.span = t1;
  18829. this.callableNode = t2;
  18830. },
  18831. _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
  18832. this.$this = t0;
  18833. },
  18834. _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
  18835. this.$this = t0;
  18836. },
  18837. _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
  18838. this.$this = t0;
  18839. this.node = t1;
  18840. this.importer = t2;
  18841. },
  18842. _EvaluateVisitor_run__closure: function _EvaluateVisitor_run__closure(t0, t1, t2) {
  18843. this.$this = t0;
  18844. this.importer = t1;
  18845. this.node = t2;
  18846. },
  18847. _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
  18848. this.$this = t0;
  18849. this.importer = t1;
  18850. this.expression = t2;
  18851. },
  18852. _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
  18853. this.$this = t0;
  18854. this.expression = t1;
  18855. },
  18856. _EvaluateVisitor_runExpression___closure: function _EvaluateVisitor_runExpression___closure(t0, t1) {
  18857. this.$this = t0;
  18858. this.expression = t1;
  18859. },
  18860. _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
  18861. this.$this = t0;
  18862. this.importer = t1;
  18863. this.statement = t2;
  18864. },
  18865. _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
  18866. this.$this = t0;
  18867. this.statement = t1;
  18868. },
  18869. _EvaluateVisitor_runStatement___closure: function _EvaluateVisitor_runStatement___closure(t0, t1) {
  18870. this.$this = t0;
  18871. this.statement = t1;
  18872. },
  18873. _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
  18874. this._box_0 = t0;
  18875. this.callback = t1;
  18876. },
  18877. _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
  18878. var _ = this;
  18879. _.$this = t0;
  18880. _.url = t1;
  18881. _.nodeWithSpan = t2;
  18882. _.baseUrl = t3;
  18883. _.namesInErrors = t4;
  18884. _.configuration = t5;
  18885. _.callback = t6;
  18886. },
  18887. _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
  18888. this.$this = t0;
  18889. this.message = t1;
  18890. },
  18891. _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1, t2) {
  18892. this._box_1 = t0;
  18893. this.callback = t1;
  18894. this.firstLoad = t2;
  18895. },
  18896. _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5, t6) {
  18897. var _ = this;
  18898. _.$this = t0;
  18899. _.importer = t1;
  18900. _.stylesheet = t2;
  18901. _.extensionStore = t3;
  18902. _.configuration = t4;
  18903. _.css = t5;
  18904. _.preModuleComments = t6;
  18905. },
  18906. _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
  18907. },
  18908. _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
  18909. this.selectors = t0;
  18910. },
  18911. _EvaluateVisitor__combineCss_visitModule: function _EvaluateVisitor__combineCss_visitModule(t0, t1, t2, t3, t4, t5) {
  18912. var _ = this;
  18913. _.$this = t0;
  18914. _.seen = t1;
  18915. _.clone = t2;
  18916. _.css = t3;
  18917. _.imports = t4;
  18918. _.sorted = t5;
  18919. },
  18920. _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
  18921. this.originalSelectors = t0;
  18922. },
  18923. _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
  18924. },
  18925. _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
  18926. this.$this = t0;
  18927. this.node = t1;
  18928. },
  18929. _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
  18930. this.$this = t0;
  18931. this.node = t1;
  18932. },
  18933. _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
  18934. this.$this = t0;
  18935. this.newParent = t1;
  18936. this.node = t2;
  18937. },
  18938. _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
  18939. this.$this = t0;
  18940. this.innerScope = t1;
  18941. },
  18942. _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
  18943. this.$this = t0;
  18944. this.innerScope = t1;
  18945. },
  18946. _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
  18947. this.innerScope = t0;
  18948. this.callback = t1;
  18949. },
  18950. _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
  18951. this.$this = t0;
  18952. this.innerScope = t1;
  18953. },
  18954. _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
  18955. },
  18956. _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
  18957. this.$this = t0;
  18958. this.innerScope = t1;
  18959. },
  18960. _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
  18961. this.$this = t0;
  18962. this.content = t1;
  18963. },
  18964. _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0, t1) {
  18965. this._box_0 = t0;
  18966. this.$this = t1;
  18967. },
  18968. _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
  18969. this._box_0 = t0;
  18970. this.$this = t1;
  18971. this.nodeWithSpan = t2;
  18972. },
  18973. _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
  18974. this._box_1 = t0;
  18975. this.$this = t1;
  18976. this.nodeWithSpan = t2;
  18977. },
  18978. _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
  18979. var _ = this;
  18980. _.$this = t0;
  18981. _.list = t1;
  18982. _.setVariables = t2;
  18983. _.node = t3;
  18984. },
  18985. _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
  18986. this.$this = t0;
  18987. this.setVariables = t1;
  18988. this.node = t2;
  18989. },
  18990. _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
  18991. this.$this = t0;
  18992. },
  18993. _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
  18994. this.$this = t0;
  18995. },
  18996. _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1, t2) {
  18997. this.$this = t0;
  18998. this.name = t1;
  18999. this.children = t2;
  19000. },
  19001. _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
  19002. this.$this = t0;
  19003. this.children = t1;
  19004. },
  19005. _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
  19006. },
  19007. _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
  19008. this.$this = t0;
  19009. this.node = t1;
  19010. },
  19011. _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
  19012. this.$this = t0;
  19013. this.node = t1;
  19014. },
  19015. _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
  19016. this.fromNumber = t0;
  19017. },
  19018. _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
  19019. this.toNumber = t0;
  19020. this.fromNumber = t1;
  19021. },
  19022. _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
  19023. var _ = this;
  19024. _._box_0 = t0;
  19025. _.$this = t1;
  19026. _.node = t2;
  19027. _.from = t3;
  19028. _.direction = t4;
  19029. _.fromNumber = t5;
  19030. },
  19031. _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
  19032. this.$this = t0;
  19033. },
  19034. _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
  19035. this.$this = t0;
  19036. this.node = t1;
  19037. },
  19038. _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
  19039. this.$this = t0;
  19040. this.node = t1;
  19041. },
  19042. _EvaluateVisitor__registerCommentsForModule_closure: function _EvaluateVisitor__registerCommentsForModule_closure() {
  19043. },
  19044. _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0) {
  19045. this.$this = t0;
  19046. },
  19047. _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0, t1) {
  19048. this.$this = t0;
  19049. this.clause = t1;
  19050. },
  19051. _EvaluateVisitor_visitIfRule___closure: function _EvaluateVisitor_visitIfRule___closure(t0) {
  19052. this.$this = t0;
  19053. },
  19054. _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
  19055. this.$this = t0;
  19056. this.$import = t1;
  19057. },
  19058. _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
  19059. this.$this = t0;
  19060. },
  19061. _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
  19062. },
  19063. _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
  19064. },
  19065. _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4) {
  19066. var _ = this;
  19067. _._box_0 = t0;
  19068. _.$this = t1;
  19069. _.loadsUserDefinedModules = t2;
  19070. _.environment = t3;
  19071. _.children = t4;
  19072. },
  19073. _EvaluateVisitor__applyMixin_closure: function _EvaluateVisitor__applyMixin_closure(t0, t1, t2, t3) {
  19074. var _ = this;
  19075. _.$this = t0;
  19076. _.$arguments = t1;
  19077. _.mixin = t2;
  19078. _.nodeWithSpanWithoutContent = t3;
  19079. },
  19080. _EvaluateVisitor__applyMixin__closure0: function _EvaluateVisitor__applyMixin__closure0(t0, t1, t2, t3) {
  19081. var _ = this;
  19082. _.$this = t0;
  19083. _.$arguments = t1;
  19084. _.mixin = t2;
  19085. _.nodeWithSpanWithoutContent = t3;
  19086. },
  19087. _EvaluateVisitor__applyMixin_closure0: function _EvaluateVisitor__applyMixin_closure0(t0, t1, t2, t3) {
  19088. var _ = this;
  19089. _.$this = t0;
  19090. _.contentCallable = t1;
  19091. _.mixin = t2;
  19092. _.nodeWithSpanWithoutContent = t3;
  19093. },
  19094. _EvaluateVisitor__applyMixin__closure: function _EvaluateVisitor__applyMixin__closure(t0, t1, t2) {
  19095. this.$this = t0;
  19096. this.mixin = t1;
  19097. this.nodeWithSpanWithoutContent = t2;
  19098. },
  19099. _EvaluateVisitor__applyMixin___closure: function _EvaluateVisitor__applyMixin___closure(t0, t1, t2) {
  19100. this.$this = t0;
  19101. this.mixin = t1;
  19102. this.nodeWithSpanWithoutContent = t2;
  19103. },
  19104. _EvaluateVisitor__applyMixin____closure: function _EvaluateVisitor__applyMixin____closure(t0, t1) {
  19105. this.$this = t0;
  19106. this.statement = t1;
  19107. },
  19108. _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
  19109. this.$this = t0;
  19110. this.node = t1;
  19111. },
  19112. _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
  19113. this.$this = t0;
  19114. },
  19115. _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0) {
  19116. this.node = t0;
  19117. },
  19118. _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
  19119. this.$this = t0;
  19120. this.queries = t1;
  19121. },
  19122. _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3, t4) {
  19123. var _ = this;
  19124. _.$this = t0;
  19125. _.mergedQueries = t1;
  19126. _.queries = t2;
  19127. _.mergedSources = t3;
  19128. _.node = t4;
  19129. },
  19130. _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
  19131. this.$this = t0;
  19132. this.node = t1;
  19133. },
  19134. _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
  19135. this.$this = t0;
  19136. this.node = t1;
  19137. },
  19138. _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
  19139. this.mergedSources = t0;
  19140. },
  19141. _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
  19142. this.$this = t0;
  19143. this.node = t1;
  19144. },
  19145. _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0() {
  19146. },
  19147. _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2(t0, t1, t2) {
  19148. this.$this = t0;
  19149. this.rule = t1;
  19150. this.node = t2;
  19151. },
  19152. _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
  19153. this.$this = t0;
  19154. this.node = t1;
  19155. },
  19156. _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1() {
  19157. },
  19158. _EvaluateVisitor__warnForBogusCombinators_closure: function _EvaluateVisitor__warnForBogusCombinators_closure() {
  19159. },
  19160. _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
  19161. this.$this = t0;
  19162. this.node = t1;
  19163. },
  19164. _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
  19165. this.$this = t0;
  19166. this.node = t1;
  19167. },
  19168. _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
  19169. },
  19170. _EvaluateVisitor__visitSupportsCondition_closure: function _EvaluateVisitor__visitSupportsCondition_closure(t0, t1) {
  19171. this._box_0 = t0;
  19172. this.$this = t1;
  19173. },
  19174. _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
  19175. this._box_0 = t0;
  19176. this.$this = t1;
  19177. this.node = t2;
  19178. },
  19179. _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
  19180. this.$this = t0;
  19181. this.node = t1;
  19182. },
  19183. _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
  19184. this.$this = t0;
  19185. this.node = t1;
  19186. this.value = t2;
  19187. },
  19188. _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
  19189. this.$this = t0;
  19190. this.node = t1;
  19191. },
  19192. _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
  19193. this.$this = t0;
  19194. this.node = t1;
  19195. },
  19196. _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
  19197. this.$this = t0;
  19198. this.node = t1;
  19199. },
  19200. _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
  19201. this.$this = t0;
  19202. },
  19203. _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
  19204. this.$this = t0;
  19205. this.node = t1;
  19206. },
  19207. _EvaluateVisitor__slash_recommendation: function _EvaluateVisitor__slash_recommendation() {
  19208. },
  19209. _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
  19210. this.$this = t0;
  19211. this.node = t1;
  19212. },
  19213. _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
  19214. this.node = t0;
  19215. this.operand = t1;
  19216. },
  19217. _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
  19218. this.$this = t0;
  19219. },
  19220. _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
  19221. this.$this = t0;
  19222. this.node = t1;
  19223. },
  19224. _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0() {
  19225. },
  19226. _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1, t2) {
  19227. this._box_0 = t0;
  19228. this.$this = t1;
  19229. this.node = t2;
  19230. },
  19231. _EvaluateVisitor__visitCalculation_closure: function _EvaluateVisitor__visitCalculation_closure(t0, t1) {
  19232. this.$this = t0;
  19233. this.node = t1;
  19234. },
  19235. _EvaluateVisitor__checkCalculationArguments_check: function _EvaluateVisitor__checkCalculationArguments_check(t0, t1) {
  19236. this.$this = t0;
  19237. this.node = t1;
  19238. },
  19239. _EvaluateVisitor__visitCalculationExpression_closure: function _EvaluateVisitor__visitCalculationExpression_closure(t0, t1, t2, t3) {
  19240. var _ = this;
  19241. _._box_0 = t0;
  19242. _.$this = t1;
  19243. _.node = t2;
  19244. _.inLegacySassFunction = t3;
  19245. },
  19246. _EvaluateVisitor__visitCalculationExpression__closure: function _EvaluateVisitor__visitCalculationExpression__closure(t0, t1) {
  19247. this.$this = t0;
  19248. this.node = t1;
  19249. },
  19250. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
  19251. this.$this = t0;
  19252. this.node = t1;
  19253. this.$function = t2;
  19254. },
  19255. _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
  19256. var _ = this;
  19257. _.$this = t0;
  19258. _.callable = t1;
  19259. _.evaluated = t2;
  19260. _.nodeWithSpan = t3;
  19261. _.run = t4;
  19262. _.V = t5;
  19263. },
  19264. _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
  19265. var _ = this;
  19266. _.$this = t0;
  19267. _.evaluated = t1;
  19268. _.callable = t2;
  19269. _.nodeWithSpan = t3;
  19270. _.run = t4;
  19271. _.V = t5;
  19272. },
  19273. _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
  19274. var _ = this;
  19275. _.$this = t0;
  19276. _.evaluated = t1;
  19277. _.callable = t2;
  19278. _.nodeWithSpan = t3;
  19279. _.run = t4;
  19280. _.V = t5;
  19281. },
  19282. _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
  19283. },
  19284. _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
  19285. this.$this = t0;
  19286. this.callable = t1;
  19287. },
  19288. _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
  19289. this._box_0 = t0;
  19290. this.evaluated = t1;
  19291. this.namedSet = t2;
  19292. },
  19293. _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0(t0, t1) {
  19294. this._box_0 = t0;
  19295. this.evaluated = t1;
  19296. },
  19297. _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1() {
  19298. },
  19299. _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
  19300. },
  19301. _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
  19302. this.$this = t0;
  19303. this.restNodeForSpan = t1;
  19304. },
  19305. _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
  19306. var _ = this;
  19307. _.$this = t0;
  19308. _.named = t1;
  19309. _.restNodeForSpan = t2;
  19310. _.namedNodes = t3;
  19311. },
  19312. _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
  19313. },
  19314. _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
  19315. this.restArgs = t0;
  19316. },
  19317. _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
  19318. this.$this = t0;
  19319. this.restNodeForSpan = t1;
  19320. this.restArgs = t2;
  19321. },
  19322. _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
  19323. var _ = this;
  19324. _.$this = t0;
  19325. _.named = t1;
  19326. _.restNodeForSpan = t2;
  19327. _.restArgs = t3;
  19328. },
  19329. _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
  19330. this.$this = t0;
  19331. this.keywordRestNodeForSpan = t1;
  19332. this.keywordRestArgs = t2;
  19333. },
  19334. _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
  19335. var _ = this;
  19336. _.$this = t0;
  19337. _.values = t1;
  19338. _.convert = t2;
  19339. _.expressionNode = t3;
  19340. _.map = t4;
  19341. _.nodeWithSpan = t5;
  19342. },
  19343. _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
  19344. this.parameters = t0;
  19345. this.positional = t1;
  19346. this.named = t2;
  19347. },
  19348. _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
  19349. this.$this = t0;
  19350. this.node = t1;
  19351. },
  19352. _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
  19353. },
  19354. _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  19355. this.$this = t0;
  19356. this.node = t1;
  19357. },
  19358. _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
  19359. },
  19360. _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
  19361. this.$this = t0;
  19362. this.node = t1;
  19363. },
  19364. _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2, t3) {
  19365. var _ = this;
  19366. _.$this = t0;
  19367. _.mergedQueries = t1;
  19368. _.node = t2;
  19369. _.mergedSources = t3;
  19370. },
  19371. _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
  19372. this.$this = t0;
  19373. this.node = t1;
  19374. },
  19375. _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
  19376. this.$this = t0;
  19377. this.node = t1;
  19378. },
  19379. _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
  19380. this.mergedSources = t0;
  19381. },
  19382. _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0(t0, t1, t2) {
  19383. this.$this = t0;
  19384. this.rule = t1;
  19385. this.node = t2;
  19386. },
  19387. _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
  19388. this.$this = t0;
  19389. this.node = t1;
  19390. },
  19391. _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure() {
  19392. },
  19393. _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
  19394. this.$this = t0;
  19395. this.node = t1;
  19396. },
  19397. _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
  19398. this.$this = t0;
  19399. this.node = t1;
  19400. },
  19401. _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
  19402. },
  19403. _EvaluateVisitor__performInterpolationHelper_closure: function _EvaluateVisitor__performInterpolationHelper_closure(t0) {
  19404. this.interpolation = t0;
  19405. },
  19406. _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
  19407. this.value = t0;
  19408. this.quote = t1;
  19409. },
  19410. _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
  19411. this.$this = t0;
  19412. this.expression = t1;
  19413. },
  19414. _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
  19415. },
  19416. _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
  19417. this.$this = t0;
  19418. },
  19419. _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
  19420. this._visitor = t0;
  19421. },
  19422. _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
  19423. },
  19424. _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
  19425. this.hasBeenMerged = t0;
  19426. },
  19427. _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
  19428. },
  19429. _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
  19430. },
  19431. _EvaluationContext: function _EvaluationContext(t0, t1) {
  19432. this._visitor = t0;
  19433. this._defaultWarnNodeWithSpan = t1;
  19434. },
  19435. EveryCssVisitor: function EveryCssVisitor() {
  19436. },
  19437. EveryCssVisitor_visitCssAtRule_closure: function EveryCssVisitor_visitCssAtRule_closure(t0) {
  19438. this.$this = t0;
  19439. },
  19440. EveryCssVisitor_visitCssKeyframeBlock_closure: function EveryCssVisitor_visitCssKeyframeBlock_closure(t0) {
  19441. this.$this = t0;
  19442. },
  19443. EveryCssVisitor_visitCssMediaRule_closure: function EveryCssVisitor_visitCssMediaRule_closure(t0) {
  19444. this.$this = t0;
  19445. },
  19446. EveryCssVisitor_visitCssStyleRule_closure: function EveryCssVisitor_visitCssStyleRule_closure(t0) {
  19447. this.$this = t0;
  19448. },
  19449. EveryCssVisitor_visitCssStylesheet_closure: function EveryCssVisitor_visitCssStylesheet_closure(t0) {
  19450. this.$this = t0;
  19451. },
  19452. EveryCssVisitor_visitCssSupportsRule_closure: function EveryCssVisitor_visitCssSupportsRule_closure(t0) {
  19453. this.$this = t0;
  19454. },
  19455. expressionToCalc(expression) {
  19456. var t4,
  19457. t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe.visitBinaryOperationExpression$1(0, expression)], type$.JSArray_Expression),
  19458. t2 = expression.get$span(0),
  19459. t3 = type$.Expression;
  19460. t1 = A.List_List$unmodifiable(t1, t3);
  19461. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty5, type$.String, t3);
  19462. t4 = expression.get$span(0);
  19463. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked("calc", "_", "-"), "calc", new A.ArgumentList(t1, t3, null, null, t2), t4);
  19464. },
  19465. _MakeExpressionCalculationSafe: function _MakeExpressionCalculationSafe() {
  19466. },
  19467. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor() {
  19468. },
  19469. _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1, t2, t3, t4) {
  19470. var _ = this;
  19471. _._find_dependencies$_uses = t0;
  19472. _._find_dependencies$_forwards = t1;
  19473. _._metaLoadCss = t2;
  19474. _._imports = t3;
  19475. _._metaNamespaces = t4;
  19476. },
  19477. DependencyReport: function DependencyReport(t0, t1, t2, t3) {
  19478. var _ = this;
  19479. _.uses = t0;
  19480. _.forwards = t1;
  19481. _.metaLoadCss = t2;
  19482. _.imports = t3;
  19483. },
  19484. __FindDependenciesVisitor_Object_RecursiveStatementVisitor: function __FindDependenciesVisitor_Object_RecursiveStatementVisitor() {
  19485. },
  19486. IsCalculationSafeVisitor: function IsCalculationSafeVisitor() {
  19487. },
  19488. IsCalculationSafeVisitor_visitListExpression_closure: function IsCalculationSafeVisitor_visitListExpression_closure(t0) {
  19489. this.$this = t0;
  19490. },
  19491. RecursiveStatementVisitor: function RecursiveStatementVisitor() {
  19492. },
  19493. ReplaceExpressionVisitor: function ReplaceExpressionVisitor() {
  19494. },
  19495. ReplaceExpressionVisitor_visitListExpression_closure: function ReplaceExpressionVisitor_visitListExpression_closure(t0) {
  19496. this.$this = t0;
  19497. },
  19498. ReplaceExpressionVisitor_visitArgumentList_closure: function ReplaceExpressionVisitor_visitArgumentList_closure(t0) {
  19499. this.$this = t0;
  19500. },
  19501. ReplaceExpressionVisitor_visitInterpolation_closure: function ReplaceExpressionVisitor_visitInterpolation_closure(t0) {
  19502. this.$this = t0;
  19503. },
  19504. SelectorSearchVisitor: function SelectorSearchVisitor() {
  19505. },
  19506. SelectorSearchVisitor_visitComplexSelector_closure: function SelectorSearchVisitor_visitComplexSelector_closure(t0) {
  19507. this.$this = t0;
  19508. },
  19509. SelectorSearchVisitor_visitCompoundSelector_closure: function SelectorSearchVisitor_visitCompoundSelector_closure(t0) {
  19510. this.$this = t0;
  19511. },
  19512. serialize(node, charset, indentWidth, inspect, lineFeed, logger, sourceMap, style, useSpaces) {
  19513. var t1, css, t2, prefix,
  19514. visitor = A._SerializeVisitor$(2, inspect, lineFeed, logger, true, sourceMap, style, true);
  19515. node.accept$1(visitor);
  19516. t1 = visitor._serialize$_buffer;
  19517. css = t1.toString$0(0);
  19518. if (charset) {
  19519. t2 = new A.CodeUnits(css);
  19520. t2 = t2.any$1(t2, new A.serialize_closure());
  19521. } else
  19522. t2 = false;
  19523. if (t2)
  19524. prefix = style === B.OutputStyle_1 ? "\ufeff" : '@charset "UTF-8";\n';
  19525. else
  19526. prefix = "";
  19527. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  19528. return new A._Record_2_sourceMap(prefix + css, t1);
  19529. },
  19530. serializeValue(value, inspect, quote) {
  19531. var _null = null,
  19532. visitor = A._SerializeVisitor$(_null, inspect, _null, _null, quote, false, _null, true);
  19533. value.accept$1(visitor);
  19534. return visitor._serialize$_buffer.toString$0(0);
  19535. },
  19536. serializeSelector(selector, inspect) {
  19537. var _null = null,
  19538. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  19539. selector.accept$1(visitor);
  19540. return visitor._serialize$_buffer.toString$0(0);
  19541. },
  19542. _SerializeVisitor$(indentWidth, inspect, lineFeed, logger, quote, sourceMap, style, useSpaces) {
  19543. var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
  19544. t2 = style == null ? B.OutputStyle_0 : style,
  19545. t3 = indentWidth == null ? 2 : indentWidth,
  19546. t4 = logger == null ? B.StderrLogger_false : logger;
  19547. A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
  19548. return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.LineFeed_lf, t4);
  19549. },
  19550. serialize_closure: function serialize_closure() {
  19551. },
  19552. _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6, t7) {
  19553. var _ = this;
  19554. _._serialize$_buffer = t0;
  19555. _._indentation = 0;
  19556. _._style = t1;
  19557. _._inspect = t2;
  19558. _._quote = t3;
  19559. _._indentCharacter = t4;
  19560. _._indentWidth = t5;
  19561. _._serialize$_lineFeed = t6;
  19562. _._serialize$_logger = t7;
  19563. },
  19564. _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
  19565. this.$this = t0;
  19566. this.node = t1;
  19567. },
  19568. _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
  19569. this.$this = t0;
  19570. this.node = t1;
  19571. },
  19572. _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
  19573. this.$this = t0;
  19574. this.node = t1;
  19575. },
  19576. _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
  19577. this.$this = t0;
  19578. this.node = t1;
  19579. },
  19580. _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
  19581. this.$this = t0;
  19582. this.node = t1;
  19583. },
  19584. _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  19585. this.$this = t0;
  19586. this.node = t1;
  19587. },
  19588. _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
  19589. this.$this = t0;
  19590. this.node = t1;
  19591. },
  19592. _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
  19593. this.$this = t0;
  19594. this.node = t1;
  19595. },
  19596. _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
  19597. this.$this = t0;
  19598. this.node = t1;
  19599. },
  19600. _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
  19601. this.$this = t0;
  19602. this.node = t1;
  19603. },
  19604. _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
  19605. },
  19606. _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
  19607. this.$this = t0;
  19608. this.value = t1;
  19609. },
  19610. _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
  19611. this.$this = t0;
  19612. },
  19613. _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
  19614. this.$this = t0;
  19615. },
  19616. _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
  19617. },
  19618. _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
  19619. this.$this = t0;
  19620. this.value = t1;
  19621. },
  19622. _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1) {
  19623. this.$this = t0;
  19624. this.child = t1;
  19625. },
  19626. _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1) {
  19627. this.$this = t0;
  19628. this.child = t1;
  19629. },
  19630. OutputStyle: function OutputStyle(t0) {
  19631. this._name = t0;
  19632. },
  19633. LineFeed: function LineFeed(t0) {
  19634. this._name = t0;
  19635. },
  19636. StatementSearchVisitor: function StatementSearchVisitor() {
  19637. },
  19638. StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
  19639. this.$this = t0;
  19640. },
  19641. StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
  19642. this.$this = t0;
  19643. },
  19644. StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
  19645. this.$this = t0;
  19646. },
  19647. StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
  19648. this.$this = t0;
  19649. },
  19650. StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
  19651. this.$this = t0;
  19652. },
  19653. Entry: function Entry(t0, t1, t2) {
  19654. this.source = t0;
  19655. this.target = t1;
  19656. this.identifierName = t2;
  19657. },
  19658. SingleMapping_SingleMapping$fromEntries(entries) {
  19659. var lines, t1, t2, urls, names, files, targetEntries, t3, lineNum, _i, sourceEntry, t4, t5, sourceUrl, t6, urlId,
  19660. sourceEntries = J.toList$0$ax(entries);
  19661. B.JSArray_methods.sort$0(sourceEntries);
  19662. lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
  19663. t1 = type$.String;
  19664. t2 = type$.int;
  19665. urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  19666. names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  19667. files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
  19668. targetEntries = A._Cell$();
  19669. for (t2 = sourceEntries.length, t3 = type$.JSArray_TargetEntry, lineNum = null, _i = 0; _i < sourceEntries.length; sourceEntries.length === t2 || (0, A.throwConcurrentModificationError)(sourceEntries), ++_i) {
  19670. sourceEntry = sourceEntries[_i];
  19671. if (lineNum == null || sourceEntry.target.line > lineNum) {
  19672. lineNum = sourceEntry.target.line;
  19673. t4 = A._setArrayType([], t3);
  19674. targetEntries.__late_helper$_value = t4;
  19675. lines.push(new A.TargetLineEntry(lineNum, t4));
  19676. }
  19677. t4 = sourceEntry.source;
  19678. t5 = t4.file;
  19679. sourceUrl = t5.url;
  19680. t6 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
  19681. urlId = urls.putIfAbsent$2(t6, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
  19682. files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
  19683. t6 = targetEntries.__late_helper$_value;
  19684. if (t6 === targetEntries)
  19685. A.throwExpression(A.LateError$localNI(""));
  19686. t4 = t4.offset;
  19687. J.add$1$ax(t6, new A.TargetEntry(sourceEntry.target.column, urlId, t5.getLine$1(t4), t5.getColumn$1(t4), null));
  19688. }
  19689. t2 = urls.$ti;
  19690. t3 = t2._eval$1("LinkedHashMapValuesIterable<2>");
  19691. t3 = A.MappedIterable_MappedIterable(new A.LinkedHashMapValuesIterable(urls, t3), new A.SingleMapping_SingleMapping$fromEntries_closure1(files), t3._eval$1("Iterable.E"), type$.nullable_SourceFile);
  19692. t3 = A.List_List$of(t3, true, A._instanceType(t3)._eval$1("Iterable.E"));
  19693. t2 = t2._eval$1("LinkedHashMapKeysIterable<1>");
  19694. t4 = names.$ti._eval$1("LinkedHashMapKeysIterable<1>");
  19695. return new A.SingleMapping(A.List_List$of(new A.LinkedHashMapKeysIterable(urls, t2), true, t2._eval$1("Iterable.E")), A.List_List$of(new A.LinkedHashMapKeysIterable(names, t4), true, t4._eval$1("Iterable.E")), t3, lines, null, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.dynamic));
  19696. },
  19697. Mapping: function Mapping() {
  19698. },
  19699. SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
  19700. var _ = this;
  19701. _.urls = t0;
  19702. _.names = t1;
  19703. _.files = t2;
  19704. _.lines = t3;
  19705. _.targetUrl = t4;
  19706. _.sourceRoot = null;
  19707. _.extensions = t5;
  19708. },
  19709. SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
  19710. this.urls = t0;
  19711. },
  19712. SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
  19713. this.sourceEntry = t0;
  19714. },
  19715. SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
  19716. this.files = t0;
  19717. },
  19718. SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
  19719. },
  19720. SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
  19721. this.result = t0;
  19722. },
  19723. TargetLineEntry: function TargetLineEntry(t0, t1) {
  19724. this.line = t0;
  19725. this.entries = t1;
  19726. },
  19727. TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
  19728. var _ = this;
  19729. _.column = t0;
  19730. _.sourceUrlId = t1;
  19731. _.sourceLine = t2;
  19732. _.sourceColumn = t3;
  19733. _.sourceNameId = t4;
  19734. },
  19735. SourceFile$fromString(text, url) {
  19736. var t1 = new A.CodeUnits(text),
  19737. t2 = A._setArrayType([0], type$.JSArray_int),
  19738. t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  19739. t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
  19740. t2.SourceFile$decoded$2$url(t1, url);
  19741. return t2;
  19742. },
  19743. SourceFile$decoded(decodedChars, url) {
  19744. var t1 = A._setArrayType([0], type$.JSArray_int),
  19745. t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  19746. t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
  19747. t1.SourceFile$decoded$2$url(decodedChars, url);
  19748. return t1;
  19749. },
  19750. FileLocation$_(file, offset) {
  19751. if (offset < 0)
  19752. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  19753. else if (offset > file._decodedChars.length)
  19754. A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_n + file.get$length(0) + "."));
  19755. return new A.FileLocation(file, offset);
  19756. },
  19757. _FileSpan$(file, _start, _end) {
  19758. if (_end < _start)
  19759. A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
  19760. else if (_end > file._decodedChars.length)
  19761. A.throwExpression(A.RangeError$("End " + _end + string$.x20must_n + file.get$length(0) + "."));
  19762. else if (_start < 0)
  19763. A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
  19764. return new A._FileSpan(file, _start, _end);
  19765. },
  19766. FileSpanExtension_subspan(_this, start, end) {
  19767. var t1, startOffset, t2;
  19768. A.RangeError_checkValidRange(start, end, _this.get$length(_this));
  19769. if (start === 0)
  19770. t1 = end == null || end === _this.get$length(_this);
  19771. else
  19772. t1 = false;
  19773. if (t1)
  19774. return _this;
  19775. startOffset = _this.get$start(_this).offset;
  19776. t1 = _this.get$file(_this);
  19777. t2 = end == null ? _this.get$end(_this).offset : startOffset + end;
  19778. return t1.span$2(0, startOffset + start, t2);
  19779. },
  19780. SourceFile: function SourceFile(t0, t1, t2) {
  19781. var _ = this;
  19782. _.url = t0;
  19783. _._lineStarts = t1;
  19784. _._decodedChars = t2;
  19785. _._cachedLine = null;
  19786. },
  19787. FileLocation: function FileLocation(t0, t1) {
  19788. this.file = t0;
  19789. this.offset = t1;
  19790. },
  19791. _FileSpan: function _FileSpan(t0, t1, t2) {
  19792. this.file = t0;
  19793. this._file$_start = t1;
  19794. this._end = t2;
  19795. },
  19796. Highlighter$(span, color) {
  19797. var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
  19798. t2 = new A.Highlighter_closure(color).call$0(),
  19799. t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
  19800. t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
  19801. t5 = A._arrayInstanceType(t1);
  19802. 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(""));
  19803. },
  19804. Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
  19805. var t2, t3, t4, t5, t6,
  19806. t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
  19807. for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  19808. t3 = t2.get$current(t2);
  19809. t1.push(A._Highlight$(t3.key, t3.value, false));
  19810. }
  19811. t1 = A.Highlighter__collateLines(t1);
  19812. if (color)
  19813. t2 = primaryColor == null ? "\x1b[31m" : primaryColor;
  19814. else
  19815. t2 = null;
  19816. if (color)
  19817. t3 = "\x1b[34m";
  19818. else
  19819. t3 = null;
  19820. t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
  19821. t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
  19822. t6 = A._arrayInstanceType(t1);
  19823. 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(""));
  19824. },
  19825. Highlighter__contiguous(lines) {
  19826. var i, thisLine, nextLine;
  19827. for (i = 0; i < lines.length - 1;) {
  19828. thisLine = lines[i];
  19829. ++i;
  19830. nextLine = lines[i];
  19831. if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
  19832. return false;
  19833. }
  19834. return true;
  19835. },
  19836. Highlighter__collateLines(highlights) {
  19837. var t1, t2,
  19838. highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
  19839. for (t1 = new A.LinkedHashMapValueIterator(highlightsByUrl, highlightsByUrl.__js_helper$_modifications, highlightsByUrl.__js_helper$_first); t1.moveNext$0();)
  19840. J.sort$1$ax(t1.__js_helper$_current, new A.Highlighter__collateLines_closure0());
  19841. t1 = A._instanceType(highlightsByUrl)._eval$1("LinkedHashMapEntriesIterable<1,2>");
  19842. t2 = t1._eval$1("ExpandIterable<Iterable.E,_Line>");
  19843. return A.List_List$of(new A.ExpandIterable(new A.LinkedHashMapEntriesIterable(highlightsByUrl, t1), new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E"));
  19844. },
  19845. _Highlight$(span, label, primary) {
  19846. var t2,
  19847. t1 = new A._Highlight_closure(span).call$0();
  19848. if (label == null)
  19849. t2 = null;
  19850. else
  19851. t2 = A.stringReplaceAllUnchecked(label, "\r\n", "\n");
  19852. return new A._Highlight(t1, primary, t2);
  19853. },
  19854. _Highlight__normalizeNewlines(span) {
  19855. var endOffset, t1, i, t2, t3, t4,
  19856. text = span.get$text();
  19857. if (!B.JSString_methods.contains$1(text, "\r\n"))
  19858. return span;
  19859. endOffset = span.get$end(span).get$offset();
  19860. for (t1 = text.length - 1, i = 0; i < t1; ++i)
  19861. if (text.charCodeAt(i) === 13 && text.charCodeAt(i + 1) === 10)
  19862. --endOffset;
  19863. t1 = span.get$start(span);
  19864. t2 = span.get$sourceUrl(span);
  19865. t3 = span.get$end(span).get$line();
  19866. t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
  19867. t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
  19868. t4 = span.get$context(span);
  19869. return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
  19870. },
  19871. _Highlight__normalizeTrailingNewline(span) {
  19872. var context, text, start, end, t1, t2, t3;
  19873. if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
  19874. return span;
  19875. if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
  19876. return span;
  19877. context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
  19878. text = span.get$text();
  19879. start = span.get$start(span);
  19880. end = span.get$end(span);
  19881. if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
  19882. t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
  19883. t1.toString;
  19884. t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
  19885. } else
  19886. t1 = false;
  19887. if (t1) {
  19888. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  19889. if (text.length === 0)
  19890. end = start;
  19891. else {
  19892. t1 = span.get$end(span).get$offset();
  19893. t2 = span.get$sourceUrl(span);
  19894. t3 = span.get$end(span).get$line();
  19895. end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
  19896. start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
  19897. }
  19898. }
  19899. return A.SourceSpanWithContext$(start, end, text, context);
  19900. },
  19901. _Highlight__normalizeEndOfLine(span) {
  19902. var text, t1, t2, t3, t4;
  19903. if (span.get$end(span).get$column() !== 0)
  19904. return span;
  19905. if (span.get$end(span).get$line() === span.get$start(span).get$line())
  19906. return span;
  19907. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  19908. t1 = span.get$start(span);
  19909. t2 = span.get$end(span).get$offset();
  19910. t3 = span.get$sourceUrl(span);
  19911. t4 = span.get$end(span).get$line();
  19912. t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
  19913. 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));
  19914. },
  19915. _Highlight__lastLineLength(text) {
  19916. var t1 = text.length;
  19917. if (t1 === 0)
  19918. return 0;
  19919. else if (text.charCodeAt(t1 - 1) === 10)
  19920. return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
  19921. else
  19922. return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
  19923. },
  19924. Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
  19925. var _ = this;
  19926. _._lines = t0;
  19927. _._primaryColor = t1;
  19928. _._secondaryColor = t2;
  19929. _._paddingBeforeSidebar = t3;
  19930. _._maxMultilineSpans = t4;
  19931. _._multipleFiles = t5;
  19932. _._highlighter$_buffer = t6;
  19933. },
  19934. Highlighter_closure: function Highlighter_closure(t0) {
  19935. this.color = t0;
  19936. },
  19937. Highlighter$__closure: function Highlighter$__closure() {
  19938. },
  19939. Highlighter$___closure: function Highlighter$___closure() {
  19940. },
  19941. Highlighter$__closure0: function Highlighter$__closure0() {
  19942. },
  19943. Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
  19944. },
  19945. Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
  19946. },
  19947. Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
  19948. },
  19949. Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
  19950. this.line = t0;
  19951. },
  19952. Highlighter_highlight_closure: function Highlighter_highlight_closure() {
  19953. },
  19954. Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
  19955. this.$this = t0;
  19956. },
  19957. Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
  19958. this.$this = t0;
  19959. this.startLine = t1;
  19960. this.line = t2;
  19961. },
  19962. Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
  19963. this.$this = t0;
  19964. this.highlight = t1;
  19965. },
  19966. Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
  19967. this.$this = t0;
  19968. },
  19969. Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
  19970. var _ = this;
  19971. _._box_0 = t0;
  19972. _.$this = t1;
  19973. _.current = t2;
  19974. _.startLine = t3;
  19975. _.line = t4;
  19976. _.highlight = t5;
  19977. _.endLine = t6;
  19978. },
  19979. Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
  19980. this._box_0 = t0;
  19981. this.$this = t1;
  19982. },
  19983. Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
  19984. this.$this = t0;
  19985. this.vertical = t1;
  19986. },
  19987. Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
  19988. var _ = this;
  19989. _.$this = t0;
  19990. _.text = t1;
  19991. _.startColumn = t2;
  19992. _.endColumn = t3;
  19993. },
  19994. Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
  19995. this.$this = t0;
  19996. this.line = t1;
  19997. this.highlight = t2;
  19998. },
  19999. Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
  20000. this.$this = t0;
  20001. this.line = t1;
  20002. this.highlight = t2;
  20003. },
  20004. Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
  20005. var _ = this;
  20006. _.$this = t0;
  20007. _.coversWholeLine = t1;
  20008. _.line = t2;
  20009. _.highlight = t3;
  20010. },
  20011. Highlighter__writeLabel_closure: function Highlighter__writeLabel_closure(t0, t1) {
  20012. this.$this = t0;
  20013. this.lines = t1;
  20014. },
  20015. Highlighter__writeLabel_closure0: function Highlighter__writeLabel_closure0(t0, t1) {
  20016. this.$this = t0;
  20017. this.text = t1;
  20018. },
  20019. Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
  20020. this._box_0 = t0;
  20021. this.$this = t1;
  20022. this.end = t2;
  20023. },
  20024. _Highlight: function _Highlight(t0, t1, t2) {
  20025. this.span = t0;
  20026. this.isPrimary = t1;
  20027. this.label = t2;
  20028. },
  20029. _Highlight_closure: function _Highlight_closure(t0) {
  20030. this.span = t0;
  20031. },
  20032. _Line: function _Line(t0, t1, t2, t3) {
  20033. var _ = this;
  20034. _.text = t0;
  20035. _.number = t1;
  20036. _.url = t2;
  20037. _.highlights = t3;
  20038. },
  20039. SourceLocation$(offset, column, line, sourceUrl) {
  20040. var t1 = line == null,
  20041. t2 = t1 ? 0 : line,
  20042. t3 = column == null,
  20043. t4 = t3 ? offset : column;
  20044. if (offset < 0)
  20045. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  20046. else if (!t1 && line < 0)
  20047. A.throwExpression(A.RangeError$("Line may not be negative, was " + A.S(line) + "."));
  20048. else if (!t3 && column < 0)
  20049. A.throwExpression(A.RangeError$("Column may not be negative, was " + A.S(column) + "."));
  20050. return new A.SourceLocation(sourceUrl, offset, t2, t4);
  20051. },
  20052. SourceLocation: function SourceLocation(t0, t1, t2, t3) {
  20053. var _ = this;
  20054. _.sourceUrl = t0;
  20055. _.offset = t1;
  20056. _.line = t2;
  20057. _.column = t3;
  20058. },
  20059. SourceLocationMixin: function SourceLocationMixin() {
  20060. },
  20061. SourceSpanExtension_messageMultiple(_this, message, label, secondarySpans, color, primaryColor, secondaryColor) {
  20062. var t2, t3,
  20063. t1 = _this.get$start(_this);
  20064. t1 = t1.file.getLine$1(t1.offset);
  20065. t2 = _this.get$start(_this);
  20066. t2 = "" + ("line " + (t1 + 1) + ", column " + (t2.file.getColumn$1(t2.offset) + 1));
  20067. if (_this.get$sourceUrl(_this) != null) {
  20068. t1 = _this.get$sourceUrl(_this);
  20069. t3 = $.$get$context();
  20070. t1.toString;
  20071. t1 = t2 + (" of " + t3.prettyUri$1(t1));
  20072. } else
  20073. t1 = t2;
  20074. t1 = t1 + (": " + message + "\n") + A.Highlighter$multiple(_this, label, secondarySpans, color, primaryColor, secondaryColor).highlight$0();
  20075. return t1.charCodeAt(0) == 0 ? t1 : t1;
  20076. },
  20077. SourceSpanBase: function SourceSpanBase() {
  20078. },
  20079. SourceSpanException: function SourceSpanException() {
  20080. },
  20081. SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
  20082. this.source = t0;
  20083. this._span_exception$_message = t1;
  20084. this._span = t2;
  20085. },
  20086. MultiSourceSpanException: function MultiSourceSpanException() {
  20087. },
  20088. MultiSourceSpanFormatException: function MultiSourceSpanFormatException(t0, t1, t2, t3, t4) {
  20089. var _ = this;
  20090. _.source = t0;
  20091. _.primaryLabel = t1;
  20092. _.secondarySpans = t2;
  20093. _._span_exception$_message = t3;
  20094. _._span = t4;
  20095. },
  20096. SourceSpanMixin: function SourceSpanMixin() {
  20097. },
  20098. SourceSpanWithContext$(start, end, text, _context) {
  20099. var t1 = new A.SourceSpanWithContext(_context, start, end, text);
  20100. t1.SourceSpanBase$3(start, end, text);
  20101. if (!B.JSString_methods.contains$1(_context, text))
  20102. A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
  20103. if (A.findLineStart(_context, text, start.get$column()) == null)
  20104. A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
  20105. return t1;
  20106. },
  20107. SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
  20108. var _ = this;
  20109. _._context = t0;
  20110. _.start = t1;
  20111. _.end = t2;
  20112. _.text = t3;
  20113. },
  20114. Chain_Chain$parse(chain) {
  20115. var t1, t2,
  20116. _s51_ = string$.x3d_____;
  20117. if (chain.length === 0)
  20118. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
  20119. t1 = $.$get$vmChainGap();
  20120. if (B.JSString_methods.contains$1(chain, t1)) {
  20121. t1 = B.JSString_methods.split$1(chain, t1);
  20122. t2 = A._arrayInstanceType(t1);
  20123. 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));
  20124. }
  20125. if (!B.JSString_methods.contains$1(chain, _s51_))
  20126. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
  20127. 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));
  20128. },
  20129. Chain: function Chain(t0) {
  20130. this.traces = t0;
  20131. },
  20132. Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
  20133. },
  20134. Chain_toTrace_closure: function Chain_toTrace_closure() {
  20135. },
  20136. Chain_toString_closure0: function Chain_toString_closure0() {
  20137. },
  20138. Chain_toString__closure0: function Chain_toString__closure0() {
  20139. },
  20140. Chain_toString_closure: function Chain_toString_closure(t0) {
  20141. this.longest = t0;
  20142. },
  20143. Chain_toString__closure: function Chain_toString__closure(t0) {
  20144. this.longest = t0;
  20145. },
  20146. Frame___parseVM_tearOff(frame) {
  20147. return A.Frame_Frame$parseVM(frame);
  20148. },
  20149. Frame_Frame$parseVM(frame) {
  20150. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
  20151. },
  20152. Frame___parseV8_tearOff(frame) {
  20153. return A.Frame_Frame$parseV8(frame);
  20154. },
  20155. Frame_Frame$parseV8(frame) {
  20156. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
  20157. },
  20158. Frame_Frame$_parseFirefoxEval(frame) {
  20159. return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
  20160. },
  20161. Frame___parseFirefox_tearOff(frame) {
  20162. return A.Frame_Frame$parseFirefox(frame);
  20163. },
  20164. Frame_Frame$parseFirefox(frame) {
  20165. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
  20166. },
  20167. Frame___parseFriendly_tearOff(frame) {
  20168. return A.Frame_Frame$parseFriendly(frame);
  20169. },
  20170. Frame_Frame$parseFriendly(frame) {
  20171. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
  20172. },
  20173. Frame__uriOrPathToUri(uriOrPath) {
  20174. if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
  20175. return A.Uri_parse(uriOrPath);
  20176. else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
  20177. return A._Uri__Uri$file(uriOrPath, true);
  20178. else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
  20179. return A._Uri__Uri$file(uriOrPath, false);
  20180. if (B.JSString_methods.contains$1(uriOrPath, "\\"))
  20181. return $.$get$windows().toUri$1(uriOrPath);
  20182. return A.Uri_parse(uriOrPath);
  20183. },
  20184. Frame__catchFormatException(text, body) {
  20185. var t1, exception;
  20186. try {
  20187. t1 = body.call$0();
  20188. return t1;
  20189. } catch (exception) {
  20190. if (type$.FormatException._is(A.unwrapException(exception)))
  20191. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
  20192. else
  20193. throw exception;
  20194. }
  20195. },
  20196. Frame: function Frame(t0, t1, t2, t3) {
  20197. var _ = this;
  20198. _.uri = t0;
  20199. _.line = t1;
  20200. _.column = t2;
  20201. _.member = t3;
  20202. },
  20203. Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
  20204. this.frame = t0;
  20205. },
  20206. Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
  20207. this.frame = t0;
  20208. },
  20209. Frame_Frame$parseV8_closure_parseJsLocation: function Frame_Frame$parseV8_closure_parseJsLocation(t0) {
  20210. this.frame = t0;
  20211. },
  20212. Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
  20213. this.frame = t0;
  20214. },
  20215. Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
  20216. this.frame = t0;
  20217. },
  20218. Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
  20219. this.frame = t0;
  20220. },
  20221. LazyTrace: function LazyTrace(t0) {
  20222. this._thunk = t0;
  20223. this.__LazyTrace__trace_FI = $;
  20224. },
  20225. LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
  20226. this.$this = t0;
  20227. },
  20228. Trace_Trace$from(trace) {
  20229. if (type$.Trace._is(trace))
  20230. return trace;
  20231. if (trace instanceof A.Chain)
  20232. return trace.toTrace$0();
  20233. return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
  20234. },
  20235. Trace_Trace$parse(trace) {
  20236. var error, t1, exception;
  20237. try {
  20238. if (trace.length === 0) {
  20239. t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
  20240. return t1;
  20241. }
  20242. if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
  20243. t1 = A.Trace$parseV8(trace);
  20244. return t1;
  20245. }
  20246. if (B.JSString_methods.contains$1(trace, "\tat ")) {
  20247. t1 = A.Trace$parseJSCore(trace);
  20248. return t1;
  20249. }
  20250. if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
  20251. t1 = A.Trace$parseFirefox(trace);
  20252. return t1;
  20253. }
  20254. if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
  20255. t1 = A.Chain_Chain$parse(trace).toTrace$0();
  20256. return t1;
  20257. }
  20258. if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
  20259. t1 = A.Trace$parseFriendly(trace);
  20260. return t1;
  20261. }
  20262. t1 = A.Trace$parseVM(trace);
  20263. return t1;
  20264. } catch (exception) {
  20265. t1 = A.unwrapException(exception);
  20266. if (type$.FormatException._is(t1)) {
  20267. error = t1;
  20268. throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
  20269. } else
  20270. throw exception;
  20271. }
  20272. },
  20273. Trace___parseVM_tearOff(trace) {
  20274. return A.Trace$parseVM(trace);
  20275. },
  20276. Trace$parseVM(trace) {
  20277. var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
  20278. return new A.Trace(t1, new A._StringStackTrace(trace));
  20279. },
  20280. Trace__parseVM(trace) {
  20281. var $frames,
  20282. t1 = B.JSString_methods.trim$0(trace),
  20283. t2 = $.$get$vmChainGap(),
  20284. t3 = type$.WhereIterable_String,
  20285. lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
  20286. if (!lines.get$iterator(0).moveNext$0())
  20287. return A._setArrayType([], type$.JSArray_Frame);
  20288. t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(0) - 1, t3._eval$1("Iterable.E"));
  20289. t1 = A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseVM_tearOff$closure(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
  20290. $frames = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  20291. if (!J.endsWith$1$s(lines.get$last(0), ".da"))
  20292. B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(0)));
  20293. return $frames;
  20294. },
  20295. Trace$parseV8(trace) {
  20296. 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()),
  20297. t2 = type$.Frame;
  20298. t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseV8_tearOff$closure(), t1.$ti._eval$1("Iterable.E"), t2), t2);
  20299. return new A.Trace(t2, new A._StringStackTrace(trace));
  20300. },
  20301. Trace$parseJSCore(trace) {
  20302. 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);
  20303. return new A.Trace(t1, new A._StringStackTrace(trace));
  20304. },
  20305. Trace$parseFirefox(trace) {
  20306. 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);
  20307. return new A.Trace(t1, new A._StringStackTrace(trace));
  20308. },
  20309. Trace___parseFriendly_tearOff(trace) {
  20310. return A.Trace$parseFriendly(trace);
  20311. },
  20312. Trace$parseFriendly(trace) {
  20313. 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);
  20314. t1 = A.List_List$unmodifiable(t1, type$.Frame);
  20315. return new A.Trace(t1, new A._StringStackTrace(trace));
  20316. },
  20317. Trace$($frames, original) {
  20318. var t1 = A.List_List$unmodifiable($frames, type$.Frame);
  20319. return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
  20320. },
  20321. Trace: function Trace(t0, t1) {
  20322. this.frames = t0;
  20323. this.original = t1;
  20324. },
  20325. Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
  20326. this.trace = t0;
  20327. },
  20328. Trace__parseVM_closure: function Trace__parseVM_closure() {
  20329. },
  20330. Trace$parseV8_closure: function Trace$parseV8_closure() {
  20331. },
  20332. Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
  20333. },
  20334. Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
  20335. },
  20336. Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
  20337. },
  20338. Trace_terse_closure: function Trace_terse_closure() {
  20339. },
  20340. Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
  20341. this.oldPredicate = t0;
  20342. },
  20343. Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
  20344. this._box_0 = t0;
  20345. },
  20346. Trace_toString_closure0: function Trace_toString_closure0() {
  20347. },
  20348. Trace_toString_closure: function Trace_toString_closure(t0) {
  20349. this.longest = t0;
  20350. },
  20351. UnparsedFrame: function UnparsedFrame(t0, t1) {
  20352. this.uri = t0;
  20353. this.member = t1;
  20354. },
  20355. TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
  20356. var _null = null, t1 = {},
  20357. controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
  20358. t1.subscription = null;
  20359. controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
  20360. return controller.get$stream();
  20361. },
  20362. TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
  20363. sink.addError$2(error, stackTrace);
  20364. },
  20365. TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
  20366. var _ = this;
  20367. _._box_1 = t0;
  20368. _._this = t1;
  20369. _.onData = t2;
  20370. _.controller = t3;
  20371. _.handleError = t4;
  20372. _.handleDone = t5;
  20373. _.S = t6;
  20374. },
  20375. TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
  20376. this.onData = t0;
  20377. this.controller = t1;
  20378. this.S = t2;
  20379. },
  20380. TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
  20381. this.handleError = t0;
  20382. this.controller = t1;
  20383. },
  20384. TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
  20385. this._box_0 = t0;
  20386. this.handleDone = t1;
  20387. this.controller = t2;
  20388. },
  20389. TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
  20390. this._box_1 = t0;
  20391. this._box_0 = t1;
  20392. },
  20393. RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
  20394. var t1 = {};
  20395. t1.soFar = t1.timer = null;
  20396. t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
  20397. 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);
  20398. },
  20399. _collect($event, soFar, $T) {
  20400. var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
  20401. J.add$1$ax(t1, $event);
  20402. return t1;
  20403. },
  20404. RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
  20405. var _ = this;
  20406. _._box_0 = t0;
  20407. _.S = t1;
  20408. _.collect = t2;
  20409. _.leading = t3;
  20410. _.duration = t4;
  20411. _.trailing = t5;
  20412. _.T = t6;
  20413. },
  20414. RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
  20415. this._box_0 = t0;
  20416. this.sink = t1;
  20417. this.S = t2;
  20418. },
  20419. RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
  20420. var _ = this;
  20421. _._box_0 = t0;
  20422. _.trailing = t1;
  20423. _.emit = t2;
  20424. _.sink = t3;
  20425. },
  20426. RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
  20427. this._box_0 = t0;
  20428. this.trailing = t1;
  20429. this.S = t2;
  20430. },
  20431. StringScannerException$(message, span, source) {
  20432. return new A.StringScannerException(source, message, span);
  20433. },
  20434. StringScannerException: function StringScannerException(t0, t1, t2) {
  20435. this.source = t0;
  20436. this._span_exception$_message = t1;
  20437. this._span = t2;
  20438. },
  20439. LineScanner$(string) {
  20440. return new A.LineScanner(null, string);
  20441. },
  20442. LineScanner: function LineScanner(t0, t1) {
  20443. var _ = this;
  20444. _._line_scanner$_column = _._line_scanner$_line = 0;
  20445. _.sourceUrl = t0;
  20446. _.string = t1;
  20447. _._string_scanner$_position = 0;
  20448. _._lastMatchPosition = _._lastMatch = null;
  20449. },
  20450. SpanScanner$(string, sourceUrl) {
  20451. var t2,
  20452. t1 = A.SourceFile$fromString(string, sourceUrl);
  20453. if (sourceUrl == null)
  20454. t2 = null;
  20455. else
  20456. t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  20457. return new A.SpanScanner(t1, t2, string);
  20458. },
  20459. SpanScanner: function SpanScanner(t0, t1, t2) {
  20460. var _ = this;
  20461. _._sourceFile = t0;
  20462. _.sourceUrl = t1;
  20463. _.string = t2;
  20464. _._string_scanner$_position = 0;
  20465. _._lastMatchPosition = _._lastMatch = null;
  20466. },
  20467. _SpanScannerState: function _SpanScannerState(t0, t1) {
  20468. this._scanner = t0;
  20469. this.position = t1;
  20470. },
  20471. StringScanner$(string, position, sourceUrl) {
  20472. var t1;
  20473. if (sourceUrl == null)
  20474. t1 = null;
  20475. else
  20476. t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  20477. return new A.StringScanner(t1, string);
  20478. },
  20479. StringScanner: function StringScanner(t0, t1) {
  20480. var _ = this;
  20481. _.sourceUrl = t0;
  20482. _.string = t1;
  20483. _._string_scanner$_position = 0;
  20484. _._lastMatchPosition = _._lastMatch = null;
  20485. },
  20486. AsciiGlyphSet: function AsciiGlyphSet() {
  20487. },
  20488. UnicodeGlyphSet: function UnicodeGlyphSet() {
  20489. },
  20490. WatchEvent: function WatchEvent(t0, t1) {
  20491. this.type = t0;
  20492. this.path = t1;
  20493. },
  20494. ChangeType: function ChangeType(t0) {
  20495. this._watch_event$_name = t0;
  20496. },
  20497. A98RgbColorSpace0: function A98RgbColorSpace0(t0, t1) {
  20498. this.name = t0;
  20499. this._space$_channels = t1;
  20500. },
  20501. AnySelectorVisitor0: function AnySelectorVisitor0() {
  20502. },
  20503. AnySelectorVisitor_visitComplexSelector_closure0: function AnySelectorVisitor_visitComplexSelector_closure0(t0) {
  20504. this.$this = t0;
  20505. },
  20506. AnySelectorVisitor_visitCompoundSelector_closure0: function AnySelectorVisitor_visitCompoundSelector_closure0(t0) {
  20507. this.$this = t0;
  20508. },
  20509. SupportsAnything0: function SupportsAnything0(t0, t1) {
  20510. this.contents = t0;
  20511. this.span = t1;
  20512. },
  20513. ArgumentList$empty0(span) {
  20514. return new A.ArgumentList0(B.List_empty21, B.Map_empty14, null, null, span);
  20515. },
  20516. ArgumentList0: function ArgumentList0(t0, t1, t2, t3, t4) {
  20517. var _ = this;
  20518. _.positional = t0;
  20519. _.named = t1;
  20520. _.rest = t2;
  20521. _.keywordRest = t3;
  20522. _.span = t4;
  20523. },
  20524. argumentListClass_closure: function argumentListClass_closure() {
  20525. },
  20526. argumentListClass__closure: function argumentListClass__closure() {
  20527. },
  20528. argumentListClass__closure0: function argumentListClass__closure0() {
  20529. },
  20530. SassArgumentList$0(contents, keywords, separator) {
  20531. var t1 = type$.Value_2;
  20532. t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  20533. t1.SassList$3$brackets0(contents, separator, false);
  20534. return t1;
  20535. },
  20536. SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
  20537. var _ = this;
  20538. _._argument_list$_keywords = t0;
  20539. _._argument_list$_wereKeywordsAccessed = false;
  20540. _._list1$_contents = t1;
  20541. _._list1$_separator = t2;
  20542. _._list1$_hasBrackets = t3;
  20543. },
  20544. JSArray1: function JSArray1() {
  20545. },
  20546. AsyncImporter0: function AsyncImporter0() {
  20547. },
  20548. JSToDartAsyncImporter: function JSToDartAsyncImporter(t0, t1, t2) {
  20549. this._async0$_canonicalize = t0;
  20550. this._load = t1;
  20551. this._nonCanonicalSchemes = t2;
  20552. },
  20553. JSToDartAsyncImporter_canonicalize_closure: function JSToDartAsyncImporter_canonicalize_closure(t0, t1) {
  20554. this.$this = t0;
  20555. this.url = t1;
  20556. },
  20557. JSToDartAsyncImporter_load_closure: function JSToDartAsyncImporter_load_closure(t0, t1) {
  20558. this.$this = t0;
  20559. this.url = t1;
  20560. },
  20561. AsyncBuiltInCallable$mixin0($name, parameters, callback, acceptsContent, url) {
  20562. return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + parameters + ") {", url).parseParameterList$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback), false);
  20563. },
  20564. AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2, t3) {
  20565. var _ = this;
  20566. _.name = t0;
  20567. _._async_built_in0$_parameters = t1;
  20568. _._async_built_in0$_callback = t2;
  20569. _.acceptsContent = t3;
  20570. },
  20571. AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
  20572. this.callback = t0;
  20573. },
  20574. AsyncBuiltInCallable_withDeprecationWarning_closure0: function AsyncBuiltInCallable_withDeprecationWarning_closure0(t0, t1, t2) {
  20575. this.$this = t0;
  20576. this.module = t1;
  20577. this.newName = t2;
  20578. },
  20579. compileAsync0(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose) {
  20580. var $async$goto = 0,
  20581. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  20582. $async$returnValue, t3, t4, t0, stylesheet, result, t1, t2;
  20583. var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20584. if ($async$errorCode === 1)
  20585. return A._asyncRethrow($async$result, $async$completer);
  20586. while (true)
  20587. switch ($async$goto) {
  20588. case 0:
  20589. // Function start
  20590. t1 = type$.Deprecation_3;
  20591. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20592. if (silenceDeprecations != null)
  20593. t2.addAll$1(0, silenceDeprecations);
  20594. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20595. if (fatalDeprecations != null)
  20596. t3.addAll$1(0, fatalDeprecations);
  20597. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20598. if (futureDeprecations != null)
  20599. t4.addAll$1(0, futureDeprecations);
  20600. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  20601. logger.validate$0();
  20602. t1 = nodeImporter == null;
  20603. if (t1)
  20604. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  20605. else
  20606. t2 = false;
  20607. $async$goto = t2 ? 3 : 5;
  20608. break;
  20609. case 3:
  20610. // then
  20611. if (importCache == null)
  20612. importCache = A.AsyncImportCache$none();
  20613. t2 = $.$get$FilesystemImporter_cwd0();
  20614. t3 = A.isNodeJs() ? self.process : null;
  20615. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  20616. t3 = A.isNodeJs() ? self.process : null;
  20617. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  20618. } else
  20619. t3 = true;
  20620. if (t3) {
  20621. t3 = $.$get$context();
  20622. t4 = A._realCasePath0(A.absolute(t3.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  20623. t0 = t4;
  20624. t4 = t3;
  20625. t3 = t0;
  20626. } else {
  20627. t3 = $.$get$context();
  20628. t4 = t3.canonicalize$1(0, path);
  20629. t0 = t4;
  20630. t4 = t3;
  20631. t3 = t0;
  20632. }
  20633. $async$goto = 6;
  20634. return A._asyncAwait(importCache.importCanonical$3$originalUrl(t2, t4.toUri$1(t3), t4.toUri$1(path)), $async$compileAsync0);
  20635. case 6:
  20636. // returning from await.
  20637. t4 = $async$result;
  20638. t4.toString;
  20639. stylesheet = t4;
  20640. // goto join
  20641. $async$goto = 4;
  20642. break;
  20643. case 5:
  20644. // else
  20645. t2 = A.readFile0(path);
  20646. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  20647. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, $.$get$context().toUri$1(path));
  20648. case 4:
  20649. // join
  20650. $async$goto = 7;
  20651. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, $.$get$FilesystemImporter_cwd0(), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileAsync0);
  20652. case 7:
  20653. // returning from await.
  20654. result = $async$result;
  20655. logger.summarize$1$js(!t1);
  20656. $async$returnValue = result;
  20657. // goto return
  20658. $async$goto = 1;
  20659. break;
  20660. case 1:
  20661. // return
  20662. return A._asyncReturn($async$returnValue, $async$completer);
  20663. }
  20664. });
  20665. return A._asyncStartSync($async$compileAsync0, $async$completer);
  20666. },
  20667. compileStringAsync0(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose) {
  20668. var $async$goto = 0,
  20669. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  20670. $async$returnValue, t3, t4, stylesheet, result, t1, t2;
  20671. var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20672. if ($async$errorCode === 1)
  20673. return A._asyncRethrow($async$result, $async$completer);
  20674. while (true)
  20675. switch ($async$goto) {
  20676. case 0:
  20677. // Function start
  20678. t1 = type$.Deprecation_3;
  20679. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20680. if (silenceDeprecations != null)
  20681. t2.addAll$1(0, silenceDeprecations);
  20682. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20683. if (fatalDeprecations != null)
  20684. t3.addAll$1(0, fatalDeprecations);
  20685. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20686. if (futureDeprecations != null)
  20687. t4.addAll$1(0, futureDeprecations);
  20688. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  20689. logger.validate$0();
  20690. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, url);
  20691. if (importer == null)
  20692. t1 = A.isBrowser() ? new A.NoOpImporter0() : $.$get$FilesystemImporter_cwd0();
  20693. else
  20694. t1 = importer;
  20695. $async$goto = 3;
  20696. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileStringAsync0);
  20697. case 3:
  20698. // returning from await.
  20699. result = $async$result;
  20700. logger.summarize$1$js(nodeImporter != null);
  20701. $async$returnValue = result;
  20702. // goto return
  20703. $async$goto = 1;
  20704. break;
  20705. case 1:
  20706. // return
  20707. return A._asyncReturn($async$returnValue, $async$completer);
  20708. }
  20709. });
  20710. return A._asyncStartSync($async$compileStringAsync0, $async$completer);
  20711. },
  20712. _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  20713. var $async$goto = 0,
  20714. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  20715. $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
  20716. var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20717. if ($async$errorCode === 1)
  20718. return A._asyncRethrow($async$result, $async$completer);
  20719. while (true)
  20720. switch ($async$goto) {
  20721. case 0:
  20722. // Function start
  20723. if (nodeImporter != null)
  20724. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_F8y, string$.The_le, null, null);
  20725. $async$goto = 3;
  20726. return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
  20727. case 3:
  20728. // returning from await.
  20729. evaluateResult = $async$result;
  20730. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, useSpaces);
  20731. resultSourceMap = serializeResult._1;
  20732. if (resultSourceMap != null && importCache != null)
  20733. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
  20734. $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
  20735. // goto return
  20736. $async$goto = 1;
  20737. break;
  20738. case 1:
  20739. // return
  20740. return A._asyncReturn($async$returnValue, $async$completer);
  20741. }
  20742. });
  20743. return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
  20744. },
  20745. _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
  20746. this.stylesheet = t0;
  20747. this.importCache = t1;
  20748. },
  20749. AsyncEnvironment$0() {
  20750. var t1 = type$.String,
  20751. t2 = type$.Module_AsyncCallable_2,
  20752. t3 = type$.AstNode_2,
  20753. t4 = type$.int,
  20754. t5 = type$.AsyncCallable_2,
  20755. t6 = type$.JSArray_Map_String_AsyncCallable_2;
  20756. 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);
  20757. },
  20758. AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  20759. var t1 = type$.String,
  20760. t2 = type$.int;
  20761. 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);
  20762. },
  20763. _EnvironmentModule__EnvironmentModule2(environment, css, preModuleComments, extensionStore, forwarded) {
  20764. var t1, t2, t3, t4, t5, t6, module, result, t7;
  20765. if (forwarded == null)
  20766. forwarded = B.Set_empty6;
  20767. t1 = type$.dynamic;
  20768. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  20769. 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();) {
  20770. t6 = t4.get$current(t4);
  20771. module = t6._0;
  20772. result = A.List_List$from(t6._1, false, t5);
  20773. result.$flags = 3;
  20774. t1.$indexSet(0, module, result);
  20775. }
  20776. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  20777. t2 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
  20778. 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);
  20779. 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);
  20780. t5 = type$.Map_String_AsyncCallable_2;
  20781. t6 = type$.AsyncCallable_2;
  20782. 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);
  20783. 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);
  20784. 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());
  20785. 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()));
  20786. },
  20787. _EnvironmentModule__makeModulesByVariable2(forwarded) {
  20788. var modulesByVariable, t1, t2, t3, t4, t5;
  20789. if (forwarded.get$isEmpty(forwarded))
  20790. return B.Map_empty17;
  20791. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
  20792. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  20793. t2 = t1.get$current(t1);
  20794. if (t2 instanceof A._EnvironmentModule2) {
  20795. for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  20796. t4 = t3.get$current(t3);
  20797. t5 = t4.get$variables();
  20798. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  20799. }
  20800. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
  20801. } else {
  20802. t3 = t2.get$variables();
  20803. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  20804. }
  20805. }
  20806. return modulesByVariable;
  20807. },
  20808. _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
  20809. var t1, t2, t3;
  20810. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  20811. if (otherMaps.get$isEmpty(otherMaps))
  20812. return localMap;
  20813. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  20814. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  20815. t3 = t2.get$current(t2);
  20816. if (t3.get$isNotEmpty(t3))
  20817. t1.push(t3);
  20818. }
  20819. t1.push(localMap);
  20820. if (t1.length === 1)
  20821. return localMap;
  20822. return A.MergedMapView$0(t1, type$.String, $V);
  20823. },
  20824. _EnvironmentModule$_2(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  20825. return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  20826. },
  20827. AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  20828. var _ = this;
  20829. _._async_environment0$_modules = t0;
  20830. _._async_environment0$_namespaceNodes = t1;
  20831. _._async_environment0$_globalModules = t2;
  20832. _._async_environment0$_importedModules = t3;
  20833. _._async_environment0$_forwardedModules = t4;
  20834. _._async_environment0$_nestedForwardedModules = t5;
  20835. _._async_environment0$_allModules = t6;
  20836. _._async_environment0$_variables = t7;
  20837. _._async_environment0$_variableNodes = t8;
  20838. _._async_environment0$_variableIndices = t9;
  20839. _._async_environment0$_functions = t10;
  20840. _._async_environment0$_functionIndices = t11;
  20841. _._async_environment0$_mixins = t12;
  20842. _._async_environment0$_mixinIndices = t13;
  20843. _._async_environment0$_content = t14;
  20844. _._async_environment0$_inMixin = false;
  20845. _._async_environment0$_inSemiGlobalScope = true;
  20846. _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
  20847. },
  20848. AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
  20849. this.name = t0;
  20850. },
  20851. AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
  20852. this.$this = t0;
  20853. this.name = t1;
  20854. },
  20855. AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
  20856. this.name = t0;
  20857. },
  20858. AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
  20859. this.$this = t0;
  20860. this.name = t1;
  20861. },
  20862. AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
  20863. this.name = t0;
  20864. },
  20865. AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
  20866. this.name = t0;
  20867. },
  20868. AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
  20869. },
  20870. AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
  20871. },
  20872. _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  20873. var _ = this;
  20874. _.upstream = t0;
  20875. _.variables = t1;
  20876. _.variableNodes = t2;
  20877. _.functions = t3;
  20878. _.mixins = t4;
  20879. _.extensionStore = t5;
  20880. _.css = t6;
  20881. _.preModuleComments = t7;
  20882. _.transitivelyContainsCss = t8;
  20883. _.transitivelyContainsExtensions = t9;
  20884. _._async_environment0$_environment = t10;
  20885. _._async_environment0$_modulesByVariable = t11;
  20886. },
  20887. _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
  20888. },
  20889. _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
  20890. },
  20891. _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
  20892. },
  20893. _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
  20894. },
  20895. _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
  20896. },
  20897. _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
  20898. },
  20899. _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  20900. var t4,
  20901. t1 = type$.Uri,
  20902. t2 = type$.Module_AsyncCallable_2,
  20903. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  20904. if (importCache == null)
  20905. t4 = nodeImporter == null ? A.AsyncImportCache$none() : null;
  20906. else
  20907. t4 = importCache;
  20908. 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, A.AsyncEnvironment$0(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode_2), t3, B.Configuration_Map_empty_null0);
  20909. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  20910. return t1;
  20911. },
  20912. _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  20913. var _ = this;
  20914. _._async_evaluate0$_importCache = t0;
  20915. _._async_evaluate0$_nodeImporter = t1;
  20916. _._async_evaluate0$_builtInFunctions = t2;
  20917. _._async_evaluate0$_builtInModules = t3;
  20918. _._async_evaluate0$_modules = t4;
  20919. _._async_evaluate0$_moduleConfigurations = t5;
  20920. _._async_evaluate0$_moduleNodes = t6;
  20921. _._async_evaluate0$_logger = t7;
  20922. _._async_evaluate0$_warningsEmitted = t8;
  20923. _._async_evaluate0$_quietDeps = t9;
  20924. _._async_evaluate0$_sourceMap = t10;
  20925. _._async_evaluate0$_environment = t11;
  20926. _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQuerySources = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  20927. _._async_evaluate0$_member = "root stylesheet";
  20928. _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = _._async_evaluate0$_currentCallable = null;
  20929. _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
  20930. _._async_evaluate0$_loadedUrls = t12;
  20931. _._async_evaluate0$_activeModules = t13;
  20932. _._async_evaluate0$_stack = t14;
  20933. _._async_evaluate0$_importer = null;
  20934. _._async_evaluate0$_inDependency = false;
  20935. _._async_evaluate0$__extensionStore = _._async_evaluate0$_preModuleComments = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
  20936. _._async_evaluate0$_configuration = t15;
  20937. },
  20938. _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
  20939. this.$this = t0;
  20940. },
  20941. _EvaluateVisitor_closure39: function _EvaluateVisitor_closure39(t0) {
  20942. this.$this = t0;
  20943. },
  20944. _EvaluateVisitor_closure40: function _EvaluateVisitor_closure40(t0) {
  20945. this.$this = t0;
  20946. },
  20947. _EvaluateVisitor_closure41: function _EvaluateVisitor_closure41(t0) {
  20948. this.$this = t0;
  20949. },
  20950. _EvaluateVisitor_closure42: function _EvaluateVisitor_closure42(t0) {
  20951. this.$this = t0;
  20952. },
  20953. _EvaluateVisitor_closure43: function _EvaluateVisitor_closure43(t0) {
  20954. this.$this = t0;
  20955. },
  20956. _EvaluateVisitor_closure44: function _EvaluateVisitor_closure44(t0) {
  20957. this.$this = t0;
  20958. },
  20959. _EvaluateVisitor_closure45: function _EvaluateVisitor_closure45(t0) {
  20960. this.$this = t0;
  20961. },
  20962. _EvaluateVisitor_closure46: function _EvaluateVisitor_closure46(t0) {
  20963. this.$this = t0;
  20964. },
  20965. _EvaluateVisitor__closure14: function _EvaluateVisitor__closure14(t0, t1, t2) {
  20966. this.$this = t0;
  20967. this.name = t1;
  20968. this.module = t2;
  20969. },
  20970. _EvaluateVisitor_closure47: function _EvaluateVisitor_closure47(t0) {
  20971. this.$this = t0;
  20972. },
  20973. _EvaluateVisitor__closure13: function _EvaluateVisitor__closure13(t0, t1, t2) {
  20974. this.$this = t0;
  20975. this.name = t1;
  20976. this.module = t2;
  20977. },
  20978. _EvaluateVisitor_closure48: function _EvaluateVisitor_closure48(t0) {
  20979. this.$this = t0;
  20980. },
  20981. _EvaluateVisitor_closure49: function _EvaluateVisitor_closure49(t0) {
  20982. this.$this = t0;
  20983. },
  20984. _EvaluateVisitor__closure11: function _EvaluateVisitor__closure11(t0, t1, t2) {
  20985. this.values = t0;
  20986. this.span = t1;
  20987. this.callableNode = t2;
  20988. },
  20989. _EvaluateVisitor__closure12: function _EvaluateVisitor__closure12(t0) {
  20990. this.$this = t0;
  20991. },
  20992. _EvaluateVisitor_closure50: function _EvaluateVisitor_closure50(t0) {
  20993. this.$this = t0;
  20994. },
  20995. _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
  20996. this.$this = t0;
  20997. this.node = t1;
  20998. this.importer = t2;
  20999. },
  21000. _EvaluateVisitor_run__closure2: function _EvaluateVisitor_run__closure2(t0, t1, t2) {
  21001. this.$this = t0;
  21002. this.importer = t1;
  21003. this.node = t2;
  21004. },
  21005. _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
  21006. this._box_0 = t0;
  21007. this.callback = t1;
  21008. },
  21009. _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
  21010. var _ = this;
  21011. _.$this = t0;
  21012. _.url = t1;
  21013. _.nodeWithSpan = t2;
  21014. _.baseUrl = t3;
  21015. _.namesInErrors = t4;
  21016. _.configuration = t5;
  21017. _.callback = t6;
  21018. },
  21019. _EvaluateVisitor__loadModule__closure5: function _EvaluateVisitor__loadModule__closure5(t0, t1) {
  21020. this.$this = t0;
  21021. this.message = t1;
  21022. },
  21023. _EvaluateVisitor__loadModule__closure6: function _EvaluateVisitor__loadModule__closure6(t0, t1, t2) {
  21024. this._box_1 = t0;
  21025. this.callback = t1;
  21026. this.firstLoad = t2;
  21027. },
  21028. _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5, t6) {
  21029. var _ = this;
  21030. _.$this = t0;
  21031. _.importer = t1;
  21032. _.stylesheet = t2;
  21033. _.extensionStore = t3;
  21034. _.configuration = t4;
  21035. _.css = t5;
  21036. _.preModuleComments = t6;
  21037. },
  21038. _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
  21039. },
  21040. _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
  21041. this.selectors = t0;
  21042. },
  21043. _EvaluateVisitor__combineCss_visitModule2: function _EvaluateVisitor__combineCss_visitModule2(t0, t1, t2, t3, t4, t5) {
  21044. var _ = this;
  21045. _.$this = t0;
  21046. _.seen = t1;
  21047. _.clone = t2;
  21048. _.css = t3;
  21049. _.imports = t4;
  21050. _.sorted = t5;
  21051. },
  21052. _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
  21053. this.originalSelectors = t0;
  21054. },
  21055. _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
  21056. },
  21057. _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
  21058. this.$this = t0;
  21059. this.node = t1;
  21060. },
  21061. _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
  21062. this.$this = t0;
  21063. this.node = t1;
  21064. },
  21065. _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
  21066. this.$this = t0;
  21067. this.newParent = t1;
  21068. this.node = t2;
  21069. },
  21070. _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
  21071. this.$this = t0;
  21072. this.innerScope = t1;
  21073. },
  21074. _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
  21075. this.$this = t0;
  21076. this.innerScope = t1;
  21077. },
  21078. _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
  21079. this.innerScope = t0;
  21080. this.callback = t1;
  21081. },
  21082. _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
  21083. this.$this = t0;
  21084. this.innerScope = t1;
  21085. },
  21086. _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
  21087. },
  21088. _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
  21089. this.$this = t0;
  21090. this.innerScope = t1;
  21091. },
  21092. _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
  21093. this.$this = t0;
  21094. this.content = t1;
  21095. },
  21096. _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
  21097. this._box_0 = t0;
  21098. this.$this = t1;
  21099. },
  21100. _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
  21101. this._box_0 = t0;
  21102. this.$this = t1;
  21103. this.nodeWithSpan = t2;
  21104. },
  21105. _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
  21106. this._box_1 = t0;
  21107. this.$this = t1;
  21108. this.nodeWithSpan = t2;
  21109. },
  21110. _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
  21111. var _ = this;
  21112. _.$this = t0;
  21113. _.list = t1;
  21114. _.setVariables = t2;
  21115. _.node = t3;
  21116. },
  21117. _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
  21118. this.$this = t0;
  21119. this.setVariables = t1;
  21120. this.node = t2;
  21121. },
  21122. _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
  21123. this.$this = t0;
  21124. },
  21125. _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
  21126. this.$this = t0;
  21127. },
  21128. _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1, t2) {
  21129. this.$this = t0;
  21130. this.name = t1;
  21131. this.children = t2;
  21132. },
  21133. _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
  21134. this.$this = t0;
  21135. this.children = t1;
  21136. },
  21137. _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
  21138. },
  21139. _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
  21140. this.$this = t0;
  21141. this.node = t1;
  21142. },
  21143. _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
  21144. this.$this = t0;
  21145. this.node = t1;
  21146. },
  21147. _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
  21148. this.fromNumber = t0;
  21149. },
  21150. _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
  21151. this.toNumber = t0;
  21152. this.fromNumber = t1;
  21153. },
  21154. _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
  21155. var _ = this;
  21156. _._box_0 = t0;
  21157. _.$this = t1;
  21158. _.node = t2;
  21159. _.from = t3;
  21160. _.direction = t4;
  21161. _.fromNumber = t5;
  21162. },
  21163. _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
  21164. this.$this = t0;
  21165. },
  21166. _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
  21167. this.$this = t0;
  21168. this.node = t1;
  21169. },
  21170. _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
  21171. this.$this = t0;
  21172. this.node = t1;
  21173. },
  21174. _EvaluateVisitor__registerCommentsForModule_closure2: function _EvaluateVisitor__registerCommentsForModule_closure2() {
  21175. },
  21176. _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0) {
  21177. this.$this = t0;
  21178. },
  21179. _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0, t1) {
  21180. this.$this = t0;
  21181. this.clause = t1;
  21182. },
  21183. _EvaluateVisitor_visitIfRule___closure2: function _EvaluateVisitor_visitIfRule___closure2(t0) {
  21184. this.$this = t0;
  21185. },
  21186. _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
  21187. this.$this = t0;
  21188. this.$import = t1;
  21189. },
  21190. _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
  21191. this.$this = t0;
  21192. },
  21193. _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
  21194. },
  21195. _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
  21196. },
  21197. _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4) {
  21198. var _ = this;
  21199. _._box_0 = t0;
  21200. _.$this = t1;
  21201. _.loadsUserDefinedModules = t2;
  21202. _.environment = t3;
  21203. _.children = t4;
  21204. },
  21205. _EvaluateVisitor__applyMixin_closure5: function _EvaluateVisitor__applyMixin_closure5(t0, t1, t2, t3) {
  21206. var _ = this;
  21207. _.$this = t0;
  21208. _.$arguments = t1;
  21209. _.mixin = t2;
  21210. _.nodeWithSpanWithoutContent = t3;
  21211. },
  21212. _EvaluateVisitor__applyMixin__closure6: function _EvaluateVisitor__applyMixin__closure6(t0, t1, t2, t3) {
  21213. var _ = this;
  21214. _.$this = t0;
  21215. _.$arguments = t1;
  21216. _.mixin = t2;
  21217. _.nodeWithSpanWithoutContent = t3;
  21218. },
  21219. _EvaluateVisitor__applyMixin_closure6: function _EvaluateVisitor__applyMixin_closure6(t0, t1, t2, t3) {
  21220. var _ = this;
  21221. _.$this = t0;
  21222. _.contentCallable = t1;
  21223. _.mixin = t2;
  21224. _.nodeWithSpanWithoutContent = t3;
  21225. },
  21226. _EvaluateVisitor__applyMixin__closure5: function _EvaluateVisitor__applyMixin__closure5(t0, t1, t2) {
  21227. this.$this = t0;
  21228. this.mixin = t1;
  21229. this.nodeWithSpanWithoutContent = t2;
  21230. },
  21231. _EvaluateVisitor__applyMixin___closure2: function _EvaluateVisitor__applyMixin___closure2(t0, t1, t2) {
  21232. this.$this = t0;
  21233. this.mixin = t1;
  21234. this.nodeWithSpanWithoutContent = t2;
  21235. },
  21236. _EvaluateVisitor__applyMixin____closure2: function _EvaluateVisitor__applyMixin____closure2(t0, t1) {
  21237. this.$this = t0;
  21238. this.statement = t1;
  21239. },
  21240. _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0, t1) {
  21241. this.$this = t0;
  21242. this.node = t1;
  21243. },
  21244. _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0) {
  21245. this.$this = t0;
  21246. },
  21247. _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
  21248. this.node = t0;
  21249. },
  21250. _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
  21251. this.$this = t0;
  21252. this.queries = t1;
  21253. },
  21254. _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3, t4) {
  21255. var _ = this;
  21256. _.$this = t0;
  21257. _.mergedQueries = t1;
  21258. _.queries = t2;
  21259. _.mergedSources = t3;
  21260. _.node = t4;
  21261. },
  21262. _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
  21263. this.$this = t0;
  21264. this.node = t1;
  21265. },
  21266. _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
  21267. this.$this = t0;
  21268. this.node = t1;
  21269. },
  21270. _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
  21271. this.mergedSources = t0;
  21272. },
  21273. _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1) {
  21274. this.$this = t0;
  21275. this.node = t1;
  21276. },
  21277. _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12() {
  21278. },
  21279. _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1, t2) {
  21280. this.$this = t0;
  21281. this.rule = t1;
  21282. this.node = t2;
  21283. },
  21284. _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
  21285. this.$this = t0;
  21286. this.node = t1;
  21287. },
  21288. _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13() {
  21289. },
  21290. _EvaluateVisitor__warnForBogusCombinators_closure2: function _EvaluateVisitor__warnForBogusCombinators_closure2() {
  21291. },
  21292. _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
  21293. this.$this = t0;
  21294. this.node = t1;
  21295. },
  21296. _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
  21297. this.$this = t0;
  21298. this.node = t1;
  21299. },
  21300. _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
  21301. },
  21302. _EvaluateVisitor__visitSupportsCondition_closure2: function _EvaluateVisitor__visitSupportsCondition_closure2(t0, t1) {
  21303. this._box_0 = t0;
  21304. this.$this = t1;
  21305. },
  21306. _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
  21307. this._box_0 = t0;
  21308. this.$this = t1;
  21309. this.node = t2;
  21310. },
  21311. _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
  21312. this.$this = t0;
  21313. this.node = t1;
  21314. },
  21315. _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
  21316. this.$this = t0;
  21317. this.node = t1;
  21318. this.value = t2;
  21319. },
  21320. _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
  21321. this.$this = t0;
  21322. this.node = t1;
  21323. },
  21324. _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
  21325. this.$this = t0;
  21326. this.node = t1;
  21327. },
  21328. _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
  21329. this.$this = t0;
  21330. this.node = t1;
  21331. },
  21332. _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
  21333. this.$this = t0;
  21334. },
  21335. _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
  21336. this.$this = t0;
  21337. this.node = t1;
  21338. },
  21339. _EvaluateVisitor__slash_recommendation2: function _EvaluateVisitor__slash_recommendation2() {
  21340. },
  21341. _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
  21342. this.$this = t0;
  21343. this.node = t1;
  21344. },
  21345. _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
  21346. this.node = t0;
  21347. this.operand = t1;
  21348. },
  21349. _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
  21350. this.$this = t0;
  21351. },
  21352. _EvaluateVisitor_visitFunctionExpression_closure8: function _EvaluateVisitor_visitFunctionExpression_closure8(t0, t1) {
  21353. this.$this = t0;
  21354. this.node = t1;
  21355. },
  21356. _EvaluateVisitor_visitFunctionExpression_closure9: function _EvaluateVisitor_visitFunctionExpression_closure9() {
  21357. },
  21358. _EvaluateVisitor_visitFunctionExpression_closure10: function _EvaluateVisitor_visitFunctionExpression_closure10(t0, t1, t2) {
  21359. this._box_0 = t0;
  21360. this.$this = t1;
  21361. this.node = t2;
  21362. },
  21363. _EvaluateVisitor__visitCalculation_closure2: function _EvaluateVisitor__visitCalculation_closure2(t0, t1) {
  21364. this.$this = t0;
  21365. this.node = t1;
  21366. },
  21367. _EvaluateVisitor__checkCalculationArguments_check2: function _EvaluateVisitor__checkCalculationArguments_check2(t0, t1) {
  21368. this.$this = t0;
  21369. this.node = t1;
  21370. },
  21371. _EvaluateVisitor__visitCalculationExpression_closure2: function _EvaluateVisitor__visitCalculationExpression_closure2(t0, t1, t2, t3) {
  21372. var _ = this;
  21373. _._box_0 = t0;
  21374. _.$this = t1;
  21375. _.node = t2;
  21376. _.inLegacySassFunction = t3;
  21377. },
  21378. _EvaluateVisitor__visitCalculationExpression__closure2: function _EvaluateVisitor__visitCalculationExpression__closure2(t0, t1) {
  21379. this.$this = t0;
  21380. this.node = t1;
  21381. },
  21382. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
  21383. this.$this = t0;
  21384. this.node = t1;
  21385. this.$function = t2;
  21386. },
  21387. _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
  21388. var _ = this;
  21389. _.$this = t0;
  21390. _.callable = t1;
  21391. _.evaluated = t2;
  21392. _.nodeWithSpan = t3;
  21393. _.run = t4;
  21394. _.V = t5;
  21395. },
  21396. _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
  21397. var _ = this;
  21398. _.$this = t0;
  21399. _.evaluated = t1;
  21400. _.callable = t2;
  21401. _.nodeWithSpan = t3;
  21402. _.run = t4;
  21403. _.V = t5;
  21404. },
  21405. _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
  21406. var _ = this;
  21407. _.$this = t0;
  21408. _.evaluated = t1;
  21409. _.callable = t2;
  21410. _.nodeWithSpan = t3;
  21411. _.run = t4;
  21412. _.V = t5;
  21413. },
  21414. _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
  21415. },
  21416. _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
  21417. this.$this = t0;
  21418. this.callable = t1;
  21419. },
  21420. _EvaluateVisitor__runBuiltInCallable_closure8: function _EvaluateVisitor__runBuiltInCallable_closure8(t0, t1, t2) {
  21421. this._box_0 = t0;
  21422. this.evaluated = t1;
  21423. this.namedSet = t2;
  21424. },
  21425. _EvaluateVisitor__runBuiltInCallable_closure9: function _EvaluateVisitor__runBuiltInCallable_closure9(t0, t1) {
  21426. this._box_0 = t0;
  21427. this.evaluated = t1;
  21428. },
  21429. _EvaluateVisitor__runBuiltInCallable_closure10: function _EvaluateVisitor__runBuiltInCallable_closure10() {
  21430. },
  21431. _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
  21432. },
  21433. _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
  21434. this.$this = t0;
  21435. this.restNodeForSpan = t1;
  21436. },
  21437. _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
  21438. var _ = this;
  21439. _.$this = t0;
  21440. _.named = t1;
  21441. _.restNodeForSpan = t2;
  21442. _.namedNodes = t3;
  21443. },
  21444. _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
  21445. },
  21446. _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
  21447. this.restArgs = t0;
  21448. },
  21449. _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
  21450. this.$this = t0;
  21451. this.restNodeForSpan = t1;
  21452. this.restArgs = t2;
  21453. },
  21454. _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
  21455. var _ = this;
  21456. _.$this = t0;
  21457. _.named = t1;
  21458. _.restNodeForSpan = t2;
  21459. _.restArgs = t3;
  21460. },
  21461. _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
  21462. this.$this = t0;
  21463. this.keywordRestNodeForSpan = t1;
  21464. this.keywordRestArgs = t2;
  21465. },
  21466. _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
  21467. var _ = this;
  21468. _.$this = t0;
  21469. _.values = t1;
  21470. _.convert = t2;
  21471. _.expressionNode = t3;
  21472. _.map = t4;
  21473. _.nodeWithSpan = t5;
  21474. },
  21475. _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
  21476. this.parameters = t0;
  21477. this.positional = t1;
  21478. this.named = t2;
  21479. },
  21480. _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
  21481. this.$this = t0;
  21482. this.node = t1;
  21483. },
  21484. _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
  21485. },
  21486. _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
  21487. this.$this = t0;
  21488. this.node = t1;
  21489. },
  21490. _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
  21491. },
  21492. _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
  21493. this.$this = t0;
  21494. this.node = t1;
  21495. },
  21496. _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2, t3) {
  21497. var _ = this;
  21498. _.$this = t0;
  21499. _.mergedQueries = t1;
  21500. _.node = t2;
  21501. _.mergedSources = t3;
  21502. },
  21503. _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
  21504. this.$this = t0;
  21505. this.node = t1;
  21506. },
  21507. _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
  21508. this.$this = t0;
  21509. this.node = t1;
  21510. },
  21511. _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
  21512. this.mergedSources = t0;
  21513. },
  21514. _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6(t0, t1, t2) {
  21515. this.$this = t0;
  21516. this.rule = t1;
  21517. this.node = t2;
  21518. },
  21519. _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
  21520. this.$this = t0;
  21521. this.node = t1;
  21522. },
  21523. _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5() {
  21524. },
  21525. _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
  21526. this.$this = t0;
  21527. this.node = t1;
  21528. },
  21529. _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
  21530. this.$this = t0;
  21531. this.node = t1;
  21532. },
  21533. _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
  21534. },
  21535. _EvaluateVisitor__performInterpolationHelper_closure2: function _EvaluateVisitor__performInterpolationHelper_closure2(t0) {
  21536. this.interpolation = t0;
  21537. },
  21538. _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
  21539. this.value = t0;
  21540. this.quote = t1;
  21541. },
  21542. _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
  21543. this.$this = t0;
  21544. this.expression = t1;
  21545. },
  21546. _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
  21547. },
  21548. _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
  21549. this.$this = t0;
  21550. },
  21551. _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
  21552. this._async_evaluate0$_visitor = t0;
  21553. },
  21554. _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
  21555. },
  21556. _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
  21557. this.hasBeenMerged = t0;
  21558. },
  21559. _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
  21560. },
  21561. _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
  21562. },
  21563. _EvaluationContext2: function _EvaluationContext2(t0, t1) {
  21564. this._async_evaluate0$_visitor = t0;
  21565. this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
  21566. },
  21567. JSToDartAsyncFileImporter: function JSToDartAsyncFileImporter(t0) {
  21568. this._findFileUrl = t0;
  21569. },
  21570. JSToDartAsyncFileImporter_canonicalize_closure: function JSToDartAsyncFileImporter_canonicalize_closure(t0, t1) {
  21571. this.$this = t0;
  21572. this.url = t1;
  21573. },
  21574. AsyncImportCache$(importers, loadPaths, packageConfig) {
  21575. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  21576. t2 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,
  21577. t3 = type$.Uri;
  21578. 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));
  21579. },
  21580. AsyncImportCache$none() {
  21581. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  21582. t2 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,
  21583. t3 = type$.Uri;
  21584. return new A.AsyncImportCache0(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));
  21585. },
  21586. AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
  21587. var t1, t2, t3, t4, _i, path, _null = null,
  21588. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  21589. if (A.isBrowser()) {
  21590. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  21591. if (importers != null)
  21592. B.JSArray_methods.addAll$1(t1, importers);
  21593. return t1;
  21594. }
  21595. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  21596. if (importers != null)
  21597. B.JSArray_methods.addAll$1(t1, importers);
  21598. if (loadPaths != null)
  21599. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  21600. t3 = t2.get$current(t2);
  21601. 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));
  21602. }
  21603. if (sassPath != null) {
  21604. t2 = A.isNodeJs() ? self.process : _null;
  21605. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  21606. t4 = t3.length;
  21607. _i = 0;
  21608. for (; _i < t4; ++_i) {
  21609. path = t3[_i];
  21610. 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));
  21611. }
  21612. }
  21613. return t1;
  21614. },
  21615. AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5, t6) {
  21616. var _ = this;
  21617. _._async_import_cache0$_importers = t0;
  21618. _._async_import_cache0$_canonicalizeCache = t1;
  21619. _._async_import_cache0$_perImporterCanonicalizeCache = t2;
  21620. _._async_import_cache0$_nonCanonicalRelativeUrls = t3;
  21621. _._async_import_cache0$_importCache = t4;
  21622. _._async_import_cache0$_resultsCache = t5;
  21623. _._async_import_cache0$_loadTimes = t6;
  21624. },
  21625. AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2, t3, t4, t5, t6) {
  21626. var _ = this;
  21627. _.$this = t0;
  21628. _.baseImporter = t1;
  21629. _.resolvedUrl = t2;
  21630. _.baseUrl = t3;
  21631. _.forImport = t4;
  21632. _.key = t5;
  21633. _.url = t6;
  21634. },
  21635. AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
  21636. this.importer = t0;
  21637. this.url = t1;
  21638. },
  21639. AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3) {
  21640. var _ = this;
  21641. _.$this = t0;
  21642. _.importer = t1;
  21643. _.canonicalUrl = t2;
  21644. _.originalUrl = t3;
  21645. },
  21646. AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3(t0) {
  21647. this.canonicalUrl = t0;
  21648. },
  21649. AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
  21650. },
  21651. AsyncImportCache_humanize_closure5: function AsyncImportCache_humanize_closure5() {
  21652. },
  21653. AsyncImportCache_humanize_closure6: function AsyncImportCache_humanize_closure6(t0) {
  21654. this.canonicalUrl = t0;
  21655. },
  21656. AtRootQueryParser0: function AtRootQueryParser0(t0, t1) {
  21657. this.scanner = t0;
  21658. this._parser1$_interpolationMap = t1;
  21659. },
  21660. AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
  21661. this.$this = t0;
  21662. },
  21663. AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
  21664. var _ = this;
  21665. _.include = t0;
  21666. _.names = t1;
  21667. _._at_root_query0$_all = t2;
  21668. _._at_root_query0$_rule = t3;
  21669. },
  21670. AtRootRule$0(children, span, query) {
  21671. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  21672. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  21673. return new A.AtRootRule0(query, span, t1, t2);
  21674. },
  21675. AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
  21676. var _ = this;
  21677. _.query = t0;
  21678. _.span = t1;
  21679. _.children = t2;
  21680. _.hasDeclarations = t3;
  21681. },
  21682. ModifiableCssAtRule$0($name, span, childless, value) {
  21683. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  21684. return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  21685. },
  21686. ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
  21687. var _ = this;
  21688. _.name = t0;
  21689. _.value = t1;
  21690. _.isChildless = t2;
  21691. _.span = t3;
  21692. _.children = t4;
  21693. _._node$_children = t5;
  21694. _._node$_indexInParent = _._node$_parent = null;
  21695. _.isGroupEnd = false;
  21696. },
  21697. AtRule$0($name, span, children, value) {
  21698. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
  21699. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  21700. return new A.AtRule0($name, value, span, t1, t2 === true);
  21701. },
  21702. AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
  21703. var _ = this;
  21704. _.name = t0;
  21705. _.value = t1;
  21706. _.span = t2;
  21707. _.children = t3;
  21708. _.hasDeclarations = t4;
  21709. },
  21710. AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3, t4) {
  21711. var _ = this;
  21712. _.name = t0;
  21713. _.op = t1;
  21714. _.value = t2;
  21715. _.modifier = t3;
  21716. _.span = t4;
  21717. },
  21718. AttributeOperator0: function AttributeOperator0(t0, t1) {
  21719. this._attribute0$_text = t0;
  21720. this._name = t1;
  21721. },
  21722. BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
  21723. var _ = this;
  21724. _.operator = t0;
  21725. _.left = t1;
  21726. _.right = t2;
  21727. _.allowsSlash = t3;
  21728. },
  21729. BinaryOperator0: function BinaryOperator0(t0, t1, t2, t3, t4) {
  21730. var _ = this;
  21731. _.name = t0;
  21732. _.operator = t1;
  21733. _.precedence = t2;
  21734. _.isAssociative = t3;
  21735. _._name = t4;
  21736. },
  21737. BooleanExpression0: function BooleanExpression0(t0, t1) {
  21738. this.value = t0;
  21739. this.span = t1;
  21740. },
  21741. booleanClass_closure: function booleanClass_closure() {
  21742. },
  21743. booleanClass__closure: function booleanClass__closure() {
  21744. },
  21745. legacyBooleanClass_closure: function legacyBooleanClass_closure() {
  21746. },
  21747. legacyBooleanClass__closure: function legacyBooleanClass__closure() {
  21748. },
  21749. legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
  21750. },
  21751. SassBoolean0: function SassBoolean0(t0) {
  21752. this.value = t0;
  21753. },
  21754. Box0: function Box0(t0, t1) {
  21755. this._box0$_inner = t0;
  21756. this.$ti = t1;
  21757. },
  21758. ModifiableBox0: function ModifiableBox0(t0, t1) {
  21759. this.value = t0;
  21760. this.$ti = t1;
  21761. },
  21762. BuiltInCallable$function0($name, parameters, callback, url) {
  21763. 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);
  21764. },
  21765. BuiltInCallable$mixin0($name, parameters, callback, acceptsContent, url) {
  21766. 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);
  21767. },
  21768. BuiltInCallable$overloadedFunction0($name, overloads) {
  21769. var t2, t3, t4, t5, t6, t7, args, callback,
  21770. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2);
  21771. 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();) {
  21772. t7 = t3.get$current(t3);
  21773. args = t7._0;
  21774. callback = t7._1;
  21775. 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));
  21776. }
  21777. return new A.BuiltInCallable0($name, t1, false);
  21778. },
  21779. BuiltInCallable0: function BuiltInCallable0(t0, t1, t2) {
  21780. this.name = t0;
  21781. this._built_in$_overloads = t1;
  21782. this.acceptsContent = t2;
  21783. },
  21784. BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
  21785. this.callback = t0;
  21786. },
  21787. BuiltInCallable_withDeprecationWarning_closure0: function BuiltInCallable_withDeprecationWarning_closure0(t0, t1, t2, t3) {
  21788. var _ = this;
  21789. _._box_0 = t0;
  21790. _.$this = t1;
  21791. _.module = t2;
  21792. _.newName = t3;
  21793. },
  21794. BuiltInModule$0($name, functions, mixins, variables, $T) {
  21795. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  21796. t2 = A.BuiltInModule__callableMap0(functions, $T),
  21797. t3 = A.BuiltInModule__callableMap0(mixins, $T),
  21798. t4 = variables == null ? B.Map_empty15 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
  21799. return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
  21800. },
  21801. BuiltInModule__callableMap0(callables, $T) {
  21802. var t2, _i, callable,
  21803. t1 = type$.String;
  21804. if (callables == null)
  21805. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  21806. else {
  21807. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  21808. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  21809. callable = callables[_i];
  21810. t1.$indexSet(0, callable.get$name(callable), callable);
  21811. }
  21812. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  21813. }
  21814. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  21815. },
  21816. BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
  21817. var _ = this;
  21818. _.url = t0;
  21819. _.functions = t1;
  21820. _.mixins = t2;
  21821. _.variables = t3;
  21822. _.$ti = t4;
  21823. },
  21824. _assertCalculationValue(arg) {
  21825. var t1;
  21826. $label0$0: {
  21827. if (!(arg instanceof A.SassNumber0))
  21828. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes || arg instanceof A.SassCalculation0 || arg instanceof A.CalculationOperation0 || arg instanceof A.CalculationInterpolation;
  21829. else
  21830. t1 = true;
  21831. if (t1) {
  21832. t1 = null;
  21833. break $label0$0;
  21834. }
  21835. t1 = A.jsThrow0(new self.Error("Argument `" + A.S(arg) + "` must be one of SassNumber, unquoted SassString, SassCalculation, CalculationOperation, CalculationInterpolation"));
  21836. }
  21837. return t1;
  21838. },
  21839. _isValidClampArg(arg) {
  21840. var t1;
  21841. $label0$0: {
  21842. if (!(arg instanceof A.CalculationInterpolation))
  21843. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes;
  21844. else
  21845. t1 = true;
  21846. if (t1)
  21847. break $label0$0;
  21848. break $label0$0;
  21849. }
  21850. return t1;
  21851. },
  21852. calculationClass_closure: function calculationClass_closure() {
  21853. },
  21854. calculationClass__closure: function calculationClass__closure() {
  21855. },
  21856. calculationClass__closure0: function calculationClass__closure0() {
  21857. },
  21858. calculationClass__closure1: function calculationClass__closure1() {
  21859. },
  21860. calculationClass__closure2: function calculationClass__closure2() {
  21861. },
  21862. calculationClass__closure3: function calculationClass__closure3() {
  21863. },
  21864. calculationClass__closure4: function calculationClass__closure4() {
  21865. },
  21866. calculationClass__closure5: function calculationClass__closure5() {
  21867. },
  21868. calculationOperationClass_closure: function calculationOperationClass_closure() {
  21869. },
  21870. calculationOperationClass__closure: function calculationOperationClass__closure() {
  21871. },
  21872. calculationOperationClass___closure: function calculationOperationClass___closure(t0) {
  21873. this.strOperator = t0;
  21874. },
  21875. calculationOperationClass__closure0: function calculationOperationClass__closure0() {
  21876. },
  21877. calculationOperationClass__closure1: function calculationOperationClass__closure1() {
  21878. },
  21879. calculationOperationClass__closure2: function calculationOperationClass__closure2() {
  21880. },
  21881. calculationOperationClass__closure3: function calculationOperationClass__closure3() {
  21882. },
  21883. calculationOperationClass__closure4: function calculationOperationClass__closure4() {
  21884. },
  21885. calculationInterpolationClass_closure: function calculationInterpolationClass_closure() {
  21886. },
  21887. calculationInterpolationClass__closure: function calculationInterpolationClass__closure() {
  21888. },
  21889. calculationInterpolationClass__closure0: function calculationInterpolationClass__closure0() {
  21890. },
  21891. calculationInterpolationClass__closure1: function calculationInterpolationClass__closure1() {
  21892. },
  21893. calculationInterpolationClass__closure2: function calculationInterpolationClass__closure2() {
  21894. },
  21895. SassCalculation_calc0(argument) {
  21896. var t1,
  21897. _0_0 = A.SassCalculation__simplify0(argument);
  21898. $label0$0: {
  21899. if (_0_0 instanceof A.SassNumber0) {
  21900. t1 = _0_0;
  21901. break $label0$0;
  21902. }
  21903. if (_0_0 instanceof A.SassCalculation0) {
  21904. t1 = _0_0;
  21905. break $label0$0;
  21906. }
  21907. t1 = new A.SassCalculation0("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  21908. break $label0$0;
  21909. }
  21910. return t1;
  21911. },
  21912. SassCalculation_min0($arguments) {
  21913. var minimum, _i, arg, t2,
  21914. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  21915. t1 = args.length;
  21916. if (t1 === 0)
  21917. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  21918. for (minimum = null, _i = 0; _i < t1; ++_i) {
  21919. arg = args[_i];
  21920. if (arg instanceof A.SassNumber0)
  21921. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  21922. else
  21923. t2 = true;
  21924. if (t2) {
  21925. minimum = null;
  21926. break;
  21927. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  21928. minimum = arg;
  21929. }
  21930. if (minimum != null)
  21931. return minimum;
  21932. A.SassCalculation__verifyCompatibleNumbers0(args);
  21933. return new A.SassCalculation0("min", args);
  21934. },
  21935. SassCalculation_max0($arguments) {
  21936. var maximum, _i, arg, t2,
  21937. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  21938. t1 = args.length;
  21939. if (t1 === 0)
  21940. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  21941. for (maximum = null, _i = 0; _i < t1; ++_i) {
  21942. arg = args[_i];
  21943. if (arg instanceof A.SassNumber0)
  21944. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  21945. else
  21946. t2 = true;
  21947. if (t2) {
  21948. maximum = null;
  21949. break;
  21950. } else if (maximum == null || maximum.lessThan$1(arg).value)
  21951. maximum = arg;
  21952. }
  21953. if (maximum != null)
  21954. return maximum;
  21955. A.SassCalculation__verifyCompatibleNumbers0(args);
  21956. return new A.SassCalculation0("max", args);
  21957. },
  21958. SassCalculation_hypot0($arguments) {
  21959. var first, subtotal, i, number, value, t2, t3,
  21960. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  21961. t1 = args.length;
  21962. if (t1 === 0)
  21963. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  21964. A.SassCalculation__verifyCompatibleNumbers0(args);
  21965. first = B.JSArray_methods.get$first(args);
  21966. if (!(first instanceof A.SassNumber0) || first.hasUnit$1("%"))
  21967. return new A.SassCalculation0("hypot", args);
  21968. for (subtotal = 0, i = 0; i < t1;) {
  21969. number = args[i];
  21970. if (!(number instanceof A.SassNumber0) || !number.hasCompatibleUnits$1(first))
  21971. return new A.SassCalculation0("hypot", args);
  21972. ++i;
  21973. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  21974. subtotal += value * value;
  21975. }
  21976. t1 = Math.sqrt(subtotal);
  21977. t2 = J.getInterceptor$x(first);
  21978. t3 = t2.get$numeratorUnits(first);
  21979. return A.SassNumber_SassNumber$withUnits0(t1, t2.get$denominatorUnits(first), t3);
  21980. },
  21981. SassCalculation_abs0(argument) {
  21982. argument = A.SassCalculation__simplify0(argument);
  21983. if (!(argument instanceof A.SassNumber0))
  21984. return new A.SassCalculation0("abs", A._setArrayType([argument], type$.JSArray_Object));
  21985. if (argument.hasUnit$1("%"))
  21986. 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);
  21987. return A.SassNumber_SassNumber0(Math.abs(argument._number1$_value), null).coerceToMatch$1(argument);
  21988. },
  21989. SassCalculation_exp0(argument) {
  21990. argument = A.SassCalculation__simplify0(argument);
  21991. if (!(argument instanceof A.SassNumber0))
  21992. return new A.SassCalculation0("exp", A._setArrayType([argument], type$.JSArray_Object));
  21993. argument.assertNoUnits$0();
  21994. return A.pow1(A.SassNumber_SassNumber0(2.718281828459045, null), argument);
  21995. },
  21996. SassCalculation_sign0(argument) {
  21997. var t1, _0_2, t2, arg;
  21998. argument = A.SassCalculation__simplify0(argument);
  21999. $label0$0: {
  22000. t1 = argument instanceof A.SassNumber0;
  22001. if (t1) {
  22002. _0_2 = argument._number1$_value;
  22003. if (!isNaN(_0_2))
  22004. t2 = 0 === _0_2;
  22005. else
  22006. t2 = true;
  22007. } else
  22008. t2 = false;
  22009. if (t2) {
  22010. t1 = argument;
  22011. break $label0$0;
  22012. }
  22013. if (t1) {
  22014. t1 = !argument.hasUnit$1("%");
  22015. arg = argument;
  22016. } else {
  22017. arg = null;
  22018. t1 = false;
  22019. }
  22020. if (t1) {
  22021. t1 = A.SassNumber_SassNumber0(J.get$sign$in(arg._number1$_value), null).coerceToMatch$1(argument);
  22022. break $label0$0;
  22023. }
  22024. t1 = new A.SassCalculation0("sign", A._setArrayType([argument], type$.JSArray_Object));
  22025. break $label0$0;
  22026. }
  22027. return t1;
  22028. },
  22029. SassCalculation_clamp0(min, value, max) {
  22030. var t1, args;
  22031. if (value == null && max != null)
  22032. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  22033. min = A.SassCalculation__simplify0(min);
  22034. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  22035. max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
  22036. if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  22037. if (value.lessThanOrEquals$1(min).value)
  22038. return min;
  22039. if (value.greaterThanOrEquals$1(max).value)
  22040. return max;
  22041. return value;
  22042. }
  22043. t1 = [min];
  22044. if (value != null)
  22045. t1.push(value);
  22046. if (max != null)
  22047. t1.push(max);
  22048. args = A.List_List$unmodifiable(t1, type$.Object);
  22049. A.SassCalculation__verifyCompatibleNumbers0(args);
  22050. A.SassCalculation__verifyLength0(args, 3);
  22051. return new A.SassCalculation0("clamp", args);
  22052. },
  22053. SassCalculation_pow0(base, exponent) {
  22054. var t1 = A._setArrayType([base], type$.JSArray_Object);
  22055. if (exponent != null)
  22056. t1.push(exponent);
  22057. A.SassCalculation__verifyLength0(t1, 2);
  22058. base = A.SassCalculation__simplify0(base);
  22059. exponent = A.NullableExtension_andThen0(exponent, A.calculation0_SassCalculation__simplify$closure());
  22060. if (!(base instanceof A.SassNumber0) || !(exponent instanceof A.SassNumber0))
  22061. return new A.SassCalculation0("pow", t1);
  22062. base.assertNoUnits$0();
  22063. exponent.assertNoUnits$0();
  22064. return A.pow1(base, exponent);
  22065. },
  22066. SassCalculation_log0(number, base) {
  22067. var t1, t2;
  22068. number = A.SassCalculation__simplify0(number);
  22069. base = A.NullableExtension_andThen0(base, A.calculation0_SassCalculation__simplify$closure());
  22070. t1 = A._setArrayType([number], type$.JSArray_Object);
  22071. t2 = base != null;
  22072. if (t2)
  22073. t1.push(base);
  22074. if (number instanceof A.SassNumber0)
  22075. t2 = t2 && !(base instanceof A.SassNumber0);
  22076. else
  22077. t2 = true;
  22078. if (t2)
  22079. return new A.SassCalculation0("log", t1);
  22080. number.assertNoUnits$0();
  22081. if (base instanceof A.SassNumber0) {
  22082. base.assertNoUnits$0();
  22083. return A.log0(number, base);
  22084. }
  22085. return A.log0(number, null);
  22086. },
  22087. SassCalculation_atan20(y, x) {
  22088. var t1;
  22089. y = A.SassCalculation__simplify0(y);
  22090. x = A.NullableExtension_andThen0(x, A.calculation0_SassCalculation__simplify$closure());
  22091. t1 = A._setArrayType([y], type$.JSArray_Object);
  22092. if (x != null)
  22093. t1.push(x);
  22094. A.SassCalculation__verifyLength0(t1, 2);
  22095. A.SassCalculation__verifyCompatibleNumbers0(t1);
  22096. if (!(y instanceof A.SassNumber0) || !(x instanceof A.SassNumber0) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  22097. return new A.SassCalculation0("atan2", t1);
  22098. 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));
  22099. },
  22100. SassCalculation_rem0(dividend, modulus) {
  22101. var t1, result;
  22102. dividend = A.SassCalculation__simplify0(dividend);
  22103. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  22104. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  22105. if (modulus != null)
  22106. t1.push(modulus);
  22107. A.SassCalculation__verifyLength0(t1, 2);
  22108. A.SassCalculation__verifyCompatibleNumbers0(t1);
  22109. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  22110. return new A.SassCalculation0("rem", t1);
  22111. result = dividend.modulo$1(modulus);
  22112. t1 = modulus._number1$_value;
  22113. if (A.DoubleWithSignedZero_get_signIncludingZero0(t1) !== A.DoubleWithSignedZero_get_signIncludingZero0(dividend._number1$_value)) {
  22114. if (t1 == 1 / 0 || t1 == -1 / 0)
  22115. return dividend;
  22116. if (result._number1$_value === 0)
  22117. return result.unaryMinus$0();
  22118. return result.minus$1(modulus);
  22119. }
  22120. return result;
  22121. },
  22122. SassCalculation_mod0(dividend, modulus) {
  22123. var t1;
  22124. dividend = A.SassCalculation__simplify0(dividend);
  22125. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  22126. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  22127. if (modulus != null)
  22128. t1.push(modulus);
  22129. A.SassCalculation__verifyLength0(t1, 2);
  22130. A.SassCalculation__verifyCompatibleNumbers0(t1);
  22131. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  22132. return new A.SassCalculation0("mod", t1);
  22133. return dividend.modulo$1(modulus);
  22134. },
  22135. SassCalculation_roundInternal0(strategyOrNumber, numberOrStep, step, inLegacySassFunction, span, warn) {
  22136. var _0_8_isSet, _0_6_isSet, t2, _0_6_isSet0, _0_14_isSet, _0_14, _0_12, _0_16, _0_18, _0_18_isSet, _0_20, _0_20_isSet, strategy, _0_9_isSet0, _0_16_isSet, t3, t4, _0_12_isSet, _0_12_isSet0, rest, _null = null, _s5_ = "round",
  22137. _0_1 = A.SassCalculation__simplify0(strategyOrNumber),
  22138. _0_6 = A.NullableExtension_andThen0(numberOrStep, A.calculation0_SassCalculation__simplify$closure()),
  22139. _0_9 = A.NullableExtension_andThen0(step, A.calculation0_SassCalculation__simplify$closure()),
  22140. _0_10 = _0_1,
  22141. _0_8 = _null,
  22142. _0_60 = _null,
  22143. _0_100 = _null,
  22144. _0_10_isSet = false,
  22145. _0_90 = _null,
  22146. _0_9_isSet = false,
  22147. number = _null,
  22148. t1 = false;
  22149. if (_0_1 instanceof A.SassNumber0) {
  22150. type$.SassNumber_2._as(_0_10);
  22151. _0_8_isSet = !_0_10.get$hasUnits();
  22152. if (_0_8_isSet) {
  22153. _0_8 = _0_6 == null;
  22154. _0_9_isSet = _0_8;
  22155. _0_60 = _0_6;
  22156. if (_0_9_isSet) {
  22157. _0_100 = _0_9 == null;
  22158. t1 = _0_100;
  22159. _0_90 = _0_9;
  22160. }
  22161. _0_10_isSet = _0_9_isSet;
  22162. number = _0_10;
  22163. }
  22164. _0_6_isSet = _0_8_isSet;
  22165. _0_1 = _0_10;
  22166. _0_10 = _0_100;
  22167. } else {
  22168. _0_1 = _0_10;
  22169. _0_10 = _0_100;
  22170. _0_8_isSet = false;
  22171. _0_6_isSet = false;
  22172. }
  22173. if (t1)
  22174. return A.SassNumber_SassNumber0(B.JSNumber_methods.round$0(number._number1$_value), _null);
  22175. t1 = false;
  22176. if (_0_1 instanceof A.SassNumber0) {
  22177. if (_0_8_isSet)
  22178. t2 = _0_8;
  22179. else {
  22180. if (_0_6_isSet)
  22181. t2 = _0_60;
  22182. else {
  22183. t2 = _0_6;
  22184. _0_60 = t2;
  22185. _0_6_isSet = true;
  22186. }
  22187. _0_8 = t2 == null;
  22188. t2 = _0_8;
  22189. _0_8_isSet = true;
  22190. }
  22191. if (t2) {
  22192. if (_0_10_isSet)
  22193. t1 = _0_10;
  22194. else {
  22195. if (_0_9_isSet)
  22196. t1 = _0_90;
  22197. else {
  22198. t1 = _0_9;
  22199. _0_90 = t1;
  22200. _0_9_isSet = true;
  22201. }
  22202. _0_10 = t1 == null;
  22203. t1 = _0_10;
  22204. _0_10_isSet = true;
  22205. }
  22206. t1 = t1 && inLegacySassFunction != null;
  22207. }
  22208. number = _0_1;
  22209. } else
  22210. number = _null;
  22211. if (t1) {
  22212. warn.call$2(string$.In_fut, B.Deprecation_ZDV);
  22213. t1 = B.JSNumber_methods.round$0(number._number1$_value);
  22214. t2 = number.get$numeratorUnits(number);
  22215. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  22216. }
  22217. step = _null;
  22218. t1 = false;
  22219. if (_0_1 instanceof A.SassNumber0) {
  22220. _0_6_isSet0 = true;
  22221. if (_0_6_isSet)
  22222. t2 = _0_60;
  22223. else {
  22224. t2 = _0_6;
  22225. _0_6_isSet = _0_6_isSet0;
  22226. _0_60 = t2;
  22227. }
  22228. if (t2 instanceof A.SassNumber0) {
  22229. if (_0_6_isSet)
  22230. t2 = _0_60;
  22231. else {
  22232. t2 = _0_6;
  22233. _0_6_isSet = _0_6_isSet0;
  22234. _0_60 = t2;
  22235. }
  22236. type$.SassNumber_2._as(t2);
  22237. if (_0_10_isSet)
  22238. t1 = _0_10;
  22239. else {
  22240. if (_0_9_isSet)
  22241. t1 = _0_90;
  22242. else {
  22243. t1 = _0_9;
  22244. _0_90 = t1;
  22245. _0_9_isSet = true;
  22246. }
  22247. _0_10 = t1 == null;
  22248. t1 = _0_10;
  22249. _0_10_isSet = true;
  22250. }
  22251. t1 = t1 && !_0_1.hasCompatibleUnits$1(t2);
  22252. step = t2;
  22253. }
  22254. number = _0_1;
  22255. } else
  22256. number = _null;
  22257. if (t1) {
  22258. t1 = type$.JSArray_Object;
  22259. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  22260. return new A.SassCalculation0(_s5_, A._setArrayType([number, step], t1));
  22261. }
  22262. step = _null;
  22263. t1 = false;
  22264. if (_0_1 instanceof A.SassNumber0) {
  22265. _0_6_isSet0 = true;
  22266. if (_0_6_isSet)
  22267. t2 = _0_60;
  22268. else {
  22269. t2 = _0_6;
  22270. _0_6_isSet = _0_6_isSet0;
  22271. _0_60 = t2;
  22272. }
  22273. if (t2 instanceof A.SassNumber0) {
  22274. if (_0_6_isSet)
  22275. t2 = _0_60;
  22276. else {
  22277. t2 = _0_6;
  22278. _0_6_isSet = _0_6_isSet0;
  22279. _0_60 = t2;
  22280. }
  22281. type$.SassNumber_2._as(t2);
  22282. if (_0_10_isSet)
  22283. t1 = _0_10;
  22284. else {
  22285. if (_0_9_isSet)
  22286. t1 = _0_90;
  22287. else {
  22288. t1 = _0_9;
  22289. _0_90 = t1;
  22290. _0_9_isSet = true;
  22291. }
  22292. _0_10 = t1 == null;
  22293. t1 = _0_10;
  22294. _0_10_isSet = true;
  22295. }
  22296. step = t2;
  22297. }
  22298. number = _0_1;
  22299. } else
  22300. number = _null;
  22301. if (t1) {
  22302. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  22303. return A.SassCalculation__roundWithStep0("nearest", number, step);
  22304. }
  22305. _0_14_isSet = _0_1 instanceof A.SassString0;
  22306. _0_14 = _null;
  22307. _0_12 = _null;
  22308. _0_16 = _null;
  22309. _0_18 = _null;
  22310. _0_18_isSet = false;
  22311. _0_20 = _null;
  22312. _0_20_isSet = false;
  22313. strategy = _null;
  22314. number = _null;
  22315. step = _null;
  22316. t1 = false;
  22317. if (_0_14_isSet) {
  22318. _0_6_isSet0 = true;
  22319. _0_9_isSet0 = true;
  22320. _0_12 = _0_1._string0$_text;
  22321. t2 = _0_12;
  22322. _0_14 = "nearest" === t2;
  22323. t2 = _0_14;
  22324. _0_16_isSet = !t2;
  22325. t2 = true;
  22326. if (_0_16_isSet) {
  22327. _0_16 = "up" === _0_12;
  22328. t3 = _0_16;
  22329. _0_18_isSet = !t3;
  22330. if (_0_18_isSet) {
  22331. _0_18 = "down" === _0_12;
  22332. t3 = _0_18;
  22333. _0_20_isSet = !t3;
  22334. if (_0_20_isSet) {
  22335. _0_20 = "to-zero" === _0_12;
  22336. t2 = _0_20;
  22337. }
  22338. }
  22339. }
  22340. if (t2) {
  22341. if (_0_6_isSet)
  22342. t2 = _0_60;
  22343. else {
  22344. t2 = _0_6;
  22345. _0_6_isSet = _0_6_isSet0;
  22346. _0_60 = t2;
  22347. }
  22348. if (t2 instanceof A.SassNumber0) {
  22349. if (_0_6_isSet)
  22350. t2 = _0_60;
  22351. else {
  22352. t2 = _0_6;
  22353. _0_6_isSet = _0_6_isSet0;
  22354. _0_60 = t2;
  22355. }
  22356. t3 = type$.SassNumber_2;
  22357. t3._as(t2);
  22358. if (_0_9_isSet)
  22359. t4 = _0_90;
  22360. else {
  22361. t4 = _0_9;
  22362. _0_9_isSet = _0_9_isSet0;
  22363. _0_90 = t4;
  22364. }
  22365. if (t4 instanceof A.SassNumber0) {
  22366. if (_0_9_isSet)
  22367. t1 = _0_90;
  22368. else {
  22369. t1 = _0_9;
  22370. _0_9_isSet = _0_9_isSet0;
  22371. _0_90 = t1;
  22372. }
  22373. t3._as(t1);
  22374. t3 = !t2.hasCompatibleUnits$1(t1);
  22375. step = t1;
  22376. t1 = t3;
  22377. }
  22378. number = t2;
  22379. }
  22380. strategy = _0_1;
  22381. }
  22382. } else
  22383. _0_16_isSet = false;
  22384. if (t1) {
  22385. t1 = type$.JSArray_Object;
  22386. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  22387. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], t1));
  22388. }
  22389. strategy = _null;
  22390. number = _null;
  22391. step = _null;
  22392. t1 = false;
  22393. if (_0_1 instanceof A.SassString0) {
  22394. _0_6_isSet0 = true;
  22395. _0_9_isSet0 = true;
  22396. _0_12_isSet = true;
  22397. if (_0_14_isSet) {
  22398. t2 = _0_14;
  22399. _0_12_isSet0 = _0_14_isSet;
  22400. } else {
  22401. _0_12 = _0_1._string0$_text;
  22402. t2 = _0_12;
  22403. _0_14 = "nearest" === t2;
  22404. t2 = _0_14;
  22405. _0_12_isSet0 = _0_12_isSet;
  22406. _0_14_isSet = true;
  22407. }
  22408. t3 = true;
  22409. if (!t2) {
  22410. if (_0_16_isSet)
  22411. t2 = _0_16;
  22412. else {
  22413. if (_0_12_isSet0)
  22414. t2 = _0_12;
  22415. else {
  22416. _0_12 = _0_1._string0$_text;
  22417. t2 = _0_12;
  22418. _0_12_isSet0 = _0_12_isSet;
  22419. }
  22420. _0_16 = "up" === t2;
  22421. t2 = _0_16;
  22422. _0_16_isSet = true;
  22423. }
  22424. if (!t2) {
  22425. if (_0_18_isSet)
  22426. t2 = _0_18;
  22427. else {
  22428. if (_0_12_isSet0)
  22429. t2 = _0_12;
  22430. else {
  22431. _0_12 = _0_1._string0$_text;
  22432. t2 = _0_12;
  22433. _0_12_isSet0 = _0_12_isSet;
  22434. }
  22435. _0_18 = "down" === t2;
  22436. t2 = _0_18;
  22437. _0_18_isSet = true;
  22438. }
  22439. if (!t2)
  22440. if (_0_20_isSet) {
  22441. t2 = _0_20;
  22442. _0_12_isSet = _0_12_isSet0;
  22443. } else {
  22444. if (_0_12_isSet0) {
  22445. t2 = _0_12;
  22446. _0_12_isSet = _0_12_isSet0;
  22447. } else {
  22448. _0_12 = _0_1._string0$_text;
  22449. t2 = _0_12;
  22450. }
  22451. _0_20 = "to-zero" === t2;
  22452. t2 = _0_20;
  22453. _0_20_isSet = true;
  22454. }
  22455. else {
  22456. t2 = t3;
  22457. _0_12_isSet = _0_12_isSet0;
  22458. }
  22459. } else {
  22460. t2 = t3;
  22461. _0_12_isSet = _0_12_isSet0;
  22462. }
  22463. } else {
  22464. t2 = t3;
  22465. _0_12_isSet = _0_12_isSet0;
  22466. }
  22467. if (t2) {
  22468. if (_0_6_isSet)
  22469. t2 = _0_60;
  22470. else {
  22471. t2 = _0_6;
  22472. _0_6_isSet = _0_6_isSet0;
  22473. _0_60 = t2;
  22474. }
  22475. if (t2 instanceof A.SassNumber0) {
  22476. if (_0_6_isSet)
  22477. t2 = _0_60;
  22478. else {
  22479. t2 = _0_6;
  22480. _0_6_isSet = _0_6_isSet0;
  22481. _0_60 = t2;
  22482. }
  22483. t3 = type$.SassNumber_2;
  22484. t3._as(t2);
  22485. if (_0_9_isSet)
  22486. t1 = _0_90;
  22487. else {
  22488. t1 = _0_9;
  22489. _0_9_isSet = _0_9_isSet0;
  22490. _0_90 = t1;
  22491. }
  22492. t1 = t1 instanceof A.SassNumber0;
  22493. if (t1) {
  22494. if (_0_9_isSet)
  22495. t4 = _0_90;
  22496. else {
  22497. t4 = _0_9;
  22498. _0_9_isSet = _0_9_isSet0;
  22499. _0_90 = t4;
  22500. }
  22501. t3._as(t4);
  22502. step = t4;
  22503. }
  22504. number = t2;
  22505. }
  22506. strategy = _0_1;
  22507. }
  22508. } else
  22509. _0_12_isSet = _0_14_isSet;
  22510. if (t1) {
  22511. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  22512. return A.SassCalculation__roundWithStep0(strategy._string0$_text, number, step);
  22513. }
  22514. strategy = _null;
  22515. rest = _null;
  22516. t1 = false;
  22517. if (_0_1 instanceof A.SassString0) {
  22518. _0_6_isSet0 = true;
  22519. _0_12_isSet0 = true;
  22520. if (_0_14_isSet)
  22521. t2 = _0_14;
  22522. else {
  22523. if (_0_12_isSet)
  22524. t2 = _0_12;
  22525. else {
  22526. _0_12 = _0_1._string0$_text;
  22527. t2 = _0_12;
  22528. _0_12_isSet = _0_12_isSet0;
  22529. }
  22530. _0_14 = "nearest" === t2;
  22531. t2 = _0_14;
  22532. _0_14_isSet = true;
  22533. }
  22534. t3 = true;
  22535. if (!t2) {
  22536. if (_0_16_isSet)
  22537. t2 = _0_16;
  22538. else {
  22539. if (_0_12_isSet)
  22540. t2 = _0_12;
  22541. else {
  22542. _0_12 = _0_1._string0$_text;
  22543. t2 = _0_12;
  22544. _0_12_isSet = _0_12_isSet0;
  22545. }
  22546. _0_16 = "up" === t2;
  22547. t2 = _0_16;
  22548. _0_16_isSet = true;
  22549. }
  22550. if (!t2) {
  22551. if (_0_18_isSet)
  22552. t2 = _0_18;
  22553. else {
  22554. if (_0_12_isSet)
  22555. t2 = _0_12;
  22556. else {
  22557. _0_12 = _0_1._string0$_text;
  22558. t2 = _0_12;
  22559. _0_12_isSet = _0_12_isSet0;
  22560. }
  22561. _0_18 = "down" === t2;
  22562. t2 = _0_18;
  22563. _0_18_isSet = true;
  22564. }
  22565. if (!t2)
  22566. if (_0_20_isSet)
  22567. t2 = _0_20;
  22568. else {
  22569. if (_0_12_isSet)
  22570. t2 = _0_12;
  22571. else {
  22572. _0_12 = _0_1._string0$_text;
  22573. t2 = _0_12;
  22574. _0_12_isSet = _0_12_isSet0;
  22575. }
  22576. _0_20 = "to-zero" === t2;
  22577. t2 = _0_20;
  22578. _0_20_isSet = true;
  22579. }
  22580. else
  22581. t2 = t3;
  22582. } else
  22583. t2 = t3;
  22584. } else
  22585. t2 = t3;
  22586. if (t2) {
  22587. if (_0_6_isSet)
  22588. t2 = _0_60;
  22589. else {
  22590. t2 = _0_6;
  22591. _0_6_isSet = _0_6_isSet0;
  22592. _0_60 = t2;
  22593. }
  22594. if (t2 instanceof A.SassString0) {
  22595. if (_0_6_isSet)
  22596. t2 = _0_60;
  22597. else {
  22598. t2 = _0_6;
  22599. _0_6_isSet = _0_6_isSet0;
  22600. _0_60 = t2;
  22601. }
  22602. type$.SassString_2._as(t2);
  22603. if (_0_10_isSet)
  22604. t1 = _0_10;
  22605. else {
  22606. if (_0_9_isSet)
  22607. t1 = _0_90;
  22608. else {
  22609. t1 = _0_9;
  22610. _0_90 = t1;
  22611. _0_9_isSet = true;
  22612. }
  22613. _0_10 = t1 == null;
  22614. t1 = _0_10;
  22615. _0_10_isSet = true;
  22616. }
  22617. rest = t2;
  22618. }
  22619. strategy = _0_1;
  22620. }
  22621. }
  22622. if (t1)
  22623. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  22624. t1 = false;
  22625. if (_0_1 instanceof A.SassString0) {
  22626. _0_12_isSet0 = true;
  22627. if (_0_14_isSet)
  22628. t2 = _0_14;
  22629. else {
  22630. if (_0_12_isSet)
  22631. t2 = _0_12;
  22632. else {
  22633. _0_12 = _0_1._string0$_text;
  22634. t2 = _0_12;
  22635. _0_12_isSet = _0_12_isSet0;
  22636. }
  22637. _0_14 = "nearest" === t2;
  22638. t2 = _0_14;
  22639. _0_14_isSet = true;
  22640. }
  22641. t3 = true;
  22642. if (!t2) {
  22643. if (_0_16_isSet)
  22644. t2 = _0_16;
  22645. else {
  22646. if (_0_12_isSet)
  22647. t2 = _0_12;
  22648. else {
  22649. _0_12 = _0_1._string0$_text;
  22650. t2 = _0_12;
  22651. _0_12_isSet = _0_12_isSet0;
  22652. }
  22653. _0_16 = "up" === t2;
  22654. t2 = _0_16;
  22655. _0_16_isSet = true;
  22656. }
  22657. if (!t2) {
  22658. if (_0_18_isSet)
  22659. t2 = _0_18;
  22660. else {
  22661. if (_0_12_isSet)
  22662. t2 = _0_12;
  22663. else {
  22664. _0_12 = _0_1._string0$_text;
  22665. t2 = _0_12;
  22666. _0_12_isSet = _0_12_isSet0;
  22667. }
  22668. _0_18 = "down" === t2;
  22669. t2 = _0_18;
  22670. _0_18_isSet = true;
  22671. }
  22672. if (!t2)
  22673. if (_0_20_isSet)
  22674. t2 = _0_20;
  22675. else {
  22676. if (_0_12_isSet)
  22677. t2 = _0_12;
  22678. else {
  22679. _0_12 = _0_1._string0$_text;
  22680. t2 = _0_12;
  22681. _0_12_isSet = _0_12_isSet0;
  22682. }
  22683. _0_20 = "to-zero" === t2;
  22684. t2 = _0_20;
  22685. _0_20_isSet = true;
  22686. }
  22687. else
  22688. t2 = t3;
  22689. } else
  22690. t2 = t3;
  22691. } else
  22692. t2 = t3;
  22693. if (t2) {
  22694. if (_0_6_isSet)
  22695. t2 = _0_60;
  22696. else {
  22697. t2 = _0_6;
  22698. _0_60 = t2;
  22699. _0_6_isSet = true;
  22700. }
  22701. if (t2 != null)
  22702. if (_0_10_isSet)
  22703. t1 = _0_10;
  22704. else {
  22705. if (_0_9_isSet)
  22706. t1 = _0_90;
  22707. else {
  22708. t1 = _0_9;
  22709. _0_90 = t1;
  22710. _0_9_isSet = true;
  22711. }
  22712. _0_10 = t1 == null;
  22713. t1 = _0_10;
  22714. _0_10_isSet = true;
  22715. }
  22716. }
  22717. }
  22718. if (t1)
  22719. throw A.wrapException(A.SassScriptException$0(string$.If_str, _null));
  22720. t1 = false;
  22721. if (_0_1 instanceof A.SassString0) {
  22722. _0_12_isSet0 = true;
  22723. if (_0_14_isSet)
  22724. t2 = _0_14;
  22725. else {
  22726. if (_0_12_isSet)
  22727. t2 = _0_12;
  22728. else {
  22729. _0_12 = _0_1._string0$_text;
  22730. t2 = _0_12;
  22731. _0_12_isSet = _0_12_isSet0;
  22732. }
  22733. _0_14 = "nearest" === t2;
  22734. t2 = _0_14;
  22735. _0_14_isSet = true;
  22736. }
  22737. t3 = true;
  22738. if (!t2) {
  22739. if (_0_16_isSet)
  22740. t2 = _0_16;
  22741. else {
  22742. if (_0_12_isSet)
  22743. t2 = _0_12;
  22744. else {
  22745. _0_12 = _0_1._string0$_text;
  22746. t2 = _0_12;
  22747. _0_12_isSet = _0_12_isSet0;
  22748. }
  22749. _0_16 = "up" === t2;
  22750. t2 = _0_16;
  22751. _0_16_isSet = true;
  22752. }
  22753. if (!t2) {
  22754. if (_0_18_isSet)
  22755. t2 = _0_18;
  22756. else {
  22757. if (_0_12_isSet)
  22758. t2 = _0_12;
  22759. else {
  22760. _0_12 = _0_1._string0$_text;
  22761. t2 = _0_12;
  22762. _0_12_isSet = _0_12_isSet0;
  22763. }
  22764. _0_18 = "down" === t2;
  22765. t2 = _0_18;
  22766. _0_18_isSet = true;
  22767. }
  22768. if (!t2)
  22769. if (_0_20_isSet)
  22770. t2 = _0_20;
  22771. else {
  22772. if (_0_12_isSet)
  22773. t2 = _0_12;
  22774. else {
  22775. _0_12 = _0_1._string0$_text;
  22776. t2 = _0_12;
  22777. _0_12_isSet = _0_12_isSet0;
  22778. }
  22779. _0_20 = "to-zero" === t2;
  22780. t2 = _0_20;
  22781. _0_20_isSet = true;
  22782. }
  22783. else
  22784. t2 = t3;
  22785. } else
  22786. t2 = t3;
  22787. } else
  22788. t2 = t3;
  22789. if (t2) {
  22790. if (_0_8_isSet)
  22791. t2 = _0_8;
  22792. else {
  22793. if (_0_6_isSet)
  22794. t2 = _0_60;
  22795. else {
  22796. t2 = _0_6;
  22797. _0_60 = t2;
  22798. _0_6_isSet = true;
  22799. }
  22800. _0_8 = t2 == null;
  22801. t2 = _0_8;
  22802. _0_8_isSet = true;
  22803. }
  22804. if (t2)
  22805. if (_0_10_isSet)
  22806. t1 = _0_10;
  22807. else {
  22808. if (_0_9_isSet)
  22809. t1 = _0_90;
  22810. else {
  22811. t1 = _0_9;
  22812. _0_90 = t1;
  22813. _0_9_isSet = true;
  22814. }
  22815. _0_10 = t1 == null;
  22816. t1 = _0_10;
  22817. _0_10_isSet = true;
  22818. }
  22819. }
  22820. }
  22821. if (t1)
  22822. throw A.wrapException(A.SassScriptException$0(string$.Number, _null));
  22823. t1 = false;
  22824. if (_0_8_isSet)
  22825. t2 = _0_8;
  22826. else {
  22827. if (_0_6_isSet)
  22828. t2 = _0_60;
  22829. else {
  22830. t2 = _0_6;
  22831. _0_60 = t2;
  22832. _0_6_isSet = true;
  22833. }
  22834. _0_8 = t2 == null;
  22835. t2 = _0_8;
  22836. }
  22837. if (t2)
  22838. if (_0_10_isSet)
  22839. t1 = _0_10;
  22840. else {
  22841. if (_0_9_isSet)
  22842. t1 = _0_90;
  22843. else {
  22844. t1 = _0_9;
  22845. _0_90 = t1;
  22846. _0_9_isSet = true;
  22847. }
  22848. _0_10 = t1 == null;
  22849. t1 = _0_10;
  22850. _0_10_isSet = true;
  22851. }
  22852. if (t1)
  22853. return new A.SassCalculation0(_s5_, A._setArrayType([_0_1], type$.JSArray_Object));
  22854. step = _null;
  22855. t1 = false;
  22856. _0_6_isSet0 = true;
  22857. if (_0_6_isSet)
  22858. t2 = _0_60;
  22859. else {
  22860. t2 = _0_6;
  22861. _0_6_isSet = _0_6_isSet0;
  22862. _0_60 = t2;
  22863. }
  22864. if (t2 != null) {
  22865. if (_0_6_isSet)
  22866. step = _0_60;
  22867. else {
  22868. step = _0_6;
  22869. _0_6_isSet = _0_6_isSet0;
  22870. _0_60 = step;
  22871. }
  22872. if (step == null)
  22873. step = type$.Object._as(step);
  22874. if (_0_10_isSet)
  22875. t1 = _0_10;
  22876. else {
  22877. if (_0_9_isSet)
  22878. t1 = _0_90;
  22879. else {
  22880. t1 = _0_9;
  22881. _0_90 = t1;
  22882. _0_9_isSet = true;
  22883. }
  22884. _0_10 = t1 == null;
  22885. t1 = _0_10;
  22886. }
  22887. }
  22888. if (t1)
  22889. return new A.SassCalculation0(_s5_, A._setArrayType([_0_1, step], type$.JSArray_Object));
  22890. if (_0_1 instanceof A.SassString0) {
  22891. t1 = true;
  22892. if (_0_14_isSet)
  22893. t2 = _0_14;
  22894. else {
  22895. if (_0_12_isSet)
  22896. t2 = _0_12;
  22897. else {
  22898. _0_12 = _0_1._string0$_text;
  22899. t2 = _0_12;
  22900. _0_12_isSet = true;
  22901. }
  22902. _0_14 = "nearest" === t2;
  22903. t2 = _0_14;
  22904. }
  22905. if (!t2) {
  22906. if (_0_16_isSet)
  22907. t2 = _0_16;
  22908. else {
  22909. if (_0_12_isSet)
  22910. t2 = _0_12;
  22911. else {
  22912. _0_12 = _0_1._string0$_text;
  22913. t2 = _0_12;
  22914. _0_12_isSet = true;
  22915. }
  22916. _0_16 = "up" === t2;
  22917. t2 = _0_16;
  22918. }
  22919. if (!t2) {
  22920. if (_0_18_isSet)
  22921. t2 = _0_18;
  22922. else {
  22923. if (_0_12_isSet)
  22924. t2 = _0_12;
  22925. else {
  22926. _0_12 = _0_1._string0$_text;
  22927. t2 = _0_12;
  22928. _0_12_isSet = true;
  22929. }
  22930. _0_18 = "down" === t2;
  22931. t2 = _0_18;
  22932. }
  22933. if (!t2)
  22934. if (_0_20_isSet)
  22935. t1 = _0_20;
  22936. else {
  22937. if (_0_12_isSet)
  22938. t1 = _0_12;
  22939. else {
  22940. _0_12 = _0_1._string0$_text;
  22941. t1 = _0_12;
  22942. }
  22943. _0_20 = "to-zero" === t1;
  22944. t1 = _0_20;
  22945. }
  22946. }
  22947. }
  22948. } else
  22949. t1 = false;
  22950. if (!t1)
  22951. if (_0_1 instanceof A.SassString0)
  22952. t1 = _0_1.get$isVar();
  22953. else
  22954. t1 = false;
  22955. else
  22956. t1 = true;
  22957. number = _null;
  22958. step = _null;
  22959. t2 = false;
  22960. if (t1) {
  22961. _0_6_isSet0 = true;
  22962. _0_9_isSet0 = true;
  22963. type$.SassString_2._as(_0_1);
  22964. if (_0_6_isSet)
  22965. t1 = _0_60;
  22966. else {
  22967. t1 = _0_6;
  22968. _0_6_isSet = _0_6_isSet0;
  22969. _0_60 = t1;
  22970. }
  22971. if (t1 != null) {
  22972. if (_0_6_isSet)
  22973. number = _0_60;
  22974. else {
  22975. number = _0_6;
  22976. _0_6_isSet = _0_6_isSet0;
  22977. _0_60 = number;
  22978. }
  22979. if (number == null)
  22980. number = type$.Object._as(number);
  22981. if (_0_9_isSet)
  22982. t1 = _0_90;
  22983. else {
  22984. t1 = _0_9;
  22985. _0_9_isSet = _0_9_isSet0;
  22986. _0_90 = t1;
  22987. }
  22988. t1 = t1 != null;
  22989. if (t1) {
  22990. if (_0_9_isSet)
  22991. step = _0_90;
  22992. else {
  22993. step = _0_9;
  22994. _0_9_isSet = _0_9_isSet0;
  22995. _0_90 = step;
  22996. }
  22997. if (step == null)
  22998. step = type$.Object._as(step);
  22999. }
  23000. } else
  23001. t1 = t2;
  23002. strategy = _0_1;
  23003. } else {
  23004. t1 = t2;
  23005. strategy = _null;
  23006. }
  23007. if (t1)
  23008. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  23009. t1 = false;
  23010. if ((_0_6_isSet ? _0_60 : _0_6) != null)
  23011. t1 = (_0_9_isSet ? _0_90 : _0_9) != null;
  23012. if (t1)
  23013. throw A.wrapException(A.SassScriptException$0(A.S(strategyOrNumber) + string$.x20must_b, _null));
  23014. t1 = A.SassScriptException$0("Invalid parameters.", _null);
  23015. throw A.wrapException(t1);
  23016. },
  23017. SassCalculation_calcSize0(basis, value) {
  23018. var t1 = type$.JSArray_Object,
  23019. t2 = A._setArrayType([basis], t1);
  23020. if (value != null)
  23021. t2.push(value);
  23022. A.SassCalculation__verifyLength0(t2, 2);
  23023. basis = A.SassCalculation__simplify0(basis);
  23024. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  23025. t1 = A._setArrayType([basis], t1);
  23026. if (value != null)
  23027. t1.push(value);
  23028. return new A.SassCalculation0("calc-size", t1);
  23029. },
  23030. SassCalculation_operateInternal0(operator, left, right, inLegacySassFunction, simplify, warn) {
  23031. var compatible, t1;
  23032. if (!simplify)
  23033. return new A.CalculationOperation0(operator, left, right);
  23034. left = A.SassCalculation__simplify0(left);
  23035. right = A.SassCalculation__simplify0(right);
  23036. if (B.CalculationOperator_F7i0 === operator || B.CalculationOperator_oum0 === operator) {
  23037. if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
  23038. compatible = left.hasCompatibleUnits$1(right);
  23039. if (!compatible && inLegacySassFunction != null && left.isComparableTo$1(right)) {
  23040. t1 = A.S(inLegacySassFunction);
  23041. warn.call$2("In future versions of Sass, " + t1 + "() will be interpreted as the CSS " + t1 + string$.x28__cal + t1 + string$.x28__ins, B.Deprecation_ZDV);
  23042. compatible = true;
  23043. }
  23044. if (compatible)
  23045. return operator === B.CalculationOperator_F7i0 ? left.plus$1(right) : left.minus$1(right);
  23046. }
  23047. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
  23048. if (right instanceof A.SassNumber0) {
  23049. t1 = right._number1$_value;
  23050. t1 = t1 < 0 && !A.fuzzyEquals0(t1, 0);
  23051. } else
  23052. t1 = false;
  23053. if (t1) {
  23054. right = right.times$1(A.SassNumber_SassNumber0(-1, null));
  23055. operator = operator === B.CalculationOperator_F7i0 ? B.CalculationOperator_oum0 : B.CalculationOperator_F7i0;
  23056. }
  23057. return new A.CalculationOperation0(operator, left, right);
  23058. } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  23059. return operator === B.CalculationOperator_kkN0 ? left.times$1(right) : left.dividedBy$1(right);
  23060. else
  23061. return new A.CalculationOperation0(operator, left, right);
  23062. },
  23063. SassCalculation__roundWithStep0(strategy, number, step) {
  23064. var _0_2, t1, _0_6, _0_8_isSet, _0_8, _0_9_isSet, _0_9, _0_11, _0_13, stepWithNumberUnit, t2, _null = null;
  23065. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  23066. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, _null));
  23067. _0_2 = number._number1$_value;
  23068. if (_0_2 == 1 / 0 || _0_2 == -1 / 0) {
  23069. t1 = step._number1$_value;
  23070. t1 = t1 == 1 / 0 || t1 == -1 / 0;
  23071. } else
  23072. t1 = false;
  23073. if (!t1) {
  23074. t1 = step._number1$_value;
  23075. t1 = t1 === 0 || isNaN(_0_2) || isNaN(t1);
  23076. } else
  23077. t1 = true;
  23078. if (t1) {
  23079. t1 = number.get$numeratorUnits(number);
  23080. return A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  23081. }
  23082. if (_0_2 == 1 / 0 || _0_2 == -1 / 0)
  23083. return number;
  23084. t1 = step._number1$_value;
  23085. if (t1 == 1 / 0 || t1 == -1 / 0) {
  23086. $label0$0: {
  23087. if (0 === _0_2) {
  23088. t1 = number;
  23089. break $label0$0;
  23090. }
  23091. _0_6 = "nearest" === strategy;
  23092. t1 = _0_6;
  23093. _0_8_isSet = !t1;
  23094. _0_8 = _null;
  23095. if (_0_8_isSet) {
  23096. _0_8 = "to-zero" === strategy;
  23097. _0_9_isSet = _0_8;
  23098. } else
  23099. _0_9_isSet = true;
  23100. _0_9 = _null;
  23101. if (_0_9_isSet) {
  23102. _0_9 = _0_2 > 0;
  23103. t1 = _0_9;
  23104. } else
  23105. t1 = false;
  23106. if (t1) {
  23107. t1 = number.get$numeratorUnits(number);
  23108. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  23109. break $label0$0;
  23110. }
  23111. if (!_0_6)
  23112. if (_0_8_isSet)
  23113. t1 = _0_8;
  23114. else {
  23115. _0_8 = "to-zero" === strategy;
  23116. t1 = _0_8;
  23117. }
  23118. else
  23119. t1 = true;
  23120. if (t1) {
  23121. t1 = number.get$numeratorUnits(number);
  23122. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  23123. break $label0$0;
  23124. }
  23125. _0_11 = "up" === strategy;
  23126. t1 = _0_11;
  23127. if (t1)
  23128. if (_0_9_isSet)
  23129. t1 = _0_9;
  23130. else {
  23131. _0_9 = _0_2 > 0;
  23132. t1 = _0_9;
  23133. }
  23134. else
  23135. t1 = false;
  23136. if (t1) {
  23137. t1 = number.get$numeratorUnits(number);
  23138. t1 = A.SassNumber_SassNumber$withUnits0(1 / 0, number.get$denominatorUnits(number), t1);
  23139. break $label0$0;
  23140. }
  23141. if (_0_11) {
  23142. t1 = number.get$numeratorUnits(number);
  23143. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  23144. break $label0$0;
  23145. }
  23146. _0_13 = "down" === strategy;
  23147. t1 = _0_13;
  23148. if (t1)
  23149. t1 = _0_2 < 0;
  23150. else
  23151. t1 = false;
  23152. if (t1) {
  23153. t1 = number.get$numeratorUnits(number);
  23154. t1 = A.SassNumber_SassNumber$withUnits0(-1 / 0, number.get$denominatorUnits(number), t1);
  23155. break $label0$0;
  23156. }
  23157. if (_0_13) {
  23158. t1 = number.get$numeratorUnits(number);
  23159. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  23160. break $label0$0;
  23161. }
  23162. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  23163. }
  23164. return t1;
  23165. }
  23166. stepWithNumberUnit = step.convertValueToMatch$1(number);
  23167. $label1$1: {
  23168. if ("nearest" === strategy) {
  23169. t1 = B.JSNumber_methods.round$0(_0_2 / stepWithNumberUnit);
  23170. t2 = number.get$numeratorUnits(number);
  23171. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23172. t1 = t2;
  23173. break $label1$1;
  23174. }
  23175. if ("up" === strategy) {
  23176. t2 = _0_2 / stepWithNumberUnit;
  23177. t1 = t1 < 0 ? B.JSNumber_methods.floor$0(t2) : B.JSNumber_methods.ceil$0(t2);
  23178. t2 = number.get$numeratorUnits(number);
  23179. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23180. t1 = t2;
  23181. break $label1$1;
  23182. }
  23183. if ("down" === strategy) {
  23184. t2 = _0_2 / stepWithNumberUnit;
  23185. t1 = t1 < 0 ? B.JSNumber_methods.ceil$0(t2) : B.JSNumber_methods.floor$0(t2);
  23186. t2 = number.get$numeratorUnits(number);
  23187. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23188. t1 = t2;
  23189. break $label1$1;
  23190. }
  23191. if ("to-zero" === strategy) {
  23192. t1 = _0_2 / stepWithNumberUnit;
  23193. if (_0_2 < 0) {
  23194. t1 = B.JSNumber_methods.ceil$0(t1);
  23195. t2 = number.get$numeratorUnits(number);
  23196. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23197. t1 = t2;
  23198. } else {
  23199. t1 = B.JSNumber_methods.floor$0(t1);
  23200. t2 = number.get$numeratorUnits(number);
  23201. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23202. t1 = t2;
  23203. }
  23204. break $label1$1;
  23205. }
  23206. t1 = number.get$numeratorUnits(number);
  23207. t1 = A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  23208. break $label1$1;
  23209. }
  23210. return t1;
  23211. },
  23212. SassCalculation__simplify0(arg) {
  23213. 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,
  23214. _s32_ = " can't be used in a calculation.";
  23215. $label0$0: {
  23216. if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationOperation0) {
  23217. t1 = arg;
  23218. break $label0$0;
  23219. }
  23220. if (arg instanceof A.CalculationInterpolation) {
  23221. t1 = new A.SassString0("(" + arg._calculation0$_value + ")", false);
  23222. break $label0$0;
  23223. }
  23224. t1 = arg instanceof A.SassString0;
  23225. t2 = _null;
  23226. if (t1 && !arg._string0$_hasQuotes) {
  23227. t1 = arg;
  23228. break $label0$0;
  23229. }
  23230. if (t1)
  23231. A.throwExpression(A.SassScriptException$0("Quoted string " + arg.toString$0(0) + _s32_, _null));
  23232. _0_11_isSet = arg instanceof A.SassCalculation0;
  23233. _0_15 = _null;
  23234. _0_12 = _null;
  23235. _0_16_isSet = false;
  23236. text = _null;
  23237. t1 = false;
  23238. if (_0_11_isSet) {
  23239. _0_11 = "calc" === arg.name;
  23240. if (_0_11) {
  23241. _0_12 = arg.$arguments;
  23242. _0_15 = _0_12.length === 1;
  23243. _0_16_isSet = _0_15;
  23244. if (_0_16_isSet) {
  23245. _0_16 = _0_12[0];
  23246. t2 = _0_16;
  23247. if (t2 instanceof A.SassString0) {
  23248. type$.SassString_2._as(_0_16);
  23249. if (!_0_16._string0$_hasQuotes) {
  23250. text = _0_16._string0$_text;
  23251. t1 = A.SassCalculation__needsParentheses0(text);
  23252. }
  23253. }
  23254. } else
  23255. _0_16 = t2;
  23256. } else
  23257. _0_16 = t2;
  23258. _0_12_isSet = _0_11;
  23259. _0_15_isSet = _0_12_isSet;
  23260. } else {
  23261. _0_16 = t2;
  23262. _0_11 = _null;
  23263. _0_15_isSet = false;
  23264. _0_12_isSet = false;
  23265. }
  23266. if (t1) {
  23267. t1 = new A.SassString0("(" + A.S(text) + ")", false);
  23268. break $label0$0;
  23269. }
  23270. t1 = false;
  23271. if (_0_11_isSet)
  23272. if (_0_11)
  23273. if (_0_15_isSet)
  23274. t1 = _0_15;
  23275. else {
  23276. if (_0_12_isSet)
  23277. t1 = _0_12;
  23278. else {
  23279. _0_12 = arg.$arguments;
  23280. t1 = _0_12;
  23281. _0_12_isSet = true;
  23282. }
  23283. _0_15 = t1.length === 1;
  23284. t1 = _0_15;
  23285. }
  23286. if (t1) {
  23287. if (_0_16_isSet)
  23288. value = _0_16;
  23289. else {
  23290. _0_16 = (_0_12_isSet ? _0_12 : arg.$arguments)[0];
  23291. value = _0_16;
  23292. }
  23293. t1 = value;
  23294. break $label0$0;
  23295. }
  23296. if (_0_11_isSet) {
  23297. t1 = arg;
  23298. break $label0$0;
  23299. }
  23300. if (arg instanceof A.Value0)
  23301. A.throwExpression(A.SassScriptException$0("Value " + arg.toString$0(0) + _s32_, _null));
  23302. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  23303. }
  23304. return t1;
  23305. },
  23306. SassCalculation__needsParentheses0(text) {
  23307. var t1, couldBeVar, second, third, fourth, i, t2,
  23308. first = text.charCodeAt(0);
  23309. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  23310. return true;
  23311. t1 = text.length;
  23312. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase0(first, 118);
  23313. if (t1 < 2)
  23314. return false;
  23315. second = text.charCodeAt(1);
  23316. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  23317. return true;
  23318. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(second, 97);
  23319. if (t1 < 3)
  23320. return false;
  23321. third = text.charCodeAt(2);
  23322. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  23323. return true;
  23324. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(third, 114);
  23325. if (t1 < 4)
  23326. return false;
  23327. fourth = text.charCodeAt(3);
  23328. if (couldBeVar && fourth === 40)
  23329. return true;
  23330. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  23331. return true;
  23332. for (i = 4; i < t1; ++i) {
  23333. t2 = text.charCodeAt(i);
  23334. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  23335. return true;
  23336. }
  23337. return false;
  23338. },
  23339. SassCalculation__verifyCompatibleNumbers0(args) {
  23340. var t1, _i, t2, arg, i, number1, j, number2;
  23341. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  23342. arg = args[_i];
  23343. if (arg instanceof A.SassNumber0 && arg.get$hasComplexUnits())
  23344. throw A.wrapException(A.SassScriptException$0("Number " + A.S(arg) + " isn't compatible with CSS calculations.", null));
  23345. }
  23346. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  23347. number1 = args[i];
  23348. if (!(number1 instanceof A.SassNumber0))
  23349. continue;
  23350. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  23351. number2 = args[j];
  23352. if (!(number2 instanceof A.SassNumber0))
  23353. continue;
  23354. if (number1.hasPossiblyCompatibleUnits$1(number2))
  23355. continue;
  23356. throw A.wrapException(A.SassScriptException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  23357. }
  23358. }
  23359. },
  23360. SassCalculation__verifyLength0(args, expectedLength) {
  23361. var t1;
  23362. if (args.length === expectedLength)
  23363. return;
  23364. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
  23365. return;
  23366. t1 = args.length;
  23367. throw A.wrapException(A.SassScriptException$0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", null));
  23368. },
  23369. SassCalculation__singleArgument0($name, argument, mathFunc, forbidUnits) {
  23370. argument = A.SassCalculation__simplify0(argument);
  23371. if (!(argument instanceof A.SassNumber0))
  23372. return new A.SassCalculation0($name, A._setArrayType([argument], type$.JSArray_Object));
  23373. if (forbidUnits)
  23374. argument.assertNoUnits$0();
  23375. return mathFunc.call$1(argument);
  23376. },
  23377. SassCalculation0: function SassCalculation0(t0, t1) {
  23378. this.name = t0;
  23379. this.$arguments = t1;
  23380. },
  23381. SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
  23382. },
  23383. CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
  23384. this._calculation0$_operator = t0;
  23385. this._calculation0$_left = t1;
  23386. this._calculation0$_right = t2;
  23387. },
  23388. CalculationOperator0: function CalculationOperator0(t0, t1, t2, t3) {
  23389. var _ = this;
  23390. _.name = t0;
  23391. _.operator = t1;
  23392. _.precedence = t2;
  23393. _._name = t3;
  23394. },
  23395. CalculationInterpolation: function CalculationInterpolation(t0) {
  23396. this._calculation0$_value = t0;
  23397. },
  23398. CallableDeclaration0: function CallableDeclaration0() {
  23399. },
  23400. updateCanonicalizeContextPrototype() {
  23401. var t1 = type$.JSClass._as(new A.CanonicalizeContext0(false, null).constructor);
  23402. 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));
  23403. return null;
  23404. },
  23405. updateCanonicalizeContextPrototype_closure: function updateCanonicalizeContextPrototype_closure() {
  23406. },
  23407. updateCanonicalizeContextPrototype_closure0: function updateCanonicalizeContextPrototype_closure0() {
  23408. },
  23409. CanonicalizeContext0: function CanonicalizeContext0(t0, t1) {
  23410. this._canonicalize_context$_fromImport = t0;
  23411. this._canonicalize_context$_containingUrl = t1;
  23412. this._canonicalize_context$_wasContainingUrlAccessed = false;
  23413. },
  23414. ColorChannel0: function ColorChannel0(t0, t1, t2) {
  23415. this.name = t0;
  23416. this.isPolarAngle = t1;
  23417. this.associatedUnit = t2;
  23418. },
  23419. LinearChannel0: function LinearChannel0(t0, t1, t2, t3, t4, t5, t6, t7) {
  23420. var _ = this;
  23421. _.min = t0;
  23422. _.max = t1;
  23423. _.requiresPercent = t2;
  23424. _.lowerClamped = t3;
  23425. _.upperClamped = t4;
  23426. _.name = t5;
  23427. _.isPolarAngle = t6;
  23428. _.associatedUnit = t7;
  23429. },
  23430. Chokidar0: function Chokidar0() {
  23431. },
  23432. ChokidarOptions0: function ChokidarOptions0() {
  23433. },
  23434. ChokidarWatcher0: function ChokidarWatcher0() {
  23435. },
  23436. ClassSelector0: function ClassSelector0(t0, t1) {
  23437. this.name = t0;
  23438. this.span = t1;
  23439. },
  23440. ClipGamutMap0: function ClipGamutMap0(t0) {
  23441. this.name = t0;
  23442. },
  23443. cloneCssStylesheet0(stylesheet, extensionStore) {
  23444. var _0_0 = extensionStore.clone$0();
  23445. 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);
  23446. },
  23447. _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
  23448. this._clone_css$_oldToNewSelectors = t0;
  23449. },
  23450. ColorExpression0: function ColorExpression0(t0, t1) {
  23451. this.value = t0;
  23452. this.span = t1;
  23453. },
  23454. _invert0($arguments, global) {
  23455. var t2, color, rgb, channel2, space, weight, inSpace, t3, _1_9, channel0, channel1, t4, _s6_ = "weight", _s5_ = "space",
  23456. t1 = J.getInterceptor$asx($arguments),
  23457. weightNumber = t1.$index($arguments, 1).assertNumber$1(_s6_);
  23458. if (!(t1.$index($arguments, 0) instanceof A.SassNumber0))
  23459. t2 = global && t1.$index($arguments, 0).get$isSpecialNumber();
  23460. else
  23461. t2 = true;
  23462. if (t2) {
  23463. if (weightNumber._number1$_value !== 100 || !weightNumber.hasUnit$1("%"))
  23464. throw A.wrapException(string$.Only_oa);
  23465. return A._functionString0("invert", t1.take$1($arguments, 1));
  23466. }
  23467. color = t1.$index($arguments, 0).assertColor$1("color");
  23468. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull0)) {
  23469. t1 = color._color0$_space;
  23470. if (!t1.get$isLegacyInternal())
  23471. throw A.wrapException(A.SassScriptException$0(string$.To_usei + color.toString$0(0) + ", you must provide a $space.", "color"));
  23472. A._checkPercent0(weightNumber, _s6_);
  23473. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  23474. channel2 = B.LinearChannel_vJ30;
  23475. 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);
  23476. }
  23477. t1 = t1.$index($arguments, 2).assertString$1(_s5_);
  23478. t1.assertUnquoted$1(_s5_);
  23479. space = A.ColorSpace_fromName0(t1._string0$_text, _s5_);
  23480. weight = weightNumber.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100;
  23481. if (A.fuzzyEquals0(weight, 0))
  23482. return color;
  23483. inSpace = color.toSpace$1(space);
  23484. $label0$0: {
  23485. if (B.HwbColorSpace_guQ0 === space) {
  23486. t1 = A._invertChannel0(inSpace, space._space$_channels[0], inSpace.channel0OrNull);
  23487. t2 = inSpace.alphaOrNull;
  23488. if (t2 == null)
  23489. t2 = 0;
  23490. t2 = A.SassColor_SassColor$hwb0(t1, inSpace.channel2OrNull, inSpace.channel1OrNull, t2);
  23491. t1 = t2;
  23492. break $label0$0;
  23493. }
  23494. if (B.HslColorSpace_JQ20 === space || B.LchColorSpace_Bpv0 === space || B.OklchColorSpace_9Gj0 === space) {
  23495. t1 = space._space$_channels;
  23496. t2 = A._invertChannel0(inSpace, t1[0], inSpace.channel0OrNull);
  23497. t1 = A._invertChannel0(inSpace, t1[2], inSpace.channel2OrNull);
  23498. t3 = inSpace.alphaOrNull;
  23499. if (t3 == null)
  23500. t3 = 0;
  23501. t3 = A.SassColor_SassColor$forSpaceInternal0(space, t2, inSpace.channel1OrNull, t1, t3);
  23502. t1 = t3;
  23503. break $label0$0;
  23504. }
  23505. _1_9 = space._space$_channels;
  23506. channel0 = _1_9[0];
  23507. channel1 = _1_9[1];
  23508. channel2 = _1_9[2];
  23509. t1 = A._invertChannel0(inSpace, channel0, inSpace.channel0OrNull);
  23510. t2 = A._invertChannel0(inSpace, channel1, inSpace.channel1OrNull);
  23511. t3 = A._invertChannel0(inSpace, channel2, inSpace.channel2OrNull);
  23512. t4 = inSpace.alphaOrNull;
  23513. t1 = A.SassColor_SassColor$forSpaceInternal0(space, t1, t2, t3, t4 == null ? 0 : t4);
  23514. break $label0$0;
  23515. }
  23516. 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);
  23517. },
  23518. _invertChannel0(color, channel, value) {
  23519. var _0_2_isSet, _0_2, t1;
  23520. if (value == null)
  23521. A._missingChannelError0(color, channel.name);
  23522. $label0$0: {
  23523. _0_2_isSet = channel instanceof A.LinearChannel0;
  23524. if (_0_2_isSet) {
  23525. _0_2 = channel.min;
  23526. t1 = _0_2 < 0;
  23527. } else {
  23528. _0_2 = null;
  23529. t1 = false;
  23530. }
  23531. if (t1) {
  23532. t1 = -value;
  23533. break $label0$0;
  23534. }
  23535. if (_0_2_isSet)
  23536. t1 = 0 === _0_2;
  23537. else
  23538. t1 = false;
  23539. if (t1) {
  23540. t1 = channel.max - value;
  23541. break $label0$0;
  23542. }
  23543. if (channel.isPolarAngle) {
  23544. t1 = B.JSNumber_methods.$mod(value + 180, 360);
  23545. break $label0$0;
  23546. }
  23547. t1 = A.throwExpression(A.UnsupportedError$("Unknown channel " + channel.toString$0(0) + "."));
  23548. }
  23549. return t1;
  23550. },
  23551. _grayscale0(colorArg) {
  23552. var hsl, t2, oklch,
  23553. color = colorArg.assertColor$1("color"),
  23554. t1 = color._color0$_space;
  23555. if (t1.get$isLegacyInternal()) {
  23556. hsl = color.toSpace$1(B.HslColorSpace_JQ20);
  23557. t2 = hsl.alphaOrNull;
  23558. if (t2 == null)
  23559. t2 = 0;
  23560. return A.SassColor_SassColor$hsl0(hsl.channel0OrNull, 0, hsl.channel2OrNull, t2).toSpace$2$legacyMissing(t1, false);
  23561. } else {
  23562. oklch = color.toSpace$1(B.OklchColorSpace_9Gj0);
  23563. t2 = oklch.alphaOrNull;
  23564. if (t2 == null)
  23565. t2 = 0;
  23566. return A.SassColor_SassColor$forSpaceInternal0(B.OklchColorSpace_9Gj0, oklch.channel0OrNull, 0, oklch.channel2OrNull, t2).toSpace$1(t1);
  23567. }
  23568. },
  23569. _updateComponents0($arguments, adjust, change, scale) {
  23570. var t2, t3, keywords, originalColor, spaceKeyword, alphaArg, color, channelArgs, channelInfo, t4, value, channelIndex, result, i, alphaNumber, _null = null, _s5_ = "space",
  23571. t1 = J.getInterceptor$asx($arguments),
  23572. argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  23573. if (argumentList._list1$_contents.length !== 0)
  23574. throw A.wrapException(A.SassScriptException$0(string$.Only_op, _null));
  23575. argumentList._argument_list$_wereKeywordsAccessed = true;
  23576. t2 = type$.String;
  23577. t3 = type$.Value_2;
  23578. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, t2, t3);
  23579. originalColor = t1.$index($arguments, 0).assertColor$1("color");
  23580. t1 = keywords.remove$1(0, _s5_);
  23581. spaceKeyword = t1 == null ? _null : t1.assertString$1(_s5_);
  23582. if (spaceKeyword == null)
  23583. spaceKeyword = _null;
  23584. else
  23585. spaceKeyword.assertUnquoted$1(_s5_);
  23586. alphaArg = keywords.remove$1(0, "alpha");
  23587. t1 = spaceKeyword == null;
  23588. if (t1 && originalColor._color0$_space.get$isLegacyInternal() && keywords.__js_helper$_length !== 0) {
  23589. t1 = A.NullableExtension_andThen0(A._sniffLegacyColorSpace0(keywords), new A._updateComponents_closure1(originalColor));
  23590. color = t1 == null ? originalColor : t1;
  23591. } else
  23592. color = A._colorInSpace0(originalColor, t1 ? B.C__SassNull0 : spaceKeyword, true);
  23593. channelArgs = A.List_List$filled(color.get$channels().length, _null, false, type$.nullable_Value_2);
  23594. t1 = color._color0$_space;
  23595. channelInfo = t1._space$_channels;
  23596. for (t2 = A.MapExtensions_get_pairs0(keywords, t2, t3), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  23597. t3 = {};
  23598. t4 = t2.get$current(t2);
  23599. t3.name = null;
  23600. t3.name = t4._0;
  23601. value = t4._1;
  23602. channelIndex = B.JSArray_methods.indexWhere$1(channelInfo, new A._updateComponents_closure2(t3));
  23603. if (channelIndex === -1)
  23604. throw A.wrapException(A.SassScriptException$0("Color space " + t1.toString$0(0) + " doesn't have a channel with this name.", t3.name));
  23605. channelArgs[channelIndex] = value;
  23606. }
  23607. if (change)
  23608. result = A._changeColor0(color, channelArgs, alphaArg);
  23609. else {
  23610. t2 = A._setArrayType([], type$.JSArray_nullable_SassNumber_2);
  23611. for (i = 0; i < 3; ++i) {
  23612. t3 = channelArgs[i];
  23613. t2.push(t3 == null ? _null : t3.assertNumber$1(channelInfo[i].name));
  23614. }
  23615. alphaNumber = alphaArg == null ? _null : alphaArg.assertNumber$1("alpha");
  23616. 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);
  23617. }
  23618. return result.toSpace$2$legacyMissing(originalColor._color0$_space, false);
  23619. },
  23620. _changeColor0(color, channelArgs, alphaArg) {
  23621. var t4, _s5_ = "alpha",
  23622. t1 = A._channelForChange0(channelArgs[0], color, 0),
  23623. t2 = A._channelForChange0(channelArgs[1], color, 1),
  23624. t3 = A._channelForChange0(channelArgs[2], color, 2);
  23625. $label0$0: {
  23626. if (alphaArg == null) {
  23627. t4 = color.alphaOrNull;
  23628. if (t4 == null)
  23629. t4 = 0;
  23630. break $label0$0;
  23631. }
  23632. t4 = A._isNone0(alphaArg);
  23633. if (t4) {
  23634. t4 = null;
  23635. break $label0$0;
  23636. }
  23637. t4 = alphaArg instanceof A.SassNumber0;
  23638. if (t4 && !alphaArg.get$hasUnits()) {
  23639. t4 = alphaArg.valueInRange$3(0, 1, _s5_);
  23640. break $label0$0;
  23641. }
  23642. if (t4 && alphaArg.hasUnit$1("%")) {
  23643. t4 = alphaArg.valueInRangeWithUnit$4(0, 100, _s5_, "%") / 100;
  23644. break $label0$0;
  23645. }
  23646. if (t4) {
  23647. t4 = new A._changeColor_closure0(alphaArg).call$0();
  23648. break $label0$0;
  23649. }
  23650. t4 = A.throwExpression(A.SassScriptException$0(alphaArg.toString$0(0) + ' is not a number or unquoted "none".', _s5_));
  23651. }
  23652. return A._colorFromChannels0(color._color0$_space, t1, t2, t3, t4, false, false);
  23653. },
  23654. _channelForChange0(channelArg, color, channel) {
  23655. var _0_0, t1, t2;
  23656. if (channelArg == null) {
  23657. _0_0 = color.get$channelsOrNull()[channel];
  23658. $label0$0: {
  23659. if (_0_0 != null) {
  23660. t1 = color._color0$_space;
  23661. t2 = A.SassNumber_SassNumber0(_0_0, (t1 === B.HslColorSpace_JQ20 || t1 === B.HwbColorSpace_guQ0) && channel > 0 ? "%" : null);
  23662. t1 = t2;
  23663. break $label0$0;
  23664. }
  23665. t1 = null;
  23666. break $label0$0;
  23667. }
  23668. return t1;
  23669. }
  23670. if (A._isNone0(channelArg))
  23671. return null;
  23672. if (channelArg instanceof A.SassNumber0)
  23673. return channelArg;
  23674. throw A.wrapException(A.SassScriptException$0(channelArg.toString$0(0) + ' is not a number or unquoted "none".', color._color0$_space._space$_channels[channel].name));
  23675. },
  23676. _scaleChannel0(color, channel, oldValue, factorArg) {
  23677. var t1, factor;
  23678. if (factorArg == null)
  23679. return oldValue;
  23680. if (!(channel instanceof A.LinearChannel0))
  23681. throw A.wrapException(A.SassScriptException$0("Channel isn't scalable.", channel.name));
  23682. if (oldValue == null)
  23683. A._missingChannelError0(color, channel.name);
  23684. t1 = channel.name;
  23685. factorArg.assertUnit$2("%", t1);
  23686. factor = factorArg.valueInRangeWithUnit$4(-100, 100, t1, "%") / 100;
  23687. $label0$0: {
  23688. if (0 === factor) {
  23689. t1 = oldValue;
  23690. break $label0$0;
  23691. }
  23692. if (factor > 0) {
  23693. t1 = channel.max;
  23694. t1 = oldValue >= t1 ? oldValue : oldValue + (t1 - oldValue) * factor;
  23695. break $label0$0;
  23696. }
  23697. t1 = channel.min;
  23698. t1 = oldValue <= t1 ? oldValue : oldValue + (oldValue - t1) * factor;
  23699. break $label0$0;
  23700. }
  23701. return t1;
  23702. },
  23703. _adjustColor0(color, channelArgs, alphaArg) {
  23704. var t1 = color._color0$_space,
  23705. t2 = t1._space$_channels;
  23706. 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()));
  23707. },
  23708. _adjustChannel0(color, channel, oldValue, adjustmentArg) {
  23709. var _0_1, _0_3, t1, _0_6_isSet, _0_6, _0_6_isSet0, t2, _0_11, result, min, max, _null = null;
  23710. if (adjustmentArg == null)
  23711. return oldValue;
  23712. if (oldValue == null)
  23713. A._missingChannelError0(color, channel.name);
  23714. $label0$0: {
  23715. _0_1 = color._color0$_space;
  23716. _0_3 = B.HslColorSpace_JQ20 === _0_1;
  23717. t1 = _0_3;
  23718. if (!t1)
  23719. _0_6_isSet = B.HwbColorSpace_guQ0 === _0_1;
  23720. else
  23721. _0_6_isSet = true;
  23722. if (_0_6_isSet) {
  23723. t1 = channel.isPolarAngle;
  23724. _0_6 = channel;
  23725. } else {
  23726. _0_6 = _null;
  23727. t1 = false;
  23728. }
  23729. if (t1) {
  23730. adjustmentArg = A.SassNumber_SassNumber0(A._angleValue0(adjustmentArg, "hue"), _null);
  23731. break $label0$0;
  23732. }
  23733. t1 = false;
  23734. if (_0_3) {
  23735. _0_6_isSet0 = true;
  23736. if (_0_6_isSet)
  23737. t2 = _0_6;
  23738. else {
  23739. t2 = channel;
  23740. _0_6_isSet = _0_6_isSet0;
  23741. _0_6 = t2;
  23742. }
  23743. if (t2 instanceof A.LinearChannel0) {
  23744. if (_0_6_isSet)
  23745. t1 = _0_6;
  23746. else {
  23747. t1 = channel;
  23748. _0_6_isSet = _0_6_isSet0;
  23749. _0_6 = t1;
  23750. }
  23751. _0_11 = type$.LinearChannel_2._as(t1).name;
  23752. t1 = _0_11;
  23753. if ("saturation" !== t1)
  23754. t1 = "lightness" === _0_11;
  23755. else
  23756. t1 = true;
  23757. }
  23758. }
  23759. if (t1) {
  23760. A._checkPercent0(adjustmentArg, channel.name);
  23761. adjustmentArg = A.SassNumber_SassNumber0(adjustmentArg._number1$_value, "%");
  23762. break $label0$0;
  23763. }
  23764. if (B.LinearChannel_XL80 === (_0_6_isSet ? _0_6 : channel) && adjustmentArg.get$hasUnits()) {
  23765. A.warnForDeprecation0("$alpha: Passing a number with unit " + adjustmentArg.get$unitString() + string$.x20is_de + adjustmentArg.unitSuggestion$1("alpha") + string$.x0a_Morex3af, B.Deprecation_vn5);
  23766. adjustmentArg = A.SassNumber_SassNumber0(adjustmentArg._number1$_value, _null);
  23767. }
  23768. }
  23769. t1 = A._channelFromValue0(channel, adjustmentArg, false);
  23770. t1.toString;
  23771. result = oldValue + t1;
  23772. $label1$1: {
  23773. t1 = channel instanceof A.LinearChannel0;
  23774. min = _null;
  23775. t2 = false;
  23776. if (t1)
  23777. if (channel.lowerClamped) {
  23778. min = channel.min;
  23779. t2 = result < min;
  23780. }
  23781. if (t2) {
  23782. t1 = oldValue < min ? Math.max(oldValue, result) : min;
  23783. break $label1$1;
  23784. }
  23785. max = _null;
  23786. t2 = false;
  23787. if (t1)
  23788. if (channel.upperClamped) {
  23789. max = channel.max;
  23790. t1 = result > max;
  23791. } else
  23792. t1 = t2;
  23793. else
  23794. t1 = t2;
  23795. if (t1) {
  23796. t1 = oldValue > max ? Math.min(oldValue, result) : max;
  23797. break $label1$1;
  23798. }
  23799. t1 = result;
  23800. break $label1$1;
  23801. }
  23802. return t1;
  23803. },
  23804. _sniffLegacyColorSpace0(keywords) {
  23805. var t1, t2;
  23806. for (t1 = new A.LinkedHashMapKeyIterator(keywords, keywords.__js_helper$_modifications, keywords.__js_helper$_first); t1.moveNext$0();) {
  23807. t2 = t1.__js_helper$_current;
  23808. if ("red" === t2 || "green" === t2 || "blue" === t2)
  23809. return B.RgbColorSpace_i0P0;
  23810. if ("saturation" === t2 || "lightness" === t2)
  23811. return B.HslColorSpace_JQ20;
  23812. if ("whiteness" === t2 || "blackness" === t2)
  23813. return B.HwbColorSpace_guQ0;
  23814. }
  23815. return keywords.containsKey$1("hue") ? B.HslColorSpace_JQ20 : null;
  23816. },
  23817. _functionString0($name, $arguments) {
  23818. return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
  23819. },
  23820. _removedColorFunction0($name, argument, negative) {
  23821. return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
  23822. },
  23823. _rgb0($name, $arguments) {
  23824. var t3, t4,
  23825. t1 = J.getInterceptor$asx($arguments),
  23826. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  23827. t2 = true;
  23828. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  23829. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  23830. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  23831. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  23832. t2 = t2 === true;
  23833. }
  23834. if (t2)
  23835. return A._functionString0($name, $arguments);
  23836. t2 = t1.$index($arguments, 0).assertNumber$1("red");
  23837. t3 = t1.$index($arguments, 1).assertNumber$1("green");
  23838. t1 = t1.$index($arguments, 2).assertNumber$1("blue");
  23839. t4 = A.NullableExtension_andThen0(alpha, new A._rgb_closure0());
  23840. return A._colorFromChannels0(B.RgbColorSpace_i0P0, t2, t3, t1, t4 == null ? 1 : t4, true, true);
  23841. },
  23842. _rgbTwoArg0($name, $arguments) {
  23843. var t2, color,
  23844. t1 = J.getInterceptor$asx($arguments),
  23845. first = t1.$index($arguments, 0),
  23846. second = t1.$index($arguments, 1);
  23847. if (!first.get$isVar())
  23848. t2 = !(first instanceof A.SassColor0) && second.get$isVar();
  23849. else
  23850. t2 = true;
  23851. if (t2)
  23852. return A._functionString0($name, $arguments);
  23853. color = first.assertColor$1("color");
  23854. if (!color._color0$_space.get$isLegacyInternal())
  23855. throw A.wrapException(A.SassScriptException$0("Expected " + color.toString$0(0) + string$.x20to_be_ + color.toString$0(0) + ", $alpha: " + second.toString$0(0) + ")", $name));
  23856. color.assertLegacy$1("color");
  23857. color = color.toSpace$1(B.RgbColorSpace_i0P0);
  23858. if (second.get$isSpecialNumber())
  23859. 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));
  23860. t1 = A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha");
  23861. return color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  23862. },
  23863. _hsl0($name, $arguments) {
  23864. var t3, t4,
  23865. t1 = J.getInterceptor$asx($arguments),
  23866. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  23867. t2 = true;
  23868. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  23869. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  23870. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  23871. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  23872. t2 = t2 === true;
  23873. }
  23874. if (t2)
  23875. return A._functionString0($name, $arguments);
  23876. t2 = t1.$index($arguments, 0).assertNumber$1("hue");
  23877. t3 = t1.$index($arguments, 1).assertNumber$1("saturation");
  23878. t1 = t1.$index($arguments, 2).assertNumber$1("lightness");
  23879. t4 = A.NullableExtension_andThen0(alpha, new A._hsl_closure0());
  23880. return A._colorFromChannels0(B.HslColorSpace_JQ20, t2, t3, t1, t4 == null ? 1 : t4, true, false);
  23881. },
  23882. _angleValue0(angleValue, $name) {
  23883. var angle = angleValue.assertNumber$1($name);
  23884. if (angle.compatibleWithUnit$1("deg"))
  23885. return angle.coerceValueToUnit$1("deg");
  23886. 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);
  23887. return angle._number1$_value;
  23888. },
  23889. _checkPercent0(number, $name) {
  23890. if (number.hasUnit$1("%"))
  23891. return;
  23892. 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);
  23893. },
  23894. _percentageOrUnitless0(number, max, $name) {
  23895. var value;
  23896. if (!number.get$hasUnits())
  23897. value = number._number1$_value;
  23898. else if (number.hasUnit$1("%"))
  23899. value = max * number._number1$_value / 100;
  23900. else
  23901. throw A.wrapException(A.SassScriptException$0("Expected " + number.toString$0(0) + ' to have unit "%" or no units.', $name));
  23902. return value;
  23903. },
  23904. _mixLegacy0(color1, color2, weight) {
  23905. var t2, alphaDistance, weight1, weight2, t3, t4, t5, t6, t7, t8,
  23906. rgb1 = color1.toSpace$1(B.RgbColorSpace_i0P0),
  23907. rgb2 = color2.toSpace$1(B.RgbColorSpace_i0P0),
  23908. weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
  23909. normalizedWeight = weightScale * 2 - 1,
  23910. t1 = color1.alphaOrNull;
  23911. if (t1 == null)
  23912. t1 = 0;
  23913. t2 = color2.alphaOrNull;
  23914. alphaDistance = t1 - (t2 == null ? 0 : t2);
  23915. t1 = normalizedWeight * alphaDistance;
  23916. weight1 = ((t1 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t1)) + 1) / 2;
  23917. weight2 = 1 - weight1;
  23918. t1 = rgb1.channel0OrNull;
  23919. if (t1 == null)
  23920. t1 = 0;
  23921. t2 = rgb2.channel0OrNull;
  23922. if (t2 == null)
  23923. t2 = 0;
  23924. t3 = rgb1.channel1OrNull;
  23925. if (t3 == null)
  23926. t3 = 0;
  23927. t4 = rgb2.channel1OrNull;
  23928. if (t4 == null)
  23929. t4 = 0;
  23930. t5 = rgb1.channel2OrNull;
  23931. if (t5 == null)
  23932. t5 = 0;
  23933. t6 = rgb2.channel2OrNull;
  23934. if (t6 == null)
  23935. t6 = 0;
  23936. t7 = rgb1.alphaOrNull;
  23937. if (t7 == null)
  23938. t7 = 0;
  23939. t8 = rgb2.alphaOrNull;
  23940. if (t8 == null)
  23941. t8 = 0;
  23942. return A.SassColor_SassColor$rgbInternal0(t1 * weight1 + t2 * weight2, t3 * weight1 + t4 * weight2, t5 * weight1 + t6 * weight2, t7 * weightScale + t8 * (1 - weightScale), null);
  23943. },
  23944. _opacify0($name, $arguments) {
  23945. var result,
  23946. t1 = J.getInterceptor$asx($arguments),
  23947. color = t1.$index($arguments, 0).assertColor$1("color"),
  23948. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  23949. if (!color._color0$_space.get$isLegacyInternal())
  23950. throw A.wrapException(A.SassScriptException$0($name + string$.x28__is_oa, null));
  23951. t1 = color.alphaOrNull;
  23952. if (t1 == null)
  23953. t1 = 0;
  23954. t1 += amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  23955. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  23956. A.warnForDeprecation0($name + "() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_fdF);
  23957. return result;
  23958. },
  23959. _transparentize0($name, $arguments) {
  23960. var result,
  23961. t1 = J.getInterceptor$asx($arguments),
  23962. color = t1.$index($arguments, 0).assertColor$1("color"),
  23963. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  23964. if (!color._color0$_space.get$isLegacyInternal())
  23965. throw A.wrapException(A.SassScriptException$0($name + string$.x28__is_oa, null));
  23966. t1 = color.alphaOrNull;
  23967. if (t1 == null)
  23968. t1 = 0;
  23969. t1 -= amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  23970. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  23971. A.warnForDeprecation0($name + "() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_fdF);
  23972. return result;
  23973. },
  23974. _colorInSpace0(colorUntyped, spaceUntyped, legacyMissing) {
  23975. var t1, _s5_ = "space",
  23976. color = colorUntyped.assertColor$1("color");
  23977. if (spaceUntyped.$eq(0, B.C__SassNull0))
  23978. return color;
  23979. t1 = spaceUntyped.assertString$1(_s5_);
  23980. t1.assertUnquoted$1(_s5_);
  23981. return color.toSpace$2$legacyMissing(A.ColorSpace_fromName0(t1._string0$_text, _s5_), legacyMissing);
  23982. },
  23983. _parseChannels0(functionName, input, $name, space) {
  23984. var parsedSlash, components, alphaValue, _2_0, _2_1, _2_5, t1, t2, _2_6, channels, first, rest, componentList, spaceName, i, channel, channelName, t3, t4, _null = null;
  23985. if (input.get$isVar())
  23986. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  23987. parsedSlash = A._parseSlashChannels0(input, $name);
  23988. if (parsedSlash == null)
  23989. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  23990. components = parsedSlash._0;
  23991. alphaValue = parsedSlash._1;
  23992. $label0$0: {
  23993. _2_0 = components.assertCommonListStyle$2$allowSlash($name, false);
  23994. _2_1 = _2_0.length;
  23995. if (_2_1 <= 0)
  23996. throw A.wrapException(A.SassScriptException$0("Color component list may not be empty.", $name));
  23997. _2_5 = _2_1 >= 1;
  23998. t1 = _2_5;
  23999. t2 = false;
  24000. if (t1) {
  24001. _2_6 = _2_0[0];
  24002. if (_2_6 instanceof A.SassString0) {
  24003. type$.SassString_2._as(_2_6);
  24004. t2 = !_2_6._string0$_hasQuotes && _2_6._string0$_text.toLowerCase() === "from";
  24005. }
  24006. } else
  24007. _2_6 = _null;
  24008. if (t2)
  24009. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24010. t2 = components.get$isVar();
  24011. if (t2) {
  24012. channels = A._setArrayType([components], type$.JSArray_Value_2);
  24013. break $label0$0;
  24014. }
  24015. channels = _null;
  24016. if (_2_5) {
  24017. first = t1 ? _2_6 : _2_0[0];
  24018. rest = B.JSArray_methods.sublist$1(_2_0, 1);
  24019. componentList = _2_0;
  24020. } else {
  24021. componentList = channels;
  24022. rest = componentList;
  24023. first = _null;
  24024. }
  24025. if (_2_5) {
  24026. if (space == null) {
  24027. spaceName = first.assertString$1($name);
  24028. spaceName.assertUnquoted$1($name);
  24029. space = spaceName.get$isVar() ? _null : A.ColorSpace_fromName0(spaceName._string0$_text, $name);
  24030. 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)
  24031. throw A.wrapException(A.SassScriptException$0(string$.The_co + A.S(space) + ". Use the " + A.S(space) + "() function instead.", $name));
  24032. channels = rest;
  24033. } else
  24034. channels = componentList;
  24035. for (i = 0; i < channels.length; ++i) {
  24036. channel = channels[i];
  24037. t1 = false;
  24038. if (!channel.get$isSpecialNumber())
  24039. if (!(channel instanceof A.SassNumber0))
  24040. t1 = !(channel instanceof A.SassString0 && !channel._string0$_hasQuotes && channel._string0$_text.toLowerCase() === "none");
  24041. if (t1) {
  24042. t1 = _null;
  24043. if (space == null)
  24044. channelName = t1;
  24045. else {
  24046. t2 = space._space$_channels;
  24047. t2 = i < 3 ? t2[i] : _null;
  24048. if (!(t2 == null))
  24049. t1 = new A._parseChannels_closure1().call$1(t2.name);
  24050. channelName = t1;
  24051. }
  24052. if (channelName == null)
  24053. channelName = "channel " + (i + 1);
  24054. throw A.wrapException(A.SassScriptException$0("Expected " + channelName + " to be a number, was " + channel.toString$0(0) + ".", $name));
  24055. }
  24056. }
  24057. break $label0$0;
  24058. }
  24059. throw A.wrapException("unreachable");
  24060. }
  24061. t1 = alphaValue == null;
  24062. t2 = t1 ? _null : alphaValue.get$isSpecialNumber();
  24063. if (t2 === true) {
  24064. if (channels.length === 3 && B.Set_9FDyj0.contains$1(0, space)) {
  24065. t1 = A.List_List$of(channels, true, type$.Value_2);
  24066. alphaValue.toString;
  24067. t1.push(alphaValue);
  24068. t1 = A._functionString0(functionName, t1);
  24069. } else
  24070. t1 = A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24071. return t1;
  24072. }
  24073. $label1$1: {
  24074. if (t1) {
  24075. t2 = 1;
  24076. break $label1$1;
  24077. }
  24078. if (alphaValue instanceof A.SassString0 && !alphaValue._string0$_hasQuotes && "none" === alphaValue._string0$_text) {
  24079. t2 = _null;
  24080. break $label1$1;
  24081. }
  24082. t2 = A._percentageOrUnitless0(alphaValue.assertNumber$1($name), 1, "alpha");
  24083. t2 = isNaN(t2) ? 0 : B.JSNumber_methods.clamp$2(t2, 0, 1);
  24084. break $label1$1;
  24085. }
  24086. if (space == null)
  24087. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24088. if (B.JSArray_methods.any$1(channels, new A._parseChannels_closure2())) {
  24089. if (channels.length === 3 && B.Set_9FDyj0.contains$1(0, space)) {
  24090. t2 = A.List_List$of(channels, true, type$.Value_2);
  24091. if (!t1)
  24092. t2.push(alphaValue);
  24093. t1 = A._functionString0(functionName, t2);
  24094. } else
  24095. t1 = A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24096. return t1;
  24097. }
  24098. if (channels.length !== 3)
  24099. 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));
  24100. t1 = channels[0];
  24101. t1 = t1 instanceof A.SassNumber0 ? t1 : _null;
  24102. t3 = channels[1];
  24103. t3 = t3 instanceof A.SassNumber0 ? t3 : _null;
  24104. t4 = channels[2];
  24105. t4 = t4 instanceof A.SassNumber0 ? t4 : _null;
  24106. return A._colorFromChannels0(space, t1, t3, t4, t2, true, space === B.RgbColorSpace_i0P0);
  24107. },
  24108. _parseSlashChannels0(input, $name) {
  24109. var _1_1, alphaValue, t1, components, _1_7, _1_9_isSet, _1_8, _1_9, initial, t2, _0_0, _0_1, channel3, alpha, _1_16, _1_16_isSet, _1_9_isSet0, t3, _null = null,
  24110. _1_0 = input.assertCommonListStyle$2$allowSlash($name, true);
  24111. $label0$0: {
  24112. _1_1 = _1_0.length;
  24113. alphaValue = _null;
  24114. t1 = false;
  24115. if (_1_1 === 2) {
  24116. components = _1_0[0];
  24117. alphaValue = _1_0[1];
  24118. t1 = input.get$separator(input) === B.ListSeparator_bRz0;
  24119. } else
  24120. components = _null;
  24121. if (t1) {
  24122. t1 = new A._Record_2(components, alphaValue);
  24123. break $label0$0;
  24124. }
  24125. t1 = input.get$separator(input);
  24126. if (t1 === B.ListSeparator_bRz0) {
  24127. t1 = _1_0.length;
  24128. A.throwExpression(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", $name));
  24129. }
  24130. _1_7 = _1_1 >= 1;
  24131. _1_9_isSet = _1_7;
  24132. _1_8 = _null;
  24133. _1_9 = _null;
  24134. initial = _null;
  24135. t1 = false;
  24136. if (_1_9_isSet) {
  24137. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  24138. initial = _1_8;
  24139. _1_9 = _1_0[_1_1 - 1];
  24140. t2 = _1_9;
  24141. if (t2 instanceof A.SassString0) {
  24142. type$.SassString_2._as(_1_9);
  24143. t1 = !_1_9._string0$_hasQuotes;
  24144. }
  24145. }
  24146. if (t1) {
  24147. if (_1_9_isSet)
  24148. t1 = _1_9;
  24149. else {
  24150. _1_9 = _1_0[_1_1 - 1];
  24151. t1 = _1_9;
  24152. }
  24153. _0_0 = type$.SassString_2._as(t1)._string0$_text.split("/");
  24154. $label1$1: {
  24155. _0_1 = _0_0.length;
  24156. if (_0_1 === 1) {
  24157. t1 = new A._Record_2(input, _null);
  24158. break $label1$1;
  24159. }
  24160. if (_0_1 === 2) {
  24161. channel3 = _0_0[0];
  24162. alpha = _0_0[1];
  24163. t1 = A.List_List$of(initial, true, type$.Value_2);
  24164. t1.push(A._parseNumberOrString0(channel3));
  24165. t1 = new A._Record_2(A.SassList$0(t1, B.ListSeparator_qSL0, false), A._parseNumberOrString0(alpha));
  24166. break $label1$1;
  24167. }
  24168. t1 = _null;
  24169. break $label1$1;
  24170. }
  24171. break $label0$0;
  24172. }
  24173. _1_16 = _null;
  24174. _1_16_isSet = false;
  24175. t1 = false;
  24176. if (_1_7) {
  24177. _1_9_isSet0 = true;
  24178. if (_1_9_isSet)
  24179. initial = _1_8;
  24180. else {
  24181. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  24182. initial = _1_8;
  24183. }
  24184. if (_1_9_isSet)
  24185. t2 = _1_9;
  24186. else {
  24187. _1_9 = _1_0[_1_1 - 1];
  24188. t2 = _1_9;
  24189. _1_9_isSet = _1_9_isSet0;
  24190. }
  24191. _1_16_isSet = t2 instanceof A.SassNumber0;
  24192. if (_1_16_isSet) {
  24193. if (_1_9_isSet)
  24194. t1 = _1_9;
  24195. else {
  24196. _1_9 = _1_0[_1_1 - 1];
  24197. t1 = _1_9;
  24198. _1_9_isSet = _1_9_isSet0;
  24199. }
  24200. _1_16 = type$.SassNumber_2._as(t1).asSlash;
  24201. t1 = _1_16;
  24202. t1 = type$.Record_2_nullable_Object_and_nullable_Object._is(t1);
  24203. }
  24204. } else
  24205. initial = _null;
  24206. if (t1) {
  24207. if (_1_16_isSet)
  24208. t1 = _1_16;
  24209. else {
  24210. if (_1_9_isSet)
  24211. t1 = _1_9;
  24212. else {
  24213. _1_9 = _1_0[_1_1 - 1];
  24214. t1 = _1_9;
  24215. _1_9_isSet = true;
  24216. }
  24217. _1_16 = type$.SassNumber_2._as(t1).asSlash;
  24218. t1 = _1_16;
  24219. _1_16_isSet = true;
  24220. }
  24221. if (t1 == null)
  24222. t1 = type$.Record_2_nullable_Object_and_nullable_Object._as(t1);
  24223. if (_1_16_isSet)
  24224. t2 = _1_16;
  24225. else {
  24226. if (_1_9_isSet)
  24227. t2 = _1_9;
  24228. else {
  24229. _1_9 = _1_0[_1_1 - 1];
  24230. t2 = _1_9;
  24231. }
  24232. _1_16 = type$.SassNumber_2._as(t2).asSlash;
  24233. t2 = _1_16;
  24234. }
  24235. if (t2 == null)
  24236. t2 = type$.Record_2_nullable_Object_and_nullable_Object._as(t2);
  24237. t3 = A.List_List$of(initial, true, type$.Value_2);
  24238. t3.push(t1._0);
  24239. t2 = new A._Record_2(A.SassList$0(t3, B.ListSeparator_qSL0, false), t2._1);
  24240. t1 = t2;
  24241. break $label0$0;
  24242. }
  24243. t1 = new A._Record_2(input, _null);
  24244. break $label0$0;
  24245. }
  24246. return t1;
  24247. },
  24248. _parseNumberOrString0(text) {
  24249. var t1, expression, exception;
  24250. try {
  24251. t1 = A.ScssParser$0(text, null);
  24252. expression = t1._stylesheet0$_parseSingleProduction$1$1(t1.get$_stylesheet0$_number(), type$.NumberExpression_2);
  24253. t1 = A.SassNumber_SassNumber0(expression.value, expression.unit);
  24254. return t1;
  24255. } catch (exception) {
  24256. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  24257. return new A.SassString0(text, false);
  24258. else
  24259. throw exception;
  24260. }
  24261. },
  24262. _colorFromChannels0(space, channel0, channel1, channel2, alpha, clamp, fromRgbFunction) {
  24263. var t1, t2, whiteness, blackness, t3;
  24264. switch (space) {
  24265. case B.HslColorSpace_JQ20:
  24266. if (channel1 != null)
  24267. A._checkPercent0(channel1, "saturation");
  24268. if (channel2 != null)
  24269. A._checkPercent0(channel2, "lightness");
  24270. t1 = space._space$_channels;
  24271. 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);
  24272. case B.HwbColorSpace_guQ0:
  24273. t1 = channel1 == null;
  24274. if (!t1)
  24275. channel1.assertUnit$2("%", "whiteness");
  24276. t2 = channel2 == null;
  24277. if (!t2)
  24278. channel2.assertUnit$2("%", "blackness");
  24279. whiteness = t1 ? null : channel1._number1$_value;
  24280. blackness = t2 ? null : channel2._number1$_value;
  24281. if (whiteness != null && blackness != null && whiteness + blackness > 100) {
  24282. t1 = whiteness + blackness;
  24283. whiteness = whiteness / t1 * 100;
  24284. blackness = blackness / t1 * 100;
  24285. }
  24286. return A.SassColor_SassColor$hwb0(A.NullableExtension_andThen0(channel0, new A._colorFromChannels_closure2()), whiteness, blackness, alpha);
  24287. case B.RgbColorSpace_i0P0:
  24288. t1 = space._space$_channels;
  24289. t2 = A._channelFromValue0(t1[0], channel0, clamp);
  24290. t3 = A._channelFromValue0(t1[1], channel1, clamp);
  24291. t1 = A._channelFromValue0(t1[2], channel2, clamp);
  24292. return A.SassColor_SassColor$rgbInternal0(t2, t3, t1, alpha, fromRgbFunction ? B.C__ColorFormatEnum0 : null);
  24293. default:
  24294. t1 = space._space$_channels;
  24295. 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);
  24296. }
  24297. },
  24298. _forcePercent0(number) {
  24299. var t1, _0_3;
  24300. $label0$0: {
  24301. if (number == null) {
  24302. t1 = null;
  24303. break $label0$0;
  24304. }
  24305. _0_3 = number.get$numeratorUnits(number);
  24306. if (_0_3.length === 1)
  24307. t1 = "%" === _0_3[0] && number.get$denominatorUnits(number).length <= 0;
  24308. else
  24309. t1 = false;
  24310. if (t1) {
  24311. t1 = number;
  24312. break $label0$0;
  24313. }
  24314. t1 = A.SassNumber_SassNumber0(number._number1$_value, "%");
  24315. break $label0$0;
  24316. }
  24317. return t1;
  24318. },
  24319. _channelFromValue0(channel, value, clamp) {
  24320. return A.NullableExtension_andThen0(value, new A._channelFromValue_closure0(channel, clamp));
  24321. },
  24322. _isNone0(value) {
  24323. return value instanceof A.SassString0 && !value._string0$_hasQuotes && value._string0$_text.toLowerCase() === "none";
  24324. },
  24325. _channelFunction0($name, space, getter, global, unit) {
  24326. return A.BuiltInCallable$function0($name, "$color", new A._channelFunction_closure0(getter, unit, global, $name, space), "sass:color");
  24327. },
  24328. _suggestScaleAndAdjust0(original, adjustment, channelName) {
  24329. var t2, oldValue, newValue, factor, t3, suggestion,
  24330. channel = channelName === "alpha" ? B.LinearChannel_XL80 : type$.LinearChannel_2._as(B.JSArray_methods.firstWhere$1(B.List_oAL0, new A._suggestScaleAndAdjust_closure0(channelName))),
  24331. t1 = channel === B.LinearChannel_XL80;
  24332. if (t1) {
  24333. t2 = original.alphaOrNull;
  24334. oldValue = t2 == null ? 0 : t2;
  24335. } else
  24336. oldValue = original.toSpace$1(B.HslColorSpace_JQ20).channel$1(0, channelName);
  24337. newValue = oldValue + adjustment;
  24338. if (adjustment !== 0) {
  24339. factor = A._Cell$();
  24340. t2 = channel.max;
  24341. if (newValue > t2)
  24342. factor.__late_helper$_value = 1;
  24343. else {
  24344. t3 = channel.min;
  24345. if (newValue < t3)
  24346. factor.__late_helper$_value = -1;
  24347. else if (adjustment > 0)
  24348. factor.__late_helper$_value = adjustment / (t2 - oldValue);
  24349. else
  24350. factor.__late_helper$_value = (newValue - oldValue) / (oldValue - t3);
  24351. }
  24352. suggestion = "Suggestion" + ("s:\n\ncolor.scale($color, $" + channelName + ": " + A.SassNumber_SassNumber0(factor._readLocal$0() * 100, "%").toString$0(0) + ")\n");
  24353. } else
  24354. suggestion = "Suggestion:\n\n";
  24355. return suggestion + ("color.adjust($color, $" + channelName + ": " + A.SassNumber_SassNumber0(adjustment, t1 ? null : "%").toString$0(0) + ")");
  24356. },
  24357. _missingChannelError0(color, channel) {
  24358. return A.throwExpression(A.SassScriptException$0(string$.Becaus + color.toString$0(0) + ").", channel));
  24359. },
  24360. _channelName0(value) {
  24361. var t1 = value.assertString$1("channel");
  24362. t1.assertQuoted$1("channel");
  24363. return t1._string0$_text;
  24364. },
  24365. _function12($name, $arguments, callback) {
  24366. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
  24367. },
  24368. global_closure44: function global_closure44() {
  24369. },
  24370. global_closure45: function global_closure45() {
  24371. },
  24372. global_closure46: function global_closure46() {
  24373. },
  24374. global_closure47: function global_closure47() {
  24375. },
  24376. global_closure48: function global_closure48() {
  24377. },
  24378. global_closure49: function global_closure49() {
  24379. },
  24380. global_closure50: function global_closure50() {
  24381. },
  24382. global_closure51: function global_closure51() {
  24383. },
  24384. global_closure52: function global_closure52() {
  24385. },
  24386. global_closure53: function global_closure53() {
  24387. },
  24388. global_closure54: function global_closure54() {
  24389. },
  24390. global_closure55: function global_closure55() {
  24391. },
  24392. global_closure56: function global_closure56() {
  24393. },
  24394. global_closure57: function global_closure57() {
  24395. },
  24396. global_closure58: function global_closure58() {
  24397. },
  24398. global_closure59: function global_closure59() {
  24399. },
  24400. global_closure60: function global_closure60() {
  24401. },
  24402. global_closure61: function global_closure61() {
  24403. },
  24404. global_closure62: function global_closure62() {
  24405. },
  24406. global_closure63: function global_closure63() {
  24407. },
  24408. global_closure64: function global_closure64() {
  24409. },
  24410. global_closure65: function global_closure65() {
  24411. },
  24412. global_closure66: function global_closure66() {
  24413. },
  24414. global_closure67: function global_closure67() {
  24415. },
  24416. global_closure68: function global_closure68() {
  24417. },
  24418. global_closure69: function global_closure69() {
  24419. },
  24420. global_closure70: function global_closure70() {
  24421. },
  24422. global_closure71: function global_closure71() {
  24423. },
  24424. global_closure72: function global_closure72() {
  24425. },
  24426. global_closure73: function global_closure73() {
  24427. },
  24428. global_closure74: function global_closure74() {
  24429. },
  24430. global_closure75: function global_closure75() {
  24431. },
  24432. global_closure76: function global_closure76() {
  24433. },
  24434. global_closure77: function global_closure77() {
  24435. },
  24436. global_closure78: function global_closure78() {
  24437. },
  24438. global_closure79: function global_closure79() {
  24439. },
  24440. global__closure0: function global__closure0() {
  24441. },
  24442. global_closure80: function global_closure80() {
  24443. },
  24444. global_closure81: function global_closure81() {
  24445. },
  24446. global_closure82: function global_closure82() {
  24447. },
  24448. global_closure83: function global_closure83() {
  24449. },
  24450. global_closure84: function global_closure84() {
  24451. },
  24452. global_closure85: function global_closure85() {
  24453. },
  24454. global_closure86: function global_closure86() {
  24455. },
  24456. module_closure27: function module_closure27() {
  24457. },
  24458. module_closure28: function module_closure28() {
  24459. },
  24460. module_closure29: function module_closure29() {
  24461. },
  24462. module_closure30: function module_closure30() {
  24463. },
  24464. module_closure31: function module_closure31() {
  24465. },
  24466. module_closure32: function module_closure32() {
  24467. },
  24468. module_closure33: function module_closure33() {
  24469. },
  24470. module_closure34: function module_closure34() {
  24471. },
  24472. module_closure35: function module_closure35() {
  24473. },
  24474. module_closure36: function module_closure36() {
  24475. },
  24476. module_closure37: function module_closure37() {
  24477. },
  24478. module_closure38: function module_closure38() {
  24479. },
  24480. module_closure39: function module_closure39() {
  24481. },
  24482. module_closure40: function module_closure40() {
  24483. },
  24484. module__closure6: function module__closure6() {
  24485. },
  24486. module_closure41: function module_closure41() {
  24487. },
  24488. module_closure42: function module_closure42() {
  24489. },
  24490. module_closure43: function module_closure43() {
  24491. },
  24492. module_closure44: function module_closure44() {
  24493. },
  24494. module_closure45: function module_closure45() {
  24495. },
  24496. module_closure46: function module_closure46() {
  24497. },
  24498. module_closure47: function module_closure47() {
  24499. },
  24500. module_closure48: function module_closure48() {
  24501. },
  24502. module__closure5: function module__closure5(t0) {
  24503. this.channelName = t0;
  24504. },
  24505. module_closure49: function module_closure49() {
  24506. },
  24507. module_closure_toXyzNoMissing0: function module_closure_toXyzNoMissing0() {
  24508. },
  24509. module_closure50: function module_closure50() {
  24510. },
  24511. _mix_closure0: function _mix_closure0() {
  24512. },
  24513. _complement_closure0: function _complement_closure0() {
  24514. },
  24515. _adjust_closure0: function _adjust_closure0() {
  24516. },
  24517. _scale_closure0: function _scale_closure0() {
  24518. },
  24519. _change_closure0: function _change_closure0() {
  24520. },
  24521. _ieHexStr_closure0: function _ieHexStr_closure0() {
  24522. },
  24523. _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
  24524. },
  24525. _updateComponents_closure1: function _updateComponents_closure1(t0) {
  24526. this.originalColor = t0;
  24527. },
  24528. _updateComponents_closure2: function _updateComponents_closure2(t0) {
  24529. this._box_0 = t0;
  24530. },
  24531. _changeColor_closure0: function _changeColor_closure0(t0) {
  24532. this.alphaArg = t0;
  24533. },
  24534. _adjustColor_closure0: function _adjustColor_closure0() {
  24535. },
  24536. _functionString_closure0: function _functionString_closure0() {
  24537. },
  24538. _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
  24539. this.name = t0;
  24540. this.argument = t1;
  24541. this.negative = t2;
  24542. },
  24543. _rgb_closure0: function _rgb_closure0() {
  24544. },
  24545. _hsl_closure0: function _hsl_closure0() {
  24546. },
  24547. _parseChannels_closure1: function _parseChannels_closure1() {
  24548. },
  24549. _parseChannels_closure2: function _parseChannels_closure2() {
  24550. },
  24551. _colorFromChannels_closure1: function _colorFromChannels_closure1() {
  24552. },
  24553. _colorFromChannels_closure2: function _colorFromChannels_closure2() {
  24554. },
  24555. _channelFromValue_closure0: function _channelFromValue_closure0(t0, t1) {
  24556. this.channel = t0;
  24557. this.clamp = t1;
  24558. },
  24559. _channelFunction_closure0: function _channelFunction_closure0(t0, t1, t2, t3, t4) {
  24560. var _ = this;
  24561. _.getter = t0;
  24562. _.unit = t1;
  24563. _.global = t2;
  24564. _.name = t3;
  24565. _.space = t4;
  24566. },
  24567. _suggestScaleAndAdjust_closure0: function _suggestScaleAndAdjust_closure0(t0) {
  24568. this.channelName = t0;
  24569. },
  24570. _constructionSpace(options) {
  24571. var t1 = J.getInterceptor$x(options);
  24572. if (t1.get$space(options) != null) {
  24573. t1 = t1.get$space(options);
  24574. t1.toString;
  24575. return A.ColorSpace_fromName0(t1, null);
  24576. }
  24577. if (t1.get$red(options) != null)
  24578. return B.RgbColorSpace_i0P0;
  24579. if (t1.get$saturation(options) != null)
  24580. return B.HslColorSpace_JQ20;
  24581. if (t1.get$whiteness(options) != null)
  24582. return B.HwbColorSpace_guQ0;
  24583. throw A.wrapException("No color space found");
  24584. },
  24585. _toSpace($self, space) {
  24586. return $self.toSpace$1(A.ColorSpace_fromName0(space == null ? $self._color0$_space.name : space, null));
  24587. },
  24588. _checkNullAlphaDeprecation(options) {
  24589. var t1 = J.getInterceptor$x(options),
  24590. t2 = t1.get$alpha(options);
  24591. if (!A._asBool($.$get$_isUndefined().call$1(t2)) && t1.get$alpha(options) == null && t1.get$space(options) == null)
  24592. A.warnForDeprecationFromApi(string$.Passin_, B.Deprecation_l0m);
  24593. },
  24594. colorClass_closure: function colorClass_closure() {
  24595. },
  24596. colorClass__closure: function colorClass__closure() {
  24597. },
  24598. colorClass__closure0: function colorClass__closure0() {
  24599. },
  24600. colorClass__closure1: function colorClass__closure1() {
  24601. },
  24602. colorClass__closure2: function colorClass__closure2() {
  24603. },
  24604. colorClass__closure3: function colorClass__closure3() {
  24605. },
  24606. colorClass__closure4: function colorClass__closure4() {
  24607. },
  24608. colorClass__closure5: function colorClass__closure5() {
  24609. },
  24610. colorClass__closure6: function colorClass__closure6() {
  24611. },
  24612. colorClass__closure7: function colorClass__closure7() {
  24613. },
  24614. colorClass__closure8: function colorClass__closure8() {
  24615. },
  24616. colorClass___closure: function colorClass___closure(t0) {
  24617. this.key = t0;
  24618. },
  24619. colorClass__closure_changedValue: function colorClass__closure_changedValue(t0, t1) {
  24620. this.color = t0;
  24621. this.options = t1;
  24622. },
  24623. colorClass__closure9: function colorClass__closure9() {
  24624. },
  24625. colorClass__closure10: function colorClass__closure10() {
  24626. },
  24627. colorClass__closure11: function colorClass__closure11() {
  24628. },
  24629. colorClass__closure12: function colorClass__closure12() {
  24630. },
  24631. colorClass__closure13: function colorClass__closure13() {
  24632. },
  24633. colorClass__closure14: function colorClass__closure14() {
  24634. },
  24635. colorClass__closure15: function colorClass__closure15() {
  24636. },
  24637. colorClass__closure16: function colorClass__closure16() {
  24638. },
  24639. colorClass__closure17: function colorClass__closure17() {
  24640. },
  24641. colorClass__closure18: function colorClass__closure18() {
  24642. },
  24643. colorClass__closure19: function colorClass__closure19() {
  24644. },
  24645. colorClass__closure20: function colorClass__closure20() {
  24646. },
  24647. colorClass__closure21: function colorClass__closure21() {
  24648. },
  24649. colorClass__closure22: function colorClass__closure22() {
  24650. },
  24651. _Channels: function _Channels() {
  24652. },
  24653. _ConstructionOptions: function _ConstructionOptions() {
  24654. },
  24655. _ChannelOptions: function _ChannelOptions() {
  24656. },
  24657. _ToGamutOptions: function _ToGamutOptions() {
  24658. },
  24659. _InterpolationOptions: function _InterpolationOptions() {
  24660. },
  24661. _NodeSassColor: function _NodeSassColor() {
  24662. },
  24663. legacyColorClass_closure: function legacyColorClass_closure() {
  24664. },
  24665. legacyColorClass__closure: function legacyColorClass__closure() {
  24666. },
  24667. legacyColorClass_closure0: function legacyColorClass_closure0() {
  24668. },
  24669. legacyColorClass_closure1: function legacyColorClass_closure1() {
  24670. },
  24671. legacyColorClass_closure2: function legacyColorClass_closure2() {
  24672. },
  24673. legacyColorClass_closure3: function legacyColorClass_closure3() {
  24674. },
  24675. legacyColorClass_closure4: function legacyColorClass_closure4() {
  24676. },
  24677. legacyColorClass_closure5: function legacyColorClass_closure5() {
  24678. },
  24679. legacyColorClass_closure6: function legacyColorClass_closure6() {
  24680. },
  24681. legacyColorClass_closure7: function legacyColorClass_closure7() {
  24682. },
  24683. SassColor_SassColor$rgb0(red, green, blue, alpha) {
  24684. return A.SassColor_SassColor$rgbInternal0(red, green, blue, alpha, null);
  24685. },
  24686. SassColor_SassColor$rgbInternal0(red, green, blue, alpha, format) {
  24687. var _null = null,
  24688. t1 = red == null ? _null : red,
  24689. t2 = green == null ? _null : green,
  24690. t3 = blue == null ? _null : blue;
  24691. return A.SassColor$_forSpace0(B.RgbColorSpace_i0P0, t1, t2, t3, alpha == null ? _null : alpha, format);
  24692. },
  24693. SassColor_SassColor$hsl0(hue, saturation, lightness, alpha) {
  24694. var _null = null,
  24695. t1 = hue == null ? _null : hue,
  24696. t2 = saturation == null ? _null : saturation,
  24697. t3 = lightness == null ? _null : lightness;
  24698. return A.SassColor_SassColor$forSpaceInternal0(B.HslColorSpace_JQ20, t1, t2, t3, alpha == null ? _null : alpha);
  24699. },
  24700. SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
  24701. var _null = null,
  24702. t1 = hue == null ? _null : hue,
  24703. t2 = whiteness == null ? _null : whiteness,
  24704. t3 = blackness == null ? _null : blackness;
  24705. return A.SassColor_SassColor$forSpaceInternal0(B.HwbColorSpace_guQ0, t1, t2, t3, alpha == null ? _null : alpha);
  24706. },
  24707. SassColor_SassColor$forSpaceInternal0(space, channel0, channel1, channel2, alpha) {
  24708. var t1, t2, _null = null;
  24709. $label0$0: {
  24710. if (B.HslColorSpace_JQ20 === space) {
  24711. t1 = channel1 == null;
  24712. t2 = A.SassColor__normalizeHue0(channel0, !t1 && channel1 < 0 && !A.fuzzyEquals0(channel1, 0));
  24713. t2 = A.SassColor$_forSpace0(space, t2, t1 ? _null : Math.abs(channel1), channel2, alpha, _null);
  24714. t1 = t2;
  24715. break $label0$0;
  24716. }
  24717. if (B.HwbColorSpace_guQ0 === space) {
  24718. t1 = A.SassColor$_forSpace0(space, A.SassColor__normalizeHue0(channel0, false), channel1, channel2, alpha, _null);
  24719. break $label0$0;
  24720. }
  24721. if (B.LchColorSpace_Bpv0 === space || B.OklchColorSpace_9Gj0 === space) {
  24722. t1 = channel1 == null;
  24723. t2 = t1 ? _null : Math.abs(channel1);
  24724. t2 = A.SassColor$_forSpace0(space, channel0, t2, A.SassColor__normalizeHue0(channel2, !t1 && channel1 < 0 && !A.fuzzyEquals0(channel1, 0)), alpha, _null);
  24725. t1 = t2;
  24726. break $label0$0;
  24727. }
  24728. t1 = A.SassColor$_forSpace0(space, channel0, channel1, channel2, alpha, _null);
  24729. break $label0$0;
  24730. }
  24731. return t1;
  24732. },
  24733. SassColor$_forSpace0(_space, channel0OrNull, channel1OrNull, channel2OrNull, alpha, format) {
  24734. return new A.SassColor0(_space, channel0OrNull, channel1OrNull, channel2OrNull, format, A.NullableExtension_andThen0(alpha, new A.SassColor$_forSpace_closure0()));
  24735. },
  24736. SassColor__normalizeHue0(hue, invert) {
  24737. var t1, t2;
  24738. if (hue == null)
  24739. return hue;
  24740. t1 = B.JSNumber_methods.$mod(hue, 360);
  24741. t2 = invert ? 180 : 0;
  24742. return B.JSNumber_methods.$mod(t1 + 360 + t2, 360);
  24743. },
  24744. SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5) {
  24745. var _ = this;
  24746. _._color0$_space = t0;
  24747. _.channel0OrNull = t1;
  24748. _.channel1OrNull = t2;
  24749. _.channel2OrNull = t3;
  24750. _.format = t4;
  24751. _.alphaOrNull = t5;
  24752. },
  24753. SassColor$_forSpace_closure0: function SassColor$_forSpace_closure0() {
  24754. },
  24755. _ColorFormatEnum0: function _ColorFormatEnum0() {
  24756. },
  24757. SpanColorFormat0: function SpanColorFormat0(t0) {
  24758. this._color0$_span = t0;
  24759. },
  24760. Combinator0: function Combinator0(t0, t1) {
  24761. this._combinator0$_text = t0;
  24762. this._name = t1;
  24763. },
  24764. ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
  24765. var _ = this;
  24766. _.text = t0;
  24767. _.span = t1;
  24768. _._node$_indexInParent = _._node$_parent = null;
  24769. _.isGroupEnd = false;
  24770. },
  24771. compile0(path, options) {
  24772. var color, ascii, logger, result, error, stackTrace, t1, color0, ascii0, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _null = null;
  24773. if (!A.isNodeJs())
  24774. A.jsThrow(new self.Error("The compile() method is only available in Node.js."));
  24775. t1 = options == null;
  24776. color0 = t1 ? _null : J.get$alertColor$x(options);
  24777. color = color0 == null ? A.hasTerminal0() : color0;
  24778. ascii0 = t1 ? _null : J.get$alertAscii$x(options);
  24779. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  24780. t2 = t1 ? _null : J.get$logger$x(options);
  24781. t3 = ascii;
  24782. if (t3 == null)
  24783. t3 = $._glyphs === B.C_AsciiGlyphSet;
  24784. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(color), t3);
  24785. try {
  24786. t2 = t1 ? _null : J.get$loadPaths$x(options);
  24787. t3 = t1 ? _null : J.get$quietDeps$x(options);
  24788. if (t3 == null)
  24789. t3 = false;
  24790. t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  24791. t5 = t1 ? _null : J.get$verbose$x(options);
  24792. if (t5 == null)
  24793. t5 = false;
  24794. t6 = t1 ? _null : J.get$charset$x(options);
  24795. if (t6 == null)
  24796. t6 = true;
  24797. t7 = t1 ? _null : J.get$sourceMap$x(options);
  24798. if (t7 == null)
  24799. t7 = false;
  24800. if (t1)
  24801. t8 = _null;
  24802. else {
  24803. t8 = J.get$importers$x(options);
  24804. t8 = t8 == null ? _null : J.map$1$1$ax(t8, A.compile___parseImporter$closure(), type$.Importer);
  24805. }
  24806. t9 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  24807. t10 = t1 ? _null : J.get$fatalDeprecations$x(options);
  24808. t10 = A.parseDeprecations(logger, t10, true);
  24809. t11 = t1 ? _null : J.get$silenceDeprecations$x(options);
  24810. t11 = A.parseDeprecations(logger, t11, false);
  24811. t12 = t1 ? _null : J.get$futureDeprecations$x(options);
  24812. 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);
  24813. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  24814. if (t1 == null)
  24815. t1 = false;
  24816. t1 = A._convertResult(result, t1);
  24817. return t1;
  24818. } catch (exception) {
  24819. t1 = A.unwrapException(exception);
  24820. if (t1 instanceof A.SassException0) {
  24821. error = t1;
  24822. stackTrace = A.getTraceFromException(exception);
  24823. A.throwNodeException(error, ascii, color, stackTrace);
  24824. } else
  24825. throw exception;
  24826. }
  24827. },
  24828. compileString0(text, options) {
  24829. var logger, result, error, stackTrace, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, exception, _null = null,
  24830. t1 = options == null,
  24831. color0 = t1 ? _null : J.get$alertColor$x(options),
  24832. color = color0 == null ? A.hasTerminal0() : color0,
  24833. ascii0 = t1 ? _null : J.get$alertAscii$x(options),
  24834. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0,
  24835. t2 = t1 ? _null : J.get$logger$x(options),
  24836. t3 = ascii;
  24837. if (t3 == null)
  24838. t3 = $._glyphs === B.C_AsciiGlyphSet;
  24839. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(color), t3);
  24840. try {
  24841. t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
  24842. t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils3__jsToDartUrl$closure());
  24843. t4 = t1 ? _null : J.get$loadPaths$x(options);
  24844. t5 = t1 ? _null : J.get$quietDeps$x(options);
  24845. if (t5 == null)
  24846. t5 = false;
  24847. t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  24848. t7 = t1 ? _null : J.get$verbose$x(options);
  24849. if (t7 == null)
  24850. t7 = false;
  24851. t8 = t1 ? _null : J.get$charset$x(options);
  24852. if (t8 == null)
  24853. t8 = true;
  24854. t9 = t1 ? _null : J.get$sourceMap$x(options);
  24855. if (t9 == null)
  24856. t9 = false;
  24857. if (t1)
  24858. t10 = _null;
  24859. else {
  24860. t10 = J.get$importers$x(options);
  24861. t10 = t10 == null ? _null : J.map$1$1$ax(t10, A.compile___parseImporter$closure(), type$.Importer);
  24862. }
  24863. t11 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
  24864. if (t11 == null)
  24865. t11 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter0() : _null;
  24866. t12 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  24867. t13 = t1 ? _null : J.get$fatalDeprecations$x(options);
  24868. t13 = A.parseDeprecations(logger, t13, true);
  24869. t14 = t1 ? _null : J.get$silenceDeprecations$x(options);
  24870. t14 = A.parseDeprecations(logger, t14, false);
  24871. t15 = t1 ? _null : J.get$futureDeprecations$x(options);
  24872. 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);
  24873. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  24874. if (t1 == null)
  24875. t1 = false;
  24876. t1 = A._convertResult(result, t1);
  24877. return t1;
  24878. } catch (exception) {
  24879. t1 = A.unwrapException(exception);
  24880. if (t1 instanceof A.SassException0) {
  24881. error = t1;
  24882. stackTrace = A.getTraceFromException(exception);
  24883. A.throwNodeException(error, ascii, color, stackTrace);
  24884. } else
  24885. throw exception;
  24886. }
  24887. },
  24888. compileAsync1(path, options) {
  24889. var t1, color, ascii;
  24890. if (!A.isNodeJs())
  24891. A.jsThrow(new self.Error("The compileAsync() method is only available in Node.js."));
  24892. t1 = options == null;
  24893. color = t1 ? null : J.get$alertColor$x(options);
  24894. if (color == null)
  24895. color = A.hasTerminal0();
  24896. ascii = t1 ? null : J.get$alertAscii$x(options);
  24897. if (ascii == null)
  24898. ascii = $._glyphs === B.C_AsciiGlyphSet;
  24899. t1 = t1 ? null : J.get$logger$x(options);
  24900. 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);
  24901. },
  24902. compileStringAsync1(text, options) {
  24903. var ascii,
  24904. t1 = options == null,
  24905. color = t1 ? null : J.get$alertColor$x(options);
  24906. if (color == null)
  24907. color = A.hasTerminal0();
  24908. ascii = t1 ? null : J.get$alertAscii$x(options);
  24909. if (ascii == null)
  24910. ascii = $._glyphs === B.C_AsciiGlyphSet;
  24911. t1 = t1 ? null : J.get$logger$x(options);
  24912. 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);
  24913. },
  24914. _convertResult(result, includeSourceContents) {
  24915. var loadedUrls,
  24916. t1 = result._compile_result$_serialize,
  24917. t2 = t1._1,
  24918. sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
  24919. if (type$.Map_String_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
  24920. sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
  24921. loadedUrls = A.toJSArray(result._evaluate._0.map$1$1(0, A.utils3__dartToJSUrl$closure(), type$.nullable_Object));
  24922. t1 = t1._0;
  24923. return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify0(sourceMap), loadedUrls: loadedUrls};
  24924. },
  24925. _wrapAsyncSassExceptions(promise, ascii, color) {
  24926. return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
  24927. },
  24928. _parseOutputStyle0(style) {
  24929. var t1;
  24930. $label0$0: {
  24931. if (style == null || "expanded" === style) {
  24932. t1 = B.OutputStyle_00;
  24933. break $label0$0;
  24934. }
  24935. if ("compressed" === style) {
  24936. t1 = B.OutputStyle_10;
  24937. break $label0$0;
  24938. }
  24939. t1 = A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
  24940. }
  24941. return t1;
  24942. },
  24943. _parseAsyncImporter(importer) {
  24944. var t1, canonicalize, load, _0_0;
  24945. if (importer instanceof A.NodePackageImporter0)
  24946. return importer;
  24947. if (importer == null)
  24948. A.jsThrow(new self.Error("Importers may not be null."));
  24949. type$.JSImporter._as(importer);
  24950. t1 = J.getInterceptor$x(importer);
  24951. canonicalize = t1.get$canonicalize(importer);
  24952. load = t1.get$load(importer);
  24953. _0_0 = t1.get$findFileUrl(importer);
  24954. if (_0_0 != null)
  24955. if (canonicalize != null || load != null)
  24956. A.jsThrow(new self.Error(string$.An_impa));
  24957. else
  24958. return new A.JSToDartAsyncFileImporter(_0_0);
  24959. else if (canonicalize == null || load == null)
  24960. A.jsThrow(new self.Error(string$.An_impu));
  24961. else {
  24962. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  24963. t1 = t1 == null ? B.Set_empty7 : A.Set_Set$unmodifiable(t1, type$.String);
  24964. t1.forEach$1(0, A.utils4__validateUrlScheme$closure());
  24965. return new A.JSToDartAsyncImporter(canonicalize, load, t1);
  24966. }
  24967. },
  24968. _parseImporter0(importer) {
  24969. var t1, canonicalize, load, _0_0;
  24970. if (importer instanceof A.NodePackageImporter0)
  24971. return importer;
  24972. if (importer == null)
  24973. A.jsThrow(new self.Error("Importers may not be null."));
  24974. type$.JSImporter._as(importer);
  24975. t1 = J.getInterceptor$x(importer);
  24976. canonicalize = t1.get$canonicalize(importer);
  24977. load = t1.get$load(importer);
  24978. _0_0 = t1.get$findFileUrl(importer);
  24979. if (_0_0 != null)
  24980. if (canonicalize != null || load != null)
  24981. A.jsThrow(new self.Error(string$.An_impa));
  24982. else
  24983. return new A.JSToDartFileImporter(_0_0);
  24984. else if (canonicalize == null || load == null)
  24985. A.jsThrow(new self.Error(string$.An_impu));
  24986. else {
  24987. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  24988. t1 = t1 == null ? B.Set_empty7 : A.Set_Set$unmodifiable(t1, type$.String);
  24989. t1.forEach$1(0, A.utils4__validateUrlScheme$closure());
  24990. return new A.JSToDartImporter(canonicalize, load, t1);
  24991. }
  24992. },
  24993. _normalizeNonCanonicalSchemes(schemes) {
  24994. var t1;
  24995. $label0$0: {
  24996. if (typeof schemes == "string") {
  24997. t1 = A._setArrayType([schemes], type$.JSArray_String);
  24998. break $label0$0;
  24999. }
  25000. if (type$.List_dynamic._is(schemes)) {
  25001. t1 = J.cast$1$0$ax(schemes, type$.String);
  25002. break $label0$0;
  25003. }
  25004. if (schemes == null) {
  25005. t1 = null;
  25006. break $label0$0;
  25007. }
  25008. t1 = A.jsThrow(new self.Error('nonCanonicalScheme must be a string or list of strings, was "' + A.S(schemes) + '"'));
  25009. }
  25010. return t1;
  25011. },
  25012. _simplifyValue(value) {
  25013. var _0_1, t1, t2, _0_4, _0_3, _0_4_isSet, _0_5, _0_40, _0_8, first, _0_10, min, _null = null;
  25014. $label1$1: {
  25015. if (value instanceof A.SassCalculation0) {
  25016. _0_1 = value.name;
  25017. t1 = value.$arguments;
  25018. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>");
  25019. _0_4 = A.List_List$of(new A.MappedListIterable(t1, A.compile___simplifyCalcArg$closure(), t2), true, t2._eval$1("ListIterable.E"));
  25020. $label0$0: {
  25021. _0_3 = "calc" === _0_1;
  25022. _0_4_isSet = _0_3;
  25023. _0_5 = _null;
  25024. _0_40 = _null;
  25025. if (_0_4_isSet) {
  25026. _0_5 = _0_4.length;
  25027. t1 = _0_5;
  25028. _0_40 = _0_4;
  25029. t1 = t1 === 1;
  25030. } else
  25031. t1 = false;
  25032. if (t1) {
  25033. _0_8 = (_0_4_isSet ? _0_40 : _0_4)[0];
  25034. first = _0_8;
  25035. type$.Value_2._as(first);
  25036. t1 = first;
  25037. break $label0$0;
  25038. }
  25039. if (_0_3)
  25040. A.throwExpression(A.ArgumentError$("calc() requires exactly one argument.", _null));
  25041. _0_10 = "clamp" === _0_1;
  25042. t1 = _0_10;
  25043. if (t1) {
  25044. if (_0_4_isSet)
  25045. t1 = _0_5;
  25046. else {
  25047. _0_5 = _0_4.length;
  25048. t1 = _0_5;
  25049. _0_40 = _0_4;
  25050. _0_4_isSet = true;
  25051. }
  25052. t1 = t1 === 3;
  25053. } else
  25054. t1 = false;
  25055. if (t1) {
  25056. if (_0_4_isSet)
  25057. t1 = _0_40;
  25058. else {
  25059. t1 = _0_4;
  25060. _0_40 = t1;
  25061. _0_4_isSet = true;
  25062. }
  25063. _0_8 = t1[0];
  25064. min = _0_8;
  25065. if (_0_4_isSet)
  25066. t1 = _0_40;
  25067. else {
  25068. t1 = _0_4;
  25069. _0_40 = t1;
  25070. _0_4_isSet = true;
  25071. }
  25072. value = t1[1];
  25073. t1 = A.SassCalculation_clamp0(min, value, (_0_4_isSet ? _0_40 : _0_4)[2]);
  25074. break $label0$0;
  25075. }
  25076. if (_0_10)
  25077. A.throwExpression(A.ArgumentError$("clamp() requires exactly 3 arguments.", _null));
  25078. if ("min" === _0_1) {
  25079. t1 = A.SassCalculation_min0(_0_4_isSet ? _0_40 : _0_4);
  25080. break $label0$0;
  25081. }
  25082. if ("max" === _0_1) {
  25083. t1 = A.SassCalculation_max0(_0_4_isSet ? _0_40 : _0_4);
  25084. break $label0$0;
  25085. }
  25086. t1 = A.throwExpression(A.ArgumentError$('"' + _0_1 + '" is not a recognized calculation type.', _null));
  25087. }
  25088. break $label1$1;
  25089. }
  25090. t1 = value;
  25091. break $label1$1;
  25092. }
  25093. return t1;
  25094. },
  25095. _simplifyCalcArg(value) {
  25096. var t1;
  25097. $label0$0: {
  25098. if (value instanceof A.SassCalculation0) {
  25099. t1 = A._simplifyValue(value);
  25100. break $label0$0;
  25101. }
  25102. if (value instanceof A.CalculationOperation0) {
  25103. t1 = A.SassCalculation_operateInternal0(value._calculation0$_operator, A._simplifyCalcArg(value._calculation0$_left), A._simplifyCalcArg(value._calculation0$_right), null, true, null);
  25104. break $label0$0;
  25105. }
  25106. t1 = value;
  25107. break $label0$0;
  25108. }
  25109. return t1;
  25110. },
  25111. _parseFunctions0(functions, asynch) {
  25112. var result;
  25113. if (functions == null)
  25114. return B.List_empty26;
  25115. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  25116. A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
  25117. return result;
  25118. },
  25119. compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
  25120. var _ = this;
  25121. _.path = t0;
  25122. _.color = t1;
  25123. _.options = t2;
  25124. _.logger = t3;
  25125. },
  25126. compileAsync__closure: function compileAsync__closure() {
  25127. },
  25128. compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
  25129. var _ = this;
  25130. _.text = t0;
  25131. _.options = t1;
  25132. _.color = t2;
  25133. _.logger = t3;
  25134. },
  25135. compileStringAsync__closure: function compileStringAsync__closure() {
  25136. },
  25137. compileStringAsync__closure0: function compileStringAsync__closure0() {
  25138. },
  25139. _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
  25140. this.color = t0;
  25141. this.ascii = t1;
  25142. },
  25143. _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
  25144. this.asynch = t0;
  25145. this.result = t1;
  25146. },
  25147. _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
  25148. this.callback = t0;
  25149. this.callable = t1;
  25150. },
  25151. _parseFunctions___closure6: function _parseFunctions___closure6(t0, t1) {
  25152. this.callback = t0;
  25153. this.$arguments = t1;
  25154. },
  25155. _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
  25156. this.callback = t0;
  25157. this.callable = t1;
  25158. },
  25159. _parseFunctions___closure5: function _parseFunctions___closure5(t0, t1) {
  25160. this.callback = t0;
  25161. this.$arguments = t1;
  25162. },
  25163. nodePackageImporterClass_closure: function nodePackageImporterClass_closure() {
  25164. },
  25165. nodePackageImporterClass__closure: function nodePackageImporterClass__closure() {
  25166. },
  25167. compile(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose) {
  25168. var t3, t4, t0, stylesheet, result, _null = null,
  25169. t1 = type$.Deprecation_3,
  25170. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25171. if (silenceDeprecations != null)
  25172. t2.addAll$1(0, silenceDeprecations);
  25173. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25174. if (fatalDeprecations != null)
  25175. t3.addAll$1(0, fatalDeprecations);
  25176. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25177. if (futureDeprecations != null)
  25178. t4.addAll$1(0, futureDeprecations);
  25179. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  25180. logger.validate$0();
  25181. t1 = nodeImporter == null;
  25182. if (t1)
  25183. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  25184. else
  25185. t2 = false;
  25186. if (t2) {
  25187. if (importCache == null)
  25188. importCache = A.ImportCache$none();
  25189. t2 = $.$get$FilesystemImporter_cwd0();
  25190. t3 = A.isNodeJs() ? self.process : _null;
  25191. if (!J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "win32")) {
  25192. t3 = A.isNodeJs() ? self.process : _null;
  25193. t3 = J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "darwin");
  25194. } else
  25195. t3 = true;
  25196. if (t3) {
  25197. t3 = $.$get$context();
  25198. t4 = A._realCasePath0(A.absolute(t3.normalize$1(path), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  25199. t0 = t4;
  25200. t4 = t3;
  25201. t3 = t0;
  25202. } else {
  25203. t3 = $.$get$context();
  25204. t4 = t3.canonicalize$1(0, path);
  25205. t0 = t4;
  25206. t4 = t3;
  25207. t3 = t0;
  25208. }
  25209. t4 = importCache.importCanonical$3$originalUrl(t2, t4.toUri$1(t3), t4.toUri$1(path));
  25210. t4.toString;
  25211. stylesheet = t4;
  25212. } else {
  25213. t2 = A.readFile0(path);
  25214. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  25215. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, $.$get$context().toUri$1(path));
  25216. }
  25217. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, $.$get$FilesystemImporter_cwd0(), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  25218. logger.summarize$1$js(!t1);
  25219. return result;
  25220. },
  25221. compileString(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose) {
  25222. var t3, t4, stylesheet, result,
  25223. t1 = type$.Deprecation_3,
  25224. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25225. if (silenceDeprecations != null)
  25226. t2.addAll$1(0, silenceDeprecations);
  25227. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25228. if (fatalDeprecations != null)
  25229. t3.addAll$1(0, fatalDeprecations);
  25230. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25231. if (futureDeprecations != null)
  25232. t4.addAll$1(0, futureDeprecations);
  25233. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  25234. logger.validate$0();
  25235. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, url);
  25236. if (importer == null)
  25237. t1 = A.isBrowser() ? new A.NoOpImporter0() : $.$get$FilesystemImporter_cwd0();
  25238. else
  25239. t1 = importer;
  25240. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  25241. logger.summarize$1$js(nodeImporter != null);
  25242. return result;
  25243. },
  25244. _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  25245. var evaluateResult, serializeResult, resultSourceMap;
  25246. if (nodeImporter != null)
  25247. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_F8y, string$.The_le, null, null);
  25248. evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet);
  25249. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, useSpaces);
  25250. resultSourceMap = serializeResult._1;
  25251. if (resultSourceMap != null && importCache != null)
  25252. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
  25253. return new A.CompileResult0(evaluateResult, serializeResult);
  25254. },
  25255. _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
  25256. this.stylesheet = t0;
  25257. this.importCache = t1;
  25258. },
  25259. CompileOptions: function CompileOptions() {
  25260. },
  25261. CompileStringOptions: function CompileStringOptions() {
  25262. },
  25263. NodeCompileResult: function NodeCompileResult() {
  25264. },
  25265. CompileResult0: function CompileResult0(t0, t1) {
  25266. this._evaluate = t0;
  25267. this._compile_result$_serialize = t1;
  25268. },
  25269. initCompiler() {
  25270. return new A.Compiler();
  25271. },
  25272. initAsyncCompiler() {
  25273. return A.futureToPromise0(new A.initAsyncCompiler_closure().call$0());
  25274. },
  25275. Compiler: function Compiler() {
  25276. this._disposed = false;
  25277. },
  25278. AsyncCompiler: function AsyncCompiler(t0) {
  25279. this.compilations = t0;
  25280. this._disposed = false;
  25281. },
  25282. AsyncCompiler_addCompilation_closure: function AsyncCompiler_addCompilation_closure() {
  25283. },
  25284. compilerClass_closure: function compilerClass_closure() {
  25285. },
  25286. compilerClass__closure: function compilerClass__closure() {
  25287. },
  25288. compilerClass__closure0: function compilerClass__closure0() {
  25289. },
  25290. compilerClass__closure1: function compilerClass__closure1() {
  25291. },
  25292. compilerClass__closure2: function compilerClass__closure2() {
  25293. },
  25294. asyncCompilerClass_closure: function asyncCompilerClass_closure() {
  25295. },
  25296. asyncCompilerClass__closure: function asyncCompilerClass__closure() {
  25297. },
  25298. asyncCompilerClass__closure0: function asyncCompilerClass__closure0() {
  25299. },
  25300. asyncCompilerClass__closure1: function asyncCompilerClass__closure1() {
  25301. },
  25302. asyncCompilerClass__closure2: function asyncCompilerClass__closure2() {
  25303. },
  25304. asyncCompilerClass___closure: function asyncCompilerClass___closure(t0) {
  25305. this.self = t0;
  25306. },
  25307. initAsyncCompiler_closure: function initAsyncCompiler_closure() {
  25308. },
  25309. ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
  25310. var _ = this;
  25311. _._complex0$_numeratorUnits = t0;
  25312. _._complex0$_denominatorUnits = t1;
  25313. _._number1$_value = t2;
  25314. _.hashCache = null;
  25315. _.asSlash = t3;
  25316. },
  25317. ComplexSelector$0(leadingCombinators, components, span, lineBreak) {
  25318. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator_2),
  25319. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
  25320. if (t1.length === 0 && t2.length === 0)
  25321. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  25322. return new A.ComplexSelector0(t1, t2, lineBreak, span);
  25323. },
  25324. ComplexSelector0: function ComplexSelector0(t0, t1, t2, t3) {
  25325. var _ = this;
  25326. _.leadingCombinators = t0;
  25327. _.components = t1;
  25328. _.lineBreak = t2;
  25329. _._complex$__ComplexSelector_specificity_FI = $;
  25330. _.span = t3;
  25331. },
  25332. ComplexSelector_specificity_closure0: function ComplexSelector_specificity_closure0() {
  25333. },
  25334. ComplexSelectorComponent0: function ComplexSelectorComponent0(t0, t1, t2) {
  25335. this.selector = t0;
  25336. this.combinators = t1;
  25337. this.span = t2;
  25338. },
  25339. ComplexSelectorComponent_toString_closure0: function ComplexSelectorComponent_toString_closure0() {
  25340. },
  25341. CompoundSelector$0(components, span) {
  25342. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
  25343. if (t1.length === 0)
  25344. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  25345. return new A.CompoundSelector0(t1, span);
  25346. },
  25347. CompoundSelector0: function CompoundSelector0(t0, t1) {
  25348. var _ = this;
  25349. _.components = t0;
  25350. _._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = _._compound$__CompoundSelector_specificity_FI = $;
  25351. _.span = t1;
  25352. },
  25353. CompoundSelector_specificity_closure0: function CompoundSelector_specificity_closure0() {
  25354. },
  25355. CompoundSelector_hasComplicatedSuperselectorSemantics_closure0: function CompoundSelector_hasComplicatedSuperselectorSemantics_closure0() {
  25356. },
  25357. Configuration0: function Configuration0(t0, t1) {
  25358. this._configuration0$_values = t0;
  25359. this._configuration0$__originalConfiguration = t1;
  25360. },
  25361. ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1, t2) {
  25362. this.nodeWithSpan = t0;
  25363. this._configuration0$_values = t1;
  25364. this._configuration0$__originalConfiguration = t2;
  25365. },
  25366. ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
  25367. this.value = t0;
  25368. this.configurationSpan = t1;
  25369. this.assignmentNode = t2;
  25370. },
  25371. ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
  25372. var _ = this;
  25373. _.name = t0;
  25374. _.expression = t1;
  25375. _.isGuarded = t2;
  25376. _.span = t3;
  25377. },
  25378. ContentBlock$0(parameters, children, span) {
  25379. var _s8_ = "@content",
  25380. t1 = A.stringReplaceAllUnchecked(_s8_, "_", "-"),
  25381. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  25382. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  25383. return new A.ContentBlock0(t1, _s8_, parameters, span, t2, t3);
  25384. },
  25385. ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4, t5) {
  25386. var _ = this;
  25387. _.name = t0;
  25388. _.originalName = t1;
  25389. _.parameters = t2;
  25390. _.span = t3;
  25391. _.children = t4;
  25392. _.hasDeclarations = t5;
  25393. },
  25394. ContentRule0: function ContentRule0(t0, t1) {
  25395. this.$arguments = t0;
  25396. this.span = t1;
  25397. },
  25398. _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
  25399. },
  25400. CssParser0: function CssParser0(t0, t1, t2, t3) {
  25401. var _ = this;
  25402. _._stylesheet0$_isUseAllowed = true;
  25403. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  25404. _._stylesheet0$_globalVariables = t0;
  25405. _.warnings = t1;
  25406. _.lastSilentComment = null;
  25407. _.scanner = t2;
  25408. _._parser1$_interpolationMap = t3;
  25409. },
  25410. DebugRule0: function DebugRule0(t0, t1) {
  25411. this.expression = t0;
  25412. this.span = t1;
  25413. },
  25414. ModifiableCssDeclaration$0($name, value, span, interleavedRules, parsedAsCustomProperty, trace, valueSpanForMap) {
  25415. var t3,
  25416. t1 = interleavedRules == null ? B.List_empty23 : A.List_List$unmodifiable(interleavedRules, type$.CssStyleRule_2),
  25417. t2 = valueSpanForMap == null ? value.span : valueSpanForMap;
  25418. if (parsedAsCustomProperty)
  25419. if (!J.startsWith$1$s($name.value, "--"))
  25420. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  25421. else {
  25422. t3 = value.value;
  25423. if (!(t3 instanceof A.SassString0))
  25424. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t3).toString$0(0) + ").", null));
  25425. }
  25426. return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, trace, t2, span);
  25427. },
  25428. ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4, t5, t6) {
  25429. var _ = this;
  25430. _.name = t0;
  25431. _.value = t1;
  25432. _.parsedAsCustomProperty = t2;
  25433. _.interleavedRules = t3;
  25434. _.trace = t4;
  25435. _.valueSpanForMap = t5;
  25436. _.span = t6;
  25437. _._node$_indexInParent = _._node$_parent = null;
  25438. _.isGroupEnd = false;
  25439. },
  25440. Declaration$0($name, value, span) {
  25441. return new A.Declaration0($name, value, span, null, false);
  25442. },
  25443. Declaration$nested0($name, children, span, value) {
  25444. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  25445. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  25446. return new A.Declaration0($name, value, span, t1, t2);
  25447. },
  25448. Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
  25449. var _ = this;
  25450. _.name = t0;
  25451. _.value = t1;
  25452. _.span = t2;
  25453. _.children = t3;
  25454. _.hasDeclarations = t4;
  25455. },
  25456. SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
  25457. this.name = t0;
  25458. this.value = t1;
  25459. this.span = t2;
  25460. },
  25461. Deprecation_fromId0(id) {
  25462. return A.IterableExtension_firstWhereOrNull(B.List_SJo, new A.Deprecation_fromId_closure0(id));
  25463. },
  25464. Deprecation_forVersion0(version) {
  25465. var t2, _i, deprecation, $self, t3,
  25466. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation_3);
  25467. for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i < 24; ++_i) {
  25468. deprecation = B.List_SJo[_i];
  25469. $self = deprecation._deprecation$_deprecatedIn;
  25470. t3 = $self == null ? null : A.Version___parse_tearOff($self);
  25471. t3 = t3 == null ? null : t2.call$1(t3);
  25472. if (t3 == null ? false : t3)
  25473. t1.add$1(0, deprecation);
  25474. }
  25475. return t1;
  25476. },
  25477. Deprecation0: function Deprecation0(t0, t1, t2, t3) {
  25478. var _ = this;
  25479. _.id = t0;
  25480. _._deprecation$_deprecatedIn = t1;
  25481. _.description = t2;
  25482. _._name = t3;
  25483. },
  25484. Deprecation_fromId_closure0: function Deprecation_fromId_closure0(t0) {
  25485. this.id = t0;
  25486. },
  25487. DeprecationProcessingLogger0: function DeprecationProcessingLogger0(t0, t1, t2, t3, t4, t5) {
  25488. var _ = this;
  25489. _._deprecation_processing$_warningCounts = t0;
  25490. _._deprecation_processing$_inner = t1;
  25491. _.silenceDeprecations = t2;
  25492. _.fatalDeprecations = t3;
  25493. _.futureDeprecations = t4;
  25494. _.limitRepetition = t5;
  25495. },
  25496. DeprecationProcessingLogger_summarize_closure1: function DeprecationProcessingLogger_summarize_closure1() {
  25497. },
  25498. DeprecationProcessingLogger_summarize_closure2: function DeprecationProcessingLogger_summarize_closure2() {
  25499. },
  25500. parseDeprecations(logger, deprecations, supportVersions) {
  25501. if (deprecations == null)
  25502. return null;
  25503. return new A.parseDeprecations_closure(deprecations, logger, supportVersions).call$0();
  25504. },
  25505. Deprecation1: function Deprecation1() {
  25506. },
  25507. deprecations_closure: function deprecations_closure(t0) {
  25508. this.deprecation = t0;
  25509. },
  25510. parseDeprecations_closure: function parseDeprecations_closure(t0, t1, t2) {
  25511. this.deprecations = t0;
  25512. this.logger = t1;
  25513. this.supportVersions = t2;
  25514. },
  25515. versionClass_closure: function versionClass_closure() {
  25516. },
  25517. versionClass__closure: function versionClass__closure() {
  25518. },
  25519. versionClass__closure0: function versionClass__closure0() {
  25520. },
  25521. DisplayP3ColorSpace0: function DisplayP3ColorSpace0(t0, t1) {
  25522. this.name = t0;
  25523. this._space$_channels = t1;
  25524. },
  25525. DynamicImport0: function DynamicImport0(t0, t1) {
  25526. this.urlString = t0;
  25527. this.span = t1;
  25528. },
  25529. EachRule$0(variables, list, children, span) {
  25530. var t1 = A.List_List$unmodifiable(variables, type$.String),
  25531. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  25532. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  25533. return new A.EachRule0(t1, list, span, t2, t3);
  25534. },
  25535. EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
  25536. var _ = this;
  25537. _.variables = t0;
  25538. _.list = t1;
  25539. _.span = t2;
  25540. _.children = t3;
  25541. _.hasDeclarations = t4;
  25542. },
  25543. EachRule_toString_closure0: function EachRule_toString_closure0() {
  25544. },
  25545. EmptyExtensionStore0: function EmptyExtensionStore0() {
  25546. },
  25547. Environment$0() {
  25548. var t1 = type$.String,
  25549. t2 = type$.Module_Callable_2,
  25550. t3 = type$.AstNode_2,
  25551. t4 = type$.int,
  25552. t5 = type$.Callable_2,
  25553. t6 = type$.JSArray_Map_String_Callable_2;
  25554. 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);
  25555. },
  25556. Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  25557. var t1 = type$.String,
  25558. t2 = type$.int;
  25559. 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);
  25560. },
  25561. _EnvironmentModule__EnvironmentModule1(environment, css, preModuleComments, extensionStore, forwarded) {
  25562. var t1, t2, t3, t4, t5, t6, module, result, t7;
  25563. if (forwarded == null)
  25564. forwarded = B.Set_empty4;
  25565. t1 = type$.dynamic;
  25566. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  25567. 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();) {
  25568. t6 = t4.get$current(t4);
  25569. module = t6._0;
  25570. result = A.List_List$from(t6._1, false, t5);
  25571. result.$flags = 3;
  25572. t1.$indexSet(0, module, result);
  25573. }
  25574. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  25575. t2 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
  25576. 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);
  25577. 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);
  25578. t5 = type$.Map_String_Callable_2;
  25579. t6 = type$.Callable_2;
  25580. t7 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t5), t6);
  25581. t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t5), t6);
  25582. 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());
  25583. 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()));
  25584. },
  25585. _EnvironmentModule__makeModulesByVariable1(forwarded) {
  25586. var modulesByVariable, t1, t2, t3, t4, t5;
  25587. if (forwarded.get$isEmpty(forwarded))
  25588. return B.Map_empty11;
  25589. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
  25590. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  25591. t2 = t1.get$current(t1);
  25592. if (t2 instanceof A._EnvironmentModule1) {
  25593. for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  25594. t4 = t3.get$current(t3);
  25595. t5 = t4.get$variables();
  25596. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  25597. }
  25598. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
  25599. } else {
  25600. t3 = t2.get$variables();
  25601. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  25602. }
  25603. }
  25604. return modulesByVariable;
  25605. },
  25606. _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
  25607. var t1, t2, t3;
  25608. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  25609. if (otherMaps.get$isEmpty(otherMaps))
  25610. return localMap;
  25611. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  25612. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  25613. t3 = t2.get$current(t2);
  25614. if (t3.get$isNotEmpty(t3))
  25615. t1.push(t3);
  25616. }
  25617. t1.push(localMap);
  25618. if (t1.length === 1)
  25619. return localMap;
  25620. return A.MergedMapView$0(t1, type$.String, $V);
  25621. },
  25622. _EnvironmentModule$_1(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  25623. return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  25624. },
  25625. Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  25626. var _ = this;
  25627. _._environment0$_modules = t0;
  25628. _._environment0$_namespaceNodes = t1;
  25629. _._environment0$_globalModules = t2;
  25630. _._environment0$_importedModules = t3;
  25631. _._environment0$_forwardedModules = t4;
  25632. _._environment0$_nestedForwardedModules = t5;
  25633. _._environment0$_allModules = t6;
  25634. _._environment0$_variables = t7;
  25635. _._environment0$_variableNodes = t8;
  25636. _._environment0$_variableIndices = t9;
  25637. _._environment0$_functions = t10;
  25638. _._environment0$_functionIndices = t11;
  25639. _._environment0$_mixins = t12;
  25640. _._environment0$_mixinIndices = t13;
  25641. _._environment0$_content = t14;
  25642. _._environment0$_inMixin = false;
  25643. _._environment0$_inSemiGlobalScope = true;
  25644. _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
  25645. },
  25646. Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
  25647. this.name = t0;
  25648. },
  25649. Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
  25650. this.$this = t0;
  25651. this.name = t1;
  25652. },
  25653. Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
  25654. this.name = t0;
  25655. },
  25656. Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
  25657. this.$this = t0;
  25658. this.name = t1;
  25659. },
  25660. Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
  25661. this.name = t0;
  25662. },
  25663. Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
  25664. this.name = t0;
  25665. },
  25666. Environment_toModule_closure0: function Environment_toModule_closure0() {
  25667. },
  25668. Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
  25669. },
  25670. _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  25671. var _ = this;
  25672. _.upstream = t0;
  25673. _.variables = t1;
  25674. _.variableNodes = t2;
  25675. _.functions = t3;
  25676. _.mixins = t4;
  25677. _.extensionStore = t5;
  25678. _.css = t6;
  25679. _.preModuleComments = t7;
  25680. _.transitivelyContainsCss = t8;
  25681. _.transitivelyContainsExtensions = t9;
  25682. _._environment0$_environment = t10;
  25683. _._environment0$_modulesByVariable = t11;
  25684. },
  25685. _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
  25686. },
  25687. _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
  25688. },
  25689. _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
  25690. },
  25691. _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
  25692. },
  25693. _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
  25694. },
  25695. _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
  25696. },
  25697. ErrorRule0: function ErrorRule0(t0, t1) {
  25698. this.expression = t0;
  25699. this.span = t1;
  25700. },
  25701. _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  25702. var t4,
  25703. t1 = type$.Uri,
  25704. t2 = type$.Module_Callable_2,
  25705. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  25706. if (importCache == null)
  25707. t4 = nodeImporter == null ? A.ImportCache$none() : null;
  25708. else
  25709. t4 = importCache;
  25710. 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, A.Environment$0(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode_2), t3, B.Configuration_Map_empty_null0);
  25711. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  25712. return t1;
  25713. },
  25714. _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  25715. var _ = this;
  25716. _._evaluate0$_importCache = t0;
  25717. _._nodeImporter = t1;
  25718. _._evaluate0$_builtInFunctions = t2;
  25719. _._evaluate0$_builtInModules = t3;
  25720. _._evaluate0$_modules = t4;
  25721. _._evaluate0$_moduleConfigurations = t5;
  25722. _._evaluate0$_moduleNodes = t6;
  25723. _._evaluate0$_logger = t7;
  25724. _._evaluate0$_warningsEmitted = t8;
  25725. _._evaluate0$_quietDeps = t9;
  25726. _._evaluate0$_sourceMap = t10;
  25727. _._evaluate0$_environment = t11;
  25728. _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQuerySources = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
  25729. _._evaluate0$_member = "root stylesheet";
  25730. _._evaluate0$_importSpan = _._evaluate0$_callableNode = _._evaluate0$_currentCallable = null;
  25731. _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
  25732. _._evaluate0$_loadedUrls = t12;
  25733. _._evaluate0$_activeModules = t13;
  25734. _._evaluate0$_stack = t14;
  25735. _._evaluate0$_importer = null;
  25736. _._evaluate0$_inDependency = false;
  25737. _._evaluate0$__extensionStore = _._evaluate0$_preModuleComments = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
  25738. _._evaluate0$_configuration = t15;
  25739. },
  25740. _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
  25741. this.$this = t0;
  25742. },
  25743. _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
  25744. this.$this = t0;
  25745. },
  25746. _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
  25747. this.$this = t0;
  25748. },
  25749. _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
  25750. this.$this = t0;
  25751. },
  25752. _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
  25753. this.$this = t0;
  25754. },
  25755. _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
  25756. this.$this = t0;
  25757. },
  25758. _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
  25759. this.$this = t0;
  25760. },
  25761. _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
  25762. this.$this = t0;
  25763. },
  25764. _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
  25765. this.$this = t0;
  25766. },
  25767. _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
  25768. this.$this = t0;
  25769. this.name = t1;
  25770. this.module = t2;
  25771. },
  25772. _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
  25773. this.$this = t0;
  25774. },
  25775. _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0, t1, t2) {
  25776. this.$this = t0;
  25777. this.name = t1;
  25778. this.module = t2;
  25779. },
  25780. _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
  25781. this.$this = t0;
  25782. },
  25783. _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
  25784. this.$this = t0;
  25785. },
  25786. _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
  25787. this.values = t0;
  25788. this.span = t1;
  25789. this.callableNode = t2;
  25790. },
  25791. _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0) {
  25792. this.$this = t0;
  25793. },
  25794. _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
  25795. this.$this = t0;
  25796. },
  25797. _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
  25798. this.$this = t0;
  25799. this.node = t1;
  25800. this.importer = t2;
  25801. },
  25802. _EvaluateVisitor_run__closure1: function _EvaluateVisitor_run__closure1(t0, t1, t2) {
  25803. this.$this = t0;
  25804. this.importer = t1;
  25805. this.node = t2;
  25806. },
  25807. _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
  25808. this._box_0 = t0;
  25809. this.callback = t1;
  25810. },
  25811. _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
  25812. var _ = this;
  25813. _.$this = t0;
  25814. _.url = t1;
  25815. _.nodeWithSpan = t2;
  25816. _.baseUrl = t3;
  25817. _.namesInErrors = t4;
  25818. _.configuration = t5;
  25819. _.callback = t6;
  25820. },
  25821. _EvaluateVisitor__loadModule__closure3: function _EvaluateVisitor__loadModule__closure3(t0, t1) {
  25822. this.$this = t0;
  25823. this.message = t1;
  25824. },
  25825. _EvaluateVisitor__loadModule__closure4: function _EvaluateVisitor__loadModule__closure4(t0, t1, t2) {
  25826. this._box_1 = t0;
  25827. this.callback = t1;
  25828. this.firstLoad = t2;
  25829. },
  25830. _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5, t6) {
  25831. var _ = this;
  25832. _.$this = t0;
  25833. _.importer = t1;
  25834. _.stylesheet = t2;
  25835. _.extensionStore = t3;
  25836. _.configuration = t4;
  25837. _.css = t5;
  25838. _.preModuleComments = t6;
  25839. },
  25840. _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3() {
  25841. },
  25842. _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4(t0) {
  25843. this.selectors = t0;
  25844. },
  25845. _EvaluateVisitor__combineCss_visitModule1: function _EvaluateVisitor__combineCss_visitModule1(t0, t1, t2, t3, t4, t5) {
  25846. var _ = this;
  25847. _.$this = t0;
  25848. _.seen = t1;
  25849. _.clone = t2;
  25850. _.css = t3;
  25851. _.imports = t4;
  25852. _.sorted = t5;
  25853. },
  25854. _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
  25855. this.originalSelectors = t0;
  25856. },
  25857. _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
  25858. },
  25859. _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
  25860. this.$this = t0;
  25861. this.node = t1;
  25862. },
  25863. _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
  25864. this.$this = t0;
  25865. this.node = t1;
  25866. },
  25867. _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
  25868. this.$this = t0;
  25869. this.newParent = t1;
  25870. this.node = t2;
  25871. },
  25872. _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
  25873. this.$this = t0;
  25874. this.innerScope = t1;
  25875. },
  25876. _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
  25877. this.$this = t0;
  25878. this.innerScope = t1;
  25879. },
  25880. _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
  25881. this.innerScope = t0;
  25882. this.callback = t1;
  25883. },
  25884. _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
  25885. this.$this = t0;
  25886. this.innerScope = t1;
  25887. },
  25888. _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
  25889. },
  25890. _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
  25891. this.$this = t0;
  25892. this.innerScope = t1;
  25893. },
  25894. _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
  25895. this.$this = t0;
  25896. this.content = t1;
  25897. },
  25898. _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0, t1) {
  25899. this._box_0 = t0;
  25900. this.$this = t1;
  25901. },
  25902. _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
  25903. this._box_0 = t0;
  25904. this.$this = t1;
  25905. this.nodeWithSpan = t2;
  25906. },
  25907. _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
  25908. this._box_1 = t0;
  25909. this.$this = t1;
  25910. this.nodeWithSpan = t2;
  25911. },
  25912. _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
  25913. var _ = this;
  25914. _.$this = t0;
  25915. _.list = t1;
  25916. _.setVariables = t2;
  25917. _.node = t3;
  25918. },
  25919. _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
  25920. this.$this = t0;
  25921. this.setVariables = t1;
  25922. this.node = t2;
  25923. },
  25924. _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
  25925. this.$this = t0;
  25926. },
  25927. _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
  25928. this.$this = t0;
  25929. },
  25930. _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1, t2) {
  25931. this.$this = t0;
  25932. this.name = t1;
  25933. this.children = t2;
  25934. },
  25935. _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
  25936. this.$this = t0;
  25937. this.children = t1;
  25938. },
  25939. _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
  25940. },
  25941. _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
  25942. this.$this = t0;
  25943. this.node = t1;
  25944. },
  25945. _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
  25946. this.$this = t0;
  25947. this.node = t1;
  25948. },
  25949. _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
  25950. this.fromNumber = t0;
  25951. },
  25952. _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
  25953. this.toNumber = t0;
  25954. this.fromNumber = t1;
  25955. },
  25956. _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
  25957. var _ = this;
  25958. _._box_0 = t0;
  25959. _.$this = t1;
  25960. _.node = t2;
  25961. _.from = t3;
  25962. _.direction = t4;
  25963. _.fromNumber = t5;
  25964. },
  25965. _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
  25966. this.$this = t0;
  25967. },
  25968. _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
  25969. this.$this = t0;
  25970. this.node = t1;
  25971. },
  25972. _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
  25973. this.$this = t0;
  25974. this.node = t1;
  25975. },
  25976. _EvaluateVisitor__registerCommentsForModule_closure1: function _EvaluateVisitor__registerCommentsForModule_closure1() {
  25977. },
  25978. _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0) {
  25979. this.$this = t0;
  25980. },
  25981. _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0, t1) {
  25982. this.$this = t0;
  25983. this.clause = t1;
  25984. },
  25985. _EvaluateVisitor_visitIfRule___closure1: function _EvaluateVisitor_visitIfRule___closure1(t0) {
  25986. this.$this = t0;
  25987. },
  25988. _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
  25989. this.$this = t0;
  25990. this.$import = t1;
  25991. },
  25992. _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
  25993. this.$this = t0;
  25994. },
  25995. _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
  25996. },
  25997. _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
  25998. },
  25999. _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4) {
  26000. var _ = this;
  26001. _._box_0 = t0;
  26002. _.$this = t1;
  26003. _.loadsUserDefinedModules = t2;
  26004. _.environment = t3;
  26005. _.children = t4;
  26006. },
  26007. _EvaluateVisitor__applyMixin_closure3: function _EvaluateVisitor__applyMixin_closure3(t0, t1, t2, t3) {
  26008. var _ = this;
  26009. _.$this = t0;
  26010. _.$arguments = t1;
  26011. _.mixin = t2;
  26012. _.nodeWithSpanWithoutContent = t3;
  26013. },
  26014. _EvaluateVisitor__applyMixin__closure4: function _EvaluateVisitor__applyMixin__closure4(t0, t1, t2, t3) {
  26015. var _ = this;
  26016. _.$this = t0;
  26017. _.$arguments = t1;
  26018. _.mixin = t2;
  26019. _.nodeWithSpanWithoutContent = t3;
  26020. },
  26021. _EvaluateVisitor__applyMixin_closure4: function _EvaluateVisitor__applyMixin_closure4(t0, t1, t2, t3) {
  26022. var _ = this;
  26023. _.$this = t0;
  26024. _.contentCallable = t1;
  26025. _.mixin = t2;
  26026. _.nodeWithSpanWithoutContent = t3;
  26027. },
  26028. _EvaluateVisitor__applyMixin__closure3: function _EvaluateVisitor__applyMixin__closure3(t0, t1, t2) {
  26029. this.$this = t0;
  26030. this.mixin = t1;
  26031. this.nodeWithSpanWithoutContent = t2;
  26032. },
  26033. _EvaluateVisitor__applyMixin___closure1: function _EvaluateVisitor__applyMixin___closure1(t0, t1, t2) {
  26034. this.$this = t0;
  26035. this.mixin = t1;
  26036. this.nodeWithSpanWithoutContent = t2;
  26037. },
  26038. _EvaluateVisitor__applyMixin____closure1: function _EvaluateVisitor__applyMixin____closure1(t0, t1) {
  26039. this.$this = t0;
  26040. this.statement = t1;
  26041. },
  26042. _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1) {
  26043. this.$this = t0;
  26044. this.node = t1;
  26045. },
  26046. _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
  26047. this.$this = t0;
  26048. },
  26049. _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0) {
  26050. this.node = t0;
  26051. },
  26052. _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
  26053. this.$this = t0;
  26054. this.queries = t1;
  26055. },
  26056. _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3, t4) {
  26057. var _ = this;
  26058. _.$this = t0;
  26059. _.mergedQueries = t1;
  26060. _.queries = t2;
  26061. _.mergedSources = t3;
  26062. _.node = t4;
  26063. },
  26064. _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
  26065. this.$this = t0;
  26066. this.node = t1;
  26067. },
  26068. _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
  26069. this.$this = t0;
  26070. this.node = t1;
  26071. },
  26072. _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
  26073. this.mergedSources = t0;
  26074. },
  26075. _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7(t0, t1) {
  26076. this.$this = t0;
  26077. this.node = t1;
  26078. },
  26079. _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8() {
  26080. },
  26081. _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10(t0, t1, t2) {
  26082. this.$this = t0;
  26083. this.rule = t1;
  26084. this.node = t2;
  26085. },
  26086. _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
  26087. this.$this = t0;
  26088. this.node = t1;
  26089. },
  26090. _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9() {
  26091. },
  26092. _EvaluateVisitor__warnForBogusCombinators_closure1: function _EvaluateVisitor__warnForBogusCombinators_closure1() {
  26093. },
  26094. _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
  26095. this.$this = t0;
  26096. this.node = t1;
  26097. },
  26098. _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
  26099. this.$this = t0;
  26100. this.node = t1;
  26101. },
  26102. _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
  26103. },
  26104. _EvaluateVisitor__visitSupportsCondition_closure1: function _EvaluateVisitor__visitSupportsCondition_closure1(t0, t1) {
  26105. this._box_0 = t0;
  26106. this.$this = t1;
  26107. },
  26108. _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
  26109. this._box_0 = t0;
  26110. this.$this = t1;
  26111. this.node = t2;
  26112. },
  26113. _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
  26114. this.$this = t0;
  26115. this.node = t1;
  26116. },
  26117. _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
  26118. this.$this = t0;
  26119. this.node = t1;
  26120. this.value = t2;
  26121. },
  26122. _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
  26123. this.$this = t0;
  26124. this.node = t1;
  26125. },
  26126. _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
  26127. this.$this = t0;
  26128. this.node = t1;
  26129. },
  26130. _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
  26131. this.$this = t0;
  26132. this.node = t1;
  26133. },
  26134. _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
  26135. this.$this = t0;
  26136. },
  26137. _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
  26138. this.$this = t0;
  26139. this.node = t1;
  26140. },
  26141. _EvaluateVisitor__slash_recommendation1: function _EvaluateVisitor__slash_recommendation1() {
  26142. },
  26143. _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
  26144. this.$this = t0;
  26145. this.node = t1;
  26146. },
  26147. _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
  26148. this.node = t0;
  26149. this.operand = t1;
  26150. },
  26151. _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
  26152. this.$this = t0;
  26153. },
  26154. _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
  26155. this.$this = t0;
  26156. this.node = t1;
  26157. },
  26158. _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6() {
  26159. },
  26160. _EvaluateVisitor_visitFunctionExpression_closure7: function _EvaluateVisitor_visitFunctionExpression_closure7(t0, t1, t2) {
  26161. this._box_0 = t0;
  26162. this.$this = t1;
  26163. this.node = t2;
  26164. },
  26165. _EvaluateVisitor__visitCalculation_closure1: function _EvaluateVisitor__visitCalculation_closure1(t0, t1) {
  26166. this.$this = t0;
  26167. this.node = t1;
  26168. },
  26169. _EvaluateVisitor__checkCalculationArguments_check1: function _EvaluateVisitor__checkCalculationArguments_check1(t0, t1) {
  26170. this.$this = t0;
  26171. this.node = t1;
  26172. },
  26173. _EvaluateVisitor__visitCalculationExpression_closure1: function _EvaluateVisitor__visitCalculationExpression_closure1(t0, t1, t2, t3) {
  26174. var _ = this;
  26175. _._box_0 = t0;
  26176. _.$this = t1;
  26177. _.node = t2;
  26178. _.inLegacySassFunction = t3;
  26179. },
  26180. _EvaluateVisitor__visitCalculationExpression__closure1: function _EvaluateVisitor__visitCalculationExpression__closure1(t0, t1) {
  26181. this.$this = t0;
  26182. this.node = t1;
  26183. },
  26184. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
  26185. this.$this = t0;
  26186. this.node = t1;
  26187. this.$function = t2;
  26188. },
  26189. _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
  26190. var _ = this;
  26191. _.$this = t0;
  26192. _.callable = t1;
  26193. _.evaluated = t2;
  26194. _.nodeWithSpan = t3;
  26195. _.run = t4;
  26196. _.V = t5;
  26197. },
  26198. _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
  26199. var _ = this;
  26200. _.$this = t0;
  26201. _.evaluated = t1;
  26202. _.callable = t2;
  26203. _.nodeWithSpan = t3;
  26204. _.run = t4;
  26205. _.V = t5;
  26206. },
  26207. _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
  26208. var _ = this;
  26209. _.$this = t0;
  26210. _.evaluated = t1;
  26211. _.callable = t2;
  26212. _.nodeWithSpan = t3;
  26213. _.run = t4;
  26214. _.V = t5;
  26215. },
  26216. _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
  26217. },
  26218. _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
  26219. this.$this = t0;
  26220. this.callable = t1;
  26221. },
  26222. _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
  26223. this._box_0 = t0;
  26224. this.evaluated = t1;
  26225. this.namedSet = t2;
  26226. },
  26227. _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6(t0, t1) {
  26228. this._box_0 = t0;
  26229. this.evaluated = t1;
  26230. },
  26231. _EvaluateVisitor__runBuiltInCallable_closure7: function _EvaluateVisitor__runBuiltInCallable_closure7() {
  26232. },
  26233. _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
  26234. },
  26235. _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
  26236. this.$this = t0;
  26237. this.restNodeForSpan = t1;
  26238. },
  26239. _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
  26240. var _ = this;
  26241. _.$this = t0;
  26242. _.named = t1;
  26243. _.restNodeForSpan = t2;
  26244. _.namedNodes = t3;
  26245. },
  26246. _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
  26247. },
  26248. _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
  26249. this.restArgs = t0;
  26250. },
  26251. _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
  26252. this.$this = t0;
  26253. this.restNodeForSpan = t1;
  26254. this.restArgs = t2;
  26255. },
  26256. _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
  26257. var _ = this;
  26258. _.$this = t0;
  26259. _.named = t1;
  26260. _.restNodeForSpan = t2;
  26261. _.restArgs = t3;
  26262. },
  26263. _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
  26264. this.$this = t0;
  26265. this.keywordRestNodeForSpan = t1;
  26266. this.keywordRestArgs = t2;
  26267. },
  26268. _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
  26269. var _ = this;
  26270. _.$this = t0;
  26271. _.values = t1;
  26272. _.convert = t2;
  26273. _.expressionNode = t3;
  26274. _.map = t4;
  26275. _.nodeWithSpan = t5;
  26276. },
  26277. _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
  26278. this.parameters = t0;
  26279. this.positional = t1;
  26280. this.named = t2;
  26281. },
  26282. _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
  26283. this.$this = t0;
  26284. this.node = t1;
  26285. },
  26286. _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
  26287. },
  26288. _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
  26289. this.$this = t0;
  26290. this.node = t1;
  26291. },
  26292. _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
  26293. },
  26294. _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
  26295. this.$this = t0;
  26296. this.node = t1;
  26297. },
  26298. _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2, t3) {
  26299. var _ = this;
  26300. _.$this = t0;
  26301. _.mergedQueries = t1;
  26302. _.node = t2;
  26303. _.mergedSources = t3;
  26304. },
  26305. _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
  26306. this.$this = t0;
  26307. this.node = t1;
  26308. },
  26309. _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
  26310. this.$this = t0;
  26311. this.node = t1;
  26312. },
  26313. _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
  26314. this.mergedSources = t0;
  26315. },
  26316. _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4(t0, t1, t2) {
  26317. this.$this = t0;
  26318. this.rule = t1;
  26319. this.node = t2;
  26320. },
  26321. _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
  26322. this.$this = t0;
  26323. this.node = t1;
  26324. },
  26325. _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3() {
  26326. },
  26327. _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
  26328. this.$this = t0;
  26329. this.node = t1;
  26330. },
  26331. _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
  26332. this.$this = t0;
  26333. this.node = t1;
  26334. },
  26335. _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
  26336. },
  26337. _EvaluateVisitor__performInterpolationHelper_closure1: function _EvaluateVisitor__performInterpolationHelper_closure1(t0) {
  26338. this.interpolation = t0;
  26339. },
  26340. _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
  26341. this.value = t0;
  26342. this.quote = t1;
  26343. },
  26344. _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
  26345. this.$this = t0;
  26346. this.expression = t1;
  26347. },
  26348. _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
  26349. },
  26350. _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
  26351. this.$this = t0;
  26352. },
  26353. _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
  26354. this._evaluate0$_visitor = t0;
  26355. },
  26356. _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
  26357. },
  26358. _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
  26359. this.hasBeenMerged = t0;
  26360. },
  26361. _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
  26362. },
  26363. _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
  26364. },
  26365. _EvaluationContext1: function _EvaluationContext1(t0, t1) {
  26366. this._evaluate0$_visitor = t0;
  26367. this._evaluate0$_defaultWarnNodeWithSpan = t1;
  26368. },
  26369. EveryCssVisitor0: function EveryCssVisitor0() {
  26370. },
  26371. EveryCssVisitor_visitCssAtRule_closure0: function EveryCssVisitor_visitCssAtRule_closure0(t0) {
  26372. this.$this = t0;
  26373. },
  26374. EveryCssVisitor_visitCssKeyframeBlock_closure0: function EveryCssVisitor_visitCssKeyframeBlock_closure0(t0) {
  26375. this.$this = t0;
  26376. },
  26377. EveryCssVisitor_visitCssMediaRule_closure0: function EveryCssVisitor_visitCssMediaRule_closure0(t0) {
  26378. this.$this = t0;
  26379. },
  26380. EveryCssVisitor_visitCssStyleRule_closure0: function EveryCssVisitor_visitCssStyleRule_closure0(t0) {
  26381. this.$this = t0;
  26382. },
  26383. EveryCssVisitor_visitCssStylesheet_closure0: function EveryCssVisitor_visitCssStylesheet_closure0(t0) {
  26384. this.$this = t0;
  26385. },
  26386. EveryCssVisitor_visitCssSupportsRule_closure0: function EveryCssVisitor_visitCssSupportsRule_closure0(t0) {
  26387. this.$this = t0;
  26388. },
  26389. throwNodeException(exception, ascii, color, trace) {
  26390. var wasAscii, jsException, t1, trace0;
  26391. trace = trace;
  26392. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  26393. $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  26394. try {
  26395. t1 = A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]);
  26396. jsException = type$._NodeException._as(t1);
  26397. trace0 = A.getTrace0(exception);
  26398. trace = trace0 == null ? trace : trace0;
  26399. if (trace != null)
  26400. A.attachJsStack(jsException, trace);
  26401. A.jsThrow(jsException);
  26402. } finally {
  26403. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  26404. }
  26405. },
  26406. _NodeException: function _NodeException() {
  26407. },
  26408. exceptionClass_closure: function exceptionClass_closure() {
  26409. },
  26410. exceptionClass__closure: function exceptionClass__closure() {
  26411. },
  26412. exceptionClass__closure0: function exceptionClass__closure0() {
  26413. },
  26414. exceptionClass__closure1: function exceptionClass__closure1() {
  26415. },
  26416. SassException$0(message, span, loadedUrls) {
  26417. return new A.SassException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26418. },
  26419. MultiSpanSassException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  26420. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26421. return new A.MultiSpanSassException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26422. },
  26423. SassRuntimeException$0(message, span, trace, loadedUrls) {
  26424. return new A.SassRuntimeException0(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26425. },
  26426. MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  26427. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26428. return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26429. },
  26430. SassFormatException$0(message, span, loadedUrls) {
  26431. return new A.SassFormatException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26432. },
  26433. MultiSpanSassFormatException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  26434. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26435. return new A.MultiSpanSassFormatException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26436. },
  26437. SassScriptException$0(message, argumentName) {
  26438. return new A.SassScriptException0(argumentName == null ? message : "$" + argumentName + ": " + message);
  26439. },
  26440. MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
  26441. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26442. return new A.MultiSpanSassScriptException0(primaryLabel, t1, message);
  26443. },
  26444. SassException0: function SassException0(t0, t1, t2) {
  26445. this.loadedUrls = t0;
  26446. this._span_exception$_message = t1;
  26447. this._span = t2;
  26448. },
  26449. MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3, t4) {
  26450. var _ = this;
  26451. _.primaryLabel = t0;
  26452. _.secondarySpans = t1;
  26453. _.loadedUrls = t2;
  26454. _._span_exception$_message = t3;
  26455. _._span = t4;
  26456. },
  26457. SassRuntimeException0: function SassRuntimeException0(t0, t1, t2, t3) {
  26458. var _ = this;
  26459. _.trace = t0;
  26460. _.loadedUrls = t1;
  26461. _._span_exception$_message = t2;
  26462. _._span = t3;
  26463. },
  26464. MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4, t5) {
  26465. var _ = this;
  26466. _.trace = t0;
  26467. _.primaryLabel = t1;
  26468. _.secondarySpans = t2;
  26469. _.loadedUrls = t3;
  26470. _._span_exception$_message = t4;
  26471. _._span = t5;
  26472. },
  26473. SassFormatException0: function SassFormatException0(t0, t1, t2) {
  26474. this.loadedUrls = t0;
  26475. this._span_exception$_message = t1;
  26476. this._span = t2;
  26477. },
  26478. MultiSpanSassFormatException0: function MultiSpanSassFormatException0(t0, t1, t2, t3, t4) {
  26479. var _ = this;
  26480. _.primaryLabel = t0;
  26481. _.secondarySpans = t1;
  26482. _.loadedUrls = t2;
  26483. _._span_exception$_message = t3;
  26484. _._span = t4;
  26485. },
  26486. SassScriptException0: function SassScriptException0(t0) {
  26487. this.message = t0;
  26488. },
  26489. MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
  26490. this.primaryLabel = t0;
  26491. this.secondarySpans = t1;
  26492. this.message = t2;
  26493. },
  26494. Exports: function Exports() {
  26495. },
  26496. LoggerNamespace: function LoggerNamespace() {
  26497. },
  26498. Expression0: function Expression0() {
  26499. },
  26500. JSExpressionVisitor: function JSExpressionVisitor(t0) {
  26501. this._expression$_inner = t0;
  26502. },
  26503. JSExpressionVisitorObject: function JSExpressionVisitorObject() {
  26504. },
  26505. expressionToCalc0(expression) {
  26506. var t4,
  26507. t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe0.visitBinaryOperationExpression$1(0, expression)], type$.JSArray_Expression_2),
  26508. t2 = expression.get$span(0),
  26509. t3 = type$.Expression_2;
  26510. t1 = A.List_List$unmodifiable(t1, t3);
  26511. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  26512. t4 = expression.get$span(0);
  26513. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked("calc", "_", "-"), "calc", new A.ArgumentList0(t1, t3, null, null, t2), t4);
  26514. },
  26515. _MakeExpressionCalculationSafe0: function _MakeExpressionCalculationSafe0() {
  26516. },
  26517. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0() {
  26518. },
  26519. ExtendRule0: function ExtendRule0(t0, t1, t2) {
  26520. this.selector = t0;
  26521. this.isOptional = t1;
  26522. this.span = t2;
  26523. },
  26524. Extension0: function Extension0(t0, t1, t2, t3, t4) {
  26525. var _ = this;
  26526. _.extender = t0;
  26527. _.target = t1;
  26528. _.mediaContext = t2;
  26529. _.isOptional = t3;
  26530. _.span = t4;
  26531. },
  26532. Extender0: function Extender0(t0, t1) {
  26533. this.selector = t0;
  26534. this.isOriginal = t1;
  26535. this._extension$_extension = null;
  26536. },
  26537. ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
  26538. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  26539. extender = A.ExtensionStore$_mode0(mode);
  26540. if (!selector.accept$1(B._IsInvisibleVisitor_true0))
  26541. extender._extension_store$_originals.addAll$1(0, selector.components);
  26542. 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) {
  26543. complex = t1[_i];
  26544. compound = complex.get$singleCompound();
  26545. if (compound == null)
  26546. throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + complex.toString$0(0) + ".", null));
  26547. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  26548. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  26549. simple = t10[_i0];
  26550. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  26551. for (_i1 = 0; _i1 < t4; ++_i1) {
  26552. complex = t3[_i1];
  26553. complex.get$specificity();
  26554. t13 = new A.Extender0(complex, false);
  26555. t14 = new A.Extension0(t13, simple, null, true, span);
  26556. t13._extension$_extension = t14;
  26557. t12.$indexSet(0, complex, t14);
  26558. }
  26559. t9.$indexSet(0, simple, t12);
  26560. }
  26561. selector = extender._extension_store$_extendList$2(selector, t9);
  26562. }
  26563. return selector;
  26564. },
  26565. ExtensionStore$0() {
  26566. var t1 = type$.SimpleSelector_2;
  26567. 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);
  26568. },
  26569. ExtensionStore$_mode0(_mode) {
  26570. var t1 = type$.SimpleSelector_2;
  26571. 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);
  26572. },
  26573. ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
  26574. var _ = this;
  26575. _._extension_store$_selectors = t0;
  26576. _._extension_store$_extensions = t1;
  26577. _._extension_store$_extensionsByExtender = t2;
  26578. _._extension_store$_mediaContexts = t3;
  26579. _._extension_store$_sourceSpecificity = t4;
  26580. _._extension_store$_originals = t5;
  26581. _._extension_store$_mode = t6;
  26582. },
  26583. ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
  26584. },
  26585. ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
  26586. },
  26587. ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
  26588. },
  26589. ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
  26590. },
  26591. ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
  26592. this.complex = t0;
  26593. },
  26594. ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
  26595. },
  26596. ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
  26597. },
  26598. ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0() {
  26599. },
  26600. ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
  26601. this._box_0 = t0;
  26602. this.$this = t1;
  26603. this.complex = t2;
  26604. },
  26605. ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2) {
  26606. this._box_0 = t0;
  26607. this.$this = t1;
  26608. this.complex = t2;
  26609. },
  26610. ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
  26611. },
  26612. ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3() {
  26613. },
  26614. ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
  26615. this.original = t0;
  26616. },
  26617. ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2) {
  26618. this.$this = t0;
  26619. this.extensions = t1;
  26620. this.targetsUsed = t2;
  26621. },
  26622. ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1) {
  26623. this.$this = t0;
  26624. this.withoutPseudo = t1;
  26625. },
  26626. ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
  26627. },
  26628. ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
  26629. },
  26630. ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
  26631. },
  26632. ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
  26633. },
  26634. ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
  26635. this.pseudo = t0;
  26636. },
  26637. ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0, t1) {
  26638. this.pseudo = t0;
  26639. this.selector = t1;
  26640. },
  26641. ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
  26642. this._box_0 = t0;
  26643. this.complex1 = t1;
  26644. },
  26645. ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
  26646. this._box_0 = t0;
  26647. this.complex1 = t1;
  26648. },
  26649. ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
  26650. var _ = this;
  26651. _.$this = t0;
  26652. _.newSelectors = t1;
  26653. _.oldToNewSelectors = t2;
  26654. _.newMediaContexts = t3;
  26655. },
  26656. FiberClass: function FiberClass() {
  26657. },
  26658. Fiber: function Fiber() {
  26659. },
  26660. JSToDartFileImporter: function JSToDartFileImporter(t0) {
  26661. this._file0$_findFileUrl = t0;
  26662. },
  26663. JSToDartFileImporter_canonicalize_closure: function JSToDartFileImporter_canonicalize_closure(t0, t1) {
  26664. this.$this = t0;
  26665. this.url = t1;
  26666. },
  26667. FilesystemImporter0: function FilesystemImporter0(t0, t1) {
  26668. this._filesystem$_loadPath = t0;
  26669. this._filesystem$_loadPathDeprecated = t1;
  26670. },
  26671. FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
  26672. },
  26673. ForRule$0(variable, from, to, children, span, exclusive) {
  26674. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  26675. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  26676. return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
  26677. },
  26678. ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
  26679. var _ = this;
  26680. _.variable = t0;
  26681. _.from = t1;
  26682. _.to = t2;
  26683. _.isExclusive = t3;
  26684. _.span = t4;
  26685. _.children = t5;
  26686. _.hasDeclarations = t6;
  26687. },
  26688. ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
  26689. var _ = this;
  26690. _.url = t0;
  26691. _.shownMixinsAndFunctions = t1;
  26692. _.shownVariables = t2;
  26693. _.hiddenMixinsAndFunctions = t3;
  26694. _.hiddenVariables = t4;
  26695. _.prefix = t5;
  26696. _.configuration = t6;
  26697. _.span = t7;
  26698. },
  26699. ForwardedModuleView_ifNecessary0(inner, rule, $T) {
  26700. var t2,
  26701. t1 = false;
  26702. if (rule.prefix == null)
  26703. if (rule.shownMixinsAndFunctions == null)
  26704. if (rule.shownVariables == null) {
  26705. t2 = rule.hiddenMixinsAndFunctions;
  26706. t2 = t2 == null ? null : t2._base.get$isEmpty(0);
  26707. if (t2 === true) {
  26708. t1 = rule.hiddenVariables;
  26709. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  26710. t1 = t1 === true;
  26711. }
  26712. }
  26713. if (t1)
  26714. return inner;
  26715. else
  26716. return A.ForwardedModuleView$0(inner, rule, $T);
  26717. },
  26718. ForwardedModuleView$0(_inner, _rule, $T) {
  26719. var t1 = _rule.prefix,
  26720. t2 = _rule.shownVariables,
  26721. t3 = _rule.hiddenVariables,
  26722. t4 = _rule.shownMixinsAndFunctions,
  26723. t5 = _rule.hiddenMixinsAndFunctions;
  26724. 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>"));
  26725. },
  26726. ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
  26727. var t1 = prefix == null,
  26728. t2 = false;
  26729. if (t1)
  26730. if (safelist == null)
  26731. t2 = blocklist == null || blocklist._base.get$isEmpty(0);
  26732. if (t2)
  26733. return map;
  26734. if (!t1)
  26735. map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
  26736. if (safelist != null)
  26737. 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>"));
  26738. else if (blocklist != null && blocklist._base.get$isNotEmpty(0))
  26739. map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  26740. return map;
  26741. },
  26742. ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
  26743. var _ = this;
  26744. _._forwarded_view0$_inner = t0;
  26745. _._forwarded_view0$_rule = t1;
  26746. _.variables = t2;
  26747. _.variableNodes = t3;
  26748. _.functions = t4;
  26749. _.mixins = t5;
  26750. _.$ti = t6;
  26751. },
  26752. FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3, t4) {
  26753. var _ = this;
  26754. _.namespace = t0;
  26755. _.name = t1;
  26756. _.originalName = t2;
  26757. _.$arguments = t3;
  26758. _.span = t4;
  26759. },
  26760. JSFunction0: function JSFunction0() {
  26761. },
  26762. SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
  26763. this.name = t0;
  26764. this.$arguments = t1;
  26765. this.span = t2;
  26766. },
  26767. functionClass_closure: function functionClass_closure() {
  26768. },
  26769. functionClass__closure: function functionClass__closure() {
  26770. },
  26771. functionClass__closure0: function functionClass__closure0() {
  26772. },
  26773. SassFunction0: function SassFunction0(t0) {
  26774. this.callable = t0;
  26775. },
  26776. FunctionRule$0($name, parameters, children, span, comment) {
  26777. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  26778. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  26779. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  26780. return new A.FunctionRule0(t1, $name, parameters, span, t2, t3);
  26781. },
  26782. FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4, t5) {
  26783. var _ = this;
  26784. _.name = t0;
  26785. _.originalName = t1;
  26786. _.parameters = t2;
  26787. _.span = t3;
  26788. _.children = t4;
  26789. _.hasDeclarations = t5;
  26790. },
  26791. unifyComplex0(complexes, span) {
  26792. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, _0_6_isSet, _0_6, t5, newLeadingCombinator, base, _1_1, newTrailingCombinator, unifiedBase0, t6, t7, t8, _null = null,
  26793. t1 = J.getInterceptor$asx(complexes);
  26794. if (t1.get$length(complexes) === 1)
  26795. return complexes;
  26796. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  26797. t3 = t2.get$current(t2);
  26798. if (t3.accept$1(B.C__IsUselessVisitor0))
  26799. return _null;
  26800. t4 = t3.components;
  26801. _0_6_isSet = t4.length === 1;
  26802. if (_0_6_isSet) {
  26803. _0_6 = t3.leadingCombinators;
  26804. t5 = _0_6.length === 1;
  26805. } else {
  26806. _0_6 = _null;
  26807. t5 = false;
  26808. }
  26809. if (t5) {
  26810. newLeadingCombinator = (_0_6_isSet ? _0_6 : t3.leadingCombinators)[0];
  26811. if (leadingCombinator == null)
  26812. leadingCombinator = newLeadingCombinator;
  26813. else if (!(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value)))
  26814. return _null;
  26815. }
  26816. base = B.JSArray_methods.get$last(t4);
  26817. _1_1 = base.combinators;
  26818. if (_1_1.length === 1) {
  26819. newTrailingCombinator = _1_1[0];
  26820. if (trailingCombinator != null)
  26821. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  26822. else
  26823. t3 = false;
  26824. if (t3)
  26825. return _null;
  26826. trailingCombinator = newTrailingCombinator;
  26827. }
  26828. unifiedBase0 = base.selector;
  26829. if (unifiedBase == null)
  26830. unifiedBase = unifiedBase0;
  26831. else {
  26832. unifiedBase = A.unifyCompound0(unifiedBase, unifiedBase0);
  26833. if (unifiedBase == null)
  26834. return _null;
  26835. }
  26836. }
  26837. t2 = type$.JSArray_ComplexSelector_2;
  26838. t3 = A._setArrayType([], t2);
  26839. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  26840. t5 = t4.get$current(t4);
  26841. t6 = t5.components;
  26842. t7 = t6.length;
  26843. if (t7 > 1) {
  26844. t8 = t5.leadingCombinators;
  26845. t3.push(A.ComplexSelector$0(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  26846. }
  26847. }
  26848. t4 = leadingCombinator == null ? B.List_empty14 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator_2);
  26849. unifiedBase.toString;
  26850. t5 = trailingCombinator == null ? B.List_empty14 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator_2);
  26851. 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()));
  26852. if (t3.length === 0)
  26853. t1 = A._setArrayType([base], t2);
  26854. else {
  26855. t1 = A.List_List$of(A.IterableExtension_get_exceptLast0(t3), true, type$.ComplexSelector_2);
  26856. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  26857. }
  26858. return A.weave0(t1, span, false);
  26859. },
  26860. unifyCompound0(compound1, compound2) {
  26861. var t1, t2, pseudoElementFound, _i, simple, unified,
  26862. result = compound1.components,
  26863. pseudoResult = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  26864. for (t1 = compound2.components, t2 = t1.length, pseudoElementFound = false, _i = 0; _i < t2; ++_i) {
  26865. simple = t1[_i];
  26866. if (pseudoElementFound && simple instanceof A.PseudoSelector0) {
  26867. unified = simple.unify$1(pseudoResult);
  26868. if (unified == null)
  26869. return null;
  26870. pseudoResult = unified;
  26871. } else {
  26872. pseudoElementFound = B.JSBool_methods.$or(pseudoElementFound, simple instanceof A.PseudoSelector0 && !simple.isClass);
  26873. unified = simple.unify$1(result);
  26874. if (unified == null)
  26875. return null;
  26876. result = unified;
  26877. }
  26878. }
  26879. t1 = A.List_List$of(result, true, type$.SimpleSelector_2);
  26880. B.JSArray_methods.addAll$1(t1, pseudoResult);
  26881. return A.CompoundSelector$0(t1, compound1.span);
  26882. },
  26883. unifyUniversalAndElement0(selector1, selector2) {
  26884. var namespace, $name, t1,
  26885. _0_0 = A._namespaceAndName0(selector1, "selector1"),
  26886. namespace1 = _0_0._0,
  26887. name1 = _0_0._1,
  26888. _1_0 = A._namespaceAndName0(selector2, "selector2"),
  26889. namespace2 = _1_0._0,
  26890. name2 = _1_0._1;
  26891. if (namespace1 == namespace2 || namespace2 === "*")
  26892. namespace = namespace1;
  26893. else {
  26894. if (namespace1 !== "*")
  26895. return null;
  26896. namespace = namespace2;
  26897. }
  26898. if (name1 == name2 || name2 == null)
  26899. $name = name1;
  26900. else {
  26901. if (!(name1 == null || name1 === "*"))
  26902. return null;
  26903. $name = name2;
  26904. }
  26905. t1 = selector1.span;
  26906. return $name == null ? new A.UniversalSelector0(namespace, t1) : new A.TypeSelector0(new A.QualifiedName0($name, namespace), t1);
  26907. },
  26908. _namespaceAndName0(selector, $name) {
  26909. var t1, _0_4;
  26910. $label0$0: {
  26911. if (selector instanceof A.UniversalSelector0) {
  26912. t1 = new A._Record_2(selector.namespace, null);
  26913. break $label0$0;
  26914. }
  26915. if (selector instanceof A.TypeSelector0) {
  26916. _0_4 = selector.name;
  26917. t1 = new A._Record_2(_0_4.namespace, _0_4.name);
  26918. break $label0$0;
  26919. }
  26920. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  26921. }
  26922. return t1;
  26923. },
  26924. weave0(complexes, span, forceLineBreak) {
  26925. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  26926. t1 = J.getInterceptor$asx(complexes);
  26927. if (t1.get$length(complexes) === 1) {
  26928. complex = t1.$index(complexes, 0);
  26929. if (!forceLineBreak || complex.lineBreak)
  26930. return complexes;
  26931. return A._setArrayType([A.ComplexSelector$0(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector_2);
  26932. }
  26933. t2 = type$.JSArray_ComplexSelector_2;
  26934. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  26935. 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();) {
  26936. t5 = t1.__internal$_current;
  26937. if (t5 == null)
  26938. t5 = t3._as(t5);
  26939. t6 = t5.components;
  26940. if (t6.length === 1) {
  26941. for (i = 0; i < prefixes.length; ++i)
  26942. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  26943. continue;
  26944. }
  26945. t7 = A._setArrayType([], t2);
  26946. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  26947. t9 = A._weaveParents0(prefixes[_i], t5, span);
  26948. if (t9 == null)
  26949. t9 = B.List_empty15;
  26950. t10 = t9.length;
  26951. _i0 = 0;
  26952. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  26953. parentPrefix = t9[_i0];
  26954. t11 = B.JSArray_methods.get$last(t6);
  26955. t12 = A.List_List$of(parentPrefix.components, true, t4);
  26956. t12.push(t11);
  26957. t11 = parentPrefix.lineBreak || forceLineBreak;
  26958. t7.push(A.ComplexSelector$0(parentPrefix.leadingCombinators, t12, span, t11));
  26959. }
  26960. }
  26961. prefixes = t7;
  26962. }
  26963. return prefixes;
  26964. },
  26965. _weaveParents0(prefix, base, span) {
  26966. var t1, queue1, queue2, trailingCombinators, _0_1, _0_3, _0_3_isSet, _0_30, rootish2, t2, rootish1, rootish, t3, rootish_case_0, t0, rootish_case_1, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  26967. leadingCombinators = A._mergeLeadingCombinators0(prefix.leadingCombinators, base.leadingCombinators);
  26968. if (leadingCombinators == null)
  26969. return _null;
  26970. t1 = type$.ComplexSelectorComponent_2;
  26971. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  26972. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast0(base.components), t1);
  26973. trailingCombinators = A._mergeTrailingCombinators0(queue1, queue2, span, _null);
  26974. if (trailingCombinators == null)
  26975. return _null;
  26976. $label0$0: {
  26977. _0_1 = A._firstIfRootish0(queue1);
  26978. _0_3 = A._firstIfRootish0(queue2);
  26979. _0_3_isSet = _0_1 != null;
  26980. _0_30 = _null;
  26981. rootish2 = _null;
  26982. t2 = false;
  26983. if (_0_3_isSet) {
  26984. rootish1 = _0_1 == null ? t1._as(_0_1) : _0_1;
  26985. t2 = _0_3 != null;
  26986. if (t2)
  26987. rootish2 = _0_3 == null ? t1._as(_0_3) : _0_3;
  26988. _0_30 = _0_3;
  26989. } else
  26990. rootish1 = _null;
  26991. if (t2) {
  26992. rootish = A.unifyCompound0(rootish1.selector, rootish2.selector);
  26993. if (rootish == null)
  26994. return _null;
  26995. t1 = rootish1.combinators;
  26996. t2 = rootish1.span;
  26997. t3 = type$.CssValue_Combinator_2;
  26998. queue1.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(t1, t3), t2));
  26999. queue2.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  27000. break $label0$0;
  27001. }
  27002. t2 = _null;
  27003. t3 = false;
  27004. if (_0_1 != null) {
  27005. rootish_case_0 = _0_1;
  27006. if (_0_3_isSet)
  27007. t2 = _0_30;
  27008. else {
  27009. t2 = _0_3;
  27010. _0_30 = t2;
  27011. _0_3_isSet = true;
  27012. }
  27013. t2 = t2 == null;
  27014. t3 = t2 ? rootish_case_0 : _null;
  27015. t0 = t3;
  27016. t3 = t2;
  27017. t2 = t0;
  27018. }
  27019. if (!t3)
  27020. if (_0_1 == null) {
  27021. if (_0_3_isSet)
  27022. t3 = _0_30;
  27023. else {
  27024. t3 = _0_3;
  27025. _0_30 = t3;
  27026. _0_3_isSet = true;
  27027. }
  27028. t3 = t3 != null;
  27029. if (t3) {
  27030. rootish_case_1 = _0_3_isSet ? _0_30 : _0_3;
  27031. if (rootish_case_1 == null)
  27032. rootish_case_1 = t1._as(rootish_case_1);
  27033. t1 = rootish_case_1;
  27034. } else
  27035. t1 = t2;
  27036. t2 = t3;
  27037. } else {
  27038. t1 = t2;
  27039. t2 = false;
  27040. }
  27041. else {
  27042. t1 = t2;
  27043. t2 = true;
  27044. }
  27045. if (t2) {
  27046. queue1.addFirst$1(t1);
  27047. queue2.addFirst$1(t1);
  27048. }
  27049. }
  27050. groups1 = A._groupSelectors0(queue1);
  27051. groups2 = A._groupSelectors0(queue2);
  27052. t1 = type$.List_ComplexSelectorComponent_2;
  27053. lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure3(span), t1);
  27054. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
  27055. 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) {
  27056. group = lcs[_i];
  27057. t5 = A._setArrayType([], t3);
  27058. 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) {
  27059. chunk = t6[_i0];
  27060. t8 = A._setArrayType([], t4);
  27061. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  27062. B.JSArray_methods.addAll$1(t8, t9.get$current(0));
  27063. t5.push(t8);
  27064. }
  27065. choices.push(t5);
  27066. choices.push(A._setArrayType([group], t3));
  27067. groups1.removeFirst$0();
  27068. groups2.removeFirst$0();
  27069. }
  27070. t2 = A._setArrayType([], t3);
  27071. 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) {
  27072. chunk = t1[_i];
  27073. t5 = A._setArrayType([], t4);
  27074. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  27075. B.JSArray_methods.addAll$1(t5, t6.get$current(0));
  27076. t2.push(t5);
  27077. }
  27078. choices.push(t2);
  27079. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  27080. t1 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  27081. 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();) {
  27082. t6 = t2.get$current(t2);
  27083. t7 = A._setArrayType([], t4);
  27084. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  27085. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  27086. t1.push(A.ComplexSelector$0(leadingCombinators, t7, span, !t3 || t5));
  27087. }
  27088. return t1;
  27089. },
  27090. _firstIfRootish0(queue) {
  27091. var first, t1, t2, _i, simple, t3;
  27092. if (queue.get$length(0) >= 1) {
  27093. first = queue.$index(0, 0);
  27094. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  27095. simple = t1[_i];
  27096. t3 = false;
  27097. if (simple instanceof A.PseudoSelector0)
  27098. if (simple.isClass)
  27099. t3 = $._rootishPseudoClasses0.contains$1(0, simple.normalizedName);
  27100. if (t3) {
  27101. queue.removeFirst$0();
  27102. return first;
  27103. }
  27104. }
  27105. }
  27106. return null;
  27107. },
  27108. _mergeLeadingCombinators0(combinators1, combinators2) {
  27109. var _0_4, t1, t2, _0_7_isSet, _0_7, t3, _0_4_isSet, _0_11, _0_11_isSet, combinators, _null = null;
  27110. $label0$0: {
  27111. _0_4 = combinators2;
  27112. t1 = _null;
  27113. t2 = type$.List_CssValue_Combinator_2;
  27114. _0_7_isSet = t2._is(combinators1);
  27115. _0_7 = _null;
  27116. if (_0_7_isSet) {
  27117. _0_7 = combinators1.length;
  27118. t3 = _0_7;
  27119. t3 = t3 > 1;
  27120. } else
  27121. t3 = false;
  27122. _0_4_isSet = true;
  27123. _0_11 = _null;
  27124. if (!t3) {
  27125. t3 = _0_4;
  27126. _0_11_isSet = t2._is(t3);
  27127. if (_0_11_isSet) {
  27128. t3 = _0_4;
  27129. _0_11 = (t3 == null ? t2._as(t3) : t3).length;
  27130. t3 = _0_11;
  27131. t3 = t3 > 1;
  27132. } else
  27133. t3 = false;
  27134. } else {
  27135. _0_11_isSet = false;
  27136. t3 = true;
  27137. }
  27138. if (t3)
  27139. break $label0$0;
  27140. if (t2._is(combinators1)) {
  27141. if (_0_7_isSet)
  27142. t3 = _0_7;
  27143. else {
  27144. _0_7 = combinators1.length;
  27145. t3 = _0_7;
  27146. }
  27147. t3 = t3 <= 0;
  27148. if (t3)
  27149. if (_0_4_isSet)
  27150. combinators = _0_4;
  27151. else {
  27152. combinators = combinators2;
  27153. _0_4 = combinators;
  27154. _0_4_isSet = true;
  27155. }
  27156. else
  27157. combinators = t1;
  27158. t1 = t3;
  27159. } else {
  27160. combinators = t1;
  27161. t1 = false;
  27162. }
  27163. if (!t1) {
  27164. t1 = false;
  27165. if (_0_4_isSet)
  27166. t3 = _0_4;
  27167. else {
  27168. t3 = combinators2;
  27169. _0_4 = t3;
  27170. _0_4_isSet = true;
  27171. }
  27172. if (t2._is(t3)) {
  27173. if (_0_11_isSet)
  27174. t1 = _0_11;
  27175. else {
  27176. t1 = _0_4_isSet ? _0_4 : combinators2;
  27177. _0_11 = (t1 == null ? t2._as(t1) : t1).length;
  27178. t1 = _0_11;
  27179. }
  27180. t1 = t1 <= 0;
  27181. }
  27182. combinators = combinators1;
  27183. } else
  27184. t1 = true;
  27185. if (t1) {
  27186. t1 = combinators;
  27187. break $label0$0;
  27188. }
  27189. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  27190. break $label0$0;
  27191. }
  27192. return t1;
  27193. },
  27194. _mergeTrailingCombinators0(components1, components2, span, result) {
  27195. var _0_1, t1, _1_1, t2, t3, _4_1, _4_3, _4_4_isSet, _4_5, _4_4, component1, component2, t4, t5, choices, _2_0, _4_9, _4_6, _4_7, followingComponents, nextComponents, _4_4_isSet0, _4_6_isSet, _4_7_isSet, _4_10_isSet, _4_10, _4_5_isSet, next, following, _3_0, siblingComponents_case_0, siblingComponents_case_1, combinator1, t6, combinator2, unified, t7, combinator_case_0, combinatorComponents_case_0, descendantComponents_case_0, t0, combinator_case_1, descendantComponents_case_1, combinatorComponents_case_1, _null = null;
  27196. if (result == null)
  27197. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
  27198. $label0$0: {
  27199. _0_1 = components1.get$length(0);
  27200. if (_0_1 >= 1) {
  27201. t1 = components1.$index(0, _0_1 - 1).combinators;
  27202. break $label0$0;
  27203. }
  27204. t1 = B.List_empty14;
  27205. break $label0$0;
  27206. }
  27207. $label1$1: {
  27208. _1_1 = components2.get$length(0);
  27209. if (_1_1 >= 1) {
  27210. t2 = components2.$index(0, _1_1 - 1).combinators;
  27211. break $label1$1;
  27212. }
  27213. t2 = B.List_empty14;
  27214. break $label1$1;
  27215. }
  27216. t3 = t1.length;
  27217. if (t3 === 0 && t2.length === 0)
  27218. return result;
  27219. if (t3 > 1 || t2.length > 1)
  27220. return _null;
  27221. $label2$2: {
  27222. t3 = A.IterableExtension_get_firstOrNull(t1);
  27223. t3 = t3 == null ? _null : t3.value;
  27224. t2 = A.IterableExtension_get_firstOrNull(t2);
  27225. t2 = [t3, t2 == null ? _null : t2.value, components1, components2];
  27226. _4_1 = t2[0];
  27227. _4_3 = B.Combinator_55N0 === _4_1;
  27228. _4_4_isSet = _4_3;
  27229. _4_5 = _null;
  27230. _4_4 = _null;
  27231. if (_4_4_isSet) {
  27232. _4_4 = t2[1];
  27233. _4_5 = B.Combinator_55N0 === _4_4;
  27234. t3 = _4_5;
  27235. } else
  27236. t3 = false;
  27237. if (t3) {
  27238. component1 = components1.removeLast$0(0);
  27239. component2 = components2.removeLast$0(0);
  27240. t2 = component1.selector;
  27241. t3 = component2.selector;
  27242. if (A.compoundIsSuperselector0(t2, t3, _null))
  27243. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27244. else {
  27245. t4 = type$.JSArray_ComplexSelectorComponent_2;
  27246. t5 = type$.JSArray_List_ComplexSelectorComponent_2;
  27247. if (A.compoundIsSuperselector0(t3, t2, _null))
  27248. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  27249. else {
  27250. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  27251. _2_0 = A.unifyCompound0(t2, t3);
  27252. if (_2_0 != null)
  27253. 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));
  27254. result.addFirst$1(choices);
  27255. }
  27256. }
  27257. break $label2$2;
  27258. }
  27259. _4_9 = _null;
  27260. _4_6 = _null;
  27261. _4_7 = _null;
  27262. followingComponents = _null;
  27263. nextComponents = _null;
  27264. if (_4_3) {
  27265. if (_4_4_isSet) {
  27266. t3 = _4_4;
  27267. _4_4_isSet0 = _4_4_isSet;
  27268. } else {
  27269. _4_4 = t2[1];
  27270. t3 = _4_4;
  27271. _4_4_isSet0 = true;
  27272. }
  27273. _4_9 = B.Combinator_bOP0 === t3;
  27274. _4_6_isSet = _4_9;
  27275. if (_4_6_isSet) {
  27276. _4_6 = t2[2];
  27277. _4_7 = t2[3];
  27278. nextComponents = _4_7;
  27279. followingComponents = _4_6;
  27280. }
  27281. t3 = _4_6_isSet;
  27282. _4_7_isSet = t3;
  27283. } else {
  27284. _4_4_isSet0 = _4_4_isSet;
  27285. _4_6_isSet = false;
  27286. _4_7_isSet = false;
  27287. t3 = false;
  27288. }
  27289. _4_10_isSet = !t3;
  27290. _4_10 = _null;
  27291. if (_4_10_isSet) {
  27292. _4_10 = B.Combinator_bOP0 === _4_1;
  27293. t3 = _4_10;
  27294. if (t3) {
  27295. if (_4_4_isSet) {
  27296. t3 = _4_5;
  27297. _4_5_isSet = _4_4_isSet;
  27298. _4_4_isSet = _4_4_isSet0;
  27299. } else {
  27300. if (_4_4_isSet0) {
  27301. t3 = _4_4;
  27302. _4_4_isSet = _4_4_isSet0;
  27303. } else {
  27304. _4_4 = t2[1];
  27305. t3 = _4_4;
  27306. _4_4_isSet = true;
  27307. }
  27308. _4_5 = B.Combinator_55N0 === t3;
  27309. t3 = _4_5;
  27310. _4_5_isSet = true;
  27311. }
  27312. if (t3) {
  27313. if (_4_6_isSet)
  27314. nextComponents = _4_6;
  27315. else {
  27316. _4_6 = t2[2];
  27317. nextComponents = _4_6;
  27318. _4_6_isSet = true;
  27319. }
  27320. if (_4_7_isSet)
  27321. followingComponents = _4_7;
  27322. else {
  27323. _4_7 = t2[3];
  27324. followingComponents = _4_7;
  27325. _4_7_isSet = true;
  27326. }
  27327. }
  27328. } else {
  27329. _4_5_isSet = _4_4_isSet;
  27330. _4_4_isSet = _4_4_isSet0;
  27331. t3 = false;
  27332. }
  27333. } else {
  27334. _4_5_isSet = _4_4_isSet;
  27335. _4_4_isSet = _4_4_isSet0;
  27336. t3 = true;
  27337. }
  27338. if (t3) {
  27339. next = nextComponents.removeLast$0(0);
  27340. following = followingComponents.removeLast$0(0);
  27341. t1 = following.selector;
  27342. t2 = next.selector;
  27343. t3 = type$.JSArray_ComplexSelectorComponent_2;
  27344. t4 = type$.JSArray_List_ComplexSelectorComponent_2;
  27345. if (A.compoundIsSuperselector0(t1, t2, _null))
  27346. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  27347. else {
  27348. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  27349. _3_0 = A.unifyCompound0(t1, t2);
  27350. if (_3_0 != null)
  27351. t4.push(A._setArrayType([new A.ComplexSelectorComponent0(_3_0, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator_2), span)], t3));
  27352. result.addFirst$1(t4);
  27353. }
  27354. break $label2$2;
  27355. }
  27356. t3 = _null;
  27357. if (B.Combinator_0mp0 === _4_1) {
  27358. _4_4_isSet0 = true;
  27359. if (_4_3)
  27360. t4 = _4_9;
  27361. else {
  27362. if (_4_4_isSet)
  27363. t4 = _4_4;
  27364. else {
  27365. _4_4 = t2[1];
  27366. t4 = _4_4;
  27367. _4_4_isSet = _4_4_isSet0;
  27368. }
  27369. _4_9 = B.Combinator_bOP0 === t4;
  27370. t4 = _4_9;
  27371. }
  27372. if (!t4)
  27373. if (_4_5_isSet)
  27374. t4 = _4_5;
  27375. else {
  27376. if (_4_4_isSet)
  27377. t4 = _4_4;
  27378. else {
  27379. _4_4 = t2[1];
  27380. t4 = _4_4;
  27381. _4_4_isSet = _4_4_isSet0;
  27382. }
  27383. _4_5 = B.Combinator_55N0 === t4;
  27384. t4 = _4_5;
  27385. }
  27386. else
  27387. t4 = true;
  27388. if (t4) {
  27389. if (_4_7_isSet)
  27390. siblingComponents_case_0 = _4_7;
  27391. else {
  27392. _4_7 = t2[3];
  27393. siblingComponents_case_0 = _4_7;
  27394. _4_7_isSet = true;
  27395. }
  27396. t3 = siblingComponents_case_0;
  27397. }
  27398. } else
  27399. t4 = false;
  27400. if (!t4) {
  27401. if (_4_10_isSet)
  27402. t4 = _4_10;
  27403. else {
  27404. _4_10 = B.Combinator_bOP0 === _4_1;
  27405. t4 = _4_10;
  27406. }
  27407. if (!t4)
  27408. t4 = _4_3;
  27409. else
  27410. t4 = true;
  27411. if (t4) {
  27412. if (_4_4_isSet)
  27413. t4 = _4_4;
  27414. else {
  27415. _4_4 = t2[1];
  27416. t4 = _4_4;
  27417. _4_4_isSet = true;
  27418. }
  27419. t4 = B.Combinator_0mp0 === t4;
  27420. if (t4) {
  27421. if (_4_6_isSet)
  27422. siblingComponents_case_1 = _4_6;
  27423. else {
  27424. _4_6 = t2[2];
  27425. siblingComponents_case_1 = _4_6;
  27426. _4_6_isSet = true;
  27427. }
  27428. t3 = siblingComponents_case_1;
  27429. }
  27430. } else
  27431. t4 = false;
  27432. } else
  27433. t4 = true;
  27434. if (t4) {
  27435. result.addFirst$1(A._setArrayType([A._setArrayType([t3.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27436. break $label2$2;
  27437. }
  27438. t3 = _4_1 == null;
  27439. t4 = !t3;
  27440. t5 = false;
  27441. if (t4) {
  27442. _4_4_isSet0 = true;
  27443. combinator1 = _4_1;
  27444. if (_4_4_isSet)
  27445. t6 = _4_4;
  27446. else {
  27447. _4_4 = t2[1];
  27448. t6 = _4_4;
  27449. _4_4_isSet = _4_4_isSet0;
  27450. }
  27451. if (t6 != null) {
  27452. if (_4_4_isSet)
  27453. combinator2 = _4_4;
  27454. else {
  27455. _4_4 = t2[1];
  27456. combinator2 = _4_4;
  27457. _4_4_isSet = _4_4_isSet0;
  27458. }
  27459. t5 = combinator1 === (combinator2 == null ? type$.Combinator_2._as(combinator2) : combinator2);
  27460. }
  27461. }
  27462. if (t5) {
  27463. unified = A.unifyCompound0(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  27464. if (unified == null)
  27465. return _null;
  27466. 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));
  27467. break $label2$2;
  27468. }
  27469. t1 = _null;
  27470. t5 = _null;
  27471. t6 = _null;
  27472. t7 = false;
  27473. if (t4) {
  27474. combinator_case_0 = _4_1;
  27475. if (_4_4_isSet)
  27476. t4 = _4_4;
  27477. else {
  27478. _4_4 = t2[1];
  27479. t4 = _4_4;
  27480. _4_4_isSet = true;
  27481. }
  27482. t4 = t4 == null;
  27483. if (t4) {
  27484. if (_4_6_isSet)
  27485. combinatorComponents_case_0 = _4_6;
  27486. else {
  27487. _4_6 = t2[2];
  27488. combinatorComponents_case_0 = _4_6;
  27489. _4_6_isSet = true;
  27490. }
  27491. if (_4_7_isSet)
  27492. descendantComponents_case_0 = _4_7;
  27493. else {
  27494. _4_7 = t2[3];
  27495. descendantComponents_case_0 = _4_7;
  27496. _4_7_isSet = true;
  27497. }
  27498. t1 = descendantComponents_case_0;
  27499. t6 = t1;
  27500. t1 = combinator_case_0;
  27501. t5 = combinatorComponents_case_0;
  27502. }
  27503. t0 = t6;
  27504. t6 = t4;
  27505. t4 = t5;
  27506. t5 = t0;
  27507. } else {
  27508. t4 = t5;
  27509. t5 = t6;
  27510. t6 = t7;
  27511. }
  27512. if (!t6)
  27513. if (t3) {
  27514. if (_4_4_isSet)
  27515. t3 = _4_4;
  27516. else {
  27517. _4_4 = t2[1];
  27518. t3 = _4_4;
  27519. _4_4_isSet = true;
  27520. }
  27521. t3 = t3 != null;
  27522. if (t3) {
  27523. combinator_case_1 = _4_4_isSet ? _4_4 : t2[1];
  27524. if (combinator_case_1 == null)
  27525. combinator_case_1 = type$.Combinator_2._as(combinator_case_1);
  27526. descendantComponents_case_1 = _4_6_isSet ? _4_6 : t2[2];
  27527. combinatorComponents_case_1 = _4_7_isSet ? _4_7 : t2[3];
  27528. t1 = combinatorComponents_case_1;
  27529. t2 = descendantComponents_case_1;
  27530. t4 = t2;
  27531. t2 = t1;
  27532. t1 = combinator_case_1;
  27533. } else {
  27534. t2 = t4;
  27535. t4 = t5;
  27536. }
  27537. t0 = t4;
  27538. t4 = t3;
  27539. t3 = t0;
  27540. } else {
  27541. t3 = t5;
  27542. t2 = t4;
  27543. t4 = false;
  27544. }
  27545. else {
  27546. t3 = t5;
  27547. t2 = t4;
  27548. t4 = true;
  27549. }
  27550. if (t4) {
  27551. if (t1 === B.Combinator_0mp0) {
  27552. t1 = A.IterableExtension_get_lastOrNull(t3);
  27553. t1 = t1 == null ? _null : A.compoundIsSuperselector0(t1.selector, t2.get$last(t2).selector, _null);
  27554. t1 = t1 === true;
  27555. } else
  27556. t1 = false;
  27557. if (t1)
  27558. t3.removeLast$0(0);
  27559. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27560. break $label2$2;
  27561. }
  27562. return _null;
  27563. }
  27564. return A._mergeTrailingCombinators0(components1, components2, span, result);
  27565. },
  27566. _mustUnify0(complex1, complex2) {
  27567. var t2, t3, t4,
  27568. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
  27569. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  27570. 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();)
  27571. t1.add$1(0, t3.get$current(0));
  27572. if (t1._collection$_length === 0)
  27573. return false;
  27574. return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
  27575. },
  27576. _isUnique0(simple) {
  27577. var t1;
  27578. if (!(simple instanceof A.IDSelector0))
  27579. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  27580. else
  27581. t1 = true;
  27582. return t1;
  27583. },
  27584. _chunks0(queue1, queue2, done, $T) {
  27585. var chunk2, _0_4, _0_5_isSet, _0_1, _0_7, _0_5, chunk, _0_5_isSet0, t2, _null = null,
  27586. t1 = $T._eval$1("JSArray<0>"),
  27587. chunk1 = A._setArrayType([], t1);
  27588. for (; !done.call$1(queue1);)
  27589. chunk1.push(queue1.removeFirst$0());
  27590. chunk2 = A._setArrayType([], t1);
  27591. for (; !done.call$1(queue2);)
  27592. chunk2.push(queue2.removeFirst$0());
  27593. $label0$0: {
  27594. _0_4 = chunk1.length <= 0;
  27595. _0_5_isSet = _0_4;
  27596. _0_1 = chunk1;
  27597. _0_7 = _null;
  27598. _0_5 = _null;
  27599. if (_0_5_isSet) {
  27600. _0_7 = chunk2.length <= 0;
  27601. t1 = _0_7;
  27602. _0_5 = chunk2;
  27603. } else
  27604. t1 = false;
  27605. if (t1) {
  27606. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  27607. break $label0$0;
  27608. }
  27609. if (_0_4)
  27610. if (_0_5_isSet) {
  27611. chunk = _0_5;
  27612. _0_5_isSet0 = _0_5_isSet;
  27613. } else {
  27614. chunk = chunk2;
  27615. _0_5 = chunk;
  27616. _0_5_isSet0 = true;
  27617. }
  27618. else {
  27619. chunk = _null;
  27620. _0_5_isSet0 = _0_5_isSet;
  27621. }
  27622. if (!_0_4) {
  27623. if (_0_5_isSet)
  27624. t1 = _0_7;
  27625. else {
  27626. _0_7 = (_0_5_isSet0 ? _0_5 : chunk2).length <= 0;
  27627. t1 = _0_7;
  27628. }
  27629. chunk = _0_1;
  27630. } else
  27631. t1 = true;
  27632. if (t1) {
  27633. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  27634. break $label0$0;
  27635. }
  27636. t1 = A.List_List$of(chunk1, true, $T);
  27637. B.JSArray_methods.addAll$1(t1, chunk2);
  27638. t2 = A.List_List$of(chunk2, true, $T);
  27639. B.JSArray_methods.addAll$1(t2, chunk1);
  27640. t2 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  27641. t1 = t2;
  27642. break $label0$0;
  27643. }
  27644. return t1;
  27645. },
  27646. paths0(choices, $T) {
  27647. 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));
  27648. },
  27649. _groupSelectors0(complex) {
  27650. var t2, t3, t4,
  27651. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
  27652. t1 = type$.JSArray_ComplexSelectorComponent_2,
  27653. group = A._setArrayType([], t1);
  27654. 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();) {
  27655. t4 = t3.__internal$_current;
  27656. if (t4 == null)
  27657. t4 = t2._as(t4);
  27658. group.push(t4);
  27659. if (t4.combinators.length === 0) {
  27660. groups._queue_list$_add$1(group);
  27661. group = A._setArrayType([], t1);
  27662. }
  27663. }
  27664. if (group.length !== 0)
  27665. groups._queue_list$_add$1(group);
  27666. return groups;
  27667. },
  27668. listIsSuperselector0(list1, list2) {
  27669. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
  27670. },
  27671. _complexIsParentSuperselector0(complex1, complex2) {
  27672. var t1, base, t2;
  27673. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  27674. return false;
  27675. t1 = $.$get$bogusSpan0();
  27676. base = new A.ComplexSelectorComponent0(A.CompoundSelector$0(A._setArrayType([new A.PlaceholderSelector0("<temp>", t1)], type$.JSArray_SimpleSelector_2), t1), A.List_List$unmodifiable(B.List_empty14, type$.CssValue_Combinator_2), t1);
  27677. t1 = type$.ComplexSelectorComponent_2;
  27678. t2 = A.List_List$of(complex1, true, t1);
  27679. t2.push(base);
  27680. t1 = A.List_List$of(complex2, true, t1);
  27681. t1.push(base);
  27682. return A.complexIsSuperselector0(t2, t1);
  27683. },
  27684. complexIsSuperselector0(complex1, complex2) {
  27685. var t1, t2, previousCombinator, i1, i2, remaining1, remaining2, component1, t3, t4, endOfSubselector, component2, t5, combinator1, _null = null;
  27686. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  27687. return false;
  27688. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  27689. return false;
  27690. for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), previousCombinator = _null, i1 = 0, i2 = 0; true; previousCombinator = combinator1) {
  27691. remaining1 = complex1.length - i1;
  27692. remaining2 = complex2.length - i2;
  27693. if (remaining1 === 0 || remaining2 === 0)
  27694. return false;
  27695. if (remaining1 > remaining2)
  27696. return false;
  27697. component1 = complex1[i1];
  27698. t3 = component1.combinators;
  27699. if (t3.length > 1)
  27700. return false;
  27701. if (remaining1 === 1)
  27702. if (B.JSArray_methods.any$1(complex2, new A.complexIsSuperselector_closure1()))
  27703. return false;
  27704. else {
  27705. t1 = component1.selector;
  27706. t2 = B.JSArray_methods.get$last(complex2).selector;
  27707. return A.compoundIsSuperselector0(t1, t2, t1.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, complex2.length - 1) : _null);
  27708. }
  27709. for (t4 = component1.selector, endOfSubselector = i2; true;) {
  27710. component2 = complex2[endOfSubselector];
  27711. if (component2.combinators.length > 1)
  27712. return false;
  27713. t5 = t4.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, endOfSubselector) : _null;
  27714. if (A.compoundIsSuperselector0(t4, component2.selector, t5))
  27715. break;
  27716. ++endOfSubselector;
  27717. if (endOfSubselector === complex2.length - 1)
  27718. return false;
  27719. }
  27720. t4 = new A.SubListIterable(complex2, 0, endOfSubselector, t1);
  27721. t4.SubListIterable$3(complex2, 0, endOfSubselector, t2);
  27722. if (!A._compatibleWithPreviousCombinator0(previousCombinator, t4.skip$1(0, i2)))
  27723. return false;
  27724. component2 = complex2[endOfSubselector];
  27725. combinator1 = A.IterableExtension_get_firstOrNull(t3);
  27726. if (!A._isSupercombinator0(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  27727. return false;
  27728. ++i1;
  27729. i2 = endOfSubselector + 1;
  27730. if (complex1.length - i1 === 1) {
  27731. t3 = combinator1 == null;
  27732. if (J.$eq$(t3 ? _null : combinator1.value, B.Combinator_55N0)) {
  27733. t3 = complex2.length - 1;
  27734. t4 = new A.SubListIterable(complex2, 0, t3, t1);
  27735. t4.SubListIterable$3(complex2, 0, t3, t2);
  27736. if (!t4.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure2(combinator1)))
  27737. return false;
  27738. } else if (!t3)
  27739. if (complex2.length - i2 > 1)
  27740. return false;
  27741. }
  27742. }
  27743. },
  27744. _compatibleWithPreviousCombinator0(previous, parents) {
  27745. if (parents.get$isEmpty(parents))
  27746. return true;
  27747. if (previous == null)
  27748. return true;
  27749. if (previous.value !== B.Combinator_55N0)
  27750. return false;
  27751. return parents.every$1(0, new A._compatibleWithPreviousCombinator_closure0());
  27752. },
  27753. _isSupercombinator0(combinator1, combinator2) {
  27754. var t2, t3,
  27755. t1 = true;
  27756. if (!J.$eq$(combinator1, combinator2)) {
  27757. t2 = combinator1 == null;
  27758. if (t2)
  27759. t3 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_0mp0);
  27760. else
  27761. t3 = false;
  27762. if (!t3)
  27763. if (J.$eq$(t2 ? null : combinator1.value, B.Combinator_55N0))
  27764. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_bOP0);
  27765. else
  27766. t1 = false;
  27767. }
  27768. return t1;
  27769. },
  27770. compoundIsSuperselector0(compound1, compound2, parents) {
  27771. var t1, _0_1, _0_5, _0_5_isSet, _0_50, index1, pseudo2, index2, t2, t3, pseudo1, t4, t5, _i, simple1, _null = null;
  27772. if (!compound1.get$hasComplicatedSuperselectorSemantics() && !compound2.get$hasComplicatedSuperselectorSemantics()) {
  27773. t1 = compound1.components;
  27774. if (t1.length > compound2.components.length)
  27775. return false;
  27776. return B.JSArray_methods.every$1(t1, new A.compoundIsSuperselector_closure0(compound2));
  27777. }
  27778. _0_1 = A._findPseudoElementIndexed0(compound1);
  27779. _0_5 = A._findPseudoElementIndexed0(compound2);
  27780. t1 = type$.Record_2_nullable_Object_and_nullable_Object;
  27781. _0_5_isSet = t1._is(_0_1);
  27782. _0_50 = _null;
  27783. index1 = _null;
  27784. pseudo2 = _null;
  27785. index2 = _null;
  27786. t2 = false;
  27787. if (_0_5_isSet) {
  27788. t3 = _0_1 == null;
  27789. pseudo1 = (t3 ? t1._as(_0_1) : _0_1)._0;
  27790. index1 = (t3 ? t1._as(_0_1) : _0_1)._1;
  27791. t2 = t1._is(_0_5);
  27792. if (t2) {
  27793. t3 = _0_5 == null;
  27794. pseudo2 = (t3 ? t1._as(_0_5) : _0_5)._0;
  27795. index2 = (t3 ? t1._as(_0_5) : _0_5)._1;
  27796. }
  27797. t1 = t2;
  27798. _0_50 = _0_5;
  27799. } else {
  27800. t1 = t2;
  27801. pseudo1 = _null;
  27802. }
  27803. if (t1) {
  27804. if (pseudo1.isSuperselector$1(pseudo2)) {
  27805. t1 = compound1.components;
  27806. t2 = type$.int;
  27807. t3 = A._arrayInstanceType(t1)._precomputed1;
  27808. t4 = compound2.components;
  27809. t5 = A._arrayInstanceType(t4)._precomputed1;
  27810. 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);
  27811. } else
  27812. t1 = false;
  27813. return t1;
  27814. }
  27815. if (_0_1 == null)
  27816. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  27817. else
  27818. t1 = true;
  27819. if (t1)
  27820. return false;
  27821. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  27822. simple1 = t1[_i];
  27823. if (simple1 instanceof A.PseudoSelector0)
  27824. t4 = simple1.selector != null;
  27825. else
  27826. t4 = false;
  27827. if (t4) {
  27828. if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
  27829. return false;
  27830. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  27831. return false;
  27832. }
  27833. return true;
  27834. },
  27835. _findPseudoElementIndexed0(compound) {
  27836. var t1, t2, i, simple;
  27837. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  27838. simple = t1[i];
  27839. if (simple instanceof A.PseudoSelector0 && !simple.isClass)
  27840. return new A._Record_2(simple, i);
  27841. }
  27842. return null;
  27843. },
  27844. _compoundComponentsIsSuperselector0(compound1, compound2, parents) {
  27845. var t1;
  27846. if (compound1.get$length(0) === 0)
  27847. return true;
  27848. if (compound2.get$length(0) === 0)
  27849. compound2 = A._setArrayType([new A.UniversalSelector0("*", $.$get$bogusSpan0())], type$.JSArray_SimpleSelector_2);
  27850. t1 = $.$get$bogusSpan0();
  27851. return A.compoundIsSuperselector0(A.CompoundSelector$0(compound1, t1), A.CompoundSelector$0(compound2, t1), parents);
  27852. },
  27853. _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
  27854. var selector1 = pseudo1.selector;
  27855. if (selector1 == null)
  27856. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  27857. switch (pseudo1.normalizedName) {
  27858. case "is":
  27859. case "matches":
  27860. case "any":
  27861. case "where":
  27862. 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));
  27863. case "has":
  27864. case "host":
  27865. case "host-context":
  27866. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1));
  27867. case "slotted":
  27868. return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1));
  27869. case "not":
  27870. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
  27871. case "current":
  27872. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1));
  27873. case "nth-child":
  27874. case "nth-last-child":
  27875. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1));
  27876. default:
  27877. throw A.wrapException("unreachable");
  27878. }
  27879. },
  27880. _selectorPseudoArgs0(compound, $name, isClass) {
  27881. var t1 = type$.WhereTypeIterable_PseudoSelector_2;
  27882. 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);
  27883. },
  27884. unifyComplex_closure0: function unifyComplex_closure0() {
  27885. },
  27886. _weaveParents_closure3: function _weaveParents_closure3(t0) {
  27887. this.span = t0;
  27888. },
  27889. _weaveParents_closure4: function _weaveParents_closure4(t0) {
  27890. this.group = t0;
  27891. },
  27892. _weaveParents_closure5: function _weaveParents_closure5() {
  27893. },
  27894. _weaveParents_closure6: function _weaveParents_closure6() {
  27895. },
  27896. _mustUnify_closure0: function _mustUnify_closure0(t0) {
  27897. this.uniqueSelectors = t0;
  27898. },
  27899. _mustUnify__closure0: function _mustUnify__closure0(t0) {
  27900. this.uniqueSelectors = t0;
  27901. },
  27902. paths_closure0: function paths_closure0(t0) {
  27903. this.T = t0;
  27904. },
  27905. paths__closure0: function paths__closure0(t0, t1) {
  27906. this.paths = t0;
  27907. this.T = t1;
  27908. },
  27909. paths___closure0: function paths___closure0(t0, t1) {
  27910. this.option = t0;
  27911. this.T = t1;
  27912. },
  27913. listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
  27914. this.list1 = t0;
  27915. },
  27916. listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
  27917. this.complex1 = t0;
  27918. },
  27919. complexIsSuperselector_closure1: function complexIsSuperselector_closure1() {
  27920. },
  27921. complexIsSuperselector_closure2: function complexIsSuperselector_closure2(t0) {
  27922. this.combinator1 = t0;
  27923. },
  27924. _compatibleWithPreviousCombinator_closure0: function _compatibleWithPreviousCombinator_closure0() {
  27925. },
  27926. compoundIsSuperselector_closure0: function compoundIsSuperselector_closure0(t0) {
  27927. this.compound2 = t0;
  27928. },
  27929. _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
  27930. this.selector1 = t0;
  27931. },
  27932. _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
  27933. this.parents = t0;
  27934. this.compound2 = t1;
  27935. },
  27936. _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
  27937. this.selector1 = t0;
  27938. },
  27939. _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
  27940. this.selector1 = t0;
  27941. },
  27942. _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
  27943. this.compound2 = t0;
  27944. this.pseudo1 = t1;
  27945. },
  27946. _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
  27947. this.complex = t0;
  27948. this.pseudo1 = t1;
  27949. },
  27950. _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
  27951. this.simple2 = t0;
  27952. },
  27953. _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
  27954. this.simple2 = t0;
  27955. },
  27956. _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
  27957. this.selector1 = t0;
  27958. },
  27959. _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
  27960. this.pseudo1 = t0;
  27961. this.selector1 = t1;
  27962. },
  27963. _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
  27964. this.isClass = t0;
  27965. this.name = t1;
  27966. },
  27967. _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
  27968. },
  27969. globalFunctions_closure0: function globalFunctions_closure0() {
  27970. },
  27971. GamutMapMethod_GamutMapMethod$fromName0($name) {
  27972. var t1;
  27973. $label0$0: {
  27974. if ("clip" === $name) {
  27975. t1 = B.ClipGamutMap_clip0;
  27976. break $label0$0;
  27977. }
  27978. if ("local-minde" === $name) {
  27979. t1 = B.LocalMindeGamutMap_A2x0;
  27980. break $label0$0;
  27981. }
  27982. t1 = A.throwExpression(A.SassScriptException$0('Unknown gamut map method "' + $name + '".', null));
  27983. }
  27984. return t1;
  27985. },
  27986. GamutMapMethod0: function GamutMapMethod0() {
  27987. },
  27988. HslColorSpace0: function HslColorSpace0(t0, t1) {
  27989. this.name = t0;
  27990. this._space$_channels = t1;
  27991. },
  27992. HwbColorSpace0: function HwbColorSpace0(t0, t1) {
  27993. this.name = t0;
  27994. this._space$_channels = t1;
  27995. },
  27996. HwbColorSpace_convert_toRgb0: function HwbColorSpace_convert_toRgb0(t0, t1) {
  27997. this._box_0 = t0;
  27998. this.factor = t1;
  27999. },
  28000. IDSelector0: function IDSelector0(t0, t1) {
  28001. this.name = t0;
  28002. this.span = t1;
  28003. },
  28004. IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
  28005. this.$this = t0;
  28006. },
  28007. IfExpression0: function IfExpression0(t0, t1) {
  28008. this.$arguments = t0;
  28009. this.span = t1;
  28010. },
  28011. IfClause$0(expression, children) {
  28012. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  28013. return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  28014. },
  28015. ElseClause$0(children) {
  28016. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  28017. return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  28018. },
  28019. IfRule0: function IfRule0(t0, t1, t2) {
  28020. this.clauses = t0;
  28021. this.lastClause = t1;
  28022. this.span = t2;
  28023. },
  28024. IfRule_toString_closure0: function IfRule_toString_closure0() {
  28025. },
  28026. IfRuleClause0: function IfRuleClause0() {
  28027. },
  28028. IfRuleClause$__closure0: function IfRuleClause$__closure0() {
  28029. },
  28030. IfRuleClause$___closure0: function IfRuleClause$___closure0() {
  28031. },
  28032. IfClause0: function IfClause0(t0, t1, t2) {
  28033. this.expression = t0;
  28034. this.children = t1;
  28035. this.hasDeclarations = t2;
  28036. },
  28037. ElseClause0: function ElseClause0(t0, t1) {
  28038. this.children = t0;
  28039. this.hasDeclarations = t1;
  28040. },
  28041. jsToDartList(list) {
  28042. return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
  28043. },
  28044. dartMapToImmutableMap(dartMap) {
  28045. var t1, t2,
  28046. immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
  28047. for (t1 = A.MapExtensions_get_pairs0(dartMap, type$.Object, type$.nullable_Object), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  28048. t2 = t1.get$current(t1);
  28049. immutableMap = J.$set$2$x(immutableMap, t2._0, t2._1);
  28050. }
  28051. return J.asImmutable$0$x(immutableMap);
  28052. },
  28053. immutableMapToDartMap(immutableMap) {
  28054. var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
  28055. J.forEach$1$ax(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
  28056. return dartMap;
  28057. },
  28058. ImmutableList0: function ImmutableList0() {
  28059. },
  28060. ImmutableMap0: function ImmutableMap0() {
  28061. },
  28062. immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
  28063. this.dartMap = t0;
  28064. },
  28065. NodeImporter__addSassPath(includePaths) {
  28066. return new A._SyncStarIterable(A.NodeImporter__addSassPath$body(includePaths), type$._SyncStarIterable_String);
  28067. },
  28068. NodeImporter__addSassPath$body($async$includePaths) {
  28069. return function() {
  28070. var includePaths = $async$includePaths;
  28071. var $async$goto = 0, $async$handler = 2, $async$errorStack = [], sassPath, t1;
  28072. return function $async$NodeImporter__addSassPath($async$iterator, $async$errorCode, $async$result) {
  28073. if ($async$errorCode === 1) {
  28074. $async$errorStack.push($async$result);
  28075. $async$goto = $async$handler;
  28076. }
  28077. while (true)
  28078. switch ($async$goto) {
  28079. case 0:
  28080. // Function start
  28081. $async$goto = 3;
  28082. return $async$iterator._yieldStar$1(includePaths);
  28083. case 3:
  28084. // after yield
  28085. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  28086. if (sassPath == null) {
  28087. // goto return
  28088. $async$goto = 1;
  28089. break;
  28090. }
  28091. t1 = A.isNodeJs() ? self.process : null;
  28092. $async$goto = 4;
  28093. return $async$iterator._yieldStar$1(A._setArrayType(sassPath.split(J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32") ? ";" : ":"), type$.JSArray_String));
  28094. case 4:
  28095. // after yield
  28096. case 1:
  28097. // return
  28098. return 0;
  28099. case 2:
  28100. // rethrow
  28101. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  28102. }
  28103. };
  28104. };
  28105. },
  28106. NodeImporter: function NodeImporter(t0, t1, t2) {
  28107. this._implementation$_options = t0;
  28108. this._includePaths = t1;
  28109. this._implementation$_importers = t2;
  28110. },
  28111. NodeImporter_load_closure: function NodeImporter_load_closure(t0, t1, t2, t3, t4) {
  28112. var _ = this;
  28113. _.$this = t0;
  28114. _.importer = t1;
  28115. _.forImport = t2;
  28116. _.url = t3;
  28117. _.previousString = t4;
  28118. },
  28119. NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
  28120. this.path = t0;
  28121. },
  28122. NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
  28123. },
  28124. NodeImporter__callImporterAsync_closure: function NodeImporter__callImporterAsync_closure(t0, t1, t2, t3, t4, t5) {
  28125. var _ = this;
  28126. _.$this = t0;
  28127. _.importer = t1;
  28128. _.forImport = t2;
  28129. _.url = t3;
  28130. _.previousString = t4;
  28131. _.completer = t5;
  28132. },
  28133. ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2) {
  28134. var _ = this;
  28135. _.url = t0;
  28136. _.modifiers = t1;
  28137. _.span = t2;
  28138. _._node$_indexInParent = _._node$_parent = null;
  28139. _.isGroupEnd = false;
  28140. },
  28141. ImportCache$0(importers, loadPaths, packageConfig) {
  28142. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  28143. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2,
  28144. t3 = type$.Uri;
  28145. 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));
  28146. },
  28147. ImportCache$none() {
  28148. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  28149. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2,
  28150. t3 = type$.Uri;
  28151. return new A.ImportCache0(B.List_empty25, 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));
  28152. },
  28153. ImportCache__toImporters0(importers, loadPaths, packageConfig) {
  28154. var t1, t2, t3, t4, _i, path, _null = null,
  28155. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  28156. if (A.isBrowser()) {
  28157. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  28158. if (importers != null)
  28159. B.JSArray_methods.addAll$1(t1, importers);
  28160. return t1;
  28161. }
  28162. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  28163. if (importers != null)
  28164. B.JSArray_methods.addAll$1(t1, importers);
  28165. if (loadPaths != null)
  28166. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  28167. t3 = t2.get$current(t2);
  28168. 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));
  28169. }
  28170. if (sassPath != null) {
  28171. t2 = A.isNodeJs() ? self.process : _null;
  28172. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  28173. t4 = t3.length;
  28174. _i = 0;
  28175. for (; _i < t4; ++_i) {
  28176. path = t3[_i];
  28177. 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));
  28178. }
  28179. }
  28180. return t1;
  28181. },
  28182. ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5, t6) {
  28183. var _ = this;
  28184. _._import_cache$_importers = t0;
  28185. _._import_cache$_canonicalizeCache = t1;
  28186. _._import_cache$_perImporterCanonicalizeCache = t2;
  28187. _._import_cache$_nonCanonicalRelativeUrls = t3;
  28188. _._import_cache$_importCache = t4;
  28189. _._import_cache$_resultsCache = t5;
  28190. _._import_cache$_loadTimes = t6;
  28191. },
  28192. ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2, t3, t4, t5, t6) {
  28193. var _ = this;
  28194. _.$this = t0;
  28195. _.baseImporter = t1;
  28196. _.resolvedUrl = t2;
  28197. _.baseUrl = t3;
  28198. _.forImport = t4;
  28199. _.key = t5;
  28200. _.url = t6;
  28201. },
  28202. ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
  28203. this.importer = t0;
  28204. this.url = t1;
  28205. },
  28206. ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3) {
  28207. var _ = this;
  28208. _.$this = t0;
  28209. _.importer = t1;
  28210. _.canonicalUrl = t2;
  28211. _.originalUrl = t3;
  28212. },
  28213. ImportCache_humanize_closure3: function ImportCache_humanize_closure3(t0) {
  28214. this.canonicalUrl = t0;
  28215. },
  28216. ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
  28217. },
  28218. ImportCache_humanize_closure5: function ImportCache_humanize_closure5() {
  28219. },
  28220. ImportCache_humanize_closure6: function ImportCache_humanize_closure6(t0) {
  28221. this.canonicalUrl = t0;
  28222. },
  28223. ImportRule0: function ImportRule0(t0, t1) {
  28224. this.imports = t0;
  28225. this.span = t1;
  28226. },
  28227. JSImporter: function JSImporter() {
  28228. },
  28229. JSImporterResult: function JSImporterResult() {
  28230. },
  28231. Importer0: function Importer0() {
  28232. },
  28233. NodeImporterResult0: function NodeImporterResult0() {
  28234. },
  28235. IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4, t5) {
  28236. var _ = this;
  28237. _.namespace = t0;
  28238. _.name = t1;
  28239. _.originalName = t2;
  28240. _.$arguments = t3;
  28241. _.content = t4;
  28242. _.span = t5;
  28243. },
  28244. InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
  28245. this.name = t0;
  28246. this.$arguments = t1;
  28247. this.span = t2;
  28248. },
  28249. Interpolation$0(contents, spans, span) {
  28250. var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), A.List_List$unmodifiable(spans, type$.nullable_FileSpan), span);
  28251. t1.Interpolation$30(contents, spans, span);
  28252. return t1;
  28253. },
  28254. Interpolation0: function Interpolation0(t0, t1, t2) {
  28255. this.contents = t0;
  28256. this.spans = t1;
  28257. this.span = t2;
  28258. },
  28259. Interpolation_toString_closure0: function Interpolation_toString_closure0() {
  28260. },
  28261. SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
  28262. this.expression = t0;
  28263. this.span = t1;
  28264. },
  28265. InterpolationBuffer0: function InterpolationBuffer0(t0, t1, t2) {
  28266. this._interpolation_buffer0$_text = t0;
  28267. this._interpolation_buffer0$_contents = t1;
  28268. this._interpolation_buffer0$_spans = t2;
  28269. },
  28270. InterpolationMap$0(_interpolation, targetLocations) {
  28271. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  28272. t2 = _interpolation.contents.length,
  28273. expectedLocations = Math.max(0, t2 - 1);
  28274. if (t1.length !== expectedLocations)
  28275. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  28276. return new A.InterpolationMap0(_interpolation, t1);
  28277. },
  28278. InterpolationMap0: function InterpolationMap0(t0, t1) {
  28279. this._interpolation_map$_interpolation = t0;
  28280. this._interpolation_map$_targetLocations = t1;
  28281. },
  28282. InterpolationMap_mapException_closure0: function InterpolationMap_mapException_closure0() {
  28283. },
  28284. InterpolationMethod$0(space, hue) {
  28285. var t1;
  28286. if (space.get$isPolarInternal())
  28287. t1 = hue == null ? B.HueInterpolationMethod_00 : hue;
  28288. else
  28289. t1 = null;
  28290. if (!space.get$isPolarInternal() && hue != null)
  28291. A.throwExpression(A.ArgumentError$(string$.Hue_in + space.toString$0(0) + ".", null));
  28292. return new A.InterpolationMethod0(space, t1);
  28293. },
  28294. InterpolationMethod_InterpolationMethod$fromValue0(value, $name) {
  28295. var t1, space, hueMethod,
  28296. list = value.assertCommonListStyle$2$allowSlash($name, false);
  28297. if (list.length === 0)
  28298. throw A.wrapException(A.SassScriptException$0(string$.Expecta, $name));
  28299. t1 = B.JSArray_methods.get$first(list).assertString$1($name);
  28300. t1.assertUnquoted$1($name);
  28301. space = A.ColorSpace_fromName0(t1._string0$_text, $name);
  28302. if (list.length === 1)
  28303. return A.InterpolationMethod$0(space, null);
  28304. hueMethod = A.HueInterpolationMethod_HueInterpolationMethod$_fromValue0(list[1], $name);
  28305. if (list.length === 2)
  28306. throw A.wrapException(A.SassScriptException$0('Expected unquoted string "hue" after ' + value.toString$0(0) + ".", $name));
  28307. else {
  28308. t1 = list[2].assertString$1($name);
  28309. t1.assertUnquoted$1($name);
  28310. if (t1._string0$_text.toLowerCase() !== "hue")
  28311. throw A.wrapException(A.SassScriptException$0(string$.Expectu + value.toString$0(0) + ", was " + list[2].toString$0(0) + ".", $name));
  28312. else if (list.length > 3)
  28313. throw A.wrapException(A.SassScriptException$0('Expected nothing after "hue" in ' + value.toString$0(0) + ".", $name));
  28314. else if (!space.get$isPolarInternal())
  28315. throw A.wrapException(A.SassScriptException$0('Hue interpolation method "' + hueMethod.toString$0(0) + string$.x20hue__ + space.toString$0(0) + ".", $name));
  28316. }
  28317. return A.InterpolationMethod$0(space, hueMethod);
  28318. },
  28319. HueInterpolationMethod_HueInterpolationMethod$_fromValue0(value, $name) {
  28320. var _0_0,
  28321. t1 = value.assertString$1($name);
  28322. t1.assertUnquoted$0();
  28323. _0_0 = t1._string0$_text.toLowerCase();
  28324. $label0$0: {
  28325. if ("shorter" === _0_0) {
  28326. t1 = B.HueInterpolationMethod_00;
  28327. break $label0$0;
  28328. }
  28329. if ("longer" === _0_0) {
  28330. t1 = B.HueInterpolationMethod_10;
  28331. break $label0$0;
  28332. }
  28333. if ("increasing" === _0_0) {
  28334. t1 = B.HueInterpolationMethod_20;
  28335. break $label0$0;
  28336. }
  28337. if ("decreasing" === _0_0) {
  28338. t1 = B.HueInterpolationMethod_30;
  28339. break $label0$0;
  28340. }
  28341. t1 = A.throwExpression(A.SassScriptException$0("Unknown hue interpolation method " + value.toString$0(0) + ".", $name));
  28342. }
  28343. return t1;
  28344. },
  28345. InterpolationMethod0: function InterpolationMethod0(t0, t1) {
  28346. this.space = t0;
  28347. this.hue = t1;
  28348. },
  28349. HueInterpolationMethod0: function HueInterpolationMethod0(t0) {
  28350. this._name = t0;
  28351. },
  28352. _realCasePath0(path) {
  28353. var prefix, _null = null,
  28354. t1 = A.isNodeJs() ? self.process : _null;
  28355. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  28356. t1 = A.isNodeJs() ? self.process : _null;
  28357. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  28358. } else
  28359. t1 = true;
  28360. if (!t1)
  28361. return path;
  28362. t1 = A.isNodeJs() ? self.process : _null;
  28363. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  28364. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  28365. t1 = prefix.length;
  28366. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic0(prefix.charCodeAt(0)))
  28367. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  28368. }
  28369. return new A._realCasePath_helper0().call$1(path);
  28370. },
  28371. _realCasePath_helper0: function _realCasePath_helper0() {
  28372. },
  28373. _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2) {
  28374. this.helper = t0;
  28375. this.dirname = t1;
  28376. this.path = t2;
  28377. },
  28378. _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
  28379. this.basename = t0;
  28380. },
  28381. IsCalculationSafeVisitor0: function IsCalculationSafeVisitor0() {
  28382. },
  28383. IsCalculationSafeVisitor_visitListExpression_closure0: function IsCalculationSafeVisitor_visitListExpression_closure0(t0) {
  28384. this.$this = t0;
  28385. },
  28386. printError0(message) {
  28387. var t1 = A.isNodeJs() ? self.process : null;
  28388. if (t1 != null) {
  28389. t1 = J.get$stderr$x(t1);
  28390. J.write$1$x(t1, A.S(message) + "\n");
  28391. } else {
  28392. t1 = self.console;
  28393. J.error$1$x(t1, message);
  28394. }
  28395. },
  28396. readFile0(path) {
  28397. var contents, sourceFile, t1, i;
  28398. if (!A.isNodeJs())
  28399. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  28400. contents = A._asString(A._readFile0(path, "utf8"));
  28401. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  28402. return contents;
  28403. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  28404. for (t1 = contents.length, i = 0; i < t1; ++i) {
  28405. if (contents.charCodeAt(i) !== 65533)
  28406. continue;
  28407. throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  28408. }
  28409. return contents;
  28410. },
  28411. _readFile0(path, encoding) {
  28412. return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
  28413. },
  28414. fileExists0(path) {
  28415. if (!A.isNodeJs())
  28416. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  28417. return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
  28418. },
  28419. dirExists0(path) {
  28420. if (!A.isNodeJs())
  28421. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  28422. return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
  28423. },
  28424. listDir0(path) {
  28425. if (!A.isNodeJs())
  28426. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  28427. return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
  28428. },
  28429. getEnvironmentVariable0($name) {
  28430. var t1 = A.isNodeJs() ? self.process : null,
  28431. env = t1 == null ? null : J.get$env$x(t1);
  28432. if (env == null)
  28433. t1 = null;
  28434. else
  28435. t1 = A._asStringQ(env[$name]);
  28436. return t1;
  28437. },
  28438. _systemErrorToFileSystemException0(callback) {
  28439. var error, t1, exception, t2;
  28440. try {
  28441. t1 = callback.call$0();
  28442. return t1;
  28443. } catch (exception) {
  28444. error = A.unwrapException(exception);
  28445. if (!type$.JsSystemError._is(error))
  28446. throw exception;
  28447. t1 = error;
  28448. t2 = J.getInterceptor$x(t1);
  28449. 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)));
  28450. }
  28451. },
  28452. hasTerminal0() {
  28453. var t1 = A.isNodeJs() ? self.process : null;
  28454. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  28455. },
  28456. FileSystemException0: function FileSystemException0(t0, t1) {
  28457. this.message = t0;
  28458. this.path = t1;
  28459. },
  28460. _readFile_closure0: function _readFile_closure0(t0, t1) {
  28461. this.path = t0;
  28462. this.encoding = t1;
  28463. },
  28464. fileExists_closure0: function fileExists_closure0(t0) {
  28465. this.path = t0;
  28466. },
  28467. dirExists_closure0: function dirExists_closure0(t0) {
  28468. this.path = t0;
  28469. },
  28470. listDir_closure0: function listDir_closure0(t0, t1) {
  28471. this.recursive = t0;
  28472. this.path = t1;
  28473. },
  28474. listDir__closure1: function listDir__closure1(t0) {
  28475. this.path = t0;
  28476. },
  28477. listDir__closure2: function listDir__closure2() {
  28478. },
  28479. listDir_closure_list0: function listDir_closure_list0() {
  28480. },
  28481. listDir__list_closure0: function listDir__list_closure0(t0, t1) {
  28482. this.parent = t0;
  28483. this.list = t1;
  28484. },
  28485. main() {
  28486. J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
  28487. J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
  28488. J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
  28489. J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
  28490. J.set$initCompiler$x(self.exports, A.allowInteropNamed("sass.initCompiler", A.compiler__initCompiler$closure()));
  28491. J.set$initAsyncCompiler$x(self.exports, A.allowInteropNamed("sass.initAsyncCompiler", A.compiler__initAsyncCompiler$closure()));
  28492. J.set$Compiler$x(self.exports, $.$get$compilerClass());
  28493. J.set$AsyncCompiler$x(self.exports, $.$get$asyncCompilerClass());
  28494. J.set$Value$x(self.exports, $.$get$valueClass());
  28495. J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
  28496. J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
  28497. J.set$SassCalculation$x(self.exports, $.$get$calculationClass());
  28498. J.set$CalculationOperation$x(self.exports, $.$get$calculationOperationClass());
  28499. J.set$CalculationInterpolation$x(self.exports, $.$get$calculationInterpolationClass());
  28500. J.set$SassColor$x(self.exports, $.$get$colorClass());
  28501. J.set$SassFunction$x(self.exports, $.$get$functionClass());
  28502. J.set$SassMixin$x(self.exports, $.$get$mixinClass());
  28503. J.set$SassList$x(self.exports, $.$get$listClass());
  28504. J.set$SassMap$x(self.exports, $.$get$mapClass());
  28505. J.set$SassNumber$x(self.exports, $.$get$numberClass());
  28506. J.set$SassString$x(self.exports, $.$get$stringClass());
  28507. J.set$sassNull$x(self.exports, B.C__SassNull0);
  28508. J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
  28509. J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
  28510. J.set$Exception$x(self.exports, $.$get$exceptionClass());
  28511. 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())}});
  28512. J.set$NodePackageImporter$x(self.exports, $.$get$nodePackageImporterClass());
  28513. J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
  28514. J.set$Version$x(self.exports, $.$get$versionClass());
  28515. J.set$loadParserExports_$x(self.exports, A.allowInterop(A.parser0__loadParserExports$closure()));
  28516. J.set$info$x(self.exports, "dart-sass\t1.85.0\t(Sass Compiler)\t[Dart]\ndart2js\t3.7.0\t(Dart Compiler)\t[Dart]");
  28517. A.updateCanonicalizeContextPrototype();
  28518. A.updateSourceSpanPrototype();
  28519. J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
  28520. J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
  28521. 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});
  28522. J.set$NULL$x(self.exports, B.C__SassNull0);
  28523. J.set$TRUE$x(self.exports, B.SassBoolean_true0);
  28524. J.set$FALSE$x(self.exports, B.SassBoolean_false0);
  28525. },
  28526. main_closure: function main_closure() {
  28527. },
  28528. main_closure0: function main_closure0() {
  28529. },
  28530. JSToDartLogger: function JSToDartLogger(t0, t1, t2) {
  28531. this._node = t0;
  28532. this._fallback = t1;
  28533. this._ascii = t2;
  28534. },
  28535. JSToDartLogger_internalWarn_closure: function JSToDartLogger_internalWarn_closure(t0, t1, t2, t3, t4) {
  28536. var _ = this;
  28537. _.$this = t0;
  28538. _.message = t1;
  28539. _.span = t2;
  28540. _.trace = t3;
  28541. _.deprecation = t4;
  28542. },
  28543. JSToDartLogger_debug_closure: function JSToDartLogger_debug_closure(t0, t1, t2) {
  28544. this.$this = t0;
  28545. this.message = t1;
  28546. this.span = t2;
  28547. },
  28548. ModifiableCssKeyframeBlock$0(selector, span) {
  28549. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  28550. return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  28551. },
  28552. ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
  28553. var _ = this;
  28554. _.selector = t0;
  28555. _.span = t1;
  28556. _.children = t2;
  28557. _._node$_children = t3;
  28558. _._node$_indexInParent = _._node$_parent = null;
  28559. _.isGroupEnd = false;
  28560. },
  28561. KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1) {
  28562. this.scanner = t0;
  28563. this._parser1$_interpolationMap = t1;
  28564. },
  28565. KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
  28566. this.$this = t0;
  28567. },
  28568. LabColorSpace0: function LabColorSpace0(t0, t1) {
  28569. this.name = t0;
  28570. this._space$_channels = t1;
  28571. },
  28572. LazyFileSpan0: function LazyFileSpan0(t0) {
  28573. this._lazy_file_span0$_builder = t0;
  28574. this._lazy_file_span0$_span = null;
  28575. },
  28576. LchColorSpace0: function LchColorSpace0(t0, t1) {
  28577. this.name = t0;
  28578. this._space$_channels = t1;
  28579. },
  28580. render(options, callback) {
  28581. var _0_0;
  28582. if (!A.isNodeJs())
  28583. A.jsThrow(new self.Error("The render() method is only available in Node.js."));
  28584. _0_0 = J.get$fiber$x(options);
  28585. if (_0_0 != null)
  28586. J.run$0$x(_0_0.call$1(A.allowInterop(new A.render_closure(callback, options))));
  28587. else
  28588. A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
  28589. },
  28590. _renderAsync(options) {
  28591. var $async$goto = 0,
  28592. $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
  28593. $async$returnValue, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, file, t2, t3, t4, logger, _0_0;
  28594. var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  28595. if ($async$errorCode === 1)
  28596. return A._asyncRethrow($async$result, $async$completer);
  28597. while (true)
  28598. switch ($async$goto) {
  28599. case 0:
  28600. // Function start
  28601. start = new A.DateTime(Date.now(), 0, false);
  28602. t1 = J.getInterceptor$x(options);
  28603. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  28604. t2 = t1.get$logger(options);
  28605. t3 = A.hasTerminal0();
  28606. t4 = $._glyphs;
  28607. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(t3), t4 === B.C_AsciiGlyphSet);
  28608. _0_0 = t1.get$data(options);
  28609. $async$goto = _0_0 != null ? 3 : 5;
  28610. break;
  28611. case 3:
  28612. // then
  28613. t2 = A._parseImporter(options, start);
  28614. t3 = A._parsePackageImportersAsync(options, start);
  28615. t4 = A._parseFunctions(options, start, true);
  28616. t5 = t1.get$indentedSyntax(options);
  28617. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : null;
  28618. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  28619. t7 = J.$eq$(t1.get$indentType(options), "tab");
  28620. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  28621. t9 = A._parseLineFeed(t1.get$linefeed(options));
  28622. t10 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  28623. t11 = t1.get$quietDeps(options);
  28624. if (t11 == null)
  28625. t11 = false;
  28626. t12 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28627. t13 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28628. t14 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28629. t15 = t1.get$verbose(options);
  28630. if (t15 == null)
  28631. t15 = false;
  28632. t1 = t1.get$charset(options);
  28633. if (t1 == null)
  28634. t1 = true;
  28635. $async$goto = 6;
  28636. 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);
  28637. case 6:
  28638. // returning from await.
  28639. result = $async$result;
  28640. // goto join
  28641. $async$goto = 4;
  28642. break;
  28643. case 5:
  28644. // else
  28645. $async$goto = file != null ? 7 : 9;
  28646. break;
  28647. case 7:
  28648. // then
  28649. t2 = A._parseImporter(options, start);
  28650. t3 = A._parsePackageImportersAsync(options, start);
  28651. t4 = A._parseFunctions(options, start, true);
  28652. t5 = t1.get$indentedSyntax(options);
  28653. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : null;
  28654. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  28655. t7 = J.$eq$(t1.get$indentType(options), "tab");
  28656. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  28657. t9 = A._parseLineFeed(t1.get$linefeed(options));
  28658. t10 = t1.get$quietDeps(options);
  28659. if (t10 == null)
  28660. t10 = false;
  28661. t11 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28662. t12 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28663. t13 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28664. t14 = t1.get$verbose(options);
  28665. if (t14 == null)
  28666. t14 = false;
  28667. t1 = t1.get$charset(options);
  28668. if (t1 == null)
  28669. t1 = true;
  28670. $async$goto = 10;
  28671. 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);
  28672. case 10:
  28673. // returning from await.
  28674. result = $async$result;
  28675. // goto join
  28676. $async$goto = 8;
  28677. break;
  28678. case 9:
  28679. // else
  28680. throw A.wrapException(A.ArgumentError$(string$.Either, null));
  28681. case 8:
  28682. // join
  28683. case 4:
  28684. // join
  28685. $async$returnValue = A._newRenderResult(options, result, start);
  28686. // goto return
  28687. $async$goto = 1;
  28688. break;
  28689. case 1:
  28690. // return
  28691. return A._asyncReturn($async$returnValue, $async$completer);
  28692. }
  28693. });
  28694. return A._asyncStartSync($async$_renderAsync, $async$completer);
  28695. },
  28696. renderSync(options) {
  28697. 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;
  28698. if (!A.isNodeJs())
  28699. A.jsThrow(new self.Error("The renderSync() method is only available in Node.js."));
  28700. try {
  28701. start = new A.DateTime(Date.now(), 0, false);
  28702. result = null;
  28703. t1 = J.getInterceptor$x(options);
  28704. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  28705. t2 = t1.get$logger(options);
  28706. t3 = A.hasTerminal0();
  28707. t4 = $._glyphs;
  28708. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(t3), t4 === B.C_AsciiGlyphSet);
  28709. _0_0 = t1.get$data(options);
  28710. data = null;
  28711. if (_0_0 != null) {
  28712. data = _0_0;
  28713. t2 = data;
  28714. t3 = A._parseImporter(options, start);
  28715. t4 = A._parsePackageImporters(options, start);
  28716. t5 = A._parseFunctions(options, start, false);
  28717. t6 = t1.get$indentedSyntax(options);
  28718. t6 = !J.$eq$(t6, false) && t6 != null ? B.Syntax_Sass_sass0 : _null;
  28719. t7 = A._parseOutputStyle(t1.get$outputStyle(options));
  28720. t8 = J.$eq$(t1.get$indentType(options), "tab");
  28721. t9 = A._parseIndentWidth(t1.get$indentWidth(options));
  28722. t10 = A._parseLineFeed(t1.get$linefeed(options));
  28723. t11 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  28724. t12 = t1.get$quietDeps(options);
  28725. if (t12 == null)
  28726. t12 = false;
  28727. t13 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28728. t14 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28729. t15 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28730. t16 = t1.get$verbose(options);
  28731. if (t16 == null)
  28732. t16 = false;
  28733. t1 = t1.get$charset(options);
  28734. if (t1 == null)
  28735. t1 = true;
  28736. 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);
  28737. } else if (file != null) {
  28738. t2 = A._parseImporter(options, start);
  28739. t3 = A._parsePackageImporters(options, start);
  28740. t4 = A._parseFunctions(options, start, false);
  28741. t5 = t1.get$indentedSyntax(options);
  28742. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : _null;
  28743. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  28744. t7 = J.$eq$(t1.get$indentType(options), "tab");
  28745. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  28746. t9 = A._parseLineFeed(t1.get$linefeed(options));
  28747. t10 = t1.get$quietDeps(options);
  28748. if (t10 == null)
  28749. t10 = false;
  28750. t11 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28751. t12 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28752. t13 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28753. t14 = t1.get$verbose(options);
  28754. if (t14 == null)
  28755. t14 = false;
  28756. t1 = t1.get$charset(options);
  28757. if (t1 == null)
  28758. t1 = true;
  28759. 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);
  28760. } else {
  28761. t1 = A.ArgumentError$(string$.Either, _null);
  28762. throw A.wrapException(t1);
  28763. }
  28764. t1 = A._newRenderResult(options, result, start);
  28765. return t1;
  28766. } catch (exception) {
  28767. t1 = A.unwrapException(exception);
  28768. if (t1 instanceof A.SassException0) {
  28769. error = t1;
  28770. stackTrace = A.getTraceFromException(exception);
  28771. A.jsThrow(A._wrapException(error, stackTrace));
  28772. } else {
  28773. error0 = t1;
  28774. stackTrace0 = A.getTraceFromException(exception);
  28775. t1 = J.toString$0$(error0);
  28776. t2 = A.getTrace0(error0);
  28777. A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
  28778. }
  28779. }
  28780. },
  28781. _wrapException(exception, stackTrace) {
  28782. var t2, t3, t4, t5,
  28783. t1 = A.SourceSpanException.prototype.get$span.call(exception, 0),
  28784. _0_0 = t1.get$sourceUrl(t1);
  28785. $label0$0: {
  28786. if (_0_0 == null) {
  28787. t1 = "stdin";
  28788. break $label0$0;
  28789. }
  28790. if ("file" === _0_0.get$scheme()) {
  28791. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(_0_0));
  28792. break $label0$0;
  28793. }
  28794. t1 = _0_0.toString$0(0);
  28795. break $label0$0;
  28796. }
  28797. t2 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
  28798. t3 = A.getTrace0(exception);
  28799. if (t3 == null)
  28800. t3 = stackTrace;
  28801. t4 = A.SourceSpanException.prototype.get$span.call(exception, 0);
  28802. t4 = t4.get$start(t4);
  28803. t4 = t4.file.getLine$1(t4.offset);
  28804. t5 = A.SourceSpanException.prototype.get$span.call(exception, 0);
  28805. t5 = t5.get$start(t5);
  28806. return A._newRenderError(t2, t3, t5.file.getColumn$1(t5.offset) + 1, t1, t4 + 1, 1);
  28807. },
  28808. _parseFunctions(options, start, asynch) {
  28809. var result,
  28810. functions = J.get$functions$x(options);
  28811. if (functions == null)
  28812. return B.List_empty26;
  28813. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  28814. A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
  28815. return result;
  28816. },
  28817. _parseImporter(options, start) {
  28818. var t2, t3, contextOptions, _1_0, t4, importers,
  28819. t1 = J.getInterceptor$x(options),
  28820. _0_0 = t1.get$importer(options);
  28821. $label0$0: {
  28822. if (_0_0 == null) {
  28823. t2 = A._setArrayType([], type$.JSArray_JSFunction);
  28824. break $label0$0;
  28825. }
  28826. if (type$.List_nullable_Object._is(_0_0)) {
  28827. t2 = J.cast$1$0$ax(_0_0, type$.JSFunction);
  28828. break $label0$0;
  28829. }
  28830. t2 = A._setArrayType([type$.JSFunction._as(_0_0)], type$.JSArray_JSFunction);
  28831. break $label0$0;
  28832. }
  28833. t3 = J.getInterceptor$asx(t2);
  28834. contextOptions = t3.get$isNotEmpty(t2) ? A._contextOptions(options, start) : new A.Object();
  28835. _1_0 = t1.get$fiber(options);
  28836. t4 = {};
  28837. t4.fiber = null;
  28838. if (_1_0 != null) {
  28839. t4.fiber = _1_0;
  28840. t2 = t3.map$1$1(t2, new A._parseImporter_closure(t4), type$.JSFunction);
  28841. importers = A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E"));
  28842. } else
  28843. importers = t2;
  28844. t1 = t1.get$includePaths(options);
  28845. if (t1 == null)
  28846. t1 = [];
  28847. t2 = type$.String;
  28848. 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));
  28849. },
  28850. _parsePackageImportersAsync(options, start) {
  28851. var t2, t3, t4,
  28852. t1 = J.getInterceptor$x(options);
  28853. if (t1.get$pkgImporter(options) instanceof A.NodePackageImporter0) {
  28854. t1 = t1.get$pkgImporter(options);
  28855. t1.toString;
  28856. t2 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2;
  28857. t3 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2;
  28858. t4 = type$.Uri;
  28859. 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));
  28860. }
  28861. return null;
  28862. },
  28863. _parsePackageImporters(options, start) {
  28864. var t2, t3, t4,
  28865. t1 = J.getInterceptor$x(options);
  28866. if (t1.get$pkgImporter(options) instanceof A.NodePackageImporter0) {
  28867. t1 = t1.get$pkgImporter(options);
  28868. t1.toString;
  28869. t2 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2;
  28870. t3 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2;
  28871. t4 = type$.Uri;
  28872. 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));
  28873. }
  28874. return null;
  28875. },
  28876. _contextOptions(options, start) {
  28877. var includePaths, t3, t4, t5, t6, t7,
  28878. t1 = J.getInterceptor$x(options),
  28879. t2 = t1.get$includePaths(options);
  28880. if (t2 == null)
  28881. t2 = [];
  28882. includePaths = A.List_List$from(t2, true, type$.String);
  28883. t2 = t1.get$file(options);
  28884. t3 = t1.get$data(options);
  28885. t4 = A._setArrayType([A.current()], type$.JSArray_String);
  28886. B.JSArray_methods.addAll$1(t4, includePaths);
  28887. t5 = A.isNodeJs() ? self.process : null;
  28888. t4 = B.JSArray_methods.join$1(t4, J.$eq$(t5 == null ? null : J.get$platform$x(t5), "win32") ? ";" : ":");
  28889. t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
  28890. t6 = A._parseIndentWidth(t1.get$indentWidth(options));
  28891. if (t6 == null)
  28892. t6 = 2;
  28893. t7 = A._parseLineFeed(t1.get$linefeed(options));
  28894. t1 = t1.get$file(options);
  28895. if (t1 == null)
  28896. t1 = "data";
  28897. 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}}};
  28898. },
  28899. _parseOutputStyle(style) {
  28900. var t1;
  28901. $label0$0: {
  28902. if (style == null || "expanded" === style) {
  28903. t1 = B.OutputStyle_00;
  28904. break $label0$0;
  28905. }
  28906. if ("compressed" === style) {
  28907. t1 = B.OutputStyle_10;
  28908. break $label0$0;
  28909. }
  28910. t1 = A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
  28911. }
  28912. return t1;
  28913. },
  28914. _parseIndentWidth(width) {
  28915. var t1;
  28916. $label0$0: {
  28917. if (width == null) {
  28918. t1 = null;
  28919. break $label0$0;
  28920. }
  28921. if (A._isInt(width)) {
  28922. t1 = width;
  28923. break $label0$0;
  28924. }
  28925. t1 = A.int_parse(J.toString$0$(width), null);
  28926. break $label0$0;
  28927. }
  28928. return t1;
  28929. },
  28930. _parseLineFeed(str) {
  28931. var t1;
  28932. $label0$0: {
  28933. if ("cr" === str) {
  28934. t1 = B.LineFeed_ybQ;
  28935. break $label0$0;
  28936. }
  28937. if ("crlf" === str) {
  28938. t1 = B.LineFeed_Pcs;
  28939. break $label0$0;
  28940. }
  28941. if ("lfcr" === str) {
  28942. t1 = B.LineFeed_G7N;
  28943. break $label0$0;
  28944. }
  28945. t1 = B.LineFeed_9HY;
  28946. break $label0$0;
  28947. }
  28948. return t1;
  28949. },
  28950. _newRenderResult(options, result, start) {
  28951. var t2, sourceMapOption, sourceMapPath, t3, sourceMapDir, outFile, _0_0, t4, sourceMapDirUrl, i, source, t5, buffer, indices, url, t6, t7, t8, _null = null,
  28952. end = new A.DateTime(Date.now(), 0, false),
  28953. t1 = result._compile_result$_serialize,
  28954. css = t1._0,
  28955. sourceMapBytes = type$.Null._as(self.undefined);
  28956. if (A._enableSourceMaps(options)) {
  28957. t2 = J.getInterceptor$x(options);
  28958. sourceMapOption = t2.get$sourceMap(options);
  28959. if (typeof sourceMapOption == "string")
  28960. sourceMapPath = sourceMapOption;
  28961. else {
  28962. t3 = t2.get$outFile(options);
  28963. t3.toString;
  28964. sourceMapPath = J.$add$ansx(t3, ".map");
  28965. }
  28966. t3 = $.$get$context();
  28967. sourceMapDir = t3.dirname$1(sourceMapPath);
  28968. t1 = t1._1;
  28969. t1.toString;
  28970. t1.sourceRoot = t2.get$sourceMapRoot(options);
  28971. outFile = t2.get$outFile(options);
  28972. if (outFile == null) {
  28973. _0_0 = t2.get$file(options);
  28974. $label0$0: {
  28975. if (_0_0 != null) {
  28976. t4 = t3.toUri$1(t3.withoutExtension$1(_0_0) + ".css").toString$0(0);
  28977. break $label0$0;
  28978. }
  28979. t4 = t1.targetUrl = "stdin.css";
  28980. break $label0$0;
  28981. }
  28982. t1.targetUrl = t4;
  28983. } else
  28984. t1.targetUrl = t3.toUri$1(t3.relative$2$from(outFile, sourceMapDir)).toString$0(0);
  28985. sourceMapDirUrl = t3.toUri$1(sourceMapDir).toString$0(0);
  28986. for (t3 = t1.urls, i = 0; i < t3.length; ++i) {
  28987. source = t3[i];
  28988. if (source === "stdin")
  28989. continue;
  28990. t4 = $.$get$url();
  28991. t5 = t4.style;
  28992. if (t5.rootLength$1(source) <= 0 || t5.isRootRelative$1(source))
  28993. continue;
  28994. t3[i] = t4.relative$2$from(source, sourceMapDirUrl);
  28995. }
  28996. t3 = t2.get$sourceMapContents(options);
  28997. sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t1.toJson$1$includeSourceContents(!J.$eq$(t3, false) && t3 != null), _null), "utf8");
  28998. t1 = t2.get$omitSourceMapUrl(options);
  28999. if (!(!J.$eq$(t1, false) && t1 != null)) {
  29000. t1 = t2.get$sourceMapEmbed(options);
  29001. if (!J.$eq$(t1, false) && t1 != null) {
  29002. buffer = new A.StringBuffer("");
  29003. indices = A._setArrayType([-1], type$.JSArray_int);
  29004. A.UriData__writeUri("application/json", _null, _null, buffer, indices);
  29005. indices.push(buffer._contents.length);
  29006. t1 = buffer._contents += ";base64,";
  29007. indices.push(t1.length - 1);
  29008. t1 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
  29009. t2 = sourceMapBytes.length;
  29010. A.RangeError_checkValidRange(0, t2, t2);
  29011. t1._convert$_add$4(sourceMapBytes, 0, t2, true);
  29012. t1 = buffer._contents;
  29013. url = new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, _null).get$uri();
  29014. } else {
  29015. if (outFile == null)
  29016. t1 = sourceMapPath;
  29017. else {
  29018. t1 = $.$get$context();
  29019. t1 = t1.relative$2$from(sourceMapPath, t1.dirname$1(outFile));
  29020. }
  29021. url = $.$get$context().toUri$1(t1);
  29022. }
  29023. t1 = url.toString$0(0);
  29024. css += "\n\n/*# sourceMappingURL=" + A.stringReplaceAllUnchecked(t1, "*/", "%2A/") + " */";
  29025. }
  29026. }
  29027. t1 = self.Buffer.from(css, "utf8");
  29028. t2 = J.get$file$x(options);
  29029. if (t2 == null)
  29030. t2 = "data";
  29031. t3 = start._value;
  29032. t4 = end._value;
  29033. t5 = B.JSInt_methods._tdivFast$1(A.Duration$(end._microsecond - start._microsecond, t4 - t3)._duration, 1000);
  29034. t6 = A._setArrayType([], type$.JSArray_String);
  29035. for (t7 = result._evaluate._0, t7 = t7.get$iterator(t7); t7.moveNext$0();) {
  29036. t8 = t7.get$current(t7);
  29037. t6.push(t8.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(t8)) : t8.toString$0(0));
  29038. }
  29039. return {css: t1, map: sourceMapBytes, stats: {entry: t2, start: t3, end: t4, duration: t5, includedFiles: t6}};
  29040. },
  29041. _enableSourceMaps(options) {
  29042. var t2,
  29043. t1 = J.getInterceptor$x(options);
  29044. if (typeof t1.get$sourceMap(options) != "string") {
  29045. t2 = t1.get$sourceMap(options);
  29046. t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
  29047. } else
  29048. t1 = true;
  29049. return t1;
  29050. },
  29051. _newRenderError(message, stackTrace, column, file, line, $status) {
  29052. var error = new self.Error(message);
  29053. error.formatted = "Error: " + message;
  29054. if (line != null)
  29055. error.line = line;
  29056. if (column != null)
  29057. error.column = column;
  29058. if (file != null)
  29059. error.file = file;
  29060. error.status = $status;
  29061. A.attachJsStack(error, stackTrace);
  29062. return error;
  29063. },
  29064. render_closure: function render_closure(t0, t1) {
  29065. this.callback = t0;
  29066. this.options = t1;
  29067. },
  29068. render_closure0: function render_closure0(t0) {
  29069. this.callback = t0;
  29070. },
  29071. render_closure1: function render_closure1(t0) {
  29072. this.callback = t0;
  29073. },
  29074. _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
  29075. var _ = this;
  29076. _.options = t0;
  29077. _.start = t1;
  29078. _.result = t2;
  29079. _.asynch = t3;
  29080. },
  29081. _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
  29082. this._box_0 = t0;
  29083. this.callback = t1;
  29084. this.context = t2;
  29085. },
  29086. _parseFunctions___closure2: function _parseFunctions___closure2(t0) {
  29087. this.currentFiber = t0;
  29088. },
  29089. _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
  29090. this.currentFiber = t0;
  29091. this.result = t1;
  29092. },
  29093. _parseFunctions___closure3: function _parseFunctions___closure3(t0, t1, t2) {
  29094. this.callback = t0;
  29095. this.context = t1;
  29096. this.jsArguments = t2;
  29097. },
  29098. _parseFunctions___closure4: function _parseFunctions___closure4(t0) {
  29099. this._box_0 = t0;
  29100. },
  29101. _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
  29102. this.callback = t0;
  29103. this.context = t1;
  29104. },
  29105. _parseFunctions___closure1: function _parseFunctions___closure1(t0, t1, t2) {
  29106. this.callback = t0;
  29107. this.context = t1;
  29108. this.$arguments = t2;
  29109. },
  29110. _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
  29111. this.callback = t0;
  29112. this.context = t1;
  29113. },
  29114. _parseFunctions___closure: function _parseFunctions___closure(t0) {
  29115. this.completer = t0;
  29116. },
  29117. _parseFunctions___closure0: function _parseFunctions___closure0(t0, t1, t2) {
  29118. this.callback = t0;
  29119. this.context = t1;
  29120. this.jsArguments = t2;
  29121. },
  29122. _parseImporter_closure: function _parseImporter_closure(t0) {
  29123. this._box_0 = t0;
  29124. },
  29125. _parseImporter__closure: function _parseImporter__closure(t0, t1) {
  29126. this._box_0 = t0;
  29127. this.importer = t1;
  29128. },
  29129. _parseImporter___closure: function _parseImporter___closure(t0) {
  29130. this.currentFiber = t0;
  29131. },
  29132. _parseImporter____closure: function _parseImporter____closure(t0, t1) {
  29133. this.currentFiber = t0;
  29134. this.result = t1;
  29135. },
  29136. _parseImporter___closure0: function _parseImporter___closure0(t0) {
  29137. this._box_0 = t0;
  29138. },
  29139. LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
  29140. var t2, key,
  29141. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  29142. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  29143. key = t2.get$current(t2);
  29144. if (!blocklist.contains$1(0, key))
  29145. t1.add$1(0, key);
  29146. }
  29147. return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
  29148. },
  29149. LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
  29150. this._limited_map_view0$_map = t0;
  29151. this._limited_map_view0$_keys = t1;
  29152. this.$ti = t2;
  29153. },
  29154. ListExpression0: function ListExpression0(t0, t1, t2, t3) {
  29155. var _ = this;
  29156. _.contents = t0;
  29157. _.separator = t1;
  29158. _.hasBrackets = t2;
  29159. _.span = t3;
  29160. },
  29161. ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
  29162. this.$this = t0;
  29163. },
  29164. _function11($name, $arguments, callback) {
  29165. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
  29166. },
  29167. _length_closure2: function _length_closure2() {
  29168. },
  29169. _nth_closure0: function _nth_closure0() {
  29170. },
  29171. _setNth_closure0: function _setNth_closure0() {
  29172. },
  29173. _join_closure0: function _join_closure0() {
  29174. },
  29175. _append_closure2: function _append_closure2() {
  29176. },
  29177. _zip_closure0: function _zip_closure0() {
  29178. },
  29179. _zip__closure2: function _zip__closure2() {
  29180. },
  29181. _zip__closure3: function _zip__closure3(t0) {
  29182. this._box_0 = t0;
  29183. },
  29184. _zip__closure4: function _zip__closure4(t0) {
  29185. this._box_0 = t0;
  29186. },
  29187. _index_closure2: function _index_closure2() {
  29188. },
  29189. _separator_closure0: function _separator_closure0() {
  29190. },
  29191. _isBracketed_closure0: function _isBracketed_closure0() {
  29192. },
  29193. _slash_closure0: function _slash_closure0() {
  29194. },
  29195. SelectorList$0(components, span) {
  29196. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
  29197. if (t1.length === 0)
  29198. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  29199. return new A.SelectorList0(t1, span);
  29200. },
  29201. SelectorList_SelectorList$parse0(contents, allowParent, interpolationMap, plainCss) {
  29202. return new A.SelectorParser0(allowParent, plainCss, A.SpanScanner$(contents, null), interpolationMap).parse$0(0);
  29203. },
  29204. SelectorList0: function SelectorList0(t0, t1) {
  29205. this.components = t0;
  29206. this.span = t1;
  29207. },
  29208. SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
  29209. },
  29210. SelectorList_nestWithin_closure0: function SelectorList_nestWithin_closure0(t0, t1, t2, t3) {
  29211. var _ = this;
  29212. _.$this = t0;
  29213. _.preserveParentSelectors = t1;
  29214. _.implicitParent = t2;
  29215. _.parent = t3;
  29216. },
  29217. SelectorList_nestWithin__closure1: function SelectorList_nestWithin__closure1(t0) {
  29218. this.complex = t0;
  29219. },
  29220. SelectorList_nestWithin__closure2: function SelectorList_nestWithin__closure2(t0) {
  29221. this.complex = t0;
  29222. },
  29223. SelectorList__nestWithinCompound_closure2: function SelectorList__nestWithinCompound_closure2() {
  29224. },
  29225. SelectorList__nestWithinCompound_closure3: function SelectorList__nestWithinCompound_closure3(t0) {
  29226. this.parent = t0;
  29227. },
  29228. SelectorList__nestWithinCompound_closure4: function SelectorList__nestWithinCompound_closure4(t0, t1, t2) {
  29229. this.parentSelector = t0;
  29230. this.resolvedSimples = t1;
  29231. this.component = t2;
  29232. },
  29233. SelectorList_withAdditionalCombinators_closure0: function SelectorList_withAdditionalCombinators_closure0(t0) {
  29234. this.combinators = t0;
  29235. },
  29236. _ParentSelectorVisitor0: function _ParentSelectorVisitor0() {
  29237. },
  29238. __ParentSelectorVisitor_Object_SelectorSearchVisitor0: function __ParentSelectorVisitor_Object_SelectorSearchVisitor0() {
  29239. },
  29240. listClass_closure: function listClass_closure() {
  29241. },
  29242. listClass__closure: function listClass__closure() {
  29243. },
  29244. listClass__closure0: function listClass__closure0() {
  29245. },
  29246. _ConstructorOptions: function _ConstructorOptions() {
  29247. },
  29248. _NodeSassList: function _NodeSassList() {
  29249. },
  29250. legacyListClass_closure: function legacyListClass_closure() {
  29251. },
  29252. legacyListClass__closure: function legacyListClass__closure() {
  29253. },
  29254. legacyListClass_closure0: function legacyListClass_closure0() {
  29255. },
  29256. legacyListClass_closure1: function legacyListClass_closure1() {
  29257. },
  29258. legacyListClass_closure2: function legacyListClass_closure2() {
  29259. },
  29260. legacyListClass_closure3: function legacyListClass_closure3() {
  29261. },
  29262. legacyListClass_closure4: function legacyListClass_closure4() {
  29263. },
  29264. SassList$0(contents, _separator, brackets) {
  29265. var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
  29266. t1.SassList$3$brackets0(contents, _separator, brackets);
  29267. return t1;
  29268. },
  29269. SassList0: function SassList0(t0, t1, t2) {
  29270. this._list1$_contents = t0;
  29271. this._list1$_separator = t1;
  29272. this._list1$_hasBrackets = t2;
  29273. },
  29274. SassList_isBlank_closure0: function SassList_isBlank_closure0() {
  29275. },
  29276. ListSeparator0: function ListSeparator0(t0, t1, t2) {
  29277. this._list1$_name = t0;
  29278. this.separator = t1;
  29279. this._name = t2;
  29280. },
  29281. LmsColorSpace0: function LmsColorSpace0(t0, t1) {
  29282. this.name = t0;
  29283. this._space$_channels = t1;
  29284. },
  29285. LocalMindeGamutMap0: function LocalMindeGamutMap0(t0) {
  29286. this.name = t0;
  29287. },
  29288. JSLogger: function JSLogger() {
  29289. },
  29290. WarnOptions: function WarnOptions() {
  29291. },
  29292. DebugOptions: function DebugOptions() {
  29293. },
  29294. WarnForDeprecation_warnForDeprecation0(_this, deprecation, message, span, trace) {
  29295. _this.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  29296. },
  29297. LoggerWithDeprecationType0: function LoggerWithDeprecationType0() {
  29298. },
  29299. LoudComment0: function LoudComment0(t0) {
  29300. this.text = t0;
  29301. },
  29302. MapExpression0: function MapExpression0(t0, t1) {
  29303. this.pairs = t0;
  29304. this.span = t1;
  29305. },
  29306. _modify0(map, keys, modify, addNesting) {
  29307. var keyIterator = J.get$iterator$ax(keys);
  29308. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  29309. },
  29310. _deepMergeImpl0(map1, map2) {
  29311. var t2, t3, result, t4, key, value, _1_1, _1_3, _1_3_isSet, _1_30, resultMap, valueMap, merged,
  29312. t1 = map1._map0$_contents;
  29313. if (t1.get$isEmpty(t1))
  29314. return map2;
  29315. t2 = map2._map0$_contents;
  29316. if (t2.get$isEmpty(t2))
  29317. return map1;
  29318. t3 = type$.Value_2;
  29319. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  29320. for (t1 = A.MapExtensions_get_pairs0(t2, t3, t3), t1 = t1.get$iterator(t1), t2 = type$.SassMap_2; t1.moveNext$0();) {
  29321. t4 = t1.get$current(t1);
  29322. key = t4._0;
  29323. value = t4._1;
  29324. t4 = result.$index(0, key);
  29325. _1_1 = t4 == null ? null : t4.tryMap$0();
  29326. _1_3 = value.tryMap$0();
  29327. _1_3_isSet = _1_1 != null;
  29328. _1_30 = null;
  29329. t4 = false;
  29330. if (_1_3_isSet) {
  29331. resultMap = _1_1 == null ? t2._as(_1_1) : _1_1;
  29332. t4 = _1_3 != null;
  29333. _1_30 = _1_3;
  29334. } else
  29335. resultMap = null;
  29336. if (t4) {
  29337. valueMap = _1_3_isSet ? _1_30 : _1_3;
  29338. merged = A._deepMergeImpl0(resultMap, valueMap == null ? t2._as(valueMap) : valueMap);
  29339. if (merged === resultMap)
  29340. continue;
  29341. result.$indexSet(0, key, merged);
  29342. } else
  29343. result.$indexSet(0, key, value);
  29344. }
  29345. return new A.SassMap0(A.ConstantMap_ConstantMap$from(result, t3, t3));
  29346. },
  29347. _function10($name, $arguments, callback) {
  29348. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
  29349. },
  29350. _get_closure0: function _get_closure0() {
  29351. },
  29352. _set_closure1: function _set_closure1() {
  29353. },
  29354. _set__closure2: function _set__closure2(t0) {
  29355. this.$arguments = t0;
  29356. },
  29357. _set_closure2: function _set_closure2() {
  29358. },
  29359. _set__closure1: function _set__closure1(t0) {
  29360. this._box_0 = t0;
  29361. },
  29362. _merge_closure1: function _merge_closure1() {
  29363. },
  29364. _merge_closure2: function _merge_closure2() {
  29365. },
  29366. _merge__closure0: function _merge__closure0(t0) {
  29367. this.map2 = t0;
  29368. },
  29369. _deepMerge_closure0: function _deepMerge_closure0() {
  29370. },
  29371. _deepRemove_closure0: function _deepRemove_closure0() {
  29372. },
  29373. _deepRemove__closure0: function _deepRemove__closure0(t0) {
  29374. this.keys = t0;
  29375. },
  29376. _remove_closure1: function _remove_closure1() {
  29377. },
  29378. _remove_closure2: function _remove_closure2() {
  29379. },
  29380. _keys_closure0: function _keys_closure0() {
  29381. },
  29382. _values_closure0: function _values_closure0() {
  29383. },
  29384. _hasKey_closure0: function _hasKey_closure0() {
  29385. },
  29386. _modify_modifyNestedMap0: function _modify_modifyNestedMap0(t0, t1, t2) {
  29387. this.keyIterator = t0;
  29388. this.modify = t1;
  29389. this.addNesting = t2;
  29390. },
  29391. MapExtensions_get_pairs0(_this, $K, $V) {
  29392. var t1 = _this.get$entries(_this);
  29393. 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)"));
  29394. },
  29395. MapExtensions_get_pairs_closure0: function MapExtensions_get_pairs_closure0(t0, t1) {
  29396. this.K = t0;
  29397. this.V = t1;
  29398. },
  29399. mapClass_closure: function mapClass_closure() {
  29400. },
  29401. mapClass__closure: function mapClass__closure() {
  29402. },
  29403. mapClass__closure0: function mapClass__closure0() {
  29404. },
  29405. mapClass__closure1: function mapClass__closure1() {
  29406. },
  29407. _NodeSassMap: function _NodeSassMap() {
  29408. },
  29409. legacyMapClass_closure: function legacyMapClass_closure() {
  29410. },
  29411. legacyMapClass__closure: function legacyMapClass__closure() {
  29412. },
  29413. legacyMapClass__closure0: function legacyMapClass__closure0() {
  29414. },
  29415. legacyMapClass_closure0: function legacyMapClass_closure0() {
  29416. },
  29417. legacyMapClass_closure1: function legacyMapClass_closure1() {
  29418. },
  29419. legacyMapClass_closure2: function legacyMapClass_closure2() {
  29420. },
  29421. legacyMapClass_closure3: function legacyMapClass_closure3() {
  29422. },
  29423. legacyMapClass_closure4: function legacyMapClass_closure4() {
  29424. },
  29425. SassMap0: function SassMap0(t0) {
  29426. this._map0$_contents = t0;
  29427. },
  29428. _singleArgumentMathFunc0($name, mathFunc) {
  29429. return A.BuiltInCallable$function0($name, "$number", new A._singleArgumentMathFunc_closure0(mathFunc), "sass:math");
  29430. },
  29431. _numberFunction0($name, transform) {
  29432. return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
  29433. },
  29434. _function9($name, $arguments, callback) {
  29435. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
  29436. },
  29437. global_closure43: function global_closure43() {
  29438. },
  29439. module_closure26: function module_closure26() {
  29440. },
  29441. _ceil_closure0: function _ceil_closure0() {
  29442. },
  29443. _clamp_closure0: function _clamp_closure0() {
  29444. },
  29445. _floor_closure0: function _floor_closure0() {
  29446. },
  29447. _max_closure0: function _max_closure0() {
  29448. },
  29449. _min_closure0: function _min_closure0() {
  29450. },
  29451. _round_closure0: function _round_closure0() {
  29452. },
  29453. _hypot_closure0: function _hypot_closure0() {
  29454. },
  29455. _hypot__closure0: function _hypot__closure0() {
  29456. },
  29457. _log_closure0: function _log_closure0() {
  29458. },
  29459. _pow_closure0: function _pow_closure0() {
  29460. },
  29461. _atan2_closure0: function _atan2_closure0() {
  29462. },
  29463. _compatible_closure0: function _compatible_closure0() {
  29464. },
  29465. _isUnitless_closure0: function _isUnitless_closure0() {
  29466. },
  29467. _unit_closure0: function _unit_closure0() {
  29468. },
  29469. _percentage_closure0: function _percentage_closure0() {
  29470. },
  29471. _randomFunction_closure0: function _randomFunction_closure0() {
  29472. },
  29473. _div_closure0: function _div_closure0() {
  29474. },
  29475. _singleArgumentMathFunc_closure0: function _singleArgumentMathFunc_closure0(t0) {
  29476. this.mathFunc = t0;
  29477. },
  29478. _numberFunction_closure0: function _numberFunction_closure0(t0) {
  29479. this.transform = t0;
  29480. },
  29481. CssMediaQuery$type0(type, conditions, modifier) {
  29482. return new A.CssMediaQuery0(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  29483. },
  29484. CssMediaQuery$condition0(conditions, conjunction) {
  29485. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  29486. if (t1.length > 1 && conjunction == null)
  29487. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  29488. return new A.CssMediaQuery0(null, null, conjunction !== false, t1);
  29489. },
  29490. CssMediaQuery0: function CssMediaQuery0(t0, t1, t2, t3) {
  29491. var _ = this;
  29492. _.modifier = t0;
  29493. _.type = t1;
  29494. _.conjunction = t2;
  29495. _.conditions = t3;
  29496. },
  29497. _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
  29498. this._name = t0;
  29499. },
  29500. MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
  29501. this.query = t0;
  29502. },
  29503. MediaQueryParser0: function MediaQueryParser0(t0, t1) {
  29504. this.scanner = t0;
  29505. this._parser1$_interpolationMap = t1;
  29506. },
  29507. MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
  29508. this.$this = t0;
  29509. },
  29510. ModifiableCssMediaRule$0(queries, span) {
  29511. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
  29512. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  29513. if (J.get$isEmpty$asx(queries))
  29514. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  29515. return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
  29516. },
  29517. ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
  29518. var _ = this;
  29519. _.queries = t0;
  29520. _.span = t1;
  29521. _.children = t2;
  29522. _._node$_children = t3;
  29523. _._node$_indexInParent = _._node$_parent = null;
  29524. _.isGroupEnd = false;
  29525. },
  29526. MediaRule$0(query, children, span) {
  29527. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  29528. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  29529. return new A.MediaRule0(query, span, t1, t2);
  29530. },
  29531. MediaRule0: function MediaRule0(t0, t1, t2, t3) {
  29532. var _ = this;
  29533. _.query = t0;
  29534. _.span = t1;
  29535. _.children = t2;
  29536. _.hasDeclarations = t3;
  29537. },
  29538. MergedExtension_merge0(left, right) {
  29539. var t2, t3, t4,
  29540. t1 = left.extender.selector;
  29541. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  29542. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  29543. t2 = left.mediaContext;
  29544. t3 = t2 == null;
  29545. if (!t3) {
  29546. t4 = right.mediaContext;
  29547. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  29548. } else
  29549. t4 = false;
  29550. if (t4)
  29551. throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  29552. if (right.isOptional && right.mediaContext == null)
  29553. return left;
  29554. if (left.isOptional && t3)
  29555. return right;
  29556. if (t3)
  29557. t2 = right.mediaContext;
  29558. t1.get$specificity();
  29559. t1 = new A.Extender0(t1, false);
  29560. return t1._extension$_extension = new A.MergedExtension0(left, right, t1, left.target, t2, true, left.span);
  29561. },
  29562. MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
  29563. var _ = this;
  29564. _.left = t0;
  29565. _.right = t1;
  29566. _.extender = t2;
  29567. _.target = t3;
  29568. _.mediaContext = t4;
  29569. _.isOptional = t5;
  29570. _.span = t6;
  29571. },
  29572. MergedMapView$0(maps, $K, $V) {
  29573. var t1 = $K._eval$1("@<0>")._bind$1($V);
  29574. t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
  29575. t1.MergedMapView$10(maps, $K, $V);
  29576. return t1;
  29577. },
  29578. MergedMapView0: function MergedMapView0(t0, t1) {
  29579. this._merged_map_view$_mapsByKey = t0;
  29580. this.$ti = t1;
  29581. },
  29582. _function6($name, $arguments, callback) {
  29583. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
  29584. },
  29585. _shared_closure3: function _shared_closure3() {
  29586. },
  29587. _shared_closure4: function _shared_closure4() {
  29588. },
  29589. _shared_closure5: function _shared_closure5() {
  29590. },
  29591. _shared_closure6: function _shared_closure6() {
  29592. },
  29593. moduleFunctions_closure2: function moduleFunctions_closure2() {
  29594. },
  29595. moduleFunctions_closure3: function moduleFunctions_closure3() {
  29596. },
  29597. moduleFunctions__closure0: function moduleFunctions__closure0() {
  29598. },
  29599. moduleFunctions_closure4: function moduleFunctions_closure4() {
  29600. },
  29601. mixinClass_closure: function mixinClass_closure() {
  29602. },
  29603. mixinClass__closure: function mixinClass__closure() {
  29604. },
  29605. mixinClass__closure0: function mixinClass__closure0() {
  29606. },
  29607. SassMixin0: function SassMixin0(t0) {
  29608. this.callable = t0;
  29609. },
  29610. MixinRule$0($name, parameters, children, span, comment) {
  29611. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  29612. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  29613. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  29614. return new A.MixinRule0(t1, $name, parameters, span, t2, t3);
  29615. },
  29616. MixinRule0: function MixinRule0(t0, t1, t2, t3, t4, t5) {
  29617. var _ = this;
  29618. _._mixin_rule$__MixinRule_hasContent_FI = $;
  29619. _.name = t0;
  29620. _.originalName = t1;
  29621. _.parameters = t2;
  29622. _.span = t3;
  29623. _.children = t4;
  29624. _.hasDeclarations = t5;
  29625. },
  29626. _HasContentVisitor0: function _HasContentVisitor0() {
  29627. },
  29628. __HasContentVisitor_Object_StatementSearchVisitor0: function __HasContentVisitor_Object_StatementSearchVisitor0() {
  29629. },
  29630. ExtendMode0: function ExtendMode0(t0, t1) {
  29631. this.name = t0;
  29632. this._name = t1;
  29633. },
  29634. JSModule0: function JSModule0() {
  29635. },
  29636. JSModuleRequire0: function JSModuleRequire0() {
  29637. },
  29638. MultiSpan0: function MultiSpan0(t0, t1, t2) {
  29639. this._multi_span0$_primary = t0;
  29640. this.primaryLabel = t1;
  29641. this.secondarySpans = t2;
  29642. },
  29643. SupportsNegation0: function SupportsNegation0(t0, t1) {
  29644. this.condition = t0;
  29645. this.span = t1;
  29646. },
  29647. NoOpImporter0: function NoOpImporter0() {
  29648. },
  29649. NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
  29650. this._no_source_map_buffer0$_buffer = t0;
  29651. },
  29652. _FakeAstNode0: function _FakeAstNode0(t0) {
  29653. this._node0$_callback = t0;
  29654. },
  29655. CssNode0: function CssNode0() {
  29656. },
  29657. CssParentNode0: function CssParentNode0() {
  29658. },
  29659. _IsInvisibleVisitor1: function _IsInvisibleVisitor1(t0, t1) {
  29660. this.includeBogus = t0;
  29661. this.includeComments = t1;
  29662. },
  29663. __IsInvisibleVisitor_Object_EveryCssVisitor0: function __IsInvisibleVisitor_Object_EveryCssVisitor0() {
  29664. },
  29665. ModifiableCssNode0: function ModifiableCssNode0() {
  29666. },
  29667. ModifiableCssNode_hasFollowingSibling_closure0: function ModifiableCssNode_hasFollowingSibling_closure0() {
  29668. },
  29669. ModifiableCssParentNode0: function ModifiableCssParentNode0() {
  29670. },
  29671. NodePackageImporter0: function NodePackageImporter0() {
  29672. this._node_package$__NodePackageImporter__entryPointDirectory_F = $;
  29673. },
  29674. NodePackageImporter__nodePackageExportsResolve_closure3: function NodePackageImporter__nodePackageExportsResolve_closure3() {
  29675. },
  29676. NodePackageImporter__nodePackageExportsResolve_closure4: function NodePackageImporter__nodePackageExportsResolve_closure4() {
  29677. },
  29678. NodePackageImporter__nodePackageExportsResolve_closure5: function NodePackageImporter__nodePackageExportsResolve_closure5() {
  29679. },
  29680. NodePackageImporter__nodePackageExportsResolve_closure6: function NodePackageImporter__nodePackageExportsResolve_closure6(t0, t1, t2) {
  29681. this.$this = t0;
  29682. this.exports = t1;
  29683. this.packageRoot = t2;
  29684. },
  29685. NodePackageImporter__nodePackageExportsResolve__closure1: function NodePackageImporter__nodePackageExportsResolve__closure1(t0, t1, t2) {
  29686. this.$this = t0;
  29687. this.variant = t1;
  29688. this.packageRoot = t2;
  29689. },
  29690. NodePackageImporter__nodePackageExportsResolve__closure2: function NodePackageImporter__nodePackageExportsResolve__closure2() {
  29691. },
  29692. NodePackageImporter__getMainExport_closure0: function NodePackageImporter__getMainExport_closure0() {
  29693. },
  29694. NullExpression$(span) {
  29695. return new A.NullExpression0(span);
  29696. },
  29697. NullExpression0: function NullExpression0(t0) {
  29698. this.span = t0;
  29699. },
  29700. legacyNullClass_closure: function legacyNullClass_closure() {
  29701. },
  29702. legacyNullClass__closure: function legacyNullClass__closure() {
  29703. },
  29704. _SassNull0: function _SassNull0() {
  29705. },
  29706. NumberExpression0: function NumberExpression0(t0, t1, t2) {
  29707. this.value = t0;
  29708. this.unit = t1;
  29709. this.span = t2;
  29710. },
  29711. numberClass_closure: function numberClass_closure() {
  29712. },
  29713. numberClass__closure: function numberClass__closure() {
  29714. },
  29715. numberClass__closure0: function numberClass__closure0() {
  29716. },
  29717. numberClass__closure1: function numberClass__closure1() {
  29718. },
  29719. numberClass__closure2: function numberClass__closure2() {
  29720. },
  29721. numberClass__closure3: function numberClass__closure3() {
  29722. },
  29723. numberClass__closure4: function numberClass__closure4() {
  29724. },
  29725. numberClass__closure5: function numberClass__closure5() {
  29726. },
  29727. numberClass__closure6: function numberClass__closure6() {
  29728. },
  29729. numberClass__closure7: function numberClass__closure7() {
  29730. },
  29731. numberClass__closure8: function numberClass__closure8() {
  29732. },
  29733. numberClass__closure9: function numberClass__closure9() {
  29734. },
  29735. numberClass__closure10: function numberClass__closure10() {
  29736. },
  29737. numberClass__closure11: function numberClass__closure11() {
  29738. },
  29739. numberClass__closure12: function numberClass__closure12() {
  29740. },
  29741. numberClass__closure13: function numberClass__closure13() {
  29742. },
  29743. numberClass__closure14: function numberClass__closure14() {
  29744. },
  29745. numberClass__closure15: function numberClass__closure15() {
  29746. },
  29747. numberClass__closure16: function numberClass__closure16() {
  29748. },
  29749. numberClass__closure17: function numberClass__closure17() {
  29750. },
  29751. numberClass__closure18: function numberClass__closure18() {
  29752. },
  29753. numberClass__closure19: function numberClass__closure19() {
  29754. },
  29755. _ConstructorOptions0: function _ConstructorOptions0() {
  29756. },
  29757. _parseNumber(value, unit) {
  29758. var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
  29759. if (unit == null || unit.length === 0)
  29760. return A.SassNumber_SassNumber0(value, null);
  29761. if (!J.contains$1$asx(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
  29762. return A.SassNumber_SassNumber0(value, unit);
  29763. invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
  29764. operands = unit.split("/");
  29765. t1 = operands.length;
  29766. if (t1 > 2)
  29767. throw A.wrapException(invalidUnit);
  29768. numerator = operands[0];
  29769. denominator = t1 === 1 ? null : operands[1];
  29770. t1 = type$.JSArray_String;
  29771. numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
  29772. if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
  29773. throw A.wrapException(invalidUnit);
  29774. denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
  29775. if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
  29776. throw A.wrapException(invalidUnit);
  29777. return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
  29778. },
  29779. _NodeSassNumber: function _NodeSassNumber() {
  29780. },
  29781. legacyNumberClass_closure: function legacyNumberClass_closure() {
  29782. },
  29783. legacyNumberClass_closure0: function legacyNumberClass_closure0() {
  29784. },
  29785. legacyNumberClass_closure1: function legacyNumberClass_closure1() {
  29786. },
  29787. legacyNumberClass_closure2: function legacyNumberClass_closure2() {
  29788. },
  29789. legacyNumberClass_closure3: function legacyNumberClass_closure3() {
  29790. },
  29791. _parseNumber_closure: function _parseNumber_closure() {
  29792. },
  29793. _parseNumber_closure0: function _parseNumber_closure0() {
  29794. },
  29795. conversionFactor0(unit1, unit2) {
  29796. var _0_0;
  29797. if (unit1 === unit2)
  29798. return 1;
  29799. _0_0 = B.Map_NtHoP.$index(0, unit1);
  29800. if (_0_0 != null)
  29801. return _0_0.$index(0, unit2);
  29802. return null;
  29803. },
  29804. SassNumber_SassNumber0(value, unit) {
  29805. return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
  29806. },
  29807. SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
  29808. var _0_8_isSet, _0_8, _0_10, _0_10_isSet, _0_7, unit, t2, _0_7_isSet, t3, _0_4_isSet, _0_7_isSet0, numerators, denominators, unsimplifiedDenominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _1_2, _1_7_isSet, _1_7, _null = null,
  29809. _0_3 = numeratorUnits == null,
  29810. t1 = _0_3,
  29811. _0_6_isSet = !t1,
  29812. _0_6 = _null,
  29813. _0_4 = _null;
  29814. if (_0_6_isSet) {
  29815. _0_4 = J.get$length$asx(numeratorUnits == null ? type$.List_String._as(numeratorUnits) : numeratorUnits);
  29816. t1 = _0_4;
  29817. _0_6 = t1 <= 0;
  29818. _0_8_isSet = _0_6;
  29819. } else
  29820. _0_8_isSet = true;
  29821. _0_8 = _null;
  29822. _0_10 = _null;
  29823. if (_0_8_isSet) {
  29824. _0_8 = denominatorUnits == null;
  29825. t1 = _0_8;
  29826. _0_10_isSet = !t1;
  29827. if (_0_10_isSet) {
  29828. _0_10 = J.get$length$asx(denominatorUnits == null ? type$.List_String._as(denominatorUnits) : denominatorUnits) <= 0;
  29829. t1 = _0_10;
  29830. } else
  29831. t1 = true;
  29832. _0_7 = denominatorUnits;
  29833. } else {
  29834. _0_7 = _null;
  29835. _0_10_isSet = false;
  29836. t1 = false;
  29837. }
  29838. if (t1)
  29839. return new A.UnitlessSassNumber0(value, _null);
  29840. t1 = type$.List_String;
  29841. unit = _null;
  29842. t2 = false;
  29843. if (t1._is(numeratorUnits)) {
  29844. _0_7_isSet = true;
  29845. if (_0_6_isSet) {
  29846. t3 = _0_4;
  29847. _0_4_isSet = _0_6_isSet;
  29848. } else {
  29849. _0_4 = J.get$length$asx(numeratorUnits);
  29850. t3 = _0_4;
  29851. _0_4_isSet = true;
  29852. }
  29853. if (t3 === 1) {
  29854. unit = J.$index$asx(numeratorUnits, 0);
  29855. if (_0_8_isSet) {
  29856. t2 = _0_8;
  29857. _0_7_isSet0 = _0_8_isSet;
  29858. } else {
  29859. _0_8 = denominatorUnits == null;
  29860. t2 = _0_8;
  29861. _0_7_isSet0 = _0_7_isSet;
  29862. _0_7 = denominatorUnits;
  29863. _0_8_isSet = true;
  29864. }
  29865. if (!t2)
  29866. if (_0_10_isSet) {
  29867. t2 = _0_10;
  29868. _0_7_isSet = _0_7_isSet0;
  29869. } else {
  29870. if (_0_7_isSet0) {
  29871. t2 = _0_7;
  29872. _0_7_isSet = _0_7_isSet0;
  29873. } else {
  29874. t2 = denominatorUnits;
  29875. _0_7 = t2;
  29876. }
  29877. _0_10 = J.get$length$asx(t2 == null ? t1._as(t2) : t2) <= 0;
  29878. t2 = _0_10;
  29879. _0_10_isSet = true;
  29880. }
  29881. else {
  29882. _0_7_isSet = _0_7_isSet0;
  29883. t2 = true;
  29884. }
  29885. } else
  29886. _0_7_isSet = _0_8_isSet;
  29887. } else {
  29888. _0_7_isSet = _0_8_isSet;
  29889. _0_4_isSet = _0_6_isSet;
  29890. }
  29891. if (t2)
  29892. return new A.SingleUnitSassNumber0(unit, value, _null);
  29893. t2 = numeratorUnits == null;
  29894. t3 = false;
  29895. if (!t2) {
  29896. _0_7_isSet0 = true;
  29897. numerators = numeratorUnits;
  29898. if (_0_8_isSet)
  29899. t3 = _0_8;
  29900. else {
  29901. if (_0_7_isSet)
  29902. t3 = _0_7;
  29903. else {
  29904. t3 = denominatorUnits;
  29905. _0_7_isSet = _0_7_isSet0;
  29906. _0_7 = t3;
  29907. }
  29908. _0_8 = t3 == null;
  29909. t3 = _0_8;
  29910. }
  29911. if (!t3)
  29912. if (_0_10_isSet)
  29913. t3 = _0_10;
  29914. else {
  29915. if (_0_7_isSet)
  29916. t3 = _0_7;
  29917. else {
  29918. t3 = denominatorUnits;
  29919. _0_7_isSet = _0_7_isSet0;
  29920. _0_7 = t3;
  29921. }
  29922. _0_10 = J.get$length$asx(t3 == null ? t1._as(t3) : t3) <= 0;
  29923. t3 = _0_10;
  29924. }
  29925. else
  29926. t3 = true;
  29927. } else
  29928. numerators = _null;
  29929. if (t3)
  29930. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  29931. if (!_0_3)
  29932. if (_0_6_isSet)
  29933. t2 = _0_6;
  29934. else {
  29935. if (_0_4_isSet)
  29936. t2 = _0_4;
  29937. else {
  29938. _0_4 = J.get$length$asx(t2 ? t1._as(numeratorUnits) : numeratorUnits);
  29939. t2 = _0_4;
  29940. }
  29941. _0_6 = t2 <= 0;
  29942. t2 = _0_6;
  29943. }
  29944. else
  29945. t2 = true;
  29946. denominators = _null;
  29947. if (t2) {
  29948. if (_0_7_isSet)
  29949. t2 = _0_7;
  29950. else {
  29951. t2 = denominatorUnits;
  29952. _0_7 = t2;
  29953. _0_7_isSet = true;
  29954. }
  29955. t2 = t2 != null;
  29956. if (t2) {
  29957. denominators = _0_7_isSet ? _0_7 : denominatorUnits;
  29958. if (denominators == null)
  29959. denominators = t1._as(denominators);
  29960. }
  29961. t1 = t2;
  29962. } else
  29963. t1 = false;
  29964. if (t1)
  29965. return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  29966. numeratorUnits.toString;
  29967. numerators = J.toList$0$ax(numeratorUnits);
  29968. denominatorUnits.toString;
  29969. unsimplifiedDenominators = J.toList$0$ax(denominatorUnits);
  29970. denominators = A._setArrayType([], type$.JSArray_String);
  29971. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  29972. denominator = unsimplifiedDenominators[_i];
  29973. i = 0;
  29974. while (true) {
  29975. if (!(i < numerators.length)) {
  29976. simplifiedAway = false;
  29977. break;
  29978. }
  29979. c$0: {
  29980. factor = A.conversionFactor0(denominator, numerators[i]);
  29981. if (factor == null)
  29982. break c$0;
  29983. valueDouble *= factor;
  29984. B.JSArray_methods.removeAt$1(numerators, i);
  29985. simplifiedAway = true;
  29986. break;
  29987. }
  29988. ++i;
  29989. }
  29990. if (!simplifiedAway)
  29991. denominators.push(denominator);
  29992. }
  29993. $label0$1: {
  29994. _1_2 = numerators.length;
  29995. t1 = _1_2;
  29996. _1_7_isSet = t1 <= 0;
  29997. if (_1_7_isSet) {
  29998. _1_7 = denominators.length <= 0;
  29999. t1 = _1_7;
  30000. } else {
  30001. _1_7 = _null;
  30002. t1 = false;
  30003. }
  30004. if (t1) {
  30005. t1 = new A.UnitlessSassNumber0(valueDouble, _null);
  30006. break $label0$1;
  30007. }
  30008. t1 = false;
  30009. if (_1_2 === 1) {
  30010. unit = numerators[0];
  30011. t1 = _1_7_isSet ? _1_7 : denominators.length <= 0;
  30012. } else
  30013. unit = _null;
  30014. if (t1) {
  30015. t1 = new A.SingleUnitSassNumber0(unit, valueDouble, _null);
  30016. break $label0$1;
  30017. }
  30018. t1 = type$.String;
  30019. t1 = new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  30020. break $label0$1;
  30021. }
  30022. return t1;
  30023. },
  30024. SassNumber0: function SassNumber0() {
  30025. },
  30026. SassNumber__coerceOrConvertValue_compatibilityException0: function SassNumber__coerceOrConvertValue_compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
  30027. var _ = this;
  30028. _.$this = t0;
  30029. _.other = t1;
  30030. _.otherName = t2;
  30031. _.otherHasUnits = t3;
  30032. _.name = t4;
  30033. _.newNumerators = t5;
  30034. _.newDenominators = t6;
  30035. },
  30036. SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
  30037. this._box_0 = t0;
  30038. this.newNumerator = t1;
  30039. },
  30040. SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
  30041. this.compatibilityException = t0;
  30042. },
  30043. SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
  30044. this._box_0 = t0;
  30045. this.newDenominator = t1;
  30046. },
  30047. SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
  30048. this.compatibilityException = t0;
  30049. },
  30050. SassNumber_plus_closure0: function SassNumber_plus_closure0() {
  30051. },
  30052. SassNumber_minus_closure0: function SassNumber_minus_closure0() {
  30053. },
  30054. SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
  30055. this._box_0 = t0;
  30056. this.numerator = t1;
  30057. },
  30058. SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
  30059. this.newNumerators = t0;
  30060. this.numerator = t1;
  30061. },
  30062. SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
  30063. this._box_0 = t0;
  30064. this.numerator = t1;
  30065. },
  30066. SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
  30067. this.newNumerators = t0;
  30068. this.numerator = t1;
  30069. },
  30070. SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
  30071. this.units2 = t0;
  30072. },
  30073. SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
  30074. },
  30075. SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
  30076. this.$this = t0;
  30077. },
  30078. SassNumber_unitSuggestion_closure1: function SassNumber_unitSuggestion_closure1() {
  30079. },
  30080. SassNumber_unitSuggestion_closure2: function SassNumber_unitSuggestion_closure2() {
  30081. },
  30082. OklabColorSpace0: function OklabColorSpace0(t0, t1) {
  30083. this.name = t0;
  30084. this._space$_channels = t1;
  30085. },
  30086. OklchColorSpace0: function OklchColorSpace0(t0, t1) {
  30087. this.name = t0;
  30088. this._space$_channels = t1;
  30089. },
  30090. SupportsOperation$0(left, right, operator, span) {
  30091. var lowerOperator = operator.toLowerCase();
  30092. if (lowerOperator !== "and" && lowerOperator !== "or")
  30093. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  30094. return new A.SupportsOperation0(left, right, operator, span);
  30095. },
  30096. SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
  30097. var _ = this;
  30098. _.left = t0;
  30099. _.right = t1;
  30100. _.operator = t2;
  30101. _.span = t3;
  30102. },
  30103. Parameter0: function Parameter0(t0, t1, t2) {
  30104. this.name = t0;
  30105. this.defaultValue = t1;
  30106. this.span = t2;
  30107. },
  30108. ParameterList_ParameterList$parse0(contents, url) {
  30109. return A.ScssParser$0(contents, url).parseParameterList$0();
  30110. },
  30111. ParameterList0: function ParameterList0(t0, t1, t2) {
  30112. this.parameters = t0;
  30113. this.restParameter = t1;
  30114. this.span = t2;
  30115. },
  30116. ParameterList_verify_closure1: function ParameterList_verify_closure1() {
  30117. },
  30118. ParameterList_verify_closure2: function ParameterList_verify_closure2() {
  30119. },
  30120. ParentSelector0: function ParentSelector0(t0, t1) {
  30121. this.suffix = t0;
  30122. this.span = t1;
  30123. },
  30124. ParentStatement0: function ParentStatement0() {
  30125. },
  30126. ParentStatement_closure0: function ParentStatement_closure0() {
  30127. },
  30128. ParentStatement__closure0: function ParentStatement__closure0() {
  30129. },
  30130. ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
  30131. this.expression = t0;
  30132. this.span = t1;
  30133. },
  30134. loadParserExports() {
  30135. A._updateAstPrototypes();
  30136. 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())};
  30137. },
  30138. _updateAstPrototypes() {
  30139. var t2, t3, string, t4, t5, $arguments, _i, _null = null,
  30140. _s9_ = "arguments",
  30141. file = A.SourceFile$fromString("", _null),
  30142. t1 = type$.JSClass;
  30143. J.get$$prototype$x(t1._as(file.constructor)).getText = A.allowInteropCaptureThisNamed("getText", new A._updateAstPrototypes_closure());
  30144. A.defineGetter(J.get$$prototype$x(t1._as(file.constructor)), "codeUnits", new A._updateAstPrototypes_closure0(), _null);
  30145. t2 = $.$get$_interpolation();
  30146. A.defineGetter(J.get$$prototype$x(t1._as(t2.constructor)), "asPlain", new A._updateAstPrototypes_closure1(), _null);
  30147. t3 = $.$get$bogusSpan0();
  30148. 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());
  30149. string = new A.StringExpression0(t2, false);
  30150. 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());
  30151. t4 = type$.String;
  30152. t5 = type$.Expression_2;
  30153. $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);
  30154. 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);
  30155. A.defineGetter(J.get$$prototype$x(t1._as(new A.ContentRule0($arguments, t3).constructor)), _s9_, new A._updateAstPrototypes_closure5(), _null);
  30156. A._addSupportsConditionToInterpolation();
  30157. 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) {
  30158. t3 = J.get$$prototype$x(t1._as(t2[_i].constructor));
  30159. t4 = {get: A.allowInteropCaptureThis(new A._updateAstPrototypes_closure6()), enumerable: false};
  30160. self.Object.defineProperty(t3, "span", t4);
  30161. }
  30162. },
  30163. _addSupportsConditionToInterpolation() {
  30164. var t3, _i, $function, t4,
  30165. t1 = $.$get$_interpolation(),
  30166. t2 = $.$get$bogusSpan0(),
  30167. anything = new A.SupportsAnything0(t1, t2);
  30168. 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) {
  30169. t1 = J.get$$prototype$x(t3._as(t2[_i].constructor));
  30170. $function = A.allowInteropCaptureThis(new A._addSupportsConditionToInterpolation_closure());
  30171. t4 = {value: "toInterpolation", enumerable: false};
  30172. self.Object.defineProperty($function, "name", t4);
  30173. A._hideDartProperties($function);
  30174. t1.toInterpolation = $function;
  30175. }
  30176. },
  30177. _parse(css, syntax, path) {
  30178. var t1;
  30179. $label0$0: {
  30180. if ("scss" === syntax) {
  30181. t1 = B.Syntax_SCSS_scss0;
  30182. break $label0$0;
  30183. }
  30184. if ("sass" === syntax) {
  30185. t1 = B.Syntax_Sass_sass0;
  30186. break $label0$0;
  30187. }
  30188. if ("css" === syntax) {
  30189. t1 = B.Syntax_CSS_css0;
  30190. break $label0$0;
  30191. }
  30192. t1 = A.throwExpression(A.UnsupportedError$('Unknown syntax "' + syntax + '"'));
  30193. }
  30194. return A.Stylesheet_Stylesheet$parse0(css, t1, A.NullableExtension_andThen0(path, A.path__toUri$closure()));
  30195. },
  30196. _parseIdentifier(identifier) {
  30197. var t1, exception;
  30198. try {
  30199. t1 = new A.Parser1(A.SpanScanner$(identifier, null), null)._parser1$_parseIdentifier$0();
  30200. return t1;
  30201. } catch (exception) {
  30202. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  30203. return null;
  30204. else
  30205. throw exception;
  30206. }
  30207. },
  30208. _toCssIdentifier(text) {
  30209. return A.StringExtension_toCssIdentifier(text);
  30210. },
  30211. ParserExports: function ParserExports() {
  30212. },
  30213. loadParserExports_closure: function loadParserExports_closure() {
  30214. },
  30215. loadParserExports_closure0: function loadParserExports_closure0() {
  30216. },
  30217. loadParserExports_closure1: function loadParserExports_closure1() {
  30218. },
  30219. _updateAstPrototypes_closure: function _updateAstPrototypes_closure() {
  30220. },
  30221. _updateAstPrototypes_closure0: function _updateAstPrototypes_closure0() {
  30222. },
  30223. _updateAstPrototypes_closure1: function _updateAstPrototypes_closure1() {
  30224. },
  30225. _updateAstPrototypes_closure2: function _updateAstPrototypes_closure2() {
  30226. },
  30227. _updateAstPrototypes_closure3: function _updateAstPrototypes_closure3() {
  30228. },
  30229. _updateAstPrototypes_closure4: function _updateAstPrototypes_closure4() {
  30230. },
  30231. _updateAstPrototypes_closure5: function _updateAstPrototypes_closure5() {
  30232. },
  30233. _updateAstPrototypes_closure6: function _updateAstPrototypes_closure6() {
  30234. },
  30235. _addSupportsConditionToInterpolation_closure: function _addSupportsConditionToInterpolation_closure() {
  30236. },
  30237. Parser_isIdentifier0(text) {
  30238. var exception;
  30239. try {
  30240. new A.Parser1(A.SpanScanner$(text, null), null)._parser1$_parseIdentifier$0();
  30241. return true;
  30242. } catch (exception) {
  30243. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  30244. return false;
  30245. else
  30246. throw exception;
  30247. }
  30248. },
  30249. Parser1: function Parser1(t0, t1) {
  30250. this.scanner = t0;
  30251. this._parser1$_interpolationMap = t1;
  30252. },
  30253. Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
  30254. this.$this = t0;
  30255. },
  30256. Parser_escape_closure0: function Parser_escape_closure0() {
  30257. },
  30258. Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
  30259. this.caseSensitive = t0;
  30260. this.char = t1;
  30261. },
  30262. Parser_spanFrom_closure0: function Parser_spanFrom_closure0(t0, t1) {
  30263. this.$this = t0;
  30264. this.span = t1;
  30265. },
  30266. PlaceholderSelector0: function PlaceholderSelector0(t0, t1) {
  30267. this.name = t0;
  30268. this.span = t1;
  30269. },
  30270. PlainCssCallable0: function PlainCssCallable0(t0) {
  30271. this.name = t0;
  30272. },
  30273. PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
  30274. this._prefixed_map_view0$_map = t0;
  30275. this._prefixed_map_view0$_prefix = t1;
  30276. this.$ti = t2;
  30277. },
  30278. _PrefixedKeys0: function _PrefixedKeys0(t0) {
  30279. this._prefixed_map_view0$_view = t0;
  30280. },
  30281. _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
  30282. this.$this = t0;
  30283. },
  30284. ProphotoRgbColorSpace0: function ProphotoRgbColorSpace0(t0, t1) {
  30285. this.name = t0;
  30286. this._space$_channels = t1;
  30287. },
  30288. PseudoSelector$0($name, span, argument, element, selector) {
  30289. var t1 = !element,
  30290. t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
  30291. return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector, span);
  30292. },
  30293. PseudoSelector__isFakePseudoElement0($name) {
  30294. switch ($name.charCodeAt(0)) {
  30295. case 97:
  30296. case 65:
  30297. return A.equalsIgnoreCase0($name, "after");
  30298. case 98:
  30299. case 66:
  30300. return A.equalsIgnoreCase0($name, "before");
  30301. case 102:
  30302. case 70:
  30303. return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
  30304. default:
  30305. return false;
  30306. }
  30307. },
  30308. PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5, t6) {
  30309. var _ = this;
  30310. _.name = t0;
  30311. _.normalizedName = t1;
  30312. _.isClass = t2;
  30313. _.isSyntacticClass = t3;
  30314. _.argument = t4;
  30315. _.selector = t5;
  30316. _._pseudo$__PseudoSelector_specificity_FI = $;
  30317. _.span = t6;
  30318. },
  30319. PseudoSelector_specificity_closure0: function PseudoSelector_specificity_closure0(t0) {
  30320. this.$this = t0;
  30321. },
  30322. PseudoSelector_specificity__closure1: function PseudoSelector_specificity__closure1() {
  30323. },
  30324. PseudoSelector_specificity__closure2: function PseudoSelector_specificity__closure2() {
  30325. },
  30326. PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
  30327. },
  30328. PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
  30329. this._public_member_map_view0$_inner = t0;
  30330. this.$ti = t1;
  30331. },
  30332. QualifiedName0: function QualifiedName0(t0, t1) {
  30333. this.name = t0;
  30334. this.namespace = t1;
  30335. },
  30336. Rec2020ColorSpace0: function Rec2020ColorSpace0(t0, t1) {
  30337. this.name = t0;
  30338. this._space$_channels = t1;
  30339. },
  30340. createJSClass($name, $constructor) {
  30341. return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
  30342. },
  30343. JSClassExtension_injectSuperclass(_this, superclass) {
  30344. var t1 = J.getInterceptor$x(superclass),
  30345. t2 = J.getInterceptor$x(_this);
  30346. self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
  30347. self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
  30348. },
  30349. JSClassExtension_setCustomInspect(_this, inspect) {
  30350. if (self.util == null)
  30351. return;
  30352. J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
  30353. },
  30354. JSClassExtension_get_defineStaticMethod(_this) {
  30355. return new A.JSClassExtension_get_defineStaticMethod_closure(_this);
  30356. },
  30357. JSClassExtension_get_defineMethod(_this) {
  30358. return new A.JSClassExtension_get_defineMethod_closure(_this);
  30359. },
  30360. JSClassExtension_defineMethods(_this, methods) {
  30361. methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
  30362. },
  30363. JSClassExtension_get_defineGetter(_this) {
  30364. return new A.JSClassExtension_get_defineGetter_closure(_this);
  30365. },
  30366. JSClass0: function JSClass0() {
  30367. },
  30368. JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
  30369. this.inspect = t0;
  30370. },
  30371. JSClassExtension_get_defineStaticMethod_closure: function JSClassExtension_get_defineStaticMethod_closure(t0) {
  30372. this._this = t0;
  30373. },
  30374. JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
  30375. this._this = t0;
  30376. },
  30377. JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
  30378. this._this = t0;
  30379. },
  30380. RenderContext0: function RenderContext0() {
  30381. },
  30382. RenderContextOptions0: function RenderContextOptions0() {
  30383. },
  30384. RenderContextResult0: function RenderContextResult0() {
  30385. },
  30386. RenderContextResultStats0: function RenderContextResultStats0() {
  30387. },
  30388. RenderOptions: function RenderOptions() {
  30389. },
  30390. RenderResult: function RenderResult() {
  30391. },
  30392. RenderResultStats: function RenderResultStats() {
  30393. },
  30394. ReplaceExpressionVisitor0: function ReplaceExpressionVisitor0() {
  30395. },
  30396. ReplaceExpressionVisitor_visitListExpression_closure0: function ReplaceExpressionVisitor_visitListExpression_closure0(t0) {
  30397. this.$this = t0;
  30398. },
  30399. ReplaceExpressionVisitor_visitArgumentList_closure0: function ReplaceExpressionVisitor_visitArgumentList_closure0(t0) {
  30400. this.$this = t0;
  30401. },
  30402. ReplaceExpressionVisitor_visitInterpolation_closure0: function ReplaceExpressionVisitor_visitInterpolation_closure0(t0) {
  30403. this.$this = t0;
  30404. },
  30405. ImporterResult$(contents, sourceMapUrl, syntax) {
  30406. if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
  30407. A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
  30408. return new A.ImporterResult0(contents, sourceMapUrl, syntax);
  30409. },
  30410. ImporterResult0: function ImporterResult0(t0, t1, t2) {
  30411. this.contents = t0;
  30412. this._result$_sourceMapUrl = t1;
  30413. this.syntax = t2;
  30414. },
  30415. ReturnRule0: function ReturnRule0(t0, t1) {
  30416. this.expression = t0;
  30417. this.span = t1;
  30418. },
  30419. RgbColorSpace0: function RgbColorSpace0(t0, t1) {
  30420. this.name = t0;
  30421. this._space$_channels = t1;
  30422. },
  30423. SassParser0: function SassParser0(t0, t1, t2, t3) {
  30424. var _ = this;
  30425. _._sass0$_currentIndentation = 0;
  30426. _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
  30427. _._stylesheet0$_isUseAllowed = true;
  30428. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  30429. _._stylesheet0$_globalVariables = t0;
  30430. _.warnings = t1;
  30431. _.lastSilentComment = null;
  30432. _.scanner = t2;
  30433. _._parser1$_interpolationMap = t3;
  30434. },
  30435. SassParser_styleRuleSelector_closure0: function SassParser_styleRuleSelector_closure0() {
  30436. },
  30437. SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
  30438. this.$this = t0;
  30439. this.child = t1;
  30440. this.children = t2;
  30441. },
  30442. SassParser__peekIndentation_closure1: function SassParser__peekIndentation_closure1() {
  30443. },
  30444. SassParser__peekIndentation_closure2: function SassParser__peekIndentation_closure2() {
  30445. },
  30446. SassParser__tryTrailingSemicolon_closure0: function SassParser__tryTrailingSemicolon_closure0() {
  30447. },
  30448. _translateReturnValue(val) {
  30449. if (val instanceof A._Future)
  30450. return A.futureToPromise(val, type$.dynamic);
  30451. else
  30452. return val;
  30453. },
  30454. main2() {
  30455. new Uint8Array(0);
  30456. A.main();
  30457. J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
  30458. },
  30459. _wrapMain(main) {
  30460. if (type$.dynamic_Function._is(main))
  30461. return A.allowInterop(new A._wrapMain_closure(main));
  30462. else
  30463. return A.allowInterop(new A._wrapMain_closure0(main));
  30464. },
  30465. _Exports: function _Exports() {
  30466. },
  30467. _wrapMain_closure: function _wrapMain_closure(t0) {
  30468. this.main = t0;
  30469. },
  30470. _wrapMain_closure0: function _wrapMain_closure0(t0) {
  30471. this.main = t0;
  30472. },
  30473. ScssParser$0(contents, url) {
  30474. 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);
  30475. },
  30476. ScssParser0: function ScssParser0(t0, t1, t2, t3) {
  30477. var _ = this;
  30478. _._stylesheet0$_isUseAllowed = true;
  30479. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  30480. _._stylesheet0$_globalVariables = t0;
  30481. _.warnings = t1;
  30482. _.lastSilentComment = null;
  30483. _.scanner = t2;
  30484. _._parser1$_interpolationMap = t3;
  30485. },
  30486. Selector0: function Selector0() {
  30487. },
  30488. _IsInvisibleVisitor2: function _IsInvisibleVisitor2(t0) {
  30489. this.includeBogus = t0;
  30490. },
  30491. _IsBogusVisitor0: function _IsBogusVisitor0(t0) {
  30492. this.includeLeadingCombinator = t0;
  30493. },
  30494. _IsBogusVisitor_visitComplexSelector_closure0: function _IsBogusVisitor_visitComplexSelector_closure0(t0) {
  30495. this.$this = t0;
  30496. },
  30497. _IsUselessVisitor0: function _IsUselessVisitor0() {
  30498. },
  30499. _IsUselessVisitor_visitComplexSelector_closure0: function _IsUselessVisitor_visitComplexSelector_closure0(t0) {
  30500. this.$this = t0;
  30501. },
  30502. __IsBogusVisitor_Object_AnySelectorVisitor0: function __IsBogusVisitor_Object_AnySelectorVisitor0() {
  30503. },
  30504. __IsInvisibleVisitor_Object_AnySelectorVisitor0: function __IsInvisibleVisitor_Object_AnySelectorVisitor0() {
  30505. },
  30506. __IsUselessVisitor_Object_AnySelectorVisitor0: function __IsUselessVisitor_Object_AnySelectorVisitor0() {
  30507. },
  30508. SelectorExpression0: function SelectorExpression0(t0) {
  30509. this.span = t0;
  30510. },
  30511. _prependParent0(compound) {
  30512. var _0_3, _0_4, t2, _0_4_isSet, t3, rest,
  30513. t1 = A.EvaluationContext_currentOrNull0(),
  30514. span = (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan(),
  30515. _0_0 = compound.components;
  30516. $label0$0: {
  30517. _0_3 = _0_0.length >= 1;
  30518. if (_0_3) {
  30519. _0_4 = _0_0[0];
  30520. t1 = _0_4 instanceof A.UniversalSelector0;
  30521. } else {
  30522. _0_4 = null;
  30523. t1 = false;
  30524. }
  30525. t2 = null;
  30526. if (t1) {
  30527. t1 = t2;
  30528. break $label0$0;
  30529. }
  30530. t1 = false;
  30531. if (_0_3) {
  30532. _0_4_isSet = true;
  30533. t3 = _0_4;
  30534. if (t3 instanceof A.TypeSelector0) {
  30535. t1 = _0_4;
  30536. t1 = type$.TypeSelector_2._as(t1).name.namespace != null;
  30537. }
  30538. } else
  30539. _0_4_isSet = _0_3;
  30540. if (t1) {
  30541. t1 = t2;
  30542. break $label0$0;
  30543. }
  30544. if (_0_3) {
  30545. if (_0_4_isSet)
  30546. t1 = _0_4;
  30547. else {
  30548. _0_4 = _0_0[0];
  30549. t1 = _0_4;
  30550. _0_4_isSet = true;
  30551. }
  30552. t1 = t1 instanceof A.TypeSelector0;
  30553. } else
  30554. t1 = false;
  30555. if (t1) {
  30556. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  30557. type$.TypeSelector_2._as(t1);
  30558. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  30559. t1 = A._setArrayType([new A.ParentSelector0(t1.name.name, span)], type$.JSArray_SimpleSelector_2);
  30560. B.JSArray_methods.addAll$1(t1, rest);
  30561. t1 = A.CompoundSelector$0(t1, span);
  30562. break $label0$0;
  30563. }
  30564. t1 = A._setArrayType([new A.ParentSelector0(null, span)], type$.JSArray_SimpleSelector_2);
  30565. B.JSArray_methods.addAll$1(t1, _0_0);
  30566. t1 = A.CompoundSelector$0(t1, span);
  30567. break $label0$0;
  30568. }
  30569. return t1;
  30570. },
  30571. _function8($name, $arguments, callback) {
  30572. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
  30573. },
  30574. _nest_closure0: function _nest_closure0() {
  30575. },
  30576. _nest__closure1: function _nest__closure1(t0) {
  30577. this._box_0 = t0;
  30578. },
  30579. _nest__closure2: function _nest__closure2() {
  30580. },
  30581. _append_closure1: function _append_closure1() {
  30582. },
  30583. _append__closure1: function _append__closure1() {
  30584. },
  30585. _append__closure2: function _append__closure2(t0) {
  30586. this.span = t0;
  30587. },
  30588. _append___closure0: function _append___closure0(t0, t1) {
  30589. this.parent = t0;
  30590. this.span = t1;
  30591. },
  30592. _extend_closure0: function _extend_closure0() {
  30593. },
  30594. _replace_closure0: function _replace_closure0() {
  30595. },
  30596. _unify_closure0: function _unify_closure0() {
  30597. },
  30598. _isSuperselector_closure0: function _isSuperselector_closure0() {
  30599. },
  30600. _simpleSelectors_closure0: function _simpleSelectors_closure0() {
  30601. },
  30602. _simpleSelectors__closure0: function _simpleSelectors__closure0() {
  30603. },
  30604. _parse_closure0: function _parse_closure0() {
  30605. },
  30606. SelectorParser0: function SelectorParser0(t0, t1, t2, t3) {
  30607. var _ = this;
  30608. _._selector$_allowParent = t0;
  30609. _._selector$_plainCss = t1;
  30610. _.scanner = t2;
  30611. _._parser1$_interpolationMap = t3;
  30612. },
  30613. SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
  30614. this.$this = t0;
  30615. },
  30616. SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
  30617. this.$this = t0;
  30618. },
  30619. SelectorSearchVisitor0: function SelectorSearchVisitor0() {
  30620. },
  30621. SelectorSearchVisitor_visitComplexSelector_closure0: function SelectorSearchVisitor_visitComplexSelector_closure0(t0) {
  30622. this.$this = t0;
  30623. },
  30624. SelectorSearchVisitor_visitCompoundSelector_closure0: function SelectorSearchVisitor_visitCompoundSelector_closure0(t0) {
  30625. this.$this = t0;
  30626. },
  30627. serialize0(node, charset, indentWidth, inspect, lineFeed, logger, sourceMap, style, useSpaces) {
  30628. var t1, css, t2, prefix,
  30629. visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, logger, true, sourceMap, style, useSpaces);
  30630. node.accept$1(visitor);
  30631. t1 = visitor._serialize0$_buffer;
  30632. css = t1.toString$0(0);
  30633. if (charset) {
  30634. t2 = new A.CodeUnits(css);
  30635. t2 = t2.any$1(t2, new A.serialize_closure0());
  30636. } else
  30637. t2 = false;
  30638. if (t2)
  30639. prefix = style === B.OutputStyle_10 ? "\ufeff" : '@charset "UTF-8";\n';
  30640. else
  30641. prefix = "";
  30642. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  30643. return new A._Record_2_sourceMap(prefix + css, t1);
  30644. },
  30645. serializeValue0(value, inspect, quote) {
  30646. var _null = null,
  30647. visitor = A._SerializeVisitor$0(_null, inspect, _null, _null, quote, false, _null, true);
  30648. value.accept$1(visitor);
  30649. return visitor._serialize0$_buffer.toString$0(0);
  30650. },
  30651. serializeSelector0(selector, inspect) {
  30652. var _null = null,
  30653. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  30654. selector.accept$1(visitor);
  30655. return visitor._serialize0$_buffer.toString$0(0);
  30656. },
  30657. _SerializeVisitor$0(indentWidth, inspect, lineFeed, logger, quote, sourceMap, style, useSpaces) {
  30658. var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
  30659. t2 = style == null ? B.OutputStyle_00 : style,
  30660. t3 = useSpaces ? 32 : 9,
  30661. t4 = indentWidth == null ? 2 : indentWidth,
  30662. t5 = lineFeed == null ? B.LineFeed_9HY : lineFeed,
  30663. t6 = logger == null ? B.StderrLogger_false0 : logger;
  30664. A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
  30665. return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5, t6);
  30666. },
  30667. serialize_closure0: function serialize_closure0() {
  30668. },
  30669. _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6, t7) {
  30670. var _ = this;
  30671. _._serialize0$_buffer = t0;
  30672. _._serialize0$_indentation = 0;
  30673. _._serialize0$_style = t1;
  30674. _._serialize0$_inspect = t2;
  30675. _._serialize0$_quote = t3;
  30676. _._serialize0$_indentCharacter = t4;
  30677. _._serialize0$_indentWidth = t5;
  30678. _._lineFeed = t6;
  30679. _._serialize0$_logger = t7;
  30680. },
  30681. _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
  30682. this.$this = t0;
  30683. this.node = t1;
  30684. },
  30685. _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
  30686. this.$this = t0;
  30687. this.node = t1;
  30688. },
  30689. _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
  30690. this.$this = t0;
  30691. this.node = t1;
  30692. },
  30693. _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
  30694. this.$this = t0;
  30695. this.node = t1;
  30696. },
  30697. _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
  30698. this.$this = t0;
  30699. this.node = t1;
  30700. },
  30701. _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
  30702. this.$this = t0;
  30703. this.node = t1;
  30704. },
  30705. _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
  30706. this.$this = t0;
  30707. this.node = t1;
  30708. },
  30709. _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
  30710. this.$this = t0;
  30711. this.node = t1;
  30712. },
  30713. _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
  30714. this.$this = t0;
  30715. this.node = t1;
  30716. },
  30717. _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
  30718. this.$this = t0;
  30719. this.node = t1;
  30720. },
  30721. _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
  30722. },
  30723. _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
  30724. this.$this = t0;
  30725. this.value = t1;
  30726. },
  30727. _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
  30728. this.$this = t0;
  30729. },
  30730. _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
  30731. this.$this = t0;
  30732. },
  30733. _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
  30734. },
  30735. _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
  30736. this.$this = t0;
  30737. this.value = t1;
  30738. },
  30739. _SerializeVisitor__visitChildren_closure1: function _SerializeVisitor__visitChildren_closure1(t0, t1) {
  30740. this.$this = t0;
  30741. this.child = t1;
  30742. },
  30743. _SerializeVisitor__visitChildren_closure2: function _SerializeVisitor__visitChildren_closure2(t0, t1) {
  30744. this.$this = t0;
  30745. this.child = t1;
  30746. },
  30747. OutputStyle0: function OutputStyle0(t0) {
  30748. this._name = t0;
  30749. },
  30750. LineFeed0: function LineFeed0(t0, t1, t2) {
  30751. this.name = t0;
  30752. this.text = t1;
  30753. this._name = t2;
  30754. },
  30755. JSSet: function JSSet() {
  30756. },
  30757. ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
  30758. 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;
  30759. },
  30760. ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
  30761. var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
  30762. return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  30763. },
  30764. ShadowedModuleView__needsBlocklist0(map, blocklist) {
  30765. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  30766. },
  30767. ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
  30768. var _ = this;
  30769. _._shadowed_view0$_inner = t0;
  30770. _.variables = t1;
  30771. _.variableNodes = t2;
  30772. _.functions = t3;
  30773. _.mixins = t4;
  30774. _.$ti = t5;
  30775. },
  30776. SilentComment0: function SilentComment0(t0, t1) {
  30777. this.text = t0;
  30778. this.span = t1;
  30779. },
  30780. SimpleSelector0: function SimpleSelector0() {
  30781. },
  30782. SimpleSelector_isSuperselector_closure0: function SimpleSelector_isSuperselector_closure0(t0) {
  30783. this.$this = t0;
  30784. },
  30785. SimpleSelector_isSuperselector__closure0: function SimpleSelector_isSuperselector__closure0(t0) {
  30786. this.$this = t0;
  30787. },
  30788. SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
  30789. var _ = this;
  30790. _._single_unit$_unit = t0;
  30791. _._number1$_value = t1;
  30792. _.hashCache = null;
  30793. _.asSlash = t2;
  30794. },
  30795. SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
  30796. this.$this = t0;
  30797. this.unit = t1;
  30798. },
  30799. SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
  30800. this.$this = t0;
  30801. },
  30802. SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
  30803. this._box_0 = t0;
  30804. this.$this = t1;
  30805. },
  30806. SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
  30807. this._box_0 = t0;
  30808. this.$this = t1;
  30809. },
  30810. SourceInterpolationVisitor: function SourceInterpolationVisitor(t0) {
  30811. this.buffer = t0;
  30812. },
  30813. SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
  30814. var _ = this;
  30815. _._source_map_buffer0$_buffer = t0;
  30816. _._source_map_buffer0$_entries = t1;
  30817. _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
  30818. _._source_map_buffer0$_inSpan = false;
  30819. },
  30820. SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
  30821. this._box_0 = t0;
  30822. this.prefixLength = t1;
  30823. },
  30824. updateSourceSpanPrototype() {
  30825. var t3, t4, _i, t5,
  30826. span = A.SourceFile$fromString("", null).span$1(0, 0),
  30827. t1 = type$.SourceSpan,
  30828. t2 = type$.String;
  30829. 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) {
  30830. t5 = t3._as(t1[_i].constructor);
  30831. 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));
  30832. }
  30833. t1 = t3._as(A.FileLocation$_(span.file, span._file$_start).constructor);
  30834. A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure5(), "column", new A.updateSourceSpanPrototype_closure6()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  30835. },
  30836. updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure(t0) {
  30837. this.span = t0;
  30838. },
  30839. updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
  30840. },
  30841. updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
  30842. },
  30843. updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
  30844. },
  30845. updateSourceSpanPrototype__closure: function updateSourceSpanPrototype__closure() {
  30846. },
  30847. updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
  30848. },
  30849. updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
  30850. },
  30851. updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
  30852. },
  30853. updateSourceSpanPrototype_closure6: function updateSourceSpanPrototype_closure6() {
  30854. },
  30855. ColorSpace_fromName0($name, argumentName) {
  30856. var t1,
  30857. _0_0 = $name.toLowerCase();
  30858. $label0$0: {
  30859. if ("rgb" === _0_0) {
  30860. t1 = B.RgbColorSpace_i0P0;
  30861. break $label0$0;
  30862. }
  30863. if ("hwb" === _0_0) {
  30864. t1 = B.HwbColorSpace_guQ0;
  30865. break $label0$0;
  30866. }
  30867. if ("hsl" === _0_0) {
  30868. t1 = B.HslColorSpace_JQ20;
  30869. break $label0$0;
  30870. }
  30871. if ("srgb" === _0_0) {
  30872. t1 = B.SrgbColorSpace_thf0;
  30873. break $label0$0;
  30874. }
  30875. if ("srgb-linear" === _0_0) {
  30876. t1 = B.SrgbLinearColorSpace_kUj0;
  30877. break $label0$0;
  30878. }
  30879. if ("display-p3" === _0_0) {
  30880. t1 = B.DisplayP3ColorSpace_MmT0;
  30881. break $label0$0;
  30882. }
  30883. if ("a98-rgb" === _0_0) {
  30884. t1 = B.A98RgbColorSpace_lf20;
  30885. break $label0$0;
  30886. }
  30887. if ("prophoto-rgb" === _0_0) {
  30888. t1 = B.ProphotoRgbColorSpace_BDz0;
  30889. break $label0$0;
  30890. }
  30891. if ("rec2020" === _0_0) {
  30892. t1 = B.Rec2020ColorSpace_6oo0;
  30893. break $label0$0;
  30894. }
  30895. if ("xyz" === _0_0 || "xyz-d65" === _0_0) {
  30896. t1 = B.XyzD65ColorSpace_WiJ0;
  30897. break $label0$0;
  30898. }
  30899. if ("xyz-d50" === _0_0) {
  30900. t1 = B.XyzD50ColorSpace_2OB0;
  30901. break $label0$0;
  30902. }
  30903. if ("lab" === _0_0) {
  30904. t1 = B.LabColorSpace_2nT0;
  30905. break $label0$0;
  30906. }
  30907. if ("lch" === _0_0) {
  30908. t1 = B.LchColorSpace_Bpv0;
  30909. break $label0$0;
  30910. }
  30911. if ("oklab" === _0_0) {
  30912. t1 = B.OklabColorSpace_5400;
  30913. break $label0$0;
  30914. }
  30915. if ("oklch" === _0_0) {
  30916. t1 = B.OklchColorSpace_9Gj0;
  30917. break $label0$0;
  30918. }
  30919. t1 = A.throwExpression(A.SassScriptException$0('Unknown color space "' + $name + '".', argumentName));
  30920. }
  30921. return t1;
  30922. },
  30923. ColorSpace0: function ColorSpace0() {
  30924. },
  30925. SrgbColorSpace0: function SrgbColorSpace0(t0, t1) {
  30926. this.name = t0;
  30927. this._space$_channels = t1;
  30928. },
  30929. SrgbLinearColorSpace0: function SrgbLinearColorSpace0(t0, t1) {
  30930. this.name = t0;
  30931. this._space$_channels = t1;
  30932. },
  30933. Statement0: function Statement0() {
  30934. },
  30935. JSStatementVisitor: function JSStatementVisitor(t0) {
  30936. this._statement$_inner = t0;
  30937. },
  30938. JSStatementVisitorObject: function JSStatementVisitorObject() {
  30939. },
  30940. StatementSearchVisitor0: function StatementSearchVisitor0() {
  30941. },
  30942. StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
  30943. this.$this = t0;
  30944. },
  30945. StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
  30946. this.$this = t0;
  30947. },
  30948. StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
  30949. this.$this = t0;
  30950. },
  30951. StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
  30952. this.$this = t0;
  30953. },
  30954. StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
  30955. this.$this = t0;
  30956. },
  30957. StaticImport0: function StaticImport0(t0, t1, t2) {
  30958. this.url = t0;
  30959. this.modifiers = t1;
  30960. this.span = t2;
  30961. },
  30962. StderrLogger0: function StderrLogger0(t0) {
  30963. this.color = t0;
  30964. },
  30965. StringExpression_quoteText0(text) {
  30966. var t1,
  30967. quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
  30968. buffer = new A.StringBuffer("");
  30969. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  30970. A.StringExpression__quoteInnerText0(text, quote, buffer, true);
  30971. t1 = A.Primitives_stringFromCharCode(quote);
  30972. t1 = buffer._contents += t1;
  30973. return t1.charCodeAt(0) == 0 ? t1 : t1;
  30974. },
  30975. StringExpression__quoteInnerText0(text, quote, buffer, $static) {
  30976. var t1, t2, i, _1_0, _0_0, t3, t4, t5, t0;
  30977. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  30978. _1_0 = text.charCodeAt(i);
  30979. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  30980. buffer.writeCharCode$1(92);
  30981. buffer.writeCharCode$1(97);
  30982. if (i !== t2) {
  30983. _0_0 = text.charCodeAt(i + 1);
  30984. t3 = true;
  30985. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  30986. if (!(_0_0 >= 48 && _0_0 <= 57))
  30987. if (!(_0_0 >= 97 && _0_0 <= 102))
  30988. t3 = _0_0 >= 65 && _0_0 <= 70;
  30989. if (t3)
  30990. buffer.writeCharCode$1(32);
  30991. }
  30992. continue;
  30993. }
  30994. t3 = 92 === _1_0;
  30995. if (t3)
  30996. t4 = _1_0;
  30997. else
  30998. t4 = null;
  30999. if (!t3) {
  31000. t3 = false;
  31001. t5 = _1_0 === quote;
  31002. if (t5)
  31003. t4 = _1_0;
  31004. if (!t5)
  31005. if (35 === _1_0)
  31006. if ($static)
  31007. if (i < t2) {
  31008. t3 = text.charCodeAt(i + 1) === 123;
  31009. if (t3)
  31010. t4 = _1_0;
  31011. t0 = t4;
  31012. t4 = t3;
  31013. t3 = t0;
  31014. } else {
  31015. t0 = t4;
  31016. t4 = t3;
  31017. t3 = t0;
  31018. }
  31019. else {
  31020. t0 = t4;
  31021. t4 = t3;
  31022. t3 = t0;
  31023. }
  31024. else {
  31025. t0 = t4;
  31026. t4 = t3;
  31027. t3 = t0;
  31028. }
  31029. else {
  31030. t3 = t4;
  31031. t4 = true;
  31032. }
  31033. } else {
  31034. t3 = t4;
  31035. t4 = true;
  31036. }
  31037. if (t4) {
  31038. buffer.writeCharCode$1(92);
  31039. buffer.writeCharCode$1(t3);
  31040. continue;
  31041. }
  31042. buffer.writeCharCode$1(_1_0);
  31043. }
  31044. },
  31045. StringExpression__bestQuote0(strings) {
  31046. var t1, t2, t3, containsDoubleQuote, t4, t5;
  31047. 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();)
  31048. for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
  31049. t5 = t4.__internal$_current;
  31050. if (t5 == null)
  31051. t5 = t2._as(t5);
  31052. if (t5 === 39)
  31053. return 34;
  31054. if (t5 === 34)
  31055. containsDoubleQuote = true;
  31056. }
  31057. return containsDoubleQuote ? 39 : 34;
  31058. },
  31059. StringExpression0: function StringExpression0(t0, t1) {
  31060. this.text = t0;
  31061. this.hasQuotes = t1;
  31062. },
  31063. _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
  31064. var result;
  31065. if (index === 0)
  31066. return 0;
  31067. if (index > 0)
  31068. return Math.min(index - 1, lengthInCodepoints);
  31069. result = lengthInCodepoints + index;
  31070. if (result < 0 && !allowNegative)
  31071. return 0;
  31072. return result;
  31073. },
  31074. _function7($name, $arguments, callback) {
  31075. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
  31076. },
  31077. module_closure25: function module_closure25() {
  31078. },
  31079. module__closure3: function module__closure3(t0) {
  31080. this.string = t0;
  31081. },
  31082. module__closure4: function module__closure4(t0) {
  31083. this.string = t0;
  31084. },
  31085. _unquote_closure0: function _unquote_closure0() {
  31086. },
  31087. _quote_closure0: function _quote_closure0() {
  31088. },
  31089. _length_closure1: function _length_closure1() {
  31090. },
  31091. _insert_closure0: function _insert_closure0() {
  31092. },
  31093. _index_closure1: function _index_closure1() {
  31094. },
  31095. _slice_closure0: function _slice_closure0() {
  31096. },
  31097. _toUpperCase_closure0: function _toUpperCase_closure0() {
  31098. },
  31099. _toLowerCase_closure0: function _toLowerCase_closure0() {
  31100. },
  31101. _uniqueId_closure0: function _uniqueId_closure0() {
  31102. },
  31103. StringExtension_toCssIdentifier(_this) {
  31104. var t1, doubleDash, _2_0, character, _3_0,
  31105. _s52_ = "The U+0000 can't be represented as a CSS identifier.",
  31106. _s65_ = "An individual surrogate can't be represented as a CSS identifier.",
  31107. buffer = new A.StringBuffer(""),
  31108. scanner = A.SpanScanner$(_this, null),
  31109. writeEscape = new A.StringExtension_toCssIdentifier_writeEscape(buffer, scanner),
  31110. consumeSurrogatePair = new A.StringExtension_toCssIdentifier_consumeSurrogatePair(scanner, writeEscape, buffer);
  31111. if (scanner.scanChar$1(45)) {
  31112. if (scanner._string_scanner$_position === scanner.string.length)
  31113. return "\\2d";
  31114. t1 = A.Primitives_stringFromCharCode(45);
  31115. buffer._contents += t1;
  31116. doubleDash = scanner.scanChar$1(45);
  31117. if (doubleDash) {
  31118. t1 = A.Primitives_stringFromCharCode(45);
  31119. buffer._contents += t1;
  31120. }
  31121. } else
  31122. doubleDash = false;
  31123. if (!doubleDash)
  31124. $label0$0: {
  31125. _2_0 = scanner.peekChar$0();
  31126. if (_2_0 == null)
  31127. scanner.error$1(0, "The empty string can't be represented as a CSS identifier.");
  31128. if (0 === _2_0)
  31129. scanner.error$1(0, _s52_);
  31130. if (A._isInt(_2_0)) {
  31131. t1 = _2_0 >>> 10 === 54;
  31132. character = _2_0;
  31133. } else {
  31134. character = null;
  31135. t1 = false;
  31136. }
  31137. if (t1) {
  31138. consumeSurrogatePair.call$1(character);
  31139. break $label0$0;
  31140. }
  31141. if (_2_0 >>> 10 === 55)
  31142. scanner.error$2$length(0, _s65_, 1);
  31143. if (_2_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_2_0) || _2_0 >= 128)
  31144. t1 = !(_2_0 >= 57344 && _2_0 <= 63743);
  31145. else
  31146. t1 = false;
  31147. if (t1) {
  31148. t1 = A.Primitives_stringFromCharCode(scanner.readChar$0());
  31149. buffer._contents += t1;
  31150. break $label0$0;
  31151. }
  31152. writeEscape.call$1(scanner.readChar$0());
  31153. }
  31154. for (; true;) {
  31155. _3_0 = scanner.peekChar$0();
  31156. if (_3_0 == null)
  31157. break;
  31158. if (0 === _3_0)
  31159. scanner.error$1(0, _s52_);
  31160. t1 = _3_0 >>> 10 === 54;
  31161. if (t1) {
  31162. consumeSurrogatePair.call$1(_3_0);
  31163. continue;
  31164. }
  31165. if (_3_0 >>> 10 === 55)
  31166. scanner.error$2$length(0, _s65_, 1);
  31167. if (_3_0 !== 95) {
  31168. if (!(_3_0 >= 97 && _3_0 <= 122))
  31169. t1 = _3_0 >= 65 && _3_0 <= 90;
  31170. else
  31171. t1 = true;
  31172. t1 = t1 || _3_0 >= 128;
  31173. } else
  31174. t1 = true;
  31175. if (!t1)
  31176. t1 = _3_0 >= 48 && _3_0 <= 57 || _3_0 === 45;
  31177. else
  31178. t1 = true;
  31179. if (t1)
  31180. t1 = !(_3_0 >= 57344 && _3_0 <= 63743);
  31181. else
  31182. t1 = false;
  31183. if (t1) {
  31184. t1 = A.Primitives_stringFromCharCode(scanner.readChar$0());
  31185. buffer._contents += t1;
  31186. continue;
  31187. }
  31188. writeEscape.call$1(scanner.readChar$0());
  31189. }
  31190. t1 = buffer._contents;
  31191. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31192. },
  31193. StringExtension_toCssIdentifier_writeEscape: function StringExtension_toCssIdentifier_writeEscape(t0, t1) {
  31194. this.buffer = t0;
  31195. this.scanner = t1;
  31196. },
  31197. StringExtension_toCssIdentifier_consumeSurrogatePair: function StringExtension_toCssIdentifier_consumeSurrogatePair(t0, t1, t2) {
  31198. this.scanner = t0;
  31199. this.writeEscape = t1;
  31200. this.buffer = t2;
  31201. },
  31202. stringClass_closure: function stringClass_closure() {
  31203. },
  31204. stringClass__closure: function stringClass__closure() {
  31205. },
  31206. stringClass__closure0: function stringClass__closure0() {
  31207. },
  31208. stringClass__closure1: function stringClass__closure1() {
  31209. },
  31210. stringClass__closure2: function stringClass__closure2() {
  31211. },
  31212. stringClass__closure3: function stringClass__closure3() {
  31213. },
  31214. _ConstructorOptions1: function _ConstructorOptions1() {
  31215. },
  31216. _NodeSassString: function _NodeSassString() {
  31217. },
  31218. legacyStringClass_closure: function legacyStringClass_closure() {
  31219. },
  31220. legacyStringClass_closure0: function legacyStringClass_closure0() {
  31221. },
  31222. legacyStringClass_closure1: function legacyStringClass_closure1() {
  31223. },
  31224. SassString$0(_text, quotes) {
  31225. return new A.SassString0(_text, quotes);
  31226. },
  31227. SassString0: function SassString0(t0, t1) {
  31228. var _ = this;
  31229. _._string0$_text = t0;
  31230. _._string0$_hasQuotes = t1;
  31231. _._string0$__SassString__sassLength_FI = $;
  31232. _._string0$_hashCache = null;
  31233. },
  31234. ModifiableCssStyleRule$0(_selector, span, fromPlainCss, originalSelector) {
  31235. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31236. return new A.ModifiableCssStyleRule0(_selector, originalSelector, span, fromPlainCss, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31237. },
  31238. ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4, t5) {
  31239. var _ = this;
  31240. _._style_rule0$_selector = t0;
  31241. _.originalSelector = t1;
  31242. _.span = t2;
  31243. _.fromPlainCss = t3;
  31244. _.children = t4;
  31245. _._node$_children = t5;
  31246. _._node$_indexInParent = _._node$_parent = null;
  31247. _.isGroupEnd = false;
  31248. },
  31249. StyleRule$0(selector, children, span) {
  31250. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  31251. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  31252. return new A.StyleRule0(selector, span, t1, t2);
  31253. },
  31254. StyleRule0: function StyleRule0(t0, t1, t2, t3) {
  31255. var _ = this;
  31256. _.selector = t0;
  31257. _.span = t1;
  31258. _.children = t2;
  31259. _.hasDeclarations = t3;
  31260. },
  31261. CssStylesheet0: function CssStylesheet0(t0, t1) {
  31262. this.children = t0;
  31263. this.span = t1;
  31264. },
  31265. ModifiableCssStylesheet$0(span) {
  31266. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31267. return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31268. },
  31269. ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
  31270. var _ = this;
  31271. _.span = t0;
  31272. _.children = t1;
  31273. _._node$_children = t2;
  31274. _._node$_indexInParent = _._node$_parent = null;
  31275. _.isGroupEnd = false;
  31276. },
  31277. StylesheetParser0: function StylesheetParser0() {
  31278. },
  31279. StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
  31280. this.$this = t0;
  31281. },
  31282. StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0(t0) {
  31283. this.$this = t0;
  31284. },
  31285. StylesheetParser_parseParameterList_closure0: function StylesheetParser_parseParameterList_closure0(t0) {
  31286. this.$this = t0;
  31287. },
  31288. StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
  31289. this.$this = t0;
  31290. this.production = t1;
  31291. this.T = t2;
  31292. },
  31293. StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
  31294. this.$this = t0;
  31295. this.requireParens = t1;
  31296. },
  31297. StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
  31298. this.$this = t0;
  31299. },
  31300. StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
  31301. this.$this = t0;
  31302. this.start = t1;
  31303. },
  31304. StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
  31305. this.declaration = t0;
  31306. },
  31307. StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0) {
  31308. this.$this = t0;
  31309. },
  31310. StylesheetParser__declarationOrBuffer_closure3: function StylesheetParser__declarationOrBuffer_closure3(t0) {
  31311. this.$this = t0;
  31312. },
  31313. StylesheetParser__declarationOrBuffer_closure4: function StylesheetParser__declarationOrBuffer_closure4(t0) {
  31314. this.$this = t0;
  31315. },
  31316. StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
  31317. var _ = this;
  31318. _._box_0 = t0;
  31319. _.$this = t1;
  31320. _.wasInStyleRule = t2;
  31321. _.start = t3;
  31322. },
  31323. StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0) {
  31324. this.$this = t0;
  31325. },
  31326. StylesheetParser__tryDeclarationChildren_closure0: function StylesheetParser__tryDeclarationChildren_closure0(t0, t1) {
  31327. this.name = t0;
  31328. this.value = t1;
  31329. },
  31330. StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
  31331. this.query = t0;
  31332. },
  31333. StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
  31334. },
  31335. StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
  31336. var _ = this;
  31337. _.$this = t0;
  31338. _.wasInControlDirective = t1;
  31339. _.variables = t2;
  31340. _.list = t3;
  31341. },
  31342. StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
  31343. this.name = t0;
  31344. this.parameters = t1;
  31345. this.precedingComment = t2;
  31346. },
  31347. StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
  31348. this._box_0 = t0;
  31349. this.$this = t1;
  31350. },
  31351. StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
  31352. var _ = this;
  31353. _._box_0 = t0;
  31354. _.$this = t1;
  31355. _.wasInControlDirective = t2;
  31356. _.variable = t3;
  31357. _.from = t4;
  31358. _.to = t5;
  31359. },
  31360. StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
  31361. this.$this = t0;
  31362. this.variables = t1;
  31363. this.identifiers = t2;
  31364. },
  31365. StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
  31366. this.contentParameters_ = t0;
  31367. },
  31368. StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
  31369. this.query = t0;
  31370. },
  31371. StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
  31372. var _ = this;
  31373. _.$this = t0;
  31374. _.name = t1;
  31375. _.parameters = t2;
  31376. _.precedingComment = t3;
  31377. },
  31378. StylesheetParser_mozDocumentRule_closure1: function StylesheetParser_mozDocumentRule_closure1(t0) {
  31379. this.$this = t0;
  31380. },
  31381. StylesheetParser_mozDocumentRule_closure2: function StylesheetParser_mozDocumentRule_closure2(t0, t1, t2, t3) {
  31382. var _ = this;
  31383. _._box_0 = t0;
  31384. _.$this = t1;
  31385. _.name = t2;
  31386. _.value = t3;
  31387. },
  31388. StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
  31389. this.condition = t0;
  31390. },
  31391. StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
  31392. this.$this = t0;
  31393. this.wasInControlDirective = t1;
  31394. this.condition = t2;
  31395. },
  31396. StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
  31397. this._box_0 = t0;
  31398. this.name = t1;
  31399. },
  31400. StylesheetParser__expression_resetState0: function StylesheetParser__expression_resetState0(t0, t1, t2) {
  31401. this._box_0 = t0;
  31402. this.$this = t1;
  31403. this.start = t2;
  31404. },
  31405. StylesheetParser__expression_resolveOneOperation0: function StylesheetParser__expression_resolveOneOperation0(t0, t1) {
  31406. this._box_0 = t0;
  31407. this.$this = t1;
  31408. },
  31409. StylesheetParser__expression_resolveOperations0: function StylesheetParser__expression_resolveOperations0(t0, t1) {
  31410. this._box_0 = t0;
  31411. this.resolveOneOperation = t1;
  31412. },
  31413. StylesheetParser__expression_addSingleExpression0: function StylesheetParser__expression_addSingleExpression0(t0, t1, t2, t3) {
  31414. var _ = this;
  31415. _._box_0 = t0;
  31416. _.$this = t1;
  31417. _.resetState = t2;
  31418. _.resolveOperations = t3;
  31419. },
  31420. StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2) {
  31421. this._box_0 = t0;
  31422. this.$this = t1;
  31423. this.resolveOneOperation = t2;
  31424. },
  31425. StylesheetParser__expression_resolveSpaceExpressions0: function StylesheetParser__expression_resolveSpaceExpressions0(t0, t1, t2) {
  31426. this._box_0 = t0;
  31427. this.$this = t1;
  31428. this.resolveOperations = t2;
  31429. },
  31430. StylesheetParser_expressionUntilComma_closure0: function StylesheetParser_expressionUntilComma_closure0(t0) {
  31431. this.$this = t0;
  31432. },
  31433. StylesheetParser__isHexColor_closure0: function StylesheetParser__isHexColor_closure0() {
  31434. },
  31435. StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
  31436. },
  31437. StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
  31438. },
  31439. StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
  31440. this.$this = t0;
  31441. this.start = t1;
  31442. },
  31443. StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
  31444. },
  31445. StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
  31446. this.$this = t0;
  31447. },
  31448. StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
  31449. this.$this = t0;
  31450. this.start = t1;
  31451. },
  31452. Stylesheet$internal0(children, span, parseTimeWarnings, globalVariables, plainCss) {
  31453. var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
  31454. t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
  31455. t3 = A.ConstantMap_ConstantMap$from(globalVariables, type$.String, type$.FileSpan),
  31456. t4 = A.List_List$unmodifiable(children, type$.Statement_2),
  31457. t5 = B.JSArray_methods.any$1(t4, new A.ParentStatement_closure0());
  31458. 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);
  31459. t1.Stylesheet$internal$5$globalVariables$plainCss0(children, span, parseTimeWarnings, globalVariables, plainCss);
  31460. return t1;
  31461. },
  31462. Stylesheet_Stylesheet$parse0(contents, syntax, url) {
  31463. var error, stackTrace, url0, t1, exception, t2;
  31464. try {
  31465. switch (syntax) {
  31466. case B.Syntax_Sass_sass0:
  31467. 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);
  31468. return t1;
  31469. case B.Syntax_SCSS_scss0:
  31470. t1 = A.ScssParser$0(contents, url).parse$0(0);
  31471. return t1;
  31472. case B.Syntax_CSS_css0:
  31473. 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);
  31474. return t1;
  31475. }
  31476. } catch (exception) {
  31477. t1 = A.unwrapException(exception);
  31478. if (t1 instanceof A.SassException0) {
  31479. error = t1;
  31480. stackTrace = A.getTraceFromException(exception);
  31481. t1 = error;
  31482. t2 = J.getInterceptor$z(t1);
  31483. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  31484. url0 = t1.get$sourceUrl(t1);
  31485. if (url0 == null || J.toString$0$(url0) === "stdin")
  31486. throw exception;
  31487. t1 = type$.Uri;
  31488. throw A.wrapException(A.throwWithTrace0(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  31489. } else
  31490. throw exception;
  31491. }
  31492. },
  31493. Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5, t6, t7) {
  31494. var _ = this;
  31495. _.span = t0;
  31496. _.plainCss = t1;
  31497. _._stylesheet1$_uses = t2;
  31498. _._stylesheet1$_forwards = t3;
  31499. _.parseTimeWarnings = t4;
  31500. _.globalVariables = t5;
  31501. _.children = t6;
  31502. _.hasDeclarations = t7;
  31503. },
  31504. SupportsExpression0: function SupportsExpression0(t0) {
  31505. this.condition = t0;
  31506. },
  31507. ModifiableCssSupportsRule$0(condition, span) {
  31508. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31509. return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31510. },
  31511. ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
  31512. var _ = this;
  31513. _.condition = t0;
  31514. _.span = t1;
  31515. _.children = t2;
  31516. _._node$_children = t3;
  31517. _._node$_indexInParent = _._node$_parent = null;
  31518. _.isGroupEnd = false;
  31519. },
  31520. SupportsRule$0(condition, children, span) {
  31521. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  31522. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  31523. return new A.SupportsRule0(condition, span, t1, t2);
  31524. },
  31525. SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
  31526. var _ = this;
  31527. _.condition = t0;
  31528. _.span = t1;
  31529. _.children = t2;
  31530. _.hasDeclarations = t3;
  31531. },
  31532. JSToDartImporter: function JSToDartImporter(t0, t1, t2) {
  31533. this._sync$_canonicalize = t0;
  31534. this._sync$_load = t1;
  31535. this._sync$_nonCanonicalSchemes = t2;
  31536. },
  31537. JSToDartImporter_canonicalize_closure: function JSToDartImporter_canonicalize_closure(t0, t1) {
  31538. this.$this = t0;
  31539. this.url = t1;
  31540. },
  31541. JSToDartImporter_load_closure: function JSToDartImporter_load_closure(t0, t1) {
  31542. this.$this = t0;
  31543. this.url = t1;
  31544. },
  31545. Syntax_forPath0(path) {
  31546. var t1,
  31547. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  31548. $label0$0: {
  31549. if (".sass" === _0_0) {
  31550. t1 = B.Syntax_Sass_sass0;
  31551. break $label0$0;
  31552. }
  31553. if (".css" === _0_0) {
  31554. t1 = B.Syntax_CSS_css0;
  31555. break $label0$0;
  31556. }
  31557. t1 = B.Syntax_SCSS_scss0;
  31558. break $label0$0;
  31559. }
  31560. return t1;
  31561. },
  31562. Syntax0: function Syntax0(t0, t1) {
  31563. this._syntax0$_name = t0;
  31564. this._name = t1;
  31565. },
  31566. TypeSelector0: function TypeSelector0(t0, t1) {
  31567. this.name = t0;
  31568. this.span = t1;
  31569. },
  31570. Types: function Types() {
  31571. },
  31572. UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
  31573. this.operator = t0;
  31574. this.operand = t1;
  31575. this.span = t2;
  31576. },
  31577. UnaryOperator0: function UnaryOperator0(t0, t1, t2) {
  31578. this.name = t0;
  31579. this.operator = t1;
  31580. this._name = t2;
  31581. },
  31582. UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
  31583. this._number1$_value = t0;
  31584. this.hashCache = null;
  31585. this.asSlash = t1;
  31586. },
  31587. UniversalSelector0: function UniversalSelector0(t0, t1) {
  31588. this.namespace = t0;
  31589. this.span = t1;
  31590. },
  31591. UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
  31592. this._unprefixed_map_view0$_map = t0;
  31593. this._unprefixed_map_view0$_prefix = t1;
  31594. this.$ti = t2;
  31595. },
  31596. _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
  31597. this._unprefixed_map_view0$_view = t0;
  31598. },
  31599. _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
  31600. this.$this = t0;
  31601. },
  31602. _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
  31603. this.$this = t0;
  31604. },
  31605. JSUrl0: function JSUrl0() {
  31606. },
  31607. UseRule0: function UseRule0(t0, t1, t2, t3) {
  31608. var _ = this;
  31609. _.url = t0;
  31610. _.namespace = t1;
  31611. _.configuration = t2;
  31612. _.span = t3;
  31613. },
  31614. UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
  31615. var _ = this;
  31616. _.declaration = t0;
  31617. _.environment = t1;
  31618. _.inDependency = t2;
  31619. _.$ti = t3;
  31620. },
  31621. fromImport0() {
  31622. var t1 = type$.nullable_CanonicalizeContext_2._as($.Zone__current.$index(0, B.Symbol__canonicalizeContext));
  31623. t1 = t1 == null ? null : t1._canonicalize_context$_fromImport;
  31624. return t1 === true;
  31625. },
  31626. canonicalizeContext0() {
  31627. var t1,
  31628. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  31629. $label0$0: {
  31630. if (_0_0 == null)
  31631. A.throwExpression(A.StateError$(string$.canoni));
  31632. if (_0_0 instanceof A.CanonicalizeContext0) {
  31633. t1 = _0_0;
  31634. break $label0$0;
  31635. }
  31636. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  31637. }
  31638. return t1;
  31639. },
  31640. inImportRule(callback, $T) {
  31641. var t1,
  31642. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  31643. $label0$0: {
  31644. if (_0_0 == null) {
  31645. t1 = type$.nullable_Object;
  31646. t1 = A.runZoned(callback, A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, new A.CanonicalizeContext0(true, null)], t1, t1), $T);
  31647. break $label0$0;
  31648. }
  31649. if (_0_0 instanceof A.CanonicalizeContext0) {
  31650. t1 = _0_0.withFromImport$2(true, callback);
  31651. break $label0$0;
  31652. }
  31653. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  31654. }
  31655. return t1;
  31656. },
  31657. resolveImportPath0(path) {
  31658. var t1,
  31659. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  31660. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  31661. t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
  31662. return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
  31663. }
  31664. t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
  31665. if (t1 == null)
  31666. t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
  31667. return t1 == null ? A._tryPathAsDirectory0(path) : t1;
  31668. },
  31669. _tryPathWithExtensions0(path) {
  31670. var result = A._tryPath0(path + ".sass");
  31671. B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
  31672. return result.length !== 0 ? result : A._tryPath0(path + ".css");
  31673. },
  31674. _tryPath0(path) {
  31675. var t1 = $.$get$context(),
  31676. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  31677. t1 = A._setArrayType([], type$.JSArray_String);
  31678. if (A.fileExists0(partial))
  31679. t1.push(partial);
  31680. if (A.fileExists0(path))
  31681. t1.push(path);
  31682. return t1;
  31683. },
  31684. _tryPathAsDirectory0(path) {
  31685. var t1;
  31686. if (!A.dirExists0(path))
  31687. return null;
  31688. t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
  31689. return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
  31690. },
  31691. _exactlyOne0(paths) {
  31692. var _0_1, t1, path;
  31693. $label0$0: {
  31694. _0_1 = paths.length;
  31695. if (_0_1 <= 0) {
  31696. t1 = null;
  31697. break $label0$0;
  31698. }
  31699. if (_0_1 === 1) {
  31700. path = paths[0];
  31701. t1 = path;
  31702. break $label0$0;
  31703. }
  31704. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
  31705. }
  31706. return t1;
  31707. },
  31708. resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
  31709. this.path = t0;
  31710. this.extension = t1;
  31711. },
  31712. resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
  31713. this.path = t0;
  31714. },
  31715. _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
  31716. this.path = t0;
  31717. },
  31718. _exactlyOne_closure0: function _exactlyOne_closure0() {
  31719. },
  31720. jsThrow(error) {
  31721. return type$.Never._as($.$get$_jsThrow().call$1(error));
  31722. },
  31723. attachJsStack(error, trace) {
  31724. var traceString = trace.toString$0(0),
  31725. firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
  31726. if (firstRealLine !== -1)
  31727. traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
  31728. error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
  31729. },
  31730. jsForEach(object, callback) {
  31731. var t1, t2;
  31732. for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
  31733. t2 = t1.get$current(t1);
  31734. callback.call$2(t2, object[t2]);
  31735. }
  31736. },
  31737. jsType(value) {
  31738. var typeOf = A._asString(new self.Function("value", "return typeof value").call$1(value));
  31739. 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));
  31740. },
  31741. defineGetter(object, $name, get, value) {
  31742. self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
  31743. },
  31744. allowInteropNamed($name, $function) {
  31745. $function = A.allowInterop($function);
  31746. A.defineGetter($function, "name", null, $name);
  31747. A._hideDartProperties($function);
  31748. return $function;
  31749. },
  31750. allowInteropCaptureThisNamed($name, $function) {
  31751. $function = A.allowInteropCaptureThis($function);
  31752. A.defineGetter($function, "name", null, $name);
  31753. A._hideDartProperties($function);
  31754. return $function;
  31755. },
  31756. _hideDartProperties(object) {
  31757. var t1, t2, t3, t4;
  31758. 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();) {
  31759. t3 = t1.__internal$_current;
  31760. if (t3 == null)
  31761. t3 = t2._as(t3);
  31762. if (B.JSString_methods.startsWith$1(t3, "_")) {
  31763. t4 = {value: object[t3], enumerable: false};
  31764. self.Object.defineProperty(object, t3, t4);
  31765. }
  31766. }
  31767. },
  31768. futureToPromise0(future) {
  31769. return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
  31770. },
  31771. jsToDartUrl(url) {
  31772. return A.Uri_parse(J.toString$0$(url));
  31773. },
  31774. dartToJSUrl(url) {
  31775. return new self.URL(url.toString$0(0));
  31776. },
  31777. toJSArray(iterable) {
  31778. var t1, t2,
  31779. array = new self.Array();
  31780. for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
  31781. t2.push$1(array, t1.get$current(t1));
  31782. return array;
  31783. },
  31784. objectToMap(object) {
  31785. var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
  31786. A.jsForEach(object, new A.objectToMap_closure(map));
  31787. return map;
  31788. },
  31789. mapToObject(map) {
  31790. var t1, t2,
  31791. result = new self.Object();
  31792. for (t1 = A.MapExtensions_get_pairs0(map, type$.String, type$.nullable_Object), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  31793. t2 = t1.get$current(t1);
  31794. result[t2._0] = t2._1;
  31795. }
  31796. return result;
  31797. },
  31798. jsToDartSeparator(separator) {
  31799. var t1;
  31800. $label0$0: {
  31801. if (" " === separator) {
  31802. t1 = B.ListSeparator_qSL0;
  31803. break $label0$0;
  31804. }
  31805. if ("," === separator) {
  31806. t1 = B.ListSeparator_qVN0;
  31807. break $label0$0;
  31808. }
  31809. if ("/" === separator) {
  31810. t1 = B.ListSeparator_bRz0;
  31811. break $label0$0;
  31812. }
  31813. if (separator == null) {
  31814. t1 = B.ListSeparator_undecided_null_undecided0;
  31815. break $label0$0;
  31816. }
  31817. t1 = A.jsThrow(new self.Error('Unknown separator "' + separator + '".'));
  31818. }
  31819. return t1;
  31820. },
  31821. parseSyntax(syntax) {
  31822. var t1;
  31823. $label0$0: {
  31824. if (syntax == null || "scss" === syntax) {
  31825. t1 = B.Syntax_SCSS_scss0;
  31826. break $label0$0;
  31827. }
  31828. if ("indented" === syntax) {
  31829. t1 = B.Syntax_Sass_sass0;
  31830. break $label0$0;
  31831. }
  31832. if ("css" === syntax) {
  31833. t1 = B.Syntax_CSS_css0;
  31834. break $label0$0;
  31835. }
  31836. t1 = A.jsThrow(new self.Error('Unknown syntax "' + A.S(syntax) + '".'));
  31837. }
  31838. return t1;
  31839. },
  31840. entrypointFilename() {
  31841. var _1_0, _1_5_isSet, _1_5, t2, path,
  31842. t1 = self.require.main,
  31843. _0_0 = t1 == null ? null : J.get$filename$x(t1);
  31844. if (_0_0 != null)
  31845. return _0_0;
  31846. else {
  31847. _1_0 = J.get$argv$x(self.process);
  31848. t1 = J.getInterceptor$asx(_1_0);
  31849. _1_5_isSet = t1.get$length(_1_0) >= 2;
  31850. if (_1_5_isSet) {
  31851. _1_5 = t1.$index(_1_0, 1);
  31852. t2 = typeof _1_5 == "string";
  31853. } else {
  31854. _1_5 = null;
  31855. t2 = false;
  31856. }
  31857. if (t2) {
  31858. path = A._asString(_1_5_isSet ? _1_5 : t1.$index(_1_0, 1));
  31859. return J.resolve$1$x(J.createRequire$1$x(self.nodeModule, path), path);
  31860. } else
  31861. return null;
  31862. }
  31863. },
  31864. _PropertyDescriptor0: function _PropertyDescriptor0() {
  31865. },
  31866. futureToPromise_closure0: function futureToPromise_closure0(t0) {
  31867. this.future = t0;
  31868. },
  31869. futureToPromise__closure0: function futureToPromise__closure0(t0) {
  31870. this.resolve = t0;
  31871. },
  31872. futureToPromise__closure1: function futureToPromise__closure1(t0) {
  31873. this.reject = t0;
  31874. },
  31875. objectToMap_closure: function objectToMap_closure(t0) {
  31876. this.map = t0;
  31877. },
  31878. _RequireMain0: function _RequireMain0() {
  31879. },
  31880. toSentence0(iter, conjunction) {
  31881. if (iter.get$length(iter) === 1)
  31882. return J.toString$0$(iter.get$first(iter));
  31883. return A.IterableExtension_get_exceptLast0(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  31884. },
  31885. indent0(string, indentation) {
  31886. 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");
  31887. },
  31888. pluralize0($name, number, plural) {
  31889. if (number === 1)
  31890. return $name;
  31891. if (plural != null)
  31892. return plural;
  31893. return $name + "s";
  31894. },
  31895. trimAscii0(string, excludeEscape) {
  31896. var t1,
  31897. start = A._firstNonWhitespace0(string);
  31898. if (start == null)
  31899. t1 = "";
  31900. else {
  31901. t1 = A._lastNonWhitespace0(string, true);
  31902. t1.toString;
  31903. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  31904. }
  31905. return t1;
  31906. },
  31907. trimAsciiRight0(string, excludeEscape) {
  31908. var end = A._lastNonWhitespace0(string, excludeEscape);
  31909. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  31910. },
  31911. _firstNonWhitespace0(string) {
  31912. var t1, i, t2;
  31913. for (t1 = string.length, i = 0; i < t1; ++i) {
  31914. t2 = string.charCodeAt(i);
  31915. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  31916. return i;
  31917. }
  31918. return null;
  31919. },
  31920. _lastNonWhitespace0(string, excludeEscape) {
  31921. var i, i0, codeUnit;
  31922. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  31923. codeUnit = string.charCodeAt(i0);
  31924. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  31925. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  31926. return i0 + 1;
  31927. else
  31928. return i0;
  31929. }
  31930. return null;
  31931. },
  31932. isPublic0(member) {
  31933. var start = member.charCodeAt(0);
  31934. return start !== 45 && start !== 95;
  31935. },
  31936. flattenVertically0(iterable, $T) {
  31937. var result, flags,
  31938. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  31939. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), true, t1._eval$1("ListIterable.E"));
  31940. if (queues.length === 1)
  31941. return B.JSArray_methods.get$first(queues);
  31942. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  31943. for (flags = queues.$flags | 0; queues.length !== 0;) {
  31944. flags & 1 && A.throwUnsupportedOperation(queues, 16);
  31945. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
  31946. }
  31947. return result;
  31948. },
  31949. codepointIndexToCodeUnitIndex0(string, codepointIndex) {
  31950. var codeUnitIndex, i, codeUnitIndex0;
  31951. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  31952. codeUnitIndex0 = codeUnitIndex + 1;
  31953. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  31954. }
  31955. return codeUnitIndex;
  31956. },
  31957. codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
  31958. var codepointIndex, i;
  31959. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  31960. ++codepointIndex;
  31961. return codepointIndex;
  31962. },
  31963. frameForSpan0(span, member, url) {
  31964. var t2, t3,
  31965. t1 = url == null ? span.get$sourceUrl(span) : url;
  31966. if (t1 == null)
  31967. t1 = $.$get$_noSourceUrl0();
  31968. t2 = span.get$start(span);
  31969. t2 = t2.file.getLine$1(t2.offset);
  31970. t3 = span.get$start(span);
  31971. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  31972. },
  31973. declarationName0(span) {
  31974. var text = span.get$text();
  31975. return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  31976. },
  31977. unvendor0($name) {
  31978. var i,
  31979. t1 = $name.length;
  31980. if (t1 < 2)
  31981. return $name;
  31982. if ($name.charCodeAt(0) !== 45)
  31983. return $name;
  31984. if ($name.charCodeAt(1) === 45)
  31985. return $name;
  31986. for (i = 2; i < t1; ++i)
  31987. if ($name.charCodeAt(i) === 45)
  31988. return B.JSString_methods.substring$1($name, i + 1);
  31989. return $name;
  31990. },
  31991. equalsIgnoreCase0(string1, string2) {
  31992. var t1, i;
  31993. if (string1 === string2)
  31994. return true;
  31995. if (string1 == null)
  31996. return false;
  31997. t1 = string1.length;
  31998. if (t1 !== string2.length)
  31999. return false;
  32000. for (i = 0; i < t1; ++i)
  32001. if (!A.characterEqualsIgnoreCase0(string1.charCodeAt(i), string2.charCodeAt(i)))
  32002. return false;
  32003. return true;
  32004. },
  32005. startsWithIgnoreCase0(string, prefix) {
  32006. var i,
  32007. t1 = prefix.length;
  32008. if (string.length < t1)
  32009. return false;
  32010. for (i = 0; i < t1; ++i)
  32011. if (!A.characterEqualsIgnoreCase0(string.charCodeAt(i), prefix.charCodeAt(i)))
  32012. return false;
  32013. return true;
  32014. },
  32015. mapInPlace0(list, $function) {
  32016. var i;
  32017. for (i = 0; i < list.length; ++i)
  32018. list[i] = $function.call$1(list[i]);
  32019. },
  32020. longestCommonSubsequence0(list1, list2, select, $T) {
  32021. var t1, _i, selections, i, i0, j, selection, j0,
  32022. _length = list1.get$length(0) + 1,
  32023. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  32024. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  32025. 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);
  32026. _length = list1.get$length(0);
  32027. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  32028. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  32029. 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);
  32030. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  32031. 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) {
  32032. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  32033. selections[i][j] = selection;
  32034. t1 = lengths[i0];
  32035. j0 = j + 1;
  32036. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  32037. }
  32038. return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  32039. },
  32040. removeFirstWhere0(list, test, orElse) {
  32041. var i;
  32042. for (i = 0; i < list.length; ++i) {
  32043. if (!test.call$1(list[i]))
  32044. continue;
  32045. B.JSArray_methods.removeAt$1(list, i);
  32046. return;
  32047. }
  32048. orElse.call$0();
  32049. },
  32050. mapAddAll20(destination, source, K1, K2, $V) {
  32051. source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
  32052. },
  32053. setAll0(map, keys, value) {
  32054. var t1;
  32055. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  32056. map.$indexSet(0, t1.get$current(t1), value);
  32057. },
  32058. rotateSlice0(list, start, end) {
  32059. var i, next,
  32060. element = list.$index(0, end - 1);
  32061. for (i = start; i < end; ++i, element = next) {
  32062. next = list.$index(0, i);
  32063. list.$indexSet(0, i, element);
  32064. }
  32065. },
  32066. mapAsync0(iterable, callback, $E, $F) {
  32067. return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  32068. },
  32069. mapAsync$body0(iterable, callback, $E, $F, $async$type) {
  32070. var $async$goto = 0,
  32071. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  32072. $async$returnValue, t2, _i, t1, $async$temp1;
  32073. var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32074. if ($async$errorCode === 1)
  32075. return A._asyncRethrow($async$result, $async$completer);
  32076. while (true)
  32077. switch ($async$goto) {
  32078. case 0:
  32079. // Function start
  32080. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  32081. t2 = iterable.length, _i = 0;
  32082. case 3:
  32083. // for condition
  32084. if (!(_i < t2)) {
  32085. // goto after for
  32086. $async$goto = 5;
  32087. break;
  32088. }
  32089. $async$temp1 = t1;
  32090. $async$goto = 6;
  32091. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
  32092. case 6:
  32093. // returning from await.
  32094. $async$temp1.push($async$result);
  32095. case 4:
  32096. // for update
  32097. ++_i;
  32098. // goto for condition
  32099. $async$goto = 3;
  32100. break;
  32101. case 5:
  32102. // after for
  32103. $async$returnValue = t1;
  32104. // goto return
  32105. $async$goto = 1;
  32106. break;
  32107. case 1:
  32108. // return
  32109. return A._asyncReturn($async$returnValue, $async$completer);
  32110. }
  32111. });
  32112. return A._asyncStartSync($async$mapAsync0, $async$completer);
  32113. },
  32114. putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
  32115. return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
  32116. },
  32117. putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
  32118. var $async$goto = 0,
  32119. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  32120. $async$returnValue, t1, value;
  32121. var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32122. if ($async$errorCode === 1)
  32123. return A._asyncRethrow($async$result, $async$completer);
  32124. while (true)
  32125. switch ($async$goto) {
  32126. case 0:
  32127. // Function start
  32128. if (map.containsKey$1(key)) {
  32129. t1 = map.$index(0, key);
  32130. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  32131. // goto return
  32132. $async$goto = 1;
  32133. break;
  32134. }
  32135. $async$goto = 3;
  32136. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
  32137. case 3:
  32138. // returning from await.
  32139. value = $async$result;
  32140. map.$indexSet(0, key, value);
  32141. $async$returnValue = value;
  32142. // goto return
  32143. $async$goto = 1;
  32144. break;
  32145. case 1:
  32146. // return
  32147. return A._asyncReturn($async$returnValue, $async$completer);
  32148. }
  32149. });
  32150. return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
  32151. },
  32152. copyMapOfMap0(map, K1, K2, $V) {
  32153. var t3, key, child,
  32154. t1 = K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  32155. t2 = A.LinkedHashMap_LinkedHashMap$_empty(K1, t1);
  32156. for (t1 = A.MapExtensions_get_pairs0(map, K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  32157. t3 = t1.get$current(t1);
  32158. key = t3._0;
  32159. child = t3._1;
  32160. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  32161. t3.addAll$1(0, child);
  32162. t2.$indexSet(0, key, t3);
  32163. }
  32164. return t2;
  32165. },
  32166. copyMapOfList0(map, $K, $E) {
  32167. var t3,
  32168. t1 = $E._eval$1("List<0>"),
  32169. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  32170. for (t1 = A.MapExtensions_get_pairs0(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  32171. t3 = t1.get$current(t1);
  32172. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  32173. }
  32174. return t2;
  32175. },
  32176. consumeEscapedCharacter0(scanner) {
  32177. var _1_0, value, i, next, t1;
  32178. scanner.expectChar$1(92);
  32179. _1_0 = scanner.peekChar$0();
  32180. if (_1_0 == null)
  32181. return 65533;
  32182. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  32183. scanner.error$1(0, "Expected escape sequence.");
  32184. if (A.CharacterExtension_get_isHex0(_1_0)) {
  32185. for (value = 0, i = 0; i < 6; ++i) {
  32186. next = scanner.peekChar$0();
  32187. if (next != null) {
  32188. t1 = true;
  32189. if (!(next >= 48 && next <= 57))
  32190. if (!(next >= 97 && next <= 102))
  32191. t1 = next >= 65 && next <= 70;
  32192. t1 = !t1;
  32193. } else
  32194. t1 = true;
  32195. if (t1)
  32196. break;
  32197. value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
  32198. }
  32199. t1 = scanner.peekChar$0();
  32200. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  32201. scanner.readChar$0();
  32202. $label0$1: {
  32203. if (0 !== value)
  32204. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  32205. else
  32206. t1 = true;
  32207. if (t1) {
  32208. t1 = 65533;
  32209. break $label0$1;
  32210. }
  32211. t1 = value;
  32212. break $label0$1;
  32213. }
  32214. return t1;
  32215. }
  32216. return scanner.readChar$0();
  32217. },
  32218. throwWithTrace0(error, originalError, trace) {
  32219. var t1 = A.getTrace0(originalError);
  32220. A.attachTrace0(error, t1 == null ? trace : t1);
  32221. throw A.wrapException(error);
  32222. },
  32223. attachTrace0(error, trace) {
  32224. var t1;
  32225. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  32226. return;
  32227. if (trace.toString$0(0).length === 0)
  32228. return;
  32229. t1 = $.$get$_traces0();
  32230. A.Expando__checkType(error);
  32231. if (t1._jsWeakMap.get(error) == null)
  32232. t1.$indexSet(0, error, trace);
  32233. },
  32234. getTrace0(error) {
  32235. var t1;
  32236. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  32237. t1 = null;
  32238. else {
  32239. t1 = $.$get$_traces0();
  32240. A.Expando__checkType(error);
  32241. t1 = t1._jsWeakMap.get(error);
  32242. }
  32243. return t1;
  32244. },
  32245. parseSignature(signature, requireParens) {
  32246. var error, stackTrace, t1, exception, t2;
  32247. try {
  32248. t1 = A.ScssParser$0(signature, null).parseSignature$1$requireParens(requireParens);
  32249. return t1;
  32250. } catch (exception) {
  32251. t1 = A.unwrapException(exception);
  32252. if (type$.SassFormatException_2._is(t1)) {
  32253. error = t1;
  32254. stackTrace = A.getTraceFromException(exception);
  32255. t1 = error._span_exception$_message;
  32256. t2 = J.get$span$z(error);
  32257. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, 'Invalid signature "' + signature + '": ' + t1, t2), error, stackTrace);
  32258. } else
  32259. throw exception;
  32260. }
  32261. },
  32262. indent_closure0: function indent_closure0(t0) {
  32263. this.indentation = t0;
  32264. },
  32265. flattenVertically_closure1: function flattenVertically_closure1(t0) {
  32266. this.T = t0;
  32267. },
  32268. flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
  32269. this.result = t0;
  32270. this.T = t1;
  32271. },
  32272. longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
  32273. this.selections = t0;
  32274. this.lengths = t1;
  32275. this.T = t2;
  32276. },
  32277. mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
  32278. var _ = this;
  32279. _.destination = t0;
  32280. _.K1 = t1;
  32281. _.K2 = t2;
  32282. _.V = t3;
  32283. },
  32284. CssValue0: function CssValue0(t0, t1, t2) {
  32285. this.value = t0;
  32286. this.span = t1;
  32287. this.$ti = t2;
  32288. },
  32289. ValueExpression0: function ValueExpression0(t0, t1) {
  32290. this.value = t0;
  32291. this.span = t1;
  32292. },
  32293. valueClass_closure: function valueClass_closure() {
  32294. },
  32295. valueClass__closure: function valueClass__closure() {
  32296. },
  32297. valueClass__closure0: function valueClass__closure0() {
  32298. },
  32299. valueClass__closure1: function valueClass__closure1() {
  32300. },
  32301. valueClass__closure2: function valueClass__closure2() {
  32302. },
  32303. valueClass__closure3: function valueClass__closure3() {
  32304. },
  32305. valueClass__closure4: function valueClass__closure4() {
  32306. },
  32307. valueClass__closure5: function valueClass__closure5() {
  32308. },
  32309. valueClass__closure6: function valueClass__closure6() {
  32310. },
  32311. valueClass__closure7: function valueClass__closure7() {
  32312. },
  32313. valueClass__closure8: function valueClass__closure8() {
  32314. },
  32315. valueClass__closure9: function valueClass__closure9() {
  32316. },
  32317. valueClass__closure10: function valueClass__closure10() {
  32318. },
  32319. valueClass__closure11: function valueClass__closure11() {
  32320. },
  32321. valueClass__closure12: function valueClass__closure12() {
  32322. },
  32323. valueClass__closure13: function valueClass__closure13() {
  32324. },
  32325. valueClass__closure14: function valueClass__closure14() {
  32326. },
  32327. valueClass__closure15: function valueClass__closure15() {
  32328. },
  32329. valueClass__closure16: function valueClass__closure16() {
  32330. },
  32331. valueClass__closure17: function valueClass__closure17() {
  32332. },
  32333. valueClass__closure18: function valueClass__closure18() {
  32334. },
  32335. SassApiValue_assertSelector0(_this, allowParent, $name) {
  32336. var error, stackTrace, t1, exception,
  32337. string = _this._value$_selectorString$1($name);
  32338. try {
  32339. t1 = A.SelectorList_SelectorList$parse0(string, allowParent, null, false);
  32340. return t1;
  32341. } catch (exception) {
  32342. t1 = A.unwrapException(exception);
  32343. if (type$.SassFormatException_2._is(t1)) {
  32344. error = t1;
  32345. stackTrace = A.getTraceFromException(exception);
  32346. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  32347. A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  32348. } else
  32349. throw exception;
  32350. }
  32351. },
  32352. SassApiValue_assertCompoundSelector0(_this, $name) {
  32353. var error, stackTrace, t1, exception,
  32354. allowParent = false,
  32355. string = _this._value$_selectorString$1($name);
  32356. try {
  32357. t1 = new A.SelectorParser0(allowParent, false, A.SpanScanner$(string, null), null).parseCompoundSelector$0();
  32358. return t1;
  32359. } catch (exception) {
  32360. t1 = A.unwrapException(exception);
  32361. if (type$.SassFormatException_2._is(t1)) {
  32362. error = t1;
  32363. stackTrace = A.getTraceFromException(exception);
  32364. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  32365. A.throwWithTrace0(new A.SassScriptException0("$" + $name + ": " + t1), error, stackTrace);
  32366. } else
  32367. throw exception;
  32368. }
  32369. },
  32370. Value0: function Value0() {
  32371. },
  32372. VariableExpression0: function VariableExpression0(t0, t1, t2) {
  32373. this.namespace = t0;
  32374. this.name = t1;
  32375. this.span = t2;
  32376. },
  32377. VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
  32378. if (namespace != null && global)
  32379. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  32380. return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
  32381. },
  32382. VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
  32383. var _ = this;
  32384. _.namespace = t0;
  32385. _.name = t1;
  32386. _.expression = t2;
  32387. _.isGuarded = t3;
  32388. _.isGlobal = t4;
  32389. _.span = t5;
  32390. },
  32391. WarnRule0: function WarnRule0(t0, t1) {
  32392. this.expression = t0;
  32393. this.span = t1;
  32394. },
  32395. WhileRule$0(condition, children, span) {
  32396. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  32397. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  32398. return new A.WhileRule0(condition, span, t1, t2);
  32399. },
  32400. WhileRule0: function WhileRule0(t0, t1, t2, t3) {
  32401. var _ = this;
  32402. _.condition = t0;
  32403. _.span = t1;
  32404. _.children = t2;
  32405. _.hasDeclarations = t3;
  32406. },
  32407. XyzD50ColorSpace0: function XyzD50ColorSpace0(t0, t1) {
  32408. this.name = t0;
  32409. this._space$_channels = t1;
  32410. },
  32411. XyzD65ColorSpace0: function XyzD65ColorSpace0(t0, t1) {
  32412. this.name = t0;
  32413. this._space$_channels = t1;
  32414. },
  32415. AsyncCallable_AsyncCallable$fromSignature(signature, callback, requireParens) {
  32416. var _0_0 = A.parseSignature(signature, requireParens);
  32417. return new A.AsyncBuiltInCallable0(_0_0._0, _0_0._1, callback, false);
  32418. },
  32419. Callable_Callable$fromSignature(signature, callback, requireParens) {
  32420. var _0_0 = A.parseSignature(signature, requireParens);
  32421. 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);
  32422. },
  32423. printString(string) {
  32424. if (typeof dartPrint == "function") {
  32425. dartPrint(string);
  32426. return;
  32427. }
  32428. if (typeof console == "object" && typeof console.log != "undefined") {
  32429. console.log(string);
  32430. return;
  32431. }
  32432. if (typeof print == "function") {
  32433. print(string);
  32434. return;
  32435. }
  32436. throw "Unable to print message: " + String(string);
  32437. },
  32438. mergeMaps(map1, map2, $K, $V) {
  32439. var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
  32440. result.addAll$1(0, map2);
  32441. return result;
  32442. },
  32443. groupBy(values, key, $S, $T) {
  32444. var t1, t2, _i, element, t3, t4,
  32445. map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
  32446. for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
  32447. element = values[_i];
  32448. t3 = key.call$1(element);
  32449. t4 = map.$index(0, t3);
  32450. if (t4 == null) {
  32451. t4 = A._setArrayType([], t2);
  32452. map.$indexSet(0, t3, t4);
  32453. t3 = t4;
  32454. } else
  32455. t3 = t4;
  32456. J.add$1$ax(t3, element);
  32457. }
  32458. return map;
  32459. },
  32460. minBy(values, orderBy) {
  32461. var t1, t2, minValue, minOrderBy, element, elementOrderBy;
  32462. 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();) {
  32463. element = t2.__internal$_current;
  32464. if (element == null)
  32465. element = t1._as(element);
  32466. elementOrderBy = orderBy.call$1(element);
  32467. if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
  32468. minOrderBy = elementOrderBy;
  32469. minValue = element;
  32470. }
  32471. }
  32472. return minValue;
  32473. },
  32474. IterableExtension_firstWhereOrNull(_this, test) {
  32475. var t1, element;
  32476. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  32477. element = t1.get$current(t1);
  32478. if (test.call$1(element))
  32479. return element;
  32480. }
  32481. return null;
  32482. },
  32483. IterableExtension_get_firstOrNull(_this) {
  32484. var iterator = J.get$iterator$ax(_this);
  32485. if (iterator.moveNext$0())
  32486. return iterator.get$current(iterator);
  32487. return null;
  32488. },
  32489. IterableExtension_get_lastOrNull(_this) {
  32490. if (_this.get$length(0) === 0)
  32491. return null;
  32492. return _this.get$last(_this);
  32493. },
  32494. IterableExtension_get_singleOrNull(_this) {
  32495. var result,
  32496. iterator = J.get$iterator$ax(_this);
  32497. if (iterator.moveNext$0()) {
  32498. result = iterator.get$current(iterator);
  32499. if (!iterator.moveNext$0())
  32500. return result;
  32501. }
  32502. return null;
  32503. },
  32504. IterableIntegerExtension_get_maxOrNull(_this) {
  32505. var value, newValue,
  32506. iterator = _this.get$iterator(_this);
  32507. if (iterator.moveNext$0()) {
  32508. value = iterator.get$current(iterator);
  32509. for (; iterator.moveNext$0();) {
  32510. newValue = iterator.get$current(iterator);
  32511. if (newValue > value)
  32512. value = newValue;
  32513. }
  32514. return value;
  32515. }
  32516. return null;
  32517. },
  32518. IterableIntegerExtension_get_max(_this) {
  32519. var t1 = A.IterableIntegerExtension_get_maxOrNull(_this);
  32520. return t1 == null ? A.throwExpression(A.StateError$("No element")) : t1;
  32521. },
  32522. IterableIntegerExtension_get_sum(_this) {
  32523. var t1, t2, result, t3;
  32524. 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();) {
  32525. t3 = t2.__internal$_current;
  32526. result += t3 == null ? t1._as(t3) : t3;
  32527. }
  32528. return result;
  32529. },
  32530. ListExtensions_mapIndexed(_this, convert, $E, $R) {
  32531. return new A._SyncStarIterable(A.ListExtensions_mapIndexed$body(_this, convert, $E, $R), $R._eval$1("_SyncStarIterable<0>"));
  32532. },
  32533. ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R) {
  32534. return function() {
  32535. var _this = $async$_this,
  32536. convert = $async$convert,
  32537. $E = $async$$E,
  32538. $R = $async$$R;
  32539. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, index;
  32540. return function $async$ListExtensions_mapIndexed($async$iterator, $async$errorCode, $async$result) {
  32541. if ($async$errorCode === 1) {
  32542. $async$errorStack.push($async$result);
  32543. $async$goto = $async$handler;
  32544. }
  32545. while (true)
  32546. switch ($async$goto) {
  32547. case 0:
  32548. // Function start
  32549. t1 = _this.length, index = 0;
  32550. case 2:
  32551. // for condition
  32552. if (!(index < t1)) {
  32553. // goto after for
  32554. $async$goto = 4;
  32555. break;
  32556. }
  32557. $async$goto = 5;
  32558. return $async$iterator._async$_current = convert.call$2(index, _this[index]), 1;
  32559. case 5:
  32560. // after yield
  32561. case 3:
  32562. // for update
  32563. ++index;
  32564. // goto for condition
  32565. $async$goto = 2;
  32566. break;
  32567. case 4:
  32568. // after for
  32569. // implicit return
  32570. return 0;
  32571. case 1:
  32572. // rethrow
  32573. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  32574. }
  32575. };
  32576. };
  32577. },
  32578. ListExtensions_elementAtOrNull(_this, index) {
  32579. var t1 = J.getInterceptor$asx(_this);
  32580. return index < t1.get$length(_this) ? t1.$index(_this, index) : null;
  32581. },
  32582. defaultCompare(value1, value2) {
  32583. return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
  32584. },
  32585. current() {
  32586. var exception, t1, path, lastIndex, uri = null;
  32587. try {
  32588. uri = A.Uri_base();
  32589. } catch (exception) {
  32590. if (type$.Exception._is(A.unwrapException(exception))) {
  32591. t1 = $._current;
  32592. if (t1 != null)
  32593. return t1;
  32594. throw exception;
  32595. } else
  32596. throw exception;
  32597. }
  32598. if (J.$eq$(uri, $._currentUriBase)) {
  32599. t1 = $._current;
  32600. t1.toString;
  32601. return t1;
  32602. }
  32603. $._currentUriBase = uri;
  32604. if ($.$get$Style_platform() === $.$get$Style_url())
  32605. t1 = $._current = J.resolve$1$x(uri, ".").toString$0(0);
  32606. else {
  32607. path = uri.toFilePath$0();
  32608. lastIndex = path.length - 1;
  32609. t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
  32610. }
  32611. return t1;
  32612. },
  32613. absolute(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  32614. return $.$get$context().absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15);
  32615. },
  32616. join(part1, part2, part3) {
  32617. var _null = null;
  32618. return $.$get$context().join$16(0, part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  32619. },
  32620. toUri(path) {
  32621. return $.$get$context().toUri$1(path);
  32622. },
  32623. prettyUri(uri) {
  32624. var t1 = $.$get$context();
  32625. uri.toString;
  32626. return t1.prettyUri$1(uri);
  32627. },
  32628. isAlphabetic(char) {
  32629. var t1;
  32630. if (!(char >= 65 && char <= 90))
  32631. t1 = char >= 97 && char <= 122;
  32632. else
  32633. t1 = true;
  32634. return t1;
  32635. },
  32636. driveLetterEnd(path, index) {
  32637. var t2, t3, _null = null,
  32638. t1 = path.length,
  32639. index0 = index + 2;
  32640. if (t1 < index0)
  32641. return _null;
  32642. if (!A.isAlphabetic(path.charCodeAt(index)))
  32643. return _null;
  32644. t2 = index + 1;
  32645. if (path.charCodeAt(t2) !== 58) {
  32646. t3 = index + 4;
  32647. if (t1 < t3)
  32648. return _null;
  32649. if (B.JSString_methods.substring$2(path, t2, t3).toLowerCase() !== "%3a")
  32650. return _null;
  32651. index = index0;
  32652. }
  32653. t2 = index + 2;
  32654. if (t1 === t2)
  32655. return t2;
  32656. if (path.charCodeAt(t2) !== 47)
  32657. return _null;
  32658. return index + 3;
  32659. },
  32660. main0(args) {
  32661. var $async$goto = 0,
  32662. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  32663. t1;
  32664. var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32665. if ($async$errorCode === 1)
  32666. return A._asyncRethrow($async$result, $async$completer);
  32667. while (true)
  32668. switch ($async$goto) {
  32669. case 0:
  32670. // Function start
  32671. A.printError("sass --embedded is unavailable in pure JS mode.");
  32672. t1 = A.isNodeJs() ? self.process : null;
  32673. if (t1 != null)
  32674. J.set$exitCode$x(t1, 1);
  32675. // implicit return
  32676. return A._asyncReturn(null, $async$completer);
  32677. }
  32678. });
  32679. return A._asyncStartSync($async$main0, $async$completer);
  32680. },
  32681. EvaluationContext_currentOrNull() {
  32682. var t1,
  32683. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  32684. $label0$0: {
  32685. if (type$.EvaluationContext._is(_0_0)) {
  32686. t1 = _0_0;
  32687. break $label0$0;
  32688. }
  32689. t1 = null;
  32690. break $label0$0;
  32691. }
  32692. return t1;
  32693. },
  32694. warn(message) {
  32695. var t1, _null = null,
  32696. _0_0 = A.EvaluationContext_currentOrNull();
  32697. $label0$0: {
  32698. if (_0_0 != null) {
  32699. t1 = _0_0.warn$2(0, message, _null);
  32700. break $label0$0;
  32701. }
  32702. B.StderrLogger_false.internalWarn$4$deprecation$span$trace(message, _null, _null, _null);
  32703. t1 = _null;
  32704. break $label0$0;
  32705. }
  32706. return t1;
  32707. },
  32708. warnForDeprecation(message, deprecation) {
  32709. var t1,
  32710. _0_0 = A.EvaluationContext_currentOrNull();
  32711. $label0$0: {
  32712. if (_0_0 != null) {
  32713. t1 = _0_0.warn$2(0, message, deprecation);
  32714. break $label0$0;
  32715. }
  32716. t1 = A.WarnForDeprecation_warnForDeprecation(B.StderrLogger_false, deprecation, message, null, null);
  32717. break $label0$0;
  32718. }
  32719. return t1;
  32720. },
  32721. compileStylesheets(options, graph, sourcesToDestinations, ifModified) {
  32722. var $async$goto = 0,
  32723. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  32724. $async$returnValue, t2, _1_4, t3, _i, t4, printedError, errorWithStackTrace, code, error, stackTrace, buffer, t1, $async$temp1;
  32725. var $async$compileStylesheets = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32726. if ($async$errorCode === 1)
  32727. return A._asyncRethrow($async$result, $async$completer);
  32728. while (true)
  32729. switch ($async$goto) {
  32730. case 0:
  32731. // Function start
  32732. t1 = type$.nullable_String;
  32733. t1 = A.List_List$of(A.MapExtensions_get_pairs(sourcesToDestinations, t1, t1), true, type$.Record_2_nullable_String_and_nullable_String);
  32734. t2 = t1.length;
  32735. $async$goto = t2 === 1 ? 4 : 5;
  32736. break;
  32737. case 4:
  32738. // then
  32739. _1_4 = t1[0];
  32740. $async$temp1 = A;
  32741. $async$goto = 6;
  32742. return A._asyncAwait(A.compileStylesheet(options, graph, _1_4._0, _1_4._1, ifModified), $async$compileStylesheets);
  32743. case 6:
  32744. // returning from await.
  32745. t1 = $async$temp1._setArrayType([$async$result], type$.JSArray_nullable_Record_3_int_and_String_and_nullable_String);
  32746. // goto break $label0$0
  32747. $async$goto = 3;
  32748. break;
  32749. case 5:
  32750. // join
  32751. t3 = A._setArrayType([], type$.JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String);
  32752. for (_i = 0; _i < t2; ++_i) {
  32753. t4 = t1[_i];
  32754. t3.push(A.compileStylesheet(options, graph, t4._0, t4._1, ifModified));
  32755. }
  32756. $async$goto = 7;
  32757. return A._asyncAwait(A.Future_wait(t3, A._asBool(options._options.$index(0, "stop-on-error")), type$.nullable_Record_3_int_and_String_and_nullable_String), $async$compileStylesheets);
  32758. case 7:
  32759. // returning from await.
  32760. t1 = $async$result;
  32761. // goto break $label0$0
  32762. $async$goto = 3;
  32763. break;
  32764. case 3:
  32765. // break $label0$0
  32766. for (t1 = J.get$iterator$ax(t1), printedError = false; t1.moveNext$0();) {
  32767. errorWithStackTrace = t1.get$current(t1);
  32768. if (errorWithStackTrace == null)
  32769. continue;
  32770. code = errorWithStackTrace._0;
  32771. error = errorWithStackTrace._1;
  32772. stackTrace = errorWithStackTrace._2;
  32773. t2 = self.process;
  32774. if (t2 == null)
  32775. t2 = null;
  32776. else {
  32777. t2 = J.get$release$x(t2);
  32778. t2 = t2 == null ? null : J.get$name$x(t2);
  32779. }
  32780. t2 = J.$eq$(t2, "node") ? self.process : null;
  32781. t2 = t2 == null ? null : J.get$exitCode$x(t2);
  32782. if (t2 == null)
  32783. t2 = 0;
  32784. t2 = Math.max(t2, code);
  32785. t3 = self.process;
  32786. if (t3 == null)
  32787. t3 = null;
  32788. else {
  32789. t3 = J.get$release$x(t3);
  32790. t3 = t3 == null ? null : J.get$name$x(t3);
  32791. }
  32792. t3 = J.$eq$(t3, "node") ? self.process : null;
  32793. if (t3 != null)
  32794. J.set$exitCode$x(t3, t2);
  32795. buffer = new A.StringBuffer("");
  32796. t2 = (printedError ? buffer._contents = "" + "\n" : "") + error;
  32797. buffer._contents = t2;
  32798. if (stackTrace != null) {
  32799. t2 += "\n";
  32800. buffer._contents = t2;
  32801. t2 += "\n";
  32802. buffer._contents = t2;
  32803. buffer._contents = t2 + stackTrace;
  32804. }
  32805. A.printError(buffer);
  32806. printedError = true;
  32807. }
  32808. $async$returnValue = !printedError;
  32809. // goto return
  32810. $async$goto = 1;
  32811. break;
  32812. case 1:
  32813. // return
  32814. return A._asyncReturn($async$returnValue, $async$completer);
  32815. }
  32816. });
  32817. return A._asyncStartSync($async$compileStylesheets, $async$completer);
  32818. },
  32819. CharacterExtension_get_isAlphabetic(_this) {
  32820. var t1;
  32821. if (!(_this >= 97 && _this <= 122))
  32822. t1 = _this >= 65 && _this <= 90;
  32823. else
  32824. t1 = true;
  32825. return t1;
  32826. },
  32827. CharacterExtension_get_isHex(_this) {
  32828. var t1 = true;
  32829. if (!(_this >= 48 && _this <= 57))
  32830. if (!(_this >= 97 && _this <= 102))
  32831. t1 = _this >= 65 && _this <= 70;
  32832. return t1;
  32833. },
  32834. asHex(character) {
  32835. var t1;
  32836. $label0$0: {
  32837. if (character <= 57) {
  32838. t1 = character - 48;
  32839. break $label0$0;
  32840. }
  32841. if (character <= 70) {
  32842. t1 = 10 + character - 65;
  32843. break $label0$0;
  32844. }
  32845. t1 = 10 + character - 97;
  32846. break $label0$0;
  32847. }
  32848. return t1;
  32849. },
  32850. hexCharFor(number) {
  32851. return number < 10 ? 48 + number : 87 + number;
  32852. },
  32853. opposite(character) {
  32854. var t1;
  32855. $label0$0: {
  32856. if (40 === character) {
  32857. t1 = 41;
  32858. break $label0$0;
  32859. }
  32860. if (123 === character) {
  32861. t1 = 125;
  32862. break $label0$0;
  32863. }
  32864. if (91 === character) {
  32865. t1 = 93;
  32866. break $label0$0;
  32867. }
  32868. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  32869. }
  32870. return t1;
  32871. },
  32872. characterEqualsIgnoreCase(character1, character2) {
  32873. var upperCase1;
  32874. if (character1 === character2)
  32875. return true;
  32876. if ((character1 ^ character2) >>> 0 !== 32)
  32877. return false;
  32878. upperCase1 = (character1 & 4294967263) >>> 0;
  32879. return upperCase1 >= 65 && upperCase1 <= 90;
  32880. },
  32881. IterableExtension_search(_this, callback) {
  32882. var t1, _0_0;
  32883. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  32884. _0_0 = callback.call$1(t1.get$current(t1));
  32885. if (_0_0 != null)
  32886. return _0_0;
  32887. }
  32888. return null;
  32889. },
  32890. IterableExtension_get_exceptLast(_this) {
  32891. var t1 = J.getInterceptor$asx(_this),
  32892. size = t1.get$length(_this) - 1;
  32893. if (size < 0)
  32894. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  32895. return t1.take$1(_this, size);
  32896. },
  32897. NullableExtension_andThen(_this, fn) {
  32898. return _this == null ? null : fn.call$1(_this);
  32899. },
  32900. SetExtension_removeNull(_this, $T) {
  32901. _this.remove$1(0, null);
  32902. return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
  32903. },
  32904. fuzzyEquals(number1, number2) {
  32905. var t1;
  32906. if (number1 === number2)
  32907. return true;
  32908. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  32909. t1 = $.$get$_inverseEpsilon();
  32910. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  32911. } else
  32912. t1 = false;
  32913. return t1;
  32914. },
  32915. fuzzyEqualsNullable(number1, number2) {
  32916. var t1;
  32917. if (number1 == number2)
  32918. return true;
  32919. if (number1 == null || number2 == null)
  32920. return false;
  32921. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  32922. t1 = $.$get$_inverseEpsilon();
  32923. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  32924. } else
  32925. t1 = false;
  32926. return t1;
  32927. },
  32928. fuzzyHashCode(number) {
  32929. if (!isFinite(number))
  32930. return B.JSNumber_methods.get$hashCode(number);
  32931. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon()));
  32932. },
  32933. fuzzyLessThan(number1, number2) {
  32934. return number1 < number2 && !A.fuzzyEquals(number1, number2);
  32935. },
  32936. fuzzyLessThanOrEquals(number1, number2) {
  32937. return number1 < number2 || A.fuzzyEquals(number1, number2);
  32938. },
  32939. fuzzyGreaterThan(number1, number2) {
  32940. return number1 > number2 && !A.fuzzyEquals(number1, number2);
  32941. },
  32942. fuzzyGreaterThanOrEquals(number1, number2) {
  32943. return number1 > number2 || A.fuzzyEquals(number1, number2);
  32944. },
  32945. fuzzyIsInt(number) {
  32946. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  32947. return false;
  32948. return A.fuzzyEquals(number, B.JSNumber_methods.round$0(number));
  32949. },
  32950. fuzzyAsInt(number) {
  32951. var rounded;
  32952. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  32953. return null;
  32954. rounded = B.JSNumber_methods.round$0(number);
  32955. return A.fuzzyEquals(number, rounded) ? rounded : null;
  32956. },
  32957. fuzzyRound(number) {
  32958. var t1;
  32959. if (number > 0) {
  32960. t1 = B.JSNumber_methods.$mod(number, 1);
  32961. return t1 < 0.5 && !A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  32962. } else {
  32963. t1 = B.JSNumber_methods.$mod(number, 1);
  32964. return t1 < 0.5 || A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  32965. }
  32966. },
  32967. fuzzyCheckRange(number, min, max) {
  32968. if (A.fuzzyEquals(number, min))
  32969. return min;
  32970. if (A.fuzzyEquals(number, max))
  32971. return max;
  32972. if (number > min && number < max)
  32973. return number;
  32974. return null;
  32975. },
  32976. fuzzyAssertRange(number, min, max, $name) {
  32977. var result = A.fuzzyCheckRange(number, min, max);
  32978. if (result != null)
  32979. return result;
  32980. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  32981. },
  32982. moduloLikeSass(num1, num2) {
  32983. var result;
  32984. if (num1 == 1 / 0 || num1 == -1 / 0)
  32985. return 0 / 0;
  32986. if (num2 == 1 / 0 || num2 == -1 / 0)
  32987. return A.DoubleWithSignedZero_get_signIncludingZero(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  32988. if (num2 > 0)
  32989. return B.JSNumber_methods.$mod(num1, num2);
  32990. if (num2 === 0)
  32991. return 0 / 0;
  32992. result = B.JSNumber_methods.$mod(num1, num2);
  32993. return result === 0 ? 0 : result + num2;
  32994. },
  32995. sqrt(number) {
  32996. number.assertNoUnits$1("number");
  32997. return A.SassNumber_SassNumber(Math.sqrt(number._number$_value), null);
  32998. },
  32999. sin(number) {
  33000. return A.SassNumber_SassNumber(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  33001. },
  33002. cos(number) {
  33003. return A.SassNumber_SassNumber(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  33004. },
  33005. tan(number) {
  33006. return A.SassNumber_SassNumber(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  33007. },
  33008. atan(number) {
  33009. number.assertNoUnits$1("number");
  33010. return A.SassNumber_SassNumber$withUnits(Math.atan(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33011. },
  33012. asin(number) {
  33013. number.assertNoUnits$1("number");
  33014. return A.SassNumber_SassNumber$withUnits(Math.asin(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33015. },
  33016. acos(number) {
  33017. number.assertNoUnits$1("number");
  33018. return A.SassNumber_SassNumber$withUnits(Math.acos(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33019. },
  33020. log(number, base) {
  33021. if (base != null)
  33022. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), null);
  33023. return A.SassNumber_SassNumber(Math.log(number._number$_value), null);
  33024. },
  33025. pow0(base, exponent) {
  33026. base.assertNoUnits$1("base");
  33027. exponent.assertNoUnits$1("exponent");
  33028. return A.SassNumber_SassNumber(Math.pow(base._number$_value, exponent._number$_value), null);
  33029. },
  33030. DoubleWithSignedZero_get_signIncludingZero(_this) {
  33031. if (_this === -0.0)
  33032. return -1;
  33033. if (_this === 0)
  33034. return 1;
  33035. return J.get$sign$in(_this);
  33036. },
  33037. SpanExtensions_trimLeft(_this) {
  33038. var t1, start = 0;
  33039. while (true) {
  33040. t1 = _this.get$text().charCodeAt(start);
  33041. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33042. break;
  33043. ++start;
  33044. }
  33045. return A.FileSpanExtension_subspan(_this, start, null);
  33046. },
  33047. SpanExtensions_trimRight(_this) {
  33048. var t1,
  33049. end = _this.get$text().length - 1;
  33050. while (true) {
  33051. t1 = _this.get$text().charCodeAt(end);
  33052. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33053. break;
  33054. --end;
  33055. }
  33056. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  33057. },
  33058. SpanExtensions_initialIdentifier(_this) {
  33059. var i,
  33060. scanner = A.StringScanner$(_this.get$text(), null, null);
  33061. for (i = 0; false; ++i)
  33062. scanner.readChar$0();
  33063. A._scanIdentifier(scanner);
  33064. return A.FileSpanExtension_subspan(_this, 0, scanner._string_scanner$_position);
  33065. },
  33066. SpanExtensions_withoutInitialIdentifier(_this) {
  33067. var scanner = A.StringScanner$(_this.get$text(), null, null);
  33068. A._scanIdentifier(scanner);
  33069. return A.FileSpanExtension_subspan(_this, scanner._string_scanner$_position, null);
  33070. },
  33071. _scanIdentifier(scanner) {
  33072. var t1, _0_0, t2;
  33073. for (t1 = scanner.string.length; scanner._string_scanner$_position !== t1;) {
  33074. _0_0 = scanner.peekChar$0();
  33075. if (92 === _0_0) {
  33076. A.consumeEscapedCharacter(scanner);
  33077. continue;
  33078. }
  33079. if (A._isInt(_0_0)) {
  33080. if (_0_0 !== 95) {
  33081. if (!(_0_0 >= 97 && _0_0 <= 122))
  33082. t2 = _0_0 >= 65 && _0_0 <= 90;
  33083. else
  33084. t2 = true;
  33085. t2 = t2 || _0_0 >= 128;
  33086. } else
  33087. t2 = true;
  33088. if (!t2)
  33089. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  33090. else
  33091. t2 = true;
  33092. } else
  33093. t2 = false;
  33094. if (t2) {
  33095. scanner.readChar$0();
  33096. continue;
  33097. }
  33098. break;
  33099. }
  33100. },
  33101. hueToRgb(m1, m2, hue) {
  33102. var t1;
  33103. if (hue < 0)
  33104. ++hue;
  33105. if (hue > 1)
  33106. --hue;
  33107. $label0$0: {
  33108. if (hue < 0.16666666666666666) {
  33109. t1 = m1 + (m2 - m1) * hue * 6;
  33110. break $label0$0;
  33111. }
  33112. if (hue < 0.5) {
  33113. t1 = m2;
  33114. break $label0$0;
  33115. }
  33116. if (hue < 0.6666666666666666) {
  33117. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  33118. break $label0$0;
  33119. }
  33120. t1 = m1;
  33121. break $label0$0;
  33122. }
  33123. return t1;
  33124. },
  33125. srgbAndDisplayP3ToLinear(channel) {
  33126. var abs = Math.abs(channel);
  33127. return abs <= 0.04045 ? channel / 12.92 : J.get$sign$in(channel) * Math.pow((abs + 0.055) / 1.055, 2.4);
  33128. },
  33129. srgbAndDisplayP3FromLinear(channel) {
  33130. var abs = Math.abs(channel);
  33131. return abs <= 0.0031308 ? channel * 12.92 : J.get$sign$in(channel) * (1.055 * Math.pow(abs, 0.4166666666666667) - 0.055);
  33132. },
  33133. labToLch(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  33134. var t3, t4, chroma, hue,
  33135. t1 = a == null,
  33136. t2 = t1 ? 0 : a;
  33137. t2 = Math.pow(t2, 2);
  33138. t3 = b == null;
  33139. t4 = t3 ? 0 : b;
  33140. chroma = Math.sqrt(t2 + Math.pow(t4, 2));
  33141. if (missingHue || A.fuzzyEquals(chroma, 0))
  33142. hue = null;
  33143. else {
  33144. t2 = t3 ? 0 : b;
  33145. t1 = t1 ? 0 : a;
  33146. hue = Math.atan2(t2, t1) * 180 / 3.141592653589793;
  33147. }
  33148. t1 = missingChroma ? null : chroma;
  33149. return A.SassColor_SassColor$forSpaceInternal(dest, lightness, t1, hue == null || hue >= 0 ? hue : hue + 360, alpha);
  33150. },
  33151. encodeVlq(value) {
  33152. var res, signBit, digit, t1;
  33153. if (value < $.$get$minInt32() || value > $.$get$maxInt32())
  33154. throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
  33155. res = A._setArrayType([], type$.JSArray_String);
  33156. if (value < 0) {
  33157. value = -value;
  33158. signBit = 1;
  33159. } else
  33160. signBit = 0;
  33161. value = value << 1 | signBit;
  33162. do {
  33163. digit = value & 31;
  33164. value = value >>> 5;
  33165. t1 = value > 0;
  33166. res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
  33167. } while (t1);
  33168. return res;
  33169. },
  33170. isAllTheSame(iter) {
  33171. var firstValue, t1, t2, value;
  33172. if (iter.get$length(0) === 0)
  33173. return true;
  33174. firstValue = iter.get$first(0);
  33175. 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();) {
  33176. value = t1.__internal$_current;
  33177. if (!J.$eq$(value == null ? t2._as(value) : value, firstValue))
  33178. return false;
  33179. }
  33180. return true;
  33181. },
  33182. replaceFirstNull(list, element) {
  33183. var index = B.JSArray_methods.indexOf$1(list, null);
  33184. if (index < 0)
  33185. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
  33186. list[index] = element;
  33187. },
  33188. replaceWithNull(list, element) {
  33189. var index = B.JSArray_methods.indexOf$1(list, element);
  33190. if (index < 0)
  33191. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
  33192. list[index] = null;
  33193. },
  33194. countCodeUnits(string, codeUnit) {
  33195. var t1, t2, count, t3;
  33196. 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();) {
  33197. t3 = t1.__internal$_current;
  33198. if ((t3 == null ? t2._as(t3) : t3) === codeUnit)
  33199. ++count;
  33200. }
  33201. return count;
  33202. },
  33203. findLineStart(context, text, column) {
  33204. var beginningOfLine, index, lineStart;
  33205. if (text.length === 0)
  33206. for (beginningOfLine = 0; true;) {
  33207. index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
  33208. if (index === -1)
  33209. return context.length - beginningOfLine >= column ? beginningOfLine : null;
  33210. if (index - beginningOfLine >= column)
  33211. return beginningOfLine;
  33212. beginningOfLine = index + 1;
  33213. }
  33214. index = B.JSString_methods.indexOf$1(context, text);
  33215. for (; index !== -1;) {
  33216. lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
  33217. if (column === index - lineStart)
  33218. return lineStart;
  33219. index = B.JSString_methods.indexOf$2(context, text, index + 1);
  33220. }
  33221. return null;
  33222. },
  33223. validateErrorArgs(string, match, position, $length) {
  33224. var t2,
  33225. t1 = position != null;
  33226. if (t1)
  33227. if (position < 0)
  33228. throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
  33229. else if (position > string.length)
  33230. throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
  33231. t2 = $length != null;
  33232. if (t2 && $length < 0)
  33233. throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
  33234. if (t1 && t2 && position + $length > string.length)
  33235. throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
  33236. },
  33237. CharacterExtension_get_isAlphabetic0(_this) {
  33238. var t1;
  33239. if (!(_this >= 97 && _this <= 122))
  33240. t1 = _this >= 65 && _this <= 90;
  33241. else
  33242. t1 = true;
  33243. return t1;
  33244. },
  33245. CharacterExtension_get_isHex0(_this) {
  33246. var t1 = true;
  33247. if (!(_this >= 48 && _this <= 57))
  33248. if (!(_this >= 97 && _this <= 102))
  33249. t1 = _this >= 65 && _this <= 70;
  33250. return t1;
  33251. },
  33252. combineSurrogates(highSurrogate, lowSurrogate) {
  33253. return 65536 + ((highSurrogate & 1023) << 10) + (lowSurrogate & 1023);
  33254. },
  33255. asHex0(character) {
  33256. var t1;
  33257. $label0$0: {
  33258. if (character <= 57) {
  33259. t1 = character - 48;
  33260. break $label0$0;
  33261. }
  33262. if (character <= 70) {
  33263. t1 = 10 + character - 65;
  33264. break $label0$0;
  33265. }
  33266. t1 = 10 + character - 97;
  33267. break $label0$0;
  33268. }
  33269. return t1;
  33270. },
  33271. hexCharFor0(number) {
  33272. return number < 10 ? 48 + number : 87 + number;
  33273. },
  33274. opposite0(character) {
  33275. var t1;
  33276. $label0$0: {
  33277. if (40 === character) {
  33278. t1 = 41;
  33279. break $label0$0;
  33280. }
  33281. if (123 === character) {
  33282. t1 = 125;
  33283. break $label0$0;
  33284. }
  33285. if (91 === character) {
  33286. t1 = 93;
  33287. break $label0$0;
  33288. }
  33289. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  33290. }
  33291. return t1;
  33292. },
  33293. characterEqualsIgnoreCase0(character1, character2) {
  33294. var upperCase1;
  33295. if (character1 === character2)
  33296. return true;
  33297. if ((character1 ^ character2) >>> 0 !== 32)
  33298. return false;
  33299. upperCase1 = (character1 & 4294967263) >>> 0;
  33300. return upperCase1 >= 65 && upperCase1 <= 90;
  33301. },
  33302. EvaluationContext_currentOrNull0() {
  33303. var t1,
  33304. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  33305. $label0$0: {
  33306. if (type$.EvaluationContext_2._is(_0_0)) {
  33307. t1 = _0_0;
  33308. break $label0$0;
  33309. }
  33310. t1 = null;
  33311. break $label0$0;
  33312. }
  33313. return t1;
  33314. },
  33315. EvaluationContext__currentOrNull() {
  33316. var _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  33317. if (type$.EvaluationContext_2._is(_0_0))
  33318. return _0_0;
  33319. else
  33320. return null;
  33321. },
  33322. warn0(message) {
  33323. var t1, _null = null,
  33324. _0_0 = A.EvaluationContext_currentOrNull0();
  33325. $label0$0: {
  33326. if (_0_0 != null) {
  33327. t1 = _0_0.warn$2(0, message, _null);
  33328. break $label0$0;
  33329. }
  33330. B.StderrLogger_false0.internalWarn$4$deprecation$span$trace(message, _null, _null, _null);
  33331. t1 = _null;
  33332. break $label0$0;
  33333. }
  33334. return t1;
  33335. },
  33336. warnForDeprecation0(message, deprecation) {
  33337. var t1,
  33338. _0_0 = A.EvaluationContext_currentOrNull0();
  33339. $label0$0: {
  33340. if (_0_0 != null) {
  33341. t1 = _0_0.warn$2(0, message, deprecation);
  33342. break $label0$0;
  33343. }
  33344. t1 = A.WarnForDeprecation_warnForDeprecation0(B.StderrLogger_false0, deprecation, message, null, null);
  33345. break $label0$0;
  33346. }
  33347. return t1;
  33348. },
  33349. warnForDeprecationFromApi(message, deprecation) {
  33350. var _0_0 = A.EvaluationContext__currentOrNull();
  33351. if (_0_0 != null)
  33352. _0_0.warn$2(0, message, deprecation);
  33353. else
  33354. A.WarnForDeprecation_warnForDeprecation0(new A.StderrLogger0(false), deprecation, message, null, null);
  33355. },
  33356. IterableExtension_search0(_this, callback) {
  33357. var t1, _0_0;
  33358. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  33359. _0_0 = callback.call$1(t1.get$current(t1));
  33360. if (_0_0 != null)
  33361. return _0_0;
  33362. }
  33363. return null;
  33364. },
  33365. IterableExtension_get_exceptLast0(_this) {
  33366. var t1 = J.getInterceptor$asx(_this),
  33367. size = t1.get$length(_this) - 1;
  33368. if (size < 0)
  33369. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  33370. return t1.take$1(_this, size);
  33371. },
  33372. NullableExtension_andThen0(_this, fn) {
  33373. return _this == null ? null : fn.call$1(_this);
  33374. },
  33375. fuzzyEquals0(number1, number2) {
  33376. var t1;
  33377. if (number1 === number2)
  33378. return true;
  33379. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  33380. t1 = $.$get$_inverseEpsilon0();
  33381. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  33382. } else
  33383. t1 = false;
  33384. return t1;
  33385. },
  33386. fuzzyEqualsNullable0(number1, number2) {
  33387. var t1;
  33388. if (number1 == number2)
  33389. return true;
  33390. if (number1 == null || number2 == null)
  33391. return false;
  33392. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  33393. t1 = $.$get$_inverseEpsilon0();
  33394. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  33395. } else
  33396. t1 = false;
  33397. return t1;
  33398. },
  33399. fuzzyHashCode0(number) {
  33400. if (!isFinite(number))
  33401. return B.JSNumber_methods.get$hashCode(number);
  33402. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon0()));
  33403. },
  33404. fuzzyLessThan0(number1, number2) {
  33405. return number1 < number2 && !A.fuzzyEquals0(number1, number2);
  33406. },
  33407. fuzzyLessThanOrEquals0(number1, number2) {
  33408. return number1 < number2 || A.fuzzyEquals0(number1, number2);
  33409. },
  33410. fuzzyGreaterThan0(number1, number2) {
  33411. return number1 > number2 && !A.fuzzyEquals0(number1, number2);
  33412. },
  33413. fuzzyGreaterThanOrEquals0(number1, number2) {
  33414. return number1 > number2 || A.fuzzyEquals0(number1, number2);
  33415. },
  33416. fuzzyIsInt0(number) {
  33417. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  33418. return false;
  33419. return A.fuzzyEquals0(number, B.JSNumber_methods.round$0(number));
  33420. },
  33421. fuzzyAsInt0(number) {
  33422. var rounded;
  33423. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  33424. return null;
  33425. rounded = B.JSNumber_methods.round$0(number);
  33426. return A.fuzzyEquals0(number, rounded) ? rounded : null;
  33427. },
  33428. fuzzyRound0(number) {
  33429. var t1;
  33430. if (number > 0) {
  33431. t1 = B.JSNumber_methods.$mod(number, 1);
  33432. return t1 < 0.5 && !A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  33433. } else {
  33434. t1 = B.JSNumber_methods.$mod(number, 1);
  33435. return t1 < 0.5 || A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  33436. }
  33437. },
  33438. fuzzyCheckRange0(number, min, max) {
  33439. if (A.fuzzyEquals0(number, min))
  33440. return min;
  33441. if (A.fuzzyEquals0(number, max))
  33442. return max;
  33443. if (number > min && number < max)
  33444. return number;
  33445. return null;
  33446. },
  33447. fuzzyAssertRange0(number, min, max, $name) {
  33448. var result = A.fuzzyCheckRange0(number, min, max);
  33449. if (result != null)
  33450. return result;
  33451. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  33452. },
  33453. moduloLikeSass0(num1, num2) {
  33454. var result;
  33455. if (num1 == 1 / 0 || num1 == -1 / 0)
  33456. return 0 / 0;
  33457. if (num2 == 1 / 0 || num2 == -1 / 0)
  33458. return A.DoubleWithSignedZero_get_signIncludingZero0(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  33459. if (num2 > 0)
  33460. return B.JSNumber_methods.$mod(num1, num2);
  33461. if (num2 === 0)
  33462. return 0 / 0;
  33463. result = B.JSNumber_methods.$mod(num1, num2);
  33464. return result === 0 ? 0 : result + num2;
  33465. },
  33466. sqrt0(number) {
  33467. number.assertNoUnits$1("number");
  33468. return A.SassNumber_SassNumber0(Math.sqrt(number._number1$_value), null);
  33469. },
  33470. sin0(number) {
  33471. return A.SassNumber_SassNumber0(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  33472. },
  33473. cos0(number) {
  33474. return A.SassNumber_SassNumber0(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  33475. },
  33476. tan0(number) {
  33477. return A.SassNumber_SassNumber0(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  33478. },
  33479. atan0(number) {
  33480. number.assertNoUnits$1("number");
  33481. return A.SassNumber_SassNumber$withUnits0(Math.atan(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33482. },
  33483. asin0(number) {
  33484. number.assertNoUnits$1("number");
  33485. return A.SassNumber_SassNumber$withUnits0(Math.asin(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33486. },
  33487. acos0(number) {
  33488. number.assertNoUnits$1("number");
  33489. return A.SassNumber_SassNumber$withUnits0(Math.acos(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33490. },
  33491. log0(number, base) {
  33492. if (base != null)
  33493. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), null);
  33494. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), null);
  33495. },
  33496. pow1(base, exponent) {
  33497. base.assertNoUnits$1("base");
  33498. exponent.assertNoUnits$1("exponent");
  33499. return A.SassNumber_SassNumber0(Math.pow(base._number1$_value, exponent._number1$_value), null);
  33500. },
  33501. DoubleWithSignedZero_get_signIncludingZero0(_this) {
  33502. if (_this === -0.0)
  33503. return -1;
  33504. if (_this === 0)
  33505. return 1;
  33506. return J.get$sign$in(_this);
  33507. },
  33508. main1(args) {
  33509. return A.main$body(args);
  33510. },
  33511. main$body(args) {
  33512. var $async$goto = 0,
  33513. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  33514. $async$returnValue, $async$handler = 2, $async$errorStack = [], options, t1, graph, error, error0, stackTrace, buffer, t2, exception, $async$exception, $async$temp1;
  33515. var $async$main1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  33516. if ($async$errorCode === 1) {
  33517. $async$errorStack.push($async$result);
  33518. $async$goto = $async$handler;
  33519. }
  33520. while (true)
  33521. switch ($async$goto) {
  33522. case 0:
  33523. // Function start
  33524. if (args.length >= 1 && "--embedded" === args[0]) {
  33525. A.main0(B.JSArray_methods.sublist$1(args, 1));
  33526. // goto return
  33527. $async$goto = 1;
  33528. break;
  33529. }
  33530. options = null;
  33531. $async$handler = 4;
  33532. options = A.ExecutableOptions_ExecutableOptions$parse(args);
  33533. t2 = options._options;
  33534. $._glyphs = !(t2.wasParsed$1("unicode") ? A._asBool(t2.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  33535. $async$goto = A._asBool(options._options.$index(0, "version")) ? 7 : 8;
  33536. break;
  33537. case 7:
  33538. // then
  33539. $async$temp1 = A;
  33540. $async$goto = 9;
  33541. return A._asyncAwait(A._loadVersion(), $async$main1);
  33542. case 9:
  33543. // returning from await.
  33544. $async$temp1.print($async$result);
  33545. t1 = A.isNodeJs() ? self.process : null;
  33546. if (t1 != null)
  33547. J.set$exitCode$x(t1, 0);
  33548. // goto return
  33549. $async$goto = 1;
  33550. break;
  33551. case 8:
  33552. // join
  33553. $async$goto = options.get$interactive() ? 10 : 11;
  33554. break;
  33555. case 10:
  33556. // then
  33557. $async$goto = 12;
  33558. return A._asyncAwait(A.repl(options), $async$main1);
  33559. case 12:
  33560. // returning from await.
  33561. // goto return
  33562. $async$goto = 1;
  33563. break;
  33564. case 11:
  33565. // join
  33566. J.get$silenceDeprecations$x(options);
  33567. J.get$futureDeprecations$x(options);
  33568. J.get$fatalDeprecations$x(options);
  33569. t1 = A.List_List$of(options.get$pkgImporters(), true, type$.Importer_2);
  33570. J.add$1$ax(t1, $.$get$FilesystemImporter_noLoadPath());
  33571. t2 = type$.Uri;
  33572. 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));
  33573. $async$goto = A._asBool(options._options.$index(0, "watch")) ? 13 : 14;
  33574. break;
  33575. case 13:
  33576. // then
  33577. $async$goto = 15;
  33578. return A._asyncAwait(A.watch(options, graph), $async$main1);
  33579. case 15:
  33580. // returning from await.
  33581. // goto return
  33582. $async$goto = 1;
  33583. break;
  33584. case 14:
  33585. // join
  33586. t1 = options;
  33587. t2 = options;
  33588. t2._ensureSources$0();
  33589. t2 = t2._sourcesToDestinations;
  33590. t2.toString;
  33591. $async$goto = 16;
  33592. return A._asyncAwait(A.compileStylesheets(t1, graph, t2, A._asBool(options._options.$index(0, "update"))), $async$main1);
  33593. case 16:
  33594. // returning from await.
  33595. $async$handler = 2;
  33596. // goto after finally
  33597. $async$goto = 6;
  33598. break;
  33599. case 4:
  33600. // catch
  33601. $async$handler = 3;
  33602. $async$exception = $async$errorStack.pop();
  33603. t1 = A.unwrapException($async$exception);
  33604. if (t1 instanceof A.UsageException) {
  33605. error = t1;
  33606. A.print(error.message + "\n");
  33607. A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
  33608. t1 = $.$get$ExecutableOptions__parser();
  33609. A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
  33610. t1 = A.isNodeJs() ? self.process : null;
  33611. if (t1 != null)
  33612. J.set$exitCode$x(t1, 64);
  33613. } else {
  33614. error0 = t1;
  33615. stackTrace = A.getTraceFromException($async$exception);
  33616. buffer = new A.StringBuffer("");
  33617. t1 = options;
  33618. t1 = t1 == null ? null : t1.get$color();
  33619. if (t1 === true)
  33620. buffer._contents += "\x1b[31m\x1b[1m";
  33621. buffer._contents += "Unexpected exception:";
  33622. t1 = options;
  33623. t1 = t1 == null ? null : t1.get$color();
  33624. if (t1 === true)
  33625. buffer._contents += "\x1b[0m";
  33626. buffer._contents += "\n";
  33627. t1 = buffer;
  33628. t2 = A.S(error0) + "\n";
  33629. t1._contents += t2;
  33630. buffer._contents += "\n";
  33631. buffer._contents += "\n";
  33632. t2 = buffer;
  33633. t1 = A.getTrace(error0);
  33634. t1 = B.JSString_methods.trimRight$0(A.Trace_Trace$from(t1 == null ? stackTrace : t1).get$terse().toString$0(0));
  33635. t2._contents += t1;
  33636. A.printError(buffer);
  33637. t1 = A.isNodeJs() ? self.process : null;
  33638. if (t1 != null)
  33639. J.set$exitCode$x(t1, 255);
  33640. }
  33641. // goto after finally
  33642. $async$goto = 6;
  33643. break;
  33644. case 3:
  33645. // uncaught
  33646. // goto rethrow
  33647. $async$goto = 2;
  33648. break;
  33649. case 6:
  33650. // after finally
  33651. case 1:
  33652. // return
  33653. return A._asyncReturn($async$returnValue, $async$completer);
  33654. case 2:
  33655. // rethrow
  33656. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  33657. }
  33658. });
  33659. return A._asyncStartSync($async$main1, $async$completer);
  33660. },
  33661. _loadVersion() {
  33662. var $async$goto = 0,
  33663. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  33664. $async$returnValue;
  33665. var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  33666. if ($async$errorCode === 1)
  33667. return A._asyncRethrow($async$result, $async$completer);
  33668. while (true)
  33669. switch ($async$goto) {
  33670. case 0:
  33671. // Function start
  33672. $async$returnValue = "1.85.0 compiled with dart2js 3.7.0";
  33673. // goto return
  33674. $async$goto = 1;
  33675. break;
  33676. case 1:
  33677. // return
  33678. return A._asyncReturn($async$returnValue, $async$completer);
  33679. }
  33680. });
  33681. return A._asyncStartSync($async$_loadVersion, $async$completer);
  33682. },
  33683. SpanExtensions_trimLeft0(_this) {
  33684. var t1, start = 0;
  33685. while (true) {
  33686. t1 = _this.get$text().charCodeAt(start);
  33687. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33688. break;
  33689. ++start;
  33690. }
  33691. return A.FileSpanExtension_subspan(_this, start, null);
  33692. },
  33693. SpanExtensions_trimRight0(_this) {
  33694. var t1,
  33695. end = _this.get$text().length - 1;
  33696. while (true) {
  33697. t1 = _this.get$text().charCodeAt(end);
  33698. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33699. break;
  33700. --end;
  33701. }
  33702. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  33703. },
  33704. SpanExtensions_initialIdentifier0(_this) {
  33705. var i,
  33706. scanner = A.StringScanner$(_this.get$text(), null, null);
  33707. for (i = 0; false; ++i)
  33708. scanner.readChar$0();
  33709. A._scanIdentifier0(scanner);
  33710. return A.FileSpanExtension_subspan(_this, 0, scanner._string_scanner$_position);
  33711. },
  33712. SpanExtensions_withoutInitialIdentifier0(_this) {
  33713. var scanner = A.StringScanner$(_this.get$text(), null, null);
  33714. A._scanIdentifier0(scanner);
  33715. return A.FileSpanExtension_subspan(_this, scanner._string_scanner$_position, null);
  33716. },
  33717. SpanExtensions_between(_this, other) {
  33718. if (!J.$eq$(_this.get$sourceUrl(_this), other.get$sourceUrl(other)))
  33719. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + other.toString$0(0) + " are in different files.", null));
  33720. else if (_this.get$end(_this).offset > other.get$start(other).offset)
  33721. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " isn't before " + other.toString$0(0) + ".", null));
  33722. return _this.get$file(_this).span$2(0, _this.get$end(_this).offset, other.get$start(other).offset);
  33723. },
  33724. SpanExtensions_before(_this, inner) {
  33725. if (!J.$eq$(_this.get$sourceUrl(_this), inner.get$sourceUrl(inner)))
  33726. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + inner.toString$0(0) + " are in different files.", null));
  33727. else if (inner.get$start(inner).offset < _this.get$start(_this).offset || inner.get$end(inner).offset > _this.get$end(_this).offset)
  33728. throw A.wrapException(A.ArgumentError$(inner.toString$0(0) + " isn't inside " + _this.toString$0(0) + ".", null));
  33729. return _this.get$file(_this).span$2(0, _this.get$start(_this).offset, inner.get$start(inner).offset);
  33730. },
  33731. SpanExtensions_after(_this, inner) {
  33732. if (!J.$eq$(_this.get$sourceUrl(_this), inner.get$sourceUrl(inner)))
  33733. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + inner.toString$0(0) + " are in different files.", null));
  33734. else if (inner.get$start(inner).offset < _this.get$start(_this).offset || inner.get$end(inner).offset > _this.get$end(_this).offset)
  33735. throw A.wrapException(A.ArgumentError$(inner.toString$0(0) + " isn't inside " + _this.toString$0(0) + ".", null));
  33736. return _this.get$file(_this).span$2(0, inner.get$end(inner).offset, _this.get$end(_this).offset);
  33737. },
  33738. _scanIdentifier0(scanner) {
  33739. var t1, _0_0, t2;
  33740. for (t1 = scanner.string.length; scanner._string_scanner$_position !== t1;) {
  33741. _0_0 = scanner.peekChar$0();
  33742. if (92 === _0_0) {
  33743. A.consumeEscapedCharacter0(scanner);
  33744. continue;
  33745. }
  33746. if (A._isInt(_0_0)) {
  33747. if (_0_0 !== 95) {
  33748. if (!(_0_0 >= 97 && _0_0 <= 122))
  33749. t2 = _0_0 >= 65 && _0_0 <= 90;
  33750. else
  33751. t2 = true;
  33752. t2 = t2 || _0_0 >= 128;
  33753. } else
  33754. t2 = true;
  33755. if (!t2)
  33756. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  33757. else
  33758. t2 = true;
  33759. } else
  33760. t2 = false;
  33761. if (t2) {
  33762. scanner.readChar$0();
  33763. continue;
  33764. }
  33765. break;
  33766. }
  33767. },
  33768. validateUrlScheme(scheme) {
  33769. var t1 = $.$get$_urlSchemeRegExp();
  33770. if (!t1._nativeRegExp.test(scheme))
  33771. A.jsThrow(new self.Error('"' + scheme + '" isn\'t a valid URL scheme (for example "file").'));
  33772. },
  33773. hueToRgb0(m1, m2, hue) {
  33774. var t1;
  33775. if (hue < 0)
  33776. ++hue;
  33777. if (hue > 1)
  33778. --hue;
  33779. $label0$0: {
  33780. if (hue < 0.16666666666666666) {
  33781. t1 = m1 + (m2 - m1) * hue * 6;
  33782. break $label0$0;
  33783. }
  33784. if (hue < 0.5) {
  33785. t1 = m2;
  33786. break $label0$0;
  33787. }
  33788. if (hue < 0.6666666666666666) {
  33789. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  33790. break $label0$0;
  33791. }
  33792. t1 = m1;
  33793. break $label0$0;
  33794. }
  33795. return t1;
  33796. },
  33797. srgbAndDisplayP3ToLinear0(channel) {
  33798. var abs = Math.abs(channel);
  33799. return abs <= 0.04045 ? channel / 12.92 : J.get$sign$in(channel) * Math.pow((abs + 0.055) / 1.055, 2.4);
  33800. },
  33801. srgbAndDisplayP3FromLinear0(channel) {
  33802. var abs = Math.abs(channel);
  33803. return abs <= 0.0031308 ? channel * 12.92 : J.get$sign$in(channel) * (1.055 * Math.pow(abs, 0.4166666666666667) - 0.055);
  33804. },
  33805. labToLch0(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  33806. var t3, t4, chroma, hue,
  33807. t1 = a == null,
  33808. t2 = t1 ? 0 : a;
  33809. t2 = Math.pow(t2, 2);
  33810. t3 = b == null;
  33811. t4 = t3 ? 0 : b;
  33812. chroma = Math.sqrt(t2 + Math.pow(t4, 2));
  33813. if (missingHue || A.fuzzyEquals0(chroma, 0))
  33814. hue = null;
  33815. else {
  33816. t2 = t3 ? 0 : b;
  33817. t1 = t1 ? 0 : a;
  33818. hue = Math.atan2(t2, t1) * 180 / 3.141592653589793;
  33819. }
  33820. t1 = missingChroma ? null : chroma;
  33821. return A.SassColor_SassColor$forSpaceInternal0(dest, lightness, t1, hue == null || hue >= 0 ? hue : hue + 360, alpha);
  33822. },
  33823. unwrapValue(object) {
  33824. var value;
  33825. if (object != null) {
  33826. if (object instanceof A.Value0)
  33827. return object;
  33828. value = object.dartValue;
  33829. if (value != null && value instanceof A.Value0)
  33830. return value;
  33831. if (object instanceof self.Error)
  33832. throw A.wrapException(object);
  33833. }
  33834. throw A.wrapException(A.S(object) + " must be a Sass value type.");
  33835. },
  33836. wrapValue(value) {
  33837. var t1;
  33838. $label0$0: {
  33839. if (value instanceof A.SassColor0) {
  33840. t1 = A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
  33841. break $label0$0;
  33842. }
  33843. if (value instanceof A.SassList0) {
  33844. t1 = A.callConstructor($.$get$legacyListClass(), [null, null, value]);
  33845. break $label0$0;
  33846. }
  33847. if (value instanceof A.SassMap0) {
  33848. t1 = A.callConstructor($.$get$legacyMapClass(), [null, value]);
  33849. break $label0$0;
  33850. }
  33851. if (value instanceof A.SassNumber0) {
  33852. t1 = A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
  33853. break $label0$0;
  33854. }
  33855. if (value instanceof A.SassString0) {
  33856. t1 = A.callConstructor($.$get$legacyStringClass(), [null, value]);
  33857. break $label0$0;
  33858. }
  33859. t1 = value;
  33860. break $label0$0;
  33861. }
  33862. return t1;
  33863. }
  33864. },
  33865. B = {};
  33866. var holders = [A, J, B];
  33867. var $ = {};
  33868. A.JS_CONST.prototype = {};
  33869. J.Interceptor.prototype = {
  33870. $eq(receiver, other) {
  33871. return receiver === other;
  33872. },
  33873. get$hashCode(receiver) {
  33874. return A.Primitives_objectHashCode(receiver);
  33875. },
  33876. toString$0(receiver) {
  33877. return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
  33878. },
  33879. noSuchMethod$1(receiver, invocation) {
  33880. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation));
  33881. },
  33882. get$runtimeType(receiver) {
  33883. return A.createRuntimeType(A._instanceTypeFromConstructor(this));
  33884. }
  33885. };
  33886. J.JSBool.prototype = {
  33887. toString$0(receiver) {
  33888. return String(receiver);
  33889. },
  33890. $or(receiver, other) {
  33891. return other || receiver;
  33892. },
  33893. get$hashCode(receiver) {
  33894. return receiver ? 519018 : 218159;
  33895. },
  33896. get$runtimeType(receiver) {
  33897. return A.createRuntimeType(type$.bool);
  33898. },
  33899. $isTrustedGetRuntimeType: 1,
  33900. $isbool: 1
  33901. };
  33902. J.JSNull.prototype = {
  33903. $eq(receiver, other) {
  33904. return null == other;
  33905. },
  33906. toString$0(receiver) {
  33907. return "null";
  33908. },
  33909. get$hashCode(receiver) {
  33910. return 0;
  33911. },
  33912. get$runtimeType(receiver) {
  33913. return A.createRuntimeType(type$.Null);
  33914. },
  33915. $isTrustedGetRuntimeType: 1,
  33916. $isNull: 1
  33917. };
  33918. J.JavaScriptObject.prototype = {$isJSObject: 1};
  33919. J.LegacyJavaScriptObject.prototype = {
  33920. get$hashCode(receiver) {
  33921. return 0;
  33922. },
  33923. toString$0(receiver) {
  33924. return String(receiver);
  33925. },
  33926. $isPromise: 1,
  33927. $isJsSystemError: 1,
  33928. $isImmutableList: 1,
  33929. $is_ConstructionOptions: 1,
  33930. $is_ChannelOptions: 1,
  33931. $is_ToGamutOptions: 1,
  33932. $is_InterpolationOptions: 1,
  33933. $is_NodeSassColor: 1,
  33934. $isCompileOptions: 1,
  33935. $isCompileStringOptions: 1,
  33936. $isNodeCompileResult: 1,
  33937. $isDeprecation1: 1,
  33938. $is_NodeException: 1,
  33939. $isJSExpressionVisitorObject: 1,
  33940. $isFiber: 1,
  33941. $isJSFunction0: 1,
  33942. $isImmutableList0: 1,
  33943. $isImmutableMap0: 1,
  33944. $isJSImporter: 1,
  33945. $isJSImporterResult: 1,
  33946. $isNodeImporterResult0: 1,
  33947. $is_ConstructorOptions: 1,
  33948. $is_NodeSassList: 1,
  33949. $isWarnOptions: 1,
  33950. $isDebugOptions: 1,
  33951. $is_NodeSassMap: 1,
  33952. $is_ConstructorOptions0: 1,
  33953. $is_NodeSassNumber: 1,
  33954. $isParserExports: 1,
  33955. $isJSClass0: 1,
  33956. $isRenderContextOptions0: 1,
  33957. $isRenderOptions: 1,
  33958. $isRenderResult: 1,
  33959. $isJSSet: 1,
  33960. $isJSStatementVisitorObject: 1,
  33961. $is_ConstructorOptions1: 1,
  33962. $is_NodeSassString: 1,
  33963. $isJSUrl0: 1,
  33964. get$isTTY(obj) {
  33965. return obj.isTTY;
  33966. },
  33967. get$write(obj) {
  33968. return obj.write;
  33969. },
  33970. write$1(receiver, p0) {
  33971. return receiver.write(p0);
  33972. },
  33973. createInterface$1(receiver, p0) {
  33974. return receiver.createInterface(p0);
  33975. },
  33976. on$2(receiver, p0, p1) {
  33977. return receiver.on(p0, p1);
  33978. },
  33979. get$close(obj) {
  33980. return obj.close;
  33981. },
  33982. close$0(receiver) {
  33983. return receiver.close();
  33984. },
  33985. setPrompt$1(receiver, p0) {
  33986. return receiver.setPrompt(p0);
  33987. },
  33988. get$length(obj) {
  33989. return obj.length;
  33990. },
  33991. toString$0(receiver) {
  33992. return receiver.toString();
  33993. },
  33994. get$debug(obj) {
  33995. return obj.debug;
  33996. },
  33997. debug$2(receiver, p0, p1) {
  33998. return receiver.debug(p0, p1);
  33999. },
  34000. get$error(obj) {
  34001. return obj.error;
  34002. },
  34003. error$1(receiver, p0) {
  34004. return receiver.error(p0);
  34005. },
  34006. error$2(receiver, p0, p1) {
  34007. return receiver.error(p0, p1);
  34008. },
  34009. log$1(receiver, p0) {
  34010. return receiver.log(p0);
  34011. },
  34012. get$warn(obj) {
  34013. return obj.warn;
  34014. },
  34015. warn$1(receiver, p0) {
  34016. return receiver.warn(p0);
  34017. },
  34018. warn$2(receiver, p0, p1) {
  34019. return receiver.warn(p0, p1);
  34020. },
  34021. existsSync$1(receiver, p0) {
  34022. return receiver.existsSync(p0);
  34023. },
  34024. mkdirSync$1(receiver, p0) {
  34025. return receiver.mkdirSync(p0);
  34026. },
  34027. readdirSync$1(receiver, p0) {
  34028. return receiver.readdirSync(p0);
  34029. },
  34030. readFileSync$2(receiver, p0, p1) {
  34031. return receiver.readFileSync(p0, p1);
  34032. },
  34033. statSync$1(receiver, p0) {
  34034. return receiver.statSync(p0);
  34035. },
  34036. unlinkSync$1(receiver, p0) {
  34037. return receiver.unlinkSync(p0);
  34038. },
  34039. watch$2(receiver, p0, p1) {
  34040. return receiver.watch(p0, p1);
  34041. },
  34042. writeFileSync$2(receiver, p0, p1) {
  34043. return receiver.writeFileSync(p0, p1);
  34044. },
  34045. get$path(obj) {
  34046. return obj.path;
  34047. },
  34048. isDirectory$0(receiver) {
  34049. return receiver.isDirectory();
  34050. },
  34051. isFile$0(receiver) {
  34052. return receiver.isFile();
  34053. },
  34054. get$mtime(obj) {
  34055. return obj.mtime;
  34056. },
  34057. then$2(receiver, p0, p1) {
  34058. return receiver.then(p0, p1);
  34059. },
  34060. then$1$1(receiver, p0) {
  34061. return receiver.then(p0);
  34062. },
  34063. getTime$0(receiver) {
  34064. return receiver.getTime();
  34065. },
  34066. get$message(obj) {
  34067. return obj.message;
  34068. },
  34069. message$1(receiver, p0) {
  34070. return receiver.message(p0);
  34071. },
  34072. get$filename(obj) {
  34073. return obj.filename;
  34074. },
  34075. get$id(obj) {
  34076. return obj.id;
  34077. },
  34078. get$code(obj) {
  34079. return obj.code;
  34080. },
  34081. get$syscall(obj) {
  34082. return obj.syscall;
  34083. },
  34084. get$argv(obj) {
  34085. return obj.argv;
  34086. },
  34087. get$env(obj) {
  34088. return obj.env;
  34089. },
  34090. get$exitCode(obj) {
  34091. return obj.exitCode;
  34092. },
  34093. set$exitCode(obj, v) {
  34094. return obj.exitCode = v;
  34095. },
  34096. get$platform(obj) {
  34097. return obj.platform;
  34098. },
  34099. get$release(obj) {
  34100. return obj.release;
  34101. },
  34102. get$stderr(obj) {
  34103. return obj.stderr;
  34104. },
  34105. get$stdin(obj) {
  34106. return obj.stdin;
  34107. },
  34108. get$stdout(obj) {
  34109. return obj.stdout;
  34110. },
  34111. get$name(obj) {
  34112. return obj.name;
  34113. },
  34114. push$1(receiver, p0) {
  34115. return receiver.push(p0);
  34116. },
  34117. call$0(receiver) {
  34118. return receiver.call();
  34119. },
  34120. call$1(receiver, p0) {
  34121. return receiver.call(p0);
  34122. },
  34123. call$2(receiver, p0, p1) {
  34124. return receiver.call(p0, p1);
  34125. },
  34126. call$3$1(receiver, p0) {
  34127. return receiver.call(p0);
  34128. },
  34129. call$2$1(receiver, p0) {
  34130. return receiver.call(p0);
  34131. },
  34132. call$1$1(receiver, p0) {
  34133. return receiver.call(p0);
  34134. },
  34135. call$3(receiver, p0, p1, p2) {
  34136. return receiver.call(p0, p1, p2);
  34137. },
  34138. call$3$3(receiver, p0, p1, p2) {
  34139. return receiver.call(p0, p1, p2);
  34140. },
  34141. call$2$2(receiver, p0, p1) {
  34142. return receiver.call(p0, p1);
  34143. },
  34144. call$2$0(receiver) {
  34145. return receiver.call();
  34146. },
  34147. call$1$0(receiver) {
  34148. return receiver.call();
  34149. },
  34150. call$1$2(receiver, p0, p1) {
  34151. return receiver.call(p0, p1);
  34152. },
  34153. call$2$3(receiver, p0, p1, p2) {
  34154. return receiver.call(p0, p1, p2);
  34155. },
  34156. apply$2(receiver, p0, p1) {
  34157. return receiver.apply(p0, p1);
  34158. },
  34159. toArray$0(receiver) {
  34160. return receiver.toArray();
  34161. },
  34162. asMutable$0(receiver) {
  34163. return receiver.asMutable();
  34164. },
  34165. asImmutable$0(receiver) {
  34166. return receiver.asImmutable();
  34167. },
  34168. $set$2(receiver, p0, p1) {
  34169. return receiver.set(p0, p1);
  34170. },
  34171. forEach$1(receiver, p0) {
  34172. return receiver.forEach(p0);
  34173. },
  34174. get$file(obj) {
  34175. return obj.file;
  34176. },
  34177. get$contents(obj) {
  34178. return obj.contents;
  34179. },
  34180. get$options(obj) {
  34181. return obj.options;
  34182. },
  34183. get$data(obj) {
  34184. return obj.data;
  34185. },
  34186. get$includePaths(obj) {
  34187. return obj.includePaths;
  34188. },
  34189. get$style(obj) {
  34190. return obj.style;
  34191. },
  34192. get$indentType(obj) {
  34193. return obj.indentType;
  34194. },
  34195. get$indentWidth(obj) {
  34196. return obj.indentWidth;
  34197. },
  34198. get$linefeed(obj) {
  34199. return obj.linefeed;
  34200. },
  34201. set$context(obj, v) {
  34202. return obj.context = v;
  34203. },
  34204. createRequire$1(receiver, p0) {
  34205. return receiver.createRequire(p0);
  34206. },
  34207. resolve$1(receiver, p0) {
  34208. return receiver.resolve(p0);
  34209. },
  34210. get$$prototype(obj) {
  34211. return obj.prototype;
  34212. },
  34213. get$red(obj) {
  34214. return obj.red;
  34215. },
  34216. get$green(obj) {
  34217. return obj.green;
  34218. },
  34219. get$blue(obj) {
  34220. return obj.blue;
  34221. },
  34222. get$hue(obj) {
  34223. return obj.hue;
  34224. },
  34225. get$saturation(obj) {
  34226. return obj.saturation;
  34227. },
  34228. get$lightness(obj) {
  34229. return obj.lightness;
  34230. },
  34231. get$whiteness(obj) {
  34232. return obj.whiteness;
  34233. },
  34234. get$blackness(obj) {
  34235. return obj.blackness;
  34236. },
  34237. get$alpha(obj) {
  34238. return obj.alpha;
  34239. },
  34240. get$a(obj) {
  34241. return obj.a;
  34242. },
  34243. get$b(obj) {
  34244. return obj.b;
  34245. },
  34246. get$x(obj) {
  34247. return obj.x;
  34248. },
  34249. get$y(obj) {
  34250. return obj.y;
  34251. },
  34252. get$z(obj) {
  34253. return obj.z;
  34254. },
  34255. get$chroma(obj) {
  34256. return obj.chroma;
  34257. },
  34258. get$space(obj) {
  34259. return obj.space;
  34260. },
  34261. get$method(obj) {
  34262. return obj.method;
  34263. },
  34264. get$weight(obj) {
  34265. return obj.weight;
  34266. },
  34267. get$dartValue(obj) {
  34268. return obj.dartValue;
  34269. },
  34270. set$dartValue(obj, v) {
  34271. return obj.dartValue = v;
  34272. },
  34273. get$alertAscii(obj) {
  34274. return obj.alertAscii;
  34275. },
  34276. get$alertColor(obj) {
  34277. return obj.alertColor;
  34278. },
  34279. get$loadPaths(obj) {
  34280. return obj.loadPaths;
  34281. },
  34282. get$quietDeps(obj) {
  34283. return obj.quietDeps;
  34284. },
  34285. get$verbose(obj) {
  34286. return obj.verbose;
  34287. },
  34288. get$charset(obj) {
  34289. return obj.charset;
  34290. },
  34291. get$sourceMap(obj) {
  34292. return obj.sourceMap;
  34293. },
  34294. get$sourceMapIncludeSources(obj) {
  34295. return obj.sourceMapIncludeSources;
  34296. },
  34297. get$logger(obj) {
  34298. return obj.logger;
  34299. },
  34300. get$importers(obj) {
  34301. return obj.importers;
  34302. },
  34303. get$functions(obj) {
  34304. return obj.functions;
  34305. },
  34306. get$fatalDeprecations(obj) {
  34307. return obj.fatalDeprecations;
  34308. },
  34309. get$silenceDeprecations(obj) {
  34310. return obj.silenceDeprecations;
  34311. },
  34312. get$futureDeprecations(obj) {
  34313. return obj.futureDeprecations;
  34314. },
  34315. get$syntax(obj) {
  34316. return obj.syntax;
  34317. },
  34318. get$url(obj) {
  34319. return obj.url;
  34320. },
  34321. get$importer(obj) {
  34322. return obj.importer;
  34323. },
  34324. get$_dartException(obj) {
  34325. return obj._dartException;
  34326. },
  34327. set$renderSync(obj, v) {
  34328. return obj.renderSync = v;
  34329. },
  34330. set$compileString(obj, v) {
  34331. return obj.compileString = v;
  34332. },
  34333. set$compileStringAsync(obj, v) {
  34334. return obj.compileStringAsync = v;
  34335. },
  34336. set$compile(obj, v) {
  34337. return obj.compile = v;
  34338. },
  34339. set$compileAsync(obj, v) {
  34340. return obj.compileAsync = v;
  34341. },
  34342. set$initCompiler(obj, v) {
  34343. return obj.initCompiler = v;
  34344. },
  34345. set$initAsyncCompiler(obj, v) {
  34346. return obj.initAsyncCompiler = v;
  34347. },
  34348. set$Compiler(obj, v) {
  34349. return obj.Compiler = v;
  34350. },
  34351. set$AsyncCompiler(obj, v) {
  34352. return obj.AsyncCompiler = v;
  34353. },
  34354. set$info(obj, v) {
  34355. return obj.info = v;
  34356. },
  34357. set$Exception(obj, v) {
  34358. return obj.Exception = v;
  34359. },
  34360. set$Logger(obj, v) {
  34361. return obj.Logger = v;
  34362. },
  34363. set$NodePackageImporter(obj, v) {
  34364. return obj.NodePackageImporter = v;
  34365. },
  34366. set$deprecations(obj, v) {
  34367. return obj.deprecations = v;
  34368. },
  34369. set$Version(obj, v) {
  34370. return obj.Version = v;
  34371. },
  34372. set$Value(obj, v) {
  34373. return obj.Value = v;
  34374. },
  34375. set$SassArgumentList(obj, v) {
  34376. return obj.SassArgumentList = v;
  34377. },
  34378. set$SassCalculation(obj, v) {
  34379. return obj.SassCalculation = v;
  34380. },
  34381. set$CalculationOperation(obj, v) {
  34382. return obj.CalculationOperation = v;
  34383. },
  34384. set$CalculationInterpolation(obj, v) {
  34385. return obj.CalculationInterpolation = v;
  34386. },
  34387. set$SassBoolean(obj, v) {
  34388. return obj.SassBoolean = v;
  34389. },
  34390. set$SassColor(obj, v) {
  34391. return obj.SassColor = v;
  34392. },
  34393. set$SassFunction(obj, v) {
  34394. return obj.SassFunction = v;
  34395. },
  34396. set$SassMixin(obj, v) {
  34397. return obj.SassMixin = v;
  34398. },
  34399. set$SassList(obj, v) {
  34400. return obj.SassList = v;
  34401. },
  34402. set$SassMap(obj, v) {
  34403. return obj.SassMap = v;
  34404. },
  34405. set$SassNumber(obj, v) {
  34406. return obj.SassNumber = v;
  34407. },
  34408. set$SassString(obj, v) {
  34409. return obj.SassString = v;
  34410. },
  34411. set$sassNull(obj, v) {
  34412. return obj.sassNull = v;
  34413. },
  34414. set$sassTrue(obj, v) {
  34415. return obj.sassTrue = v;
  34416. },
  34417. set$sassFalse(obj, v) {
  34418. return obj.sassFalse = v;
  34419. },
  34420. set$render(obj, v) {
  34421. return obj.render = v;
  34422. },
  34423. set$types(obj, v) {
  34424. return obj.types = v;
  34425. },
  34426. set$NULL(obj, v) {
  34427. return obj.NULL = v;
  34428. },
  34429. set$TRUE(obj, v) {
  34430. return obj.TRUE = v;
  34431. },
  34432. set$FALSE(obj, v) {
  34433. return obj.FALSE = v;
  34434. },
  34435. set$loadParserExports_(obj, v) {
  34436. return obj.loadParserExports_ = v;
  34437. },
  34438. visitBinaryOperationExpression$1(receiver, p0) {
  34439. return receiver.visitBinaryOperationExpression(p0);
  34440. },
  34441. visitBooleanExpression$1(receiver, p0) {
  34442. return receiver.visitBooleanExpression(p0);
  34443. },
  34444. visitColorExpression$1(receiver, p0) {
  34445. return receiver.visitColorExpression(p0);
  34446. },
  34447. visitInterpolatedFunctionExpression$1(receiver, p0) {
  34448. return receiver.visitInterpolatedFunctionExpression(p0);
  34449. },
  34450. visitFunctionExpression$1(receiver, p0) {
  34451. return receiver.visitFunctionExpression(p0);
  34452. },
  34453. visitIfExpression$1(receiver, p0) {
  34454. return receiver.visitIfExpression(p0);
  34455. },
  34456. visitListExpression$1(receiver, p0) {
  34457. return receiver.visitListExpression(p0);
  34458. },
  34459. visitMapExpression$1(receiver, p0) {
  34460. return receiver.visitMapExpression(p0);
  34461. },
  34462. visitNullExpression$1(receiver, p0) {
  34463. return receiver.visitNullExpression(p0);
  34464. },
  34465. visitNumberExpression$1(receiver, p0) {
  34466. return receiver.visitNumberExpression(p0);
  34467. },
  34468. visitParenthesizedExpression$1(receiver, p0) {
  34469. return receiver.visitParenthesizedExpression(p0);
  34470. },
  34471. visitSelectorExpression$1(receiver, p0) {
  34472. return receiver.visitSelectorExpression(p0);
  34473. },
  34474. visitStringExpression$1(receiver, p0) {
  34475. return receiver.visitStringExpression(p0);
  34476. },
  34477. visitSupportsExpression$1(receiver, p0) {
  34478. return receiver.visitSupportsExpression(p0);
  34479. },
  34480. visitUnaryOperationExpression$1(receiver, p0) {
  34481. return receiver.visitUnaryOperationExpression(p0);
  34482. },
  34483. visitValueExpression$1(receiver, p0) {
  34484. return receiver.visitValueExpression(p0);
  34485. },
  34486. visitVariableExpression$1(receiver, p0) {
  34487. return receiver.visitVariableExpression(p0);
  34488. },
  34489. get$current(obj) {
  34490. return obj.current;
  34491. },
  34492. yield$0(receiver) {
  34493. return receiver.yield();
  34494. },
  34495. run$1$1(receiver, p0) {
  34496. return receiver.run(p0);
  34497. },
  34498. run$1(receiver, p0) {
  34499. return receiver.run(p0);
  34500. },
  34501. run$0(receiver) {
  34502. return receiver.run();
  34503. },
  34504. get$canonicalize(obj) {
  34505. return obj.canonicalize;
  34506. },
  34507. canonicalize$1(receiver, p0) {
  34508. return receiver.canonicalize(p0);
  34509. },
  34510. get$load(obj) {
  34511. return obj.load;
  34512. },
  34513. load$1(receiver, p0) {
  34514. return receiver.load(p0);
  34515. },
  34516. get$findFileUrl(obj) {
  34517. return obj.findFileUrl;
  34518. },
  34519. get$nonCanonicalScheme(obj) {
  34520. return obj.nonCanonicalScheme;
  34521. },
  34522. get$sourceMapUrl(obj) {
  34523. return obj.sourceMapUrl;
  34524. },
  34525. get$separator(obj) {
  34526. return obj.separator;
  34527. },
  34528. get$brackets(obj) {
  34529. return obj.brackets;
  34530. },
  34531. get$numeratorUnits(obj) {
  34532. return obj.numeratorUnits;
  34533. },
  34534. get$denominatorUnits(obj) {
  34535. return obj.denominatorUnits;
  34536. },
  34537. get$pkgImporter(obj) {
  34538. return obj.pkgImporter;
  34539. },
  34540. get$indentedSyntax(obj) {
  34541. return obj.indentedSyntax;
  34542. },
  34543. get$omitSourceMapUrl(obj) {
  34544. return obj.omitSourceMapUrl;
  34545. },
  34546. get$outFile(obj) {
  34547. return obj.outFile;
  34548. },
  34549. get$outputStyle(obj) {
  34550. return obj.outputStyle;
  34551. },
  34552. get$fiber(obj) {
  34553. return obj.fiber;
  34554. },
  34555. get$sourceMapContents(obj) {
  34556. return obj.sourceMapContents;
  34557. },
  34558. get$sourceMapEmbed(obj) {
  34559. return obj.sourceMapEmbed;
  34560. },
  34561. get$sourceMapRoot(obj) {
  34562. return obj.sourceMapRoot;
  34563. },
  34564. set$cli_pkg_main_0_(obj, v) {
  34565. return obj.cli_pkg_main_0_ = v;
  34566. },
  34567. visitAtRootRule$1(receiver, p0) {
  34568. return receiver.visitAtRootRule(p0);
  34569. },
  34570. visitAtRule$1(receiver, p0) {
  34571. return receiver.visitAtRule(p0);
  34572. },
  34573. get$visitContentBlock(obj) {
  34574. return obj.visitContentBlock;
  34575. },
  34576. visitContentBlock$1(receiver, p0) {
  34577. return receiver.visitContentBlock(p0);
  34578. },
  34579. visitContentRule$1(receiver, p0) {
  34580. return receiver.visitContentRule(p0);
  34581. },
  34582. visitDebugRule$1(receiver, p0) {
  34583. return receiver.visitDebugRule(p0);
  34584. },
  34585. visitDeclaration$1(receiver, p0) {
  34586. return receiver.visitDeclaration(p0);
  34587. },
  34588. visitEachRule$1(receiver, p0) {
  34589. return receiver.visitEachRule(p0);
  34590. },
  34591. visitErrorRule$1(receiver, p0) {
  34592. return receiver.visitErrorRule(p0);
  34593. },
  34594. visitExtendRule$1(receiver, p0) {
  34595. return receiver.visitExtendRule(p0);
  34596. },
  34597. visitForRule$1(receiver, p0) {
  34598. return receiver.visitForRule(p0);
  34599. },
  34600. visitForwardRule$1(receiver, p0) {
  34601. return receiver.visitForwardRule(p0);
  34602. },
  34603. visitFunctionRule$1(receiver, p0) {
  34604. return receiver.visitFunctionRule(p0);
  34605. },
  34606. visitIfRule$1(receiver, p0) {
  34607. return receiver.visitIfRule(p0);
  34608. },
  34609. visitImportRule$1(receiver, p0) {
  34610. return receiver.visitImportRule(p0);
  34611. },
  34612. visitIncludeRule$1(receiver, p0) {
  34613. return receiver.visitIncludeRule(p0);
  34614. },
  34615. visitLoudComment$1(receiver, p0) {
  34616. return receiver.visitLoudComment(p0);
  34617. },
  34618. visitMediaRule$1(receiver, p0) {
  34619. return receiver.visitMediaRule(p0);
  34620. },
  34621. visitMixinRule$1(receiver, p0) {
  34622. return receiver.visitMixinRule(p0);
  34623. },
  34624. visitReturnRule$1(receiver, p0) {
  34625. return receiver.visitReturnRule(p0);
  34626. },
  34627. visitSilentComment$1(receiver, p0) {
  34628. return receiver.visitSilentComment(p0);
  34629. },
  34630. visitStyleRule$1(receiver, p0) {
  34631. return receiver.visitStyleRule(p0);
  34632. },
  34633. visitStylesheet$1(receiver, p0) {
  34634. return receiver.visitStylesheet(p0);
  34635. },
  34636. visitSupportsRule$1(receiver, p0) {
  34637. return receiver.visitSupportsRule(p0);
  34638. },
  34639. visitUseRule$1(receiver, p0) {
  34640. return receiver.visitUseRule(p0);
  34641. },
  34642. visitVariableDeclaration$1(receiver, p0) {
  34643. return receiver.visitVariableDeclaration(p0);
  34644. },
  34645. visitWarnRule$1(receiver, p0) {
  34646. return receiver.visitWarnRule(p0);
  34647. },
  34648. visitWhileRule$1(receiver, p0) {
  34649. return receiver.visitWhileRule(p0);
  34650. },
  34651. get$quotes(obj) {
  34652. return obj.quotes;
  34653. }
  34654. };
  34655. J.PlainJavaScriptObject.prototype = {};
  34656. J.UnknownJavaScriptObject.prototype = {};
  34657. J.JavaScriptFunction.prototype = {
  34658. toString$0(receiver) {
  34659. var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
  34660. if (dartClosure == null)
  34661. return this.super$LegacyJavaScriptObject$toString(receiver);
  34662. return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
  34663. },
  34664. $isFunction: 1
  34665. };
  34666. J.JavaScriptBigInt.prototype = {
  34667. get$hashCode(receiver) {
  34668. return 0;
  34669. },
  34670. toString$0(receiver) {
  34671. return String(receiver);
  34672. }
  34673. };
  34674. J.JavaScriptSymbol.prototype = {
  34675. get$hashCode(receiver) {
  34676. return 0;
  34677. },
  34678. toString$0(receiver) {
  34679. return String(receiver);
  34680. }
  34681. };
  34682. J.JSArray.prototype = {
  34683. cast$1$0(receiver, $R) {
  34684. return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  34685. },
  34686. add$1(receiver, value) {
  34687. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, 29);
  34688. receiver.push(value);
  34689. },
  34690. removeAt$1(receiver, index) {
  34691. var t1;
  34692. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "removeAt", 1);
  34693. t1 = receiver.length;
  34694. if (index >= t1)
  34695. throw A.wrapException(A.RangeError$value(index, null, null));
  34696. return receiver.splice(index, 1)[0];
  34697. },
  34698. insert$2(receiver, index, value) {
  34699. var t1;
  34700. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "insert", 2);
  34701. t1 = receiver.length;
  34702. if (index > t1)
  34703. throw A.wrapException(A.RangeError$value(index, null, null));
  34704. receiver.splice(index, 0, value);
  34705. },
  34706. insertAll$2(receiver, index, iterable) {
  34707. var insertionLength, end;
  34708. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "insertAll", 2);
  34709. A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
  34710. if (!type$.EfficientLengthIterable_dynamic._is(iterable))
  34711. iterable = J.toList$0$ax(iterable);
  34712. insertionLength = J.get$length$asx(iterable);
  34713. receiver.length = receiver.length + insertionLength;
  34714. end = index + insertionLength;
  34715. this.setRange$4(receiver, end, receiver.length, receiver, index);
  34716. this.setRange$3(receiver, index, end, iterable);
  34717. },
  34718. removeLast$0(receiver) {
  34719. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "removeLast", 1);
  34720. if (receiver.length === 0)
  34721. throw A.wrapException(A.diagnoseIndexError(receiver, -1));
  34722. return receiver.pop();
  34723. },
  34724. _removeWhere$2(receiver, test, removeMatching) {
  34725. var i, element, t1, retained = [],
  34726. end = receiver.length;
  34727. for (i = 0; i < end; ++i) {
  34728. element = receiver[i];
  34729. if (!test.call$1(element))
  34730. retained.push(element);
  34731. if (receiver.length !== end)
  34732. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34733. }
  34734. t1 = retained.length;
  34735. if (t1 === end)
  34736. return;
  34737. this.set$length(receiver, t1);
  34738. for (i = 0; i < retained.length; ++i)
  34739. receiver[i] = retained[i];
  34740. },
  34741. where$1(receiver, f) {
  34742. return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
  34743. },
  34744. expand$1$1(receiver, f, $T) {
  34745. return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  34746. },
  34747. addAll$1(receiver, collection) {
  34748. var t1;
  34749. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "addAll", 2);
  34750. if (Array.isArray(collection)) {
  34751. this._addAllFromArray$1(receiver, collection);
  34752. return;
  34753. }
  34754. for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
  34755. receiver.push(t1.get$current(t1));
  34756. },
  34757. _addAllFromArray$1(receiver, array) {
  34758. var i,
  34759. len = array.length;
  34760. if (len === 0)
  34761. return;
  34762. if (receiver === array)
  34763. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34764. for (i = 0; i < len; ++i)
  34765. receiver.push(array[i]);
  34766. },
  34767. clear$0(receiver) {
  34768. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "clear", "clear");
  34769. receiver.length = 0;
  34770. },
  34771. forEach$1(receiver, f) {
  34772. var i,
  34773. end = receiver.length;
  34774. for (i = 0; i < end; ++i) {
  34775. f.call$1(receiver[i]);
  34776. if (receiver.length !== end)
  34777. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34778. }
  34779. },
  34780. map$1$1(receiver, f, $T) {
  34781. return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  34782. },
  34783. join$1(receiver, separator) {
  34784. var i,
  34785. list = A.List_List$filled(receiver.length, "", false, type$.String);
  34786. for (i = 0; i < receiver.length; ++i)
  34787. list[i] = A.S(receiver[i]);
  34788. return list.join(separator);
  34789. },
  34790. join$0(receiver) {
  34791. return this.join$1(receiver, "");
  34792. },
  34793. take$1(receiver, n) {
  34794. return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
  34795. },
  34796. skip$1(receiver, n) {
  34797. return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
  34798. },
  34799. fold$1$2(receiver, initialValue, combine) {
  34800. var value, i,
  34801. $length = receiver.length;
  34802. for (value = initialValue, i = 0; i < $length; ++i) {
  34803. value = combine.call$2(value, receiver[i]);
  34804. if (receiver.length !== $length)
  34805. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34806. }
  34807. return value;
  34808. },
  34809. fold$2(receiver, initialValue, combine) {
  34810. return this.fold$1$2(receiver, initialValue, combine, type$.dynamic);
  34811. },
  34812. firstWhere$1(receiver, test) {
  34813. var i, element,
  34814. end = receiver.length;
  34815. for (i = 0; i < end; ++i) {
  34816. element = receiver[i];
  34817. if (test.call$1(element))
  34818. return element;
  34819. if (receiver.length !== end)
  34820. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34821. }
  34822. throw A.wrapException(A.IterableElementError_noElement());
  34823. },
  34824. elementAt$1(receiver, index) {
  34825. return receiver[index];
  34826. },
  34827. sublist$2(receiver, start, end) {
  34828. var end0 = receiver.length;
  34829. if (start > end0)
  34830. throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
  34831. if (end == null)
  34832. end = end0;
  34833. else if (end < start || end > end0)
  34834. throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
  34835. if (start === end)
  34836. return A._setArrayType([], A._arrayInstanceType(receiver));
  34837. return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
  34838. },
  34839. sublist$1(receiver, start) {
  34840. return this.sublist$2(receiver, start, null);
  34841. },
  34842. getRange$2(receiver, start, end) {
  34843. A.RangeError_checkValidRange(start, end, receiver.length);
  34844. return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
  34845. },
  34846. get$first(receiver) {
  34847. if (receiver.length > 0)
  34848. return receiver[0];
  34849. throw A.wrapException(A.IterableElementError_noElement());
  34850. },
  34851. get$last(receiver) {
  34852. var t1 = receiver.length;
  34853. if (t1 > 0)
  34854. return receiver[t1 - 1];
  34855. throw A.wrapException(A.IterableElementError_noElement());
  34856. },
  34857. get$single(receiver) {
  34858. var t1 = receiver.length;
  34859. if (t1 === 1)
  34860. return receiver[0];
  34861. if (t1 === 0)
  34862. throw A.wrapException(A.IterableElementError_noElement());
  34863. throw A.wrapException(A.IterableElementError_tooMany());
  34864. },
  34865. removeRange$2(receiver, start, end) {
  34866. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, 18);
  34867. A.RangeError_checkValidRange(start, end, receiver.length);
  34868. receiver.splice(start, end - start);
  34869. },
  34870. setRange$4(receiver, start, end, iterable, skipCount) {
  34871. var $length, otherList, otherStart, t1, i;
  34872. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  34873. A.RangeError_checkValidRange(start, end, receiver.length);
  34874. $length = end - start;
  34875. if ($length === 0)
  34876. return;
  34877. A.RangeError_checkNotNegative(skipCount, "skipCount");
  34878. if (type$.List_dynamic._is(iterable)) {
  34879. otherList = iterable;
  34880. otherStart = skipCount;
  34881. } else {
  34882. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  34883. otherStart = 0;
  34884. }
  34885. t1 = J.getInterceptor$asx(otherList);
  34886. if (otherStart + $length > t1.get$length(otherList))
  34887. throw A.wrapException(A.IterableElementError_tooFew());
  34888. if (otherStart < start)
  34889. for (i = $length - 1; i >= 0; --i)
  34890. receiver[start + i] = t1.$index(otherList, otherStart + i);
  34891. else
  34892. for (i = 0; i < $length; ++i)
  34893. receiver[start + i] = t1.$index(otherList, otherStart + i);
  34894. },
  34895. setRange$3(receiver, start, end, iterable) {
  34896. return this.setRange$4(receiver, start, end, iterable, 0);
  34897. },
  34898. fillRange$3(receiver, start, end, fillValue) {
  34899. var i;
  34900. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, "fillRange");
  34901. A.RangeError_checkValidRange(start, end, receiver.length);
  34902. A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
  34903. for (i = start; i < end; ++i)
  34904. receiver[i] = fillValue;
  34905. },
  34906. any$1(receiver, test) {
  34907. var i,
  34908. end = receiver.length;
  34909. for (i = 0; i < end; ++i) {
  34910. if (test.call$1(receiver[i]))
  34911. return true;
  34912. if (receiver.length !== end)
  34913. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34914. }
  34915. return false;
  34916. },
  34917. every$1(receiver, test) {
  34918. var i,
  34919. end = receiver.length;
  34920. for (i = 0; i < end; ++i) {
  34921. if (!test.call$1(receiver[i]))
  34922. return false;
  34923. if (receiver.length !== end)
  34924. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34925. }
  34926. return true;
  34927. },
  34928. get$reversed(receiver) {
  34929. return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
  34930. },
  34931. sort$1(receiver, compare) {
  34932. var len, a, b, undefineds, i;
  34933. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, "sort");
  34934. len = receiver.length;
  34935. if (len < 2)
  34936. return;
  34937. if (compare == null)
  34938. compare = J._interceptors_JSArray__compareAny$closure();
  34939. if (len === 2) {
  34940. a = receiver[0];
  34941. b = receiver[1];
  34942. if (compare.call$2(a, b) > 0) {
  34943. receiver[0] = b;
  34944. receiver[1] = a;
  34945. }
  34946. return;
  34947. }
  34948. undefineds = 0;
  34949. if (A._arrayInstanceType(receiver)._precomputed1._is(null))
  34950. for (i = 0; i < receiver.length; ++i)
  34951. if (receiver[i] === void 0) {
  34952. receiver[i] = null;
  34953. ++undefineds;
  34954. }
  34955. receiver.sort(A.convertDartClosureToJS(compare, 2));
  34956. if (undefineds > 0)
  34957. this._replaceSomeNullsWithUndefined$1(receiver, undefineds);
  34958. },
  34959. sort$0(receiver) {
  34960. return this.sort$1(receiver, null);
  34961. },
  34962. _replaceSomeNullsWithUndefined$1(receiver, count) {
  34963. var i0,
  34964. i = receiver.length;
  34965. for (; i0 = i - 1, i > 0; i = i0)
  34966. if (receiver[i0] === null) {
  34967. receiver[i0] = void 0;
  34968. --count;
  34969. if (count === 0)
  34970. break;
  34971. }
  34972. },
  34973. indexOf$1(receiver, element) {
  34974. var i,
  34975. $length = receiver.length;
  34976. if (0 >= $length)
  34977. return -1;
  34978. for (i = 0; i < $length; ++i)
  34979. if (J.$eq$(receiver[i], element))
  34980. return i;
  34981. return -1;
  34982. },
  34983. contains$1(receiver, other) {
  34984. var i;
  34985. for (i = 0; i < receiver.length; ++i)
  34986. if (J.$eq$(receiver[i], other))
  34987. return true;
  34988. return false;
  34989. },
  34990. get$isEmpty(receiver) {
  34991. return receiver.length === 0;
  34992. },
  34993. get$isNotEmpty(receiver) {
  34994. return receiver.length !== 0;
  34995. },
  34996. toString$0(receiver) {
  34997. return A.Iterable_iterableToFullString(receiver, "[", "]");
  34998. },
  34999. toList$1$growable(receiver, growable) {
  35000. var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
  35001. return t1;
  35002. },
  35003. toList$0(receiver) {
  35004. return this.toList$1$growable(receiver, true);
  35005. },
  35006. toSet$0(receiver) {
  35007. return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
  35008. },
  35009. get$iterator(receiver) {
  35010. return new J.ArrayIterator(receiver, receiver.length, A._arrayInstanceType(receiver)._eval$1("ArrayIterator<1>"));
  35011. },
  35012. get$hashCode(receiver) {
  35013. return A.Primitives_objectHashCode(receiver);
  35014. },
  35015. get$length(receiver) {
  35016. return receiver.length;
  35017. },
  35018. set$length(receiver, newLength) {
  35019. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "set length", "change the length of");
  35020. if (newLength < 0)
  35021. throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
  35022. if (newLength > receiver.length)
  35023. A._arrayInstanceType(receiver)._precomputed1._as(null);
  35024. receiver.length = newLength;
  35025. },
  35026. $index(receiver, index) {
  35027. if (!(index >= 0 && index < receiver.length))
  35028. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  35029. return receiver[index];
  35030. },
  35031. $indexSet(receiver, index, value) {
  35032. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  35033. if (!(index >= 0 && index < receiver.length))
  35034. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  35035. receiver[index] = value;
  35036. },
  35037. $add(receiver, other) {
  35038. var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1);
  35039. this.addAll$1(t1, other);
  35040. return t1;
  35041. },
  35042. indexWhere$1(receiver, test) {
  35043. var i;
  35044. if (0 >= receiver.length)
  35045. return -1;
  35046. for (i = 0; i < receiver.length; ++i)
  35047. if (test.call$1(receiver[i]))
  35048. return i;
  35049. return -1;
  35050. },
  35051. $isEfficientLengthIterable: 1,
  35052. $isIterable: 1,
  35053. $isList: 1
  35054. };
  35055. J.JSUnmodifiableArray.prototype = {};
  35056. J.ArrayIterator.prototype = {
  35057. get$current(_) {
  35058. var t1 = this._current;
  35059. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  35060. },
  35061. moveNext$0() {
  35062. var t2, _this = this,
  35063. t1 = _this._iterable,
  35064. $length = t1.length;
  35065. if (_this._length !== $length)
  35066. throw A.wrapException(A.throwConcurrentModificationError(t1));
  35067. t2 = _this._index;
  35068. if (t2 >= $length) {
  35069. _this._current = null;
  35070. return false;
  35071. }
  35072. _this._current = t1[t2];
  35073. _this._index = t2 + 1;
  35074. return true;
  35075. }
  35076. };
  35077. J.JSNumber.prototype = {
  35078. compareTo$1(receiver, b) {
  35079. var bIsNegative;
  35080. if (receiver < b)
  35081. return -1;
  35082. else if (receiver > b)
  35083. return 1;
  35084. else if (receiver === b) {
  35085. if (receiver === 0) {
  35086. bIsNegative = this.get$isNegative(b);
  35087. if (this.get$isNegative(receiver) === bIsNegative)
  35088. return 0;
  35089. if (this.get$isNegative(receiver))
  35090. return -1;
  35091. return 1;
  35092. }
  35093. return 0;
  35094. } else if (isNaN(receiver)) {
  35095. if (isNaN(b))
  35096. return 0;
  35097. return 1;
  35098. } else
  35099. return -1;
  35100. },
  35101. get$isNegative(receiver) {
  35102. return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
  35103. },
  35104. get$sign(receiver) {
  35105. var t1;
  35106. if (receiver > 0)
  35107. t1 = 1;
  35108. else
  35109. t1 = receiver < 0 ? -1 : receiver;
  35110. return t1;
  35111. },
  35112. ceil$0(receiver) {
  35113. var truncated, d;
  35114. if (receiver >= 0) {
  35115. if (receiver <= 2147483647) {
  35116. truncated = receiver | 0;
  35117. return receiver === truncated ? truncated : truncated + 1;
  35118. }
  35119. } else if (receiver >= -2147483648)
  35120. return receiver | 0;
  35121. d = Math.ceil(receiver);
  35122. if (isFinite(d))
  35123. return d;
  35124. throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
  35125. },
  35126. floor$0(receiver) {
  35127. var truncated, d;
  35128. if (receiver >= 0) {
  35129. if (receiver <= 2147483647)
  35130. return receiver | 0;
  35131. } else if (receiver >= -2147483648) {
  35132. truncated = receiver | 0;
  35133. return receiver === truncated ? truncated : truncated - 1;
  35134. }
  35135. d = Math.floor(receiver);
  35136. if (isFinite(d))
  35137. return d;
  35138. throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
  35139. },
  35140. round$0(receiver) {
  35141. if (receiver > 0) {
  35142. if (receiver !== 1 / 0)
  35143. return Math.round(receiver);
  35144. } else if (receiver > -1 / 0)
  35145. return 0 - Math.round(0 - receiver);
  35146. throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
  35147. },
  35148. clamp$2(receiver, lowerLimit, upperLimit) {
  35149. if (this.compareTo$1(lowerLimit, upperLimit) > 0)
  35150. throw A.wrapException(A.argumentErrorValue(lowerLimit));
  35151. if (this.compareTo$1(receiver, lowerLimit) < 0)
  35152. return lowerLimit;
  35153. if (this.compareTo$1(receiver, upperLimit) > 0)
  35154. return upperLimit;
  35155. return receiver;
  35156. },
  35157. toRadixString$1(receiver, radix) {
  35158. var result, match, exponent, t1;
  35159. if (radix < 2 || radix > 36)
  35160. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
  35161. result = receiver.toString(radix);
  35162. if (result.charCodeAt(result.length - 1) !== 41)
  35163. return result;
  35164. match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
  35165. if (match == null)
  35166. A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
  35167. result = match[1];
  35168. exponent = +match[3];
  35169. t1 = match[2];
  35170. if (t1 != null) {
  35171. result += t1;
  35172. exponent -= t1.length;
  35173. }
  35174. return result + B.JSString_methods.$mul("0", exponent);
  35175. },
  35176. toString$0(receiver) {
  35177. if (receiver === 0 && 1 / receiver < 0)
  35178. return "-0.0";
  35179. else
  35180. return "" + receiver;
  35181. },
  35182. get$hashCode(receiver) {
  35183. var absolute, floorLog2, factor, scaled,
  35184. intValue = receiver | 0;
  35185. if (receiver === intValue)
  35186. return intValue & 536870911;
  35187. absolute = Math.abs(receiver);
  35188. floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
  35189. factor = Math.pow(2, floorLog2);
  35190. scaled = absolute < 1 ? absolute / factor : factor / absolute;
  35191. return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
  35192. },
  35193. $mod(receiver, other) {
  35194. var result = receiver % other;
  35195. if (result === 0)
  35196. return 0;
  35197. if (result > 0)
  35198. return result;
  35199. if (other < 0)
  35200. return result - other;
  35201. else
  35202. return result + other;
  35203. },
  35204. $tdiv(receiver, other) {
  35205. if ((receiver | 0) === receiver)
  35206. if (other >= 1 || other < -1)
  35207. return receiver / other | 0;
  35208. return this._tdivSlow$1(receiver, other);
  35209. },
  35210. _tdivFast$1(receiver, other) {
  35211. return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
  35212. },
  35213. _tdivSlow$1(receiver, other) {
  35214. var quotient = receiver / other;
  35215. if (quotient >= -2147483648 && quotient <= 2147483647)
  35216. return quotient | 0;
  35217. if (quotient > 0) {
  35218. if (quotient !== 1 / 0)
  35219. return Math.floor(quotient);
  35220. } else if (quotient > -1 / 0)
  35221. return Math.ceil(quotient);
  35222. throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
  35223. },
  35224. _shrOtherPositive$1(receiver, other) {
  35225. var t1;
  35226. if (receiver > 0)
  35227. t1 = this._shrBothPositive$1(receiver, other);
  35228. else {
  35229. t1 = other > 31 ? 31 : other;
  35230. t1 = receiver >> t1 >>> 0;
  35231. }
  35232. return t1;
  35233. },
  35234. _shrReceiverPositive$1(receiver, other) {
  35235. if (0 > other)
  35236. throw A.wrapException(A.argumentErrorValue(other));
  35237. return this._shrBothPositive$1(receiver, other);
  35238. },
  35239. _shrBothPositive$1(receiver, other) {
  35240. return other > 31 ? 0 : receiver >>> other;
  35241. },
  35242. get$runtimeType(receiver) {
  35243. return A.createRuntimeType(type$.num);
  35244. },
  35245. $isComparable: 1,
  35246. $isdouble: 1,
  35247. $isnum: 1
  35248. };
  35249. J.JSInt.prototype = {
  35250. get$sign(receiver) {
  35251. var t1;
  35252. if (receiver > 0)
  35253. t1 = 1;
  35254. else
  35255. t1 = receiver < 0 ? -1 : receiver;
  35256. return t1;
  35257. },
  35258. get$runtimeType(receiver) {
  35259. return A.createRuntimeType(type$.int);
  35260. },
  35261. $isTrustedGetRuntimeType: 1,
  35262. $isint: 1
  35263. };
  35264. J.JSNumNotInt.prototype = {
  35265. get$runtimeType(receiver) {
  35266. return A.createRuntimeType(type$.double);
  35267. },
  35268. $isTrustedGetRuntimeType: 1
  35269. };
  35270. J.JSString.prototype = {
  35271. codeUnitAt$1(receiver, index) {
  35272. if (index < 0)
  35273. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  35274. if (index >= receiver.length)
  35275. A.throwExpression(A.diagnoseIndexError(receiver, index));
  35276. return receiver.charCodeAt(index);
  35277. },
  35278. allMatches$2(receiver, string, start) {
  35279. var t1 = string.length;
  35280. if (start > t1)
  35281. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  35282. return new A._StringAllMatchesIterable(string, receiver, start);
  35283. },
  35284. allMatches$1(receiver, string) {
  35285. return this.allMatches$2(receiver, string, 0);
  35286. },
  35287. matchAsPrefix$2(receiver, string, start) {
  35288. var t1, i, _null = null;
  35289. if (start < 0 || start > string.length)
  35290. throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
  35291. t1 = receiver.length;
  35292. if (start + t1 > string.length)
  35293. return _null;
  35294. for (i = 0; i < t1; ++i)
  35295. if (string.charCodeAt(start + i) !== receiver.charCodeAt(i))
  35296. return _null;
  35297. return new A.StringMatch(start, receiver);
  35298. },
  35299. $add(receiver, other) {
  35300. return receiver + other;
  35301. },
  35302. endsWith$1(receiver, other) {
  35303. var otherLength = other.length,
  35304. t1 = receiver.length;
  35305. if (otherLength > t1)
  35306. return false;
  35307. return other === this.substring$1(receiver, t1 - otherLength);
  35308. },
  35309. replaceFirst$2(receiver, from, to) {
  35310. A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
  35311. return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
  35312. },
  35313. split$1(receiver, pattern) {
  35314. var nativeAnchoredRegExp, t1;
  35315. if (typeof pattern == "string")
  35316. return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
  35317. else {
  35318. if (pattern instanceof A.JSSyntaxRegExp) {
  35319. nativeAnchoredRegExp = pattern.get$_nativeAnchoredVersion();
  35320. nativeAnchoredRegExp.lastIndex = 0;
  35321. t1 = nativeAnchoredRegExp.exec("").length - 2 === 0;
  35322. } else
  35323. t1 = false;
  35324. if (t1)
  35325. return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
  35326. else
  35327. return this._defaultSplit$1(receiver, pattern);
  35328. }
  35329. },
  35330. replaceRange$3(receiver, start, end, replacement) {
  35331. var e = A.RangeError_checkValidRange(start, end, receiver.length);
  35332. return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
  35333. },
  35334. _defaultSplit$1(receiver, pattern) {
  35335. var t1, start, $length, match, matchStart, matchEnd,
  35336. result = A._setArrayType([], type$.JSArray_String);
  35337. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
  35338. match = t1.get$current(t1);
  35339. matchStart = match.get$start(match);
  35340. matchEnd = match.get$end(match);
  35341. $length = matchEnd - matchStart;
  35342. if ($length === 0 && start === matchStart)
  35343. continue;
  35344. result.push(this.substring$2(receiver, start, matchStart));
  35345. start = matchEnd;
  35346. }
  35347. if (start < receiver.length || $length > 0)
  35348. result.push(this.substring$1(receiver, start));
  35349. return result;
  35350. },
  35351. startsWith$2(receiver, pattern, index) {
  35352. var endIndex;
  35353. if (index < 0 || index > receiver.length)
  35354. throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
  35355. if (typeof pattern == "string") {
  35356. endIndex = index + pattern.length;
  35357. if (endIndex > receiver.length)
  35358. return false;
  35359. return pattern === receiver.substring(index, endIndex);
  35360. }
  35361. return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
  35362. },
  35363. startsWith$1(receiver, pattern) {
  35364. return this.startsWith$2(receiver, pattern, 0);
  35365. },
  35366. substring$2(receiver, start, end) {
  35367. return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
  35368. },
  35369. substring$1(receiver, start) {
  35370. return this.substring$2(receiver, start, null);
  35371. },
  35372. trim$0(receiver) {
  35373. var startIndex, t1, endIndex0,
  35374. result = receiver.trim(),
  35375. endIndex = result.length;
  35376. if (endIndex === 0)
  35377. return result;
  35378. if (result.charCodeAt(0) === 133) {
  35379. startIndex = J.JSString__skipLeadingWhitespace(result, 1);
  35380. if (startIndex === endIndex)
  35381. return "";
  35382. } else
  35383. startIndex = 0;
  35384. t1 = endIndex - 1;
  35385. endIndex0 = result.charCodeAt(t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
  35386. if (startIndex === 0 && endIndex0 === endIndex)
  35387. return result;
  35388. return result.substring(startIndex, endIndex0);
  35389. },
  35390. trimLeft$0(receiver) {
  35391. var result = receiver.trimStart();
  35392. if (result.length === 0)
  35393. return result;
  35394. if (result.charCodeAt(0) !== 133)
  35395. return result;
  35396. return result.substring(J.JSString__skipLeadingWhitespace(result, 1));
  35397. },
  35398. trimRight$0(receiver) {
  35399. var t1,
  35400. result = receiver.trimEnd(),
  35401. endIndex = result.length;
  35402. if (endIndex === 0)
  35403. return result;
  35404. t1 = endIndex - 1;
  35405. if (result.charCodeAt(t1) !== 133)
  35406. return result;
  35407. return result.substring(0, J.JSString__skipTrailingWhitespace(result, t1));
  35408. },
  35409. $mul(receiver, times) {
  35410. var s, result;
  35411. if (0 >= times)
  35412. return "";
  35413. if (times === 1 || receiver.length === 0)
  35414. return receiver;
  35415. if (times !== times >>> 0)
  35416. throw A.wrapException(B.C_OutOfMemoryError);
  35417. for (s = receiver, result = ""; true;) {
  35418. if ((times & 1) === 1)
  35419. result = s + result;
  35420. times = times >>> 1;
  35421. if (times === 0)
  35422. break;
  35423. s += s;
  35424. }
  35425. return result;
  35426. },
  35427. padLeft$2(receiver, width, padding) {
  35428. var delta = width - receiver.length;
  35429. if (delta <= 0)
  35430. return receiver;
  35431. return this.$mul(padding, delta) + receiver;
  35432. },
  35433. padRight$1(receiver, width) {
  35434. var delta = width - receiver.length;
  35435. if (delta <= 0)
  35436. return receiver;
  35437. return receiver + this.$mul(" ", delta);
  35438. },
  35439. indexOf$2(receiver, pattern, start) {
  35440. var t1;
  35441. if (start < 0 || start > receiver.length)
  35442. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  35443. t1 = receiver.indexOf(pattern, start);
  35444. return t1;
  35445. },
  35446. indexOf$1(receiver, pattern) {
  35447. return this.indexOf$2(receiver, pattern, 0);
  35448. },
  35449. lastIndexOf$2(receiver, pattern, start) {
  35450. var t1, t2, i;
  35451. if (start == null)
  35452. start = receiver.length;
  35453. else if (start < 0 || start > receiver.length)
  35454. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  35455. if (typeof pattern == "string") {
  35456. t1 = pattern.length;
  35457. t2 = receiver.length;
  35458. if (start + t1 > t2)
  35459. start = t2 - t1;
  35460. return receiver.lastIndexOf(pattern, start);
  35461. }
  35462. for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
  35463. if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
  35464. return i;
  35465. return -1;
  35466. },
  35467. lastIndexOf$1(receiver, pattern) {
  35468. return this.lastIndexOf$2(receiver, pattern, null);
  35469. },
  35470. contains$2(receiver, other, startIndex) {
  35471. var t1 = receiver.length;
  35472. if (startIndex > t1)
  35473. throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
  35474. return A.stringContainsUnchecked(receiver, other, startIndex);
  35475. },
  35476. contains$1(receiver, other) {
  35477. return this.contains$2(receiver, other, 0);
  35478. },
  35479. compareTo$1(receiver, other) {
  35480. var t1;
  35481. if (receiver === other)
  35482. t1 = 0;
  35483. else
  35484. t1 = receiver < other ? -1 : 1;
  35485. return t1;
  35486. },
  35487. toString$0(receiver) {
  35488. return receiver;
  35489. },
  35490. get$hashCode(receiver) {
  35491. var t1, hash, i;
  35492. for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
  35493. hash = hash + receiver.charCodeAt(i) & 536870911;
  35494. hash = hash + ((hash & 524287) << 10) & 536870911;
  35495. hash ^= hash >> 6;
  35496. }
  35497. hash = hash + ((hash & 67108863) << 3) & 536870911;
  35498. hash ^= hash >> 11;
  35499. return hash + ((hash & 16383) << 15) & 536870911;
  35500. },
  35501. get$runtimeType(receiver) {
  35502. return A.createRuntimeType(type$.String);
  35503. },
  35504. get$length(receiver) {
  35505. return receiver.length;
  35506. },
  35507. $isTrustedGetRuntimeType: 1,
  35508. $isComparable: 1,
  35509. $isString: 1
  35510. };
  35511. A._CastIterableBase.prototype = {
  35512. get$iterator(_) {
  35513. return new A.CastIterator(J.get$iterator$ax(this.get$_source()), A._instanceType(this)._eval$1("CastIterator<1,2>"));
  35514. },
  35515. get$length(_) {
  35516. return J.get$length$asx(this.get$_source());
  35517. },
  35518. get$isEmpty(_) {
  35519. return J.get$isEmpty$asx(this.get$_source());
  35520. },
  35521. get$isNotEmpty(_) {
  35522. return J.get$isNotEmpty$asx(this.get$_source());
  35523. },
  35524. skip$1(_, count) {
  35525. var t1 = A._instanceType(this);
  35526. return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  35527. },
  35528. take$1(_, count) {
  35529. var t1 = A._instanceType(this);
  35530. return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  35531. },
  35532. elementAt$1(_, index) {
  35533. return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
  35534. },
  35535. get$first(_) {
  35536. return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
  35537. },
  35538. get$last(_) {
  35539. return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
  35540. },
  35541. get$single(_) {
  35542. return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
  35543. },
  35544. contains$1(_, other) {
  35545. return J.contains$1$asx(this.get$_source(), other);
  35546. },
  35547. toString$0(_) {
  35548. return J.toString$0$(this.get$_source());
  35549. }
  35550. };
  35551. A.CastIterator.prototype = {
  35552. moveNext$0() {
  35553. return this._source.moveNext$0();
  35554. },
  35555. get$current(_) {
  35556. var t1 = this._source;
  35557. return this.$ti._rest[1]._as(t1.get$current(t1));
  35558. }
  35559. };
  35560. A.CastIterable.prototype = {
  35561. get$_source() {
  35562. return this._source;
  35563. }
  35564. };
  35565. A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
  35566. A._CastListBase.prototype = {
  35567. $index(_, index) {
  35568. return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
  35569. },
  35570. $indexSet(_, index, value) {
  35571. J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
  35572. },
  35573. set$length(_, $length) {
  35574. J.set$length$asx(this._source, $length);
  35575. },
  35576. add$1(_, value) {
  35577. J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
  35578. },
  35579. addAll$1(_, values) {
  35580. var t1 = this.$ti;
  35581. J.addAll$1$ax(this._source, A.CastIterable_CastIterable(values, t1._rest[1], t1._precomputed1));
  35582. },
  35583. sort$1(_, compare) {
  35584. var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
  35585. J.sort$1$ax(this._source, t1);
  35586. },
  35587. getRange$2(_, start, end) {
  35588. var t1 = this.$ti;
  35589. return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]);
  35590. },
  35591. setRange$4(_, start, end, iterable, skipCount) {
  35592. var t1 = this.$ti;
  35593. J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
  35594. },
  35595. removeRange$2(_, start, end) {
  35596. J.removeRange$2$ax(this._source, start, end);
  35597. },
  35598. fillRange$3(_, start, end, fillValue) {
  35599. J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
  35600. },
  35601. $isEfficientLengthIterable: 1,
  35602. $isList: 1
  35603. };
  35604. A._CastListBase_sort_closure.prototype = {
  35605. call$2(v1, v2) {
  35606. var t1 = this.$this.$ti._rest[1];
  35607. return this.compare.call$2(t1._as(v1), t1._as(v2));
  35608. },
  35609. $signature() {
  35610. return this.$this.$ti._eval$1("int(1,1)");
  35611. }
  35612. };
  35613. A.CastList.prototype = {
  35614. cast$1$0(_, $R) {
  35615. return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  35616. },
  35617. get$_source() {
  35618. return this._source;
  35619. }
  35620. };
  35621. A.CastSet.prototype = {
  35622. add$1(_, value) {
  35623. return this._source.add$1(0, this.$ti._precomputed1._as(value));
  35624. },
  35625. addAll$1(_, elements) {
  35626. var t1 = this.$ti;
  35627. this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
  35628. },
  35629. difference$1(other) {
  35630. var _this = this;
  35631. if (_this._emptySet != null)
  35632. return _this._conditionalAdd$2(other, false);
  35633. return new A.CastSet(_this._source.difference$1(other), null, _this.$ti);
  35634. },
  35635. _conditionalAdd$2(other, otherContains) {
  35636. var t3, castElement,
  35637. emptySet = this._emptySet,
  35638. t1 = this.$ti,
  35639. t2 = t1._rest[1],
  35640. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
  35641. for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
  35642. castElement = t1._as(t2.get$current(t2));
  35643. if (otherContains === t3.contains$1(0, castElement))
  35644. result.add$1(0, castElement);
  35645. }
  35646. return result;
  35647. },
  35648. toSet$0(_) {
  35649. var emptySet = this._emptySet,
  35650. t1 = this.$ti._rest[1],
  35651. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
  35652. result.addAll$1(0, this);
  35653. return result;
  35654. },
  35655. $isEfficientLengthIterable: 1,
  35656. $isSet: 1,
  35657. get$_source() {
  35658. return this._source;
  35659. }
  35660. };
  35661. A.CastMap.prototype = {
  35662. cast$2$0(_, RK, RV) {
  35663. 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>"));
  35664. },
  35665. containsKey$1(key) {
  35666. return this._source.containsKey$1(key);
  35667. },
  35668. $index(_, key) {
  35669. return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
  35670. },
  35671. $indexSet(_, key, value) {
  35672. var t1 = this.$ti;
  35673. this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
  35674. },
  35675. addAll$1(_, other) {
  35676. this._source.addAll$1(0, new A.CastMap(other, this.$ti._eval$1("CastMap<3,4,1,2>")));
  35677. },
  35678. remove$1(_, key) {
  35679. return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
  35680. },
  35681. forEach$1(_, f) {
  35682. this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
  35683. },
  35684. get$keys(_) {
  35685. var t1 = this._source,
  35686. t2 = this.$ti;
  35687. return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
  35688. },
  35689. get$values(_) {
  35690. var t1 = this._source,
  35691. t2 = this.$ti;
  35692. return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
  35693. },
  35694. get$length(_) {
  35695. var t1 = this._source;
  35696. return t1.get$length(t1);
  35697. },
  35698. get$isEmpty(_) {
  35699. var t1 = this._source;
  35700. return t1.get$isEmpty(t1);
  35701. },
  35702. get$isNotEmpty(_) {
  35703. var t1 = this._source;
  35704. return t1.get$isNotEmpty(t1);
  35705. },
  35706. get$entries(_) {
  35707. var t1 = this._source;
  35708. t1 = t1.get$entries(t1);
  35709. return t1.map$1$1(t1, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
  35710. }
  35711. };
  35712. A.CastMap_forEach_closure.prototype = {
  35713. call$2(key, value) {
  35714. var t1 = this.$this.$ti;
  35715. this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
  35716. },
  35717. $signature() {
  35718. return this.$this.$ti._eval$1("~(1,2)");
  35719. }
  35720. };
  35721. A.CastMap_entries_closure.prototype = {
  35722. call$1(e) {
  35723. var t1 = this.$this.$ti;
  35724. return new A.MapEntry(t1._rest[2]._as(e.key), t1._rest[3]._as(e.value), t1._eval$1("MapEntry<3,4>"));
  35725. },
  35726. $signature() {
  35727. return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
  35728. }
  35729. };
  35730. A.LateError.prototype = {
  35731. toString$0(_) {
  35732. return "LateInitializationError: " + this._message;
  35733. }
  35734. };
  35735. A.CodeUnits.prototype = {
  35736. get$length(_) {
  35737. return this._string.length;
  35738. },
  35739. $index(_, i) {
  35740. return this._string.charCodeAt(i);
  35741. }
  35742. };
  35743. A.nullFuture_closure.prototype = {
  35744. call$0() {
  35745. return A.Future_Future$value(null, type$.void);
  35746. },
  35747. $signature: 31
  35748. };
  35749. A.SentinelValue.prototype = {};
  35750. A.EfficientLengthIterable.prototype = {};
  35751. A.ListIterable.prototype = {
  35752. get$iterator(_) {
  35753. var _this = this;
  35754. return new A.ListIterator(_this, _this.get$length(_this), A._instanceType(_this)._eval$1("ListIterator<ListIterable.E>"));
  35755. },
  35756. get$isEmpty(_) {
  35757. return this.get$length(this) === 0;
  35758. },
  35759. get$first(_) {
  35760. if (this.get$length(this) === 0)
  35761. throw A.wrapException(A.IterableElementError_noElement());
  35762. return this.elementAt$1(0, 0);
  35763. },
  35764. get$last(_) {
  35765. var _this = this;
  35766. if (_this.get$length(_this) === 0)
  35767. throw A.wrapException(A.IterableElementError_noElement());
  35768. return _this.elementAt$1(0, _this.get$length(_this) - 1);
  35769. },
  35770. get$single(_) {
  35771. var _this = this;
  35772. if (_this.get$length(_this) === 0)
  35773. throw A.wrapException(A.IterableElementError_noElement());
  35774. if (_this.get$length(_this) > 1)
  35775. throw A.wrapException(A.IterableElementError_tooMany());
  35776. return _this.elementAt$1(0, 0);
  35777. },
  35778. contains$1(_, element) {
  35779. var i, _this = this,
  35780. $length = _this.get$length(_this);
  35781. for (i = 0; i < $length; ++i) {
  35782. if (J.$eq$(_this.elementAt$1(0, i), element))
  35783. return true;
  35784. if ($length !== _this.get$length(_this))
  35785. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35786. }
  35787. return false;
  35788. },
  35789. every$1(_, test) {
  35790. var i, _this = this,
  35791. $length = _this.get$length(_this);
  35792. for (i = 0; i < $length; ++i) {
  35793. if (!test.call$1(_this.elementAt$1(0, i)))
  35794. return false;
  35795. if ($length !== _this.get$length(_this))
  35796. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35797. }
  35798. return true;
  35799. },
  35800. any$1(_, test) {
  35801. var i, _this = this,
  35802. $length = _this.get$length(_this);
  35803. for (i = 0; i < $length; ++i) {
  35804. if (test.call$1(_this.elementAt$1(0, i)))
  35805. return true;
  35806. if ($length !== _this.get$length(_this))
  35807. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35808. }
  35809. return false;
  35810. },
  35811. join$1(_, separator) {
  35812. var first, t1, i, _this = this,
  35813. $length = _this.get$length(_this);
  35814. if (separator.length !== 0) {
  35815. if ($length === 0)
  35816. return "";
  35817. first = A.S(_this.elementAt$1(0, 0));
  35818. if ($length !== _this.get$length(_this))
  35819. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35820. for (t1 = first, i = 1; i < $length; ++i) {
  35821. t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
  35822. if ($length !== _this.get$length(_this))
  35823. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35824. }
  35825. return t1.charCodeAt(0) == 0 ? t1 : t1;
  35826. } else {
  35827. for (i = 0, t1 = ""; i < $length; ++i) {
  35828. t1 += A.S(_this.elementAt$1(0, i));
  35829. if ($length !== _this.get$length(_this))
  35830. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35831. }
  35832. return t1.charCodeAt(0) == 0 ? t1 : t1;
  35833. }
  35834. },
  35835. join$0(_) {
  35836. return this.join$1(0, "");
  35837. },
  35838. where$1(_, test) {
  35839. return this.super$Iterable$where(0, test);
  35840. },
  35841. map$1$1(_, toElement, $T) {
  35842. return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  35843. },
  35844. reduce$1(_, combine) {
  35845. var value, i, _this = this,
  35846. $length = _this.get$length(_this);
  35847. if ($length === 0)
  35848. throw A.wrapException(A.IterableElementError_noElement());
  35849. value = _this.elementAt$1(0, 0);
  35850. for (i = 1; i < $length; ++i) {
  35851. value = combine.call$2(value, _this.elementAt$1(0, i));
  35852. if ($length !== _this.get$length(_this))
  35853. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35854. }
  35855. return value;
  35856. },
  35857. fold$1$2(_, initialValue, combine) {
  35858. var value, i, _this = this,
  35859. $length = _this.get$length(_this);
  35860. for (value = initialValue, i = 0; i < $length; ++i) {
  35861. value = combine.call$2(value, _this.elementAt$1(0, i));
  35862. if ($length !== _this.get$length(_this))
  35863. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35864. }
  35865. return value;
  35866. },
  35867. fold$2(_, initialValue, combine) {
  35868. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  35869. },
  35870. skip$1(_, count) {
  35871. return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
  35872. },
  35873. take$1(_, count) {
  35874. return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
  35875. },
  35876. toList$1$growable(_, growable) {
  35877. return A.List_List$of(this, true, A._instanceType(this)._eval$1("ListIterable.E"));
  35878. },
  35879. toList$0(_) {
  35880. return this.toList$1$growable(0, true);
  35881. },
  35882. toSet$0(_) {
  35883. var i, _this = this,
  35884. result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
  35885. for (i = 0; i < _this.get$length(_this); ++i)
  35886. result.add$1(0, _this.elementAt$1(0, i));
  35887. return result;
  35888. }
  35889. };
  35890. A.SubListIterable.prototype = {
  35891. SubListIterable$3(_iterable, _start, _endOrLength, $E) {
  35892. var endOrLength,
  35893. t1 = this._start;
  35894. A.RangeError_checkNotNegative(t1, "start");
  35895. endOrLength = this._endOrLength;
  35896. if (endOrLength != null) {
  35897. A.RangeError_checkNotNegative(endOrLength, "end");
  35898. if (t1 > endOrLength)
  35899. throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
  35900. }
  35901. },
  35902. get$_endIndex() {
  35903. var $length = J.get$length$asx(this.__internal$_iterable),
  35904. endOrLength = this._endOrLength;
  35905. if (endOrLength == null || endOrLength > $length)
  35906. return $length;
  35907. return endOrLength;
  35908. },
  35909. get$_startIndex() {
  35910. var $length = J.get$length$asx(this.__internal$_iterable),
  35911. t1 = this._start;
  35912. if (t1 > $length)
  35913. return $length;
  35914. return t1;
  35915. },
  35916. get$length(_) {
  35917. var endOrLength,
  35918. $length = J.get$length$asx(this.__internal$_iterable),
  35919. t1 = this._start;
  35920. if (t1 >= $length)
  35921. return 0;
  35922. endOrLength = this._endOrLength;
  35923. if (endOrLength == null || endOrLength >= $length)
  35924. return $length - t1;
  35925. return endOrLength - t1;
  35926. },
  35927. elementAt$1(_, index) {
  35928. var _this = this,
  35929. realIndex = _this.get$_startIndex() + index;
  35930. if (index < 0 || realIndex >= _this.get$_endIndex())
  35931. throw A.wrapException(A.IndexError$withLength(index, _this.get$length(0), _this, null, "index"));
  35932. return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
  35933. },
  35934. skip$1(_, count) {
  35935. var newStart, endOrLength, _this = this;
  35936. A.RangeError_checkNotNegative(count, "count");
  35937. newStart = _this._start + count;
  35938. endOrLength = _this._endOrLength;
  35939. if (endOrLength != null && newStart >= endOrLength)
  35940. return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
  35941. return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
  35942. },
  35943. take$1(_, count) {
  35944. var endOrLength, t1, newEnd, _this = this;
  35945. A.RangeError_checkNotNegative(count, "count");
  35946. endOrLength = _this._endOrLength;
  35947. t1 = _this._start;
  35948. newEnd = t1 + count;
  35949. if (endOrLength == null)
  35950. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  35951. else {
  35952. if (endOrLength < newEnd)
  35953. return _this;
  35954. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  35955. }
  35956. },
  35957. toList$1$growable(_, growable) {
  35958. var $length, result, i, _this = this,
  35959. start = _this._start,
  35960. t1 = _this.__internal$_iterable,
  35961. t2 = J.getInterceptor$asx(t1),
  35962. end = t2.get$length(t1),
  35963. endOrLength = _this._endOrLength;
  35964. if (endOrLength != null && endOrLength < end)
  35965. end = endOrLength;
  35966. $length = end - start;
  35967. if ($length <= 0) {
  35968. t1 = _this.$ti._precomputed1;
  35969. return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
  35970. }
  35971. result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
  35972. for (i = 1; i < $length; ++i) {
  35973. result[i] = t2.elementAt$1(t1, start + i);
  35974. if (t2.get$length(t1) < end)
  35975. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35976. }
  35977. return result;
  35978. },
  35979. toList$0(_) {
  35980. return this.toList$1$growable(0, true);
  35981. }
  35982. };
  35983. A.ListIterator.prototype = {
  35984. get$current(_) {
  35985. var t1 = this.__internal$_current;
  35986. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  35987. },
  35988. moveNext$0() {
  35989. var t3, _this = this,
  35990. t1 = _this.__internal$_iterable,
  35991. t2 = J.getInterceptor$asx(t1),
  35992. $length = t2.get$length(t1);
  35993. if (_this.__internal$_length !== $length)
  35994. throw A.wrapException(A.ConcurrentModificationError$(t1));
  35995. t3 = _this.__internal$_index;
  35996. if (t3 >= $length) {
  35997. _this.__internal$_current = null;
  35998. return false;
  35999. }
  36000. _this.__internal$_current = t2.elementAt$1(t1, t3);
  36001. ++_this.__internal$_index;
  36002. return true;
  36003. }
  36004. };
  36005. A.MappedIterable.prototype = {
  36006. get$iterator(_) {
  36007. return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, A._instanceType(this)._eval$1("MappedIterator<1,2>"));
  36008. },
  36009. get$length(_) {
  36010. return J.get$length$asx(this.__internal$_iterable);
  36011. },
  36012. get$isEmpty(_) {
  36013. return J.get$isEmpty$asx(this.__internal$_iterable);
  36014. },
  36015. get$first(_) {
  36016. return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
  36017. },
  36018. get$last(_) {
  36019. return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
  36020. },
  36021. get$single(_) {
  36022. return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
  36023. },
  36024. elementAt$1(_, index) {
  36025. return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
  36026. }
  36027. };
  36028. A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
  36029. A.MappedIterator.prototype = {
  36030. moveNext$0() {
  36031. var _this = this,
  36032. t1 = _this._iterator;
  36033. if (t1.moveNext$0()) {
  36034. _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
  36035. return true;
  36036. }
  36037. _this.__internal$_current = null;
  36038. return false;
  36039. },
  36040. get$current(_) {
  36041. var t1 = this.__internal$_current;
  36042. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  36043. }
  36044. };
  36045. A.MappedListIterable.prototype = {
  36046. get$length(_) {
  36047. return J.get$length$asx(this._source);
  36048. },
  36049. elementAt$1(_, index) {
  36050. return this._f.call$1(J.elementAt$1$ax(this._source, index));
  36051. }
  36052. };
  36053. A.WhereIterable.prototype = {
  36054. get$iterator(_) {
  36055. return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  36056. },
  36057. map$1$1(_, toElement, $T) {
  36058. return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  36059. }
  36060. };
  36061. A.WhereIterator.prototype = {
  36062. moveNext$0() {
  36063. var t1, t2;
  36064. for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
  36065. if (t2.call$1(t1.get$current(t1)))
  36066. return true;
  36067. return false;
  36068. },
  36069. get$current(_) {
  36070. var t1 = this._iterator;
  36071. return t1.get$current(t1);
  36072. }
  36073. };
  36074. A.ExpandIterable.prototype = {
  36075. get$iterator(_) {
  36076. return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator, this.$ti._eval$1("ExpandIterator<1,2>"));
  36077. }
  36078. };
  36079. A.ExpandIterator.prototype = {
  36080. get$current(_) {
  36081. var t1 = this.__internal$_current;
  36082. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  36083. },
  36084. moveNext$0() {
  36085. var t2, t3, _this = this,
  36086. t1 = _this._currentExpansion;
  36087. if (t1 == null)
  36088. return false;
  36089. for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
  36090. _this.__internal$_current = null;
  36091. if (t2.moveNext$0()) {
  36092. _this._currentExpansion = null;
  36093. t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
  36094. _this._currentExpansion = t1;
  36095. } else
  36096. return false;
  36097. }
  36098. t1 = _this._currentExpansion;
  36099. _this.__internal$_current = t1.get$current(t1);
  36100. return true;
  36101. }
  36102. };
  36103. A.TakeIterable.prototype = {
  36104. get$iterator(_) {
  36105. return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount, A._instanceType(this)._eval$1("TakeIterator<1>"));
  36106. }
  36107. };
  36108. A.EfficientLengthTakeIterable.prototype = {
  36109. get$length(_) {
  36110. var iterableLength = J.get$length$asx(this.__internal$_iterable),
  36111. t1 = this._takeCount;
  36112. if (iterableLength > t1)
  36113. return t1;
  36114. return iterableLength;
  36115. },
  36116. $isEfficientLengthIterable: 1
  36117. };
  36118. A.TakeIterator.prototype = {
  36119. moveNext$0() {
  36120. if (--this._remaining >= 0)
  36121. return this._iterator.moveNext$0();
  36122. this._remaining = -1;
  36123. return false;
  36124. },
  36125. get$current(_) {
  36126. var t1;
  36127. if (this._remaining < 0) {
  36128. this.$ti._precomputed1._as(null);
  36129. return null;
  36130. }
  36131. t1 = this._iterator;
  36132. return t1.get$current(t1);
  36133. }
  36134. };
  36135. A.SkipIterable.prototype = {
  36136. skip$1(_, count) {
  36137. A.ArgumentError_checkNotNull(count, "count");
  36138. A.RangeError_checkNotNegative(count, "count");
  36139. return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
  36140. },
  36141. get$iterator(_) {
  36142. return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
  36143. }
  36144. };
  36145. A.EfficientLengthSkipIterable.prototype = {
  36146. get$length(_) {
  36147. var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
  36148. if ($length >= 0)
  36149. return $length;
  36150. return 0;
  36151. },
  36152. skip$1(_, count) {
  36153. A.ArgumentError_checkNotNull(count, "count");
  36154. A.RangeError_checkNotNegative(count, "count");
  36155. return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
  36156. },
  36157. $isEfficientLengthIterable: 1
  36158. };
  36159. A.SkipIterator.prototype = {
  36160. moveNext$0() {
  36161. var t1, i;
  36162. for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
  36163. t1.moveNext$0();
  36164. this._skipCount = 0;
  36165. return t1.moveNext$0();
  36166. },
  36167. get$current(_) {
  36168. var t1 = this._iterator;
  36169. return t1.get$current(t1);
  36170. }
  36171. };
  36172. A.SkipWhileIterable.prototype = {
  36173. get$iterator(_) {
  36174. return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  36175. }
  36176. };
  36177. A.SkipWhileIterator.prototype = {
  36178. moveNext$0() {
  36179. var t1, t2, _this = this;
  36180. if (!_this._hasSkipped) {
  36181. _this._hasSkipped = true;
  36182. for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
  36183. if (!t2.call$1(t1.get$current(t1)))
  36184. return true;
  36185. }
  36186. return _this._iterator.moveNext$0();
  36187. },
  36188. get$current(_) {
  36189. var t1 = this._iterator;
  36190. return t1.get$current(t1);
  36191. }
  36192. };
  36193. A.EmptyIterable.prototype = {
  36194. get$iterator(_) {
  36195. return B.C_EmptyIterator;
  36196. },
  36197. get$isEmpty(_) {
  36198. return true;
  36199. },
  36200. get$length(_) {
  36201. return 0;
  36202. },
  36203. get$first(_) {
  36204. throw A.wrapException(A.IterableElementError_noElement());
  36205. },
  36206. get$last(_) {
  36207. throw A.wrapException(A.IterableElementError_noElement());
  36208. },
  36209. get$single(_) {
  36210. throw A.wrapException(A.IterableElementError_noElement());
  36211. },
  36212. elementAt$1(_, index) {
  36213. throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
  36214. },
  36215. contains$1(_, element) {
  36216. return false;
  36217. },
  36218. every$1(_, test) {
  36219. return true;
  36220. },
  36221. any$1(_, test) {
  36222. return false;
  36223. },
  36224. join$1(_, separator) {
  36225. return "";
  36226. },
  36227. where$1(_, test) {
  36228. return this;
  36229. },
  36230. map$1$1(_, toElement, $T) {
  36231. return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
  36232. },
  36233. skip$1(_, count) {
  36234. A.RangeError_checkNotNegative(count, "count");
  36235. return this;
  36236. },
  36237. take$1(_, count) {
  36238. A.RangeError_checkNotNegative(count, "count");
  36239. return this;
  36240. },
  36241. toList$1$growable(_, growable) {
  36242. var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
  36243. return t1;
  36244. },
  36245. toList$0(_) {
  36246. return this.toList$1$growable(0, true);
  36247. },
  36248. toSet$0(_) {
  36249. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  36250. }
  36251. };
  36252. A.EmptyIterator.prototype = {
  36253. moveNext$0() {
  36254. return false;
  36255. },
  36256. get$current(_) {
  36257. throw A.wrapException(A.IterableElementError_noElement());
  36258. }
  36259. };
  36260. A.FollowedByIterable.prototype = {
  36261. get$iterator(_) {
  36262. return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
  36263. },
  36264. get$length(_) {
  36265. var t1 = this._second;
  36266. return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
  36267. },
  36268. get$isEmpty(_) {
  36269. var t1;
  36270. if (J.get$isEmpty$asx(this.__internal$_first)) {
  36271. t1 = this._second;
  36272. t1 = t1.get$isEmpty(t1);
  36273. } else
  36274. t1 = false;
  36275. return t1;
  36276. },
  36277. get$isNotEmpty(_) {
  36278. var t1;
  36279. if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
  36280. t1 = this._second;
  36281. t1 = t1.get$isNotEmpty(t1);
  36282. } else
  36283. t1 = true;
  36284. return t1;
  36285. },
  36286. contains$1(_, value) {
  36287. var t1;
  36288. if (!J.contains$1$asx(this.__internal$_first, value)) {
  36289. t1 = this._second;
  36290. t1 = t1.contains$1(t1, value);
  36291. } else
  36292. t1 = true;
  36293. return t1;
  36294. },
  36295. get$first(_) {
  36296. var t1,
  36297. iterator = J.get$iterator$ax(this.__internal$_first);
  36298. if (iterator.moveNext$0())
  36299. return iterator.get$current(iterator);
  36300. t1 = this._second;
  36301. return t1.get$first(t1);
  36302. },
  36303. get$last(_) {
  36304. var last,
  36305. t1 = this._second,
  36306. iterator = t1.get$iterator(t1);
  36307. if (iterator.moveNext$0()) {
  36308. last = iterator.get$current(iterator);
  36309. for (; iterator.moveNext$0();)
  36310. last = iterator.get$current(iterator);
  36311. return last;
  36312. }
  36313. return J.get$last$ax(this.__internal$_first);
  36314. }
  36315. };
  36316. A.EfficientLengthFollowedByIterable.prototype = {
  36317. elementAt$1(_, index) {
  36318. var t1 = this.__internal$_first,
  36319. t2 = J.getInterceptor$asx(t1),
  36320. firstLength = t2.get$length(t1);
  36321. if (index < firstLength)
  36322. return t2.elementAt$1(t1, index);
  36323. t1 = this._second;
  36324. return t1.elementAt$1(t1, index - firstLength);
  36325. },
  36326. get$first(_) {
  36327. var t1 = this.__internal$_first,
  36328. t2 = J.getInterceptor$asx(t1);
  36329. if (t2.get$isNotEmpty(t1))
  36330. return t2.get$first(t1);
  36331. t1 = this._second;
  36332. return t1.get$first(t1);
  36333. },
  36334. get$last(_) {
  36335. var t1 = this._second;
  36336. if (t1.get$isNotEmpty(t1))
  36337. return t1.get$last(t1);
  36338. return J.get$last$ax(this.__internal$_first);
  36339. },
  36340. $isEfficientLengthIterable: 1
  36341. };
  36342. A.FollowedByIterator.prototype = {
  36343. moveNext$0() {
  36344. var t1, _this = this;
  36345. if (_this._currentIterator.moveNext$0())
  36346. return true;
  36347. t1 = _this._nextIterable;
  36348. if (t1 != null) {
  36349. t1 = t1.get$iterator(t1);
  36350. _this._currentIterator = t1;
  36351. _this._nextIterable = null;
  36352. return t1.moveNext$0();
  36353. }
  36354. return false;
  36355. },
  36356. get$current(_) {
  36357. var t1 = this._currentIterator;
  36358. return t1.get$current(t1);
  36359. }
  36360. };
  36361. A.WhereTypeIterable.prototype = {
  36362. get$iterator(_) {
  36363. return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
  36364. }
  36365. };
  36366. A.WhereTypeIterator.prototype = {
  36367. moveNext$0() {
  36368. var t1, t2;
  36369. for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
  36370. if (t2._is(t1.get$current(t1)))
  36371. return true;
  36372. return false;
  36373. },
  36374. get$current(_) {
  36375. var t1 = this._source;
  36376. return this.$ti._precomputed1._as(t1.get$current(t1));
  36377. }
  36378. };
  36379. A.NonNullsIterable.prototype = {
  36380. get$_firstNonNull() {
  36381. var t1, element;
  36382. for (t1 = J.get$iterator$ax(this._source); t1.moveNext$0();) {
  36383. element = t1.get$current(t1);
  36384. if (element != null)
  36385. return element;
  36386. }
  36387. return null;
  36388. },
  36389. get$isEmpty(_) {
  36390. return this.get$_firstNonNull() == null;
  36391. },
  36392. get$isNotEmpty(_) {
  36393. return this.get$_firstNonNull() != null;
  36394. },
  36395. get$first(_) {
  36396. var t1 = this.get$_firstNonNull();
  36397. return t1 == null ? A.throwExpression(A.IterableElementError_noElement()) : t1;
  36398. },
  36399. get$iterator(_) {
  36400. return new A.NonNullsIterator(J.get$iterator$ax(this._source));
  36401. }
  36402. };
  36403. A.NonNullsIterator.prototype = {
  36404. moveNext$0() {
  36405. var t1, next;
  36406. this.__internal$_current = null;
  36407. for (t1 = this._source; t1.moveNext$0();) {
  36408. next = t1.get$current(t1);
  36409. if (next != null) {
  36410. this.__internal$_current = next;
  36411. return true;
  36412. }
  36413. }
  36414. return false;
  36415. },
  36416. get$current(_) {
  36417. var t1 = this.__internal$_current;
  36418. return t1 == null ? A.throwExpression(A.IterableElementError_noElement()) : t1;
  36419. }
  36420. };
  36421. A.FixedLengthListMixin.prototype = {
  36422. set$length(receiver, newLength) {
  36423. throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
  36424. },
  36425. add$1(receiver, value) {
  36426. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  36427. },
  36428. addAll$1(receiver, iterable) {
  36429. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  36430. },
  36431. removeRange$2(receiver, start, end) {
  36432. throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list"));
  36433. }
  36434. };
  36435. A.UnmodifiableListMixin.prototype = {
  36436. $indexSet(_, index, value) {
  36437. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36438. },
  36439. set$length(_, newLength) {
  36440. throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
  36441. },
  36442. add$1(_, value) {
  36443. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  36444. },
  36445. addAll$1(_, iterable) {
  36446. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  36447. },
  36448. sort$1(_, compare) {
  36449. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36450. },
  36451. setRange$4(_, start, end, iterable, skipCount) {
  36452. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36453. },
  36454. removeRange$2(_, start, end) {
  36455. throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list"));
  36456. },
  36457. fillRange$3(_, start, end, fillValue) {
  36458. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36459. }
  36460. };
  36461. A.UnmodifiableListBase.prototype = {};
  36462. A.ReversedListIterable.prototype = {
  36463. get$length(_) {
  36464. return J.get$length$asx(this._source);
  36465. },
  36466. elementAt$1(_, index) {
  36467. var t1 = this._source,
  36468. t2 = J.getInterceptor$asx(t1);
  36469. return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
  36470. }
  36471. };
  36472. A.Symbol.prototype = {
  36473. get$hashCode(_) {
  36474. var hash = this._hashCode;
  36475. if (hash != null)
  36476. return hash;
  36477. hash = 664597 * B.JSString_methods.get$hashCode(this.__internal$_name) & 536870911;
  36478. this._hashCode = hash;
  36479. return hash;
  36480. },
  36481. toString$0(_) {
  36482. return 'Symbol("' + this.__internal$_name + '")';
  36483. },
  36484. $eq(_, other) {
  36485. if (other == null)
  36486. return false;
  36487. return other instanceof A.Symbol && this.__internal$_name === other.__internal$_name;
  36488. },
  36489. $isSymbol0: 1
  36490. };
  36491. A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
  36492. A._Record_1.prototype = {$recipe: "+(1)", $shape: 1};
  36493. A._Record_2.prototype = {$recipe: "+(1,2)", $shape: 2};
  36494. A._Record_2_forImport.prototype = {$recipe: "+forImport(1,2)", $shape: 3};
  36495. A._Record_2_imports_modules.prototype = {$recipe: "+imports,modules(1,2)", $shape: 5};
  36496. A._Record_2_loadedUrls_stylesheet.prototype = {$recipe: "+loadedUrls,stylesheet(1,2)", $shape: 6};
  36497. A._Record_2_sourceMap.prototype = {$recipe: "+sourceMap(1,2)", $shape: 4};
  36498. A._Record_3.prototype = {$recipe: "+(1,2,3)", $shape: 7};
  36499. A._Record_3_deprecation_message_span.prototype = {
  36500. get$message(_) {
  36501. return this._1;
  36502. },
  36503. $recipe: "+deprecation,message,span(1,2,3)",
  36504. $shape: 11
  36505. };
  36506. A._Record_3_forImport.prototype = {$recipe: "+forImport(1,2,3)", $shape: 8};
  36507. A._Record_3_importer_isDependency.prototype = {$recipe: "+importer,isDependency(1,2,3)", $shape: 10};
  36508. A._Record_3_originalUrl.prototype = {$recipe: "+originalUrl(1,2,3)", $shape: 9};
  36509. A._Record_5_named_namedNodes_positional_positionalNodes_separator.prototype = {$recipe: "+named,namedNodes,positional,positionalNodes,separator(1,2,3,4,5)", $shape: 13};
  36510. A.ConstantMapView.prototype = {};
  36511. A.ConstantMap.prototype = {
  36512. cast$2$0(_, RK, RV) {
  36513. var t1 = A._instanceType(this);
  36514. return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
  36515. },
  36516. get$isEmpty(_) {
  36517. return this.get$length(this) === 0;
  36518. },
  36519. get$isNotEmpty(_) {
  36520. return this.get$length(this) !== 0;
  36521. },
  36522. toString$0(_) {
  36523. return A.MapBase_mapToString(this);
  36524. },
  36525. $indexSet(_, key, value) {
  36526. A.ConstantMap__throwUnmodifiable();
  36527. },
  36528. remove$1(_, key) {
  36529. A.ConstantMap__throwUnmodifiable();
  36530. },
  36531. addAll$1(_, other) {
  36532. A.ConstantMap__throwUnmodifiable();
  36533. },
  36534. get$entries(_) {
  36535. return new A._SyncStarIterable(this.entries$body$ConstantMap(0), A._instanceType(this)._eval$1("_SyncStarIterable<MapEntry<1,2>>"));
  36536. },
  36537. entries$body$ConstantMap($async$_) {
  36538. var $async$self = this;
  36539. return function() {
  36540. var _ = $async$_;
  36541. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, key;
  36542. return function $async$get$entries($async$iterator, $async$errorCode, $async$result) {
  36543. if ($async$errorCode === 1) {
  36544. $async$errorStack.push($async$result);
  36545. $async$goto = $async$handler;
  36546. }
  36547. while (true)
  36548. switch ($async$goto) {
  36549. case 0:
  36550. // Function start
  36551. t1 = $async$self.get$keys($async$self), t1 = t1.get$iterator(t1), t2 = A._instanceType($async$self)._eval$1("MapEntry<1,2>");
  36552. case 2:
  36553. // for condition
  36554. if (!t1.moveNext$0()) {
  36555. // goto after for
  36556. $async$goto = 3;
  36557. break;
  36558. }
  36559. key = t1.get$current(t1);
  36560. $async$goto = 4;
  36561. return $async$iterator._async$_current = new A.MapEntry(key, $async$self.$index(0, key), t2), 1;
  36562. case 4:
  36563. // after yield
  36564. // goto for condition
  36565. $async$goto = 2;
  36566. break;
  36567. case 3:
  36568. // after for
  36569. // implicit return
  36570. return 0;
  36571. case 1:
  36572. // rethrow
  36573. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  36574. }
  36575. };
  36576. };
  36577. },
  36578. $isMap: 1
  36579. };
  36580. A.ConstantStringMap.prototype = {
  36581. get$length(_) {
  36582. return this._values.length;
  36583. },
  36584. get$_keys() {
  36585. var keys = this.$keys;
  36586. if (keys == null) {
  36587. keys = Object.keys(this._jsIndex);
  36588. this.$keys = keys;
  36589. }
  36590. return keys;
  36591. },
  36592. containsKey$1(key) {
  36593. if (typeof key != "string")
  36594. return false;
  36595. if ("__proto__" === key)
  36596. return false;
  36597. return this._jsIndex.hasOwnProperty(key);
  36598. },
  36599. $index(_, key) {
  36600. if (!this.containsKey$1(key))
  36601. return null;
  36602. return this._values[this._jsIndex[key]];
  36603. },
  36604. forEach$1(_, f) {
  36605. var t1, i,
  36606. keys = this.get$_keys(),
  36607. values = this._values;
  36608. for (t1 = keys.length, i = 0; i < t1; ++i)
  36609. f.call$2(keys[i], values[i]);
  36610. },
  36611. get$keys(_) {
  36612. return new A._KeysOrValues(this.get$_keys(), this.$ti._eval$1("_KeysOrValues<1>"));
  36613. },
  36614. get$values(_) {
  36615. return new A._KeysOrValues(this._values, this.$ti._eval$1("_KeysOrValues<2>"));
  36616. }
  36617. };
  36618. A._KeysOrValues.prototype = {
  36619. get$length(_) {
  36620. return this._elements.length;
  36621. },
  36622. get$isEmpty(_) {
  36623. return 0 === this._elements.length;
  36624. },
  36625. get$isNotEmpty(_) {
  36626. return 0 !== this._elements.length;
  36627. },
  36628. get$iterator(_) {
  36629. var t1 = this._elements;
  36630. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36631. }
  36632. };
  36633. A._KeysOrValuesOrElementsIterator.prototype = {
  36634. get$current(_) {
  36635. var t1 = this.__js_helper$_current;
  36636. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  36637. },
  36638. moveNext$0() {
  36639. var _this = this,
  36640. t1 = _this.__js_helper$_index;
  36641. if (t1 >= _this.__js_helper$_length) {
  36642. _this.__js_helper$_current = null;
  36643. return false;
  36644. }
  36645. _this.__js_helper$_current = _this._elements[t1];
  36646. _this.__js_helper$_index = t1 + 1;
  36647. return true;
  36648. }
  36649. };
  36650. A.ConstantSet.prototype = {
  36651. add$1(_, value) {
  36652. A.ConstantSet__throwUnmodifiable();
  36653. },
  36654. addAll$1(_, elements) {
  36655. A.ConstantSet__throwUnmodifiable();
  36656. },
  36657. remove$1(_, value) {
  36658. A.ConstantSet__throwUnmodifiable();
  36659. }
  36660. };
  36661. A.ConstantStringSet.prototype = {
  36662. get$length(_) {
  36663. return this.__js_helper$_length;
  36664. },
  36665. get$isEmpty(_) {
  36666. return this.__js_helper$_length === 0;
  36667. },
  36668. get$isNotEmpty(_) {
  36669. return this.__js_helper$_length !== 0;
  36670. },
  36671. get$iterator(_) {
  36672. var t1, _this = this,
  36673. keys = _this.$keys;
  36674. if (keys == null) {
  36675. keys = Object.keys(_this._jsIndex);
  36676. _this.$keys = keys;
  36677. }
  36678. t1 = keys;
  36679. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, _this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36680. },
  36681. contains$1(_, key) {
  36682. if (typeof key != "string")
  36683. return false;
  36684. if ("__proto__" === key)
  36685. return false;
  36686. return this._jsIndex.hasOwnProperty(key);
  36687. },
  36688. toSet$0(_) {
  36689. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  36690. }
  36691. };
  36692. A.GeneralConstantSet.prototype = {
  36693. get$length(_) {
  36694. return this._elements.length;
  36695. },
  36696. get$isEmpty(_) {
  36697. return this._elements.length === 0;
  36698. },
  36699. get$isNotEmpty(_) {
  36700. return this._elements.length !== 0;
  36701. },
  36702. get$iterator(_) {
  36703. var t1 = this._elements;
  36704. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36705. },
  36706. _getMap$0() {
  36707. var t1, t2, _i, key, _this = this,
  36708. backingMap = _this.$map;
  36709. if (backingMap == null) {
  36710. backingMap = new A.JsConstantLinkedHashMap(_this.$ti._eval$1("JsConstantLinkedHashMap<1,1>"));
  36711. for (t1 = _this._elements, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  36712. key = t1[_i];
  36713. backingMap.$indexSet(0, key, key);
  36714. }
  36715. _this.$map = backingMap;
  36716. }
  36717. return backingMap;
  36718. },
  36719. contains$1(_, key) {
  36720. return this._getMap$0().containsKey$1(key);
  36721. },
  36722. toSet$0(_) {
  36723. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  36724. }
  36725. };
  36726. A.Instantiation.prototype = {
  36727. Instantiation$1(_genericClosure) {
  36728. if (false)
  36729. A.instantiatedGenericFunctionType(0, 0);
  36730. },
  36731. $eq(_, other) {
  36732. if (other == null)
  36733. return false;
  36734. return other instanceof A.Instantiation1 && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeTypeOfClosure(this) === A.getRuntimeTypeOfClosure(other);
  36735. },
  36736. get$hashCode(_) {
  36737. return A.Object_hash(this._genericClosure, A.getRuntimeTypeOfClosure(this), B.C_SentinelValue, B.C_SentinelValue);
  36738. },
  36739. toString$0(_) {
  36740. var t1 = B.JSArray_methods.join$1([A.createRuntimeType(this.$ti._precomputed1)], ", ");
  36741. return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">");
  36742. }
  36743. };
  36744. A.Instantiation1.prototype = {
  36745. call$0() {
  36746. return this._genericClosure.call$1$0(this.$ti._rest[0]);
  36747. },
  36748. call$2(a0, a1) {
  36749. return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
  36750. },
  36751. call$3(a0, a1, a2) {
  36752. return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
  36753. },
  36754. call$4(a0, a1, a2, a3) {
  36755. return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
  36756. },
  36757. $signature() {
  36758. return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
  36759. }
  36760. };
  36761. A.JSInvocationMirror.prototype = {
  36762. get$memberName() {
  36763. var t1 = this.__js_helper$_memberName;
  36764. if (t1 instanceof A.Symbol)
  36765. return t1;
  36766. return this.__js_helper$_memberName = new A.Symbol(t1);
  36767. },
  36768. get$positionalArguments() {
  36769. var t1, t2, argumentCount, list, index, _this = this;
  36770. if (_this.__js_helper$_kind === 1)
  36771. return B.List_empty6;
  36772. t1 = _this._arguments;
  36773. t2 = J.getInterceptor$asx(t1);
  36774. argumentCount = t2.get$length(t1) - J.get$length$asx(_this._namedArgumentNames) - _this._typeArgumentCount;
  36775. if (argumentCount === 0)
  36776. return B.List_empty6;
  36777. list = [];
  36778. for (index = 0; index < argumentCount; ++index)
  36779. list.push(t2.$index(t1, index));
  36780. list.$flags = 3;
  36781. return list;
  36782. },
  36783. get$namedArguments() {
  36784. var t1, t2, namedArgumentCount, t3, t4, namedArgumentsStartIndex, map, i, _this = this;
  36785. if (_this.__js_helper$_kind !== 0)
  36786. return B.Map_empty3;
  36787. t1 = _this._namedArgumentNames;
  36788. t2 = J.getInterceptor$asx(t1);
  36789. namedArgumentCount = t2.get$length(t1);
  36790. t3 = _this._arguments;
  36791. t4 = J.getInterceptor$asx(t3);
  36792. namedArgumentsStartIndex = t4.get$length(t3) - namedArgumentCount - _this._typeArgumentCount;
  36793. if (namedArgumentCount === 0)
  36794. return B.Map_empty3;
  36795. map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
  36796. for (i = 0; i < namedArgumentCount; ++i)
  36797. map.$indexSet(0, new A.Symbol(t2.$index(t1, i)), t4.$index(t3, namedArgumentsStartIndex + i));
  36798. return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
  36799. }
  36800. };
  36801. A.Primitives_functionNoSuchMethod_closure.prototype = {
  36802. call$2($name, argument) {
  36803. var t1 = this._box_0;
  36804. t1.names = t1.names + "$" + $name;
  36805. this.namedArgumentList.push($name);
  36806. this.$arguments.push(argument);
  36807. ++t1.argumentCount;
  36808. },
  36809. $signature: 139
  36810. };
  36811. A.TypeErrorDecoder.prototype = {
  36812. matchTypeError$1(message) {
  36813. var result, t1, _this = this,
  36814. match = new RegExp(_this._pattern).exec(message);
  36815. if (match == null)
  36816. return null;
  36817. result = Object.create(null);
  36818. t1 = _this._arguments;
  36819. if (t1 !== -1)
  36820. result.arguments = match[t1 + 1];
  36821. t1 = _this._argumentsExpr;
  36822. if (t1 !== -1)
  36823. result.argumentsExpr = match[t1 + 1];
  36824. t1 = _this._expr;
  36825. if (t1 !== -1)
  36826. result.expr = match[t1 + 1];
  36827. t1 = _this._method;
  36828. if (t1 !== -1)
  36829. result.method = match[t1 + 1];
  36830. t1 = _this._receiver;
  36831. if (t1 !== -1)
  36832. result.receiver = match[t1 + 1];
  36833. return result;
  36834. }
  36835. };
  36836. A.NullError.prototype = {
  36837. toString$0(_) {
  36838. return "Null check operator used on a null value";
  36839. }
  36840. };
  36841. A.JsNoSuchMethodError.prototype = {
  36842. toString$0(_) {
  36843. var t2, _this = this,
  36844. _s38_ = "NoSuchMethodError: method not found: '",
  36845. t1 = _this._method;
  36846. if (t1 == null)
  36847. return "NoSuchMethodError: " + _this.__js_helper$_message;
  36848. t2 = _this._receiver;
  36849. if (t2 == null)
  36850. return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
  36851. return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
  36852. }
  36853. };
  36854. A.UnknownJsTypeError.prototype = {
  36855. toString$0(_) {
  36856. var t1 = this.__js_helper$_message;
  36857. return t1.length === 0 ? "Error" : "Error: " + t1;
  36858. }
  36859. };
  36860. A.NullThrownFromJavaScriptException.prototype = {
  36861. toString$0(_) {
  36862. return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
  36863. },
  36864. $isException: 1
  36865. };
  36866. A.ExceptionAndStackTrace.prototype = {};
  36867. A._StackTrace.prototype = {
  36868. toString$0(_) {
  36869. var trace,
  36870. t1 = this._trace;
  36871. if (t1 != null)
  36872. return t1;
  36873. t1 = this._exception;
  36874. trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
  36875. return this._trace = trace == null ? "" : trace;
  36876. },
  36877. $isStackTrace: 1
  36878. };
  36879. A.Closure.prototype = {
  36880. toString$0(_) {
  36881. var $constructor = this.constructor,
  36882. $name = $constructor == null ? null : $constructor.name;
  36883. return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
  36884. },
  36885. $isFunction: 1,
  36886. get$$call() {
  36887. return this;
  36888. },
  36889. "call*": "call$1",
  36890. $requiredArgCount: 1,
  36891. $defaultValues: null
  36892. };
  36893. A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
  36894. A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
  36895. A.TearOffClosure.prototype = {};
  36896. A.StaticClosure.prototype = {
  36897. toString$0(_) {
  36898. var $name = this.$static_name;
  36899. if ($name == null)
  36900. return "Closure of unknown static method";
  36901. return "Closure '" + A.unminifyOrTag($name) + "'";
  36902. }
  36903. };
  36904. A.BoundClosure.prototype = {
  36905. $eq(_, other) {
  36906. if (other == null)
  36907. return false;
  36908. if (this === other)
  36909. return true;
  36910. if (!(other instanceof A.BoundClosure))
  36911. return false;
  36912. return this.$_target === other.$_target && this._receiver === other._receiver;
  36913. },
  36914. get$hashCode(_) {
  36915. return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
  36916. },
  36917. toString$0(_) {
  36918. return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
  36919. }
  36920. };
  36921. A._CyclicInitializationError.prototype = {
  36922. toString$0(_) {
  36923. return "Reading static variable '" + this.variableName + "' during its initialization";
  36924. }
  36925. };
  36926. A.RuntimeError.prototype = {
  36927. toString$0(_) {
  36928. return "RuntimeError: " + this.message;
  36929. },
  36930. get$message(receiver) {
  36931. return this.message;
  36932. }
  36933. };
  36934. A._Required.prototype = {};
  36935. A.JsLinkedHashMap.prototype = {
  36936. get$length(_) {
  36937. return this.__js_helper$_length;
  36938. },
  36939. get$isEmpty(_) {
  36940. return this.__js_helper$_length === 0;
  36941. },
  36942. get$isNotEmpty(_) {
  36943. return this.__js_helper$_length !== 0;
  36944. },
  36945. get$keys(_) {
  36946. return new A.LinkedHashMapKeysIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeysIterable<1>"));
  36947. },
  36948. get$values(_) {
  36949. return new A.LinkedHashMapValuesIterable(this, A._instanceType(this)._eval$1("LinkedHashMapValuesIterable<2>"));
  36950. },
  36951. get$entries(_) {
  36952. return new A.LinkedHashMapEntriesIterable(this, A._instanceType(this)._eval$1("LinkedHashMapEntriesIterable<1,2>"));
  36953. },
  36954. containsKey$1(key) {
  36955. var strings, nums;
  36956. if (typeof key == "string") {
  36957. strings = this.__js_helper$_strings;
  36958. if (strings == null)
  36959. return false;
  36960. return strings[key] != null;
  36961. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  36962. nums = this.__js_helper$_nums;
  36963. if (nums == null)
  36964. return false;
  36965. return nums[key] != null;
  36966. } else
  36967. return this.internalContainsKey$1(key);
  36968. },
  36969. internalContainsKey$1(key) {
  36970. var rest = this.__js_helper$_rest;
  36971. if (rest == null)
  36972. return false;
  36973. return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0;
  36974. },
  36975. addAll$1(_, other) {
  36976. other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
  36977. },
  36978. $index(_, key) {
  36979. var strings, cell, t1, nums, _null = null;
  36980. if (typeof key == "string") {
  36981. strings = this.__js_helper$_strings;
  36982. if (strings == null)
  36983. return _null;
  36984. cell = strings[key];
  36985. t1 = cell == null ? _null : cell.hashMapCellValue;
  36986. return t1;
  36987. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  36988. nums = this.__js_helper$_nums;
  36989. if (nums == null)
  36990. return _null;
  36991. cell = nums[key];
  36992. t1 = cell == null ? _null : cell.hashMapCellValue;
  36993. return t1;
  36994. } else
  36995. return this.internalGet$1(key);
  36996. },
  36997. internalGet$1(key) {
  36998. var bucket, index,
  36999. rest = this.__js_helper$_rest;
  37000. if (rest == null)
  37001. return null;
  37002. bucket = rest[this.internalComputeHashCode$1(key)];
  37003. index = this.internalFindBucketIndex$2(bucket, key);
  37004. if (index < 0)
  37005. return null;
  37006. return bucket[index].hashMapCellValue;
  37007. },
  37008. $indexSet(_, key, value) {
  37009. var strings, nums, _this = this;
  37010. if (typeof key == "string") {
  37011. strings = _this.__js_helper$_strings;
  37012. _this.__js_helper$_addHashTableEntry$3(strings == null ? _this.__js_helper$_strings = _this._newHashTable$0() : strings, key, value);
  37013. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  37014. nums = _this.__js_helper$_nums;
  37015. _this.__js_helper$_addHashTableEntry$3(nums == null ? _this.__js_helper$_nums = _this._newHashTable$0() : nums, key, value);
  37016. } else
  37017. _this.internalSet$2(key, value);
  37018. },
  37019. internalSet$2(key, value) {
  37020. var hash, bucket, index, _this = this,
  37021. rest = _this.__js_helper$_rest;
  37022. if (rest == null)
  37023. rest = _this.__js_helper$_rest = _this._newHashTable$0();
  37024. hash = _this.internalComputeHashCode$1(key);
  37025. bucket = rest[hash];
  37026. if (bucket == null)
  37027. rest[hash] = [_this.__js_helper$_newLinkedCell$2(key, value)];
  37028. else {
  37029. index = _this.internalFindBucketIndex$2(bucket, key);
  37030. if (index >= 0)
  37031. bucket[index].hashMapCellValue = value;
  37032. else
  37033. bucket.push(_this.__js_helper$_newLinkedCell$2(key, value));
  37034. }
  37035. },
  37036. putIfAbsent$2(key, ifAbsent) {
  37037. var t1, value, _this = this;
  37038. if (_this.containsKey$1(key)) {
  37039. t1 = _this.$index(0, key);
  37040. return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1;
  37041. }
  37042. value = ifAbsent.call$0();
  37043. _this.$indexSet(0, key, value);
  37044. return value;
  37045. },
  37046. remove$1(_, key) {
  37047. var _this = this;
  37048. if (typeof key == "string")
  37049. return _this.__js_helper$_removeHashTableEntry$2(_this.__js_helper$_strings, key);
  37050. else if (typeof key == "number" && (key & 0x3fffffff) === key)
  37051. return _this.__js_helper$_removeHashTableEntry$2(_this.__js_helper$_nums, key);
  37052. else
  37053. return _this.internalRemove$1(key);
  37054. },
  37055. internalRemove$1(key) {
  37056. var hash, bucket, index, cell, _this = this,
  37057. rest = _this.__js_helper$_rest;
  37058. if (rest == null)
  37059. return null;
  37060. hash = _this.internalComputeHashCode$1(key);
  37061. bucket = rest[hash];
  37062. index = _this.internalFindBucketIndex$2(bucket, key);
  37063. if (index < 0)
  37064. return null;
  37065. cell = bucket.splice(index, 1)[0];
  37066. _this.__js_helper$_unlinkCell$1(cell);
  37067. if (bucket.length === 0)
  37068. delete rest[hash];
  37069. return cell.hashMapCellValue;
  37070. },
  37071. clear$0(_) {
  37072. var _this = this;
  37073. if (_this.__js_helper$_length > 0) {
  37074. _this.__js_helper$_strings = _this.__js_helper$_nums = _this.__js_helper$_rest = _this.__js_helper$_first = _this.__js_helper$_last = null;
  37075. _this.__js_helper$_length = 0;
  37076. _this.__js_helper$_modified$0();
  37077. }
  37078. },
  37079. forEach$1(_, action) {
  37080. var _this = this,
  37081. cell = _this.__js_helper$_first,
  37082. modifications = _this.__js_helper$_modifications;
  37083. for (; cell != null;) {
  37084. action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
  37085. if (modifications !== _this.__js_helper$_modifications)
  37086. throw A.wrapException(A.ConcurrentModificationError$(_this));
  37087. cell = cell.__js_helper$_next;
  37088. }
  37089. },
  37090. __js_helper$_addHashTableEntry$3(table, key, value) {
  37091. var cell = table[key];
  37092. if (cell == null)
  37093. table[key] = this.__js_helper$_newLinkedCell$2(key, value);
  37094. else
  37095. cell.hashMapCellValue = value;
  37096. },
  37097. __js_helper$_removeHashTableEntry$2(table, key) {
  37098. var cell;
  37099. if (table == null)
  37100. return null;
  37101. cell = table[key];
  37102. if (cell == null)
  37103. return null;
  37104. this.__js_helper$_unlinkCell$1(cell);
  37105. delete table[key];
  37106. return cell.hashMapCellValue;
  37107. },
  37108. __js_helper$_modified$0() {
  37109. this.__js_helper$_modifications = this.__js_helper$_modifications + 1 & 1073741823;
  37110. },
  37111. __js_helper$_newLinkedCell$2(key, value) {
  37112. var t1, _this = this,
  37113. cell = new A.LinkedHashMapCell(key, value);
  37114. if (_this.__js_helper$_first == null)
  37115. _this.__js_helper$_first = _this.__js_helper$_last = cell;
  37116. else {
  37117. t1 = _this.__js_helper$_last;
  37118. t1.toString;
  37119. cell.__js_helper$_previous = t1;
  37120. _this.__js_helper$_last = t1.__js_helper$_next = cell;
  37121. }
  37122. ++_this.__js_helper$_length;
  37123. _this.__js_helper$_modified$0();
  37124. return cell;
  37125. },
  37126. __js_helper$_unlinkCell$1(cell) {
  37127. var _this = this,
  37128. previous = cell.__js_helper$_previous,
  37129. next = cell.__js_helper$_next;
  37130. if (previous == null)
  37131. _this.__js_helper$_first = next;
  37132. else
  37133. previous.__js_helper$_next = next;
  37134. if (next == null)
  37135. _this.__js_helper$_last = previous;
  37136. else
  37137. next.__js_helper$_previous = previous;
  37138. --_this.__js_helper$_length;
  37139. _this.__js_helper$_modified$0();
  37140. },
  37141. internalComputeHashCode$1(key) {
  37142. return J.get$hashCode$(key) & 1073741823;
  37143. },
  37144. internalFindBucketIndex$2(bucket, key) {
  37145. var $length, i;
  37146. if (bucket == null)
  37147. return -1;
  37148. $length = bucket.length;
  37149. for (i = 0; i < $length; ++i)
  37150. if (J.$eq$(bucket[i].hashMapCellKey, key))
  37151. return i;
  37152. return -1;
  37153. },
  37154. toString$0(_) {
  37155. return A.MapBase_mapToString(this);
  37156. },
  37157. _newHashTable$0() {
  37158. var table = Object.create(null);
  37159. table["<non-identifier-key>"] = table;
  37160. delete table["<non-identifier-key>"];
  37161. return table;
  37162. }
  37163. };
  37164. A.JsLinkedHashMap_addAll_closure.prototype = {
  37165. call$2(key, value) {
  37166. this.$this.$indexSet(0, key, value);
  37167. },
  37168. $signature() {
  37169. return A._instanceType(this.$this)._eval$1("~(1,2)");
  37170. }
  37171. };
  37172. A.LinkedHashMapCell.prototype = {};
  37173. A.LinkedHashMapKeysIterable.prototype = {
  37174. get$length(_) {
  37175. return this.__js_helper$_map.__js_helper$_length;
  37176. },
  37177. get$isEmpty(_) {
  37178. return this.__js_helper$_map.__js_helper$_length === 0;
  37179. },
  37180. get$iterator(_) {
  37181. var t1 = this.__js_helper$_map;
  37182. return new A.LinkedHashMapKeyIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first);
  37183. },
  37184. contains$1(_, element) {
  37185. return this.__js_helper$_map.containsKey$1(element);
  37186. }
  37187. };
  37188. A.LinkedHashMapKeyIterator.prototype = {
  37189. get$current(_) {
  37190. return this.__js_helper$_current;
  37191. },
  37192. moveNext$0() {
  37193. var cell, _this = this,
  37194. t1 = _this.__js_helper$_map;
  37195. if (_this.__js_helper$_modifications !== t1.__js_helper$_modifications)
  37196. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37197. cell = _this.__js_helper$_cell;
  37198. if (cell == null) {
  37199. _this.__js_helper$_current = null;
  37200. return false;
  37201. } else {
  37202. _this.__js_helper$_current = cell.hashMapCellKey;
  37203. _this.__js_helper$_cell = cell.__js_helper$_next;
  37204. return true;
  37205. }
  37206. }
  37207. };
  37208. A.LinkedHashMapValuesIterable.prototype = {
  37209. get$length(_) {
  37210. return this.__js_helper$_map.__js_helper$_length;
  37211. },
  37212. get$isEmpty(_) {
  37213. return this.__js_helper$_map.__js_helper$_length === 0;
  37214. },
  37215. get$iterator(_) {
  37216. var t1 = this.__js_helper$_map;
  37217. return new A.LinkedHashMapValueIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first);
  37218. }
  37219. };
  37220. A.LinkedHashMapValueIterator.prototype = {
  37221. get$current(_) {
  37222. return this.__js_helper$_current;
  37223. },
  37224. moveNext$0() {
  37225. var cell, _this = this,
  37226. t1 = _this.__js_helper$_map;
  37227. if (_this.__js_helper$_modifications !== t1.__js_helper$_modifications)
  37228. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37229. cell = _this.__js_helper$_cell;
  37230. if (cell == null) {
  37231. _this.__js_helper$_current = null;
  37232. return false;
  37233. } else {
  37234. _this.__js_helper$_current = cell.hashMapCellValue;
  37235. _this.__js_helper$_cell = cell.__js_helper$_next;
  37236. return true;
  37237. }
  37238. }
  37239. };
  37240. A.LinkedHashMapEntriesIterable.prototype = {
  37241. get$length(_) {
  37242. return this.__js_helper$_map.__js_helper$_length;
  37243. },
  37244. get$isEmpty(_) {
  37245. return this.__js_helper$_map.__js_helper$_length === 0;
  37246. },
  37247. get$iterator(_) {
  37248. var t1 = this.__js_helper$_map;
  37249. return new A.LinkedHashMapEntryIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first, this.$ti._eval$1("LinkedHashMapEntryIterator<1,2>"));
  37250. }
  37251. };
  37252. A.LinkedHashMapEntryIterator.prototype = {
  37253. get$current(_) {
  37254. var t1 = this.__js_helper$_current;
  37255. t1.toString;
  37256. return t1;
  37257. },
  37258. moveNext$0() {
  37259. var cell, _this = this,
  37260. t1 = _this.__js_helper$_map;
  37261. if (_this.__js_helper$_modifications !== t1.__js_helper$_modifications)
  37262. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37263. cell = _this.__js_helper$_cell;
  37264. if (cell == null) {
  37265. _this.__js_helper$_current = null;
  37266. return false;
  37267. } else {
  37268. _this.__js_helper$_current = new A.MapEntry(cell.hashMapCellKey, cell.hashMapCellValue, _this.$ti._eval$1("MapEntry<1,2>"));
  37269. _this.__js_helper$_cell = cell.__js_helper$_next;
  37270. return true;
  37271. }
  37272. }
  37273. };
  37274. A.JsIdentityLinkedHashMap.prototype = {
  37275. internalComputeHashCode$1(key) {
  37276. return A.objectHashCode(key) & 1073741823;
  37277. },
  37278. internalFindBucketIndex$2(bucket, key) {
  37279. var $length, i, t1;
  37280. if (bucket == null)
  37281. return -1;
  37282. $length = bucket.length;
  37283. for (i = 0; i < $length; ++i) {
  37284. t1 = bucket[i].hashMapCellKey;
  37285. if (t1 == null ? key == null : t1 === key)
  37286. return i;
  37287. }
  37288. return -1;
  37289. }
  37290. };
  37291. A.JsConstantLinkedHashMap.prototype = {
  37292. internalComputeHashCode$1(key) {
  37293. return A.constantHashCode(key) & 1073741823;
  37294. },
  37295. internalFindBucketIndex$2(bucket, key) {
  37296. var $length, i;
  37297. if (bucket == null)
  37298. return -1;
  37299. $length = bucket.length;
  37300. for (i = 0; i < $length; ++i)
  37301. if (J.$eq$(bucket[i].hashMapCellKey, key))
  37302. return i;
  37303. return -1;
  37304. }
  37305. };
  37306. A.initHooks_closure.prototype = {
  37307. call$1(o) {
  37308. return this.getTag(o);
  37309. },
  37310. $signature: 93
  37311. };
  37312. A.initHooks_closure0.prototype = {
  37313. call$2(o, tag) {
  37314. return this.getUnknownTag(o, tag);
  37315. },
  37316. $signature: 385
  37317. };
  37318. A.initHooks_closure1.prototype = {
  37319. call$1(tag) {
  37320. return this.prototypeForTag(tag);
  37321. },
  37322. $signature: 260
  37323. };
  37324. A._Record.prototype = {
  37325. toString$0(_) {
  37326. return this._toString$1(false);
  37327. },
  37328. _toString$1(safe) {
  37329. var t2, separator, i, key, value,
  37330. keys = this._fieldKeys$0(),
  37331. values = this._getFieldValues$0(),
  37332. t1 = (safe ? "" + "Record " : "") + "(";
  37333. for (t2 = keys.length, separator = "", i = 0; i < t2; ++i, separator = ", ") {
  37334. t1 += separator;
  37335. key = keys[i];
  37336. if (typeof key == "string")
  37337. t1 = t1 + key + ": ";
  37338. value = values[i];
  37339. t1 = safe ? t1 + A.Primitives_safeToString(value) : t1 + A.S(value);
  37340. }
  37341. t1 += ")";
  37342. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37343. },
  37344. _fieldKeys$0() {
  37345. var t1,
  37346. shapeTag = this.$shape;
  37347. for (; $._Record__computedFieldKeys.length <= shapeTag;)
  37348. $._Record__computedFieldKeys.push(null);
  37349. t1 = $._Record__computedFieldKeys[shapeTag];
  37350. if (t1 == null) {
  37351. t1 = this._computeFieldKeys$0();
  37352. $._Record__computedFieldKeys[shapeTag] = t1;
  37353. }
  37354. return t1;
  37355. },
  37356. _computeFieldKeys$0() {
  37357. var i, names, last,
  37358. recipe = this.$recipe,
  37359. position = recipe.indexOf("("),
  37360. joinedNames = recipe.substring(1, position),
  37361. fields = recipe.substring(position),
  37362. arity = fields === "()" ? 0 : fields.replace(/[^,]/g, "").length + 1,
  37363. t1 = type$.Object,
  37364. result = J.JSArray_JSArray$allocateGrowable(arity, t1);
  37365. for (i = 0; i < arity; ++i)
  37366. result[i] = i;
  37367. if (joinedNames !== "") {
  37368. names = joinedNames.split(",");
  37369. i = names.length;
  37370. for (last = arity; i > 0;) {
  37371. --last;
  37372. --i;
  37373. result[last] = names[i];
  37374. }
  37375. }
  37376. return A.List_List$unmodifiable(result, t1);
  37377. }
  37378. };
  37379. A._Record2.prototype = {
  37380. _getFieldValues$0() {
  37381. return [this._0, this._1];
  37382. },
  37383. $eq(_, other) {
  37384. if (other == null)
  37385. return false;
  37386. return other instanceof A._Record2 && this.$shape === other.$shape && J.$eq$(this._0, other._0) && J.$eq$(this._1, other._1);
  37387. },
  37388. get$hashCode(_) {
  37389. return A.Object_hash(this.$shape, this._0, this._1, B.C_SentinelValue);
  37390. }
  37391. };
  37392. A._Record1.prototype = {
  37393. _getFieldValues$0() {
  37394. return [this._0];
  37395. },
  37396. $eq(_, other) {
  37397. if (other == null)
  37398. return false;
  37399. return other instanceof A._Record1 && this.$shape === other.$shape && J.$eq$(this._0, other._0);
  37400. },
  37401. get$hashCode(_) {
  37402. return A.Object_hash(this.$shape, this._0, B.C_SentinelValue, B.C_SentinelValue);
  37403. }
  37404. };
  37405. A._Record3.prototype = {
  37406. _getFieldValues$0() {
  37407. return [this._0, this._1, this._2];
  37408. },
  37409. $eq(_, other) {
  37410. var _this = this;
  37411. if (other == null)
  37412. return false;
  37413. 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);
  37414. },
  37415. get$hashCode(_) {
  37416. var _this = this;
  37417. return A.Object_hash(_this.$shape, _this._0, _this._1, _this._2);
  37418. }
  37419. };
  37420. A._RecordN.prototype = {
  37421. _getFieldValues$0() {
  37422. return this._values;
  37423. },
  37424. $eq(_, other) {
  37425. if (other == null)
  37426. return false;
  37427. return other instanceof A._RecordN && this.$shape === other.$shape && A._RecordN__equalValues(this._values, other._values);
  37428. },
  37429. get$hashCode(_) {
  37430. return A.Object_hash(this.$shape, A.Object_hashAll(this._values), B.C_SentinelValue, B.C_SentinelValue);
  37431. }
  37432. };
  37433. A.JSSyntaxRegExp.prototype = {
  37434. toString$0(_) {
  37435. return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
  37436. },
  37437. get$_nativeGlobalVersion() {
  37438. var _this = this,
  37439. t1 = _this._nativeGlobalRegExp;
  37440. if (t1 != null)
  37441. return t1;
  37442. t1 = _this._nativeRegExp;
  37443. return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  37444. },
  37445. get$_nativeAnchoredVersion() {
  37446. var _this = this,
  37447. t1 = _this._nativeAnchoredRegExp;
  37448. if (t1 != null)
  37449. return t1;
  37450. t1 = _this._nativeRegExp;
  37451. return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  37452. },
  37453. firstMatch$1(string) {
  37454. var m = this._nativeRegExp.exec(string);
  37455. if (m == null)
  37456. return null;
  37457. return new A._MatchImplementation(m);
  37458. },
  37459. allMatches$2(_, string, start) {
  37460. var t1 = string.length;
  37461. if (start > t1)
  37462. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  37463. return new A._AllMatchesIterable(this, string, start);
  37464. },
  37465. allMatches$1(_, string) {
  37466. return this.allMatches$2(0, string, 0);
  37467. },
  37468. _execGlobal$2(string, start) {
  37469. var match,
  37470. regexp = this.get$_nativeGlobalVersion();
  37471. regexp.lastIndex = start;
  37472. match = regexp.exec(string);
  37473. if (match == null)
  37474. return null;
  37475. return new A._MatchImplementation(match);
  37476. },
  37477. _execAnchored$2(string, start) {
  37478. var match,
  37479. regexp = this.get$_nativeAnchoredVersion();
  37480. regexp.lastIndex = start;
  37481. match = regexp.exec(string);
  37482. if (match == null)
  37483. return null;
  37484. if (match.pop() != null)
  37485. return null;
  37486. return new A._MatchImplementation(match);
  37487. },
  37488. matchAsPrefix$2(_, string, start) {
  37489. if (start < 0 || start > string.length)
  37490. throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
  37491. return this._execAnchored$2(string, start);
  37492. }
  37493. };
  37494. A._MatchImplementation.prototype = {
  37495. get$start(_) {
  37496. return this._match.index;
  37497. },
  37498. get$end(_) {
  37499. var t1 = this._match;
  37500. return t1.index + t1[0].length;
  37501. },
  37502. namedGroup$1($name) {
  37503. var result,
  37504. groups = this._match.groups;
  37505. if (groups != null) {
  37506. result = groups[$name];
  37507. if (result != null || $name in groups)
  37508. return result;
  37509. }
  37510. throw A.wrapException(A.ArgumentError$value($name, "name", "Not a capture group name"));
  37511. },
  37512. $isMatch: 1,
  37513. $isRegExpMatch: 1
  37514. };
  37515. A._AllMatchesIterable.prototype = {
  37516. get$iterator(_) {
  37517. return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this.__js_helper$_start);
  37518. }
  37519. };
  37520. A._AllMatchesIterator.prototype = {
  37521. get$current(_) {
  37522. var t1 = this.__js_helper$_current;
  37523. return t1 == null ? type$.RegExpMatch._as(t1) : t1;
  37524. },
  37525. moveNext$0() {
  37526. var t1, t2, t3, match, nextIndex, t4, _this = this,
  37527. string = _this.__js_helper$_string;
  37528. if (string == null)
  37529. return false;
  37530. t1 = _this._nextIndex;
  37531. t2 = string.length;
  37532. if (t1 <= t2) {
  37533. t3 = _this._regExp;
  37534. match = t3._execGlobal$2(string, t1);
  37535. if (match != null) {
  37536. _this.__js_helper$_current = match;
  37537. nextIndex = match.get$end(0);
  37538. if (match._match.index === nextIndex) {
  37539. t1 = false;
  37540. if (t3._nativeRegExp.unicode) {
  37541. t3 = _this._nextIndex;
  37542. t4 = t3 + 1;
  37543. if (t4 < t2) {
  37544. t2 = string.charCodeAt(t3);
  37545. if (t2 >= 55296 && t2 <= 56319) {
  37546. t1 = string.charCodeAt(t4);
  37547. t1 = t1 >= 56320 && t1 <= 57343;
  37548. }
  37549. }
  37550. }
  37551. nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
  37552. }
  37553. _this._nextIndex = nextIndex;
  37554. return true;
  37555. }
  37556. }
  37557. _this.__js_helper$_string = _this.__js_helper$_current = null;
  37558. return false;
  37559. }
  37560. };
  37561. A.StringMatch.prototype = {
  37562. get$end(_) {
  37563. return this.start + this.pattern.length;
  37564. },
  37565. $isMatch: 1,
  37566. get$start(receiver) {
  37567. return this.start;
  37568. }
  37569. };
  37570. A._StringAllMatchesIterable.prototype = {
  37571. get$iterator(_) {
  37572. return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
  37573. },
  37574. get$first(_) {
  37575. var t1 = this._pattern,
  37576. index = this._input.indexOf(t1, this.__js_helper$_index);
  37577. if (index >= 0)
  37578. return new A.StringMatch(index, t1);
  37579. throw A.wrapException(A.IterableElementError_noElement());
  37580. }
  37581. };
  37582. A._StringAllMatchesIterator.prototype = {
  37583. moveNext$0() {
  37584. var index, end, _this = this,
  37585. t1 = _this.__js_helper$_index,
  37586. t2 = _this._pattern,
  37587. t3 = t2.length,
  37588. t4 = _this._input,
  37589. t5 = t4.length;
  37590. if (t1 + t3 > t5) {
  37591. _this.__js_helper$_current = null;
  37592. return false;
  37593. }
  37594. index = t4.indexOf(t2, t1);
  37595. if (index < 0) {
  37596. _this.__js_helper$_index = t5 + 1;
  37597. _this.__js_helper$_current = null;
  37598. return false;
  37599. }
  37600. end = index + t3;
  37601. _this.__js_helper$_current = new A.StringMatch(index, t2);
  37602. _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
  37603. return true;
  37604. },
  37605. get$current(_) {
  37606. var t1 = this.__js_helper$_current;
  37607. t1.toString;
  37608. return t1;
  37609. }
  37610. };
  37611. A._Cell.prototype = {
  37612. readLocal$1$0() {
  37613. var t1 = this.__late_helper$_value;
  37614. if (t1 === this)
  37615. A.throwExpression(new A.LateError("Local '' has not been initialized."));
  37616. return t1;
  37617. },
  37618. readLocal$0() {
  37619. return this.readLocal$1$0(type$.dynamic);
  37620. },
  37621. _readLocal$0() {
  37622. var t1 = this.__late_helper$_value;
  37623. if (t1 === this)
  37624. throw A.wrapException(new A.LateError("Local '' has not been initialized."));
  37625. return t1;
  37626. }
  37627. };
  37628. A.NativeByteBuffer.prototype = {
  37629. get$runtimeType(receiver) {
  37630. return B.Type_ByteBuffer_rqD;
  37631. },
  37632. $isTrustedGetRuntimeType: 1,
  37633. $isByteBuffer: 1
  37634. };
  37635. A.NativeTypedData.prototype = {
  37636. _invalidPosition$3(receiver, position, $length, $name) {
  37637. var t1 = A.RangeError$range(position, 0, $length, $name, null);
  37638. throw A.wrapException(t1);
  37639. },
  37640. _checkPosition$3(receiver, position, $length, $name) {
  37641. if (position >>> 0 !== position || position > $length)
  37642. this._invalidPosition$3(receiver, position, $length, $name);
  37643. }
  37644. };
  37645. A.NativeByteData.prototype = {
  37646. get$runtimeType(receiver) {
  37647. return B.Type_ByteData_9dB;
  37648. },
  37649. $isTrustedGetRuntimeType: 1,
  37650. $isByteData: 1
  37651. };
  37652. A.NativeTypedArray.prototype = {
  37653. get$length(receiver) {
  37654. return receiver.length;
  37655. },
  37656. _setRangeFast$4(receiver, start, end, source, skipCount) {
  37657. var count, sourceLength,
  37658. targetLength = receiver.length;
  37659. this._checkPosition$3(receiver, start, targetLength, "start");
  37660. this._checkPosition$3(receiver, end, targetLength, "end");
  37661. if (start > end)
  37662. throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
  37663. count = end - start;
  37664. if (skipCount < 0)
  37665. throw A.wrapException(A.ArgumentError$(skipCount, null));
  37666. sourceLength = source.length;
  37667. if (sourceLength - skipCount < count)
  37668. throw A.wrapException(A.StateError$("Not enough elements"));
  37669. if (skipCount !== 0 || sourceLength !== count)
  37670. source = source.subarray(skipCount, skipCount + count);
  37671. receiver.set(source, start);
  37672. },
  37673. $isJavaScriptIndexingBehavior: 1
  37674. };
  37675. A.NativeTypedArrayOfDouble.prototype = {
  37676. $index(receiver, index) {
  37677. A._checkValidIndex(index, receiver, receiver.length);
  37678. return receiver[index];
  37679. },
  37680. $indexSet(receiver, index, value) {
  37681. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  37682. A._checkValidIndex(index, receiver, receiver.length);
  37683. receiver[index] = value;
  37684. },
  37685. setRange$4(receiver, start, end, iterable, skipCount) {
  37686. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  37687. if (type$.NativeTypedArrayOfDouble._is(iterable)) {
  37688. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  37689. return;
  37690. }
  37691. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  37692. },
  37693. $isEfficientLengthIterable: 1,
  37694. $isIterable: 1,
  37695. $isList: 1
  37696. };
  37697. A.NativeTypedArrayOfInt.prototype = {
  37698. $indexSet(receiver, index, value) {
  37699. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  37700. A._checkValidIndex(index, receiver, receiver.length);
  37701. receiver[index] = value;
  37702. },
  37703. setRange$4(receiver, start, end, iterable, skipCount) {
  37704. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  37705. if (type$.NativeTypedArrayOfInt._is(iterable)) {
  37706. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  37707. return;
  37708. }
  37709. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  37710. },
  37711. $isEfficientLengthIterable: 1,
  37712. $isIterable: 1,
  37713. $isList: 1
  37714. };
  37715. A.NativeFloat32List.prototype = {
  37716. get$runtimeType(receiver) {
  37717. return B.Type_Float32List_9Kz;
  37718. },
  37719. sublist$2(receiver, start, end) {
  37720. return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37721. },
  37722. sublist$1(receiver, start) {
  37723. return this.sublist$2(receiver, start, null);
  37724. },
  37725. $isTrustedGetRuntimeType: 1,
  37726. $isFloat32List: 1
  37727. };
  37728. A.NativeFloat64List.prototype = {
  37729. get$runtimeType(receiver) {
  37730. return B.Type_Float64List_9Kz;
  37731. },
  37732. sublist$2(receiver, start, end) {
  37733. return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37734. },
  37735. sublist$1(receiver, start) {
  37736. return this.sublist$2(receiver, start, null);
  37737. },
  37738. $isTrustedGetRuntimeType: 1,
  37739. $isFloat64List: 1
  37740. };
  37741. A.NativeInt16List.prototype = {
  37742. get$runtimeType(receiver) {
  37743. return B.Type_Int16List_s5h;
  37744. },
  37745. $index(receiver, index) {
  37746. A._checkValidIndex(index, receiver, receiver.length);
  37747. return receiver[index];
  37748. },
  37749. sublist$2(receiver, start, end) {
  37750. return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37751. },
  37752. sublist$1(receiver, start) {
  37753. return this.sublist$2(receiver, start, null);
  37754. },
  37755. $isTrustedGetRuntimeType: 1,
  37756. $isInt16List: 1
  37757. };
  37758. A.NativeInt32List.prototype = {
  37759. get$runtimeType(receiver) {
  37760. return B.Type_Int32List_O8Z;
  37761. },
  37762. $index(receiver, index) {
  37763. A._checkValidIndex(index, receiver, receiver.length);
  37764. return receiver[index];
  37765. },
  37766. sublist$2(receiver, start, end) {
  37767. return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37768. },
  37769. sublist$1(receiver, start) {
  37770. return this.sublist$2(receiver, start, null);
  37771. },
  37772. $isTrustedGetRuntimeType: 1,
  37773. $isInt32List: 1
  37774. };
  37775. A.NativeInt8List.prototype = {
  37776. get$runtimeType(receiver) {
  37777. return B.Type_Int8List_rFV;
  37778. },
  37779. $index(receiver, index) {
  37780. A._checkValidIndex(index, receiver, receiver.length);
  37781. return receiver[index];
  37782. },
  37783. sublist$2(receiver, start, end) {
  37784. return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37785. },
  37786. sublist$1(receiver, start) {
  37787. return this.sublist$2(receiver, start, null);
  37788. },
  37789. $isTrustedGetRuntimeType: 1,
  37790. $isInt8List: 1
  37791. };
  37792. A.NativeUint16List.prototype = {
  37793. get$runtimeType(receiver) {
  37794. return B.Type_Uint16List_kmP;
  37795. },
  37796. $index(receiver, index) {
  37797. A._checkValidIndex(index, receiver, receiver.length);
  37798. return receiver[index];
  37799. },
  37800. sublist$2(receiver, start, end) {
  37801. return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37802. },
  37803. sublist$1(receiver, start) {
  37804. return this.sublist$2(receiver, start, null);
  37805. },
  37806. $isTrustedGetRuntimeType: 1,
  37807. $isUint16List: 1
  37808. };
  37809. A.NativeUint32List.prototype = {
  37810. get$runtimeType(receiver) {
  37811. return B.Type_Uint32List_kmP;
  37812. },
  37813. $index(receiver, index) {
  37814. A._checkValidIndex(index, receiver, receiver.length);
  37815. return receiver[index];
  37816. },
  37817. sublist$2(receiver, start, end) {
  37818. return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37819. },
  37820. sublist$1(receiver, start) {
  37821. return this.sublist$2(receiver, start, null);
  37822. },
  37823. $isTrustedGetRuntimeType: 1,
  37824. $isUint32List: 1
  37825. };
  37826. A.NativeUint8ClampedList.prototype = {
  37827. get$runtimeType(receiver) {
  37828. return B.Type_Uint8ClampedList_04U;
  37829. },
  37830. get$length(receiver) {
  37831. return receiver.length;
  37832. },
  37833. $index(receiver, index) {
  37834. A._checkValidIndex(index, receiver, receiver.length);
  37835. return receiver[index];
  37836. },
  37837. sublist$2(receiver, start, end) {
  37838. return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37839. },
  37840. sublist$1(receiver, start) {
  37841. return this.sublist$2(receiver, start, null);
  37842. },
  37843. $isTrustedGetRuntimeType: 1,
  37844. $isUint8ClampedList: 1
  37845. };
  37846. A.NativeUint8List.prototype = {
  37847. get$runtimeType(receiver) {
  37848. return B.Type_Uint8List_8Eb;
  37849. },
  37850. get$length(receiver) {
  37851. return receiver.length;
  37852. },
  37853. $index(receiver, index) {
  37854. A._checkValidIndex(index, receiver, receiver.length);
  37855. return receiver[index];
  37856. },
  37857. sublist$2(receiver, start, end) {
  37858. return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37859. },
  37860. sublist$1(receiver, start) {
  37861. return this.sublist$2(receiver, start, null);
  37862. },
  37863. $isTrustedGetRuntimeType: 1,
  37864. $isNativeUint8List: 1,
  37865. $isUint8List: 1
  37866. };
  37867. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
  37868. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  37869. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
  37870. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  37871. A.Rti.prototype = {
  37872. _eval$1(recipe) {
  37873. return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
  37874. },
  37875. _bind$1(typeOrTuple) {
  37876. return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
  37877. }
  37878. };
  37879. A._FunctionParameters.prototype = {};
  37880. A._Type.prototype = {
  37881. toString$0(_) {
  37882. return A._rtiToString(this._rti, null);
  37883. }
  37884. };
  37885. A._Error.prototype = {
  37886. toString$0(_) {
  37887. return this.__rti$_message;
  37888. }
  37889. };
  37890. A._TypeError.prototype = {
  37891. get$message(_) {
  37892. return this.__rti$_message;
  37893. },
  37894. $isTypeError: 1
  37895. };
  37896. A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
  37897. call$1(__wc0_formal) {
  37898. var t1 = this._box_0,
  37899. f = t1.storedCallback;
  37900. t1.storedCallback = null;
  37901. f.call$0();
  37902. },
  37903. $signature: 55
  37904. };
  37905. A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
  37906. call$1(callback) {
  37907. var t1, t2;
  37908. this._box_0.storedCallback = callback;
  37909. t1 = this.div;
  37910. t2 = this.span;
  37911. t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
  37912. },
  37913. $signature: 35
  37914. };
  37915. A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
  37916. call$0() {
  37917. this.callback.call$0();
  37918. },
  37919. $signature: 1
  37920. };
  37921. A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
  37922. call$0() {
  37923. this.callback.call$0();
  37924. },
  37925. $signature: 1
  37926. };
  37927. A._TimerImpl.prototype = {
  37928. _TimerImpl$2(milliseconds, callback) {
  37929. if (self.setTimeout != null)
  37930. this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
  37931. else
  37932. throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
  37933. },
  37934. _TimerImpl$periodic$2(milliseconds, callback) {
  37935. if (self.setTimeout != null)
  37936. this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
  37937. else
  37938. throw A.wrapException(A.UnsupportedError$("Periodic timer."));
  37939. },
  37940. cancel$0() {
  37941. if (self.setTimeout != null) {
  37942. var t1 = this._handle;
  37943. if (t1 == null)
  37944. return;
  37945. if (this._once)
  37946. self.clearTimeout(t1);
  37947. else
  37948. self.clearInterval(t1);
  37949. this._handle = null;
  37950. } else
  37951. throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
  37952. }
  37953. };
  37954. A._TimerImpl_internalCallback.prototype = {
  37955. call$0() {
  37956. var t1 = this.$this;
  37957. t1._handle = null;
  37958. t1._tick = 1;
  37959. this.callback.call$0();
  37960. },
  37961. $signature: 0
  37962. };
  37963. A._TimerImpl$periodic_closure.prototype = {
  37964. call$0() {
  37965. var duration, _this = this,
  37966. t1 = _this.$this,
  37967. tick = t1._tick + 1,
  37968. t2 = _this.milliseconds;
  37969. if (t2 > 0) {
  37970. duration = Date.now() - _this.start;
  37971. if (duration > (tick + 1) * t2)
  37972. tick = B.JSInt_methods.$tdiv(duration, t2);
  37973. }
  37974. t1._tick = tick;
  37975. _this.callback.call$1(t1);
  37976. },
  37977. $signature: 1
  37978. };
  37979. A._AsyncAwaitCompleter.prototype = {
  37980. complete$1(value) {
  37981. var t1, _this = this;
  37982. if (value == null)
  37983. value = _this.$ti._precomputed1._as(value);
  37984. if (!_this.isSync)
  37985. _this._future._asyncComplete$1(value);
  37986. else {
  37987. t1 = _this._future;
  37988. if (_this.$ti._eval$1("Future<1>")._is(value))
  37989. t1._chainFuture$1(value);
  37990. else
  37991. t1._completeWithValue$1(value);
  37992. }
  37993. },
  37994. completeError$2(e, st) {
  37995. var t1 = this._future;
  37996. if (this.isSync)
  37997. t1._completeError$2(e, st);
  37998. else
  37999. t1._asyncCompleteError$2(e, st);
  38000. }
  38001. };
  38002. A._awaitOnObject_closure.prototype = {
  38003. call$1(result) {
  38004. return this.bodyFunction.call$2(0, result);
  38005. },
  38006. $signature: 68
  38007. };
  38008. A._awaitOnObject_closure0.prototype = {
  38009. call$2(error, stackTrace) {
  38010. this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
  38011. },
  38012. $signature: 388
  38013. };
  38014. A._wrapJsFunctionForAsync_closure.prototype = {
  38015. call$2(errorCode, result) {
  38016. this.$protected(errorCode, result);
  38017. },
  38018. $signature: 366
  38019. };
  38020. A._SyncStarIterator.prototype = {
  38021. get$current(_) {
  38022. return this._async$_current;
  38023. },
  38024. _resumeBody$2(errorCode, errorValue) {
  38025. var body, t1, exception;
  38026. errorCode = errorCode;
  38027. errorValue = errorValue;
  38028. body = this._body;
  38029. for (; true;)
  38030. try {
  38031. t1 = body(this, errorCode, errorValue);
  38032. return t1;
  38033. } catch (exception) {
  38034. errorValue = exception;
  38035. errorCode = 1;
  38036. }
  38037. },
  38038. moveNext$0() {
  38039. var nestedIterator, exception, value, suspendedBodies, _this = this, errorValue = null, errorCode = 0;
  38040. for (; true;) {
  38041. nestedIterator = _this._nestedIterator;
  38042. if (nestedIterator != null)
  38043. try {
  38044. if (nestedIterator.moveNext$0()) {
  38045. _this._async$_current = J.get$current$x(nestedIterator);
  38046. return true;
  38047. } else
  38048. _this._nestedIterator = null;
  38049. } catch (exception) {
  38050. errorValue = exception;
  38051. errorCode = 1;
  38052. _this._nestedIterator = null;
  38053. }
  38054. value = _this._resumeBody$2(errorCode, errorValue);
  38055. if (1 === value)
  38056. return true;
  38057. if (0 === value) {
  38058. _this._async$_current = null;
  38059. suspendedBodies = _this._suspendedBodies;
  38060. if (suspendedBodies == null || suspendedBodies.length === 0) {
  38061. _this._body = A._SyncStarIterator__terminatedBody;
  38062. return false;
  38063. }
  38064. _this._body = suspendedBodies.pop();
  38065. errorCode = 0;
  38066. errorValue = null;
  38067. continue;
  38068. }
  38069. if (2 === value) {
  38070. errorCode = 0;
  38071. errorValue = null;
  38072. continue;
  38073. }
  38074. if (3 === value) {
  38075. errorValue = _this._datum;
  38076. _this._datum = null;
  38077. suspendedBodies = _this._suspendedBodies;
  38078. if (suspendedBodies == null || suspendedBodies.length === 0) {
  38079. _this._async$_current = null;
  38080. _this._body = A._SyncStarIterator__terminatedBody;
  38081. throw errorValue;
  38082. return false;
  38083. }
  38084. _this._body = suspendedBodies.pop();
  38085. errorCode = 1;
  38086. continue;
  38087. }
  38088. throw A.wrapException(A.StateError$("sync*"));
  38089. }
  38090. return false;
  38091. },
  38092. _yieldStar$1(iterable) {
  38093. var t1, t2, _this = this;
  38094. if (iterable instanceof A._SyncStarIterable) {
  38095. t1 = iterable._outerHelper();
  38096. t2 = _this._suspendedBodies;
  38097. if (t2 == null)
  38098. t2 = _this._suspendedBodies = [];
  38099. t2.push(_this._body);
  38100. _this._body = t1;
  38101. return 2;
  38102. } else {
  38103. _this._nestedIterator = J.get$iterator$ax(iterable);
  38104. return 2;
  38105. }
  38106. }
  38107. };
  38108. A._SyncStarIterable.prototype = {
  38109. get$iterator(_) {
  38110. return new A._SyncStarIterator(this._outerHelper());
  38111. }
  38112. };
  38113. A.AsyncError.prototype = {
  38114. toString$0(_) {
  38115. return A.S(this.error);
  38116. },
  38117. $isError: 1,
  38118. get$stackTrace() {
  38119. return this.stackTrace;
  38120. }
  38121. };
  38122. A.Future_wait_handleError.prototype = {
  38123. call$2(theError, theStackTrace) {
  38124. var _this = this,
  38125. t1 = _this._box_0,
  38126. t2 = --t1.remaining;
  38127. if (t1.values != null) {
  38128. t1.values = null;
  38129. t1.error = theError;
  38130. t1.stackTrace = theStackTrace;
  38131. if (t2 === 0 || _this.eagerError)
  38132. _this._future._completeError$2(theError, theStackTrace);
  38133. } else if (t2 === 0 && !_this.eagerError) {
  38134. t2 = t1.error;
  38135. t2.toString;
  38136. t1 = t1.stackTrace;
  38137. t1.toString;
  38138. _this._future._completeError$2(t2, t1);
  38139. }
  38140. },
  38141. $signature: 76
  38142. };
  38143. A.Future_wait_closure.prototype = {
  38144. call$1(value) {
  38145. var t1, value0, t3, t4, _i, t5, _this = this,
  38146. t2 = _this._box_0,
  38147. remainingResults = --t2.remaining,
  38148. valueList = t2.values;
  38149. if (valueList != null) {
  38150. J.$indexSet$ax(valueList, _this.pos, value);
  38151. if (J.$eq$(remainingResults, 0)) {
  38152. t2 = _this.T;
  38153. t1 = A._setArrayType([], t2._eval$1("JSArray<0>"));
  38154. for (t3 = valueList, t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  38155. value0 = t3[_i];
  38156. t5 = value0;
  38157. if (t5 == null)
  38158. t5 = t2._as(t5);
  38159. J.add$1$ax(t1, t5);
  38160. }
  38161. _this._future._completeWithValue$1(t1);
  38162. }
  38163. } else if (J.$eq$(remainingResults, 0) && !_this.eagerError) {
  38164. t1 = t2.error;
  38165. t1.toString;
  38166. t2 = t2.stackTrace;
  38167. t2.toString;
  38168. _this._future._completeError$2(t1, t2);
  38169. }
  38170. },
  38171. $signature() {
  38172. return this.T._eval$1("Null(0)");
  38173. }
  38174. };
  38175. A._Completer.prototype = {
  38176. completeError$2(error, stackTrace) {
  38177. var _0_0;
  38178. if ((this.future._state & 30) !== 0)
  38179. throw A.wrapException(A.StateError$("Future already completed"));
  38180. _0_0 = A._interceptUserError(error, stackTrace);
  38181. this._completeError$2(_0_0.error, _0_0.stackTrace);
  38182. },
  38183. completeError$1(error) {
  38184. return this.completeError$2(error, null);
  38185. }
  38186. };
  38187. A._AsyncCompleter.prototype = {
  38188. complete$1(value) {
  38189. var t1 = this.future;
  38190. if ((t1._state & 30) !== 0)
  38191. throw A.wrapException(A.StateError$("Future already completed"));
  38192. t1._asyncComplete$1(value);
  38193. },
  38194. complete$0() {
  38195. return this.complete$1(null);
  38196. },
  38197. _completeError$2(error, stackTrace) {
  38198. this.future._asyncCompleteError$2(error, stackTrace);
  38199. }
  38200. };
  38201. A._SyncCompleter.prototype = {
  38202. complete$1(value) {
  38203. var t1 = this.future;
  38204. if ((t1._state & 30) !== 0)
  38205. throw A.wrapException(A.StateError$("Future already completed"));
  38206. t1._complete$1(value);
  38207. },
  38208. _completeError$2(error, stackTrace) {
  38209. this.future._completeError$2(error, stackTrace);
  38210. }
  38211. };
  38212. A._FutureListener.prototype = {
  38213. matchesErrorTest$1(asyncError) {
  38214. if ((this.state & 15) !== 6)
  38215. return true;
  38216. return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
  38217. },
  38218. handleError$1(asyncError) {
  38219. var exception,
  38220. errorCallback = this.errorCallback,
  38221. result = null,
  38222. t1 = type$.dynamic,
  38223. t2 = type$.Object,
  38224. t3 = asyncError.error,
  38225. t4 = this.result._zone;
  38226. if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
  38227. result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
  38228. else
  38229. result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
  38230. try {
  38231. t1 = result;
  38232. return t1;
  38233. } catch (exception) {
  38234. if (type$.TypeError._is(A.unwrapException(exception))) {
  38235. if ((this.state & 1) !== 0)
  38236. throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
  38237. throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
  38238. } else
  38239. throw exception;
  38240. }
  38241. }
  38242. };
  38243. A._Future.prototype = {
  38244. then$1$2$onError(_, f, onError, $R) {
  38245. var result, t1,
  38246. currentZone = $.Zone__current;
  38247. if (currentZone === B.C__RootZone) {
  38248. if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
  38249. throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
  38250. } else {
  38251. f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
  38252. if (onError != null)
  38253. onError = A._registerErrorHandler(onError, currentZone);
  38254. }
  38255. result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
  38256. t1 = onError == null ? 1 : 3;
  38257. this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
  38258. return result;
  38259. },
  38260. then$1$1(_, f, $R) {
  38261. return this.then$1$2$onError(0, f, null, $R);
  38262. },
  38263. _thenAwait$1$2(f, onError, $E) {
  38264. var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
  38265. this._addListener$1(new A._FutureListener(result, 19, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
  38266. return result;
  38267. },
  38268. catchError$1(onError) {
  38269. var t1 = this.$ti,
  38270. t2 = $.Zone__current,
  38271. result = new A._Future(t2, t1);
  38272. if (t2 !== B.C__RootZone)
  38273. onError = A._registerErrorHandler(onError, t2);
  38274. this._addListener$1(new A._FutureListener(result, 2, null, onError, t1._eval$1("_FutureListener<1,1>")));
  38275. return result;
  38276. },
  38277. whenComplete$1(action) {
  38278. var t1 = this.$ti,
  38279. t2 = $.Zone__current,
  38280. result = new A._Future(t2, t1);
  38281. if (t2 !== B.C__RootZone)
  38282. action = t2.registerCallback$1$1(action, type$.dynamic);
  38283. this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("_FutureListener<1,1>")));
  38284. return result;
  38285. },
  38286. _setErrorObject$1(error) {
  38287. this._state = this._state & 1 | 16;
  38288. this._resultOrListeners = error;
  38289. },
  38290. _cloneResult$1(source) {
  38291. this._state = source._state & 30 | this._state & 1;
  38292. this._resultOrListeners = source._resultOrListeners;
  38293. },
  38294. _addListener$1(listener) {
  38295. var _this = this,
  38296. t1 = _this._state;
  38297. if (t1 <= 3) {
  38298. listener._nextListener = _this._resultOrListeners;
  38299. _this._resultOrListeners = listener;
  38300. } else {
  38301. if ((t1 & 4) !== 0) {
  38302. t1 = _this._resultOrListeners;
  38303. if ((t1._state & 24) === 0) {
  38304. t1._addListener$1(listener);
  38305. return;
  38306. }
  38307. _this._cloneResult$1(t1);
  38308. }
  38309. _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
  38310. }
  38311. },
  38312. _prependListeners$1(listeners) {
  38313. var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
  38314. _box_0.listeners = listeners;
  38315. if (listeners == null)
  38316. return;
  38317. t1 = _this._state;
  38318. if (t1 <= 3) {
  38319. existingListeners = _this._resultOrListeners;
  38320. _this._resultOrListeners = listeners;
  38321. if (existingListeners != null) {
  38322. next = listeners._nextListener;
  38323. for (cursor = listeners; next != null; cursor = next, next = next0)
  38324. next0 = next._nextListener;
  38325. cursor._nextListener = existingListeners;
  38326. }
  38327. } else {
  38328. if ((t1 & 4) !== 0) {
  38329. t1 = _this._resultOrListeners;
  38330. if ((t1._state & 24) === 0) {
  38331. t1._prependListeners$1(listeners);
  38332. return;
  38333. }
  38334. _this._cloneResult$1(t1);
  38335. }
  38336. _box_0.listeners = _this._reverseListeners$1(listeners);
  38337. _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
  38338. }
  38339. },
  38340. _removeListeners$0() {
  38341. var current = this._resultOrListeners;
  38342. this._resultOrListeners = null;
  38343. return this._reverseListeners$1(current);
  38344. },
  38345. _reverseListeners$1(listeners) {
  38346. var current, prev, next;
  38347. for (current = listeners, prev = null; current != null; prev = current, current = next) {
  38348. next = current._nextListener;
  38349. current._nextListener = prev;
  38350. }
  38351. return prev;
  38352. },
  38353. _chainForeignFuture$1(source) {
  38354. var e, s, exception, _this = this;
  38355. _this._state ^= 2;
  38356. try {
  38357. source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null);
  38358. } catch (exception) {
  38359. e = A.unwrapException(exception);
  38360. s = A.getTraceFromException(exception);
  38361. A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s));
  38362. }
  38363. },
  38364. _complete$1(value) {
  38365. var listeners, _this = this,
  38366. t1 = _this.$ti;
  38367. if (t1._eval$1("Future<1>")._is(value))
  38368. if (t1._is(value))
  38369. A._Future__chainCoreFuture(value, _this, true);
  38370. else
  38371. _this._chainForeignFuture$1(value);
  38372. else {
  38373. listeners = _this._removeListeners$0();
  38374. _this._state = 8;
  38375. _this._resultOrListeners = value;
  38376. A._Future__propagateToListeners(_this, listeners);
  38377. }
  38378. },
  38379. _completeWithValue$1(value) {
  38380. var _this = this,
  38381. listeners = _this._removeListeners$0();
  38382. _this._state = 8;
  38383. _this._resultOrListeners = value;
  38384. A._Future__propagateToListeners(_this, listeners);
  38385. },
  38386. _completeWithResultOf$1(source) {
  38387. var t1, t2, listeners, _this = this;
  38388. if ((source._state & 16) !== 0) {
  38389. t1 = _this._zone;
  38390. t2 = source._zone;
  38391. t1 = !(t1 === t2 || t1.get$errorZone() === t2.get$errorZone());
  38392. } else
  38393. t1 = false;
  38394. if (t1)
  38395. return;
  38396. listeners = _this._removeListeners$0();
  38397. _this._cloneResult$1(source);
  38398. A._Future__propagateToListeners(_this, listeners);
  38399. },
  38400. _completeError$2(error, stackTrace) {
  38401. var listeners = this._removeListeners$0();
  38402. this._setErrorObject$1(new A.AsyncError(error, stackTrace));
  38403. A._Future__propagateToListeners(this, listeners);
  38404. },
  38405. _asyncComplete$1(value) {
  38406. if (this.$ti._eval$1("Future<1>")._is(value)) {
  38407. this._chainFuture$1(value);
  38408. return;
  38409. }
  38410. this._asyncCompleteWithValue$1(value);
  38411. },
  38412. _asyncCompleteWithValue$1(value) {
  38413. this._state ^= 2;
  38414. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
  38415. },
  38416. _chainFuture$1(value) {
  38417. if (this.$ti._is(value)) {
  38418. A._Future__chainCoreFuture(value, this, false);
  38419. return;
  38420. }
  38421. this._chainForeignFuture$1(value);
  38422. },
  38423. _asyncCompleteError$2(error, stackTrace) {
  38424. this._state ^= 2;
  38425. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace));
  38426. },
  38427. $isFuture: 1
  38428. };
  38429. A._Future__addListener_closure.prototype = {
  38430. call$0() {
  38431. A._Future__propagateToListeners(this.$this, this.listener);
  38432. },
  38433. $signature: 0
  38434. };
  38435. A._Future__prependListeners_closure.prototype = {
  38436. call$0() {
  38437. A._Future__propagateToListeners(this.$this, this._box_0.listeners);
  38438. },
  38439. $signature: 0
  38440. };
  38441. A._Future__chainForeignFuture_closure.prototype = {
  38442. call$1(value) {
  38443. var error, stackTrace, exception,
  38444. t1 = this.$this;
  38445. t1._state ^= 2;
  38446. try {
  38447. t1._completeWithValue$1(t1.$ti._precomputed1._as(value));
  38448. } catch (exception) {
  38449. error = A.unwrapException(exception);
  38450. stackTrace = A.getTraceFromException(exception);
  38451. t1._completeError$2(error, stackTrace);
  38452. }
  38453. },
  38454. $signature: 55
  38455. };
  38456. A._Future__chainForeignFuture_closure0.prototype = {
  38457. call$2(error, stackTrace) {
  38458. this.$this._completeError$2(error, stackTrace);
  38459. },
  38460. $signature: 46
  38461. };
  38462. A._Future__chainForeignFuture_closure1.prototype = {
  38463. call$0() {
  38464. this.$this._completeError$2(this.e, this.s);
  38465. },
  38466. $signature: 0
  38467. };
  38468. A._Future__chainCoreFuture_closure.prototype = {
  38469. call$0() {
  38470. A._Future__chainCoreFuture(this._box_0.source, this.target, true);
  38471. },
  38472. $signature: 0
  38473. };
  38474. A._Future__asyncCompleteWithValue_closure.prototype = {
  38475. call$0() {
  38476. this.$this._completeWithValue$1(this.value);
  38477. },
  38478. $signature: 0
  38479. };
  38480. A._Future__asyncCompleteError_closure.prototype = {
  38481. call$0() {
  38482. this.$this._completeError$2(this.error, this.stackTrace);
  38483. },
  38484. $signature: 0
  38485. };
  38486. A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
  38487. call$0() {
  38488. var e, s, t1, exception, t2, t3, originalSource, joinedResult, _this = this, completeResult = null;
  38489. try {
  38490. t1 = _this._box_0.listener;
  38491. completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
  38492. } catch (exception) {
  38493. e = A.unwrapException(exception);
  38494. s = A.getTraceFromException(exception);
  38495. if (_this.hasError && _this._box_1.source._resultOrListeners.error === e) {
  38496. t1 = _this._box_0;
  38497. t1.listenerValueOrError = _this._box_1.source._resultOrListeners;
  38498. } else {
  38499. t1 = e;
  38500. t2 = s;
  38501. if (t2 == null)
  38502. t2 = A.AsyncError_defaultStackTrace(t1);
  38503. t3 = _this._box_0;
  38504. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38505. t1 = t3;
  38506. }
  38507. t1.listenerHasError = true;
  38508. return;
  38509. }
  38510. if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
  38511. if ((completeResult._state & 16) !== 0) {
  38512. t1 = _this._box_0;
  38513. t1.listenerValueOrError = completeResult._resultOrListeners;
  38514. t1.listenerHasError = true;
  38515. }
  38516. return;
  38517. }
  38518. if (completeResult instanceof A._Future) {
  38519. originalSource = _this._box_1.source;
  38520. joinedResult = new A._Future(originalSource._zone, originalSource.$ti);
  38521. J.then$1$2$onError$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(joinedResult, originalSource), new A._Future__propagateToListeners_handleWhenCompleteCallback_closure0(joinedResult), type$.void);
  38522. t1 = _this._box_0;
  38523. t1.listenerValueOrError = joinedResult;
  38524. t1.listenerHasError = false;
  38525. }
  38526. },
  38527. $signature: 0
  38528. };
  38529. A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
  38530. call$1(__wc0_formal) {
  38531. this.joinedResult._completeWithResultOf$1(this.originalSource);
  38532. },
  38533. $signature: 55
  38534. };
  38535. A._Future__propagateToListeners_handleWhenCompleteCallback_closure0.prototype = {
  38536. call$2(e, s) {
  38537. this.joinedResult._completeError$2(e, s);
  38538. },
  38539. $signature: 46
  38540. };
  38541. A._Future__propagateToListeners_handleValueCallback.prototype = {
  38542. call$0() {
  38543. var e, s, t1, t2, t3, exception;
  38544. try {
  38545. t1 = this._box_0;
  38546. t2 = t1.listener;
  38547. t3 = t2.$ti;
  38548. t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
  38549. } catch (exception) {
  38550. e = A.unwrapException(exception);
  38551. s = A.getTraceFromException(exception);
  38552. t1 = e;
  38553. t2 = s;
  38554. if (t2 == null)
  38555. t2 = A.AsyncError_defaultStackTrace(t1);
  38556. t3 = this._box_0;
  38557. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38558. t3.listenerHasError = true;
  38559. }
  38560. },
  38561. $signature: 0
  38562. };
  38563. A._Future__propagateToListeners_handleError.prototype = {
  38564. call$0() {
  38565. var asyncError, e, s, t1, exception, t2, t3, _this = this;
  38566. try {
  38567. asyncError = _this._box_1.source._resultOrListeners;
  38568. t1 = _this._box_0;
  38569. if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
  38570. t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
  38571. t1.listenerHasError = false;
  38572. }
  38573. } catch (exception) {
  38574. e = A.unwrapException(exception);
  38575. s = A.getTraceFromException(exception);
  38576. t1 = _this._box_1.source._resultOrListeners;
  38577. if (t1.error === e) {
  38578. t2 = _this._box_0;
  38579. t2.listenerValueOrError = t1;
  38580. t1 = t2;
  38581. } else {
  38582. t1 = e;
  38583. t2 = s;
  38584. if (t2 == null)
  38585. t2 = A.AsyncError_defaultStackTrace(t1);
  38586. t3 = _this._box_0;
  38587. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38588. t1 = t3;
  38589. }
  38590. t1.listenerHasError = true;
  38591. }
  38592. },
  38593. $signature: 0
  38594. };
  38595. A._AsyncCallbackEntry.prototype = {};
  38596. A.Stream.prototype = {
  38597. get$isBroadcast() {
  38598. return false;
  38599. },
  38600. get$length(_) {
  38601. var t1 = {},
  38602. future = new A._Future($.Zone__current, type$._Future_int);
  38603. t1.count = 0;
  38604. 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());
  38605. return future;
  38606. }
  38607. };
  38608. A.Stream_Stream$fromFuture_closure.prototype = {
  38609. call$1(value) {
  38610. var t1 = this.controller;
  38611. t1._async$_add$1(value);
  38612. t1._closeUnchecked$0();
  38613. },
  38614. $signature() {
  38615. return this.T._eval$1("Null(0)");
  38616. }
  38617. };
  38618. A.Stream_Stream$fromFuture_closure0.prototype = {
  38619. call$2(error, stackTrace) {
  38620. var t1 = this.controller;
  38621. t1._addError$2(error, stackTrace);
  38622. t1._closeUnchecked$0();
  38623. },
  38624. $signature: 386
  38625. };
  38626. A.Stream_length_closure.prototype = {
  38627. call$1(__wc0_formal) {
  38628. ++this._box_0.count;
  38629. },
  38630. $signature() {
  38631. return A._instanceType(this.$this)._eval$1("~(Stream.T)");
  38632. }
  38633. };
  38634. A.Stream_length_closure0.prototype = {
  38635. call$0() {
  38636. this.future._complete$1(this._box_0.count);
  38637. },
  38638. $signature: 0
  38639. };
  38640. A._StreamController.prototype = {
  38641. get$stream() {
  38642. return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
  38643. },
  38644. get$_pendingEvents() {
  38645. if ((this._state & 8) === 0)
  38646. return this._varData;
  38647. return this._varData._varData;
  38648. },
  38649. _ensurePendingEvents$0() {
  38650. var events, state, _this = this;
  38651. if ((_this._state & 8) === 0) {
  38652. events = _this._varData;
  38653. return events == null ? _this._varData = new A._PendingEvents() : events;
  38654. }
  38655. state = _this._varData;
  38656. events = state._varData;
  38657. return events == null ? state._varData = new A._PendingEvents() : events;
  38658. },
  38659. get$_subscription() {
  38660. var varData = this._varData;
  38661. return (this._state & 8) !== 0 ? varData._varData : varData;
  38662. },
  38663. _badEventState$0() {
  38664. if ((this._state & 4) !== 0)
  38665. return new A.StateError("Cannot add event after closing");
  38666. return new A.StateError("Cannot add event while adding a stream");
  38667. },
  38668. addStream$2$cancelOnError(source, cancelOnError) {
  38669. var t2, t3, t4, _this = this,
  38670. t1 = _this._state;
  38671. if (t1 >= 4)
  38672. throw A.wrapException(_this._badEventState$0());
  38673. if ((t1 & 2) !== 0) {
  38674. t1 = new A._Future($.Zone__current, type$._Future_dynamic);
  38675. t1._asyncComplete$1(null);
  38676. return t1;
  38677. }
  38678. t1 = _this._varData;
  38679. t2 = cancelOnError === true;
  38680. t3 = new A._Future($.Zone__current, type$._Future_dynamic);
  38681. t4 = t2 ? A._AddStreamState_makeErrorHandler(_this) : _this.get$_addError();
  38682. t4 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), t2, _this.get$_close(), t4);
  38683. t2 = _this._state;
  38684. if ((t2 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t2 & 2) === 0)
  38685. t4.pause$0(0);
  38686. _this._varData = new A._StreamControllerAddStreamState(t1, t3, t4);
  38687. _this._state |= 8;
  38688. return t3;
  38689. },
  38690. _ensureDoneFuture$0() {
  38691. var t1 = this._doneFuture;
  38692. if (t1 == null)
  38693. t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
  38694. return t1;
  38695. },
  38696. add$1(_, value) {
  38697. if (this._state >= 4)
  38698. throw A.wrapException(this._badEventState$0());
  38699. this._async$_add$1(value);
  38700. },
  38701. addError$2(error, stackTrace) {
  38702. var _0_0;
  38703. if (this._state >= 4)
  38704. throw A.wrapException(this._badEventState$0());
  38705. _0_0 = A._interceptUserError(error, stackTrace);
  38706. this._addError$2(_0_0.error, _0_0.stackTrace);
  38707. },
  38708. addError$1(error) {
  38709. return this.addError$2(error, null);
  38710. },
  38711. close$0(_) {
  38712. var _this = this,
  38713. t1 = _this._state;
  38714. if ((t1 & 4) !== 0)
  38715. return _this._ensureDoneFuture$0();
  38716. if (t1 >= 4)
  38717. throw A.wrapException(_this._badEventState$0());
  38718. _this._closeUnchecked$0();
  38719. return _this._ensureDoneFuture$0();
  38720. },
  38721. _closeUnchecked$0() {
  38722. var t1 = this._state |= 4;
  38723. if ((t1 & 1) !== 0)
  38724. this._sendDone$0();
  38725. else if ((t1 & 3) === 0)
  38726. this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
  38727. },
  38728. _async$_add$1(value) {
  38729. var t1 = this._state;
  38730. if ((t1 & 1) !== 0)
  38731. this._sendData$1(value);
  38732. else if ((t1 & 3) === 0)
  38733. this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
  38734. },
  38735. _addError$2(error, stackTrace) {
  38736. var t1 = this._state;
  38737. if ((t1 & 1) !== 0)
  38738. this._sendError$2(error, stackTrace);
  38739. else if ((t1 & 3) === 0)
  38740. this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
  38741. },
  38742. _close$0() {
  38743. var addState = this._varData;
  38744. this._varData = addState._varData;
  38745. this._state &= 4294967287;
  38746. addState.addStreamFuture._asyncComplete$1(null);
  38747. },
  38748. _subscribe$4(onData, onError, onDone, cancelOnError) {
  38749. var subscription, pendingEvents, t1, addState, _this = this;
  38750. if ((_this._state & 3) !== 0)
  38751. throw A.wrapException(A.StateError$("Stream has already been listened to."));
  38752. subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
  38753. pendingEvents = _this.get$_pendingEvents();
  38754. t1 = _this._state |= 1;
  38755. if ((t1 & 8) !== 0) {
  38756. addState = _this._varData;
  38757. addState._varData = subscription;
  38758. addState.addSubscription.resume$0(0);
  38759. } else
  38760. _this._varData = subscription;
  38761. subscription._setPendingEvents$1(pendingEvents);
  38762. subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
  38763. return subscription;
  38764. },
  38765. _recordCancel$1(subscription) {
  38766. var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
  38767. if ((_this._state & 8) !== 0)
  38768. result = _this._varData.cancel$0();
  38769. _this._varData = null;
  38770. _this._state = _this._state & 4294967286 | 2;
  38771. onCancel = _this.onCancel;
  38772. if (onCancel != null)
  38773. if (result == null)
  38774. try {
  38775. cancelResult = onCancel.call$0();
  38776. if (cancelResult instanceof A._Future)
  38777. result = cancelResult;
  38778. } catch (exception) {
  38779. e = A.unwrapException(exception);
  38780. s = A.getTraceFromException(exception);
  38781. result0 = new A._Future($.Zone__current, type$._Future_void);
  38782. result0._asyncCompleteError$2(e, s);
  38783. result = result0;
  38784. }
  38785. else
  38786. result = result.whenComplete$1(onCancel);
  38787. t1 = new A._StreamController__recordCancel_complete(_this);
  38788. if (result != null)
  38789. result = result.whenComplete$1(t1);
  38790. else
  38791. t1.call$0();
  38792. return result;
  38793. },
  38794. _recordPause$1(subscription) {
  38795. if ((this._state & 8) !== 0)
  38796. this._varData.addSubscription.pause$0(0);
  38797. A._runGuarded(this.onPause);
  38798. },
  38799. _recordResume$1(subscription) {
  38800. if ((this._state & 8) !== 0)
  38801. this._varData.addSubscription.resume$0(0);
  38802. A._runGuarded(this.onResume);
  38803. },
  38804. $isEventSink: 1,
  38805. set$onPause(val) {
  38806. return this.onPause = val;
  38807. },
  38808. set$onResume(val) {
  38809. return this.onResume = val;
  38810. },
  38811. set$onCancel(val) {
  38812. return this.onCancel = val;
  38813. }
  38814. };
  38815. A._StreamController__subscribe_closure.prototype = {
  38816. call$0() {
  38817. A._runGuarded(this.$this.onListen);
  38818. },
  38819. $signature: 0
  38820. };
  38821. A._StreamController__recordCancel_complete.prototype = {
  38822. call$0() {
  38823. var doneFuture = this.$this._doneFuture;
  38824. if (doneFuture != null && (doneFuture._state & 30) === 0)
  38825. doneFuture._asyncComplete$1(null);
  38826. },
  38827. $signature: 0
  38828. };
  38829. A._SyncStreamControllerDispatch.prototype = {
  38830. _sendData$1(data) {
  38831. this.get$_subscription()._async$_add$1(data);
  38832. },
  38833. _sendError$2(error, stackTrace) {
  38834. this.get$_subscription()._addError$2(error, stackTrace);
  38835. },
  38836. _sendDone$0() {
  38837. this.get$_subscription()._close$0();
  38838. }
  38839. };
  38840. A._AsyncStreamControllerDispatch.prototype = {
  38841. _sendData$1(data) {
  38842. this.get$_subscription()._addPending$1(new A._DelayedData(data));
  38843. },
  38844. _sendError$2(error, stackTrace) {
  38845. this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
  38846. },
  38847. _sendDone$0() {
  38848. this.get$_subscription()._addPending$1(B.C__DelayedDone);
  38849. }
  38850. };
  38851. A._AsyncStreamController.prototype = {};
  38852. A._SyncStreamController.prototype = {};
  38853. A._ControllerStream.prototype = {
  38854. get$hashCode(_) {
  38855. return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
  38856. },
  38857. $eq(_, other) {
  38858. if (other == null)
  38859. return false;
  38860. if (this === other)
  38861. return true;
  38862. return other instanceof A._ControllerStream && other._controller === this._controller;
  38863. }
  38864. };
  38865. A._ControllerSubscription.prototype = {
  38866. _async$_onCancel$0() {
  38867. return this._controller._recordCancel$1(this);
  38868. },
  38869. _async$_onPause$0() {
  38870. this._controller._recordPause$1(this);
  38871. },
  38872. _async$_onResume$0() {
  38873. this._controller._recordResume$1(this);
  38874. }
  38875. };
  38876. A._AddStreamState.prototype = {
  38877. cancel$0() {
  38878. var cancel = this.addSubscription.cancel$0();
  38879. return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
  38880. }
  38881. };
  38882. A._AddStreamState_makeErrorHandler_closure.prototype = {
  38883. call$2(e, s) {
  38884. var t1 = this.controller;
  38885. t1._addError$2(e, s);
  38886. t1._close$0();
  38887. },
  38888. $signature: 46
  38889. };
  38890. A._AddStreamState_cancel_closure.prototype = {
  38891. call$0() {
  38892. this.$this.addStreamFuture._asyncComplete$1(null);
  38893. },
  38894. $signature: 1
  38895. };
  38896. A._StreamControllerAddStreamState.prototype = {};
  38897. A._BufferingStreamSubscription.prototype = {
  38898. _setPendingEvents$1(pendingEvents) {
  38899. var _this = this;
  38900. if (pendingEvents == null)
  38901. return;
  38902. _this._pending = pendingEvents;
  38903. if (pendingEvents.lastPendingEvent != null) {
  38904. _this._state = (_this._state | 128) >>> 0;
  38905. pendingEvents.schedule$1(_this);
  38906. }
  38907. },
  38908. pause$1(_, resumeSignal) {
  38909. var t2, t3, _this = this,
  38910. t1 = _this._state;
  38911. if ((t1 & 8) !== 0)
  38912. return;
  38913. t2 = (t1 + 256 | 4) >>> 0;
  38914. _this._state = t2;
  38915. if (t1 < 256) {
  38916. t3 = _this._pending;
  38917. if (t3 != null)
  38918. if (t3._state === 1)
  38919. t3._state = 3;
  38920. }
  38921. if ((t1 & 4) === 0 && (t2 & 64) === 0)
  38922. _this._guardCallback$1(_this.get$_async$_onPause());
  38923. },
  38924. pause$0(_) {
  38925. return this.pause$1(0, null);
  38926. },
  38927. resume$0(_) {
  38928. var _this = this,
  38929. t1 = _this._state;
  38930. if ((t1 & 8) !== 0)
  38931. return;
  38932. if (t1 >= 256) {
  38933. t1 = _this._state = t1 - 256;
  38934. if (t1 < 256)
  38935. if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent != null)
  38936. _this._pending.schedule$1(_this);
  38937. else {
  38938. t1 = (t1 & 4294967291) >>> 0;
  38939. _this._state = t1;
  38940. if ((t1 & 64) === 0)
  38941. _this._guardCallback$1(_this.get$_async$_onResume());
  38942. }
  38943. }
  38944. },
  38945. cancel$0() {
  38946. var _this = this,
  38947. t1 = (_this._state & 4294967279) >>> 0;
  38948. _this._state = t1;
  38949. if ((t1 & 8) === 0)
  38950. _this._cancel$0();
  38951. t1 = _this._cancelFuture;
  38952. return t1 == null ? $.$get$Future__nullFuture() : t1;
  38953. },
  38954. _cancel$0() {
  38955. var t2, _this = this,
  38956. t1 = _this._state = (_this._state | 8) >>> 0;
  38957. if ((t1 & 128) !== 0) {
  38958. t2 = _this._pending;
  38959. if (t2._state === 1)
  38960. t2._state = 3;
  38961. }
  38962. if ((t1 & 64) === 0)
  38963. _this._pending = null;
  38964. _this._cancelFuture = _this._async$_onCancel$0();
  38965. },
  38966. _async$_add$1(data) {
  38967. var t1 = this._state;
  38968. if ((t1 & 8) !== 0)
  38969. return;
  38970. if (t1 < 64)
  38971. this._sendData$1(data);
  38972. else
  38973. this._addPending$1(new A._DelayedData(data));
  38974. },
  38975. _addError$2(error, stackTrace) {
  38976. var t1;
  38977. if (type$.Error._is(error))
  38978. A.Primitives_trySetStackTrace(error, stackTrace);
  38979. t1 = this._state;
  38980. if ((t1 & 8) !== 0)
  38981. return;
  38982. if (t1 < 64)
  38983. this._sendError$2(error, stackTrace);
  38984. else
  38985. this._addPending$1(new A._DelayedError(error, stackTrace));
  38986. },
  38987. _close$0() {
  38988. var _this = this,
  38989. t1 = _this._state;
  38990. if ((t1 & 8) !== 0)
  38991. return;
  38992. t1 = (t1 | 2) >>> 0;
  38993. _this._state = t1;
  38994. if (t1 < 64)
  38995. _this._sendDone$0();
  38996. else
  38997. _this._addPending$1(B.C__DelayedDone);
  38998. },
  38999. _async$_onPause$0() {
  39000. },
  39001. _async$_onResume$0() {
  39002. },
  39003. _async$_onCancel$0() {
  39004. return null;
  39005. },
  39006. _addPending$1($event) {
  39007. var t1, _this = this,
  39008. pending = _this._pending;
  39009. if (pending == null)
  39010. pending = _this._pending = new A._PendingEvents();
  39011. pending.add$1(0, $event);
  39012. t1 = _this._state;
  39013. if ((t1 & 128) === 0) {
  39014. t1 = (t1 | 128) >>> 0;
  39015. _this._state = t1;
  39016. if (t1 < 256)
  39017. pending.schedule$1(_this);
  39018. }
  39019. },
  39020. _sendData$1(data) {
  39021. var _this = this,
  39022. t1 = _this._state;
  39023. _this._state = (t1 | 64) >>> 0;
  39024. _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
  39025. _this._state = (_this._state & 4294967231) >>> 0;
  39026. _this._checkState$1((t1 & 4) !== 0);
  39027. },
  39028. _sendError$2(error, stackTrace) {
  39029. var cancelFuture, _this = this,
  39030. t1 = _this._state,
  39031. t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
  39032. if ((t1 & 1) !== 0) {
  39033. _this._state = (t1 | 16) >>> 0;
  39034. _this._cancel$0();
  39035. cancelFuture = _this._cancelFuture;
  39036. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  39037. cancelFuture.whenComplete$1(t2);
  39038. else
  39039. t2.call$0();
  39040. } else {
  39041. t2.call$0();
  39042. _this._checkState$1((t1 & 4) !== 0);
  39043. }
  39044. },
  39045. _sendDone$0() {
  39046. var cancelFuture, _this = this,
  39047. t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
  39048. _this._cancel$0();
  39049. _this._state = (_this._state | 16) >>> 0;
  39050. cancelFuture = _this._cancelFuture;
  39051. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  39052. cancelFuture.whenComplete$1(t1);
  39053. else
  39054. t1.call$0();
  39055. },
  39056. _guardCallback$1(callback) {
  39057. var _this = this,
  39058. t1 = _this._state;
  39059. _this._state = (t1 | 64) >>> 0;
  39060. callback.call$0();
  39061. _this._state = (_this._state & 4294967231) >>> 0;
  39062. _this._checkState$1((t1 & 4) !== 0);
  39063. },
  39064. _checkState$1(wasInputPaused) {
  39065. var t2, isInputPaused, _this = this,
  39066. t1 = _this._state;
  39067. if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent == null) {
  39068. t1 = _this._state = (t1 & 4294967167) >>> 0;
  39069. t2 = false;
  39070. if ((t1 & 4) !== 0)
  39071. if (t1 < 256) {
  39072. t2 = _this._pending;
  39073. t2 = t2 == null ? null : t2.lastPendingEvent == null;
  39074. t2 = t2 !== false;
  39075. }
  39076. if (t2) {
  39077. t1 = (t1 & 4294967291) >>> 0;
  39078. _this._state = t1;
  39079. }
  39080. }
  39081. for (; true; wasInputPaused = isInputPaused) {
  39082. if ((t1 & 8) !== 0) {
  39083. _this._pending = null;
  39084. return;
  39085. }
  39086. isInputPaused = (t1 & 4) !== 0;
  39087. if (wasInputPaused === isInputPaused)
  39088. break;
  39089. _this._state = (t1 ^ 64) >>> 0;
  39090. if (isInputPaused)
  39091. _this._async$_onPause$0();
  39092. else
  39093. _this._async$_onResume$0();
  39094. t1 = (_this._state & 4294967231) >>> 0;
  39095. _this._state = t1;
  39096. }
  39097. if ((t1 & 128) !== 0 && t1 < 256)
  39098. _this._pending.schedule$1(_this);
  39099. },
  39100. $isStreamSubscription: 1
  39101. };
  39102. A._BufferingStreamSubscription__sendError_sendError.prototype = {
  39103. call$0() {
  39104. var onError, t3, t4,
  39105. t1 = this.$this,
  39106. t2 = t1._state;
  39107. if ((t2 & 8) !== 0 && (t2 & 16) === 0)
  39108. return;
  39109. t1._state = (t2 | 64) >>> 0;
  39110. onError = t1._onError;
  39111. t2 = this.error;
  39112. t3 = type$.Object;
  39113. t4 = t1._zone;
  39114. if (type$.void_Function_Object_StackTrace._is(onError))
  39115. t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
  39116. else
  39117. t4.runUnaryGuarded$1$2(onError, t2, t3);
  39118. t1._state = (t1._state & 4294967231) >>> 0;
  39119. },
  39120. $signature: 0
  39121. };
  39122. A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
  39123. call$0() {
  39124. var t1 = this.$this,
  39125. t2 = t1._state;
  39126. if ((t2 & 16) === 0)
  39127. return;
  39128. t1._state = (t2 | 74) >>> 0;
  39129. t1._zone.runGuarded$1(t1._onDone);
  39130. t1._state = (t1._state & 4294967231) >>> 0;
  39131. },
  39132. $signature: 0
  39133. };
  39134. A._StreamImpl.prototype = {
  39135. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  39136. return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
  39137. },
  39138. listen$1(_, onData) {
  39139. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  39140. },
  39141. listen$3$onDone$onError(_, onData, onDone, onError) {
  39142. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  39143. }
  39144. };
  39145. A._DelayedEvent.prototype = {
  39146. get$next() {
  39147. return this.next;
  39148. },
  39149. set$next(val) {
  39150. return this.next = val;
  39151. }
  39152. };
  39153. A._DelayedData.prototype = {
  39154. perform$1(dispatch) {
  39155. dispatch._sendData$1(this.value);
  39156. }
  39157. };
  39158. A._DelayedError.prototype = {
  39159. perform$1(dispatch) {
  39160. dispatch._sendError$2(this.error, this.stackTrace);
  39161. }
  39162. };
  39163. A._DelayedDone.prototype = {
  39164. perform$1(dispatch) {
  39165. dispatch._sendDone$0();
  39166. },
  39167. get$next() {
  39168. return null;
  39169. },
  39170. set$next(__wc0_formal) {
  39171. throw A.wrapException(A.StateError$("No events after a done."));
  39172. }
  39173. };
  39174. A._PendingEvents.prototype = {
  39175. schedule$1(dispatch) {
  39176. var _this = this,
  39177. t1 = _this._state;
  39178. if (t1 === 1)
  39179. return;
  39180. if (t1 >= 1) {
  39181. _this._state = 1;
  39182. return;
  39183. }
  39184. A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
  39185. _this._state = 1;
  39186. },
  39187. add$1(_, $event) {
  39188. var _this = this,
  39189. lastEvent = _this.lastPendingEvent;
  39190. if (lastEvent == null)
  39191. _this.firstPendingEvent = _this.lastPendingEvent = $event;
  39192. else {
  39193. lastEvent.set$next($event);
  39194. _this.lastPendingEvent = $event;
  39195. }
  39196. }
  39197. };
  39198. A._PendingEvents_schedule_closure.prototype = {
  39199. call$0() {
  39200. var $event, nextEvent,
  39201. t1 = this.$this,
  39202. oldState = t1._state;
  39203. t1._state = 0;
  39204. if (oldState === 3)
  39205. return;
  39206. $event = t1.firstPendingEvent;
  39207. nextEvent = $event.get$next();
  39208. t1.firstPendingEvent = nextEvent;
  39209. if (nextEvent == null)
  39210. t1.lastPendingEvent = null;
  39211. $event.perform$1(this.dispatch);
  39212. },
  39213. $signature: 0
  39214. };
  39215. A._StreamIterator.prototype = {
  39216. get$current(_) {
  39217. if (this._async$_hasValue)
  39218. return this._stateData;
  39219. return null;
  39220. },
  39221. moveNext$0() {
  39222. var future, _this = this,
  39223. subscription = _this._subscription;
  39224. if (subscription != null) {
  39225. if (_this._async$_hasValue) {
  39226. future = new A._Future($.Zone__current, type$._Future_bool);
  39227. _this._stateData = future;
  39228. _this._async$_hasValue = false;
  39229. subscription.resume$0(0);
  39230. return future;
  39231. }
  39232. throw A.wrapException(A.StateError$("Already waiting for next."));
  39233. }
  39234. return _this._initializeOrDone$0();
  39235. },
  39236. _initializeOrDone$0() {
  39237. var future, subscription, _this = this,
  39238. stateData = _this._stateData;
  39239. if (stateData != null) {
  39240. future = new A._Future($.Zone__current, type$._Future_bool);
  39241. _this._stateData = future;
  39242. subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
  39243. if (_this._stateData != null)
  39244. _this._subscription = subscription;
  39245. return future;
  39246. }
  39247. return $.$get$Future__falseFuture();
  39248. },
  39249. cancel$0() {
  39250. var _this = this,
  39251. subscription = _this._subscription,
  39252. stateData = _this._stateData;
  39253. _this._stateData = null;
  39254. if (subscription != null) {
  39255. _this._subscription = null;
  39256. if (!_this._async$_hasValue)
  39257. stateData._asyncComplete$1(false);
  39258. else
  39259. _this._async$_hasValue = false;
  39260. return subscription.cancel$0();
  39261. }
  39262. return $.$get$Future__nullFuture();
  39263. },
  39264. _onData$1(data) {
  39265. var moveNextFuture, t1, _this = this;
  39266. if (_this._subscription == null)
  39267. return;
  39268. moveNextFuture = _this._stateData;
  39269. _this._stateData = data;
  39270. _this._async$_hasValue = true;
  39271. moveNextFuture._complete$1(true);
  39272. if (_this._async$_hasValue) {
  39273. t1 = _this._subscription;
  39274. if (t1 != null)
  39275. t1.pause$0(0);
  39276. }
  39277. },
  39278. _onError$2(error, stackTrace) {
  39279. var _this = this,
  39280. subscription = _this._subscription,
  39281. moveNextFuture = _this._stateData;
  39282. _this._stateData = _this._subscription = null;
  39283. if (subscription != null)
  39284. moveNextFuture._completeError$2(error, stackTrace);
  39285. else
  39286. moveNextFuture._asyncCompleteError$2(error, stackTrace);
  39287. },
  39288. _onDone$0() {
  39289. var _this = this,
  39290. subscription = _this._subscription,
  39291. moveNextFuture = _this._stateData;
  39292. _this._stateData = _this._subscription = null;
  39293. if (subscription != null)
  39294. moveNextFuture._completeWithValue$1(false);
  39295. else
  39296. moveNextFuture._asyncCompleteWithValue$1(false);
  39297. }
  39298. };
  39299. A._ForwardingStream.prototype = {
  39300. get$isBroadcast() {
  39301. return this._async$_source.get$isBroadcast();
  39302. },
  39303. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  39304. var t1 = this.$ti,
  39305. t2 = $.Zone__current,
  39306. t3 = cancelOnError === true ? 1 : 0,
  39307. t4 = onError != null ? 32 : 0,
  39308. t5 = A._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._rest[1]),
  39309. t6 = A._BufferingStreamSubscription__registerErrorHandler(t2, onError),
  39310. t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  39311. t1 = new A._ForwardingStreamSubscription(this, t5, t6, t2.registerCallback$1$1(t7, type$.void), t2, t3 | t4, t1._eval$1("_ForwardingStreamSubscription<1,2>"));
  39312. t1._subscription = this._async$_source.listen$3$onDone$onError(0, t1.get$_handleData(), t1.get$_handleDone(), t1.get$_handleError());
  39313. return t1;
  39314. },
  39315. listen$1(_, onData) {
  39316. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  39317. },
  39318. listen$3$onDone$onError(_, onData, onDone, onError) {
  39319. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  39320. }
  39321. };
  39322. A._ForwardingStreamSubscription.prototype = {
  39323. _async$_add$1(data) {
  39324. if ((this._state & 2) !== 0)
  39325. return;
  39326. this.super$_BufferingStreamSubscription$_add(data);
  39327. },
  39328. _addError$2(error, stackTrace) {
  39329. if ((this._state & 2) !== 0)
  39330. return;
  39331. this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
  39332. },
  39333. _async$_onPause$0() {
  39334. var t1 = this._subscription;
  39335. if (t1 != null)
  39336. t1.pause$0(0);
  39337. },
  39338. _async$_onResume$0() {
  39339. var t1 = this._subscription;
  39340. if (t1 != null)
  39341. t1.resume$0(0);
  39342. },
  39343. _async$_onCancel$0() {
  39344. var subscription = this._subscription;
  39345. if (subscription != null) {
  39346. this._subscription = null;
  39347. return subscription.cancel$0();
  39348. }
  39349. return null;
  39350. },
  39351. _handleData$1(data) {
  39352. this._stream._handleData$2(data, this);
  39353. },
  39354. _handleError$2(error, stackTrace) {
  39355. this._addError$2(error, stackTrace);
  39356. },
  39357. _handleDone$0() {
  39358. this._close$0();
  39359. }
  39360. };
  39361. A._MapStream.prototype = {
  39362. _handleData$2(inputEvent, sink) {
  39363. var e, s, exception, error, stackTrace, replacement, outputEvent = null;
  39364. try {
  39365. outputEvent = this._transform.call$1(inputEvent);
  39366. } catch (exception) {
  39367. e = A.unwrapException(exception);
  39368. s = A.getTraceFromException(exception);
  39369. error = e;
  39370. stackTrace = s;
  39371. replacement = A._interceptError(error, stackTrace);
  39372. if (replacement != null) {
  39373. error = replacement.error;
  39374. stackTrace = replacement.stackTrace;
  39375. }
  39376. sink._addError$2(error, stackTrace);
  39377. return;
  39378. }
  39379. sink._async$_add$1(outputEvent);
  39380. }
  39381. };
  39382. A._ZoneFunction.prototype = {};
  39383. A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
  39384. A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
  39385. A._Zone.prototype = {
  39386. _processUncaughtError$3(zone, error, stackTrace) {
  39387. var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
  39388. implementation = this.get$_handleUncaughtError(),
  39389. implZone = implementation.zone;
  39390. if (implZone === B.C__RootZone) {
  39391. A._rootHandleError(error, stackTrace);
  39392. return;
  39393. }
  39394. handler = implementation.$function;
  39395. parentDelegate = implZone.get$_parentDelegate();
  39396. t1 = J.get$parent$z(implZone);
  39397. t1.toString;
  39398. parentZone = t1;
  39399. currentZone = $.Zone__current;
  39400. try {
  39401. $.Zone__current = parentZone;
  39402. handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
  39403. $.Zone__current = currentZone;
  39404. } catch (exception) {
  39405. e = A.unwrapException(exception);
  39406. s = A.getTraceFromException(exception);
  39407. $.Zone__current = currentZone;
  39408. t1 = error === e ? stackTrace : s;
  39409. parentZone._processUncaughtError$3(implZone, e, t1);
  39410. }
  39411. },
  39412. $isZone: 1
  39413. };
  39414. A._CustomZone.prototype = {
  39415. get$_delegate() {
  39416. var t1 = this._delegateCache;
  39417. return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
  39418. },
  39419. get$_parentDelegate() {
  39420. return this.parent.get$_delegate();
  39421. },
  39422. get$errorZone() {
  39423. return this._handleUncaughtError.zone;
  39424. },
  39425. runGuarded$1(f) {
  39426. var e, s, exception;
  39427. try {
  39428. this.run$1$1(0, f, type$.void);
  39429. } catch (exception) {
  39430. e = A.unwrapException(exception);
  39431. s = A.getTraceFromException(exception);
  39432. this._processUncaughtError$3(this, e, s);
  39433. }
  39434. },
  39435. runUnaryGuarded$1$2(f, arg, $T) {
  39436. var e, s, exception;
  39437. try {
  39438. this.runUnary$2$2(f, arg, type$.void, $T);
  39439. } catch (exception) {
  39440. e = A.unwrapException(exception);
  39441. s = A.getTraceFromException(exception);
  39442. this._processUncaughtError$3(this, e, s);
  39443. }
  39444. },
  39445. runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
  39446. var e, s, exception;
  39447. try {
  39448. this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
  39449. } catch (exception) {
  39450. e = A.unwrapException(exception);
  39451. s = A.getTraceFromException(exception);
  39452. this._processUncaughtError$3(this, e, s);
  39453. }
  39454. },
  39455. bindCallback$1$1(f, $R) {
  39456. return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
  39457. },
  39458. bindUnaryCallback$2$1(f, $R, $T) {
  39459. return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
  39460. },
  39461. bindCallbackGuarded$1(f) {
  39462. return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
  39463. },
  39464. $index(_, key) {
  39465. var value,
  39466. t1 = this._async$_map,
  39467. result = t1.$index(0, key);
  39468. if (result != null || t1.containsKey$1(key))
  39469. return result;
  39470. value = this.parent.$index(0, key);
  39471. if (value != null)
  39472. t1.$indexSet(0, key, value);
  39473. return value;
  39474. },
  39475. handleUncaughtError$2(error, stackTrace) {
  39476. this._processUncaughtError$3(this, error, stackTrace);
  39477. },
  39478. fork$2$specification$zoneValues(specification, zoneValues) {
  39479. var implementation = this._fork,
  39480. t1 = implementation.zone;
  39481. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
  39482. },
  39483. run$1$1(_, f) {
  39484. var implementation = this._run,
  39485. t1 = implementation.zone;
  39486. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  39487. },
  39488. runUnary$2$2(f, arg) {
  39489. var implementation = this._runUnary,
  39490. t1 = implementation.zone;
  39491. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
  39492. },
  39493. runBinary$3$3(f, arg1, arg2) {
  39494. var implementation = this._runBinary,
  39495. t1 = implementation.zone;
  39496. return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
  39497. },
  39498. registerCallback$1$1(callback) {
  39499. var implementation = this._registerCallback,
  39500. t1 = implementation.zone;
  39501. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39502. },
  39503. registerUnaryCallback$2$1(callback) {
  39504. var implementation = this._registerUnaryCallback,
  39505. t1 = implementation.zone;
  39506. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39507. },
  39508. registerBinaryCallback$3$1(callback) {
  39509. var implementation = this._registerBinaryCallback,
  39510. t1 = implementation.zone;
  39511. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39512. },
  39513. errorCallback$2(error, stackTrace) {
  39514. var implementation = this._errorCallback,
  39515. implementationZone = implementation.zone;
  39516. if (implementationZone === B.C__RootZone)
  39517. return null;
  39518. return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
  39519. },
  39520. scheduleMicrotask$1(f) {
  39521. var implementation = this._scheduleMicrotask,
  39522. t1 = implementation.zone;
  39523. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  39524. },
  39525. createTimer$2(duration, f) {
  39526. var implementation = this._createTimer,
  39527. t1 = implementation.zone;
  39528. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
  39529. },
  39530. print$1(line) {
  39531. var implementation = this._print,
  39532. t1 = implementation.zone;
  39533. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
  39534. },
  39535. get$_run() {
  39536. return this._run;
  39537. },
  39538. get$_runUnary() {
  39539. return this._runUnary;
  39540. },
  39541. get$_runBinary() {
  39542. return this._runBinary;
  39543. },
  39544. get$_registerCallback() {
  39545. return this._registerCallback;
  39546. },
  39547. get$_registerUnaryCallback() {
  39548. return this._registerUnaryCallback;
  39549. },
  39550. get$_registerBinaryCallback() {
  39551. return this._registerBinaryCallback;
  39552. },
  39553. get$_errorCallback() {
  39554. return this._errorCallback;
  39555. },
  39556. get$_scheduleMicrotask() {
  39557. return this._scheduleMicrotask;
  39558. },
  39559. get$_createTimer() {
  39560. return this._createTimer;
  39561. },
  39562. get$_createPeriodicTimer() {
  39563. return this._createPeriodicTimer;
  39564. },
  39565. get$_print() {
  39566. return this._print;
  39567. },
  39568. get$_fork() {
  39569. return this._fork;
  39570. },
  39571. get$_handleUncaughtError() {
  39572. return this._handleUncaughtError;
  39573. },
  39574. get$parent(receiver) {
  39575. return this.parent;
  39576. },
  39577. get$_async$_map() {
  39578. return this._async$_map;
  39579. }
  39580. };
  39581. A._CustomZone_bindCallback_closure.prototype = {
  39582. call$0() {
  39583. return this.$this.run$1$1(0, this.registered, this.R);
  39584. },
  39585. $signature() {
  39586. return this.R._eval$1("0()");
  39587. }
  39588. };
  39589. A._CustomZone_bindUnaryCallback_closure.prototype = {
  39590. call$1(arg) {
  39591. var _this = this;
  39592. return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
  39593. },
  39594. $signature() {
  39595. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  39596. }
  39597. };
  39598. A._CustomZone_bindCallbackGuarded_closure.prototype = {
  39599. call$0() {
  39600. return this.$this.runGuarded$1(this.registered);
  39601. },
  39602. $signature: 0
  39603. };
  39604. A._rootHandleError_closure.prototype = {
  39605. call$0() {
  39606. A.Error_throwWithStackTrace(this.error, this.stackTrace);
  39607. },
  39608. $signature: 0
  39609. };
  39610. A._RootZone.prototype = {
  39611. get$_run() {
  39612. return B._ZoneFunction__RootZone__rootRun;
  39613. },
  39614. get$_runUnary() {
  39615. return B._ZoneFunction__RootZone__rootRunUnary;
  39616. },
  39617. get$_runBinary() {
  39618. return B._ZoneFunction__RootZone__rootRunBinary;
  39619. },
  39620. get$_registerCallback() {
  39621. return B._ZoneFunction__RootZone__rootRegisterCallback;
  39622. },
  39623. get$_registerUnaryCallback() {
  39624. return B._ZoneFunction_Xkh;
  39625. },
  39626. get$_registerBinaryCallback() {
  39627. return B._ZoneFunction_e9o;
  39628. },
  39629. get$_errorCallback() {
  39630. return B._ZoneFunction__RootZone__rootErrorCallback;
  39631. },
  39632. get$_scheduleMicrotask() {
  39633. return B._ZoneFunction__RootZone__rootScheduleMicrotask;
  39634. },
  39635. get$_createTimer() {
  39636. return B._ZoneFunction__RootZone__rootCreateTimer;
  39637. },
  39638. get$_createPeriodicTimer() {
  39639. return B._ZoneFunction_PAY;
  39640. },
  39641. get$_print() {
  39642. return B._ZoneFunction__RootZone__rootPrint;
  39643. },
  39644. get$_fork() {
  39645. return B._ZoneFunction__RootZone__rootFork;
  39646. },
  39647. get$_handleUncaughtError() {
  39648. return B._ZoneFunction_KjJ;
  39649. },
  39650. get$parent(_) {
  39651. return null;
  39652. },
  39653. get$_async$_map() {
  39654. return $.$get$_RootZone__rootMap();
  39655. },
  39656. get$_delegate() {
  39657. var t1 = $._RootZone__rootDelegate;
  39658. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  39659. },
  39660. get$_parentDelegate() {
  39661. var t1 = $._RootZone__rootDelegate;
  39662. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  39663. },
  39664. get$errorZone() {
  39665. return this;
  39666. },
  39667. runGuarded$1(f) {
  39668. var e, s, exception;
  39669. try {
  39670. if (B.C__RootZone === $.Zone__current) {
  39671. f.call$0();
  39672. return;
  39673. }
  39674. A._rootRun(null, null, this, f);
  39675. } catch (exception) {
  39676. e = A.unwrapException(exception);
  39677. s = A.getTraceFromException(exception);
  39678. A._rootHandleError(e, s);
  39679. }
  39680. },
  39681. runUnaryGuarded$1$2(f, arg) {
  39682. var e, s, exception;
  39683. try {
  39684. if (B.C__RootZone === $.Zone__current) {
  39685. f.call$1(arg);
  39686. return;
  39687. }
  39688. A._rootRunUnary(null, null, this, f, arg);
  39689. } catch (exception) {
  39690. e = A.unwrapException(exception);
  39691. s = A.getTraceFromException(exception);
  39692. A._rootHandleError(e, s);
  39693. }
  39694. },
  39695. runBinaryGuarded$2$3(f, arg1, arg2) {
  39696. var e, s, exception;
  39697. try {
  39698. if (B.C__RootZone === $.Zone__current) {
  39699. f.call$2(arg1, arg2);
  39700. return;
  39701. }
  39702. A._rootRunBinary(null, null, this, f, arg1, arg2);
  39703. } catch (exception) {
  39704. e = A.unwrapException(exception);
  39705. s = A.getTraceFromException(exception);
  39706. A._rootHandleError(e, s);
  39707. }
  39708. },
  39709. bindCallback$1$1(f, $R) {
  39710. return new A._RootZone_bindCallback_closure(this, f, $R);
  39711. },
  39712. bindUnaryCallback$2$1(f, $R, $T) {
  39713. return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
  39714. },
  39715. bindCallbackGuarded$1(f) {
  39716. return new A._RootZone_bindCallbackGuarded_closure(this, f);
  39717. },
  39718. $index(_, key) {
  39719. return null;
  39720. },
  39721. handleUncaughtError$2(error, stackTrace) {
  39722. A._rootHandleError(error, stackTrace);
  39723. },
  39724. fork$2$specification$zoneValues(specification, zoneValues) {
  39725. return A._rootFork(null, null, this, specification, zoneValues);
  39726. },
  39727. run$1$1(_, f) {
  39728. if ($.Zone__current === B.C__RootZone)
  39729. return f.call$0();
  39730. return A._rootRun(null, null, this, f);
  39731. },
  39732. runUnary$2$2(f, arg) {
  39733. if ($.Zone__current === B.C__RootZone)
  39734. return f.call$1(arg);
  39735. return A._rootRunUnary(null, null, this, f, arg);
  39736. },
  39737. runBinary$3$3(f, arg1, arg2) {
  39738. if ($.Zone__current === B.C__RootZone)
  39739. return f.call$2(arg1, arg2);
  39740. return A._rootRunBinary(null, null, this, f, arg1, arg2);
  39741. },
  39742. registerCallback$1$1(f) {
  39743. return f;
  39744. },
  39745. registerUnaryCallback$2$1(f) {
  39746. return f;
  39747. },
  39748. registerBinaryCallback$3$1(f) {
  39749. return f;
  39750. },
  39751. errorCallback$2(error, stackTrace) {
  39752. return null;
  39753. },
  39754. scheduleMicrotask$1(f) {
  39755. A._rootScheduleMicrotask(null, null, this, f);
  39756. },
  39757. createTimer$2(duration, f) {
  39758. return A.Timer__createTimer(duration, f);
  39759. },
  39760. print$1(line) {
  39761. A.printString(line);
  39762. }
  39763. };
  39764. A._RootZone_bindCallback_closure.prototype = {
  39765. call$0() {
  39766. return this.$this.run$1$1(0, this.f, this.R);
  39767. },
  39768. $signature() {
  39769. return this.R._eval$1("0()");
  39770. }
  39771. };
  39772. A._RootZone_bindUnaryCallback_closure.prototype = {
  39773. call$1(arg) {
  39774. var _this = this;
  39775. return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
  39776. },
  39777. $signature() {
  39778. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  39779. }
  39780. };
  39781. A._RootZone_bindCallbackGuarded_closure.prototype = {
  39782. call$0() {
  39783. return this.$this.runGuarded$1(this.f);
  39784. },
  39785. $signature: 0
  39786. };
  39787. A._HashMap.prototype = {
  39788. get$length(_) {
  39789. return this._collection$_length;
  39790. },
  39791. get$isEmpty(_) {
  39792. return this._collection$_length === 0;
  39793. },
  39794. get$isNotEmpty(_) {
  39795. return this._collection$_length !== 0;
  39796. },
  39797. get$keys(_) {
  39798. return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
  39799. },
  39800. get$values(_) {
  39801. var t1 = A._instanceType(this);
  39802. return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  39803. },
  39804. containsKey$1(key) {
  39805. var strings, nums;
  39806. if (typeof key == "string" && key !== "__proto__") {
  39807. strings = this._strings;
  39808. return strings == null ? false : strings[key] != null;
  39809. } else if (typeof key == "number" && (key & 1073741823) === key) {
  39810. nums = this._nums;
  39811. return nums == null ? false : nums[key] != null;
  39812. } else
  39813. return this._containsKey$1(key);
  39814. },
  39815. _containsKey$1(key) {
  39816. var rest = this._collection$_rest;
  39817. if (rest == null)
  39818. return false;
  39819. return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
  39820. },
  39821. addAll$1(_, other) {
  39822. other.forEach$1(0, new A._HashMap_addAll_closure(this));
  39823. },
  39824. $index(_, key) {
  39825. var strings, t1, nums;
  39826. if (typeof key == "string" && key !== "__proto__") {
  39827. strings = this._strings;
  39828. t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
  39829. return t1;
  39830. } else if (typeof key == "number" && (key & 1073741823) === key) {
  39831. nums = this._nums;
  39832. t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
  39833. return t1;
  39834. } else
  39835. return this._get$1(key);
  39836. },
  39837. _get$1(key) {
  39838. var bucket, index,
  39839. rest = this._collection$_rest;
  39840. if (rest == null)
  39841. return null;
  39842. bucket = this._getBucket$2(rest, key);
  39843. index = this._findBucketIndex$2(bucket, key);
  39844. return index < 0 ? null : bucket[index + 1];
  39845. },
  39846. $indexSet(_, key, value) {
  39847. var strings, nums, _this = this;
  39848. if (typeof key == "string" && key !== "__proto__") {
  39849. strings = _this._strings;
  39850. _this._addHashTableEntry$3(strings == null ? _this._strings = A._HashMap__newHashTable() : strings, key, value);
  39851. } else if (typeof key == "number" && (key & 1073741823) === key) {
  39852. nums = _this._nums;
  39853. _this._addHashTableEntry$3(nums == null ? _this._nums = A._HashMap__newHashTable() : nums, key, value);
  39854. } else
  39855. _this._set$2(key, value);
  39856. },
  39857. _set$2(key, value) {
  39858. var hash, bucket, index, _this = this,
  39859. rest = _this._collection$_rest;
  39860. if (rest == null)
  39861. rest = _this._collection$_rest = A._HashMap__newHashTable();
  39862. hash = _this._computeHashCode$1(key);
  39863. bucket = rest[hash];
  39864. if (bucket == null) {
  39865. A._HashMap__setTableEntry(rest, hash, [key, value]);
  39866. ++_this._collection$_length;
  39867. _this._collection$_keys = null;
  39868. } else {
  39869. index = _this._findBucketIndex$2(bucket, key);
  39870. if (index >= 0)
  39871. bucket[index + 1] = value;
  39872. else {
  39873. bucket.push(key, value);
  39874. ++_this._collection$_length;
  39875. _this._collection$_keys = null;
  39876. }
  39877. }
  39878. },
  39879. remove$1(_, key) {
  39880. var t1;
  39881. if (key !== "__proto__")
  39882. return this._removeHashTableEntry$2(this._strings, key);
  39883. else {
  39884. t1 = this._remove$1(key);
  39885. return t1;
  39886. }
  39887. },
  39888. _remove$1(key) {
  39889. var hash, bucket, index, result, _this = this,
  39890. rest = _this._collection$_rest;
  39891. if (rest == null)
  39892. return null;
  39893. hash = _this._computeHashCode$1(key);
  39894. bucket = rest[hash];
  39895. index = _this._findBucketIndex$2(bucket, key);
  39896. if (index < 0)
  39897. return null;
  39898. --_this._collection$_length;
  39899. _this._collection$_keys = null;
  39900. result = bucket.splice(index, 2)[1];
  39901. if (0 === bucket.length)
  39902. delete rest[hash];
  39903. return result;
  39904. },
  39905. forEach$1(_, action) {
  39906. var $length, t1, i, key, t2, _this = this,
  39907. keys = _this._computeKeys$0();
  39908. for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
  39909. key = keys[i];
  39910. t2 = _this.$index(0, key);
  39911. action.call$2(key, t2 == null ? t1._as(t2) : t2);
  39912. if (keys !== _this._collection$_keys)
  39913. throw A.wrapException(A.ConcurrentModificationError$(_this));
  39914. }
  39915. },
  39916. _computeKeys$0() {
  39917. var strings, index, names, entries, i, nums, rest, bucket, $length, i0, _this = this,
  39918. result = _this._collection$_keys;
  39919. if (result != null)
  39920. return result;
  39921. result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
  39922. strings = _this._strings;
  39923. index = 0;
  39924. if (strings != null) {
  39925. names = Object.getOwnPropertyNames(strings);
  39926. entries = names.length;
  39927. for (i = 0; i < entries; ++i) {
  39928. result[index] = names[i];
  39929. ++index;
  39930. }
  39931. }
  39932. nums = _this._nums;
  39933. if (nums != null) {
  39934. names = Object.getOwnPropertyNames(nums);
  39935. entries = names.length;
  39936. for (i = 0; i < entries; ++i) {
  39937. result[index] = +names[i];
  39938. ++index;
  39939. }
  39940. }
  39941. rest = _this._collection$_rest;
  39942. if (rest != null) {
  39943. names = Object.getOwnPropertyNames(rest);
  39944. entries = names.length;
  39945. for (i = 0; i < entries; ++i) {
  39946. bucket = rest[names[i]];
  39947. $length = bucket.length;
  39948. for (i0 = 0; i0 < $length; i0 += 2) {
  39949. result[index] = bucket[i0];
  39950. ++index;
  39951. }
  39952. }
  39953. }
  39954. return _this._collection$_keys = result;
  39955. },
  39956. _addHashTableEntry$3(table, key, value) {
  39957. if (table[key] == null) {
  39958. ++this._collection$_length;
  39959. this._collection$_keys = null;
  39960. }
  39961. A._HashMap__setTableEntry(table, key, value);
  39962. },
  39963. _removeHashTableEntry$2(table, key) {
  39964. var value;
  39965. if (table != null && table[key] != null) {
  39966. value = A._HashMap__getTableEntry(table, key);
  39967. delete table[key];
  39968. --this._collection$_length;
  39969. this._collection$_keys = null;
  39970. return value;
  39971. } else
  39972. return null;
  39973. },
  39974. _computeHashCode$1(key) {
  39975. return J.get$hashCode$(key) & 1073741823;
  39976. },
  39977. _getBucket$2(table, key) {
  39978. return table[this._computeHashCode$1(key)];
  39979. },
  39980. _findBucketIndex$2(bucket, key) {
  39981. var $length, i;
  39982. if (bucket == null)
  39983. return -1;
  39984. $length = bucket.length;
  39985. for (i = 0; i < $length; i += 2)
  39986. if (J.$eq$(bucket[i], key))
  39987. return i;
  39988. return -1;
  39989. }
  39990. };
  39991. A._HashMap_values_closure.prototype = {
  39992. call$1(each) {
  39993. var t1 = this.$this,
  39994. t2 = t1.$index(0, each);
  39995. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  39996. },
  39997. $signature() {
  39998. return A._instanceType(this.$this)._eval$1("2(1)");
  39999. }
  40000. };
  40001. A._HashMap_addAll_closure.prototype = {
  40002. call$2(key, value) {
  40003. this.$this.$indexSet(0, key, value);
  40004. },
  40005. $signature() {
  40006. return A._instanceType(this.$this)._eval$1("~(1,2)");
  40007. }
  40008. };
  40009. A._IdentityHashMap.prototype = {
  40010. _computeHashCode$1(key) {
  40011. return A.objectHashCode(key) & 1073741823;
  40012. },
  40013. _findBucketIndex$2(bucket, key) {
  40014. var $length, i, t1;
  40015. if (bucket == null)
  40016. return -1;
  40017. $length = bucket.length;
  40018. for (i = 0; i < $length; i += 2) {
  40019. t1 = bucket[i];
  40020. if (t1 == null ? key == null : t1 === key)
  40021. return i;
  40022. }
  40023. return -1;
  40024. }
  40025. };
  40026. A._HashMapKeyIterable.prototype = {
  40027. get$length(_) {
  40028. return this._map._collection$_length;
  40029. },
  40030. get$isEmpty(_) {
  40031. return this._map._collection$_length === 0;
  40032. },
  40033. get$isNotEmpty(_) {
  40034. return this._map._collection$_length !== 0;
  40035. },
  40036. get$iterator(_) {
  40037. var t1 = this._map;
  40038. return new A._HashMapKeyIterator(t1, t1._computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>"));
  40039. },
  40040. contains$1(_, element) {
  40041. return this._map.containsKey$1(element);
  40042. }
  40043. };
  40044. A._HashMapKeyIterator.prototype = {
  40045. get$current(_) {
  40046. var t1 = this._collection$_current;
  40047. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  40048. },
  40049. moveNext$0() {
  40050. var _this = this,
  40051. keys = _this._collection$_keys,
  40052. offset = _this._offset,
  40053. t1 = _this._map;
  40054. if (keys !== t1._collection$_keys)
  40055. throw A.wrapException(A.ConcurrentModificationError$(t1));
  40056. else if (offset >= keys.length) {
  40057. _this._collection$_current = null;
  40058. return false;
  40059. } else {
  40060. _this._collection$_current = keys[offset];
  40061. _this._offset = offset + 1;
  40062. return true;
  40063. }
  40064. }
  40065. };
  40066. A._LinkedCustomHashMap.prototype = {
  40067. $index(_, key) {
  40068. if (!this._validKey.call$1(key))
  40069. return null;
  40070. return this.super$JsLinkedHashMap$internalGet(key);
  40071. },
  40072. $indexSet(_, key, value) {
  40073. this.super$JsLinkedHashMap$internalSet(key, value);
  40074. },
  40075. containsKey$1(key) {
  40076. if (!this._validKey.call$1(key))
  40077. return false;
  40078. return this.super$JsLinkedHashMap$internalContainsKey(key);
  40079. },
  40080. remove$1(_, key) {
  40081. if (!this._validKey.call$1(key))
  40082. return null;
  40083. return this.super$JsLinkedHashMap$internalRemove(key);
  40084. },
  40085. internalComputeHashCode$1(key) {
  40086. return this._hashCode.call$1(key) & 1073741823;
  40087. },
  40088. internalFindBucketIndex$2(bucket, key) {
  40089. var $length, t1, i;
  40090. if (bucket == null)
  40091. return -1;
  40092. $length = bucket.length;
  40093. for (t1 = this._equals, i = 0; i < $length; ++i)
  40094. if (t1.call$2(bucket[i].hashMapCellKey, key))
  40095. return i;
  40096. return -1;
  40097. }
  40098. };
  40099. A._LinkedCustomHashMap_closure.prototype = {
  40100. call$1(v) {
  40101. return this.K._is(v);
  40102. },
  40103. $signature: 9
  40104. };
  40105. A._LinkedHashSet.prototype = {
  40106. _newSet$0() {
  40107. return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
  40108. },
  40109. _newSimilarSet$1$0($R) {
  40110. return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
  40111. },
  40112. _newSimilarSet$0() {
  40113. return this._newSimilarSet$1$0(type$.dynamic);
  40114. },
  40115. get$iterator(_) {
  40116. var _this = this,
  40117. t1 = new A._LinkedHashSetIterator(_this, _this._modifications, A._instanceType(_this)._eval$1("_LinkedHashSetIterator<1>"));
  40118. t1._cell = _this._first;
  40119. return t1;
  40120. },
  40121. get$length(_) {
  40122. return this._collection$_length;
  40123. },
  40124. get$isEmpty(_) {
  40125. return this._collection$_length === 0;
  40126. },
  40127. get$isNotEmpty(_) {
  40128. return this._collection$_length !== 0;
  40129. },
  40130. contains$1(_, object) {
  40131. var strings, nums;
  40132. if (typeof object == "string" && object !== "__proto__") {
  40133. strings = this._strings;
  40134. if (strings == null)
  40135. return false;
  40136. return strings[object] != null;
  40137. } else if (typeof object == "number" && (object & 1073741823) === object) {
  40138. nums = this._nums;
  40139. if (nums == null)
  40140. return false;
  40141. return nums[object] != null;
  40142. } else
  40143. return this._contains$1(object);
  40144. },
  40145. _contains$1(object) {
  40146. var rest = this._collection$_rest;
  40147. if (rest == null)
  40148. return false;
  40149. return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
  40150. },
  40151. get$first(_) {
  40152. var first = this._first;
  40153. if (first == null)
  40154. throw A.wrapException(A.StateError$("No elements"));
  40155. return first._element;
  40156. },
  40157. get$last(_) {
  40158. var last = this._last;
  40159. if (last == null)
  40160. throw A.wrapException(A.StateError$("No elements"));
  40161. return last._element;
  40162. },
  40163. add$1(_, element) {
  40164. var strings, nums, _this = this;
  40165. if (typeof element == "string" && element !== "__proto__") {
  40166. strings = _this._strings;
  40167. return _this._addHashTableEntry$2(strings == null ? _this._strings = A._LinkedHashSet__newHashTable() : strings, element);
  40168. } else if (typeof element == "number" && (element & 1073741823) === element) {
  40169. nums = _this._nums;
  40170. return _this._addHashTableEntry$2(nums == null ? _this._nums = A._LinkedHashSet__newHashTable() : nums, element);
  40171. } else
  40172. return _this._add$1(element);
  40173. },
  40174. _add$1(element) {
  40175. var hash, bucket, _this = this,
  40176. rest = _this._collection$_rest;
  40177. if (rest == null)
  40178. rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
  40179. hash = _this._computeHashCode$1(element);
  40180. bucket = rest[hash];
  40181. if (bucket == null)
  40182. rest[hash] = [_this._newLinkedCell$1(element)];
  40183. else {
  40184. if (_this._findBucketIndex$2(bucket, element) >= 0)
  40185. return false;
  40186. bucket.push(_this._newLinkedCell$1(element));
  40187. }
  40188. return true;
  40189. },
  40190. remove$1(_, object) {
  40191. var _this = this;
  40192. if (typeof object == "string" && object !== "__proto__")
  40193. return _this._removeHashTableEntry$2(_this._strings, object);
  40194. else if (typeof object == "number" && (object & 1073741823) === object)
  40195. return _this._removeHashTableEntry$2(_this._nums, object);
  40196. else
  40197. return _this._remove$1(object);
  40198. },
  40199. _remove$1(object) {
  40200. var hash, bucket, index, cell, _this = this,
  40201. rest = _this._collection$_rest;
  40202. if (rest == null)
  40203. return false;
  40204. hash = _this._computeHashCode$1(object);
  40205. bucket = rest[hash];
  40206. index = _this._findBucketIndex$2(bucket, object);
  40207. if (index < 0)
  40208. return false;
  40209. cell = bucket.splice(index, 1)[0];
  40210. if (0 === bucket.length)
  40211. delete rest[hash];
  40212. _this._unlinkCell$1(cell);
  40213. return true;
  40214. },
  40215. _addHashTableEntry$2(table, element) {
  40216. if (table[element] != null)
  40217. return false;
  40218. table[element] = this._newLinkedCell$1(element);
  40219. return true;
  40220. },
  40221. _removeHashTableEntry$2(table, element) {
  40222. var cell;
  40223. if (table == null)
  40224. return false;
  40225. cell = table[element];
  40226. if (cell == null)
  40227. return false;
  40228. this._unlinkCell$1(cell);
  40229. delete table[element];
  40230. return true;
  40231. },
  40232. _modified$0() {
  40233. this._modifications = this._modifications + 1 & 1073741823;
  40234. },
  40235. _newLinkedCell$1(element) {
  40236. var t1, _this = this,
  40237. cell = new A._LinkedHashSetCell(element);
  40238. if (_this._first == null)
  40239. _this._first = _this._last = cell;
  40240. else {
  40241. t1 = _this._last;
  40242. t1.toString;
  40243. cell._previous = t1;
  40244. _this._last = t1._next = cell;
  40245. }
  40246. ++_this._collection$_length;
  40247. _this._modified$0();
  40248. return cell;
  40249. },
  40250. _unlinkCell$1(cell) {
  40251. var _this = this,
  40252. previous = cell._previous,
  40253. next = cell._next;
  40254. if (previous == null)
  40255. _this._first = next;
  40256. else
  40257. previous._next = next;
  40258. if (next == null)
  40259. _this._last = previous;
  40260. else
  40261. next._previous = previous;
  40262. --_this._collection$_length;
  40263. _this._modified$0();
  40264. },
  40265. _computeHashCode$1(element) {
  40266. return J.get$hashCode$(element) & 1073741823;
  40267. },
  40268. _findBucketIndex$2(bucket, element) {
  40269. var $length, i;
  40270. if (bucket == null)
  40271. return -1;
  40272. $length = bucket.length;
  40273. for (i = 0; i < $length; ++i)
  40274. if (J.$eq$(bucket[i]._element, element))
  40275. return i;
  40276. return -1;
  40277. }
  40278. };
  40279. A._LinkedIdentityHashSet.prototype = {
  40280. _newSet$0() {
  40281. return new A._LinkedIdentityHashSet(this.$ti);
  40282. },
  40283. _newSimilarSet$1$0($R) {
  40284. return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
  40285. },
  40286. _newSimilarSet$0() {
  40287. return this._newSimilarSet$1$0(type$.dynamic);
  40288. },
  40289. _computeHashCode$1(key) {
  40290. return A.objectHashCode(key) & 1073741823;
  40291. },
  40292. _findBucketIndex$2(bucket, element) {
  40293. var $length, i, t1;
  40294. if (bucket == null)
  40295. return -1;
  40296. $length = bucket.length;
  40297. for (i = 0; i < $length; ++i) {
  40298. t1 = bucket[i]._element;
  40299. if (t1 == null ? element == null : t1 === element)
  40300. return i;
  40301. }
  40302. return -1;
  40303. }
  40304. };
  40305. A._LinkedHashSetCell.prototype = {};
  40306. A._LinkedHashSetIterator.prototype = {
  40307. get$current(_) {
  40308. var t1 = this._collection$_current;
  40309. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  40310. },
  40311. moveNext$0() {
  40312. var _this = this,
  40313. cell = _this._cell,
  40314. t1 = _this._set;
  40315. if (_this._modifications !== t1._modifications)
  40316. throw A.wrapException(A.ConcurrentModificationError$(t1));
  40317. else if (cell == null) {
  40318. _this._collection$_current = null;
  40319. return false;
  40320. } else {
  40321. _this._collection$_current = cell._element;
  40322. _this._cell = cell._next;
  40323. return true;
  40324. }
  40325. }
  40326. };
  40327. A.UnmodifiableListView.prototype = {
  40328. cast$1$0(_, $R) {
  40329. return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
  40330. },
  40331. get$length(_) {
  40332. return J.get$length$asx(this._collection$_source);
  40333. },
  40334. $index(_, index) {
  40335. return J.elementAt$1$ax(this._collection$_source, index);
  40336. }
  40337. };
  40338. A.HashMap_HashMap$from_closure.prototype = {
  40339. call$2(k, v) {
  40340. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  40341. },
  40342. $signature: 161
  40343. };
  40344. A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
  40345. call$2(k, v) {
  40346. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  40347. },
  40348. $signature: 161
  40349. };
  40350. A.ListBase.prototype = {
  40351. get$iterator(receiver) {
  40352. return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator<ListBase.E>"));
  40353. },
  40354. elementAt$1(receiver, index) {
  40355. return this.$index(receiver, index);
  40356. },
  40357. forEach$1(receiver, action) {
  40358. var i,
  40359. $length = this.get$length(receiver);
  40360. for (i = 0; i < $length; ++i) {
  40361. action.call$1(this.$index(receiver, i));
  40362. if ($length !== this.get$length(receiver))
  40363. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40364. }
  40365. },
  40366. get$isEmpty(receiver) {
  40367. return this.get$length(receiver) === 0;
  40368. },
  40369. get$isNotEmpty(receiver) {
  40370. return !this.get$isEmpty(receiver);
  40371. },
  40372. get$first(receiver) {
  40373. if (this.get$length(receiver) === 0)
  40374. throw A.wrapException(A.IterableElementError_noElement());
  40375. return this.$index(receiver, 0);
  40376. },
  40377. get$last(receiver) {
  40378. if (this.get$length(receiver) === 0)
  40379. throw A.wrapException(A.IterableElementError_noElement());
  40380. return this.$index(receiver, this.get$length(receiver) - 1);
  40381. },
  40382. get$single(receiver) {
  40383. if (this.get$length(receiver) === 0)
  40384. throw A.wrapException(A.IterableElementError_noElement());
  40385. if (this.get$length(receiver) > 1)
  40386. throw A.wrapException(A.IterableElementError_tooMany());
  40387. return this.$index(receiver, 0);
  40388. },
  40389. contains$1(receiver, element) {
  40390. var i,
  40391. $length = this.get$length(receiver);
  40392. for (i = 0; i < $length; ++i) {
  40393. if (J.$eq$(this.$index(receiver, i), element))
  40394. return true;
  40395. if ($length !== this.get$length(receiver))
  40396. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40397. }
  40398. return false;
  40399. },
  40400. every$1(receiver, test) {
  40401. var i,
  40402. $length = this.get$length(receiver);
  40403. for (i = 0; i < $length; ++i) {
  40404. if (!test.call$1(this.$index(receiver, i)))
  40405. return false;
  40406. if ($length !== this.get$length(receiver))
  40407. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40408. }
  40409. return true;
  40410. },
  40411. any$1(receiver, test) {
  40412. var i,
  40413. $length = this.get$length(receiver);
  40414. for (i = 0; i < $length; ++i) {
  40415. if (test.call$1(this.$index(receiver, i)))
  40416. return true;
  40417. if ($length !== this.get$length(receiver))
  40418. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40419. }
  40420. return false;
  40421. },
  40422. lastWhere$2$orElse(receiver, test, orElse) {
  40423. var i, element,
  40424. $length = this.get$length(receiver);
  40425. for (i = $length - 1; i >= 0; --i) {
  40426. element = this.$index(receiver, i);
  40427. if (test.call$1(element))
  40428. return element;
  40429. if ($length !== this.get$length(receiver))
  40430. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40431. }
  40432. if (orElse != null)
  40433. return orElse.call$0();
  40434. throw A.wrapException(A.IterableElementError_noElement());
  40435. },
  40436. join$1(receiver, separator) {
  40437. var t1;
  40438. if (this.get$length(receiver) === 0)
  40439. return "";
  40440. t1 = A.StringBuffer__writeAll("", receiver, separator);
  40441. return t1.charCodeAt(0) == 0 ? t1 : t1;
  40442. },
  40443. where$1(receiver, test) {
  40444. return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListBase.E>"));
  40445. },
  40446. map$1$1(receiver, f, $T) {
  40447. return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  40448. },
  40449. expand$1$1(receiver, f, $T) {
  40450. return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  40451. },
  40452. skip$1(receiver, count) {
  40453. return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListBase.E"));
  40454. },
  40455. take$1(receiver, count) {
  40456. return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListBase.E"));
  40457. },
  40458. toList$1$growable(receiver, growable) {
  40459. var t1, first, result, i, _this = this;
  40460. if (_this.get$isEmpty(receiver)) {
  40461. t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListBase.E"));
  40462. return t1;
  40463. }
  40464. first = _this.$index(receiver, 0);
  40465. result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListBase.E"));
  40466. for (i = 1; i < _this.get$length(receiver); ++i)
  40467. result[i] = _this.$index(receiver, i);
  40468. return result;
  40469. },
  40470. toList$0(receiver) {
  40471. return this.toList$1$growable(receiver, true);
  40472. },
  40473. toSet$0(receiver) {
  40474. var i,
  40475. result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListBase.E"));
  40476. for (i = 0; i < this.get$length(receiver); ++i)
  40477. result.add$1(0, this.$index(receiver, i));
  40478. return result;
  40479. },
  40480. add$1(receiver, element) {
  40481. var t1 = this.get$length(receiver);
  40482. this.set$length(receiver, t1 + 1);
  40483. this.$indexSet(receiver, t1, element);
  40484. },
  40485. addAll$1(receiver, iterable) {
  40486. var t1,
  40487. i = this.get$length(receiver);
  40488. for (t1 = iterable.get$iterator(iterable); t1.moveNext$0();) {
  40489. this.add$1(receiver, t1.get$current(t1));
  40490. ++i;
  40491. }
  40492. },
  40493. _closeGap$2(receiver, start, end) {
  40494. var i, _this = this,
  40495. $length = _this.get$length(receiver),
  40496. size = end - start;
  40497. for (i = end; i < $length; ++i)
  40498. _this.$indexSet(receiver, i - size, _this.$index(receiver, i));
  40499. _this.set$length(receiver, $length - size);
  40500. },
  40501. cast$1$0(receiver, $R) {
  40502. return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($R)._eval$1("CastList<1,2>"));
  40503. },
  40504. sort$1(receiver, compare) {
  40505. var t1 = compare == null ? A.collection_ListBase__compareAny$closure() : compare;
  40506. A.Sort__doSort(receiver, 0, this.get$length(receiver) - 1, t1);
  40507. },
  40508. sublist$2(receiver, start, end) {
  40509. var listLength = this.get$length(receiver);
  40510. A.RangeError_checkValidRange(start, listLength, listLength);
  40511. return A.List_List$of(this.getRange$2(receiver, start, listLength), true, A.instanceType(receiver)._eval$1("ListBase.E"));
  40512. },
  40513. sublist$1(receiver, start) {
  40514. return this.sublist$2(receiver, start, null);
  40515. },
  40516. getRange$2(receiver, start, end) {
  40517. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40518. return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListBase.E"));
  40519. },
  40520. removeRange$2(receiver, start, end) {
  40521. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40522. if (end > start)
  40523. this._closeGap$2(receiver, start, end);
  40524. },
  40525. fillRange$3(receiver, start, end, fill) {
  40526. var i;
  40527. A.instanceType(receiver)._eval$1("ListBase.E")._as(fill);
  40528. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40529. for (i = start; i < end; ++i)
  40530. this.$indexSet(receiver, i, fill);
  40531. },
  40532. setRange$4(receiver, start, end, iterable, skipCount) {
  40533. var $length, otherStart, otherList, t1, i;
  40534. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40535. $length = end - start;
  40536. if ($length === 0)
  40537. return;
  40538. A.RangeError_checkNotNegative(skipCount, "skipCount");
  40539. if (A.instanceType(receiver)._eval$1("List<ListBase.E>")._is(iterable)) {
  40540. otherStart = skipCount;
  40541. otherList = iterable;
  40542. } else {
  40543. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  40544. otherStart = 0;
  40545. }
  40546. t1 = J.getInterceptor$asx(otherList);
  40547. if (otherStart + $length > t1.get$length(otherList))
  40548. throw A.wrapException(A.IterableElementError_tooFew());
  40549. if (otherStart < start)
  40550. for (i = $length - 1; i >= 0; --i)
  40551. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  40552. else
  40553. for (i = 0; i < $length; ++i)
  40554. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  40555. },
  40556. indexOf$1(receiver, element) {
  40557. var i;
  40558. for (i = 0; i < this.get$length(receiver); ++i)
  40559. if (J.$eq$(this.$index(receiver, i), element))
  40560. return i;
  40561. return -1;
  40562. },
  40563. get$reversed(receiver) {
  40564. return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListBase.E>"));
  40565. },
  40566. toString$0(receiver) {
  40567. return A.Iterable_iterableToFullString(receiver, "[", "]");
  40568. },
  40569. $isEfficientLengthIterable: 1,
  40570. $isIterable: 1,
  40571. $isList: 1
  40572. };
  40573. A.MapBase.prototype = {
  40574. cast$2$0(_, RK, RV) {
  40575. var t1 = A._instanceType(this);
  40576. return A.Map_castFrom(this, t1._eval$1("MapBase.K"), t1._eval$1("MapBase.V"), RK, RV);
  40577. },
  40578. forEach$1(_, action) {
  40579. var t1, t2, key, t3, _this = this;
  40580. for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapBase.V"); t1.moveNext$0();) {
  40581. key = t1.get$current(t1);
  40582. t3 = _this.$index(0, key);
  40583. action.call$2(key, t3 == null ? t2._as(t3) : t3);
  40584. }
  40585. },
  40586. addAll$1(_, other) {
  40587. other.forEach$1(0, new A.MapBase_addAll_closure(this));
  40588. },
  40589. get$entries(_) {
  40590. var _this = this;
  40591. return J.map$1$1$ax(_this.get$keys(_this), new A.MapBase_entries_closure(_this), A._instanceType(_this)._eval$1("MapEntry<MapBase.K,MapBase.V>"));
  40592. },
  40593. containsKey$1(key) {
  40594. return J.contains$1$asx(this.get$keys(this), key);
  40595. },
  40596. get$length(_) {
  40597. return J.get$length$asx(this.get$keys(this));
  40598. },
  40599. get$isEmpty(_) {
  40600. return J.get$isEmpty$asx(this.get$keys(this));
  40601. },
  40602. get$isNotEmpty(_) {
  40603. return J.get$isNotEmpty$asx(this.get$keys(this));
  40604. },
  40605. get$values(_) {
  40606. return new A._MapBaseValueIterable(this, A._instanceType(this)._eval$1("_MapBaseValueIterable<MapBase.K,MapBase.V>"));
  40607. },
  40608. toString$0(_) {
  40609. return A.MapBase_mapToString(this);
  40610. },
  40611. $isMap: 1
  40612. };
  40613. A.MapBase_addAll_closure.prototype = {
  40614. call$2(key, value) {
  40615. this.$this.$indexSet(0, key, value);
  40616. },
  40617. $signature() {
  40618. return A._instanceType(this.$this)._eval$1("~(MapBase.K,MapBase.V)");
  40619. }
  40620. };
  40621. A.MapBase_entries_closure.prototype = {
  40622. call$1(key) {
  40623. var t1 = this.$this,
  40624. t2 = t1.$index(0, key);
  40625. if (t2 == null)
  40626. t2 = A._instanceType(t1)._eval$1("MapBase.V")._as(t2);
  40627. return new A.MapEntry(key, t2, A._instanceType(t1)._eval$1("MapEntry<MapBase.K,MapBase.V>"));
  40628. },
  40629. $signature() {
  40630. return A._instanceType(this.$this)._eval$1("MapEntry<MapBase.K,MapBase.V>(MapBase.K)");
  40631. }
  40632. };
  40633. A.MapBase_mapToString_closure.prototype = {
  40634. call$2(k, v) {
  40635. var t2,
  40636. t1 = this._box_0;
  40637. if (!t1.first)
  40638. this.result._contents += ", ";
  40639. t1.first = false;
  40640. t1 = this.result;
  40641. t2 = A.S(k);
  40642. t2 = t1._contents += t2;
  40643. t1._contents = t2 + ": ";
  40644. t2 = A.S(v);
  40645. t1._contents += t2;
  40646. },
  40647. $signature: 169
  40648. };
  40649. A.UnmodifiableMapBase.prototype = {};
  40650. A._MapBaseValueIterable.prototype = {
  40651. get$length(_) {
  40652. var t1 = this._map;
  40653. return t1.get$length(t1);
  40654. },
  40655. get$isEmpty(_) {
  40656. var t1 = this._map;
  40657. return t1.get$isEmpty(t1);
  40658. },
  40659. get$isNotEmpty(_) {
  40660. var t1 = this._map;
  40661. return t1.get$isNotEmpty(t1);
  40662. },
  40663. get$first(_) {
  40664. var t1 = this._map;
  40665. t1 = t1.$index(0, J.get$first$ax(t1.get$keys(t1)));
  40666. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40667. },
  40668. get$single(_) {
  40669. var t1 = this._map;
  40670. t1 = t1.$index(0, J.get$single$ax(t1.get$keys(t1)));
  40671. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40672. },
  40673. get$last(_) {
  40674. var t1 = this._map;
  40675. t1 = t1.$index(0, J.get$last$ax(t1.get$keys(t1)));
  40676. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40677. },
  40678. get$iterator(_) {
  40679. var t1 = this._map;
  40680. return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1, this.$ti._eval$1("_MapBaseValueIterator<1,2>"));
  40681. }
  40682. };
  40683. A._MapBaseValueIterator.prototype = {
  40684. moveNext$0() {
  40685. var _this = this,
  40686. t1 = _this._collection$_keys;
  40687. if (t1.moveNext$0()) {
  40688. _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
  40689. return true;
  40690. }
  40691. _this._collection$_current = null;
  40692. return false;
  40693. },
  40694. get$current(_) {
  40695. var t1 = this._collection$_current;
  40696. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40697. }
  40698. };
  40699. A._UnmodifiableMapMixin.prototype = {
  40700. $indexSet(_, key, value) {
  40701. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40702. },
  40703. addAll$1(_, other) {
  40704. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40705. },
  40706. remove$1(_, key) {
  40707. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40708. }
  40709. };
  40710. A.MapView.prototype = {
  40711. cast$2$0(_, RK, RV) {
  40712. return this._map.cast$2$0(0, RK, RV);
  40713. },
  40714. $index(_, key) {
  40715. return this._map.$index(0, key);
  40716. },
  40717. $indexSet(_, key, value) {
  40718. this._map.$indexSet(0, key, value);
  40719. },
  40720. addAll$1(_, other) {
  40721. this._map.addAll$1(0, other);
  40722. },
  40723. containsKey$1(key) {
  40724. return this._map.containsKey$1(key);
  40725. },
  40726. forEach$1(_, action) {
  40727. this._map.forEach$1(0, action);
  40728. },
  40729. get$isEmpty(_) {
  40730. var t1 = this._map;
  40731. return t1.get$isEmpty(t1);
  40732. },
  40733. get$isNotEmpty(_) {
  40734. var t1 = this._map;
  40735. return t1.get$isNotEmpty(t1);
  40736. },
  40737. get$length(_) {
  40738. var t1 = this._map;
  40739. return t1.get$length(t1);
  40740. },
  40741. get$keys(_) {
  40742. var t1 = this._map;
  40743. return t1.get$keys(t1);
  40744. },
  40745. remove$1(_, key) {
  40746. return this._map.remove$1(0, key);
  40747. },
  40748. toString$0(_) {
  40749. return this._map.toString$0(0);
  40750. },
  40751. get$values(_) {
  40752. var t1 = this._map;
  40753. return t1.get$values(t1);
  40754. },
  40755. get$entries(_) {
  40756. var t1 = this._map;
  40757. return t1.get$entries(t1);
  40758. },
  40759. $isMap: 1
  40760. };
  40761. A.UnmodifiableMapView.prototype = {
  40762. cast$2$0(_, RK, RV) {
  40763. return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
  40764. }
  40765. };
  40766. A.ListQueue.prototype = {
  40767. get$iterator(_) {
  40768. var _this = this;
  40769. return new A._ListQueueIterator(_this, _this._tail, _this._modificationCount, _this._head, _this.$ti._eval$1("_ListQueueIterator<1>"));
  40770. },
  40771. get$isEmpty(_) {
  40772. return this._head === this._tail;
  40773. },
  40774. get$length(_) {
  40775. return (this._tail - this._head & this._table.length - 1) >>> 0;
  40776. },
  40777. get$first(_) {
  40778. var _this = this,
  40779. t1 = _this._head;
  40780. if (t1 === _this._tail)
  40781. throw A.wrapException(A.IterableElementError_noElement());
  40782. t1 = _this._table[t1];
  40783. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40784. },
  40785. get$last(_) {
  40786. var _this = this,
  40787. t1 = _this._head,
  40788. t2 = _this._tail;
  40789. if (t1 === t2)
  40790. throw A.wrapException(A.IterableElementError_noElement());
  40791. t1 = _this._table;
  40792. t1 = t1[(t2 - 1 & t1.length - 1) >>> 0];
  40793. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40794. },
  40795. get$single(_) {
  40796. var t1, _this = this;
  40797. if (_this._head === _this._tail)
  40798. throw A.wrapException(A.IterableElementError_noElement());
  40799. if (_this.get$length(0) > 1)
  40800. throw A.wrapException(A.IterableElementError_tooMany());
  40801. t1 = _this._table[_this._head];
  40802. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40803. },
  40804. elementAt$1(_, index) {
  40805. var t1, _this = this;
  40806. A.IndexError_check(index, _this.get$length(0), _this, null, null);
  40807. t1 = _this._table;
  40808. t1 = t1[(_this._head + index & t1.length - 1) >>> 0];
  40809. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40810. },
  40811. toList$1$growable(_, growable) {
  40812. var t1, list, t2, t3, i, t4, _this = this,
  40813. mask = _this._table.length - 1,
  40814. $length = (_this._tail - _this._head & mask) >>> 0;
  40815. if ($length === 0) {
  40816. t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
  40817. return t1;
  40818. }
  40819. t1 = _this.$ti._precomputed1;
  40820. list = A.List_List$filled($length, _this.get$first(0), true, t1);
  40821. for (t2 = _this._table, t3 = _this._head, i = 0; i < $length; ++i) {
  40822. t4 = t2[(t3 + i & mask) >>> 0];
  40823. list[i] = t4 == null ? t1._as(t4) : t4;
  40824. }
  40825. return list;
  40826. },
  40827. toList$0(_) {
  40828. return this.toList$1$growable(0, true);
  40829. },
  40830. addAll$1(_, elements) {
  40831. var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _i, _this = this,
  40832. t1 = _this.$ti;
  40833. if (t1._eval$1("List<1>")._is(elements)) {
  40834. addCount = elements.length;
  40835. $length = _this.get$length(0);
  40836. t2 = $length + addCount;
  40837. t3 = _this._table;
  40838. t4 = t3.length;
  40839. if (t2 >= t4) {
  40840. newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + (t2 >>> 1)), null, false, t1._eval$1("1?"));
  40841. _this._tail = _this._collection$_writeToList$1(newTable);
  40842. _this._table = newTable;
  40843. _this._head = 0;
  40844. B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0);
  40845. _this._tail += addCount;
  40846. } else {
  40847. t1 = _this._tail;
  40848. endSpace = t4 - t1;
  40849. if (addCount < endSpace) {
  40850. B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0);
  40851. _this._tail += addCount;
  40852. } else {
  40853. preSpace = addCount - endSpace;
  40854. B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0);
  40855. B.JSArray_methods.setRange$4(_this._table, 0, preSpace, elements, endSpace);
  40856. _this._tail = preSpace;
  40857. }
  40858. }
  40859. ++_this._modificationCount;
  40860. } else
  40861. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  40862. _this._add$1(elements[_i]);
  40863. },
  40864. clear$0(_) {
  40865. var t2, t3, _this = this,
  40866. i = _this._head,
  40867. t1 = _this._tail;
  40868. if (i !== t1) {
  40869. for (t2 = _this._table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
  40870. t2[i] = null;
  40871. _this._head = _this._tail = 0;
  40872. ++_this._modificationCount;
  40873. }
  40874. },
  40875. toString$0(_) {
  40876. return A.Iterable_iterableToFullString(this, "{", "}");
  40877. },
  40878. addFirst$1(value) {
  40879. var _this = this,
  40880. t1 = _this._head,
  40881. t2 = _this._table;
  40882. t1 = _this._head = (t1 - 1 & t2.length - 1) >>> 0;
  40883. t2[t1] = value;
  40884. if (t1 === _this._tail)
  40885. _this._grow$0();
  40886. ++_this._modificationCount;
  40887. },
  40888. removeFirst$0() {
  40889. var t2, result, _this = this,
  40890. t1 = _this._head;
  40891. if (t1 === _this._tail)
  40892. throw A.wrapException(A.IterableElementError_noElement());
  40893. ++_this._modificationCount;
  40894. t2 = _this._table;
  40895. result = t2[t1];
  40896. if (result == null)
  40897. result = _this.$ti._precomputed1._as(result);
  40898. t2[t1] = null;
  40899. _this._head = (t1 + 1 & t2.length - 1) >>> 0;
  40900. return result;
  40901. },
  40902. _add$1(element) {
  40903. var _this = this,
  40904. t1 = _this._table,
  40905. t2 = _this._tail;
  40906. t1[t2] = element;
  40907. t1 = (t2 + 1 & t1.length - 1) >>> 0;
  40908. _this._tail = t1;
  40909. if (_this._head === t1)
  40910. _this._grow$0();
  40911. ++_this._modificationCount;
  40912. },
  40913. _grow$0() {
  40914. var _this = this,
  40915. newTable = A.List_List$filled(_this._table.length * 2, null, false, _this.$ti._eval$1("1?")),
  40916. t1 = _this._table,
  40917. t2 = _this._head,
  40918. split = t1.length - t2;
  40919. B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
  40920. B.JSArray_methods.setRange$4(newTable, split, split + _this._head, _this._table, 0);
  40921. _this._head = 0;
  40922. _this._tail = _this._table.length;
  40923. _this._table = newTable;
  40924. },
  40925. _collection$_writeToList$1(target) {
  40926. var $length, firstPartSize, _this = this,
  40927. t1 = _this._head,
  40928. t2 = _this._tail,
  40929. t3 = _this._table;
  40930. if (t1 <= t2) {
  40931. $length = t2 - t1;
  40932. B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
  40933. return $length;
  40934. } else {
  40935. firstPartSize = t3.length - t1;
  40936. B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
  40937. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._tail, _this._table, 0);
  40938. return _this._tail + firstPartSize;
  40939. }
  40940. },
  40941. $isQueue: 1
  40942. };
  40943. A._ListQueueIterator.prototype = {
  40944. get$current(_) {
  40945. var t1 = this._collection$_current;
  40946. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  40947. },
  40948. moveNext$0() {
  40949. var t2, _this = this,
  40950. t1 = _this._queue;
  40951. if (_this._modificationCount !== t1._modificationCount)
  40952. A.throwExpression(A.ConcurrentModificationError$(t1));
  40953. t2 = _this._collection$_position;
  40954. if (t2 === _this._collection$_end) {
  40955. _this._collection$_current = null;
  40956. return false;
  40957. }
  40958. t1 = t1._table;
  40959. _this._collection$_current = t1[t2];
  40960. _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
  40961. return true;
  40962. }
  40963. };
  40964. A.SetBase.prototype = {
  40965. get$isEmpty(_) {
  40966. return this.get$length(this) === 0;
  40967. },
  40968. get$isNotEmpty(_) {
  40969. return this.get$length(this) !== 0;
  40970. },
  40971. addAll$1(_, elements) {
  40972. var t1;
  40973. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  40974. this.add$1(0, t1.get$current(t1));
  40975. },
  40976. removeAll$1(elements) {
  40977. var t1;
  40978. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  40979. this.remove$1(0, t1.get$current(t1));
  40980. },
  40981. difference$1(other) {
  40982. var t1, t2, element,
  40983. result = this.toSet$0(0);
  40984. for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
  40985. element = t1.get$current(t1);
  40986. if (t2.contains$1(0, element))
  40987. result.remove$1(0, element);
  40988. }
  40989. return result;
  40990. },
  40991. toList$1$growable(_, growable) {
  40992. return A.List_List$of(this, true, A._instanceType(this)._precomputed1);
  40993. },
  40994. toList$0(_) {
  40995. return this.toList$1$growable(0, true);
  40996. },
  40997. map$1$1(_, f, $T) {
  40998. return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  40999. },
  41000. get$single(_) {
  41001. var it, _this = this;
  41002. if (_this.get$length(_this) > 1)
  41003. throw A.wrapException(A.IterableElementError_tooMany());
  41004. it = _this.get$iterator(_this);
  41005. if (!it.moveNext$0())
  41006. throw A.wrapException(A.IterableElementError_noElement());
  41007. return it.get$current(it);
  41008. },
  41009. toString$0(_) {
  41010. return A.Iterable_iterableToFullString(this, "{", "}");
  41011. },
  41012. where$1(_, f) {
  41013. return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
  41014. },
  41015. forEach$1(_, f) {
  41016. var t1;
  41017. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  41018. f.call$1(t1.get$current(t1));
  41019. },
  41020. every$1(_, f) {
  41021. var t1;
  41022. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  41023. if (!f.call$1(t1.get$current(t1)))
  41024. return false;
  41025. return true;
  41026. },
  41027. any$1(_, test) {
  41028. var t1;
  41029. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  41030. if (test.call$1(t1.get$current(t1)))
  41031. return true;
  41032. return false;
  41033. },
  41034. take$1(_, n) {
  41035. return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
  41036. },
  41037. skip$1(_, n) {
  41038. return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
  41039. },
  41040. get$first(_) {
  41041. var it = this.get$iterator(this);
  41042. if (!it.moveNext$0())
  41043. throw A.wrapException(A.IterableElementError_noElement());
  41044. return it.get$current(it);
  41045. },
  41046. get$last(_) {
  41047. var result,
  41048. it = this.get$iterator(this);
  41049. if (!it.moveNext$0())
  41050. throw A.wrapException(A.IterableElementError_noElement());
  41051. do
  41052. result = it.get$current(it);
  41053. while (it.moveNext$0());
  41054. return result;
  41055. },
  41056. elementAt$1(_, index) {
  41057. var iterator, skipCount;
  41058. A.RangeError_checkNotNegative(index, "index");
  41059. iterator = this.get$iterator(this);
  41060. for (skipCount = index; iterator.moveNext$0();) {
  41061. if (skipCount === 0)
  41062. return iterator.get$current(iterator);
  41063. --skipCount;
  41064. }
  41065. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  41066. },
  41067. $isEfficientLengthIterable: 1,
  41068. $isIterable: 1,
  41069. $isSet: 1
  41070. };
  41071. A._SetBase.prototype = {
  41072. difference$1(other) {
  41073. var t1, t2, t3, element, _this = this,
  41074. result = _this._newSet$0();
  41075. for (t1 = A._LinkedHashSetIterator$(_this, _this._modifications, A._instanceType(_this)._precomputed1), t2 = other._source, t3 = t1.$ti._precomputed1; t1.moveNext$0();) {
  41076. element = t1._collection$_current;
  41077. if (element == null)
  41078. element = t3._as(element);
  41079. if (!t2.contains$1(0, element))
  41080. result.add$1(0, element);
  41081. }
  41082. return result;
  41083. },
  41084. intersection$1(other) {
  41085. var t1, t2, t3, element, _this = this,
  41086. result = _this._newSet$0();
  41087. for (t1 = A._LinkedHashSetIterator$(_this, _this._modifications, A._instanceType(_this)._precomputed1), t2 = other._baseMap, t3 = t1.$ti._precomputed1; t1.moveNext$0();) {
  41088. element = t1._collection$_current;
  41089. if (element == null)
  41090. element = t3._as(element);
  41091. if (t2.containsKey$1(element))
  41092. result.add$1(0, element);
  41093. }
  41094. return result;
  41095. },
  41096. toSet$0(_) {
  41097. var t1 = this._newSet$0();
  41098. t1.addAll$1(0, this);
  41099. return t1;
  41100. }
  41101. };
  41102. A._UnmodifiableSetMixin.prototype = {
  41103. add$1(_, value) {
  41104. return A._UnmodifiableSetMixin__throwUnmodifiable();
  41105. },
  41106. addAll$1(_, elements) {
  41107. return A._UnmodifiableSetMixin__throwUnmodifiable();
  41108. },
  41109. remove$1(_, value) {
  41110. return A._UnmodifiableSetMixin__throwUnmodifiable();
  41111. }
  41112. };
  41113. A.UnmodifiableSetView.prototype = {
  41114. contains$1(_, element) {
  41115. return this._collection$_source.contains$1(0, element);
  41116. },
  41117. get$length(_) {
  41118. return this._collection$_source._collection$_length;
  41119. },
  41120. get$iterator(_) {
  41121. var t1 = this._collection$_source;
  41122. return A._LinkedHashSetIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1);
  41123. },
  41124. toSet$0(_) {
  41125. return this._collection$_source.toSet$0(0);
  41126. }
  41127. };
  41128. A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
  41129. A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin.prototype = {};
  41130. A._JsonMap.prototype = {
  41131. $index(_, key) {
  41132. var result,
  41133. t1 = this._processed;
  41134. if (t1 == null)
  41135. return this._data.$index(0, key);
  41136. else if (typeof key != "string")
  41137. return null;
  41138. else {
  41139. result = t1[key];
  41140. return typeof result == "undefined" ? this._process$1(key) : result;
  41141. }
  41142. },
  41143. get$length(_) {
  41144. return this._processed == null ? this._data.__js_helper$_length : this._convert$_computeKeys$0().length;
  41145. },
  41146. get$isEmpty(_) {
  41147. return this.get$length(0) === 0;
  41148. },
  41149. get$isNotEmpty(_) {
  41150. return this.get$length(0) > 0;
  41151. },
  41152. get$keys(_) {
  41153. var t1;
  41154. if (this._processed == null) {
  41155. t1 = this._data;
  41156. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  41157. }
  41158. return new A._JsonMapKeyIterable(this);
  41159. },
  41160. get$values(_) {
  41161. var t1, _this = this;
  41162. if (_this._processed == null) {
  41163. t1 = _this._data;
  41164. return new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"));
  41165. }
  41166. return A.MappedIterable_MappedIterable(_this._convert$_computeKeys$0(), new A._JsonMap_values_closure(_this), type$.String, type$.dynamic);
  41167. },
  41168. $indexSet(_, key, value) {
  41169. var processed, original, _this = this;
  41170. if (_this._processed == null)
  41171. _this._data.$indexSet(0, key, value);
  41172. else if (_this.containsKey$1(key)) {
  41173. processed = _this._processed;
  41174. processed[key] = value;
  41175. original = _this._original;
  41176. if (original == null ? processed != null : original !== processed)
  41177. original[key] = null;
  41178. } else
  41179. _this._upgrade$0().$indexSet(0, key, value);
  41180. },
  41181. addAll$1(_, other) {
  41182. other.forEach$1(0, new A._JsonMap_addAll_closure(this));
  41183. },
  41184. containsKey$1(key) {
  41185. if (this._processed == null)
  41186. return this._data.containsKey$1(key);
  41187. if (typeof key != "string")
  41188. return false;
  41189. return Object.prototype.hasOwnProperty.call(this._original, key);
  41190. },
  41191. remove$1(_, key) {
  41192. if (this._processed != null && !this.containsKey$1(key))
  41193. return null;
  41194. return this._upgrade$0().remove$1(0, key);
  41195. },
  41196. forEach$1(_, f) {
  41197. var keys, i, key, value, _this = this;
  41198. if (_this._processed == null)
  41199. return _this._data.forEach$1(0, f);
  41200. keys = _this._convert$_computeKeys$0();
  41201. for (i = 0; i < keys.length; ++i) {
  41202. key = keys[i];
  41203. value = _this._processed[key];
  41204. if (typeof value == "undefined") {
  41205. value = A._convertJsonToDartLazy(_this._original[key]);
  41206. _this._processed[key] = value;
  41207. }
  41208. f.call$2(key, value);
  41209. if (keys !== _this._data)
  41210. throw A.wrapException(A.ConcurrentModificationError$(_this));
  41211. }
  41212. },
  41213. _convert$_computeKeys$0() {
  41214. var keys = this._data;
  41215. if (keys == null)
  41216. keys = this._data = A._setArrayType(Object.keys(this._original), type$.JSArray_String);
  41217. return keys;
  41218. },
  41219. _upgrade$0() {
  41220. var result, keys, i, t1, key, _this = this;
  41221. if (_this._processed == null)
  41222. return _this._data;
  41223. result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic);
  41224. keys = _this._convert$_computeKeys$0();
  41225. for (i = 0; t1 = keys.length, i < t1; ++i) {
  41226. key = keys[i];
  41227. result.$indexSet(0, key, _this.$index(0, key));
  41228. }
  41229. if (t1 === 0)
  41230. keys.push("");
  41231. else
  41232. B.JSArray_methods.clear$0(keys);
  41233. _this._original = _this._processed = null;
  41234. return _this._data = result;
  41235. },
  41236. _process$1(key) {
  41237. var result;
  41238. if (!Object.prototype.hasOwnProperty.call(this._original, key))
  41239. return null;
  41240. result = A._convertJsonToDartLazy(this._original[key]);
  41241. return this._processed[key] = result;
  41242. }
  41243. };
  41244. A._JsonMap_values_closure.prototype = {
  41245. call$1(each) {
  41246. return this.$this.$index(0, each);
  41247. },
  41248. $signature: 260
  41249. };
  41250. A._JsonMap_addAll_closure.prototype = {
  41251. call$2(key, value) {
  41252. this.$this.$indexSet(0, key, value);
  41253. },
  41254. $signature: 139
  41255. };
  41256. A._JsonMapKeyIterable.prototype = {
  41257. get$length(_) {
  41258. return this._convert$_parent.get$length(0);
  41259. },
  41260. elementAt$1(_, index) {
  41261. var t1 = this._convert$_parent;
  41262. return t1._processed == null ? t1.get$keys(0).elementAt$1(0, index) : t1._convert$_computeKeys$0()[index];
  41263. },
  41264. get$iterator(_) {
  41265. var t1 = this._convert$_parent;
  41266. if (t1._processed == null) {
  41267. t1 = t1.get$keys(0);
  41268. t1 = t1.get$iterator(t1);
  41269. } else {
  41270. t1 = t1._convert$_computeKeys$0();
  41271. t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>"));
  41272. }
  41273. return t1;
  41274. },
  41275. contains$1(_, key) {
  41276. return this._convert$_parent.containsKey$1(key);
  41277. }
  41278. };
  41279. A._Utf8Decoder__decoder_closure.prototype = {
  41280. call$0() {
  41281. var t1, exception;
  41282. try {
  41283. t1 = new TextDecoder("utf-8", {fatal: true});
  41284. return t1;
  41285. } catch (exception) {
  41286. }
  41287. return null;
  41288. },
  41289. $signature: 63
  41290. };
  41291. A._Utf8Decoder__decoderNonfatal_closure.prototype = {
  41292. call$0() {
  41293. var t1, exception;
  41294. try {
  41295. t1 = new TextDecoder("utf-8", {fatal: false});
  41296. return t1;
  41297. } catch (exception) {
  41298. }
  41299. return null;
  41300. },
  41301. $signature: 63
  41302. };
  41303. A.AsciiCodec.prototype = {
  41304. encode$1(source) {
  41305. return B.AsciiEncoder_127.convert$1(source);
  41306. }
  41307. };
  41308. A._UnicodeSubsetEncoder.prototype = {
  41309. convert$1(string) {
  41310. var t1, i, codeUnit,
  41311. end = A.RangeError_checkValidRange(0, null, string.length),
  41312. result = new Uint8Array(end);
  41313. for (t1 = ~this._subsetMask, i = 0; i < end; ++i) {
  41314. codeUnit = string.charCodeAt(i);
  41315. if ((codeUnit & t1) !== 0)
  41316. throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
  41317. result[i] = codeUnit;
  41318. }
  41319. return result;
  41320. }
  41321. };
  41322. A.AsciiEncoder.prototype = {};
  41323. A.Base64Codec.prototype = {
  41324. normalize$3(source, start, end) {
  41325. var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
  41326. _s31_ = "Invalid base64 encoding length ";
  41327. end = A.RangeError_checkValidRange(start, end, source.length);
  41328. inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
  41329. for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
  41330. i0 = i + 1;
  41331. char = source.charCodeAt(i);
  41332. if (char === 37) {
  41333. i1 = i0 + 2;
  41334. if (i1 <= end) {
  41335. digit1 = A.hexDigitValue(source.charCodeAt(i0));
  41336. digit2 = A.hexDigitValue(source.charCodeAt(i0 + 1));
  41337. char0 = digit1 * 16 + digit2 - (digit2 & 256);
  41338. if (char0 === 37)
  41339. char0 = -1;
  41340. i0 = i1;
  41341. } else
  41342. char0 = -1;
  41343. } else
  41344. char0 = char;
  41345. if (0 <= char0 && char0 <= 127) {
  41346. value = inverseAlphabet[char0];
  41347. if (value >= 0) {
  41348. char0 = string$.ABCDEF.charCodeAt(value);
  41349. if (char0 === char)
  41350. continue;
  41351. char = char0;
  41352. } else {
  41353. if (value === -1) {
  41354. if (firstPadding < 0) {
  41355. t1 = buffer == null ? null : buffer._contents.length;
  41356. if (t1 == null)
  41357. t1 = 0;
  41358. firstPadding = t1 + (i - sliceStart);
  41359. firstPaddingSourceIndex = i;
  41360. }
  41361. ++paddingCount;
  41362. if (char === 61)
  41363. continue;
  41364. }
  41365. char = char0;
  41366. }
  41367. if (value !== -2) {
  41368. if (buffer == null) {
  41369. buffer = new A.StringBuffer("");
  41370. t1 = buffer;
  41371. } else
  41372. t1 = buffer;
  41373. t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
  41374. t2 = A.Primitives_stringFromCharCode(char);
  41375. t1._contents += t2;
  41376. sliceStart = i0;
  41377. continue;
  41378. }
  41379. }
  41380. throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
  41381. }
  41382. if (buffer != null) {
  41383. t1 = B.JSString_methods.substring$2(source, sliceStart, end);
  41384. t1 = buffer._contents += t1;
  41385. t2 = t1.length;
  41386. if (firstPadding >= 0)
  41387. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
  41388. else {
  41389. endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
  41390. if (endLength === 1)
  41391. throw A.wrapException(A.FormatException$(_s31_, source, end));
  41392. for (; endLength < 4;) {
  41393. t1 += "=";
  41394. buffer._contents = t1;
  41395. ++endLength;
  41396. }
  41397. }
  41398. t1 = buffer._contents;
  41399. return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
  41400. }
  41401. $length = end - start;
  41402. if (firstPadding >= 0)
  41403. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
  41404. else {
  41405. endLength = B.JSInt_methods.$mod($length, 4);
  41406. if (endLength === 1)
  41407. throw A.wrapException(A.FormatException$(_s31_, source, end));
  41408. if (endLength > 1)
  41409. source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
  41410. }
  41411. return source;
  41412. }
  41413. };
  41414. A.Base64Encoder.prototype = {
  41415. startChunkedConversion$1(sink) {
  41416. return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
  41417. }
  41418. };
  41419. A._Base64Encoder.prototype = {
  41420. createBuffer$1(bufferLength) {
  41421. return new Uint8Array(bufferLength);
  41422. },
  41423. encode$4(bytes, start, end, isLast) {
  41424. var output, _this = this,
  41425. byteCount = (_this._convert$_state & 3) + (end - start),
  41426. fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
  41427. bufferLength = fullChunks * 4;
  41428. if (isLast && byteCount - fullChunks * 3 > 0)
  41429. bufferLength += 4;
  41430. output = _this.createBuffer$1(bufferLength);
  41431. _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
  41432. if (bufferLength > 0)
  41433. return output;
  41434. return null;
  41435. }
  41436. };
  41437. A._Base64EncoderSink.prototype = {};
  41438. A._Utf8Base64EncoderSink.prototype = {
  41439. _convert$_add$4(source, start, end, isLast) {
  41440. var buffer = this._encoder.encode$4(source, start, end, isLast);
  41441. if (buffer != null)
  41442. this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
  41443. }
  41444. };
  41445. A.ByteConversionSink.prototype = {};
  41446. A.Codec.prototype = {};
  41447. A.Converter.prototype = {};
  41448. A.Encoding.prototype = {};
  41449. A.JsonUnsupportedObjectError.prototype = {
  41450. toString$0(_) {
  41451. var safeString = A.Error_safeToString(this.unsupportedObject);
  41452. return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
  41453. }
  41454. };
  41455. A.JsonCyclicError.prototype = {
  41456. toString$0(_) {
  41457. return "Cyclic error in JSON stringify";
  41458. }
  41459. };
  41460. A.JsonCodec.prototype = {
  41461. decode$1(source) {
  41462. var t1 = A._parseJson(source, this.get$decoder()._reviver);
  41463. return t1;
  41464. },
  41465. encode$2$toEncodable(value, toEncodable) {
  41466. var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
  41467. return t1;
  41468. },
  41469. get$encoder() {
  41470. return B.JsonEncoder_null;
  41471. },
  41472. get$decoder() {
  41473. return B.JsonDecoder_null;
  41474. }
  41475. };
  41476. A.JsonEncoder.prototype = {};
  41477. A.JsonDecoder.prototype = {};
  41478. A._JsonStringifier.prototype = {
  41479. writeStringContent$1(s) {
  41480. var offset, i, charCode, t1, t2, _this = this,
  41481. $length = s.length;
  41482. for (offset = 0, i = 0; i < $length; ++i) {
  41483. charCode = s.charCodeAt(i);
  41484. if (charCode > 92) {
  41485. if (charCode >= 55296) {
  41486. t1 = charCode & 64512;
  41487. if (t1 === 55296) {
  41488. t2 = i + 1;
  41489. t2 = !(t2 < $length && (s.charCodeAt(t2) & 64512) === 56320);
  41490. } else
  41491. t2 = false;
  41492. if (!t2)
  41493. if (t1 === 56320) {
  41494. t1 = i - 1;
  41495. t1 = !(t1 >= 0 && (s.charCodeAt(t1) & 64512) === 55296);
  41496. } else
  41497. t1 = false;
  41498. else
  41499. t1 = true;
  41500. if (t1) {
  41501. if (i > offset)
  41502. _this.writeStringSlice$3(s, offset, i);
  41503. offset = i + 1;
  41504. _this.writeCharCode$1(92);
  41505. _this.writeCharCode$1(117);
  41506. _this.writeCharCode$1(100);
  41507. t1 = charCode >>> 8 & 15;
  41508. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41509. t1 = charCode >>> 4 & 15;
  41510. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41511. t1 = charCode & 15;
  41512. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41513. }
  41514. }
  41515. continue;
  41516. }
  41517. if (charCode < 32) {
  41518. if (i > offset)
  41519. _this.writeStringSlice$3(s, offset, i);
  41520. offset = i + 1;
  41521. _this.writeCharCode$1(92);
  41522. switch (charCode) {
  41523. case 8:
  41524. _this.writeCharCode$1(98);
  41525. break;
  41526. case 9:
  41527. _this.writeCharCode$1(116);
  41528. break;
  41529. case 10:
  41530. _this.writeCharCode$1(110);
  41531. break;
  41532. case 12:
  41533. _this.writeCharCode$1(102);
  41534. break;
  41535. case 13:
  41536. _this.writeCharCode$1(114);
  41537. break;
  41538. default:
  41539. _this.writeCharCode$1(117);
  41540. _this.writeCharCode$1(48);
  41541. _this.writeCharCode$1(48);
  41542. t1 = charCode >>> 4 & 15;
  41543. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41544. t1 = charCode & 15;
  41545. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41546. break;
  41547. }
  41548. } else if (charCode === 34 || charCode === 92) {
  41549. if (i > offset)
  41550. _this.writeStringSlice$3(s, offset, i);
  41551. offset = i + 1;
  41552. _this.writeCharCode$1(92);
  41553. _this.writeCharCode$1(charCode);
  41554. }
  41555. }
  41556. if (offset === 0)
  41557. _this.writeString$1(s);
  41558. else if (offset < $length)
  41559. _this.writeStringSlice$3(s, offset, $length);
  41560. },
  41561. _checkCycle$1(object) {
  41562. var t1, t2, i, t3;
  41563. for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
  41564. t3 = t1[i];
  41565. if (object == null ? t3 == null : object === t3)
  41566. throw A.wrapException(new A.JsonCyclicError(object, null));
  41567. }
  41568. t1.push(object);
  41569. },
  41570. writeObject$1(object) {
  41571. var customJson, e, t1, exception, _this = this;
  41572. if (_this.writeJsonValue$1(object))
  41573. return;
  41574. _this._checkCycle$1(object);
  41575. try {
  41576. customJson = _this._toEncodable.call$1(object);
  41577. if (!_this.writeJsonValue$1(customJson)) {
  41578. t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
  41579. throw A.wrapException(t1);
  41580. }
  41581. _this._seen.pop();
  41582. } catch (exception) {
  41583. e = A.unwrapException(exception);
  41584. t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
  41585. throw A.wrapException(t1);
  41586. }
  41587. },
  41588. writeJsonValue$1(object) {
  41589. var success, _this = this;
  41590. if (typeof object == "number") {
  41591. if (!isFinite(object))
  41592. return false;
  41593. _this.writeNumber$1(object);
  41594. return true;
  41595. } else if (object === true) {
  41596. _this.writeString$1("true");
  41597. return true;
  41598. } else if (object === false) {
  41599. _this.writeString$1("false");
  41600. return true;
  41601. } else if (object == null) {
  41602. _this.writeString$1("null");
  41603. return true;
  41604. } else if (typeof object == "string") {
  41605. _this.writeString$1('"');
  41606. _this.writeStringContent$1(object);
  41607. _this.writeString$1('"');
  41608. return true;
  41609. } else if (type$.List_dynamic._is(object)) {
  41610. _this._checkCycle$1(object);
  41611. _this.writeList$1(object);
  41612. _this._seen.pop();
  41613. return true;
  41614. } else if (type$.Map_dynamic_dynamic._is(object)) {
  41615. _this._checkCycle$1(object);
  41616. success = _this.writeMap$1(object);
  41617. _this._seen.pop();
  41618. return success;
  41619. } else
  41620. return false;
  41621. },
  41622. writeList$1(list) {
  41623. var t1, i, _this = this;
  41624. _this.writeString$1("[");
  41625. t1 = J.getInterceptor$asx(list);
  41626. if (t1.get$isNotEmpty(list)) {
  41627. _this.writeObject$1(t1.$index(list, 0));
  41628. for (i = 1; i < t1.get$length(list); ++i) {
  41629. _this.writeString$1(",");
  41630. _this.writeObject$1(t1.$index(list, i));
  41631. }
  41632. }
  41633. _this.writeString$1("]");
  41634. },
  41635. writeMap$1(map) {
  41636. var t1, keyValueList, i, separator, _this = this, _box_0 = {};
  41637. if (map.get$isEmpty(map)) {
  41638. _this.writeString$1("{}");
  41639. return true;
  41640. }
  41641. t1 = map.get$length(map) * 2;
  41642. keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
  41643. i = _box_0.i = 0;
  41644. _box_0.allStringKeys = true;
  41645. map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
  41646. if (!_box_0.allStringKeys)
  41647. return false;
  41648. _this.writeString$1("{");
  41649. for (separator = '"'; i < t1; i += 2, separator = ',"') {
  41650. _this.writeString$1(separator);
  41651. _this.writeStringContent$1(A._asString(keyValueList[i]));
  41652. _this.writeString$1('":');
  41653. _this.writeObject$1(keyValueList[i + 1]);
  41654. }
  41655. _this.writeString$1("}");
  41656. return true;
  41657. }
  41658. };
  41659. A._JsonStringifier_writeMap_closure.prototype = {
  41660. call$2(key, value) {
  41661. var t1, t2, t3, i;
  41662. if (typeof key != "string")
  41663. this._box_0.allStringKeys = false;
  41664. t1 = this.keyValueList;
  41665. t2 = this._box_0;
  41666. t3 = t2.i;
  41667. i = t2.i = t3 + 1;
  41668. t1[t3] = key;
  41669. t2.i = i + 1;
  41670. t1[i] = value;
  41671. },
  41672. $signature: 169
  41673. };
  41674. A._JsonStringStringifier.prototype = {
  41675. get$_partialResult() {
  41676. var t1 = this._sink._contents;
  41677. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41678. },
  41679. writeNumber$1(number) {
  41680. var t1 = this._sink,
  41681. t2 = B.JSNumber_methods.toString$0(number);
  41682. t1._contents += t2;
  41683. },
  41684. writeString$1(string) {
  41685. this._sink._contents += string;
  41686. },
  41687. writeStringSlice$3(string, start, end) {
  41688. this._sink._contents += B.JSString_methods.substring$2(string, start, end);
  41689. },
  41690. writeCharCode$1(charCode) {
  41691. var t1 = this._sink,
  41692. t2 = A.Primitives_stringFromCharCode(charCode);
  41693. t1._contents += t2;
  41694. }
  41695. };
  41696. A.StringConversionSink.prototype = {};
  41697. A._StringSinkConversionSink.prototype = {
  41698. close$0(_) {
  41699. }
  41700. };
  41701. A._StringCallbackSink.prototype = {
  41702. close$0(_) {
  41703. var t1 = this._stringSink,
  41704. t2 = t1._contents;
  41705. t1._contents = "";
  41706. this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
  41707. },
  41708. asUtf8Sink$1(allowMalformed) {
  41709. return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
  41710. }
  41711. };
  41712. A._Utf8StringSinkAdapter.prototype = {
  41713. close$0(_) {
  41714. this._decoder.flush$1(this._stringSink);
  41715. this._sink.close$0(0);
  41716. },
  41717. add$1(_, chunk) {
  41718. this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
  41719. },
  41720. addSlice$4(codeUnits, startIndex, endIndex, isLast) {
  41721. var t1 = this._stringSink,
  41722. t2 = this._decoder._convertGeneral$4(codeUnits, startIndex, endIndex, false);
  41723. t1._contents += t2;
  41724. if (isLast)
  41725. this.close$0(0);
  41726. }
  41727. };
  41728. A.Utf8Codec.prototype = {
  41729. encode$1(string) {
  41730. return B.C_Utf8Encoder.convert$1(string);
  41731. }
  41732. };
  41733. A.Utf8Encoder.prototype = {
  41734. convert$1(string) {
  41735. var t1, encoder,
  41736. end = A.RangeError_checkValidRange(0, null, string.length);
  41737. if (end === 0)
  41738. return new Uint8Array(0);
  41739. t1 = new Uint8Array(end * 3);
  41740. encoder = new A._Utf8Encoder(t1);
  41741. if (encoder._fillBuffer$3(string, 0, end) !== end)
  41742. encoder._writeReplacementCharacter$0();
  41743. return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex);
  41744. }
  41745. };
  41746. A._Utf8Encoder.prototype = {
  41747. _writeReplacementCharacter$0() {
  41748. var _this = this,
  41749. t1 = _this._buffer,
  41750. t2 = _this._bufferIndex,
  41751. t3 = _this._bufferIndex = t2 + 1;
  41752. t1.$flags & 2 && A.throwUnsupportedOperation(t1);
  41753. t1[t2] = 239;
  41754. t2 = _this._bufferIndex = t3 + 1;
  41755. t1[t3] = 191;
  41756. _this._bufferIndex = t2 + 1;
  41757. t1[t2] = 189;
  41758. },
  41759. _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
  41760. var rune, t1, t2, t3, _this = this;
  41761. if ((nextCodeUnit & 64512) === 56320) {
  41762. rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
  41763. t1 = _this._buffer;
  41764. t2 = _this._bufferIndex;
  41765. t3 = _this._bufferIndex = t2 + 1;
  41766. t1.$flags & 2 && A.throwUnsupportedOperation(t1);
  41767. t1[t2] = rune >>> 18 | 240;
  41768. t2 = _this._bufferIndex = t3 + 1;
  41769. t1[t3] = rune >>> 12 & 63 | 128;
  41770. t3 = _this._bufferIndex = t2 + 1;
  41771. t1[t2] = rune >>> 6 & 63 | 128;
  41772. _this._bufferIndex = t3 + 1;
  41773. t1[t3] = rune & 63 | 128;
  41774. return true;
  41775. } else {
  41776. _this._writeReplacementCharacter$0();
  41777. return false;
  41778. }
  41779. },
  41780. _fillBuffer$3(str, start, end) {
  41781. var t1, t2, t3, stringIndex, codeUnit, t4, stringIndex0, t5, _this = this;
  41782. if (start !== end && (str.charCodeAt(end - 1) & 64512) === 55296)
  41783. --end;
  41784. for (t1 = _this._buffer, t2 = t1.$flags | 0, t3 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
  41785. codeUnit = str.charCodeAt(stringIndex);
  41786. if (codeUnit <= 127) {
  41787. t4 = _this._bufferIndex;
  41788. if (t4 >= t3)
  41789. break;
  41790. _this._bufferIndex = t4 + 1;
  41791. t2 & 2 && A.throwUnsupportedOperation(t1);
  41792. t1[t4] = codeUnit;
  41793. } else {
  41794. t4 = codeUnit & 64512;
  41795. if (t4 === 55296) {
  41796. if (_this._bufferIndex + 4 > t3)
  41797. break;
  41798. stringIndex0 = stringIndex + 1;
  41799. if (_this._writeSurrogate$2(codeUnit, str.charCodeAt(stringIndex0)))
  41800. stringIndex = stringIndex0;
  41801. } else if (t4 === 56320) {
  41802. if (_this._bufferIndex + 3 > t3)
  41803. break;
  41804. _this._writeReplacementCharacter$0();
  41805. } else if (codeUnit <= 2047) {
  41806. t4 = _this._bufferIndex;
  41807. t5 = t4 + 1;
  41808. if (t5 >= t3)
  41809. break;
  41810. _this._bufferIndex = t5;
  41811. t2 & 2 && A.throwUnsupportedOperation(t1);
  41812. t1[t4] = codeUnit >>> 6 | 192;
  41813. _this._bufferIndex = t5 + 1;
  41814. t1[t5] = codeUnit & 63 | 128;
  41815. } else {
  41816. t4 = _this._bufferIndex;
  41817. if (t4 + 2 >= t3)
  41818. break;
  41819. t5 = _this._bufferIndex = t4 + 1;
  41820. t2 & 2 && A.throwUnsupportedOperation(t1);
  41821. t1[t4] = codeUnit >>> 12 | 224;
  41822. t4 = _this._bufferIndex = t5 + 1;
  41823. t1[t5] = codeUnit >>> 6 & 63 | 128;
  41824. _this._bufferIndex = t4 + 1;
  41825. t1[t4] = codeUnit & 63 | 128;
  41826. }
  41827. }
  41828. }
  41829. return stringIndex;
  41830. }
  41831. };
  41832. A.Utf8Decoder.prototype = {
  41833. convert$1(codeUnits) {
  41834. return new A._Utf8Decoder(this._allowMalformed)._convertGeneral$4(codeUnits, 0, null, true);
  41835. }
  41836. };
  41837. A._Utf8Decoder.prototype = {
  41838. _convertGeneral$4(codeUnits, start, maybeEnd, single) {
  41839. var casted, bytes, errorOffset, t1, result, message, _this = this,
  41840. end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
  41841. if (start === end)
  41842. return "";
  41843. if (codeUnits instanceof Uint8Array) {
  41844. casted = codeUnits;
  41845. bytes = casted;
  41846. errorOffset = 0;
  41847. } else {
  41848. bytes = A._Utf8Decoder__makeNativeUint8List(codeUnits, start, end);
  41849. end -= start;
  41850. errorOffset = start;
  41851. start = 0;
  41852. }
  41853. if (single && end - start >= 15) {
  41854. t1 = _this.allowMalformed;
  41855. result = A._Utf8Decoder__convertInterceptedUint8List(t1, bytes, start, end);
  41856. if (result != null) {
  41857. if (!t1)
  41858. return result;
  41859. if (result.indexOf("\ufffd") < 0)
  41860. return result;
  41861. }
  41862. }
  41863. result = _this._decodeRecursive$4(bytes, start, end, single);
  41864. t1 = _this._convert$_state;
  41865. if ((t1 & 1) !== 0) {
  41866. message = A._Utf8Decoder_errorDescription(t1);
  41867. _this._convert$_state = 0;
  41868. throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
  41869. }
  41870. return result;
  41871. },
  41872. _decodeRecursive$4(bytes, start, end, single) {
  41873. var mid, s1, _this = this;
  41874. if (end - start > 1000) {
  41875. mid = B.JSInt_methods._tdivFast$1(start + end, 2);
  41876. s1 = _this._decodeRecursive$4(bytes, start, mid, false);
  41877. if ((_this._convert$_state & 1) !== 0)
  41878. return s1;
  41879. return s1 + _this._decodeRecursive$4(bytes, mid, end, single);
  41880. }
  41881. return _this.decodeGeneral$4(bytes, start, end, single);
  41882. },
  41883. flush$1(sink) {
  41884. var t1,
  41885. state = this._convert$_state;
  41886. this._convert$_state = 0;
  41887. if (state <= 32)
  41888. return;
  41889. if (this.allowMalformed) {
  41890. t1 = A.Primitives_stringFromCharCode(65533);
  41891. sink._contents += t1;
  41892. } else
  41893. throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
  41894. },
  41895. decodeGeneral$4(bytes, start, end, single) {
  41896. var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
  41897. state = _this._convert$_state,
  41898. char = _this._charOrIndex,
  41899. buffer = new A.StringBuffer(""),
  41900. i = start + 1,
  41901. byte = bytes[start];
  41902. $label0$0:
  41903. for (t1 = _this.allowMalformed; true;) {
  41904. for (; true; i = i0) {
  41905. type = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE".charCodeAt(byte) & 31;
  41906. char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
  41907. 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);
  41908. if (state === 0) {
  41909. t2 = A.Primitives_stringFromCharCode(char);
  41910. buffer._contents += t2;
  41911. if (i === end)
  41912. break $label0$0;
  41913. break;
  41914. } else if ((state & 1) !== 0) {
  41915. if (t1)
  41916. switch (state) {
  41917. case 69:
  41918. case 67:
  41919. t2 = A.Primitives_stringFromCharCode(_65533);
  41920. buffer._contents += t2;
  41921. break;
  41922. case 65:
  41923. t2 = A.Primitives_stringFromCharCode(_65533);
  41924. buffer._contents += t2;
  41925. --i;
  41926. break;
  41927. default:
  41928. t2 = A.Primitives_stringFromCharCode(_65533);
  41929. t2 = buffer._contents += t2;
  41930. buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533);
  41931. break;
  41932. }
  41933. else {
  41934. _this._convert$_state = state;
  41935. _this._charOrIndex = i - 1;
  41936. return "";
  41937. }
  41938. state = 0;
  41939. }
  41940. if (i === end)
  41941. break $label0$0;
  41942. i0 = i + 1;
  41943. byte = bytes[i];
  41944. }
  41945. i0 = i + 1;
  41946. byte = bytes[i];
  41947. if (byte < 128) {
  41948. while (true) {
  41949. if (!(i0 < end)) {
  41950. markEnd = end;
  41951. break;
  41952. }
  41953. i1 = i0 + 1;
  41954. byte = bytes[i0];
  41955. if (byte >= 128) {
  41956. markEnd = i1 - 1;
  41957. i0 = i1;
  41958. break;
  41959. }
  41960. i0 = i1;
  41961. }
  41962. if (markEnd - i < 20)
  41963. for (m = i; m < markEnd; ++m) {
  41964. t2 = A.Primitives_stringFromCharCode(bytes[m]);
  41965. buffer._contents += t2;
  41966. }
  41967. else {
  41968. t2 = A.String_String$fromCharCodes(bytes, i, markEnd);
  41969. buffer._contents += t2;
  41970. }
  41971. if (markEnd === end)
  41972. break $label0$0;
  41973. i = i0;
  41974. } else
  41975. i = i0;
  41976. }
  41977. if (single && state > 32)
  41978. if (t1) {
  41979. t1 = A.Primitives_stringFromCharCode(_65533);
  41980. buffer._contents += t1;
  41981. } else {
  41982. _this._convert$_state = 77;
  41983. _this._charOrIndex = end;
  41984. return "";
  41985. }
  41986. _this._convert$_state = state;
  41987. _this._charOrIndex = char;
  41988. t1 = buffer._contents;
  41989. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41990. }
  41991. };
  41992. A.NoSuchMethodError_toString_closure.prototype = {
  41993. call$2(key, value) {
  41994. var t1 = this.sb,
  41995. t2 = this._box_0,
  41996. t3 = t1._contents += t2.comma;
  41997. t3 += key.__internal$_name;
  41998. t1._contents = t3;
  41999. t1._contents = t3 + ": ";
  42000. t3 = A.Error_safeToString(value);
  42001. t1._contents += t3;
  42002. t2.comma = ", ";
  42003. },
  42004. $signature: 336
  42005. };
  42006. A.DateTime.prototype = {
  42007. $eq(_, other) {
  42008. var t1;
  42009. if (other == null)
  42010. return false;
  42011. t1 = false;
  42012. if (other instanceof A.DateTime)
  42013. if (this._value === other._value)
  42014. t1 = this._microsecond === other._microsecond;
  42015. return t1;
  42016. },
  42017. get$hashCode(_) {
  42018. return A.Object_hash(this._value, this._microsecond, B.C_SentinelValue, B.C_SentinelValue);
  42019. },
  42020. isAfter$1(other) {
  42021. var t1 = this._value,
  42022. t2 = other._value;
  42023. if (t1 <= t2)
  42024. t1 = t1 === t2 && this._microsecond > other._microsecond;
  42025. else
  42026. t1 = true;
  42027. return t1;
  42028. },
  42029. compareTo$1(_, other) {
  42030. var r = B.JSInt_methods.compareTo$1(this._value, other._value);
  42031. if (r !== 0)
  42032. return r;
  42033. return B.JSInt_methods.compareTo$1(this._microsecond, other._microsecond);
  42034. },
  42035. toString$0(_) {
  42036. var _this = this,
  42037. y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
  42038. m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
  42039. d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
  42040. h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
  42041. min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
  42042. sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
  42043. ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)),
  42044. t1 = _this._microsecond,
  42045. us = t1 === 0 ? "" : A.DateTime__threeDigits(t1);
  42046. return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + us;
  42047. },
  42048. $isComparable: 1
  42049. };
  42050. A.Duration.prototype = {
  42051. $eq(_, other) {
  42052. if (other == null)
  42053. return false;
  42054. return other instanceof A.Duration && this._duration === other._duration;
  42055. },
  42056. get$hashCode(_) {
  42057. return B.JSInt_methods.get$hashCode(this._duration);
  42058. },
  42059. compareTo$1(_, other) {
  42060. return B.JSInt_methods.compareTo$1(this._duration, other._duration);
  42061. },
  42062. toString$0(_) {
  42063. var sign, minutes, minutesPadding, seconds, secondsPadding,
  42064. microseconds = this._duration,
  42065. hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000),
  42066. microseconds0 = microseconds % 3600000000;
  42067. if (microseconds < 0) {
  42068. hours = 0 - hours;
  42069. microseconds = 0 - microseconds0;
  42070. sign = "-";
  42071. } else {
  42072. microseconds = microseconds0;
  42073. sign = "";
  42074. }
  42075. minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
  42076. microseconds %= 60000000;
  42077. minutesPadding = minutes < 10 ? "0" : "";
  42078. seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
  42079. secondsPadding = seconds < 10 ? "0" : "";
  42080. return sign + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
  42081. },
  42082. $isComparable: 1
  42083. };
  42084. A._Enum.prototype = {
  42085. toString$0(_) {
  42086. return this._enumToString$0();
  42087. }
  42088. };
  42089. A.Error.prototype = {
  42090. get$stackTrace() {
  42091. return A.Primitives_extractStackTrace(this);
  42092. }
  42093. };
  42094. A.AssertionError.prototype = {
  42095. toString$0(_) {
  42096. var t1 = this.message;
  42097. if (t1 != null)
  42098. return "Assertion failed: " + A.Error_safeToString(t1);
  42099. return "Assertion failed";
  42100. },
  42101. get$message(receiver) {
  42102. return this.message;
  42103. }
  42104. };
  42105. A.TypeError.prototype = {};
  42106. A.ArgumentError.prototype = {
  42107. get$_errorName() {
  42108. return "Invalid argument" + (!this._hasValue ? "(s)" : "");
  42109. },
  42110. get$_errorExplanation() {
  42111. return "";
  42112. },
  42113. toString$0(_) {
  42114. var _this = this,
  42115. $name = _this.name,
  42116. nameString = $name == null ? "" : " (" + $name + ")",
  42117. message = _this.message,
  42118. messageString = message == null ? "" : ": " + A.S(message),
  42119. prefix = _this.get$_errorName() + nameString + messageString;
  42120. if (!_this._hasValue)
  42121. return prefix;
  42122. return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.get$invalidValue());
  42123. },
  42124. get$invalidValue() {
  42125. return this.invalidValue;
  42126. },
  42127. get$message(receiver) {
  42128. return this.message;
  42129. }
  42130. };
  42131. A.RangeError.prototype = {
  42132. get$invalidValue() {
  42133. return this.invalidValue;
  42134. },
  42135. get$_errorName() {
  42136. return "RangeError";
  42137. },
  42138. get$_errorExplanation() {
  42139. var explanation,
  42140. start = this.start,
  42141. end = this.end;
  42142. if (start == null)
  42143. explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
  42144. else if (end == null)
  42145. explanation = ": Not greater than or equal to " + A.S(start);
  42146. else if (end > start)
  42147. explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
  42148. else
  42149. explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
  42150. return explanation;
  42151. }
  42152. };
  42153. A.IndexError.prototype = {
  42154. get$invalidValue() {
  42155. return this.invalidValue;
  42156. },
  42157. get$_errorName() {
  42158. return "RangeError";
  42159. },
  42160. get$_errorExplanation() {
  42161. if (this.invalidValue < 0)
  42162. return ": index must not be negative";
  42163. var t1 = this.length;
  42164. if (t1 === 0)
  42165. return ": no indices are valid";
  42166. return ": index should be less than " + t1;
  42167. },
  42168. $isRangeError: 1,
  42169. get$length(receiver) {
  42170. return this.length;
  42171. }
  42172. };
  42173. A.NoSuchMethodError.prototype = {
  42174. toString$0(_) {
  42175. var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
  42176. sb = new A.StringBuffer("");
  42177. _box_0.comma = "";
  42178. $arguments = _this._core$_arguments;
  42179. for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
  42180. argument = $arguments[_i];
  42181. sb._contents = t2 + t3;
  42182. t2 = A.Error_safeToString(argument);
  42183. t2 = sb._contents += t2;
  42184. _box_0.comma = ", ";
  42185. }
  42186. _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
  42187. receiverText = A.Error_safeToString(_this._core$_receiver);
  42188. actualParameters = sb.toString$0(0);
  42189. return "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
  42190. }
  42191. };
  42192. A.UnsupportedError.prototype = {
  42193. toString$0(_) {
  42194. return "Unsupported operation: " + this.message;
  42195. },
  42196. get$message(receiver) {
  42197. return this.message;
  42198. }
  42199. };
  42200. A.UnimplementedError.prototype = {
  42201. toString$0(_) {
  42202. return "UnimplementedError: " + this.message;
  42203. },
  42204. get$message(receiver) {
  42205. return this.message;
  42206. }
  42207. };
  42208. A.StateError.prototype = {
  42209. toString$0(_) {
  42210. return "Bad state: " + this.message;
  42211. },
  42212. get$message(receiver) {
  42213. return this.message;
  42214. }
  42215. };
  42216. A.ConcurrentModificationError.prototype = {
  42217. toString$0(_) {
  42218. var t1 = this.modifiedObject;
  42219. if (t1 == null)
  42220. return "Concurrent modification during iteration.";
  42221. return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
  42222. }
  42223. };
  42224. A.OutOfMemoryError.prototype = {
  42225. toString$0(_) {
  42226. return "Out of Memory";
  42227. },
  42228. get$stackTrace() {
  42229. return null;
  42230. },
  42231. $isError: 1
  42232. };
  42233. A.StackOverflowError.prototype = {
  42234. toString$0(_) {
  42235. return "Stack Overflow";
  42236. },
  42237. get$stackTrace() {
  42238. return null;
  42239. },
  42240. $isError: 1
  42241. };
  42242. A._Exception.prototype = {
  42243. toString$0(_) {
  42244. return "Exception: " + this.message;
  42245. },
  42246. $isException: 1,
  42247. get$message(receiver) {
  42248. return this.message;
  42249. }
  42250. };
  42251. A.FormatException.prototype = {
  42252. toString$0(_) {
  42253. var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, prefix, postfix, end, start,
  42254. message = this.message,
  42255. report = "" !== message ? "FormatException: " + message : "FormatException",
  42256. offset = this.offset,
  42257. source = this.source;
  42258. if (typeof source == "string") {
  42259. if (offset != null)
  42260. t1 = offset < 0 || offset > source.length;
  42261. else
  42262. t1 = false;
  42263. if (t1)
  42264. offset = null;
  42265. if (offset == null) {
  42266. if (source.length > 78)
  42267. source = B.JSString_methods.substring$2(source, 0, 75) + "...";
  42268. return report + "\n" + source;
  42269. }
  42270. for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
  42271. char = source.charCodeAt(i);
  42272. if (char === 10) {
  42273. if (lineStart !== i || !previousCharWasCR)
  42274. ++lineNum;
  42275. lineStart = i + 1;
  42276. previousCharWasCR = false;
  42277. } else if (char === 13) {
  42278. ++lineNum;
  42279. lineStart = i + 1;
  42280. previousCharWasCR = true;
  42281. }
  42282. }
  42283. report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
  42284. lineEnd = source.length;
  42285. for (i = offset; i < lineEnd; ++i) {
  42286. char = source.charCodeAt(i);
  42287. if (char === 10 || char === 13) {
  42288. lineEnd = i;
  42289. break;
  42290. }
  42291. }
  42292. prefix = "";
  42293. if (lineEnd - lineStart > 78) {
  42294. postfix = "...";
  42295. if (offset - lineStart < 75) {
  42296. end = lineStart + 75;
  42297. start = lineStart;
  42298. } else {
  42299. if (lineEnd - offset < 75) {
  42300. start = lineEnd - 75;
  42301. end = lineEnd;
  42302. postfix = "";
  42303. } else {
  42304. start = offset - 36;
  42305. end = offset + 36;
  42306. }
  42307. prefix = "...";
  42308. }
  42309. } else {
  42310. end = lineEnd;
  42311. start = lineStart;
  42312. postfix = "";
  42313. }
  42314. return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
  42315. } else
  42316. return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
  42317. },
  42318. $isException: 1,
  42319. get$message(receiver) {
  42320. return this.message;
  42321. }
  42322. };
  42323. A.Iterable.prototype = {
  42324. cast$1$0(_, $R) {
  42325. return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
  42326. },
  42327. followedBy$1(_, other) {
  42328. var _this = this,
  42329. t1 = A._instanceType(_this);
  42330. if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this))
  42331. return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E"));
  42332. return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>"));
  42333. },
  42334. map$1$1(_, toElement, $T) {
  42335. return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
  42336. },
  42337. where$1(_, test) {
  42338. return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
  42339. },
  42340. expand$1$1(_, toElements, $T) {
  42341. return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  42342. },
  42343. contains$1(_, element) {
  42344. var t1;
  42345. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42346. if (J.$eq$(t1.get$current(t1), element))
  42347. return true;
  42348. return false;
  42349. },
  42350. forEach$1(_, action) {
  42351. var t1;
  42352. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42353. action.call$1(t1.get$current(t1));
  42354. },
  42355. fold$1$2(_, initialValue, combine) {
  42356. var t1, value;
  42357. for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
  42358. value = combine.call$2(value, t1.get$current(t1));
  42359. return value;
  42360. },
  42361. fold$2(_, initialValue, combine) {
  42362. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  42363. },
  42364. every$1(_, test) {
  42365. var t1;
  42366. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42367. if (!test.call$1(t1.get$current(t1)))
  42368. return false;
  42369. return true;
  42370. },
  42371. join$1(_, separator) {
  42372. var first, t1,
  42373. iterator = this.get$iterator(this);
  42374. if (!iterator.moveNext$0())
  42375. return "";
  42376. first = J.toString$0$(iterator.get$current(iterator));
  42377. if (!iterator.moveNext$0())
  42378. return first;
  42379. if (separator.length === 0) {
  42380. t1 = first;
  42381. do
  42382. t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
  42383. while (iterator.moveNext$0());
  42384. } else {
  42385. t1 = first;
  42386. do
  42387. t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
  42388. while (iterator.moveNext$0());
  42389. }
  42390. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42391. },
  42392. any$1(_, test) {
  42393. var t1;
  42394. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42395. if (test.call$1(t1.get$current(t1)))
  42396. return true;
  42397. return false;
  42398. },
  42399. toList$1$growable(_, growable) {
  42400. return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E"));
  42401. },
  42402. toList$0(_) {
  42403. return this.toList$1$growable(0, true);
  42404. },
  42405. toSet$0(_) {
  42406. return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
  42407. },
  42408. get$length(_) {
  42409. var count,
  42410. it = this.get$iterator(this);
  42411. for (count = 0; it.moveNext$0();)
  42412. ++count;
  42413. return count;
  42414. },
  42415. get$isEmpty(_) {
  42416. return !this.get$iterator(this).moveNext$0();
  42417. },
  42418. get$isNotEmpty(_) {
  42419. return !this.get$isEmpty(this);
  42420. },
  42421. take$1(_, count) {
  42422. return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  42423. },
  42424. skip$1(_, count) {
  42425. return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  42426. },
  42427. skipWhile$1(_, test) {
  42428. return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
  42429. },
  42430. get$first(_) {
  42431. var it = this.get$iterator(this);
  42432. if (!it.moveNext$0())
  42433. throw A.wrapException(A.IterableElementError_noElement());
  42434. return it.get$current(it);
  42435. },
  42436. get$last(_) {
  42437. var result,
  42438. it = this.get$iterator(this);
  42439. if (!it.moveNext$0())
  42440. throw A.wrapException(A.IterableElementError_noElement());
  42441. do
  42442. result = it.get$current(it);
  42443. while (it.moveNext$0());
  42444. return result;
  42445. },
  42446. get$single(_) {
  42447. var result,
  42448. it = this.get$iterator(this);
  42449. if (!it.moveNext$0())
  42450. throw A.wrapException(A.IterableElementError_noElement());
  42451. result = it.get$current(it);
  42452. if (it.moveNext$0())
  42453. throw A.wrapException(A.IterableElementError_tooMany());
  42454. return result;
  42455. },
  42456. elementAt$1(_, index) {
  42457. var iterator, skipCount;
  42458. A.RangeError_checkNotNegative(index, "index");
  42459. iterator = this.get$iterator(this);
  42460. for (skipCount = index; iterator.moveNext$0();) {
  42461. if (skipCount === 0)
  42462. return iterator.get$current(iterator);
  42463. --skipCount;
  42464. }
  42465. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  42466. },
  42467. toString$0(_) {
  42468. return A.Iterable_iterableToShortString(this, "(", ")");
  42469. }
  42470. };
  42471. A._GeneratorIterable.prototype = {
  42472. elementAt$1(_, index) {
  42473. A.IndexError_check(index, this.length, this, null, null);
  42474. return this._generator.call$1(index);
  42475. },
  42476. get$length(receiver) {
  42477. return this.length;
  42478. }
  42479. };
  42480. A.MapEntry.prototype = {
  42481. toString$0(_) {
  42482. return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
  42483. }
  42484. };
  42485. A.Null.prototype = {
  42486. get$hashCode(_) {
  42487. return A.Object.prototype.get$hashCode.call(this, 0);
  42488. },
  42489. toString$0(_) {
  42490. return "null";
  42491. }
  42492. };
  42493. A.Object.prototype = {$isObject: 1,
  42494. $eq(_, other) {
  42495. return this === other;
  42496. },
  42497. get$hashCode(_) {
  42498. return A.Primitives_objectHashCode(this);
  42499. },
  42500. toString$0(_) {
  42501. return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
  42502. },
  42503. noSuchMethod$1(_, invocation) {
  42504. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, invocation));
  42505. },
  42506. get$runtimeType(_) {
  42507. return A.getRuntimeTypeOfDartObject(this);
  42508. },
  42509. toString() {
  42510. return this.toString$0(this);
  42511. }
  42512. };
  42513. A._StringStackTrace.prototype = {
  42514. toString$0(_) {
  42515. return this._stackTrace;
  42516. },
  42517. $isStackTrace: 1
  42518. };
  42519. A.Runes.prototype = {
  42520. get$iterator(_) {
  42521. return new A.RuneIterator(this.string);
  42522. },
  42523. get$last(_) {
  42524. var code, previousCode,
  42525. t1 = this.string,
  42526. t2 = t1.length;
  42527. if (t2 === 0)
  42528. throw A.wrapException(A.StateError$("No elements."));
  42529. code = t1.charCodeAt(t2 - 1);
  42530. if ((code & 64512) === 56320 && t2 > 1) {
  42531. previousCode = t1.charCodeAt(t2 - 2);
  42532. if ((previousCode & 64512) === 55296)
  42533. return A._combineSurrogatePair(previousCode, code);
  42534. }
  42535. return code;
  42536. }
  42537. };
  42538. A.RuneIterator.prototype = {
  42539. get$current(_) {
  42540. return this._currentCodePoint;
  42541. },
  42542. moveNext$0() {
  42543. var codeUnit, nextPosition, nextCodeUnit, _this = this,
  42544. t1 = _this._position = _this._nextPosition,
  42545. t2 = _this.string,
  42546. t3 = t2.length;
  42547. if (t1 === t3) {
  42548. _this._currentCodePoint = -1;
  42549. return false;
  42550. }
  42551. codeUnit = t2.charCodeAt(t1);
  42552. nextPosition = t1 + 1;
  42553. if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
  42554. nextCodeUnit = t2.charCodeAt(nextPosition);
  42555. if ((nextCodeUnit & 64512) === 56320) {
  42556. _this._nextPosition = nextPosition + 1;
  42557. _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
  42558. return true;
  42559. }
  42560. }
  42561. _this._nextPosition = nextPosition;
  42562. _this._currentCodePoint = codeUnit;
  42563. return true;
  42564. }
  42565. };
  42566. A.StringBuffer.prototype = {
  42567. get$length(_) {
  42568. return this._contents.length;
  42569. },
  42570. write$1(_, obj) {
  42571. var t1 = A.S(obj);
  42572. this._contents += t1;
  42573. },
  42574. writeCharCode$1(charCode) {
  42575. var t1 = A.Primitives_stringFromCharCode(charCode);
  42576. this._contents += t1;
  42577. },
  42578. toString$0(_) {
  42579. var t1 = this._contents;
  42580. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42581. }
  42582. };
  42583. A.Uri__parseIPv4Address_error.prototype = {
  42584. call$2(msg, position) {
  42585. throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
  42586. },
  42587. $signature: 318
  42588. };
  42589. A.Uri_parseIPv6Address_error.prototype = {
  42590. call$2(msg, position) {
  42591. throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
  42592. },
  42593. $signature: 315
  42594. };
  42595. A.Uri_parseIPv6Address_parseHex.prototype = {
  42596. call$2(start, end) {
  42597. var value;
  42598. if (end - start > 4)
  42599. this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
  42600. value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
  42601. if (value < 0 || value > 65535)
  42602. this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
  42603. return value;
  42604. },
  42605. $signature: 297
  42606. };
  42607. A._Uri.prototype = {
  42608. get$_text() {
  42609. var t1, t2, t3, t4, _this = this,
  42610. value = _this.___Uri__text_FI;
  42611. if (value === $) {
  42612. t1 = _this.scheme;
  42613. t2 = t1.length !== 0 ? "" + t1 + ":" : "";
  42614. t3 = _this._host;
  42615. t4 = t3 == null;
  42616. if (!t4 || t1 === "file") {
  42617. t1 = t2 + "//";
  42618. t2 = _this._userInfo;
  42619. if (t2.length !== 0)
  42620. t1 = t1 + t2 + "@";
  42621. if (!t4)
  42622. t1 += t3;
  42623. t2 = _this._port;
  42624. if (t2 != null)
  42625. t1 = t1 + ":" + A.S(t2);
  42626. } else
  42627. t1 = t2;
  42628. t1 += _this.path;
  42629. t2 = _this._query;
  42630. if (t2 != null)
  42631. t1 = t1 + "?" + t2;
  42632. t2 = _this._fragment;
  42633. if (t2 != null)
  42634. t1 = t1 + "#" + t2;
  42635. value !== $ && A.throwUnnamedLateFieldADI();
  42636. value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1;
  42637. }
  42638. return value;
  42639. },
  42640. get$pathSegments() {
  42641. var pathToSplit, result, _this = this,
  42642. value = _this.___Uri_pathSegments_FI;
  42643. if (value === $) {
  42644. pathToSplit = _this.path;
  42645. if (pathToSplit.length !== 0 && pathToSplit.charCodeAt(0) === 47)
  42646. pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
  42647. 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);
  42648. _this.___Uri_pathSegments_FI !== $ && A.throwUnnamedLateFieldADI();
  42649. value = _this.___Uri_pathSegments_FI = result;
  42650. }
  42651. return value;
  42652. },
  42653. get$hashCode(_) {
  42654. var result, _this = this,
  42655. value = _this.___Uri_hashCode_FI;
  42656. if (value === $) {
  42657. result = B.JSString_methods.get$hashCode(_this.get$_text());
  42658. _this.___Uri_hashCode_FI !== $ && A.throwUnnamedLateFieldADI();
  42659. _this.___Uri_hashCode_FI = result;
  42660. value = result;
  42661. }
  42662. return value;
  42663. },
  42664. get$userInfo() {
  42665. return this._userInfo;
  42666. },
  42667. get$host() {
  42668. var host = this._host;
  42669. if (host == null)
  42670. return "";
  42671. if (B.JSString_methods.startsWith$1(host, "["))
  42672. return B.JSString_methods.substring$2(host, 1, host.length - 1);
  42673. return host;
  42674. },
  42675. get$port(_) {
  42676. var t1 = this._port;
  42677. return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
  42678. },
  42679. get$query() {
  42680. var t1 = this._query;
  42681. return t1 == null ? "" : t1;
  42682. },
  42683. get$fragment() {
  42684. var t1 = this._fragment;
  42685. return t1 == null ? "" : t1;
  42686. },
  42687. isScheme$1(scheme) {
  42688. var thisScheme = this.scheme;
  42689. if (scheme.length !== thisScheme.length)
  42690. return false;
  42691. return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;
  42692. },
  42693. replace$1$scheme(scheme) {
  42694. var isFile, userInfo, port, host, currentPath, t1, path, _this = this;
  42695. scheme = A._Uri__makeScheme(scheme, 0, scheme.length);
  42696. isFile = scheme === "file";
  42697. userInfo = _this._userInfo;
  42698. port = _this._port;
  42699. if (scheme !== _this.scheme)
  42700. port = A._Uri__makePort(port, scheme);
  42701. host = _this._host;
  42702. if (!(host != null))
  42703. host = userInfo.length !== 0 || port != null || isFile ? "" : null;
  42704. currentPath = _this.path;
  42705. if (!isFile)
  42706. t1 = host != null && currentPath.length !== 0;
  42707. else
  42708. t1 = true;
  42709. if (t1 && !B.JSString_methods.startsWith$1(currentPath, "/"))
  42710. currentPath = "/" + currentPath;
  42711. path = currentPath;
  42712. return A._Uri$_internal(scheme, userInfo, host, port, path, _this._query, _this._fragment);
  42713. },
  42714. _mergePaths$2(base, reference) {
  42715. var backCount, refStart, baseEnd, newEnd, delta, t1, t2;
  42716. for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
  42717. refStart += 3;
  42718. ++backCount;
  42719. }
  42720. baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
  42721. while (true) {
  42722. if (!(baseEnd > 0 && backCount > 0))
  42723. break;
  42724. newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
  42725. if (newEnd < 0)
  42726. break;
  42727. delta = baseEnd - newEnd;
  42728. t1 = delta !== 2;
  42729. t2 = false;
  42730. if (!t1 || delta === 3)
  42731. if (base.charCodeAt(newEnd + 1) === 46)
  42732. t1 = !t1 || base.charCodeAt(newEnd + 2) === 46;
  42733. else
  42734. t1 = t2;
  42735. else
  42736. t1 = t2;
  42737. if (t1)
  42738. break;
  42739. --backCount;
  42740. baseEnd = newEnd;
  42741. }
  42742. return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
  42743. },
  42744. resolve$1(_, reference) {
  42745. return this.resolveUri$1(A.Uri_parse(reference));
  42746. },
  42747. resolveUri$1(reference) {
  42748. var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, split, packageNameEnd, packageName, mergedPath, t1, fragment, _this = this, _null = null;
  42749. if (reference.get$scheme().length !== 0) {
  42750. if (type$._PlatformUri._is(reference))
  42751. return reference;
  42752. targetScheme = reference.get$scheme();
  42753. if (reference.get$hasAuthority()) {
  42754. targetUserInfo = reference.get$userInfo();
  42755. targetHost = reference.get$host();
  42756. targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
  42757. } else {
  42758. targetPort = _null;
  42759. targetHost = targetPort;
  42760. targetUserInfo = "";
  42761. }
  42762. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  42763. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  42764. split = 0;
  42765. } else {
  42766. targetScheme = _this.scheme;
  42767. if (reference.get$hasAuthority()) {
  42768. if (type$._PlatformUri._is(reference))
  42769. return reference.replace$1$scheme(targetScheme);
  42770. targetUserInfo = reference.get$userInfo();
  42771. targetHost = reference.get$host();
  42772. targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
  42773. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  42774. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  42775. split = 1;
  42776. } else {
  42777. targetUserInfo = _this._userInfo;
  42778. targetHost = _this._host;
  42779. targetPort = _this._port;
  42780. targetPath = _this.path;
  42781. if (reference.get$hasEmptyPath())
  42782. if (reference.get$hasQuery()) {
  42783. targetQuery = reference.get$query();
  42784. split = 3;
  42785. } else {
  42786. targetQuery = _this._query;
  42787. split = 4;
  42788. }
  42789. else {
  42790. packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
  42791. if (packageNameEnd > 0) {
  42792. packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
  42793. 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)));
  42794. } else if (reference.get$hasAbsolutePath())
  42795. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  42796. else if (targetPath.length === 0)
  42797. if (targetHost == null)
  42798. targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
  42799. else
  42800. targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
  42801. else {
  42802. mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
  42803. t1 = targetScheme.length === 0;
  42804. if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
  42805. targetPath = A._Uri__removeDotSegments(mergedPath);
  42806. else
  42807. targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
  42808. }
  42809. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  42810. split = 2;
  42811. }
  42812. }
  42813. }
  42814. fragment = reference.get$hasFragment() ? reference.get$fragment() : _null;
  42815. if (!type$._PlatformUri._is(reference)) {
  42816. if (split === 0)
  42817. targetScheme = A._Uri__makeScheme(targetScheme, 0, targetScheme.length);
  42818. if (split <= 1) {
  42819. targetUserInfo = A._Uri__makeUserInfo(targetUserInfo, 0, targetUserInfo.length);
  42820. if (targetPort != null)
  42821. targetPort = A._Uri__makePort(targetPort, targetScheme);
  42822. if (targetHost != null && targetHost.length !== 0)
  42823. targetHost = A._Uri__makeHost(targetHost, 0, targetHost.length, false);
  42824. }
  42825. t1 = split <= 3;
  42826. if (t1)
  42827. targetPath = A._Uri__makePath(targetPath, 0, targetPath.length, _null, targetScheme, targetHost != null);
  42828. if (t1 && targetQuery != null)
  42829. targetQuery = A._Uri__makeQuery(targetQuery, 0, targetQuery.length, _null);
  42830. if (fragment != null)
  42831. fragment = A._Uri__makeFragment(fragment, 0, fragment.length);
  42832. }
  42833. return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, fragment);
  42834. },
  42835. get$hasAuthority() {
  42836. return this._host != null;
  42837. },
  42838. get$hasPort() {
  42839. return this._port != null;
  42840. },
  42841. get$hasQuery() {
  42842. return this._query != null;
  42843. },
  42844. get$hasFragment() {
  42845. return this._fragment != null;
  42846. },
  42847. get$hasEmptyPath() {
  42848. return this.path.length === 0;
  42849. },
  42850. get$hasAbsolutePath() {
  42851. return B.JSString_methods.startsWith$1(this.path, "/");
  42852. },
  42853. toFilePath$0() {
  42854. var pathSegments, _this = this,
  42855. t1 = _this.scheme;
  42856. if (t1 !== "" && t1 !== "file")
  42857. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
  42858. t1 = _this._query;
  42859. if ((t1 == null ? "" : t1) !== "")
  42860. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  42861. t1 = _this._fragment;
  42862. if ((t1 == null ? "" : t1) !== "")
  42863. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  42864. t1 = $.$get$_Uri__isWindowsCached();
  42865. if (t1)
  42866. t1 = A._Uri__toWindowsFilePath(_this);
  42867. else {
  42868. if (_this._host != null && _this.get$host() !== "")
  42869. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  42870. pathSegments = _this.get$pathSegments();
  42871. A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
  42872. t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
  42873. t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
  42874. }
  42875. return t1;
  42876. },
  42877. toString$0(_) {
  42878. return this.get$_text();
  42879. },
  42880. $eq(_, other) {
  42881. var t1, t2, t3, _this = this;
  42882. if (other == null)
  42883. return false;
  42884. if (_this === other)
  42885. return true;
  42886. t1 = false;
  42887. if (type$.Uri._is(other))
  42888. if (_this.scheme === other.get$scheme())
  42889. if (_this._host != null === other.get$hasAuthority())
  42890. if (_this._userInfo === other.get$userInfo())
  42891. if (_this.get$host() === other.get$host())
  42892. if (_this.get$port(0) === other.get$port(other))
  42893. if (_this.path === other.get$path(other)) {
  42894. t2 = _this._query;
  42895. t3 = t2 == null;
  42896. if (!t3 === other.get$hasQuery()) {
  42897. if (t3)
  42898. t2 = "";
  42899. if (t2 === other.get$query()) {
  42900. t2 = _this._fragment;
  42901. t3 = t2 == null;
  42902. if (!t3 === other.get$hasFragment()) {
  42903. t1 = t3 ? "" : t2;
  42904. t1 = t1 === other.get$fragment();
  42905. }
  42906. }
  42907. }
  42908. }
  42909. return t1;
  42910. },
  42911. $isUri: 1,
  42912. $is_PlatformUri: 1,
  42913. get$scheme() {
  42914. return this.scheme;
  42915. },
  42916. get$path(receiver) {
  42917. return this.path;
  42918. }
  42919. };
  42920. A._Uri__makePath_closure.prototype = {
  42921. call$1(s) {
  42922. return A._Uri__uriEncode(64, s, B.C_Utf8Codec, false);
  42923. },
  42924. $signature: 6
  42925. };
  42926. A.UriData.prototype = {
  42927. get$uri() {
  42928. var t2, queryIndex, end, query, _this = this, _null = null,
  42929. t1 = _this._uriCache;
  42930. if (t1 == null) {
  42931. t1 = _this._text;
  42932. t2 = _this._separatorIndices[0] + 1;
  42933. queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
  42934. end = t1.length;
  42935. if (queryIndex >= 0) {
  42936. query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, 256, false, false);
  42937. end = queryIndex;
  42938. } else
  42939. query = _null;
  42940. t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, 128, false, false), query, _null);
  42941. }
  42942. return t1;
  42943. },
  42944. toString$0(_) {
  42945. var t1 = this._text;
  42946. return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
  42947. }
  42948. };
  42949. A._SimpleUri.prototype = {
  42950. get$hasAuthority() {
  42951. return this._hostStart > 0;
  42952. },
  42953. get$hasPort() {
  42954. return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
  42955. },
  42956. get$hasQuery() {
  42957. return this._queryStart < this._fragmentStart;
  42958. },
  42959. get$hasFragment() {
  42960. return this._fragmentStart < this._uri.length;
  42961. },
  42962. get$hasAbsolutePath() {
  42963. return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
  42964. },
  42965. get$hasEmptyPath() {
  42966. return this._pathStart === this._queryStart;
  42967. },
  42968. get$scheme() {
  42969. var t1 = this._schemeCache;
  42970. return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
  42971. },
  42972. _computeScheme$0() {
  42973. var t2, _this = this,
  42974. t1 = _this._schemeEnd;
  42975. if (t1 <= 0)
  42976. return "";
  42977. t2 = t1 === 4;
  42978. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  42979. return "http";
  42980. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  42981. return "https";
  42982. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
  42983. return "file";
  42984. if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
  42985. return "package";
  42986. return B.JSString_methods.substring$2(_this._uri, 0, t1);
  42987. },
  42988. get$userInfo() {
  42989. var t1 = this._hostStart,
  42990. t2 = this._schemeEnd + 3;
  42991. return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
  42992. },
  42993. get$host() {
  42994. var t1 = this._hostStart;
  42995. return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
  42996. },
  42997. get$port(_) {
  42998. var t1, _this = this;
  42999. if (_this.get$hasPort())
  43000. return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
  43001. t1 = _this._schemeEnd;
  43002. if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  43003. return 80;
  43004. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  43005. return 443;
  43006. return 0;
  43007. },
  43008. get$path(_) {
  43009. return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
  43010. },
  43011. get$query() {
  43012. var t1 = this._queryStart,
  43013. t2 = this._fragmentStart;
  43014. return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
  43015. },
  43016. get$fragment() {
  43017. var t1 = this._fragmentStart,
  43018. t2 = this._uri;
  43019. return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
  43020. },
  43021. get$pathSegments() {
  43022. var parts, i,
  43023. start = this._pathStart,
  43024. end = this._queryStart,
  43025. t1 = this._uri;
  43026. if (B.JSString_methods.startsWith$2(t1, "/", start))
  43027. ++start;
  43028. if (start === end)
  43029. return B.List_empty;
  43030. parts = A._setArrayType([], type$.JSArray_String);
  43031. for (i = start; i < end; ++i)
  43032. if (t1.charCodeAt(i) === 47) {
  43033. parts.push(B.JSString_methods.substring$2(t1, start, i));
  43034. start = i + 1;
  43035. }
  43036. parts.push(B.JSString_methods.substring$2(t1, start, end));
  43037. return A.List_List$unmodifiable(parts, type$.String);
  43038. },
  43039. _isPort$1(port) {
  43040. var portDigitStart = this._portStart + 1;
  43041. return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
  43042. },
  43043. removeFragment$0() {
  43044. var _this = this,
  43045. t1 = _this._fragmentStart,
  43046. t2 = _this._uri;
  43047. if (t1 >= t2.length)
  43048. return _this;
  43049. 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);
  43050. },
  43051. replace$1$scheme(scheme) {
  43052. var schemeChanged, isFile, t1, userInfo, port, host, t2, path, t3, query, fragment, _this = this, _null = null;
  43053. scheme = A._Uri__makeScheme(scheme, 0, scheme.length);
  43054. schemeChanged = !(_this._schemeEnd === scheme.length && B.JSString_methods.startsWith$1(_this._uri, scheme));
  43055. isFile = scheme === "file";
  43056. t1 = _this._hostStart;
  43057. userInfo = t1 > 0 ? B.JSString_methods.substring$2(_this._uri, _this._schemeEnd + 3, t1) : "";
  43058. port = _this.get$hasPort() ? _this.get$port(0) : _null;
  43059. if (schemeChanged)
  43060. port = A._Uri__makePort(port, scheme);
  43061. t1 = _this._hostStart;
  43062. if (t1 > 0)
  43063. host = B.JSString_methods.substring$2(_this._uri, t1, _this._portStart);
  43064. else
  43065. host = userInfo.length !== 0 || port != null || isFile ? "" : _null;
  43066. t1 = _this._uri;
  43067. t2 = _this._queryStart;
  43068. path = B.JSString_methods.substring$2(t1, _this._pathStart, t2);
  43069. if (!isFile)
  43070. t3 = host != null && path.length !== 0;
  43071. else
  43072. t3 = true;
  43073. if (t3 && !B.JSString_methods.startsWith$1(path, "/"))
  43074. path = "/" + path;
  43075. t3 = _this._fragmentStart;
  43076. query = t2 < t3 ? B.JSString_methods.substring$2(t1, t2 + 1, t3) : _null;
  43077. t2 = _this._fragmentStart;
  43078. fragment = t2 < t1.length ? B.JSString_methods.substring$1(t1, t2 + 1) : _null;
  43079. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragment);
  43080. },
  43081. resolve$1(_, reference) {
  43082. return this.resolveUri$1(A.Uri_parse(reference));
  43083. },
  43084. resolveUri$1(reference) {
  43085. if (reference instanceof A._SimpleUri)
  43086. return this._simpleMerge$2(this, reference);
  43087. return this._toNonSimple$0().resolveUri$1(reference);
  43088. },
  43089. _simpleMerge$2(base, ref) {
  43090. var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
  43091. t1 = ref._schemeEnd;
  43092. if (t1 > 0)
  43093. return ref;
  43094. t2 = ref._hostStart;
  43095. if (t2 > 0) {
  43096. t3 = base._schemeEnd;
  43097. if (t3 <= 0)
  43098. return ref;
  43099. t4 = t3 === 4;
  43100. if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
  43101. isSimple = ref._pathStart !== ref._queryStart;
  43102. else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
  43103. isSimple = !ref._isPort$1("80");
  43104. else
  43105. isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
  43106. if (isSimple) {
  43107. delta = t3 + 1;
  43108. 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);
  43109. } else
  43110. return this._toNonSimple$0().resolveUri$1(ref);
  43111. }
  43112. refStart = ref._pathStart;
  43113. t1 = ref._queryStart;
  43114. if (refStart === t1) {
  43115. t2 = ref._fragmentStart;
  43116. if (t1 < t2) {
  43117. t3 = base._queryStart;
  43118. delta = t3 - t1;
  43119. 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);
  43120. }
  43121. t1 = ref._uri;
  43122. if (t2 < t1.length) {
  43123. t3 = base._fragmentStart;
  43124. 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);
  43125. }
  43126. return base.removeFragment$0();
  43127. }
  43128. t2 = ref._uri;
  43129. if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
  43130. basePathStart = base._pathStart;
  43131. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  43132. basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
  43133. delta = basePathStart0 - refStart;
  43134. 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);
  43135. }
  43136. baseStart = base._pathStart;
  43137. baseEnd = base._queryStart;
  43138. if (baseStart === baseEnd && base._hostStart > 0) {
  43139. for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
  43140. refStart += 3;
  43141. delta = baseStart - refStart + 1;
  43142. 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);
  43143. }
  43144. baseUri = base._uri;
  43145. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  43146. if (packageNameEnd >= 0)
  43147. baseStart0 = packageNameEnd;
  43148. else
  43149. for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
  43150. baseStart0 += 3;
  43151. backCount = 0;
  43152. while (true) {
  43153. refStart0 = refStart + 3;
  43154. if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
  43155. break;
  43156. ++backCount;
  43157. refStart = refStart0;
  43158. }
  43159. for (insert = ""; baseEnd > baseStart0;) {
  43160. --baseEnd;
  43161. if (baseUri.charCodeAt(baseEnd) === 47) {
  43162. if (backCount === 0) {
  43163. insert = "/";
  43164. break;
  43165. }
  43166. --backCount;
  43167. insert = "/";
  43168. }
  43169. }
  43170. if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
  43171. refStart -= backCount * 3;
  43172. insert = "";
  43173. }
  43174. delta = baseEnd - refStart + insert.length;
  43175. 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);
  43176. },
  43177. toFilePath$0() {
  43178. var t2, t3, _this = this,
  43179. t1 = _this._schemeEnd;
  43180. if (t1 >= 0) {
  43181. t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
  43182. t1 = t2;
  43183. } else
  43184. t1 = false;
  43185. if (t1)
  43186. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
  43187. t1 = _this._queryStart;
  43188. t2 = _this._uri;
  43189. if (t1 < t2.length) {
  43190. if (t1 < _this._fragmentStart)
  43191. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  43192. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  43193. }
  43194. t3 = $.$get$_Uri__isWindowsCached();
  43195. if (t3)
  43196. t1 = A._Uri__toWindowsFilePath(_this);
  43197. else {
  43198. if (_this._hostStart < _this._portStart)
  43199. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  43200. t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
  43201. }
  43202. return t1;
  43203. },
  43204. get$hashCode(_) {
  43205. var t1 = this._hashCodeCache;
  43206. return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
  43207. },
  43208. $eq(_, other) {
  43209. if (other == null)
  43210. return false;
  43211. if (this === other)
  43212. return true;
  43213. return type$.Uri._is(other) && this._uri === other.toString$0(0);
  43214. },
  43215. _toNonSimple$0() {
  43216. var _this = this, _null = null,
  43217. t1 = _this.get$scheme(),
  43218. t2 = _this.get$userInfo(),
  43219. t3 = _this._hostStart > 0 ? _this.get$host() : _null,
  43220. t4 = _this.get$hasPort() ? _this.get$port(0) : _null,
  43221. t5 = _this._uri,
  43222. t6 = _this._queryStart,
  43223. t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
  43224. t8 = _this._fragmentStart;
  43225. t6 = t6 < t8 ? _this.get$query() : _null;
  43226. return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
  43227. },
  43228. toString$0(_) {
  43229. return this._uri;
  43230. },
  43231. $isUri: 1,
  43232. $is_PlatformUri: 1
  43233. };
  43234. A._DataUri.prototype = {};
  43235. A.Expando.prototype = {
  43236. $indexSet(_, object, value) {
  43237. if (object instanceof A._Record)
  43238. A.Expando__badExpandoKey(object);
  43239. this._jsWeakMap.set(object, value);
  43240. },
  43241. toString$0(_) {
  43242. return "Expando:null";
  43243. }
  43244. };
  43245. A.jsify__convert.prototype = {
  43246. call$1(o) {
  43247. var t1, convertedMap, key, convertedList;
  43248. if (A._noJsifyRequired(o))
  43249. return o;
  43250. t1 = this._convertedObjects;
  43251. if (t1.containsKey$1(o))
  43252. return t1.$index(0, o);
  43253. if (type$.Map_of_nullable_Object_and_nullable_Object._is(o)) {
  43254. convertedMap = {};
  43255. t1.$indexSet(0, o, convertedMap);
  43256. for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
  43257. key = t1.get$current(t1);
  43258. convertedMap[key] = this.call$1(o.$index(0, key));
  43259. }
  43260. return convertedMap;
  43261. } else if (type$.Iterable_nullable_Object._is(o)) {
  43262. convertedList = [];
  43263. t1.$indexSet(0, o, convertedList);
  43264. B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
  43265. return convertedList;
  43266. } else
  43267. return o;
  43268. },
  43269. $signature: 334
  43270. };
  43271. A.promiseToFuture_closure.prototype = {
  43272. call$1(r) {
  43273. return this.completer.complete$1(r);
  43274. },
  43275. $signature: 68
  43276. };
  43277. A.promiseToFuture_closure0.prototype = {
  43278. call$1(e) {
  43279. if (e == null)
  43280. return this.completer.completeError$1(new A.NullRejectionException(e === undefined));
  43281. return this.completer.completeError$1(e);
  43282. },
  43283. $signature: 68
  43284. };
  43285. A.NullRejectionException.prototype = {
  43286. toString$0(_) {
  43287. return "Promise was rejected with a value of `" + (this.isUndefined ? "undefined" : "null") + "`.";
  43288. },
  43289. $isException: 1
  43290. };
  43291. A._JSRandom.prototype = {
  43292. nextInt$1(max) {
  43293. if (max <= 0 || max > 4294967296)
  43294. throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
  43295. return Math.random() * max >>> 0;
  43296. },
  43297. nextDouble$0() {
  43298. return Math.random();
  43299. }
  43300. };
  43301. A.ArgParser.prototype = {
  43302. addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
  43303. var _null = null;
  43304. this._addOption$12$aliases$hide$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_tI9, B.List_empty, hide, negatable);
  43305. },
  43306. addFlag$2$hide($name, hide) {
  43307. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
  43308. },
  43309. addFlag$2$help($name, help) {
  43310. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
  43311. },
  43312. addFlag$3$defaultsTo$help($name, defaultsTo, help) {
  43313. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
  43314. },
  43315. addFlag$3$help$negatable($name, help, negatable) {
  43316. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
  43317. },
  43318. addFlag$3$abbr$help($name, abbr, help) {
  43319. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
  43320. },
  43321. addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
  43322. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
  43323. },
  43324. addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
  43325. this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_zZK, B.List_empty, hide, false);
  43326. },
  43327. addOption$2$hide($name, hide) {
  43328. var _null = null;
  43329. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, _null, _null, _null, _null, hide, _null);
  43330. },
  43331. addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
  43332. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
  43333. },
  43334. addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
  43335. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
  43336. },
  43337. addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, splitCommas, valueHelp) {
  43338. var t1 = A._setArrayType([], type$.JSArray_String);
  43339. this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, t1, null, B.OptionType_1Ol, B.List_empty, false, splitCommas);
  43340. },
  43341. addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
  43342. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, null, null, help, splitCommas, valueHelp);
  43343. },
  43344. addMultiOption$6$abbr$allowed$allowedHelp$help$valueHelp($name, abbr, allowed, allowedHelp, help, valueHelp) {
  43345. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, true, valueHelp);
  43346. },
  43347. addMultiOption$2$help($name, help) {
  43348. var _null = null;
  43349. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, _null, _null, _null, help, true, _null);
  43350. },
  43351. _addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, negatable, splitCommas) {
  43352. var existing, t2, t3, option, _i, _this = this, _null = null,
  43353. t1 = A._setArrayType([$name], type$.JSArray_String);
  43354. B.JSArray_methods.addAll$1(t1, aliases);
  43355. if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
  43356. throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
  43357. t1 = abbr != null;
  43358. if (t1) {
  43359. existing = _this.findByAbbreviation$1(abbr);
  43360. if (existing != null)
  43361. throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
  43362. }
  43363. t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
  43364. if (allowedHelp == null)
  43365. t3 = _null;
  43366. else {
  43367. t3 = type$.String;
  43368. t3 = A.ConstantMap_ConstantMap$from(allowedHelp, t3, t3);
  43369. }
  43370. option = new A.Option($name, abbr, help, valueHelp, t2, t3, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_1Ol : splitCommas, false, hide);
  43371. if ($name.length === 0)
  43372. A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
  43373. else if (B.JSString_methods.startsWith$1($name, "-"))
  43374. A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
  43375. t2 = $.$get$Option__invalidChars()._nativeRegExp;
  43376. if (t2.test($name))
  43377. A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
  43378. if (t1) {
  43379. if (abbr.length !== 1)
  43380. A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
  43381. else if (abbr === "-")
  43382. A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
  43383. if (t2.test(abbr))
  43384. A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
  43385. }
  43386. _this._arg_parser$_options.$indexSet(0, $name, option);
  43387. _this._optionsAndSeparators.push(option);
  43388. for (t1 = _this._aliases, _i = 0; false; ++_i)
  43389. t1.$indexSet(0, aliases[_i], $name);
  43390. },
  43391. _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
  43392. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, splitCommas);
  43393. },
  43394. _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
  43395. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, false, null);
  43396. },
  43397. _addOption$12$aliases$hide$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, negatable) {
  43398. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, negatable, null);
  43399. },
  43400. findByAbbreviation$1(abbr) {
  43401. var t1, t2;
  43402. for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  43403. t2 = t1.get$current(t1);
  43404. if (t2.abbr === abbr)
  43405. return t2;
  43406. }
  43407. return null;
  43408. },
  43409. findByNameOrAlias$1($name) {
  43410. var t1 = this._aliases.$index(0, $name);
  43411. if (t1 == null)
  43412. t1 = $name;
  43413. return this.options._map.$index(0, t1);
  43414. }
  43415. };
  43416. A.ArgParser__addOption_closure.prototype = {
  43417. call$1($name) {
  43418. return this.$this.findByNameOrAlias$1($name) != null;
  43419. },
  43420. $signature: 5
  43421. };
  43422. A.ArgParserException.prototype = {};
  43423. A.ArgResults.prototype = {
  43424. $index(_, $name) {
  43425. var t1 = this._parser.options._map;
  43426. if (!t1.containsKey$1($name))
  43427. throw A.wrapException(A.ArgumentError$('Could not find an option named "--' + $name + '".', null));
  43428. t1 = t1.$index(0, $name);
  43429. t1.toString;
  43430. return t1.valueOrDefault$1(this._parsed.$index(0, $name));
  43431. },
  43432. wasParsed$1($name) {
  43433. if (!this._parser.options._map.containsKey$1($name))
  43434. throw A.wrapException(A.ArgumentError$('Could not find an option named "--' + $name + '".', null));
  43435. return this._parsed.containsKey$1($name);
  43436. }
  43437. };
  43438. A.Option.prototype = {
  43439. valueOrDefault$1(value) {
  43440. var t1;
  43441. if (value != null)
  43442. return value;
  43443. if (this.type === B.OptionType_1Ol) {
  43444. t1 = this.defaultsTo;
  43445. return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
  43446. }
  43447. return this.defaultsTo;
  43448. }
  43449. };
  43450. A.OptionType.prototype = {};
  43451. A.Parser0.prototype = {
  43452. parse$0(_) {
  43453. var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, t7, t8, command, exception, _this = this,
  43454. t2 = _this._args;
  43455. t2.toList$0(0);
  43456. commandResults = null;
  43457. for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands, t6 = t2.$ti._precomputed1; !t2.get$isEmpty(0);) {
  43458. t7 = t2._head;
  43459. if (t7 === t2._tail)
  43460. A.throwExpression(A.IterableElementError_noElement());
  43461. t7 = t2._table[t7];
  43462. t8 = t7 == null;
  43463. if ((t8 ? t6._as(t7) : t7) === "--") {
  43464. t2.removeFirst$0();
  43465. break;
  43466. }
  43467. if (t8)
  43468. t7 = t6._as(t7);
  43469. command = t5._map.$index(0, t7);
  43470. if (command != null) {
  43471. t5 = t3.length;
  43472. t7 = t2._head;
  43473. if (t7 === t2._tail)
  43474. A.throwExpression(A.IterableElementError_noElement());
  43475. t7 = t2._table[t7];
  43476. t6 = t7 == null ? t6._as(t7) : t7;
  43477. if (t5 !== 0)
  43478. A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null, t6, null, null));
  43479. commandName = t2.removeFirst$0();
  43480. t5 = type$.JSArray_String;
  43481. t6 = A._setArrayType([], t5);
  43482. B.JSArray_methods.addAll$1(t6, t3);
  43483. commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  43484. try {
  43485. commandResults = J.parse$0$z(commandParser);
  43486. } catch (exception) {
  43487. t2 = A.unwrapException(exception);
  43488. if (t2 instanceof A.ArgParserException) {
  43489. error = t2;
  43490. t2 = error.message;
  43491. t1 = A._setArrayType([commandName], t5);
  43492. J.addAll$1$ax(t1, error.commands);
  43493. throw A.wrapException(A.ArgParserException$(t2, t1, error.argumentName, error.source, error.offset));
  43494. } else
  43495. throw exception;
  43496. }
  43497. B.JSArray_methods.clear$0(t3);
  43498. break;
  43499. }
  43500. if (_this._parseSoloOption$0())
  43501. continue;
  43502. if (_this._parseAbbreviation$1(_this))
  43503. continue;
  43504. if (_this._parseLongOption$0())
  43505. continue;
  43506. t3.push(t2.removeFirst$0());
  43507. }
  43508. t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
  43509. B.JSArray_methods.addAll$1(t3, t2);
  43510. t2.clear$0(0);
  43511. return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
  43512. },
  43513. _readNextArgAsValue$2(option, arg) {
  43514. var _this = this,
  43515. t1 = _this._args;
  43516. _this._validate$3(!t1.get$isEmpty(0), 'Missing argument for "' + arg + '".', arg);
  43517. _this._setOption$4(_this._results, option, t1.get$first(0), arg);
  43518. t1.removeFirst$0();
  43519. },
  43520. _parseSoloOption$0() {
  43521. var opt,
  43522. t1 = this._args;
  43523. if (t1.get$first(0).length !== 2)
  43524. return false;
  43525. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  43526. return false;
  43527. opt = t1.get$first(0)[1];
  43528. if (!A._isLetterOrDigit(opt.charCodeAt(0)))
  43529. return false;
  43530. this._handleSoloOption$1(opt);
  43531. return true;
  43532. },
  43533. _handleSoloOption$1(opt) {
  43534. var t1, _this = this,
  43535. option = _this._grammar.findByAbbreviation$1(opt);
  43536. if (option == null) {
  43537. t1 = _this._parser$_parent;
  43538. _this._validate$3(t1 != null, 'Could not find an option or flag "-' + opt + '".', "-" + opt);
  43539. t1._handleSoloOption$1(opt);
  43540. return true;
  43541. }
  43542. _this._args.removeFirst$0();
  43543. if (option.type === B.OptionType_tI9)
  43544. _this._results.$indexSet(0, option.name, true);
  43545. else
  43546. _this._readNextArgAsValue$2(option, "-" + opt);
  43547. return true;
  43548. },
  43549. _parseAbbreviation$1(innermostCommand) {
  43550. var t2, index, t3, t4, t5, lettersAndDigits, rest,
  43551. t1 = this._args;
  43552. if (t1.get$first(0).length < 2)
  43553. return false;
  43554. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  43555. return false;
  43556. t2 = t1.$ti._precomputed1;
  43557. index = 1;
  43558. while (true) {
  43559. t3 = t1._head;
  43560. if (t3 === t1._tail)
  43561. A.throwExpression(A.IterableElementError_noElement());
  43562. t3 = t1._table[t3];
  43563. t4 = t3 == null;
  43564. if (index < (t4 ? t2._as(t3) : t3).length) {
  43565. t5 = true;
  43566. t3 = (t4 ? t2._as(t3) : t3).charCodeAt(index);
  43567. if (!(t3 >= 65 && t3 <= 90))
  43568. if (!(t3 >= 97 && t3 <= 122))
  43569. t3 = t3 >= 48 && t3 <= 57;
  43570. else
  43571. t3 = t5;
  43572. else
  43573. t3 = t5;
  43574. } else
  43575. t3 = false;
  43576. if (!t3)
  43577. break;
  43578. ++index;
  43579. }
  43580. if (index === 1)
  43581. return false;
  43582. lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(0), 1, index);
  43583. rest = B.JSString_methods.substring$1(t1.get$first(0), index);
  43584. if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
  43585. return false;
  43586. this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  43587. return true;
  43588. },
  43589. _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
  43590. var t1, i, i0, _this = this,
  43591. c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
  43592. first = _this._grammar.findByAbbreviation$1(c);
  43593. if (first == null) {
  43594. t1 = _this._parser$_parent;
  43595. _this._validate$3(t1 != null, string$.Could_ + c + '".', "-" + c);
  43596. t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  43597. return true;
  43598. } else {
  43599. t1 = "-" + c;
  43600. if (first.type !== B.OptionType_tI9)
  43601. _this._setOption$4(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest, t1);
  43602. else {
  43603. _this._validate$3(rest === "", 'Option "-' + c + '" is a flag and cannot handle value "' + B.JSString_methods.substring$1(lettersAndDigits, 1) + rest + '".', t1);
  43604. for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
  43605. i0 = i + 1;
  43606. innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
  43607. }
  43608. }
  43609. }
  43610. _this._args.removeFirst$0();
  43611. return true;
  43612. },
  43613. _parseShortFlag$1(c) {
  43614. var t1, _this = this,
  43615. option = _this._grammar.findByAbbreviation$1(c);
  43616. if (option == null) {
  43617. t1 = _this._parser$_parent;
  43618. _this._validate$3(t1 != null, string$.Could_ + c + '".', "-" + c);
  43619. t1._parseShortFlag$1(c);
  43620. return;
  43621. }
  43622. _this._validate$3(option.type === B.OptionType_tI9, 'Option "-' + c + '" must be a flag to be in a collapsed "-".', "-" + c);
  43623. _this._results.$indexSet(0, option.name, true);
  43624. },
  43625. _parseLongOption$0() {
  43626. var index, t2, $name, t3, i, t4, t5, value,
  43627. t1 = this._args;
  43628. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "--"))
  43629. return false;
  43630. index = B.JSString_methods.indexOf$1(t1.get$first(0), "=");
  43631. t2 = index === -1;
  43632. $name = t2 ? B.JSString_methods.substring$1(t1.get$first(0), 2) : B.JSString_methods.substring$2(t1.get$first(0), 2, index);
  43633. for (t3 = $name.length, i = 0; i !== t3; ++i) {
  43634. t4 = $name.charCodeAt(i);
  43635. t5 = true;
  43636. if (!(t4 >= 65 && t4 <= 90))
  43637. if (!(t4 >= 97 && t4 <= 122))
  43638. t5 = t4 >= 48 && t4 <= 57;
  43639. if (!(t5 || t4 === 45 || t4 === 95))
  43640. return false;
  43641. }
  43642. value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(0), index + 1);
  43643. if (value != null)
  43644. t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
  43645. else
  43646. t1 = false;
  43647. if (t1)
  43648. return false;
  43649. this._handleLongOption$2($name, value);
  43650. return true;
  43651. },
  43652. _handleLongOption$2($name, value) {
  43653. var _this = this,
  43654. _s34_ = 'Could not find an option named "--',
  43655. t1 = _this._grammar,
  43656. option = t1.findByNameOrAlias$1($name);
  43657. if (option != null) {
  43658. _this._args.removeFirst$0();
  43659. if (option.type === B.OptionType_tI9) {
  43660. _this._validate$3(value == null, 'Flag option "--' + $name + '" should not be given a value.', "--" + $name);
  43661. _this._results.$indexSet(0, option.name, true);
  43662. } else {
  43663. t1 = "--" + $name;
  43664. if (value != null)
  43665. _this._setOption$4(_this._results, option, value, t1);
  43666. else
  43667. _this._readNextArgAsValue$2(option, t1);
  43668. }
  43669. } else if (B.JSString_methods.startsWith$1($name, "no-")) {
  43670. option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
  43671. if (option == null) {
  43672. t1 = _this._parser$_parent;
  43673. _this._validate$3(t1 != null, _s34_ + $name + '".', "--" + $name);
  43674. t1._handleLongOption$2($name, value);
  43675. return true;
  43676. }
  43677. _this._args.removeFirst$0();
  43678. t1 = "--" + $name;
  43679. _this._validate$3(option.type === B.OptionType_tI9, 'Cannot negate non-flag option "--' + $name + '".', t1);
  43680. _this._validate$3(option.negatable, 'Cannot negate option "--' + $name + '".', t1);
  43681. _this._results.$indexSet(0, option.name, false);
  43682. } else {
  43683. t1 = _this._parser$_parent;
  43684. _this._validate$3(t1 != null, _s34_ + $name + '".', "--" + $name);
  43685. t1._handleLongOption$2($name, value);
  43686. return true;
  43687. }
  43688. return true;
  43689. },
  43690. _validate$3(condition, message, args) {
  43691. if (!condition)
  43692. throw A.wrapException(A.ArgParserException$(message, null, args, null, null));
  43693. },
  43694. _setOption$4(results, option, value, arg) {
  43695. var list, t1, t2, t3, _i, element;
  43696. if (option.type !== B.OptionType_1Ol) {
  43697. this._validateAllowed$3(option, value, arg);
  43698. results.$indexSet(0, option.name, value);
  43699. return;
  43700. }
  43701. list = type$.List_dynamic._as(results.putIfAbsent$2(option.name, new A.Parser__setOption_closure()));
  43702. if (option.splitCommas)
  43703. for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
  43704. element = t1[_i];
  43705. this._validateAllowed$3(option, element, arg);
  43706. t3.add$1(list, element);
  43707. }
  43708. else {
  43709. this._validateAllowed$3(option, value, arg);
  43710. J.add$1$ax(list, value);
  43711. }
  43712. },
  43713. _validateAllowed$3(option, value, arg) {
  43714. var t1 = option.allowed;
  43715. if (t1 == null)
  43716. return;
  43717. this._validate$3(B.JSArray_methods.contains$1(t1, value), '"' + value + '" is not an allowed value for option "' + arg + '".', arg);
  43718. }
  43719. };
  43720. A.Parser_parse_closure.prototype = {
  43721. call$2($name, option) {
  43722. var parsedOption = this.$this._results.$index(0, $name),
  43723. callback = option.callback;
  43724. if (callback == null)
  43725. return;
  43726. callback.call$1(option.valueOrDefault$1(parsedOption));
  43727. },
  43728. $signature: 369
  43729. };
  43730. A.Parser__setOption_closure.prototype = {
  43731. call$0() {
  43732. return A._setArrayType([], type$.JSArray_String);
  43733. },
  43734. $signature: 138
  43735. };
  43736. A._Usage.prototype = {
  43737. get$_columnWidths() {
  43738. var result, _this = this,
  43739. value = _this.___Usage__columnWidths_FI;
  43740. if (value === $) {
  43741. result = _this._calculateColumnWidths$0();
  43742. _this.___Usage__columnWidths_FI !== $ && A.throwUnnamedLateFieldADI();
  43743. _this.___Usage__columnWidths_FI = result;
  43744. value = result;
  43745. }
  43746. return value;
  43747. },
  43748. generate$0() {
  43749. var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
  43750. 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) {
  43751. optionOrSeparator = t1[_i];
  43752. if (typeof optionOrSeparator == "string") {
  43753. t5 = t4._contents;
  43754. t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
  43755. _this._newlinesNeeded = 1;
  43756. continue;
  43757. }
  43758. t3._as(optionOrSeparator);
  43759. if (optionOrSeparator.hide)
  43760. continue;
  43761. _this._writeOption$1(optionOrSeparator);
  43762. }
  43763. t1 = t4._contents;
  43764. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43765. },
  43766. _writeOption$1(option) {
  43767. var allowedNames, t2, t3, t4, _i, $name, t5, _this = this,
  43768. t1 = option.abbr;
  43769. _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
  43770. t1 = _this._longOption$1(option);
  43771. _this._write$2(1, t1);
  43772. t1 = option.help;
  43773. if (t1 != null)
  43774. _this._write$2(2, t1);
  43775. t1 = option.allowedHelp;
  43776. if (t1 != null) {
  43777. allowedNames = J.toList$0$ax(t1.get$keys(t1));
  43778. B.JSArray_methods.sort$0(allowedNames);
  43779. _this._newline$0();
  43780. for (t2 = allowedNames.length, t3 = option.defaultsTo, t4 = type$.List_dynamic._is(t3), _i = 0; _i < allowedNames.length; allowedNames.length === t2 || (0, A.throwConcurrentModificationError)(allowedNames), ++_i) {
  43781. $name = allowedNames[_i];
  43782. t5 = (t4 ? B.JSArray_methods.contains$1(t3, $name) : t3 === $name) ? " (default)" : "";
  43783. _this._write$2(1, " [" + $name + "]" + t5);
  43784. t5 = t1.$index(0, $name);
  43785. t5.toString;
  43786. _this._write$2(2, t5);
  43787. }
  43788. _this._newline$0();
  43789. } else if (option.allowed != null)
  43790. _this._write$2(2, _this._buildAllowedList$1(option));
  43791. else {
  43792. t1 = option.type;
  43793. if (t1 === B.OptionType_tI9) {
  43794. if (option.defaultsTo === true)
  43795. _this._write$2(2, "(defaults to on)");
  43796. } else if (t1 === B.OptionType_1Ol) {
  43797. t1 = option.defaultsTo;
  43798. if (t1 != null && type$.Iterable_dynamic._as(t1).length !== 0) {
  43799. type$.List_dynamic._as(t1);
  43800. _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, ", ") + ")");
  43801. }
  43802. } else {
  43803. t1 = option.defaultsTo;
  43804. if (t1 != null)
  43805. _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
  43806. }
  43807. }
  43808. },
  43809. _longOption$1(option) {
  43810. var t1 = option.name,
  43811. result = option.negatable ? "--[no-]" + t1 : "--" + t1;
  43812. t1 = option.valueHelp;
  43813. return t1 != null ? result + ("=<" + t1 + ">") : result;
  43814. },
  43815. _calculateColumnWidths$0() {
  43816. var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, t8;
  43817. 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) {
  43818. option = t1[_i];
  43819. if (!(option instanceof A.Option))
  43820. continue;
  43821. if (option.hide)
  43822. continue;
  43823. t4 = option.abbr;
  43824. abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
  43825. t4 = this._longOption$1(option);
  43826. title = Math.max(title, t4.length);
  43827. t4 = option.allowedHelp;
  43828. if (t4 != null)
  43829. for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
  43830. t7 = t4.get$current(t4);
  43831. t8 = (t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7) ? " (default)" : "";
  43832. title = Math.max(title, (" [" + t7 + "]" + t8).length);
  43833. }
  43834. }
  43835. return A._setArrayType([abbr, title + 4], type$.JSArray_int);
  43836. },
  43837. _newline$0() {
  43838. ++this._newlinesNeeded;
  43839. this._currentColumn = 0;
  43840. },
  43841. _write$2(column, text) {
  43842. var t1, _i,
  43843. lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
  43844. this.get$_columnWidths();
  43845. while (true) {
  43846. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
  43847. break;
  43848. B.JSArray_methods.removeAt$1(lines, 0);
  43849. }
  43850. while (true) {
  43851. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
  43852. break;
  43853. lines.pop();
  43854. }
  43855. for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
  43856. this._writeLine$2(column, lines[_i]);
  43857. },
  43858. _writeLine$2(column, text) {
  43859. var t1, t2, _this = this;
  43860. for (t1 = _this._usage$_buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
  43861. t1._contents += "\n";
  43862. _this._newlinesNeeded = t2 - 1;
  43863. }
  43864. for (; t2 = _this._currentColumn, t2 !== column;) {
  43865. if (t2 < 2) {
  43866. t2 = B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
  43867. t1._contents += t2;
  43868. } else
  43869. t1._contents += "\n";
  43870. _this._currentColumn = (_this._currentColumn + 1) % 3;
  43871. }
  43872. _this.get$_columnWidths();
  43873. if (column < 2) {
  43874. t2 = B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
  43875. t1._contents += t2;
  43876. } else
  43877. t1._contents += text;
  43878. _this._currentColumn = (_this._currentColumn + 1) % 3;
  43879. if (column === 2)
  43880. ++_this._newlinesNeeded;
  43881. },
  43882. _buildAllowedList$1(option) {
  43883. var t2, t3, first, _i, allowed,
  43884. t1 = option.defaultsTo,
  43885. isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
  43886. t1 = "" + "[";
  43887. for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
  43888. allowed = t2[_i];
  43889. t1 = (!first ? t1 + ", " : t1) + allowed;
  43890. if (isDefault.call$1(allowed))
  43891. t1 += " (default)";
  43892. }
  43893. t1 += "]";
  43894. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43895. }
  43896. };
  43897. A._Usage__writeOption_closure.prototype = {
  43898. call$1(value) {
  43899. return '"' + A.S(value) + '"';
  43900. },
  43901. $signature: 134
  43902. };
  43903. A._Usage__buildAllowedList_closure.prototype = {
  43904. call$1(value) {
  43905. return value === this.option.defaultsTo;
  43906. },
  43907. $signature: 5
  43908. };
  43909. A.FutureGroup.prototype = {
  43910. add$1(_, task) {
  43911. var t1, index, _this = this;
  43912. if (_this._future_group$_closed)
  43913. throw A.wrapException(A.StateError$("The FutureGroup is closed."));
  43914. t1 = _this._future_group$_values;
  43915. index = t1.length;
  43916. t1.push(null);
  43917. ++_this._future_group$_pending;
  43918. task.then$1$1(0, new A.FutureGroup_add_closure(_this, index), type$.Null).catchError$1(new A.FutureGroup_add_closure0(_this));
  43919. },
  43920. close$0(_) {
  43921. var t1, t2, _this = this;
  43922. _this._future_group$_closed = true;
  43923. if (_this._future_group$_pending !== 0)
  43924. return;
  43925. t1 = _this._future_group$_completer;
  43926. if ((t1.future._state & 30) !== 0)
  43927. return;
  43928. t2 = _this.$ti._eval$1("WhereTypeIterable<1>");
  43929. t1.complete$1(A.List_List$of(new A.WhereTypeIterable(_this._future_group$_values, t2), true, t2._eval$1("Iterable.E")));
  43930. }
  43931. };
  43932. A.FutureGroup_add_closure.prototype = {
  43933. call$1(value) {
  43934. var t3, t4,
  43935. t1 = this.$this,
  43936. t2 = t1._future_group$_completer;
  43937. if ((t2.future._state & 30) !== 0)
  43938. return null;
  43939. t3 = --t1._future_group$_pending;
  43940. t4 = t1._future_group$_values;
  43941. t4[this.index] = value;
  43942. if (t3 !== 0)
  43943. return null;
  43944. if (!t1._future_group$_closed)
  43945. return null;
  43946. t1 = t1.$ti._eval$1("WhereTypeIterable<1>");
  43947. t2.complete$1(A.List_List$of(new A.WhereTypeIterable(t4, t1), true, t1._eval$1("Iterable.E")));
  43948. },
  43949. $signature() {
  43950. return this.$this.$ti._eval$1("Null(1)");
  43951. }
  43952. };
  43953. A.FutureGroup_add_closure0.prototype = {
  43954. call$2(error, stackTrace) {
  43955. var t1 = this.$this._future_group$_completer;
  43956. if ((t1.future._state & 30) !== 0)
  43957. return null;
  43958. t1.completeError$2(error, stackTrace);
  43959. },
  43960. $signature: 46
  43961. };
  43962. A.ErrorResult.prototype = {
  43963. complete$1(completer) {
  43964. completer.completeError$2(this.error, this.stackTrace);
  43965. },
  43966. get$hashCode(_) {
  43967. return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
  43968. },
  43969. $eq(_, other) {
  43970. if (other == null)
  43971. return false;
  43972. return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
  43973. },
  43974. $isResult: 1
  43975. };
  43976. A.ValueResult.prototype = {
  43977. complete$1(completer) {
  43978. completer.complete$1(this.value);
  43979. },
  43980. get$hashCode(_) {
  43981. return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
  43982. },
  43983. $eq(_, other) {
  43984. if (other == null)
  43985. return false;
  43986. return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
  43987. },
  43988. $isResult: 1
  43989. };
  43990. A.StreamCompleter.prototype = {
  43991. setSourceStream$1(sourceStream) {
  43992. var t1 = this._stream_completer$_stream;
  43993. if (t1._sourceStream != null)
  43994. throw A.wrapException(A.StateError$("Source stream already set"));
  43995. t1._sourceStream = sourceStream;
  43996. if (t1._stream_completer$_controller != null)
  43997. t1._linkStreamToController$0();
  43998. },
  43999. setError$2(error, stackTrace) {
  44000. var t1 = this.$ti._precomputed1;
  44001. this.setSourceStream$1(A.Stream_Stream$fromFuture(A.Future_Future$error(error, stackTrace, t1), t1));
  44002. },
  44003. setError$1(error) {
  44004. return this.setError$2(error, null);
  44005. }
  44006. };
  44007. A._CompleterStream.prototype = {
  44008. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  44009. var sourceStream, t1, _this = this, _null = null;
  44010. if (_this._stream_completer$_controller == null) {
  44011. sourceStream = _this._sourceStream;
  44012. if (sourceStream != null && !sourceStream.get$isBroadcast())
  44013. return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  44014. if (_this._stream_completer$_controller == null)
  44015. _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
  44016. if (_this._sourceStream != null)
  44017. _this._linkStreamToController$0();
  44018. }
  44019. t1 = _this._stream_completer$_controller;
  44020. t1.toString;
  44021. return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  44022. },
  44023. listen$1(_, onData) {
  44024. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  44025. },
  44026. listen$3$onDone$onError(_, onData, onDone, onError) {
  44027. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  44028. },
  44029. _linkStreamToController$0() {
  44030. var t2,
  44031. t1 = this._stream_completer$_controller;
  44032. t1.toString;
  44033. t2 = this._sourceStream;
  44034. t2.toString;
  44035. t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
  44036. }
  44037. };
  44038. A.StreamGroup.prototype = {
  44039. add$1(_, stream) {
  44040. var t1, _this = this;
  44041. if (_this._closed)
  44042. throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
  44043. t1 = _this._stream_group$_state;
  44044. if (t1 === B._StreamGroupState_dormant)
  44045. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
  44046. else if (t1 === B._StreamGroupState_canceled)
  44047. return stream.listen$1(0, null).cancel$0();
  44048. else
  44049. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
  44050. return null;
  44051. },
  44052. remove$1(_, stream) {
  44053. var t1 = this._subscriptions,
  44054. subscription = t1.remove$1(0, stream),
  44055. future = subscription == null ? null : subscription.cancel$0();
  44056. if (t1.__js_helper$_length === 0)
  44057. if (this._closed) {
  44058. t1 = this.__StreamGroup__controller_A;
  44059. t1 === $ && A.throwUnnamedLateFieldNI();
  44060. A.scheduleMicrotask(t1.get$close(t1));
  44061. }
  44062. return future;
  44063. },
  44064. _onListen$0() {
  44065. var stream, t1, t2, t3, _i, entry, exception, _this = this;
  44066. _this._stream_group$_state = B._StreamGroupState_listening;
  44067. for (t1 = _this._subscriptions, t2 = A.List_List$of(new A.LinkedHashMapEntriesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapEntriesIterable<1,2>")), true, _this.$ti._eval$1("MapEntry<Stream<1>,StreamSubscription<1>?>")), t3 = t2.length, _i = 0; _i < t3; ++_i) {
  44068. entry = t2[_i];
  44069. if (entry.value != null)
  44070. continue;
  44071. stream = entry.key;
  44072. try {
  44073. t1.$indexSet(0, stream, _this._listenToStream$1(stream));
  44074. } catch (exception) {
  44075. t1 = _this._onCancel$0();
  44076. if (t1 != null)
  44077. t1.catchError$1(new A.StreamGroup__onListen_closure());
  44078. throw exception;
  44079. }
  44080. }
  44081. },
  44082. _onPause$0() {
  44083. this._stream_group$_state = B._StreamGroupState_paused;
  44084. for (var t1 = this._subscriptions, t1 = new A.LinkedHashMapValueIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first); t1.moveNext$0();)
  44085. t1.__js_helper$_current.pause$0(0);
  44086. },
  44087. _onResume$0() {
  44088. this._stream_group$_state = B._StreamGroupState_listening;
  44089. for (var t1 = this._subscriptions, t1 = new A.LinkedHashMapValueIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first); t1.moveNext$0();)
  44090. t1.__js_helper$_current.resume$0(0);
  44091. },
  44092. _onCancel$0() {
  44093. var t1, t2, t3, futures;
  44094. this._stream_group$_state = B._StreamGroupState_canceled;
  44095. t1 = this._subscriptions;
  44096. t2 = A._instanceType(t1)._eval$1("LinkedHashMapEntriesIterable<1,2>");
  44097. t3 = type$.NonNullsIterable_Future_void;
  44098. 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), true, t3._eval$1("Iterable.E"));
  44099. t1.clear$0(0);
  44100. return futures.length === 0 ? null : A.Future_wait(futures, false, type$.void);
  44101. },
  44102. _listenToStream$1(stream) {
  44103. var subscription,
  44104. t1 = this.__StreamGroup__controller_A;
  44105. t1 === $ && A.throwUnnamedLateFieldNI();
  44106. subscription = stream.listen$3$onDone$onError(0, t1.get$add(t1), new A.StreamGroup__listenToStream_closure(this, stream), t1.get$addError());
  44107. if (this._stream_group$_state === B._StreamGroupState_paused)
  44108. subscription.pause$0(0);
  44109. return subscription;
  44110. }
  44111. };
  44112. A.StreamGroup_add_closure.prototype = {
  44113. call$0() {
  44114. return null;
  44115. },
  44116. $signature: 1
  44117. };
  44118. A.StreamGroup_add_closure0.prototype = {
  44119. call$0() {
  44120. return this.$this._listenToStream$1(this.stream);
  44121. },
  44122. $signature() {
  44123. return this.$this.$ti._eval$1("StreamSubscription<1>()");
  44124. }
  44125. };
  44126. A.StreamGroup__onListen_closure.prototype = {
  44127. call$1(_) {
  44128. },
  44129. $signature: 55
  44130. };
  44131. A.StreamGroup__onCancel_closure.prototype = {
  44132. call$1(entry) {
  44133. var t1, exception,
  44134. subscription = entry.value;
  44135. try {
  44136. if (subscription != null) {
  44137. t1 = subscription.cancel$0();
  44138. return t1;
  44139. }
  44140. t1 = J.listen$1$z(entry.key, null).cancel$0();
  44141. return t1;
  44142. } catch (exception) {
  44143. return null;
  44144. }
  44145. },
  44146. $signature() {
  44147. return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
  44148. }
  44149. };
  44150. A.StreamGroup__listenToStream_closure.prototype = {
  44151. call$0() {
  44152. return this.$this.remove$1(0, this.stream);
  44153. },
  44154. $signature: 0
  44155. };
  44156. A._StreamGroupState.prototype = {
  44157. toString$0(_) {
  44158. return this.name;
  44159. }
  44160. };
  44161. A.StreamQueue.prototype = {
  44162. _updateRequests$0() {
  44163. var t1, t2, t3, t4, _this = this;
  44164. for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(0);) {
  44165. t4 = t1._head;
  44166. if (t4 === t1._tail)
  44167. A.throwExpression(A.IterableElementError_noElement());
  44168. t4 = t1._table[t4];
  44169. if (t4 == null)
  44170. t4 = t3._as(t4);
  44171. if (t4.update$2(t2, _this._isDone))
  44172. t1.removeFirst$0();
  44173. else
  44174. return;
  44175. }
  44176. if (!_this._isDone)
  44177. _this._stream_queue$_subscription.pause$0(0);
  44178. },
  44179. _ensureListening$0() {
  44180. var t1, _this = this;
  44181. if (_this._isDone)
  44182. return;
  44183. t1 = _this._stream_queue$_subscription;
  44184. if (t1 == null)
  44185. _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));
  44186. else
  44187. t1.resume$0(0);
  44188. },
  44189. _addResult$1(result) {
  44190. ++this._eventsReceived;
  44191. this._eventQueue._queue_list$_add$1(result);
  44192. this._updateRequests$0();
  44193. },
  44194. _addRequest$1(request) {
  44195. var _this = this,
  44196. t1 = _this._requestQueue;
  44197. if (t1._head === t1._tail) {
  44198. if (request.update$2(_this._eventQueue, _this._isDone))
  44199. return;
  44200. _this._ensureListening$0();
  44201. }
  44202. t1._add$1(request);
  44203. }
  44204. };
  44205. A.StreamQueue__ensureListening_closure.prototype = {
  44206. call$1(data) {
  44207. var t1 = this.$this;
  44208. t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
  44209. },
  44210. $signature() {
  44211. return this.$this.$ti._eval$1("~(1)");
  44212. }
  44213. };
  44214. A.StreamQueue__ensureListening_closure1.prototype = {
  44215. call$2(error, stackTrace) {
  44216. this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
  44217. },
  44218. $signature: 46
  44219. };
  44220. A.StreamQueue__ensureListening_closure0.prototype = {
  44221. call$0() {
  44222. var t1 = this.$this;
  44223. t1._stream_queue$_subscription = null;
  44224. t1._isDone = true;
  44225. t1._updateRequests$0();
  44226. },
  44227. $signature: 0
  44228. };
  44229. A._NextRequest.prototype = {
  44230. update$2(events, isDone) {
  44231. if (!events.get$isEmpty(events)) {
  44232. events.removeFirst$0().complete$1(this._completer);
  44233. return true;
  44234. }
  44235. if (isDone) {
  44236. this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
  44237. return true;
  44238. }
  44239. return false;
  44240. },
  44241. $is_EventRequest: 1
  44242. };
  44243. A._isStrictMode_closure.prototype = {
  44244. call$0() {
  44245. var exception;
  44246. try {
  44247. "".name = null;
  44248. return false;
  44249. } catch (exception) {
  44250. return true;
  44251. }
  44252. },
  44253. $signature: 21
  44254. };
  44255. A.Repl.prototype = {};
  44256. A.alwaysValid_closure.prototype = {
  44257. call$1(text) {
  44258. return true;
  44259. },
  44260. $signature: 5
  44261. };
  44262. A.ReplAdapter.prototype = {
  44263. runAsync$0() {
  44264. var rl, runController, _this = this, t1 = {},
  44265. t2 = J.get$isTTY$x(self.process.stdin),
  44266. output = (t2 == null ? false : t2) ? self.process.stdout : null;
  44267. t2 = _this.repl.prompt;
  44268. rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
  44269. _this.rl = rl;
  44270. t1.statement = "";
  44271. t1.prompt = t2;
  44272. runController = A._Cell$();
  44273. 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);
  44274. return runController._readLocal$0().get$stream();
  44275. },
  44276. exit$0(_) {
  44277. var t1 = this.rl;
  44278. if (t1 != null)
  44279. J.close$0$x(t1);
  44280. this.rl = null;
  44281. }
  44282. };
  44283. A.ReplAdapter_runAsync_closure.prototype = {
  44284. call$0() {
  44285. var $async$goto = 0,
  44286. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  44287. $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;
  44288. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  44289. if ($async$errorCode === 1) {
  44290. $async$errorStack.push($async$result);
  44291. $async$goto = $async$handler;
  44292. }
  44293. while (true)
  44294. switch ($async$goto) {
  44295. case 0:
  44296. // Function start
  44297. $async$handler = 3;
  44298. lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
  44299. t1 = lineController;
  44300. t2 = A.QueueList$(null, type$.Result_String);
  44301. t3 = A.ListQueue$(type$._EventRequest_dynamic);
  44302. lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
  44303. t1 = $async$self.rl;
  44304. t2 = J.getInterceptor$x(t1);
  44305. t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
  44306. t3 = $async$self._box_0, t4 = $async$self.$this.repl, $prompt = t4.continuation, prompt0 = t4.prompt, t5 = $async$self.runController;
  44307. case 6:
  44308. // for condition
  44309. // trivial condition
  44310. t6 = J.get$isTTY$x(self.process.stdin);
  44311. if (t6 == null ? false : t6)
  44312. J.write$1$x(self.process.stdout, t3.prompt);
  44313. t6 = lineQueue;
  44314. t6.toString;
  44315. t7 = t6.$ti;
  44316. t8 = new A._Future($.Zone__current, t7._eval$1("_Future<1>"));
  44317. t6._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t8, t7._eval$1("_AsyncCompleter<1>")), t7._eval$1("_NextRequest<1>")));
  44318. $async$goto = 8;
  44319. return A._asyncAwait(t8, $async$call$0);
  44320. case 8:
  44321. // returning from await.
  44322. line = $async$result;
  44323. t6 = J.get$isTTY$x(self.process.stdin);
  44324. if (!(t6 == null ? false : t6)) {
  44325. line0 = t3.prompt + A.S(line);
  44326. toZone = $.printToZone;
  44327. if (toZone == null)
  44328. A.printString(line0);
  44329. else
  44330. toZone.call$1(line0);
  44331. }
  44332. statement = B.JSString_methods.$add(t3.statement, line);
  44333. t3.statement = statement;
  44334. if (t4.validator.call$1(statement)) {
  44335. t6 = t5.__late_helper$_value;
  44336. if (t6 === t5)
  44337. A.throwExpression(A.LateError$localNI(""));
  44338. J.add$1$ax(t6, t3.statement);
  44339. t3.statement = "";
  44340. t3.prompt = prompt0;
  44341. t2.setPrompt$1(t1, prompt0);
  44342. } else {
  44343. t3.statement += "\n";
  44344. t3.prompt = $prompt;
  44345. t2.setPrompt$1(t1, $prompt);
  44346. }
  44347. // goto for condition
  44348. $async$goto = 6;
  44349. break;
  44350. case 7:
  44351. // after for
  44352. $async$handler = 1;
  44353. // goto after finally
  44354. $async$goto = 5;
  44355. break;
  44356. case 3:
  44357. // catch
  44358. $async$handler = 2;
  44359. $async$exception = $async$errorStack.pop();
  44360. error = A.unwrapException($async$exception);
  44361. stackTrace = A.getTraceFromException($async$exception);
  44362. t1 = $async$self.runController;
  44363. t1._readLocal$0().addError$2(error, stackTrace);
  44364. t2 = $async$self.$this.exit$0(0);
  44365. t2 = A._Future$value(t2, type$.void);
  44366. $async$goto = 9;
  44367. return A._asyncAwait(t2, $async$call$0);
  44368. case 9:
  44369. // returning from await.
  44370. J.close$0$x(t1._readLocal$0());
  44371. // goto after finally
  44372. $async$goto = 5;
  44373. break;
  44374. case 2:
  44375. // uncaught
  44376. // goto rethrow
  44377. $async$goto = 1;
  44378. break;
  44379. case 5:
  44380. // after finally
  44381. // implicit return
  44382. return A._asyncReturn(null, $async$completer);
  44383. case 1:
  44384. // rethrow
  44385. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  44386. }
  44387. });
  44388. return A._asyncStartSync($async$call$0, $async$completer);
  44389. },
  44390. $signature: 31
  44391. };
  44392. A.ReplAdapter_runAsync__closure.prototype = {
  44393. call$1(value) {
  44394. return this.lineController.add$1(0, A._asString(value));
  44395. },
  44396. $signature: 68
  44397. };
  44398. A.Stdin.prototype = {};
  44399. A.Stdout.prototype = {};
  44400. A.ReadlineModule.prototype = {};
  44401. A.ReadlineOptions.prototype = {};
  44402. A.ReadlineInterface.prototype = {};
  44403. A.EmptyUnmodifiableSet.prototype = {
  44404. get$iterator(_) {
  44405. return B.C_EmptyIterator;
  44406. },
  44407. get$length(_) {
  44408. return 0;
  44409. },
  44410. contains$1(_, element) {
  44411. return false;
  44412. },
  44413. toSet$0(_) {
  44414. return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  44415. },
  44416. $isEfficientLengthIterable: 1,
  44417. $isSet: 1
  44418. };
  44419. A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
  44420. A.DefaultEquality.prototype = {};
  44421. A.IterableEquality.prototype = {
  44422. equals$2(_, elements1, elements2) {
  44423. var it1, it2, hasNext;
  44424. if (elements1 === elements2)
  44425. return true;
  44426. it1 = J.get$iterator$ax(elements1);
  44427. it2 = J.get$iterator$ax(elements2);
  44428. for (; true;) {
  44429. hasNext = it1.moveNext$0();
  44430. if (hasNext !== it2.moveNext$0())
  44431. return false;
  44432. if (!hasNext)
  44433. return true;
  44434. if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
  44435. return false;
  44436. }
  44437. },
  44438. hash$1(elements) {
  44439. var t1, hash, _i;
  44440. for (t1 = elements.length, hash = 0, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i) {
  44441. hash = hash + J.get$hashCode$(elements[_i]) & 2147483647;
  44442. hash = hash + (hash << 10 >>> 0) & 2147483647;
  44443. hash ^= hash >>> 6;
  44444. }
  44445. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44446. hash ^= hash >>> 11;
  44447. return hash + (hash << 15 >>> 0) & 2147483647;
  44448. }
  44449. };
  44450. A.ListEquality.prototype = {
  44451. equals$2(_, list1, list2) {
  44452. var t1, $length, t2, i;
  44453. if (list1 == null ? list2 == null : list1 === list2)
  44454. return true;
  44455. if (list1 == null || list2 == null)
  44456. return false;
  44457. t1 = J.getInterceptor$asx(list1);
  44458. $length = t1.get$length(list1);
  44459. t2 = J.getInterceptor$asx(list2);
  44460. if ($length !== t2.get$length(list2))
  44461. return false;
  44462. for (i = 0; i < $length; ++i)
  44463. if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
  44464. return false;
  44465. return true;
  44466. },
  44467. hash$1(list) {
  44468. var hash, i;
  44469. for (hash = 0, i = 0; i < list.length; ++i) {
  44470. hash = hash + J.get$hashCode$(list[i]) & 2147483647;
  44471. hash = hash + (hash << 10 >>> 0) & 2147483647;
  44472. hash ^= hash >>> 6;
  44473. }
  44474. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44475. hash ^= hash >>> 11;
  44476. return hash + (hash << 15 >>> 0) & 2147483647;
  44477. }
  44478. };
  44479. A._MapEntry.prototype = {
  44480. get$hashCode(_) {
  44481. return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
  44482. },
  44483. $eq(_, other) {
  44484. if (other == null)
  44485. return false;
  44486. return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
  44487. }
  44488. };
  44489. A.MapEquality.prototype = {
  44490. equals$2(_, map1, map2) {
  44491. var equalElementCounts, t1, key, entry, count;
  44492. if (map1 === map2)
  44493. return true;
  44494. if (map1.get$length(map1) !== map2.get$length(map2))
  44495. return false;
  44496. equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
  44497. for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
  44498. key = t1.get$current(t1);
  44499. entry = new A._MapEntry(this, key, map1.$index(0, key));
  44500. count = equalElementCounts.$index(0, entry);
  44501. equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
  44502. }
  44503. for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
  44504. key = t1.get$current(t1);
  44505. entry = new A._MapEntry(this, key, map2.$index(0, key));
  44506. count = equalElementCounts.$index(0, entry);
  44507. if (count == null || count === 0)
  44508. return false;
  44509. equalElementCounts.$indexSet(0, entry, count - 1);
  44510. }
  44511. return true;
  44512. },
  44513. hash$1(map) {
  44514. var t1, t2, hash, key, keyHash, t3;
  44515. for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = this.$ti._rest[1], hash = 0; t1.moveNext$0();) {
  44516. key = t1.get$current(t1);
  44517. keyHash = J.get$hashCode$(key);
  44518. t3 = map.$index(0, key);
  44519. hash = hash + 3 * keyHash + 7 * J.get$hashCode$(t3 == null ? t2._as(t3) : t3) & 2147483647;
  44520. }
  44521. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44522. hash ^= hash >>> 11;
  44523. return hash + (hash << 15 >>> 0) & 2147483647;
  44524. }
  44525. };
  44526. A.QueueList.prototype = {
  44527. add$1(_, element) {
  44528. this._queue_list$_add$1(element);
  44529. },
  44530. addAll$1(_, iterable) {
  44531. var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
  44532. if (type$.List_dynamic._is(iterable)) {
  44533. addCount = J.get$length$asx(iterable);
  44534. $length = _this.get$length(0);
  44535. t1 = $length + addCount;
  44536. if (t1 >= J.get$length$asx(_this._queue_list$_table)) {
  44537. _this._preGrow$1(t1);
  44538. J.setRange$4$ax(_this._queue_list$_table, $length, t1, iterable, 0);
  44539. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  44540. } else {
  44541. endSpace = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_tail();
  44542. t1 = _this._queue_list$_table;
  44543. t2 = J.getInterceptor$ax(t1);
  44544. if (addCount < endSpace) {
  44545. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + addCount, iterable, 0);
  44546. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  44547. } else {
  44548. preSpace = addCount - endSpace;
  44549. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + endSpace, iterable, 0);
  44550. J.setRange$4$ax(_this._queue_list$_table, 0, preSpace, iterable, endSpace);
  44551. _this.set$_queue_list$_tail(preSpace);
  44552. }
  44553. }
  44554. } else
  44555. for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
  44556. _this._queue_list$_add$1(t1.get$current(t1));
  44557. },
  44558. cast$1$0(_, $T) {
  44559. 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>"));
  44560. },
  44561. toString$0(_) {
  44562. return A.Iterable_iterableToFullString(this, "{", "}");
  44563. },
  44564. addFirst$1(element) {
  44565. var _this = this;
  44566. _this.set$_queue_list$_head((_this.get$_queue_list$_head() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44567. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), element);
  44568. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44569. _this._queue_list$_grow$0();
  44570. },
  44571. removeFirst$0() {
  44572. var result, _this = this;
  44573. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44574. throw A.wrapException(A.StateError$("No element"));
  44575. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_head());
  44576. if (result == null)
  44577. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  44578. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), null);
  44579. _this.set$_queue_list$_head((_this.get$_queue_list$_head() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44580. return result;
  44581. },
  44582. removeLast$0(_) {
  44583. var result, _this = this;
  44584. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44585. throw A.wrapException(A.StateError$("No element"));
  44586. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44587. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_tail());
  44588. if (result == null)
  44589. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  44590. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), null);
  44591. return result;
  44592. },
  44593. get$length(_) {
  44594. return (this.get$_queue_list$_tail() - this.get$_queue_list$_head() & J.get$length$asx(this._queue_list$_table) - 1) >>> 0;
  44595. },
  44596. set$length(_, value) {
  44597. var delta, newTail, t1, t2, _this = this;
  44598. if (value < 0)
  44599. throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
  44600. if (value > _this.get$length(0) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
  44601. 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) + "`."));
  44602. delta = value - _this.get$length(0);
  44603. if (delta >= 0) {
  44604. if (J.get$length$asx(_this._queue_list$_table) <= value)
  44605. _this._preGrow$1(value);
  44606. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + delta & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44607. return;
  44608. }
  44609. newTail = _this.get$_queue_list$_tail() + delta;
  44610. t1 = _this._queue_list$_table;
  44611. if (newTail >= 0)
  44612. J.fillRange$3$ax(t1, newTail, _this.get$_queue_list$_tail(), null);
  44613. else {
  44614. newTail += J.get$length$asx(t1);
  44615. J.fillRange$3$ax(_this._queue_list$_table, 0, _this.get$_queue_list$_tail(), null);
  44616. t1 = _this._queue_list$_table;
  44617. t2 = J.getInterceptor$asx(t1);
  44618. t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
  44619. }
  44620. _this.set$_queue_list$_tail(newTail);
  44621. },
  44622. $index(_, index) {
  44623. var t1, _this = this;
  44624. if (index < 0 || index >= _this.get$length(0))
  44625. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  44626. t1 = J.$index$asx(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44627. return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1;
  44628. },
  44629. $indexSet(_, index, value) {
  44630. var _this = this;
  44631. if (index < 0 || index >= _this.get$length(0))
  44632. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  44633. J.$indexSet$ax(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0, value);
  44634. },
  44635. _queue_list$_add$1(element) {
  44636. var _this = this;
  44637. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), element);
  44638. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44639. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44640. _this._queue_list$_grow$0();
  44641. },
  44642. _queue_list$_grow$0() {
  44643. var _this = this,
  44644. newTable = A.List_List$filled(J.get$length$asx(_this._queue_list$_table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
  44645. split = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  44646. B.JSArray_methods.setRange$4(newTable, 0, split, _this._queue_list$_table, _this.get$_queue_list$_head());
  44647. B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_queue_list$_head(), _this._queue_list$_table, 0);
  44648. _this.set$_queue_list$_head(0);
  44649. _this.set$_queue_list$_tail(J.get$length$asx(_this._queue_list$_table));
  44650. _this._queue_list$_table = newTable;
  44651. },
  44652. _writeToList$1(target) {
  44653. var $length, firstPartSize, _this = this;
  44654. if (_this.get$_queue_list$_head() <= _this.get$_queue_list$_tail()) {
  44655. $length = _this.get$_queue_list$_tail() - _this.get$_queue_list$_head();
  44656. B.JSArray_methods.setRange$4(target, 0, $length, _this._queue_list$_table, _this.get$_queue_list$_head());
  44657. return $length;
  44658. } else {
  44659. firstPartSize = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  44660. B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._queue_list$_table, _this.get$_queue_list$_head());
  44661. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_queue_list$_tail(), _this._queue_list$_table, 0);
  44662. return _this.get$_queue_list$_tail() + firstPartSize;
  44663. }
  44664. },
  44665. _preGrow$1(newElementCount) {
  44666. var _this = this,
  44667. 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?"));
  44668. _this.set$_queue_list$_tail(_this._writeToList$1(newTable));
  44669. _this._queue_list$_table = newTable;
  44670. _this.set$_queue_list$_head(0);
  44671. },
  44672. $isEfficientLengthIterable: 1,
  44673. $isQueue: 1,
  44674. $isIterable: 1,
  44675. $isList: 1,
  44676. get$_queue_list$_head() {
  44677. return this._queue_list$_head;
  44678. },
  44679. get$_queue_list$_tail() {
  44680. return this._queue_list$_tail;
  44681. },
  44682. set$_queue_list$_head(val) {
  44683. return this._queue_list$_head = val;
  44684. },
  44685. set$_queue_list$_tail(val) {
  44686. return this._queue_list$_tail = val;
  44687. }
  44688. };
  44689. A._CastQueueList.prototype = {
  44690. get$_queue_list$_head() {
  44691. return this._queue_list$_delegate.get$_queue_list$_head();
  44692. },
  44693. set$_queue_list$_head(value) {
  44694. this._queue_list$_delegate.set$_queue_list$_head(value);
  44695. },
  44696. get$_queue_list$_tail() {
  44697. return this._queue_list$_delegate.get$_queue_list$_tail();
  44698. },
  44699. set$_queue_list$_tail(value) {
  44700. this._queue_list$_delegate.set$_queue_list$_tail(value);
  44701. }
  44702. };
  44703. A._QueueList_Object_ListMixin.prototype = {};
  44704. A.UnionSet.prototype = {
  44705. get$length(_) {
  44706. var t1 = this.get$_union_set$_iterable().get$length(0);
  44707. return t1;
  44708. },
  44709. get$iterator(_) {
  44710. var t1 = this.get$_union_set$_iterable();
  44711. return t1.get$iterator(t1);
  44712. },
  44713. get$_union_set$_iterable() {
  44714. var t1 = this._sets,
  44715. t2 = this.$ti._precomputed1,
  44716. t3 = A._instanceType(t1)._eval$1("@<1>")._bind$1(t2)._eval$1("ExpandIterable<1,2>");
  44717. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  44718. 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>"));
  44719. },
  44720. contains$1(_, element) {
  44721. return this._sets.any$1(0, new A.UnionSet_contains_closure(this, element));
  44722. },
  44723. toSet$0(_) {
  44724. var t2, t3, t4,
  44725. t1 = A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  44726. for (t2 = this._sets, t2 = A._LinkedHashSetIterator$(t2, t2._modifications, A._instanceType(t2)._precomputed1), t3 = t2.$ti._precomputed1; t2.moveNext$0();) {
  44727. t4 = t2._collection$_current;
  44728. t1.addAll$1(0, t4 == null ? t3._as(t4) : t4);
  44729. }
  44730. return t1;
  44731. }
  44732. };
  44733. A.UnionSet__iterable_closure.prototype = {
  44734. call$1(set) {
  44735. return set;
  44736. },
  44737. $signature() {
  44738. return this.$this.$ti._eval$1("Set<1>(Set<1>)");
  44739. }
  44740. };
  44741. A.UnionSet_contains_closure.prototype = {
  44742. call$1(set) {
  44743. return set.contains$1(0, this.element);
  44744. },
  44745. $signature() {
  44746. return this.$this.$ti._eval$1("bool(Set<1>)");
  44747. }
  44748. };
  44749. A._UnionSet_SetBase_UnmodifiableSetMixin.prototype = {};
  44750. A.UnmodifiableSetView0.prototype = {};
  44751. A.UnmodifiableSetMixin.prototype = {
  44752. add$1(_, value) {
  44753. return A.UnmodifiableSetMixin__throw();
  44754. },
  44755. addAll$1(_, elements) {
  44756. return A.UnmodifiableSetMixin__throw();
  44757. },
  44758. remove$1(_, value) {
  44759. return A.UnmodifiableSetMixin__throw();
  44760. }
  44761. };
  44762. A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
  44763. A._DelegatingIterableBase.prototype = {
  44764. any$1(_, test) {
  44765. return J.any$1$ax(this.get$_base(), test);
  44766. },
  44767. contains$1(_, element) {
  44768. return J.contains$1$asx(this.get$_base(), element);
  44769. },
  44770. elementAt$1(_, index) {
  44771. return J.elementAt$1$ax(this.get$_base(), index);
  44772. },
  44773. every$1(_, test) {
  44774. return J.every$1$ax(this.get$_base(), test);
  44775. },
  44776. get$first(_) {
  44777. return J.get$first$ax(this.get$_base());
  44778. },
  44779. get$isEmpty(_) {
  44780. return J.get$isEmpty$asx(this.get$_base());
  44781. },
  44782. get$isNotEmpty(_) {
  44783. return J.get$isNotEmpty$asx(this.get$_base());
  44784. },
  44785. get$iterator(_) {
  44786. return J.get$iterator$ax(this.get$_base());
  44787. },
  44788. get$last(_) {
  44789. return J.get$last$ax(this.get$_base());
  44790. },
  44791. get$length(_) {
  44792. return J.get$length$asx(this.get$_base());
  44793. },
  44794. map$1$1(_, f, $T) {
  44795. return J.map$1$1$ax(this.get$_base(), f, $T);
  44796. },
  44797. get$single(_) {
  44798. return J.get$single$ax(this.get$_base());
  44799. },
  44800. skip$1(_, n) {
  44801. return J.skip$1$ax(this.get$_base(), n);
  44802. },
  44803. take$1(_, n) {
  44804. return J.take$1$ax(this.get$_base(), n);
  44805. },
  44806. toList$1$growable(_, growable) {
  44807. return J.toList$1$growable$ax(this.get$_base(), true);
  44808. },
  44809. toList$0(_) {
  44810. return this.toList$1$growable(0, true);
  44811. },
  44812. toSet$0(_) {
  44813. return J.toSet$0$ax(this.get$_base());
  44814. },
  44815. where$1(_, test) {
  44816. return J.where$1$ax(this.get$_base(), test);
  44817. },
  44818. toString$0(_) {
  44819. return J.toString$0$(this.get$_base());
  44820. },
  44821. $isIterable: 1
  44822. };
  44823. A.DelegatingSet.prototype = {
  44824. add$1(_, value) {
  44825. return this._base.add$1(0, value);
  44826. },
  44827. addAll$1(_, elements) {
  44828. this._base.addAll$1(0, elements);
  44829. },
  44830. toSet$0(_) {
  44831. return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
  44832. },
  44833. $isEfficientLengthIterable: 1,
  44834. $isSet: 1,
  44835. get$_base() {
  44836. return this._base;
  44837. }
  44838. };
  44839. A.MapKeySet.prototype = {
  44840. get$_base() {
  44841. var t1 = this._baseMap;
  44842. return t1.get$keys(t1);
  44843. },
  44844. contains$1(_, element) {
  44845. return this._baseMap.containsKey$1(element);
  44846. },
  44847. get$isEmpty(_) {
  44848. var t1 = this._baseMap;
  44849. return t1.get$isEmpty(t1);
  44850. },
  44851. get$isNotEmpty(_) {
  44852. var t1 = this._baseMap;
  44853. return t1.get$isNotEmpty(t1);
  44854. },
  44855. get$length(_) {
  44856. var t1 = this._baseMap;
  44857. return t1.get$length(t1);
  44858. },
  44859. toString$0(_) {
  44860. return A.Iterable_iterableToFullString(this, "{", "}");
  44861. },
  44862. difference$1(other) {
  44863. return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
  44864. },
  44865. $isEfficientLengthIterable: 1,
  44866. $isSet: 1
  44867. };
  44868. A.MapKeySet_difference_closure.prototype = {
  44869. call$1(element) {
  44870. return !this.other._source.contains$1(0, element);
  44871. },
  44872. $signature() {
  44873. return this.$this.$ti._eval$1("bool(1)");
  44874. }
  44875. };
  44876. A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
  44877. A.BufferModule.prototype = {};
  44878. A.BufferConstants.prototype = {};
  44879. A.Buffer.prototype = {};
  44880. A.ConsoleModule.prototype = {};
  44881. A.Console.prototype = {};
  44882. A.EventEmitter.prototype = {};
  44883. A.FS.prototype = {};
  44884. A.FSConstants.prototype = {};
  44885. A.FSWatcher.prototype = {};
  44886. A.ReadStream.prototype = {};
  44887. A.ReadStreamOptions.prototype = {};
  44888. A.WriteStream.prototype = {};
  44889. A.WriteStreamOptions.prototype = {};
  44890. A.FileOptions.prototype = {};
  44891. A.StatOptions.prototype = {};
  44892. A.MkdirOptions.prototype = {};
  44893. A.RmdirOptions.prototype = {};
  44894. A.WatchOptions.prototype = {};
  44895. A.WatchFileOptions.prototype = {};
  44896. A.Stats.prototype = {};
  44897. A.Promise.prototype = {};
  44898. A.Date.prototype = {};
  44899. A.JsError.prototype = {};
  44900. A.Atomics.prototype = {};
  44901. A.Modules.prototype = {};
  44902. A.Module.prototype = {};
  44903. A.Net.prototype = {};
  44904. A.Socket.prototype = {};
  44905. A.NetAddress.prototype = {};
  44906. A.NetServer.prototype = {};
  44907. A.NodeJsError.prototype = {};
  44908. A.JsAssertionError.prototype = {};
  44909. A.JsRangeError.prototype = {};
  44910. A.JsReferenceError.prototype = {};
  44911. A.JsSyntaxError.prototype = {};
  44912. A.JsTypeError.prototype = {};
  44913. A.JsSystemError.prototype = {};
  44914. A.Process.prototype = {};
  44915. A.CPUUsage.prototype = {};
  44916. A.Release.prototype = {};
  44917. A.StreamModule.prototype = {};
  44918. A.Readable.prototype = {};
  44919. A.Writable.prototype = {};
  44920. A.Duplex.prototype = {};
  44921. A.Transform.prototype = {};
  44922. A.WritableOptions.prototype = {};
  44923. A.ReadableOptions.prototype = {};
  44924. A.Immediate.prototype = {};
  44925. A.Timeout.prototype = {};
  44926. A.TTY.prototype = {};
  44927. A.TTYReadStream.prototype = {};
  44928. A.TTYWriteStream.prototype = {};
  44929. A.Util.prototype = {};
  44930. A.promiseToFuture_closure1.prototype = {
  44931. call$1(value) {
  44932. this.completer.complete$1(value);
  44933. },
  44934. $signature: 55
  44935. };
  44936. A.promiseToFuture_closure2.prototype = {
  44937. call$1(error) {
  44938. this.completer.completeError$1(error);
  44939. },
  44940. $signature: 55
  44941. };
  44942. A.futureToPromise_closure.prototype = {
  44943. call$2(resolve, reject) {
  44944. this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
  44945. },
  44946. $signature: 389
  44947. };
  44948. A.futureToPromise__closure.prototype = {
  44949. call$1(result) {
  44950. return this.resolve.call$1(result);
  44951. },
  44952. $signature() {
  44953. return this.T._eval$1("@(0)");
  44954. }
  44955. };
  44956. A.Context.prototype = {
  44957. absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  44958. var t1;
  44959. A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15], type$.JSArray_nullable_String));
  44960. if (part2 == null) {
  44961. t1 = this.style;
  44962. t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
  44963. } else
  44964. t1 = false;
  44965. if (t1)
  44966. return part1;
  44967. t1 = this._context$_current;
  44968. 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);
  44969. },
  44970. absolute$1(part1) {
  44971. var _null = null;
  44972. return this.absolute$15(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  44973. },
  44974. dirname$1(path) {
  44975. var t1, t2,
  44976. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  44977. parsed.removeTrailingSeparators$0();
  44978. t1 = parsed.parts;
  44979. t2 = t1.length;
  44980. if (t2 === 0) {
  44981. t1 = parsed.root;
  44982. return t1 == null ? "." : t1;
  44983. }
  44984. if (t2 === 1) {
  44985. t1 = parsed.root;
  44986. return t1 == null ? "." : t1;
  44987. }
  44988. B.JSArray_methods.removeLast$0(t1);
  44989. parsed.separators.pop();
  44990. parsed.removeTrailingSeparators$0();
  44991. return parsed.toString$0(0);
  44992. },
  44993. join$16(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16) {
  44994. var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16], type$.JSArray_nullable_String);
  44995. A._validateArgList("join", parts);
  44996. return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
  44997. },
  44998. join$2(_, part1, part2) {
  44999. var _null = null;
  45000. return this.join$16(0, part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  45001. },
  45002. joinAll$1(parts) {
  45003. var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
  45004. 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();) {
  45005. t5 = t2.get$current(t2);
  45006. if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
  45007. parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
  45008. path = t4.charCodeAt(0) == 0 ? t4 : t4;
  45009. t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
  45010. parsed.root = t4;
  45011. if (t3.needsSeparator$1(t4))
  45012. parsed.separators[0] = t3.get$separator(t3);
  45013. t4 = "" + parsed.toString$0(0);
  45014. } else if (t3.rootLength$1(t5) > 0) {
  45015. isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
  45016. t4 = "" + t5;
  45017. } else {
  45018. if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
  45019. if (needsSeparator)
  45020. t4 += t3.get$separator(t3);
  45021. t4 += t5;
  45022. }
  45023. needsSeparator = t3.needsSeparator$1(t5);
  45024. }
  45025. return t4.charCodeAt(0) == 0 ? t4 : t4;
  45026. },
  45027. split$1(_, path) {
  45028. var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
  45029. t1 = parsed.parts,
  45030. t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
  45031. t2 = A.List_List$of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), true, t2._eval$1("Iterable.E"));
  45032. parsed.parts = t2;
  45033. t1 = parsed.root;
  45034. if (t1 != null)
  45035. B.JSArray_methods.insert$2(t2, 0, t1);
  45036. return parsed.parts;
  45037. },
  45038. canonicalize$1(_, path) {
  45039. var t1, parsed;
  45040. path = this.absolute$1(path);
  45041. t1 = this.style;
  45042. if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
  45043. return path;
  45044. parsed = A.ParsedPath_ParsedPath$parse(path, t1);
  45045. parsed.normalize$1$canonicalize(true);
  45046. return parsed.toString$0(0);
  45047. },
  45048. normalize$1(path) {
  45049. var parsed;
  45050. if (!this._needsNormalization$1(path))
  45051. return path;
  45052. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  45053. parsed.normalize$0();
  45054. return parsed.toString$0(0);
  45055. },
  45056. _needsNormalization$1(path) {
  45057. var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
  45058. t1 = this.style,
  45059. root = t1.rootLength$1(path);
  45060. if (root !== 0) {
  45061. if (t1 === $.$get$Style_windows())
  45062. for (i = 0; i < root; ++i)
  45063. if (path.charCodeAt(i) === 47)
  45064. return true;
  45065. start = root;
  45066. previous = 47;
  45067. } else {
  45068. start = 0;
  45069. previous = null;
  45070. }
  45071. for (t2 = new A.CodeUnits(path)._string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
  45072. codeUnit = t2.charCodeAt(i);
  45073. if (t1.isSeparator$1(codeUnit)) {
  45074. if (t1 === $.$get$Style_windows() && codeUnit === 47)
  45075. return true;
  45076. if (previous != null && t1.isSeparator$1(previous))
  45077. return true;
  45078. if (previous === 46)
  45079. t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
  45080. else
  45081. t4 = false;
  45082. if (t4)
  45083. return true;
  45084. }
  45085. }
  45086. if (previous == null)
  45087. return true;
  45088. if (t1.isSeparator$1(previous))
  45089. return true;
  45090. if (previous === 46)
  45091. t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
  45092. else
  45093. t1 = false;
  45094. if (t1)
  45095. return true;
  45096. return false;
  45097. },
  45098. relative$2$from(path, from) {
  45099. var fromParsed, pathParsed, t2, t3, _this = this,
  45100. _s26_ = 'Unable to find a path to "',
  45101. t1 = from == null;
  45102. if (t1 && _this.style.rootLength$1(path) <= 0)
  45103. return _this.normalize$1(path);
  45104. if (t1) {
  45105. t1 = _this._context$_current;
  45106. from = t1 == null ? A.current() : t1;
  45107. } else
  45108. from = _this.absolute$1(from);
  45109. t1 = _this.style;
  45110. if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
  45111. return _this.normalize$1(path);
  45112. if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
  45113. path = _this.absolute$1(path);
  45114. if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
  45115. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  45116. fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
  45117. fromParsed.normalize$0();
  45118. pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
  45119. pathParsed.normalize$0();
  45120. t2 = fromParsed.parts;
  45121. if (t2.length !== 0 && t2[0] === ".")
  45122. return pathParsed.toString$0(0);
  45123. t2 = fromParsed.root;
  45124. t3 = pathParsed.root;
  45125. if (t2 != t3)
  45126. t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
  45127. else
  45128. t2 = false;
  45129. if (t2)
  45130. return pathParsed.toString$0(0);
  45131. while (true) {
  45132. t2 = fromParsed.parts;
  45133. if (t2.length !== 0) {
  45134. t3 = pathParsed.parts;
  45135. t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
  45136. } else
  45137. t2 = false;
  45138. if (!t2)
  45139. break;
  45140. B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
  45141. B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
  45142. B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
  45143. B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
  45144. }
  45145. t2 = fromParsed.parts;
  45146. t3 = t2.length;
  45147. if (t3 !== 0 && t2[0] === "..")
  45148. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  45149. t2 = type$.String;
  45150. B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(t3, "..", false, t2));
  45151. t3 = pathParsed.separators;
  45152. t3[0] = "";
  45153. B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
  45154. t1 = pathParsed.parts;
  45155. t2 = t1.length;
  45156. if (t2 === 0)
  45157. return ".";
  45158. if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
  45159. B.JSArray_methods.removeLast$0(pathParsed.parts);
  45160. t1 = pathParsed.separators;
  45161. t1.pop();
  45162. t1.pop();
  45163. t1.push("");
  45164. }
  45165. pathParsed.root = "";
  45166. pathParsed.removeTrailingSeparators$0();
  45167. return pathParsed.toString$0(0);
  45168. },
  45169. relative$1(path) {
  45170. return this.relative$2$from(path, null);
  45171. },
  45172. _isWithinOrEquals$2($parent, child) {
  45173. var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
  45174. $parent = $parent;
  45175. child = child;
  45176. t1 = _this.style;
  45177. parentIsAbsolute = t1.rootLength$1($parent) > 0;
  45178. childIsAbsolute = t1.rootLength$1(child) > 0;
  45179. if (parentIsAbsolute && !childIsAbsolute) {
  45180. child = _this.absolute$1(child);
  45181. if (t1.isRootRelative$1($parent))
  45182. $parent = _this.absolute$1($parent);
  45183. } else if (childIsAbsolute && !parentIsAbsolute) {
  45184. $parent = _this.absolute$1($parent);
  45185. if (t1.isRootRelative$1(child))
  45186. child = _this.absolute$1(child);
  45187. } else if (childIsAbsolute && parentIsAbsolute) {
  45188. childIsRootRelative = t1.isRootRelative$1(child);
  45189. parentIsRootRelative = t1.isRootRelative$1($parent);
  45190. if (childIsRootRelative && !parentIsRootRelative)
  45191. child = _this.absolute$1(child);
  45192. else if (parentIsRootRelative && !childIsRootRelative)
  45193. $parent = _this.absolute$1($parent);
  45194. }
  45195. result = _this._isWithinOrEqualsFast$2($parent, child);
  45196. if (result !== B._PathRelation_inconclusive)
  45197. return result;
  45198. relative = null;
  45199. try {
  45200. relative = _this.relative$2$from(child, $parent);
  45201. } catch (exception) {
  45202. if (A.unwrapException(exception) instanceof A.PathException)
  45203. return B._PathRelation_different;
  45204. else
  45205. throw exception;
  45206. }
  45207. if (t1.rootLength$1(relative) > 0)
  45208. return B._PathRelation_different;
  45209. if (J.$eq$(relative, "."))
  45210. return B._PathRelation_equal;
  45211. if (J.$eq$(relative, ".."))
  45212. return B._PathRelation_different;
  45213. 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;
  45214. },
  45215. _isWithinOrEqualsFast$2($parent, child) {
  45216. var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
  45217. if ($parent === ".")
  45218. $parent = "";
  45219. t1 = _this.style;
  45220. parentRootLength = t1.rootLength$1($parent);
  45221. childRootLength = t1.rootLength$1(child);
  45222. if (parentRootLength !== childRootLength)
  45223. return B._PathRelation_different;
  45224. for (i = 0; i < parentRootLength; ++i)
  45225. if (!t1.codeUnitsEqual$2($parent.charCodeAt(i), child.charCodeAt(i)))
  45226. return B._PathRelation_different;
  45227. t2 = child.length;
  45228. t3 = $parent.length;
  45229. childIndex = childRootLength;
  45230. parentIndex = parentRootLength;
  45231. lastCodeUnit = 47;
  45232. lastParentSeparator = null;
  45233. while (true) {
  45234. if (!(parentIndex < t3 && childIndex < t2))
  45235. break;
  45236. c$0: {
  45237. parentCodeUnit = $parent.charCodeAt(parentIndex);
  45238. childCodeUnit = child.charCodeAt(childIndex);
  45239. if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
  45240. if (t1.isSeparator$1(parentCodeUnit))
  45241. lastParentSeparator = parentIndex;
  45242. ++parentIndex;
  45243. ++childIndex;
  45244. lastCodeUnit = parentCodeUnit;
  45245. break c$0;
  45246. }
  45247. if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  45248. parentIndex0 = parentIndex + 1;
  45249. lastParentSeparator = parentIndex;
  45250. parentIndex = parentIndex0;
  45251. break c$0;
  45252. } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  45253. ++childIndex;
  45254. break c$0;
  45255. }
  45256. if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  45257. ++parentIndex;
  45258. if (parentIndex === t3)
  45259. break;
  45260. parentCodeUnit = $parent.charCodeAt(parentIndex);
  45261. if (t1.isSeparator$1(parentCodeUnit)) {
  45262. parentIndex0 = parentIndex + 1;
  45263. lastParentSeparator = parentIndex;
  45264. parentIndex = parentIndex0;
  45265. break c$0;
  45266. }
  45267. if (parentCodeUnit === 46) {
  45268. ++parentIndex;
  45269. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  45270. return B._PathRelation_inconclusive;
  45271. }
  45272. }
  45273. if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  45274. ++childIndex;
  45275. if (childIndex === t2)
  45276. break;
  45277. childCodeUnit = child.charCodeAt(childIndex);
  45278. if (t1.isSeparator$1(childCodeUnit)) {
  45279. ++childIndex;
  45280. break c$0;
  45281. }
  45282. if (childCodeUnit === 46) {
  45283. ++childIndex;
  45284. if (childIndex === t2 || t1.isSeparator$1(child.charCodeAt(childIndex)))
  45285. return B._PathRelation_inconclusive;
  45286. }
  45287. }
  45288. if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_Wme)
  45289. return B._PathRelation_inconclusive;
  45290. if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_Wme)
  45291. return B._PathRelation_inconclusive;
  45292. return B._PathRelation_different;
  45293. }
  45294. }
  45295. if (childIndex === t2) {
  45296. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  45297. lastParentSeparator = parentIndex;
  45298. else if (lastParentSeparator == null)
  45299. lastParentSeparator = Math.max(0, parentRootLength - 1);
  45300. direction = _this._pathDirection$2($parent, lastParentSeparator);
  45301. if (direction === B._PathDirection_dMN)
  45302. return B._PathRelation_equal;
  45303. return direction === B._PathDirection_vgO ? B._PathRelation_inconclusive : B._PathRelation_different;
  45304. }
  45305. direction = _this._pathDirection$2(child, childIndex);
  45306. if (direction === B._PathDirection_dMN)
  45307. return B._PathRelation_equal;
  45308. if (direction === B._PathDirection_vgO)
  45309. return B._PathRelation_inconclusive;
  45310. return t1.isSeparator$1(child.charCodeAt(childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
  45311. },
  45312. _pathDirection$2(path, index) {
  45313. var t1, t2, i, depth, reachedRoot, i0, t3;
  45314. for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
  45315. while (true) {
  45316. if (!(i < t1 && t2.isSeparator$1(path.charCodeAt(i))))
  45317. break;
  45318. ++i;
  45319. }
  45320. if (i === t1)
  45321. break;
  45322. i0 = i;
  45323. while (true) {
  45324. if (!(i0 < t1 && !t2.isSeparator$1(path.charCodeAt(i0))))
  45325. break;
  45326. ++i0;
  45327. }
  45328. t3 = i0 - i;
  45329. if (!(t3 === 1 && path.charCodeAt(i) === 46))
  45330. if (t3 === 2 && path.charCodeAt(i) === 46 && path.charCodeAt(i + 1) === 46) {
  45331. --depth;
  45332. if (depth < 0)
  45333. break;
  45334. if (depth === 0)
  45335. reachedRoot = true;
  45336. } else
  45337. ++depth;
  45338. if (i0 === t1)
  45339. break;
  45340. i = i0 + 1;
  45341. }
  45342. if (depth < 0)
  45343. return B._PathDirection_vgO;
  45344. if (depth === 0)
  45345. return B._PathDirection_dMN;
  45346. if (reachedRoot)
  45347. return B._PathDirection_6kc;
  45348. return B._PathDirection_Wme;
  45349. },
  45350. hash$1(path) {
  45351. var result, parsed, t1, _this = this;
  45352. path = _this.absolute$1(path);
  45353. result = _this._hashFast$1(path);
  45354. if (result != null)
  45355. return result;
  45356. parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
  45357. parsed.normalize$0();
  45358. t1 = _this._hashFast$1(parsed.toString$0(0));
  45359. t1.toString;
  45360. return t1;
  45361. },
  45362. _hashFast$1(path) {
  45363. var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
  45364. for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
  45365. codeUnit = t2.canonicalizeCodeUnit$1(path.charCodeAt(i));
  45366. if (t2.isSeparator$1(codeUnit)) {
  45367. wasSeparator = true;
  45368. continue;
  45369. }
  45370. if (codeUnit === 46 && wasSeparator) {
  45371. t3 = i + 1;
  45372. if (t3 === t1)
  45373. break;
  45374. next = path.charCodeAt(t3);
  45375. if (t2.isSeparator$1(next))
  45376. continue;
  45377. t3 = false;
  45378. if (!beginning)
  45379. if (next === 46) {
  45380. t3 = i + 2;
  45381. t3 = t3 === t1 || t2.isSeparator$1(path.charCodeAt(t3));
  45382. }
  45383. if (t3)
  45384. return null;
  45385. }
  45386. hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
  45387. beginning = false;
  45388. wasSeparator = false;
  45389. }
  45390. return hash;
  45391. },
  45392. withoutExtension$1(path) {
  45393. var t1, i,
  45394. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  45395. for (t1 = parsed.parts, i = t1.length - 1; i >= 0; --i)
  45396. if (t1[i].length !== 0) {
  45397. t1[i] = parsed._splitExtension$0()[0];
  45398. break;
  45399. }
  45400. return parsed.toString$0(0);
  45401. },
  45402. toUri$1(path) {
  45403. var t2,
  45404. t1 = this.style;
  45405. if (t1.rootLength$1(path) <= 0)
  45406. return t1.relativePathToUri$1(path);
  45407. else {
  45408. t2 = this._context$_current;
  45409. return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
  45410. }
  45411. },
  45412. prettyUri$1(uri) {
  45413. var path, rel, _this = this,
  45414. typedUri = A._parseUri(uri);
  45415. if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
  45416. return typedUri.toString$0(0);
  45417. else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
  45418. return typedUri.toString$0(0);
  45419. path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
  45420. rel = _this.relative$1(path);
  45421. return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
  45422. }
  45423. };
  45424. A.Context_joinAll_closure.prototype = {
  45425. call$1(part) {
  45426. return part !== "";
  45427. },
  45428. $signature: 5
  45429. };
  45430. A.Context_split_closure.prototype = {
  45431. call$1(part) {
  45432. return part.length !== 0;
  45433. },
  45434. $signature: 5
  45435. };
  45436. A._validateArgList_closure.prototype = {
  45437. call$1(arg) {
  45438. return arg == null ? "null" : '"' + arg + '"';
  45439. },
  45440. $signature: 390
  45441. };
  45442. A._PathDirection.prototype = {
  45443. toString$0(_) {
  45444. return this.name;
  45445. }
  45446. };
  45447. A._PathRelation.prototype = {
  45448. toString$0(_) {
  45449. return this.name;
  45450. }
  45451. };
  45452. A.InternalStyle.prototype = {
  45453. getRoot$1(path) {
  45454. var $length = this.rootLength$1(path);
  45455. if ($length > 0)
  45456. return B.JSString_methods.substring$2(path, 0, $length);
  45457. return this.isRootRelative$1(path) ? path[0] : null;
  45458. },
  45459. relativePathToUri$1(path) {
  45460. var segments, _null = null,
  45461. t1 = path.length;
  45462. if (t1 === 0)
  45463. return A._Uri__Uri(_null, _null, _null, _null);
  45464. segments = A.Context_Context(this).split$1(0, path);
  45465. if (this.isSeparator$1(path.charCodeAt(t1 - 1)))
  45466. B.JSArray_methods.add$1(segments, "");
  45467. return A._Uri__Uri(_null, _null, segments, _null);
  45468. },
  45469. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  45470. return codeUnit1 === codeUnit2;
  45471. },
  45472. pathsEqual$2(path1, path2) {
  45473. return path1 === path2;
  45474. },
  45475. canonicalizeCodeUnit$1(codeUnit) {
  45476. return codeUnit;
  45477. },
  45478. canonicalizePart$1(part) {
  45479. return part;
  45480. }
  45481. };
  45482. A.ParsedPath.prototype = {
  45483. get$basename() {
  45484. var _this = this,
  45485. t1 = type$.String,
  45486. 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));
  45487. copy.removeTrailingSeparators$0();
  45488. t1 = copy.parts;
  45489. if (t1.length === 0) {
  45490. t1 = _this.root;
  45491. return t1 == null ? "" : t1;
  45492. }
  45493. return B.JSArray_methods.get$last(t1);
  45494. },
  45495. get$hasTrailingSeparator() {
  45496. var t1 = this.parts;
  45497. if (t1.length !== 0)
  45498. t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
  45499. else
  45500. t1 = false;
  45501. return t1;
  45502. },
  45503. removeTrailingSeparators$0() {
  45504. var t1, t2, _this = this;
  45505. while (true) {
  45506. t1 = _this.parts;
  45507. if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
  45508. break;
  45509. B.JSArray_methods.removeLast$0(_this.parts);
  45510. _this.separators.pop();
  45511. }
  45512. t1 = _this.separators;
  45513. t2 = t1.length;
  45514. if (t2 !== 0)
  45515. t1[t2 - 1] = "";
  45516. },
  45517. normalize$1$canonicalize(canonicalize) {
  45518. var t1, t2, t3, leadingDoubles, _i, part, _this = this,
  45519. newParts = A._setArrayType([], type$.JSArray_String);
  45520. 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) {
  45521. part = t1[_i];
  45522. if (!(part === "." || part === ""))
  45523. if (part === "..")
  45524. if (newParts.length !== 0)
  45525. newParts.pop();
  45526. else
  45527. ++leadingDoubles;
  45528. else
  45529. newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
  45530. }
  45531. if (_this.root == null)
  45532. B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
  45533. if (newParts.length === 0 && _this.root == null)
  45534. newParts.push(".");
  45535. _this.parts = newParts;
  45536. _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
  45537. t1 = _this.root;
  45538. if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
  45539. _this.separators[0] = "";
  45540. t1 = _this.root;
  45541. if (t1 != null && t3 === $.$get$Style_windows()) {
  45542. if (canonicalize)
  45543. t1 = _this.root = t1.toLowerCase();
  45544. t1.toString;
  45545. _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
  45546. }
  45547. _this.removeTrailingSeparators$0();
  45548. },
  45549. normalize$0() {
  45550. return this.normalize$1$canonicalize(false);
  45551. },
  45552. toString$0(_) {
  45553. var t2, t3, t4, i,
  45554. t1 = this.root;
  45555. t1 = t1 != null ? "" + t1 : "";
  45556. for (t2 = this.parts, t3 = t2.length, t4 = this.separators, i = 0; i < t3; ++i)
  45557. t1 = t1 + t4[i] + t2[i];
  45558. t1 += A.S(B.JSArray_methods.get$last(t4));
  45559. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45560. },
  45561. _kthLastIndexOf$3(path, character, k) {
  45562. var index, count, leftMostIndexedCharacter;
  45563. for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
  45564. if (path[index] === character) {
  45565. ++count;
  45566. if (count === k)
  45567. return index;
  45568. leftMostIndexedCharacter = index;
  45569. }
  45570. return leftMostIndexedCharacter;
  45571. },
  45572. _splitExtension$1(level) {
  45573. var t1, file, lastDot;
  45574. if (level <= 0)
  45575. throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
  45576. t1 = this.parts;
  45577. t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
  45578. file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
  45579. if (file == null)
  45580. return A._setArrayType(["", ""], type$.JSArray_String);
  45581. if (file === "..")
  45582. return A._setArrayType(["..", ""], type$.JSArray_String);
  45583. lastDot = this._kthLastIndexOf$3(file, ".", level);
  45584. if (lastDot <= 0)
  45585. return A._setArrayType([file, ""], type$.JSArray_String);
  45586. return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
  45587. },
  45588. _splitExtension$0() {
  45589. return this._splitExtension$1(1);
  45590. }
  45591. };
  45592. A.ParsedPath__splitExtension_closure.prototype = {
  45593. call$1(p) {
  45594. return p !== "";
  45595. },
  45596. $signature: 218
  45597. };
  45598. A.ParsedPath__splitExtension_closure0.prototype = {
  45599. call$0() {
  45600. return null;
  45601. },
  45602. $signature: 1
  45603. };
  45604. A.PathException.prototype = {
  45605. toString$0(_) {
  45606. return "PathException: " + this.message;
  45607. },
  45608. $isException: 1,
  45609. get$message(receiver) {
  45610. return this.message;
  45611. }
  45612. };
  45613. A.PathMap.prototype = {};
  45614. A.PathMap__create_closure.prototype = {
  45615. call$2(path1, path2) {
  45616. if (path1 == null)
  45617. return path2 == null;
  45618. if (path2 == null)
  45619. return false;
  45620. return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
  45621. },
  45622. $signature: 449
  45623. };
  45624. A.PathMap__create_closure0.prototype = {
  45625. call$1(path) {
  45626. return path == null ? 0 : this._box_0.context.hash$1(path);
  45627. },
  45628. $signature: 469
  45629. };
  45630. A.PathMap__create_closure1.prototype = {
  45631. call$1(path) {
  45632. return typeof path == "string" || path == null;
  45633. },
  45634. $signature: 481
  45635. };
  45636. A.Style.prototype = {
  45637. toString$0(_) {
  45638. return this.get$name(this);
  45639. }
  45640. };
  45641. A.PosixStyle.prototype = {
  45642. containsSeparator$1(path) {
  45643. return B.JSString_methods.contains$1(path, "/");
  45644. },
  45645. isSeparator$1(codeUnit) {
  45646. return codeUnit === 47;
  45647. },
  45648. needsSeparator$1(path) {
  45649. var t1 = path.length;
  45650. return t1 !== 0 && path.charCodeAt(t1 - 1) !== 47;
  45651. },
  45652. rootLength$2$withDrive(path, withDrive) {
  45653. if (path.length !== 0 && path.charCodeAt(0) === 47)
  45654. return 1;
  45655. return 0;
  45656. },
  45657. rootLength$1(path) {
  45658. return this.rootLength$2$withDrive(path, false);
  45659. },
  45660. isRootRelative$1(path) {
  45661. return false;
  45662. },
  45663. pathFromUri$1(uri) {
  45664. var t1;
  45665. if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
  45666. t1 = uri.get$path(uri);
  45667. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  45668. }
  45669. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  45670. },
  45671. absolutePathToUri$1(path) {
  45672. var parsed = A.ParsedPath_ParsedPath$parse(path, this),
  45673. t1 = parsed.parts;
  45674. if (t1.length === 0)
  45675. B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
  45676. else if (parsed.get$hasTrailingSeparator())
  45677. B.JSArray_methods.add$1(parsed.parts, "");
  45678. return A._Uri__Uri(null, null, parsed.parts, "file");
  45679. },
  45680. get$name() {
  45681. return "posix";
  45682. },
  45683. get$separator() {
  45684. return "/";
  45685. }
  45686. };
  45687. A.UrlStyle.prototype = {
  45688. containsSeparator$1(path) {
  45689. return B.JSString_methods.contains$1(path, "/");
  45690. },
  45691. isSeparator$1(codeUnit) {
  45692. return codeUnit === 47;
  45693. },
  45694. needsSeparator$1(path) {
  45695. var t1 = path.length;
  45696. if (t1 === 0)
  45697. return false;
  45698. if (path.charCodeAt(t1 - 1) !== 47)
  45699. return true;
  45700. return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
  45701. },
  45702. rootLength$2$withDrive(path, withDrive) {
  45703. var i, codeUnit, index,
  45704. t1 = path.length;
  45705. if (t1 === 0)
  45706. return 0;
  45707. if (path.charCodeAt(0) === 47)
  45708. return 1;
  45709. for (i = 0; i < t1; ++i) {
  45710. codeUnit = path.charCodeAt(i);
  45711. if (codeUnit === 47)
  45712. return 0;
  45713. if (codeUnit === 58) {
  45714. if (i === 0)
  45715. return 0;
  45716. index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
  45717. if (index <= 0)
  45718. return t1;
  45719. if (!withDrive || t1 < index + 3)
  45720. return index;
  45721. if (!B.JSString_methods.startsWith$1(path, "file://"))
  45722. return index;
  45723. t1 = A.driveLetterEnd(path, index + 1);
  45724. return t1 == null ? index : t1;
  45725. }
  45726. }
  45727. return 0;
  45728. },
  45729. rootLength$1(path) {
  45730. return this.rootLength$2$withDrive(path, false);
  45731. },
  45732. isRootRelative$1(path) {
  45733. return path.length !== 0 && path.charCodeAt(0) === 47;
  45734. },
  45735. pathFromUri$1(uri) {
  45736. return uri.toString$0(0);
  45737. },
  45738. relativePathToUri$1(path) {
  45739. return A.Uri_parse(path);
  45740. },
  45741. absolutePathToUri$1(path) {
  45742. return A.Uri_parse(path);
  45743. },
  45744. get$name() {
  45745. return "url";
  45746. },
  45747. get$separator() {
  45748. return "/";
  45749. }
  45750. };
  45751. A.WindowsStyle.prototype = {
  45752. containsSeparator$1(path) {
  45753. return B.JSString_methods.contains$1(path, "/");
  45754. },
  45755. isSeparator$1(codeUnit) {
  45756. return codeUnit === 47 || codeUnit === 92;
  45757. },
  45758. needsSeparator$1(path) {
  45759. var t1 = path.length;
  45760. if (t1 === 0)
  45761. return false;
  45762. t1 = path.charCodeAt(t1 - 1);
  45763. return !(t1 === 47 || t1 === 92);
  45764. },
  45765. rootLength$2$withDrive(path, withDrive) {
  45766. var index,
  45767. t1 = path.length;
  45768. if (t1 === 0)
  45769. return 0;
  45770. if (path.charCodeAt(0) === 47)
  45771. return 1;
  45772. if (path.charCodeAt(0) === 92) {
  45773. if (t1 < 2 || path.charCodeAt(1) !== 92)
  45774. return 1;
  45775. index = B.JSString_methods.indexOf$2(path, "\\", 2);
  45776. if (index > 0) {
  45777. index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
  45778. if (index > 0)
  45779. return index;
  45780. }
  45781. return t1;
  45782. }
  45783. if (t1 < 3)
  45784. return 0;
  45785. if (!A.isAlphabetic(path.charCodeAt(0)))
  45786. return 0;
  45787. if (path.charCodeAt(1) !== 58)
  45788. return 0;
  45789. t1 = path.charCodeAt(2);
  45790. if (!(t1 === 47 || t1 === 92))
  45791. return 0;
  45792. return 3;
  45793. },
  45794. rootLength$1(path) {
  45795. return this.rootLength$2$withDrive(path, false);
  45796. },
  45797. isRootRelative$1(path) {
  45798. return this.rootLength$1(path) === 1;
  45799. },
  45800. pathFromUri$1(uri) {
  45801. var path, t1;
  45802. if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
  45803. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  45804. path = uri.get$path(uri);
  45805. if (uri.get$host() === "") {
  45806. if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.driveLetterEnd(path, 1) != null)
  45807. path = B.JSString_methods.replaceFirst$2(path, "/", "");
  45808. } else
  45809. path = "\\\\" + uri.get$host() + path;
  45810. t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
  45811. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  45812. },
  45813. absolutePathToUri$1(path) {
  45814. var rootParts, t2,
  45815. parsed = A.ParsedPath_ParsedPath$parse(path, this),
  45816. t1 = parsed.root;
  45817. t1.toString;
  45818. if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
  45819. rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
  45820. B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(0));
  45821. if (parsed.get$hasTrailingSeparator())
  45822. B.JSArray_methods.add$1(parsed.parts, "");
  45823. return A._Uri__Uri(rootParts.get$first(0), null, parsed.parts, "file");
  45824. } else {
  45825. if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
  45826. B.JSArray_methods.add$1(parsed.parts, "");
  45827. t1 = parsed.parts;
  45828. t2 = parsed.root;
  45829. t2.toString;
  45830. t2 = A.stringReplaceAllUnchecked(t2, "/", "");
  45831. B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
  45832. return A._Uri__Uri(null, null, parsed.parts, "file");
  45833. }
  45834. },
  45835. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  45836. var upperCase1;
  45837. if (codeUnit1 === codeUnit2)
  45838. return true;
  45839. if (codeUnit1 === 47)
  45840. return codeUnit2 === 92;
  45841. if (codeUnit1 === 92)
  45842. return codeUnit2 === 47;
  45843. if ((codeUnit1 ^ codeUnit2) !== 32)
  45844. return false;
  45845. upperCase1 = codeUnit1 | 32;
  45846. return upperCase1 >= 97 && upperCase1 <= 122;
  45847. },
  45848. pathsEqual$2(path1, path2) {
  45849. var t1, i;
  45850. if (path1 === path2)
  45851. return true;
  45852. t1 = path1.length;
  45853. if (t1 !== path2.length)
  45854. return false;
  45855. for (i = 0; i < t1; ++i)
  45856. if (!this.codeUnitsEqual$2(path1.charCodeAt(i), path2.charCodeAt(i)))
  45857. return false;
  45858. return true;
  45859. },
  45860. canonicalizeCodeUnit$1(codeUnit) {
  45861. if (codeUnit === 47)
  45862. return 92;
  45863. if (codeUnit < 65)
  45864. return codeUnit;
  45865. if (codeUnit > 90)
  45866. return codeUnit;
  45867. return codeUnit | 32;
  45868. },
  45869. canonicalizePart$1(part) {
  45870. return part.toLowerCase();
  45871. },
  45872. get$name() {
  45873. return "windows";
  45874. },
  45875. get$separator() {
  45876. return "\\";
  45877. }
  45878. };
  45879. A.WindowsStyle_absolutePathToUri_closure.prototype = {
  45880. call$1(part) {
  45881. return part !== "";
  45882. },
  45883. $signature: 5
  45884. };
  45885. A.Version.prototype = {
  45886. get$min() {
  45887. return this;
  45888. },
  45889. get$max() {
  45890. return this;
  45891. },
  45892. get$includeMin() {
  45893. return true;
  45894. },
  45895. get$includeMax() {
  45896. return true;
  45897. },
  45898. $eq(_, other) {
  45899. var _this = this;
  45900. if (other == null)
  45901. return false;
  45902. 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);
  45903. },
  45904. get$hashCode(_) {
  45905. var _this = this;
  45906. return (_this.major ^ _this.minor ^ _this.patch ^ B.C_IterableEquality.hash$1(_this.preRelease) ^ B.C_IterableEquality.hash$1(_this.build)) >>> 0;
  45907. },
  45908. compareTo$1(_, other) {
  45909. var t1, t2, t3, comparison, _this = this;
  45910. if (other instanceof A.Version) {
  45911. t1 = _this.major;
  45912. t2 = other.major;
  45913. if (t1 !== t2)
  45914. return B.JSInt_methods.compareTo$1(t1, t2);
  45915. t1 = _this.minor;
  45916. t2 = other.minor;
  45917. if (t1 !== t2)
  45918. return B.JSInt_methods.compareTo$1(t1, t2);
  45919. t1 = _this.patch;
  45920. t2 = other.patch;
  45921. if (t1 !== t2)
  45922. return B.JSInt_methods.compareTo$1(t1, t2);
  45923. t1 = _this.preRelease;
  45924. t2 = t1.length === 0;
  45925. if (t2 && other.preRelease.length !== 0)
  45926. return 1;
  45927. t3 = other.preRelease;
  45928. if (t3.length === 0 && !t2)
  45929. return -1;
  45930. comparison = _this._compareLists$2(t1, t3);
  45931. if (comparison !== 0)
  45932. return comparison;
  45933. t1 = _this.build;
  45934. t2 = t1.length === 0;
  45935. if (t2 && other.build.length !== 0)
  45936. return -1;
  45937. t3 = other.build;
  45938. if (t3.length === 0 && !t2)
  45939. return 1;
  45940. return _this._compareLists$2(t1, t3);
  45941. } else
  45942. return -other.compareTo$1(0, _this);
  45943. },
  45944. toString$0(_) {
  45945. return this._version$_text;
  45946. },
  45947. _compareLists$2(a, b) {
  45948. var i, t1, t2, aPart, bPart;
  45949. for (i = 0; t1 = a.length, t2 = b.length, i < Math.max(t1, t2); ++i) {
  45950. aPart = i < t1 ? a[i] : null;
  45951. bPart = i < t2 ? b[i] : null;
  45952. if (J.$eq$(aPart, bPart))
  45953. continue;
  45954. if (aPart == null)
  45955. return -1;
  45956. if (bPart == null)
  45957. return 1;
  45958. if (typeof aPart == "number")
  45959. if (typeof bPart == "number")
  45960. return B.JSNumber_methods.compareTo$1(aPart, bPart);
  45961. else
  45962. return -1;
  45963. else if (typeof bPart == "number")
  45964. return 1;
  45965. else {
  45966. A._asString(aPart);
  45967. A._asString(bPart);
  45968. if (aPart === bPart)
  45969. t1 = 0;
  45970. else
  45971. t1 = aPart < bPart ? -1 : 1;
  45972. return t1;
  45973. }
  45974. }
  45975. return 0;
  45976. },
  45977. $isComparable: 1,
  45978. $isVersionRange: 1
  45979. };
  45980. A.Version__splitParts_closure.prototype = {
  45981. call$1(part) {
  45982. var t1 = A.Primitives_parseInt(part, null);
  45983. return t1 == null ? part : t1;
  45984. },
  45985. $signature: 592
  45986. };
  45987. A.VersionRange.prototype = {
  45988. $eq(_, other) {
  45989. var t1;
  45990. if (other == null)
  45991. return false;
  45992. if (!type$.VersionRange._is(other))
  45993. return false;
  45994. t1 = false;
  45995. if (this.min == other.get$min())
  45996. if (J.$eq$(this.max, other.get$max())) {
  45997. t1 = !other.get$includeMin();
  45998. if (t1)
  45999. other.get$includeMax();
  46000. }
  46001. return t1;
  46002. },
  46003. get$hashCode(_) {
  46004. var t1 = B.JSNull_methods.get$hashCode(this.min),
  46005. t2 = J.get$hashCode$(this.max);
  46006. return (t1 ^ t2 * 3 ^ 1090795 ^ 3633126) >>> 0;
  46007. },
  46008. allows$1(other) {
  46009. var t1 = this.max;
  46010. if (t1 != null)
  46011. if (other.compareTo$1(0, t1) > 0)
  46012. return false;
  46013. return true;
  46014. },
  46015. compareTo$1(_, other) {
  46016. if (other.get$min() == null)
  46017. return this._compareMax$1(other);
  46018. return -1;
  46019. },
  46020. _compareMax$1(other) {
  46021. var t2, result,
  46022. t1 = this.max;
  46023. if (t1 == null) {
  46024. if (other.get$max() == null)
  46025. return 0;
  46026. return 1;
  46027. } else if (other.get$max() == null)
  46028. return -1;
  46029. t2 = other.get$max();
  46030. t2.toString;
  46031. result = t1.compareTo$1(0, t2);
  46032. if (result !== 0)
  46033. return result;
  46034. other.get$includeMax();
  46035. return 0;
  46036. },
  46037. toString$0(_) {
  46038. var t2,
  46039. max = this.max,
  46040. t1 = max == null;
  46041. if (!t1)
  46042. t2 = "" + "<=" + max.toString$0(0);
  46043. else
  46044. t2 = "";
  46045. t1 = t1 ? t2 + "any" : t2;
  46046. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46047. },
  46048. $isComparable: 1,
  46049. get$min() {
  46050. return this.min;
  46051. },
  46052. get$max() {
  46053. return this.max;
  46054. },
  46055. get$includeMin() {
  46056. return this.includeMin;
  46057. },
  46058. get$includeMax() {
  46059. return this.includeMax;
  46060. }
  46061. };
  46062. A.CssMediaQuery.prototype = {
  46063. merge$1(other) {
  46064. 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";
  46065. if (!_this.conjunction || !other.conjunction)
  46066. return B._SingletonCssMediaQueryMergeResult_1;
  46067. t1 = _this.modifier;
  46068. ourModifier = t1 == null ? _null : t1.toLowerCase();
  46069. t2 = _this.type;
  46070. t3 = t2 == null;
  46071. ourType = t3 ? _null : t2.toLowerCase();
  46072. t4 = other.modifier;
  46073. theirModifier = t4 == null ? _null : t4.toLowerCase();
  46074. t5 = other.type;
  46075. t6 = t5 == null;
  46076. theirType = t6 ? _null : t5.toLowerCase();
  46077. t7 = ourType == null;
  46078. if (t7 && theirType == null) {
  46079. t1 = A.List_List$of(_this.conditions, true, type$.String);
  46080. B.JSArray_methods.addAll$1(t1, other.conditions);
  46081. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$condition(t1, true));
  46082. }
  46083. t8 = ourModifier === "not";
  46084. if (t8 !== (theirModifier === "not")) {
  46085. if (ourType == theirType) {
  46086. negativeConditions = t8 ? _this.conditions : other.conditions;
  46087. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  46088. return B._SingletonCssMediaQueryMergeResult_0;
  46089. else
  46090. return B._SingletonCssMediaQueryMergeResult_1;
  46091. } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
  46092. return B._SingletonCssMediaQueryMergeResult_1;
  46093. if (t8) {
  46094. conditions = other.conditions;
  46095. type = theirType;
  46096. modifier = theirModifier;
  46097. } else {
  46098. conditions = _this.conditions;
  46099. type = ourType;
  46100. modifier = ourModifier;
  46101. }
  46102. } else if (t8) {
  46103. if (ourType != theirType)
  46104. return B._SingletonCssMediaQueryMergeResult_1;
  46105. fewerConditions = _this.conditions;
  46106. fewerConditions0 = other.conditions;
  46107. t3 = fewerConditions.length > fewerConditions0.length;
  46108. moreConditions = t3 ? fewerConditions : fewerConditions0;
  46109. if (t3)
  46110. fewerConditions = fewerConditions0;
  46111. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  46112. return B._SingletonCssMediaQueryMergeResult_1;
  46113. conditions = moreConditions;
  46114. type = ourType;
  46115. modifier = ourModifier;
  46116. } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
  46117. type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
  46118. t3 = A.List_List$of(_this.conditions, true, type$.String);
  46119. B.JSArray_methods.addAll$1(t3, other.conditions);
  46120. conditions = t3;
  46121. modifier = theirModifier;
  46122. } else {
  46123. if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
  46124. t3 = A.List_List$of(_this.conditions, true, type$.String);
  46125. B.JSArray_methods.addAll$1(t3, other.conditions);
  46126. conditions = t3;
  46127. modifier = ourModifier;
  46128. } else {
  46129. if (ourType != theirType)
  46130. return B._SingletonCssMediaQueryMergeResult_0;
  46131. else {
  46132. modifier = ourModifier == null ? theirModifier : ourModifier;
  46133. t3 = A.List_List$of(_this.conditions, true, type$.String);
  46134. B.JSArray_methods.addAll$1(t3, other.conditions);
  46135. }
  46136. conditions = t3;
  46137. }
  46138. type = ourType;
  46139. }
  46140. t2 = type == ourType ? t2 : t5;
  46141. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$type(t2, conditions, modifier == ourModifier ? t1 : t4));
  46142. },
  46143. $eq(_, other) {
  46144. if (other == null)
  46145. return false;
  46146. return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  46147. },
  46148. get$hashCode(_) {
  46149. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  46150. },
  46151. toString$0(_) {
  46152. var t2, _this = this,
  46153. t1 = _this.modifier;
  46154. t1 = t1 != null ? "" + (t1 + " ") : "";
  46155. t2 = _this.type;
  46156. if (t2 != null) {
  46157. t1 += t2;
  46158. if (_this.conditions.length !== 0)
  46159. t1 += " and ";
  46160. }
  46161. t2 = _this.conjunction ? " and " : " or ";
  46162. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  46163. return t2.charCodeAt(0) == 0 ? t2 : t2;
  46164. }
  46165. };
  46166. A._SingletonCssMediaQueryMergeResult.prototype = {
  46167. _enumToString$0() {
  46168. return "_SingletonCssMediaQueryMergeResult." + this._name;
  46169. }
  46170. };
  46171. A.MediaQuerySuccessfulMergeResult.prototype = {
  46172. toString$0(_) {
  46173. return this.query.toString$0(0);
  46174. }
  46175. };
  46176. A.ModifiableCssAtRule.prototype = {
  46177. accept$1$1(visitor) {
  46178. return visitor.visitCssAtRule$1(this);
  46179. },
  46180. accept$1(visitor) {
  46181. return this.accept$1$1(visitor, type$.dynamic);
  46182. },
  46183. equalsIgnoringChildren$1(other) {
  46184. var t1, t2;
  46185. if (other instanceof A.ModifiableCssAtRule) {
  46186. t1 = this.name;
  46187. t2 = other.name;
  46188. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  46189. } else
  46190. t1 = false;
  46191. return t1;
  46192. },
  46193. copyWithoutChildren$0() {
  46194. var _this = this;
  46195. return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
  46196. },
  46197. addChild$1(child) {
  46198. this.super$ModifiableCssParentNode$addChild(child);
  46199. },
  46200. get$isChildless() {
  46201. return this.isChildless;
  46202. },
  46203. get$span(receiver) {
  46204. return this.span;
  46205. }
  46206. };
  46207. A.ModifiableCssComment.prototype = {
  46208. accept$1$1(visitor) {
  46209. return visitor.visitCssComment$1(this);
  46210. },
  46211. accept$1(visitor) {
  46212. return this.accept$1$1(visitor, type$.dynamic);
  46213. },
  46214. $isCssComment: 1,
  46215. get$span(receiver) {
  46216. return this.span;
  46217. }
  46218. };
  46219. A.ModifiableCssDeclaration.prototype = {
  46220. accept$1$1(visitor) {
  46221. return visitor.visitCssDeclaration$1(this);
  46222. },
  46223. accept$1(visitor) {
  46224. return this.accept$1$1(visitor, type$.dynamic);
  46225. },
  46226. toString$0(_) {
  46227. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  46228. },
  46229. get$span(receiver) {
  46230. return this.span;
  46231. }
  46232. };
  46233. A.ModifiableCssImport.prototype = {
  46234. accept$1$1(visitor) {
  46235. return visitor.visitCssImport$1(this);
  46236. },
  46237. accept$1(visitor) {
  46238. return this.accept$1$1(visitor, type$.dynamic);
  46239. },
  46240. get$span(receiver) {
  46241. return this.span;
  46242. }
  46243. };
  46244. A.ModifiableCssKeyframeBlock.prototype = {
  46245. accept$1$1(visitor) {
  46246. return visitor.visitCssKeyframeBlock$1(this);
  46247. },
  46248. accept$1(visitor) {
  46249. return this.accept$1$1(visitor, type$.dynamic);
  46250. },
  46251. equalsIgnoringChildren$1(other) {
  46252. return other instanceof A.ModifiableCssKeyframeBlock && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  46253. },
  46254. copyWithoutChildren$0() {
  46255. return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
  46256. },
  46257. get$span(receiver) {
  46258. return this.span;
  46259. }
  46260. };
  46261. A.ModifiableCssMediaRule.prototype = {
  46262. accept$1$1(visitor) {
  46263. return visitor.visitCssMediaRule$1(this);
  46264. },
  46265. accept$1(visitor) {
  46266. return this.accept$1$1(visitor, type$.dynamic);
  46267. },
  46268. equalsIgnoringChildren$1(other) {
  46269. return other instanceof A.ModifiableCssMediaRule && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  46270. },
  46271. copyWithoutChildren$0() {
  46272. return A.ModifiableCssMediaRule$(this.queries, this.span);
  46273. },
  46274. get$span(receiver) {
  46275. return this.span;
  46276. }
  46277. };
  46278. A.ModifiableCssNode.prototype = {
  46279. get$parent(_) {
  46280. return this._parent;
  46281. },
  46282. get$hasFollowingSibling() {
  46283. var t2,
  46284. t1 = this._parent;
  46285. if (t1 == null)
  46286. t1 = null;
  46287. else {
  46288. t1 = t1.children;
  46289. t2 = this._indexInParent;
  46290. t2.toString;
  46291. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure());
  46292. }
  46293. return t1 === true;
  46294. },
  46295. get$isGroupEnd() {
  46296. return this.isGroupEnd;
  46297. }
  46298. };
  46299. A.ModifiableCssNode_hasFollowingSibling_closure.prototype = {
  46300. call$1(sibling) {
  46301. return !sibling.accept$1(B._IsInvisibleVisitor_true_false);
  46302. },
  46303. $signature: 628
  46304. };
  46305. A.ModifiableCssParentNode.prototype = {
  46306. get$isChildless() {
  46307. return false;
  46308. },
  46309. addChild$1(child) {
  46310. var t1;
  46311. child._parent = this;
  46312. t1 = this._children;
  46313. child._indexInParent = t1.length;
  46314. t1.push(child);
  46315. },
  46316. clearChildren$0() {
  46317. var t1, t2, _i, child;
  46318. for (t1 = this._children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  46319. child = t1[_i];
  46320. child._indexInParent = child._parent = null;
  46321. }
  46322. B.JSArray_methods.clear$0(t1);
  46323. },
  46324. $isCssParentNode: 1,
  46325. get$children(receiver) {
  46326. return this.children;
  46327. }
  46328. };
  46329. A.ModifiableCssStyleRule.prototype = {
  46330. accept$1$1(visitor) {
  46331. return visitor.visitCssStyleRule$1(this);
  46332. },
  46333. accept$1(visitor) {
  46334. return this.accept$1$1(visitor, type$.dynamic);
  46335. },
  46336. equalsIgnoringChildren$1(other) {
  46337. var t1;
  46338. if (other instanceof A.ModifiableCssStyleRule)
  46339. t1 = B.C_ListEquality.equals$2(0, other._style_rule$_selector._box$_inner.value.components, this._style_rule$_selector._box$_inner.value.components);
  46340. else
  46341. t1 = false;
  46342. return t1;
  46343. },
  46344. copyWithoutChildren$0() {
  46345. return A.ModifiableCssStyleRule$(this._style_rule$_selector, this.span, false, this.originalSelector);
  46346. },
  46347. $isCssStyleRule: 1,
  46348. get$span(receiver) {
  46349. return this.span;
  46350. }
  46351. };
  46352. A.ModifiableCssStylesheet.prototype = {
  46353. accept$1$1(visitor) {
  46354. return visitor.visitCssStylesheet$1(this);
  46355. },
  46356. accept$1(visitor) {
  46357. return this.accept$1$1(visitor, type$.dynamic);
  46358. },
  46359. equalsIgnoringChildren$1(other) {
  46360. return other instanceof A.ModifiableCssStylesheet;
  46361. },
  46362. copyWithoutChildren$0() {
  46363. return A.ModifiableCssStylesheet$(this.span);
  46364. },
  46365. $isCssStylesheet: 1,
  46366. get$span(receiver) {
  46367. return this.span;
  46368. }
  46369. };
  46370. A.ModifiableCssSupportsRule.prototype = {
  46371. accept$1$1(visitor) {
  46372. return visitor.visitCssSupportsRule$1(this);
  46373. },
  46374. accept$1(visitor) {
  46375. return this.accept$1$1(visitor, type$.dynamic);
  46376. },
  46377. equalsIgnoringChildren$1(other) {
  46378. var t1, t2;
  46379. if (other instanceof A.ModifiableCssSupportsRule) {
  46380. t1 = this.condition;
  46381. t2 = other.condition;
  46382. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  46383. } else
  46384. t1 = false;
  46385. return t1;
  46386. },
  46387. copyWithoutChildren$0() {
  46388. return A.ModifiableCssSupportsRule$(this.condition, this.span);
  46389. },
  46390. get$span(receiver) {
  46391. return this.span;
  46392. }
  46393. };
  46394. A.CssNode.prototype = {
  46395. toString$0(_) {
  46396. var _null = null;
  46397. return A.serialize(this, true, _null, true, _null, _null, false, _null, true)._0;
  46398. },
  46399. $isAstNode: 1
  46400. };
  46401. A.CssParentNode.prototype = {};
  46402. A._IsInvisibleVisitor.prototype = {
  46403. visitCssAtRule$1(rule) {
  46404. return false;
  46405. },
  46406. visitCssComment$1(comment) {
  46407. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  46408. },
  46409. visitCssStyleRule$1(rule) {
  46410. var t1 = rule._style_rule$_selector._box$_inner;
  46411. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true) : t1.value.accept$1(B._IsInvisibleVisitor_false)) || this.super$EveryCssVisitor$visitCssStyleRule(rule);
  46412. }
  46413. };
  46414. A.__IsInvisibleVisitor_Object_EveryCssVisitor.prototype = {};
  46415. A.CssStylesheet.prototype = {
  46416. get$parent(_) {
  46417. return null;
  46418. },
  46419. get$isGroupEnd() {
  46420. return false;
  46421. },
  46422. get$isChildless() {
  46423. return false;
  46424. },
  46425. accept$1$1(visitor) {
  46426. return visitor.visitCssStylesheet$1(this);
  46427. },
  46428. accept$1(visitor) {
  46429. return this.accept$1$1(visitor, type$.dynamic);
  46430. },
  46431. get$children(receiver) {
  46432. return this.children;
  46433. },
  46434. get$span(receiver) {
  46435. return this.span;
  46436. }
  46437. };
  46438. A.CssValue.prototype = {
  46439. $eq(_, other) {
  46440. if (other == null)
  46441. return false;
  46442. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  46443. },
  46444. get$hashCode(_) {
  46445. return J.get$hashCode$(this.value);
  46446. },
  46447. toString$0(_) {
  46448. return J.toString$0$(this.value);
  46449. },
  46450. $isAstNode: 1,
  46451. get$span(receiver) {
  46452. return this.span;
  46453. }
  46454. };
  46455. A._FakeAstNode.prototype = {
  46456. get$span(_) {
  46457. return this._callback.call$0();
  46458. },
  46459. $isAstNode: 1
  46460. };
  46461. A.ArgumentList.prototype = {
  46462. get$isEmpty(_) {
  46463. var t1;
  46464. if (this.positional.length === 0) {
  46465. t1 = this.named;
  46466. t1 = t1.get$isEmpty(t1) && this.rest == null;
  46467. } else
  46468. t1 = false;
  46469. return t1;
  46470. },
  46471. toString$0(_) {
  46472. var t2, t3, _i, _1_0, _2_0, _this = this,
  46473. t1 = A._setArrayType([], type$.JSArray_String);
  46474. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  46475. t1.push(_this._parenthesizeArgument$1(t2[_i]));
  46476. for (t2 = A.MapExtensions_get_pairs(_this.named, type$.String, type$.Expression), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  46477. t3 = t2.get$current(t2);
  46478. t1.push("$" + t3._0 + ": " + _this._parenthesizeArgument$1(t3._1));
  46479. }
  46480. _1_0 = _this.rest;
  46481. if (_1_0 != null)
  46482. t1.push(_this._parenthesizeArgument$1(_1_0) + "...");
  46483. _2_0 = _this.keywordRest;
  46484. if (_2_0 != null)
  46485. t1.push(_this._parenthesizeArgument$1(_2_0) + "...");
  46486. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  46487. },
  46488. _parenthesizeArgument$1(argument) {
  46489. var t1;
  46490. $label0$0: {
  46491. if (argument instanceof A.ListExpression && B.ListSeparator_qVN === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  46492. t1 = "(" + argument.toString$0(0) + ")";
  46493. break $label0$0;
  46494. }
  46495. t1 = argument.toString$0(0);
  46496. break $label0$0;
  46497. }
  46498. return t1;
  46499. },
  46500. $isAstNode: 1,
  46501. get$span(receiver) {
  46502. return this.span;
  46503. }
  46504. };
  46505. A.AtRootQuery.prototype = {
  46506. excludes$1(node) {
  46507. var t1, _this = this;
  46508. if (_this._all)
  46509. return !_this.include;
  46510. $label0$0: {
  46511. if (node instanceof A.ModifiableCssStyleRule) {
  46512. t1 = _this._at_root_query$_rule !== _this.include;
  46513. break $label0$0;
  46514. }
  46515. if (node instanceof A.ModifiableCssMediaRule) {
  46516. t1 = _this.excludesName$1("media");
  46517. break $label0$0;
  46518. }
  46519. if (node instanceof A.ModifiableCssSupportsRule) {
  46520. t1 = _this.excludesName$1("supports");
  46521. break $label0$0;
  46522. }
  46523. if (node instanceof A.ModifiableCssAtRule) {
  46524. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  46525. break $label0$0;
  46526. }
  46527. t1 = false;
  46528. break $label0$0;
  46529. }
  46530. return t1;
  46531. },
  46532. excludesName$1($name) {
  46533. var t1 = this._all || this.names.contains$1(0, $name);
  46534. return t1 !== this.include;
  46535. }
  46536. };
  46537. A.ConfiguredVariable.prototype = {
  46538. toString$0(_) {
  46539. var t1 = this.expression.toString$0(0),
  46540. t2 = this.isGuarded ? " !default" : "";
  46541. return "$" + this.name + ": " + t1 + t2;
  46542. },
  46543. $isAstNode: 1,
  46544. get$span(receiver) {
  46545. return this.span;
  46546. }
  46547. };
  46548. A.Expression.prototype = {$isAstNode: 1};
  46549. A.BinaryOperationExpression.prototype = {
  46550. get$span(_) {
  46551. var right,
  46552. left = this.left;
  46553. for (; left instanceof A.BinaryOperationExpression;)
  46554. left = left.left;
  46555. right = this.right;
  46556. for (; right instanceof A.BinaryOperationExpression;)
  46557. right = right.right;
  46558. return left.get$span(left).expand$1(0, right.get$span(right));
  46559. },
  46560. get$operatorSpan() {
  46561. var t3, t4,
  46562. t1 = this.left,
  46563. t2 = t1.get$span(t1);
  46564. t2 = t2.get$file(t2);
  46565. t3 = this.right;
  46566. t4 = t3.get$span(t3);
  46567. if (t2 === t4.get$file(t4)) {
  46568. t2 = t1.get$span(t1);
  46569. t2 = t2.get$end(t2);
  46570. t4 = t3.get$span(t3);
  46571. t4 = t2.offset < t4.get$start(t4).offset;
  46572. t2 = t4;
  46573. } else
  46574. t2 = false;
  46575. if (t2) {
  46576. t2 = t1.get$span(t1);
  46577. t2 = t2.get$file(t2);
  46578. t1 = t1.get$span(t1);
  46579. t1 = t1.get$end(t1);
  46580. t3 = t3.get$span(t3);
  46581. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  46582. t1 = t3;
  46583. } else
  46584. t1 = this.get$span(0);
  46585. return t1;
  46586. },
  46587. accept$1$1(visitor) {
  46588. return visitor.visitBinaryOperationExpression$1(0, this);
  46589. },
  46590. accept$1(visitor) {
  46591. return this.accept$1$1(visitor, type$.dynamic);
  46592. },
  46593. toString$0(_) {
  46594. var t1, t2, right, t3, operator, _this = this,
  46595. _0_0 = _this.left;
  46596. $label0$0: {
  46597. if (_0_0 instanceof A.BinaryOperationExpression) {
  46598. t1 = _0_0.operator.precedence < _this.operator.precedence;
  46599. break $label0$0;
  46600. }
  46601. if (_0_0 instanceof A.ListExpression && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  46602. t1 = true;
  46603. break $label0$0;
  46604. }
  46605. t1 = false;
  46606. break $label0$0;
  46607. }
  46608. t2 = t1 ? "" + A.Primitives_stringFromCharCode(40) : "";
  46609. t2 += _0_0.toString$0(0);
  46610. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  46611. t2 = _this.operator;
  46612. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  46613. right = _this.right;
  46614. $label1$1: {
  46615. t3 = false;
  46616. if (right instanceof A.BinaryOperationExpression) {
  46617. operator = right.operator;
  46618. if (operator.precedence <= t2.precedence) {
  46619. t3 = !(operator === t2 && operator.isAssociative);
  46620. t2 = t3;
  46621. } else
  46622. t2 = t3;
  46623. break $label1$1;
  46624. }
  46625. if (right instanceof A.ListExpression && !right.hasBrackets && right.contents.length >= 2) {
  46626. t2 = true;
  46627. break $label1$1;
  46628. }
  46629. t2 = t3;
  46630. break $label1$1;
  46631. }
  46632. if (t2)
  46633. t1 += A.Primitives_stringFromCharCode(40);
  46634. t1 += right.toString$0(0);
  46635. if (t2)
  46636. t1 += A.Primitives_stringFromCharCode(41);
  46637. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46638. }
  46639. };
  46640. A.BinaryOperator.prototype = {
  46641. _enumToString$0() {
  46642. return "BinaryOperator." + this._name;
  46643. },
  46644. toString$0(_) {
  46645. return this.name;
  46646. }
  46647. };
  46648. A.BooleanExpression.prototype = {
  46649. accept$1$1(visitor) {
  46650. return visitor.visitBooleanExpression$1(0, this);
  46651. },
  46652. accept$1(visitor) {
  46653. return this.accept$1$1(visitor, type$.dynamic);
  46654. },
  46655. toString$0(_) {
  46656. return String(this.value);
  46657. },
  46658. get$span(receiver) {
  46659. return this.span;
  46660. }
  46661. };
  46662. A.ColorExpression.prototype = {
  46663. accept$1$1(visitor) {
  46664. return visitor.visitColorExpression$1(0, this);
  46665. },
  46666. accept$1(visitor) {
  46667. return this.accept$1$1(visitor, type$.dynamic);
  46668. },
  46669. toString$0(_) {
  46670. return A.serializeValue(this.value, true, true);
  46671. },
  46672. get$span(receiver) {
  46673. return this.span;
  46674. }
  46675. };
  46676. A.FunctionExpression.prototype = {
  46677. get$nameSpan() {
  46678. if (this.namespace == null)
  46679. return A.SpanExtensions_initialIdentifier(this.span);
  46680. return A.SpanExtensions_initialIdentifier(A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier(this.span), 1, null));
  46681. },
  46682. accept$1$1(visitor) {
  46683. return visitor.visitFunctionExpression$1(0, this);
  46684. },
  46685. accept$1(visitor) {
  46686. return this.accept$1$1(visitor, type$.dynamic);
  46687. },
  46688. toString$0(_) {
  46689. var t1 = this.namespace;
  46690. t1 = t1 != null ? "" + (t1 + ".") : "";
  46691. t1 += this.originalName + this.$arguments.toString$0(0);
  46692. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46693. },
  46694. get$span(receiver) {
  46695. return this.span;
  46696. }
  46697. };
  46698. A.IfExpression.prototype = {
  46699. accept$1$1(visitor) {
  46700. return visitor.visitIfExpression$1(0, this);
  46701. },
  46702. accept$1(visitor) {
  46703. return this.accept$1$1(visitor, type$.dynamic);
  46704. },
  46705. toString$0(_) {
  46706. return "if" + this.$arguments.toString$0(0);
  46707. },
  46708. get$span(receiver) {
  46709. return this.span;
  46710. }
  46711. };
  46712. A.InterpolatedFunctionExpression.prototype = {
  46713. accept$1$1(visitor) {
  46714. return visitor.visitInterpolatedFunctionExpression$1(0, this);
  46715. },
  46716. accept$1(visitor) {
  46717. return this.accept$1$1(visitor, type$.dynamic);
  46718. },
  46719. toString$0(_) {
  46720. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  46721. },
  46722. get$span(receiver) {
  46723. return this.span;
  46724. }
  46725. };
  46726. A.ListExpression.prototype = {
  46727. accept$1$1(visitor) {
  46728. return visitor.visitListExpression$1(0, this);
  46729. },
  46730. accept$1(visitor) {
  46731. return this.accept$1$1(visitor, type$.dynamic);
  46732. },
  46733. toString$0(_) {
  46734. var t2, t3, t4, t5, _this = this,
  46735. t1 = _this.hasBrackets;
  46736. if (t1)
  46737. t2 = "" + A.Primitives_stringFromCharCode(91);
  46738. else {
  46739. t2 = _this.contents.length;
  46740. if (t2 !== 0)
  46741. t2 = t2 === 1 && _this.separator === B.ListSeparator_qVN;
  46742. else
  46743. t2 = true;
  46744. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  46745. }
  46746. t3 = _this.contents;
  46747. t4 = _this.separator === B.ListSeparator_qVN;
  46748. t5 = t4 ? ", " : " ";
  46749. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  46750. if (t1)
  46751. t1 = t5 + A.Primitives_stringFromCharCode(93);
  46752. else {
  46753. t1 = t3.length;
  46754. if (t1 === 0)
  46755. t1 = t5 + A.Primitives_stringFromCharCode(41);
  46756. else
  46757. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  46758. }
  46759. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46760. },
  46761. _list0$_elementNeedsParens$1(expression) {
  46762. var childSeparator, t1, _0_13;
  46763. $label0$0: {
  46764. if (expression instanceof A.ListExpression && expression.contents.length >= 2 && !expression.hasBrackets) {
  46765. childSeparator = expression.separator;
  46766. t1 = this.separator === B.ListSeparator_qVN ? childSeparator === B.ListSeparator_qVN : childSeparator !== B.ListSeparator_undecided_null_undecided;
  46767. break $label0$0;
  46768. }
  46769. if (expression instanceof A.UnaryOperationExpression) {
  46770. _0_13 = expression.operator;
  46771. if (B.UnaryOperator_Rbl !== _0_13)
  46772. t1 = B.UnaryOperator_UCP === _0_13;
  46773. else
  46774. t1 = true;
  46775. } else
  46776. t1 = false;
  46777. if (t1) {
  46778. t1 = this.separator === B.ListSeparator_qSL;
  46779. break $label0$0;
  46780. }
  46781. t1 = false;
  46782. break $label0$0;
  46783. }
  46784. return t1;
  46785. },
  46786. get$span(receiver) {
  46787. return this.span;
  46788. }
  46789. };
  46790. A.ListExpression_toString_closure.prototype = {
  46791. call$1(element) {
  46792. return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  46793. },
  46794. $signature: 133
  46795. };
  46796. A.MapExpression.prototype = {
  46797. accept$1$1(visitor) {
  46798. return visitor.visitMapExpression$1(0, this);
  46799. },
  46800. accept$1(visitor) {
  46801. return this.accept$1$1(visitor, type$.dynamic);
  46802. },
  46803. toString$0(_) {
  46804. var t2, t3, _i, t4,
  46805. t1 = A._setArrayType([], type$.JSArray_String);
  46806. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  46807. t4 = t2[_i];
  46808. t1.push(t4._0.toString$0(0) + ": " + t4._1.toString$0(0));
  46809. }
  46810. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  46811. },
  46812. get$span(receiver) {
  46813. return this.span;
  46814. }
  46815. };
  46816. A.NullExpression.prototype = {
  46817. accept$1$1(visitor) {
  46818. return visitor.visitNullExpression$1(0, this);
  46819. },
  46820. accept$1(visitor) {
  46821. return this.accept$1$1(visitor, type$.dynamic);
  46822. },
  46823. toString$0(_) {
  46824. return "null";
  46825. },
  46826. get$span(receiver) {
  46827. return this.span;
  46828. }
  46829. };
  46830. A.NumberExpression.prototype = {
  46831. accept$1$1(visitor) {
  46832. return visitor.visitNumberExpression$1(0, this);
  46833. },
  46834. accept$1(visitor) {
  46835. return this.accept$1$1(visitor, type$.dynamic);
  46836. },
  46837. toString$0(_) {
  46838. return A.serializeValue(A.SassNumber_SassNumber(this.value, this.unit), true, true);
  46839. },
  46840. get$span(receiver) {
  46841. return this.span;
  46842. }
  46843. };
  46844. A.ParenthesizedExpression.prototype = {
  46845. accept$1$1(visitor) {
  46846. return visitor.visitParenthesizedExpression$1(0, this);
  46847. },
  46848. accept$1(visitor) {
  46849. return this.accept$1$1(visitor, type$.dynamic);
  46850. },
  46851. toString$0(_) {
  46852. return "(" + this.expression.toString$0(0) + ")";
  46853. },
  46854. get$span(receiver) {
  46855. return this.span;
  46856. }
  46857. };
  46858. A.SelectorExpression.prototype = {
  46859. accept$1$1(visitor) {
  46860. return visitor.visitSelectorExpression$1(0, this);
  46861. },
  46862. accept$1(visitor) {
  46863. return this.accept$1$1(visitor, type$.dynamic);
  46864. },
  46865. toString$0(_) {
  46866. return "&";
  46867. },
  46868. get$span(receiver) {
  46869. return this.span;
  46870. }
  46871. };
  46872. A.StringExpression.prototype = {
  46873. get$span(_) {
  46874. return this.text.span;
  46875. },
  46876. accept$1$1(visitor) {
  46877. return visitor.visitStringExpression$1(0, this);
  46878. },
  46879. accept$1(visitor) {
  46880. return this.accept$1$1(visitor, type$.dynamic);
  46881. },
  46882. asInterpolation$1$static($static) {
  46883. var t1, t2, quote, t3, t4, t5, buffer, t6, i, value, t7;
  46884. if (!this.hasQuotes)
  46885. return this.text;
  46886. t1 = this.text;
  46887. t2 = t1.contents;
  46888. quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  46889. t3 = new A.StringBuffer("");
  46890. t4 = A._setArrayType([], type$.JSArray_Object);
  46891. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  46892. buffer = new A.InterpolationBuffer(t3, t4, t5);
  46893. t6 = A.Primitives_stringFromCharCode(quote);
  46894. t3._contents += t6;
  46895. for (t6 = t2.length, i = 0; i < t6; ++i) {
  46896. value = t2[i];
  46897. if (value instanceof A.Expression) {
  46898. t7 = t1.spanForElement$1(i);
  46899. buffer._flushText$0();
  46900. t4.push(value);
  46901. t5.push(t7);
  46902. continue;
  46903. }
  46904. if (typeof value == "string")
  46905. A.StringExpression__quoteInnerText(value, quote, buffer, $static);
  46906. }
  46907. t2 = A.Primitives_stringFromCharCode(quote);
  46908. t3._contents += t2;
  46909. return buffer.interpolation$1(t1.span);
  46910. },
  46911. asInterpolation$0() {
  46912. return this.asInterpolation$1$static(false);
  46913. },
  46914. toString$0(_) {
  46915. return this.asInterpolation$0().toString$0(0);
  46916. }
  46917. };
  46918. A.SupportsExpression.prototype = {
  46919. get$span(_) {
  46920. var t1 = this.condition;
  46921. return t1.get$span(t1);
  46922. },
  46923. accept$1$1(visitor) {
  46924. return visitor.visitSupportsExpression$1(0, this);
  46925. },
  46926. accept$1(visitor) {
  46927. return this.accept$1$1(visitor, type$.dynamic);
  46928. },
  46929. toString$0(_) {
  46930. return this.condition.toString$0(0);
  46931. }
  46932. };
  46933. A.UnaryOperationExpression.prototype = {
  46934. accept$1$1(visitor) {
  46935. return visitor.visitUnaryOperationExpression$1(0, this);
  46936. },
  46937. accept$1(visitor) {
  46938. return this.accept$1$1(visitor, type$.dynamic);
  46939. },
  46940. toString$0(_) {
  46941. var operand,
  46942. t1 = this.operator,
  46943. t2 = t1.operator;
  46944. t1 = t1 === B.UnaryOperator_not_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  46945. operand = this.operand;
  46946. $label0$0: {
  46947. t2 = true;
  46948. if (!(operand instanceof A.BinaryOperationExpression))
  46949. if (!(operand instanceof A.UnaryOperationExpression))
  46950. t2 = operand instanceof A.ListExpression && !operand.hasBrackets && operand.contents.length >= 2;
  46951. if (t2)
  46952. break $label0$0;
  46953. break $label0$0;
  46954. }
  46955. if (t2)
  46956. t1 += "40";
  46957. t1 += operand.toString$0(0);
  46958. if (t2)
  46959. t1 += "41";
  46960. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46961. },
  46962. get$span(receiver) {
  46963. return this.span;
  46964. }
  46965. };
  46966. A.UnaryOperator.prototype = {
  46967. _enumToString$0() {
  46968. return "UnaryOperator." + this._name;
  46969. },
  46970. toString$0(_) {
  46971. return this.name;
  46972. }
  46973. };
  46974. A.ValueExpression.prototype = {
  46975. accept$1$1(visitor) {
  46976. return visitor.visitValueExpression$1(0, this);
  46977. },
  46978. accept$1(visitor) {
  46979. return this.accept$1$1(visitor, type$.dynamic);
  46980. },
  46981. toString$0(_) {
  46982. return this.value.toString$0(0);
  46983. },
  46984. get$span(receiver) {
  46985. return this.span;
  46986. }
  46987. };
  46988. A.VariableExpression.prototype = {
  46989. accept$1$1(visitor) {
  46990. return visitor.visitVariableExpression$1(0, this);
  46991. },
  46992. accept$1(visitor) {
  46993. return this.accept$1$1(visitor, type$.dynamic);
  46994. },
  46995. toString$0(_) {
  46996. return this.span.get$text();
  46997. },
  46998. get$span(receiver) {
  46999. return this.span;
  47000. }
  47001. };
  47002. A.DynamicImport.prototype = {
  47003. toString$0(_) {
  47004. return A.StringExpression_quoteText(this.urlString);
  47005. },
  47006. $isAstNode: 1,
  47007. $isImport: 1,
  47008. get$span(receiver) {
  47009. return this.span;
  47010. }
  47011. };
  47012. A.StaticImport.prototype = {
  47013. toString$0(_) {
  47014. var t1 = this.url.toString$0(0),
  47015. t2 = this.modifiers;
  47016. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  47017. },
  47018. $isAstNode: 1,
  47019. $isImport: 1,
  47020. get$span(receiver) {
  47021. return this.span;
  47022. }
  47023. };
  47024. A.Interpolation.prototype = {
  47025. get$asPlain() {
  47026. var _0_1, t1, _0_6_isSet, _0_6, _0_60, first,
  47027. _0_0 = this.contents;
  47028. $label0$0: {
  47029. _0_1 = _0_0.length;
  47030. if (_0_1 <= 0) {
  47031. t1 = "";
  47032. break $label0$0;
  47033. }
  47034. _0_6_isSet = _0_1 === 1;
  47035. if (_0_6_isSet) {
  47036. _0_6 = _0_0[0];
  47037. _0_60 = _0_6;
  47038. t1 = typeof _0_6 == "string";
  47039. _0_6 = _0_60;
  47040. } else {
  47041. _0_6 = null;
  47042. t1 = false;
  47043. }
  47044. if (t1) {
  47045. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  47046. t1 = first;
  47047. break $label0$0;
  47048. }
  47049. t1 = null;
  47050. break $label0$0;
  47051. }
  47052. return t1;
  47053. },
  47054. get$initialPlain() {
  47055. var _0_4_isSet, _0_4, _0_40, t1, first,
  47056. _0_0 = this.contents;
  47057. $label0$0: {
  47058. _0_4_isSet = _0_0.length >= 1;
  47059. if (_0_4_isSet) {
  47060. _0_4 = _0_0[0];
  47061. _0_40 = _0_4;
  47062. t1 = typeof _0_4 == "string";
  47063. _0_4 = _0_40;
  47064. } else {
  47065. _0_4 = null;
  47066. t1 = false;
  47067. }
  47068. if (t1) {
  47069. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  47070. t1 = first;
  47071. break $label0$0;
  47072. }
  47073. t1 = "";
  47074. break $label0$0;
  47075. }
  47076. return t1;
  47077. },
  47078. spanForElement$1(index) {
  47079. var t1, t2, t3, t4, _this = this;
  47080. $label0$0: {
  47081. if (typeof _this.contents[index] == "string") {
  47082. t1 = _this.span;
  47083. t2 = t1.file;
  47084. if (index === 0)
  47085. t3 = A.FileLocation$_(t2, t1._file$_start);
  47086. else {
  47087. t3 = _this.spans[index - 1];
  47088. t3 = t3.get$end(t3);
  47089. }
  47090. t4 = _this.spans;
  47091. if (index === t4.length)
  47092. t1 = A.FileLocation$_(t2, t1._end);
  47093. else {
  47094. t1 = t4[index + 1];
  47095. t1 = t1.get$start(t1);
  47096. }
  47097. t1 = t2.span$2(0, t3.offset, t1.offset);
  47098. break $label0$0;
  47099. }
  47100. t1 = _this.spans[index];
  47101. t1.toString;
  47102. break $label0$0;
  47103. }
  47104. return t1;
  47105. },
  47106. Interpolation$3(contents, spans, span) {
  47107. var t1, t2, t3, t4, i, t5, isString, _s5_ = "spans",
  47108. _s8_ = "contents";
  47109. if (spans.length !== J.get$length$asx(contents))
  47110. throw A.wrapException(A.ArgumentError$value(this.spans, _s5_, "Must be the same length as contents."));
  47111. for (t1 = this.contents, t2 = t1.length, t3 = spans.length, t4 = this.spans, i = 0; i < t2; ++i) {
  47112. t5 = t1[i];
  47113. isString = typeof t5 == "string";
  47114. if (!isString && !(t5 instanceof A.Expression))
  47115. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May only contain Strings or Expressions."));
  47116. else if (isString) {
  47117. if (i !== 0 && typeof t1[i - 1] == "string")
  47118. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  47119. else if (i < t3 && t4[i] != null)
  47120. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.May_no + i + ")."));
  47121. } else if (i >= t3 || t4[i] == null)
  47122. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.Must_n + i + ")."));
  47123. }
  47124. },
  47125. toString$0(_) {
  47126. var t1 = this.contents;
  47127. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  47128. },
  47129. $isAstNode: 1,
  47130. get$span(receiver) {
  47131. return this.span;
  47132. }
  47133. };
  47134. A.Interpolation_toString_closure.prototype = {
  47135. call$1(value) {
  47136. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  47137. },
  47138. $signature: 132
  47139. };
  47140. A.Parameter.prototype = {
  47141. toString$0(_) {
  47142. var t1 = this.defaultValue,
  47143. t2 = this.name;
  47144. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  47145. },
  47146. $isAstNode: 1,
  47147. get$span(receiver) {
  47148. return this.span;
  47149. }
  47150. };
  47151. A.ParameterList.prototype = {
  47152. get$spanWithName() {
  47153. var t3, t4,
  47154. t1 = this.span,
  47155. t2 = t1.file,
  47156. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  47157. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  47158. while (true) {
  47159. if (i > 0) {
  47160. t3 = text.charCodeAt(i);
  47161. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  47162. } else
  47163. t3 = false;
  47164. if (!t3)
  47165. break;
  47166. --i;
  47167. }
  47168. t3 = text.charCodeAt(i);
  47169. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic(t3) || t3 >= 128))
  47170. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  47171. else
  47172. t3 = true;
  47173. if (!t3)
  47174. return t1;
  47175. --i;
  47176. while (true) {
  47177. if (i >= 0) {
  47178. t3 = text.charCodeAt(i);
  47179. if (t3 !== 95) {
  47180. if (!(t3 >= 97 && t3 <= 122))
  47181. t4 = t3 >= 65 && t3 <= 90;
  47182. else
  47183. t4 = true;
  47184. t4 = t4 || t3 >= 128;
  47185. } else
  47186. t4 = true;
  47187. if (!t4)
  47188. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  47189. else
  47190. t3 = true;
  47191. } else
  47192. t3 = false;
  47193. if (!t3)
  47194. break;
  47195. --i;
  47196. }
  47197. t3 = i + 1;
  47198. t4 = text.charCodeAt(t3);
  47199. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic(t4) || t4 >= 128))
  47200. return t1;
  47201. return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  47202. },
  47203. verify$2(positional, names) {
  47204. var t1, t2, t3, namedUsed, i, parameter, t4, unknownNames, _this = this,
  47205. _s10_ = "invocation";
  47206. for (t1 = _this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  47207. parameter = t1[i];
  47208. if (i < positional) {
  47209. t4 = parameter.name;
  47210. if (t3.containsKey$1(t4))
  47211. throw A.wrapException(A.SassScriptException$("Argument " + _this._originalParameterName$1(t4) + string$.x20was_p, null));
  47212. } else {
  47213. t4 = parameter.name;
  47214. if (t3.containsKey$1(t4))
  47215. ++namedUsed;
  47216. else if (parameter.defaultValue == null)
  47217. throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalParameterName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  47218. }
  47219. }
  47220. if (_this.restParameter != null)
  47221. return;
  47222. if (positional > t2) {
  47223. t1 = names.get$isEmpty(0) ? "" : "positional ";
  47224. 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)));
  47225. }
  47226. if (namedUsed < t3.get$length(t3)) {
  47227. t2 = type$.String;
  47228. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  47229. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ParameterList_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  47230. 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)));
  47231. }
  47232. },
  47233. _originalParameterName$1($name) {
  47234. var t1, text, t2, _i, parameter, t3, end;
  47235. if ($name === this.restParameter) {
  47236. t1 = this.span;
  47237. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  47238. 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, "."));
  47239. }
  47240. for (t1 = this.parameters, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  47241. parameter = t1[_i];
  47242. if (parameter.name === $name) {
  47243. t1 = parameter.span;
  47244. if (parameter.defaultValue == null) {
  47245. t2 = t1._file$_start;
  47246. t3 = t1.file._decodedChars;
  47247. t3 = A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t2, A._checkValidRange(t2, t1._end, t3.length))), 0, null);
  47248. t1 = t3;
  47249. } else {
  47250. text = t1.get$text();
  47251. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  47252. end = A._lastNonWhitespace(t1, false);
  47253. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  47254. }
  47255. return t1;
  47256. }
  47257. }
  47258. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', null));
  47259. },
  47260. matches$2(positional, names) {
  47261. var t1, t2, t3, namedUsed, i, parameter;
  47262. for (t1 = this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  47263. parameter = t1[i];
  47264. if (i < positional) {
  47265. if (t3.containsKey$1(parameter.name))
  47266. return false;
  47267. } else if (t3.containsKey$1(parameter.name))
  47268. ++namedUsed;
  47269. else if (parameter.defaultValue == null)
  47270. return false;
  47271. }
  47272. if (this.restParameter != null)
  47273. return true;
  47274. if (positional > t2)
  47275. return false;
  47276. if (namedUsed < t3.get$length(t3))
  47277. return false;
  47278. return true;
  47279. },
  47280. toString$0(_) {
  47281. var t2, t3, _i,
  47282. t1 = A._setArrayType([], type$.JSArray_String);
  47283. for (t2 = this.parameters, t3 = t2.length, _i = 0; _i < t3; ++_i)
  47284. t1.push("$" + t2[_i].toString$0(0));
  47285. t2 = this.restParameter;
  47286. if (t2 != null)
  47287. t1.push("$" + t2 + "...");
  47288. return B.JSArray_methods.join$1(t1, ", ");
  47289. },
  47290. $isAstNode: 1,
  47291. get$span(receiver) {
  47292. return this.span;
  47293. }
  47294. };
  47295. A.ParameterList_verify_closure.prototype = {
  47296. call$1(parameter) {
  47297. return parameter.name;
  47298. },
  47299. $signature: 578
  47300. };
  47301. A.ParameterList_verify_closure0.prototype = {
  47302. call$1($name) {
  47303. return "$" + $name;
  47304. },
  47305. $signature: 6
  47306. };
  47307. A.Statement.prototype = {$isAstNode: 1};
  47308. A.AtRootRule.prototype = {
  47309. accept$1$1(visitor) {
  47310. return visitor.visitAtRootRule$1(0, this);
  47311. },
  47312. accept$1(visitor) {
  47313. return this.accept$1$1(visitor, type$.dynamic);
  47314. },
  47315. toString$0(_) {
  47316. var buffer = new A.StringBuffer("@at-root "),
  47317. t1 = this.query;
  47318. if (t1 != null)
  47319. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  47320. t1 = this.children;
  47321. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47322. },
  47323. get$span(receiver) {
  47324. return this.span;
  47325. }
  47326. };
  47327. A.AtRule.prototype = {
  47328. accept$1$1(visitor) {
  47329. return visitor.visitAtRule$1(0, this);
  47330. },
  47331. accept$1(visitor) {
  47332. return this.accept$1$1(visitor, type$.dynamic);
  47333. },
  47334. toString$0(_) {
  47335. var children,
  47336. t1 = "@" + this.name.toString$0(0),
  47337. buffer = new A.StringBuffer(t1),
  47338. t2 = this.value;
  47339. if (t2 != null)
  47340. buffer._contents = t1 + (" " + t2.toString$0(0));
  47341. children = this.children;
  47342. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  47343. },
  47344. get$span(receiver) {
  47345. return this.span;
  47346. }
  47347. };
  47348. A.CallableDeclaration.prototype = {
  47349. get$span(receiver) {
  47350. return this.span;
  47351. }
  47352. };
  47353. A.ContentBlock.prototype = {
  47354. accept$1$1(visitor) {
  47355. return visitor.visitContentBlock$1(0, this);
  47356. },
  47357. accept$1(visitor) {
  47358. return this.accept$1$1(visitor, type$.dynamic);
  47359. },
  47360. toString$0(_) {
  47361. var t2,
  47362. t1 = this.parameters;
  47363. t1 = t1.parameters.length === 0 && t1.restParameter == null ? "" : " using (" + t1.toString$0(0) + ")";
  47364. t2 = this.children;
  47365. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  47366. }
  47367. };
  47368. A.ContentRule.prototype = {
  47369. accept$1$1(visitor) {
  47370. return visitor.visitContentRule$1(0, this);
  47371. },
  47372. accept$1(visitor) {
  47373. return this.accept$1$1(visitor, type$.dynamic);
  47374. },
  47375. toString$0(_) {
  47376. var t1 = this.$arguments;
  47377. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  47378. },
  47379. get$span(receiver) {
  47380. return this.span;
  47381. }
  47382. };
  47383. A.DebugRule.prototype = {
  47384. accept$1$1(visitor) {
  47385. return visitor.visitDebugRule$1(0, this);
  47386. },
  47387. accept$1(visitor) {
  47388. return this.accept$1$1(visitor, type$.dynamic);
  47389. },
  47390. toString$0(_) {
  47391. return "@debug " + this.expression.toString$0(0) + ";";
  47392. },
  47393. get$span(receiver) {
  47394. return this.span;
  47395. }
  47396. };
  47397. A.Declaration.prototype = {
  47398. accept$1$1(visitor) {
  47399. return visitor.visitDeclaration$1(0, this);
  47400. },
  47401. accept$1(visitor) {
  47402. return this.accept$1$1(visitor, type$.dynamic);
  47403. },
  47404. toString$0(_) {
  47405. var t3, _0_0,
  47406. buffer = new A.StringBuffer(""),
  47407. t1 = this.name,
  47408. t2 = "" + t1.toString$0(0);
  47409. buffer._contents = t2;
  47410. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  47411. t3 = this.value;
  47412. if (t3 != null) {
  47413. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  47414. buffer._contents = t1 + t3.toString$0(0);
  47415. }
  47416. _0_0 = this.children;
  47417. if (_0_0 != null)
  47418. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  47419. else
  47420. return buffer.toString$0(0) + ";";
  47421. },
  47422. get$span(receiver) {
  47423. return this.span;
  47424. }
  47425. };
  47426. A.EachRule.prototype = {
  47427. accept$1$1(visitor) {
  47428. return visitor.visitEachRule$1(0, this);
  47429. },
  47430. accept$1(visitor) {
  47431. return this.accept$1$1(visitor, type$.dynamic);
  47432. },
  47433. toString$0(_) {
  47434. var t1 = this.variables,
  47435. t2 = this.children;
  47436. return "@each " + new A.MappedListIterable(t1, new A.EachRule_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + " in " + this.list.toString$0(0) + " {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}";
  47437. },
  47438. get$span(receiver) {
  47439. return this.span;
  47440. }
  47441. };
  47442. A.EachRule_toString_closure.prototype = {
  47443. call$1(variable) {
  47444. return "$" + variable;
  47445. },
  47446. $signature: 6
  47447. };
  47448. A.ErrorRule.prototype = {
  47449. accept$1$1(visitor) {
  47450. return visitor.visitErrorRule$1(0, this);
  47451. },
  47452. accept$1(visitor) {
  47453. return this.accept$1$1(visitor, type$.dynamic);
  47454. },
  47455. toString$0(_) {
  47456. return "@error " + this.expression.toString$0(0) + ";";
  47457. },
  47458. get$span(receiver) {
  47459. return this.span;
  47460. }
  47461. };
  47462. A.ExtendRule.prototype = {
  47463. accept$1$1(visitor) {
  47464. return visitor.visitExtendRule$1(0, this);
  47465. },
  47466. accept$1(visitor) {
  47467. return this.accept$1$1(visitor, type$.dynamic);
  47468. },
  47469. toString$0(_) {
  47470. var t1 = this.selector.toString$0(0),
  47471. t2 = this.isOptional ? " !optional" : "";
  47472. return "@extend " + t1 + t2 + ";";
  47473. },
  47474. get$span(receiver) {
  47475. return this.span;
  47476. }
  47477. };
  47478. A.ForRule.prototype = {
  47479. accept$1$1(visitor) {
  47480. return visitor.visitForRule$1(0, this);
  47481. },
  47482. accept$1(visitor) {
  47483. return this.accept$1$1(visitor, type$.dynamic);
  47484. },
  47485. toString$0(_) {
  47486. var _this = this,
  47487. t1 = _this.from.toString$0(0),
  47488. t2 = _this.isExclusive ? "to" : "through",
  47489. t3 = _this.children;
  47490. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  47491. },
  47492. get$span(receiver) {
  47493. return this.span;
  47494. }
  47495. };
  47496. A.ForwardRule.prototype = {
  47497. accept$1$1(visitor) {
  47498. return visitor.visitForwardRule$1(0, this);
  47499. },
  47500. accept$1(visitor) {
  47501. return this.accept$1$1(visitor, type$.dynamic);
  47502. },
  47503. toString$0(_) {
  47504. var t2, prefix, _this = this,
  47505. t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
  47506. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  47507. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  47508. if (shownMixinsAndFunctions != null) {
  47509. t2 = _this.shownVariables;
  47510. t2.toString;
  47511. t2 = t1 + " show " + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
  47512. t1 = t2;
  47513. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  47514. t2 = _this.hiddenVariables;
  47515. t2.toString;
  47516. t2 = t1 + " hide " + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
  47517. t1 = t2;
  47518. }
  47519. prefix = _this.prefix;
  47520. if (prefix != null)
  47521. t1 += " as " + prefix + "*";
  47522. t2 = _this.configuration;
  47523. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  47524. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47525. },
  47526. _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
  47527. var t2,
  47528. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  47529. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  47530. t1.push("$" + t2.get$current(0));
  47531. return B.JSArray_methods.join$1(t1, ", ");
  47532. },
  47533. get$span(receiver) {
  47534. return this.span;
  47535. }
  47536. };
  47537. A.FunctionRule.prototype = {
  47538. accept$1$1(visitor) {
  47539. return visitor.visitFunctionRule$1(0, this);
  47540. },
  47541. accept$1(visitor) {
  47542. return this.accept$1$1(visitor, type$.dynamic);
  47543. },
  47544. toString$0(_) {
  47545. var t1 = this.children;
  47546. return "@function " + this.name + "(" + this.parameters.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47547. }
  47548. };
  47549. A.IfRule.prototype = {
  47550. accept$1$1(visitor) {
  47551. return visitor.visitIfRule$1(0, this);
  47552. },
  47553. accept$1(visitor) {
  47554. return this.accept$1$1(visitor, type$.dynamic);
  47555. },
  47556. toString$0(_) {
  47557. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
  47558. lastClause = this.lastClause;
  47559. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  47560. },
  47561. get$span(receiver) {
  47562. return this.span;
  47563. }
  47564. };
  47565. A.IfRule_toString_closure.prototype = {
  47566. call$2(index, clause) {
  47567. var t1 = index === 0 ? "if" : "else if";
  47568. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  47569. },
  47570. $signature: 577
  47571. };
  47572. A.IfRuleClause.prototype = {};
  47573. A.IfRuleClause$__closure.prototype = {
  47574. call$1(child) {
  47575. var t1;
  47576. $label0$0: {
  47577. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  47578. t1 = true;
  47579. break $label0$0;
  47580. }
  47581. if (child instanceof A.ImportRule) {
  47582. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
  47583. break $label0$0;
  47584. }
  47585. t1 = false;
  47586. break $label0$0;
  47587. }
  47588. return t1;
  47589. },
  47590. $signature: 149
  47591. };
  47592. A.IfRuleClause$___closure.prototype = {
  47593. call$1($import) {
  47594. return $import instanceof A.DynamicImport;
  47595. },
  47596. $signature: 150
  47597. };
  47598. A.IfClause.prototype = {
  47599. toString$0(_) {
  47600. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47601. }
  47602. };
  47603. A.ElseClause.prototype = {
  47604. toString$0(_) {
  47605. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47606. }
  47607. };
  47608. A.ImportRule.prototype = {
  47609. accept$1$1(visitor) {
  47610. return visitor.visitImportRule$1(0, this);
  47611. },
  47612. accept$1(visitor) {
  47613. return this.accept$1$1(visitor, type$.dynamic);
  47614. },
  47615. toString$0(_) {
  47616. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  47617. },
  47618. get$span(receiver) {
  47619. return this.span;
  47620. }
  47621. };
  47622. A.IncludeRule.prototype = {
  47623. get$spanWithoutContent() {
  47624. var t2, t3,
  47625. t1 = this.span;
  47626. if (!(this.content == null)) {
  47627. t2 = t1.file;
  47628. t3 = this.$arguments.span;
  47629. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  47630. t1 = t3;
  47631. }
  47632. return t1;
  47633. },
  47634. get$nameSpan() {
  47635. var startSpan, scanner, _null = null,
  47636. t1 = this.span,
  47637. t2 = t1._file$_start,
  47638. t3 = t1._end,
  47639. t4 = t1.file._decodedChars;
  47640. if (B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), "+"))
  47641. startSpan = A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(t1, 1, _null));
  47642. else {
  47643. scanner = A.StringScanner$(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), _null, _null);
  47644. scanner.expectChar$1(64);
  47645. A._scanIdentifier(scanner);
  47646. startSpan = A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(t1, scanner._string_scanner$_position, _null));
  47647. }
  47648. return A.SpanExtensions_initialIdentifier(this.namespace != null ? A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier(startSpan), 1, _null) : startSpan);
  47649. },
  47650. accept$1$1(visitor) {
  47651. return visitor.visitIncludeRule$1(0, this);
  47652. },
  47653. accept$1(visitor) {
  47654. return this.accept$1$1(visitor, type$.dynamic);
  47655. },
  47656. toString$0(_) {
  47657. var t2, _this = this,
  47658. t1 = _this.namespace;
  47659. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  47660. t1 += _this.name;
  47661. t2 = _this.$arguments;
  47662. if (!t2.get$isEmpty(0))
  47663. t1 += "(" + t2.toString$0(0) + ")";
  47664. t2 = _this.content;
  47665. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  47666. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47667. },
  47668. get$span(receiver) {
  47669. return this.span;
  47670. }
  47671. };
  47672. A.LoudComment.prototype = {
  47673. get$span(_) {
  47674. return this.text.span;
  47675. },
  47676. accept$1$1(visitor) {
  47677. return visitor.visitLoudComment$1(0, this);
  47678. },
  47679. accept$1(visitor) {
  47680. return this.accept$1$1(visitor, type$.dynamic);
  47681. },
  47682. toString$0(_) {
  47683. return this.text.toString$0(0);
  47684. }
  47685. };
  47686. A.MediaRule.prototype = {
  47687. accept$1$1(visitor) {
  47688. return visitor.visitMediaRule$1(0, this);
  47689. },
  47690. accept$1(visitor) {
  47691. return this.accept$1$1(visitor, type$.dynamic);
  47692. },
  47693. toString$0(_) {
  47694. var t1 = this.children;
  47695. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47696. },
  47697. get$span(receiver) {
  47698. return this.span;
  47699. }
  47700. };
  47701. A.MixinRule.prototype = {
  47702. get$hasContent() {
  47703. var result, _this = this,
  47704. value = _this.__MixinRule_hasContent_FI;
  47705. if (value === $) {
  47706. result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
  47707. _this.__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  47708. _this.__MixinRule_hasContent_FI = result;
  47709. value = result;
  47710. }
  47711. return value;
  47712. },
  47713. accept$1$1(visitor) {
  47714. return visitor.visitMixinRule$1(0, this);
  47715. },
  47716. accept$1(visitor) {
  47717. return this.accept$1$1(visitor, type$.dynamic);
  47718. },
  47719. toString$0(_) {
  47720. var t1 = "@mixin " + this.name,
  47721. t2 = this.parameters;
  47722. if (!(t2.parameters.length === 0 && t2.restParameter == null))
  47723. t1 += "(" + t2.toString$0(0) + ")";
  47724. t2 = this.children;
  47725. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  47726. return t2.charCodeAt(0) == 0 ? t2 : t2;
  47727. }
  47728. };
  47729. A._HasContentVisitor.prototype = {
  47730. visitContentRule$1(_, _0) {
  47731. return true;
  47732. }
  47733. };
  47734. A.__HasContentVisitor_Object_StatementSearchVisitor.prototype = {};
  47735. A.ParentStatement.prototype = {};
  47736. A.ParentStatement_closure.prototype = {
  47737. call$1(child) {
  47738. var t1;
  47739. $label0$0: {
  47740. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  47741. t1 = true;
  47742. break $label0$0;
  47743. }
  47744. if (child instanceof A.ImportRule) {
  47745. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
  47746. break $label0$0;
  47747. }
  47748. t1 = false;
  47749. break $label0$0;
  47750. }
  47751. return t1;
  47752. },
  47753. $signature: 149
  47754. };
  47755. A.ParentStatement__closure.prototype = {
  47756. call$1($import) {
  47757. return $import instanceof A.DynamicImport;
  47758. },
  47759. $signature: 150
  47760. };
  47761. A.ReturnRule.prototype = {
  47762. accept$1$1(visitor) {
  47763. return visitor.visitReturnRule$1(0, this);
  47764. },
  47765. accept$1(visitor) {
  47766. return this.accept$1$1(visitor, type$.dynamic);
  47767. },
  47768. toString$0(_) {
  47769. return "@return " + this.expression.toString$0(0) + ";";
  47770. },
  47771. get$span(receiver) {
  47772. return this.span;
  47773. }
  47774. };
  47775. A.SilentComment.prototype = {
  47776. accept$1$1(visitor) {
  47777. return visitor.visitSilentComment$1(0, this);
  47778. },
  47779. accept$1(visitor) {
  47780. return this.accept$1$1(visitor, type$.dynamic);
  47781. },
  47782. toString$0(_) {
  47783. return this.text;
  47784. },
  47785. get$span(receiver) {
  47786. return this.span;
  47787. }
  47788. };
  47789. A.StyleRule.prototype = {
  47790. accept$1$1(visitor) {
  47791. return visitor.visitStyleRule$1(0, this);
  47792. },
  47793. accept$1(visitor) {
  47794. return this.accept$1$1(visitor, type$.dynamic);
  47795. },
  47796. toString$0(_) {
  47797. var t1 = this.children;
  47798. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47799. },
  47800. get$span(receiver) {
  47801. return this.span;
  47802. }
  47803. };
  47804. A.Stylesheet.prototype = {
  47805. Stylesheet$internal$5$globalVariables$plainCss(children, span, parseTimeWarnings, globalVariables, plainCss) {
  47806. var t1, t2, t3, t4, _i, child;
  47807. for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
  47808. child = t1[_i];
  47809. if (child instanceof A.UseRule) {
  47810. t4.push(child);
  47811. continue;
  47812. }
  47813. if (child instanceof A.ForwardRule) {
  47814. t3.push(child);
  47815. continue;
  47816. }
  47817. if (child instanceof A.SilentComment || child instanceof A.LoudComment || child instanceof A.VariableDeclaration)
  47818. continue;
  47819. break;
  47820. }
  47821. },
  47822. accept$1$1(visitor) {
  47823. return visitor.visitStylesheet$1(0, this);
  47824. },
  47825. accept$1(visitor) {
  47826. return this.accept$1$1(visitor, type$.dynamic);
  47827. },
  47828. toString$0(_) {
  47829. var t1 = this.children;
  47830. return (t1 && B.JSArray_methods).join$1(t1, " ");
  47831. },
  47832. get$span(receiver) {
  47833. return this.span;
  47834. }
  47835. };
  47836. A.SupportsRule.prototype = {
  47837. accept$1$1(visitor) {
  47838. return visitor.visitSupportsRule$1(0, this);
  47839. },
  47840. accept$1(visitor) {
  47841. return this.accept$1$1(visitor, type$.dynamic);
  47842. },
  47843. toString$0(_) {
  47844. var t1 = this.children;
  47845. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47846. },
  47847. get$span(receiver) {
  47848. return this.span;
  47849. }
  47850. };
  47851. A.UseRule.prototype = {
  47852. UseRule$4$configuration(url, namespace, span, configuration) {
  47853. var t1, t2, _i, variable;
  47854. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  47855. variable = t1[_i];
  47856. if (variable.isGuarded)
  47857. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  47858. }
  47859. },
  47860. accept$1$1(visitor) {
  47861. return visitor.visitUseRule$1(0, this);
  47862. },
  47863. accept$1(visitor) {
  47864. return this.accept$1$1(visitor, type$.dynamic);
  47865. },
  47866. toString$0(_) {
  47867. var t1 = this.url,
  47868. t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
  47869. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  47870. dot = B.JSString_methods.indexOf$1(basename, ".");
  47871. t1 = this.namespace;
  47872. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  47873. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  47874. else
  47875. t1 = t2;
  47876. t2 = this.configuration;
  47877. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  47878. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47879. },
  47880. get$span(receiver) {
  47881. return this.span;
  47882. }
  47883. };
  47884. A.VariableDeclaration.prototype = {
  47885. accept$1$1(visitor) {
  47886. return visitor.visitVariableDeclaration$1(0, this);
  47887. },
  47888. accept$1(visitor) {
  47889. return this.accept$1$1(visitor, type$.dynamic);
  47890. },
  47891. toString$0(_) {
  47892. var t1 = this.namespace;
  47893. t1 = t1 != null ? "" + (t1 + ".") : "";
  47894. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  47895. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47896. },
  47897. get$span(receiver) {
  47898. return this.span;
  47899. }
  47900. };
  47901. A.WarnRule.prototype = {
  47902. accept$1$1(visitor) {
  47903. return visitor.visitWarnRule$1(0, this);
  47904. },
  47905. accept$1(visitor) {
  47906. return this.accept$1$1(visitor, type$.dynamic);
  47907. },
  47908. toString$0(_) {
  47909. return "@warn " + this.expression.toString$0(0) + ";";
  47910. },
  47911. get$span(receiver) {
  47912. return this.span;
  47913. }
  47914. };
  47915. A.WhileRule.prototype = {
  47916. accept$1$1(visitor) {
  47917. return visitor.visitWhileRule$1(0, this);
  47918. },
  47919. accept$1(visitor) {
  47920. return this.accept$1$1(visitor, type$.dynamic);
  47921. },
  47922. toString$0(_) {
  47923. var t1 = this.children;
  47924. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47925. },
  47926. get$span(receiver) {
  47927. return this.span;
  47928. }
  47929. };
  47930. A.SupportsAnything.prototype = {
  47931. withSpan$1(span) {
  47932. return new A.SupportsAnything(this.contents, span);
  47933. },
  47934. toString$0(_) {
  47935. return "(" + this.contents.toString$0(0) + ")";
  47936. },
  47937. $isAstNode: 1,
  47938. get$span(receiver) {
  47939. return this.span;
  47940. }
  47941. };
  47942. A.SupportsDeclaration.prototype = {
  47943. get$isCustomProperty() {
  47944. var t1,
  47945. _0_0 = this.name;
  47946. $label0$0: {
  47947. if (_0_0 instanceof A.StringExpression && !_0_0.hasQuotes) {
  47948. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  47949. break $label0$0;
  47950. }
  47951. t1 = false;
  47952. break $label0$0;
  47953. }
  47954. return t1;
  47955. },
  47956. withSpan$1(span) {
  47957. return new A.SupportsDeclaration(this.name, this.value, span);
  47958. },
  47959. toString$0(_) {
  47960. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  47961. },
  47962. $isAstNode: 1,
  47963. get$span(receiver) {
  47964. return this.span;
  47965. }
  47966. };
  47967. A.SupportsFunction.prototype = {
  47968. withSpan$1(span) {
  47969. return new A.SupportsFunction(this.name, this.$arguments, span);
  47970. },
  47971. toString$0(_) {
  47972. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  47973. },
  47974. $isAstNode: 1,
  47975. get$span(receiver) {
  47976. return this.span;
  47977. }
  47978. };
  47979. A.SupportsInterpolation.prototype = {
  47980. withSpan$1(span) {
  47981. return new A.SupportsInterpolation(this.expression, span);
  47982. },
  47983. toString$0(_) {
  47984. return "#{" + this.expression.toString$0(0) + "}";
  47985. },
  47986. $isAstNode: 1,
  47987. get$span(receiver) {
  47988. return this.span;
  47989. }
  47990. };
  47991. A.SupportsNegation.prototype = {
  47992. withSpan$1(span) {
  47993. return new A.SupportsNegation(this.condition, span);
  47994. },
  47995. toString$0(_) {
  47996. var t1 = this.condition;
  47997. if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
  47998. return "not (" + t1.toString$0(0) + ")";
  47999. else
  48000. return "not " + t1.toString$0(0);
  48001. },
  48002. $isAstNode: 1,
  48003. get$span(receiver) {
  48004. return this.span;
  48005. }
  48006. };
  48007. A.SupportsOperation.prototype = {
  48008. withSpan$1(span) {
  48009. return A.SupportsOperation$(this.left, this.right, this.operator, span);
  48010. },
  48011. toString$0(_) {
  48012. var _this = this;
  48013. return _this._parenthesize$1(_this.left) + " " + _this.operator + " " + _this._parenthesize$1(_this.right);
  48014. },
  48015. _parenthesize$1(condition) {
  48016. var t1;
  48017. if (!(condition instanceof A.SupportsNegation))
  48018. t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
  48019. else
  48020. t1 = true;
  48021. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  48022. },
  48023. $isAstNode: 1,
  48024. get$span(receiver) {
  48025. return this.span;
  48026. }
  48027. };
  48028. A.Selector.prototype = {
  48029. assertNotBogus$1$name($name) {
  48030. if (!this.accept$1(B._IsBogusVisitor_true))
  48031. return;
  48032. A.warnForDeprecation("$" + $name + ": " + (this.toString$0(0) + string$.x20is_nov), B.Deprecation_9hF);
  48033. },
  48034. toString$0(_) {
  48035. var _null = null,
  48036. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  48037. this.accept$1(visitor);
  48038. return visitor._serialize$_buffer.toString$0(0);
  48039. },
  48040. $isAstNode: 1,
  48041. get$span(receiver) {
  48042. return this.span;
  48043. }
  48044. };
  48045. A._IsInvisibleVisitor0.prototype = {
  48046. visitSelectorList$1(list) {
  48047. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  48048. },
  48049. visitComplexSelector$1(complex) {
  48050. var t1;
  48051. if (!this.super$AnySelectorVisitor$visitComplexSelector(complex))
  48052. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false);
  48053. else
  48054. t1 = true;
  48055. return t1;
  48056. },
  48057. visitPlaceholderSelector$1(placeholder) {
  48058. return true;
  48059. },
  48060. visitPseudoSelector$1(pseudo) {
  48061. var t1,
  48062. _0_0 = pseudo.selector;
  48063. if (_0_0 != null) {
  48064. if (pseudo.name === "not")
  48065. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true);
  48066. else
  48067. t1 = this.visitSelectorList$1(_0_0);
  48068. return t1;
  48069. } else
  48070. return false;
  48071. }
  48072. };
  48073. A._IsBogusVisitor.prototype = {
  48074. visitComplexSelector$1(complex) {
  48075. var t2,
  48076. t1 = complex.components;
  48077. if (t1.length === 0)
  48078. return complex.leadingCombinators.length !== 0;
  48079. else {
  48080. t2 = this.includeLeadingCombinator ? 0 : 1;
  48081. 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));
  48082. }
  48083. },
  48084. visitPseudoSelector$1(pseudo) {
  48085. var selector = pseudo.selector;
  48086. if (selector == null)
  48087. return false;
  48088. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false) : selector.accept$1(B._IsBogusVisitor_true);
  48089. }
  48090. };
  48091. A._IsBogusVisitor_visitComplexSelector_closure.prototype = {
  48092. call$1(component) {
  48093. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  48094. },
  48095. $signature: 52
  48096. };
  48097. A._IsUselessVisitor.prototype = {
  48098. visitComplexSelector$1(complex) {
  48099. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure(this));
  48100. },
  48101. visitPseudoSelector$1(pseudo) {
  48102. return pseudo.accept$1(B._IsBogusVisitor_true);
  48103. }
  48104. };
  48105. A._IsUselessVisitor_visitComplexSelector_closure.prototype = {
  48106. call$1(component) {
  48107. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  48108. },
  48109. $signature: 52
  48110. };
  48111. A.__IsBogusVisitor_Object_AnySelectorVisitor.prototype = {};
  48112. A.__IsInvisibleVisitor_Object_AnySelectorVisitor.prototype = {};
  48113. A.__IsUselessVisitor_Object_AnySelectorVisitor.prototype = {};
  48114. A.AttributeSelector.prototype = {
  48115. accept$1$1(visitor) {
  48116. return visitor.visitAttributeSelector$1(this);
  48117. },
  48118. accept$1(visitor) {
  48119. return this.accept$1$1(visitor, type$.dynamic);
  48120. },
  48121. $eq(_, other) {
  48122. var _this = this;
  48123. if (other == null)
  48124. return false;
  48125. return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  48126. },
  48127. get$hashCode(_) {
  48128. var _this = this,
  48129. t1 = _this.name;
  48130. 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;
  48131. }
  48132. };
  48133. A.AttributeOperator.prototype = {
  48134. _enumToString$0() {
  48135. return "AttributeOperator." + this._name;
  48136. },
  48137. toString$0(_) {
  48138. return this._attribute$_text;
  48139. }
  48140. };
  48141. A.ClassSelector.prototype = {
  48142. $eq(_, other) {
  48143. if (other == null)
  48144. return false;
  48145. return other instanceof A.ClassSelector && other.name === this.name;
  48146. },
  48147. accept$1$1(visitor) {
  48148. return visitor.visitClassSelector$1(this);
  48149. },
  48150. accept$1(visitor) {
  48151. return this.accept$1$1(visitor, type$.dynamic);
  48152. },
  48153. addSuffix$1(suffix) {
  48154. return new A.ClassSelector(this.name + suffix, this.span);
  48155. },
  48156. get$hashCode(_) {
  48157. return B.JSString_methods.get$hashCode(this.name);
  48158. }
  48159. };
  48160. A.Combinator.prototype = {
  48161. _enumToString$0() {
  48162. return "Combinator." + this._name;
  48163. },
  48164. toString$0(_) {
  48165. return this._combinator$_text;
  48166. }
  48167. };
  48168. A.ComplexSelector.prototype = {
  48169. get$specificity() {
  48170. var result, _this = this,
  48171. value = _this.__ComplexSelector_specificity_FI;
  48172. if (value === $) {
  48173. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure());
  48174. _this.__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48175. _this.__ComplexSelector_specificity_FI = result;
  48176. value = result;
  48177. }
  48178. return value;
  48179. },
  48180. get$singleCompound() {
  48181. var _0_0, t1, _0_4, selector;
  48182. if (this.leadingCombinators.length !== 0)
  48183. return null;
  48184. _0_0 = this.components;
  48185. $label0$0: {
  48186. t1 = false;
  48187. if (_0_0.length === 1) {
  48188. _0_4 = _0_0[0];
  48189. selector = _0_4.selector;
  48190. t1 = _0_4.combinators.length <= 0;
  48191. } else
  48192. selector = null;
  48193. if (t1) {
  48194. t1 = selector;
  48195. break $label0$0;
  48196. }
  48197. t1 = null;
  48198. break $label0$0;
  48199. }
  48200. return t1;
  48201. },
  48202. accept$1$1(visitor) {
  48203. return visitor.visitComplexSelector$1(this);
  48204. },
  48205. accept$1(visitor) {
  48206. return this.accept$1$1(visitor, type$.dynamic);
  48207. },
  48208. isSuperselector$1(other) {
  48209. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector(this.components, other.components);
  48210. },
  48211. withAdditionalCombinators$1(combinators) {
  48212. var _0_0, _0_1, t1, initial, last, _this = this;
  48213. if (combinators.length === 0)
  48214. return _this;
  48215. _0_0 = _this.components;
  48216. $label0$0: {
  48217. _0_1 = _0_0.length;
  48218. if (_0_1 >= 1) {
  48219. t1 = _0_1 - 1;
  48220. initial = B.JSArray_methods.sublist$2(_0_0, 0, t1);
  48221. last = _0_0[t1];
  48222. t1 = A.List_List$of(initial, true, type$.ComplexSelectorComponent);
  48223. t1.push(last.withAdditionalCombinators$1(combinators));
  48224. t1 = A.ComplexSelector$(_this.leadingCombinators, t1, _this.span, _this.lineBreak);
  48225. break $label0$0;
  48226. }
  48227. if (_0_1 <= 0) {
  48228. t1 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator);
  48229. B.JSArray_methods.addAll$1(t1, combinators);
  48230. t1 = A.ComplexSelector$(t1, B.List_empty2, _this.span, _this.lineBreak);
  48231. break $label0$0;
  48232. }
  48233. t1 = null;
  48234. }
  48235. return t1;
  48236. },
  48237. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  48238. var t2, _0_1, initial, last, _this = this,
  48239. t1 = child.leadingCombinators,
  48240. _0_0 = _this.components;
  48241. if (t1.length === 0) {
  48242. t1 = A.List_List$of(_0_0, true, type$.ComplexSelectorComponent);
  48243. B.JSArray_methods.addAll$1(t1, child.components);
  48244. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48245. return A.ComplexSelector$(_this.leadingCombinators, t1, span, t2);
  48246. } else {
  48247. _0_1 = _0_0.length;
  48248. if (_0_1 >= 1) {
  48249. t2 = _0_1 - 1;
  48250. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  48251. last = _0_0[t2];
  48252. t2 = A.List_List$of(initial, true, type$.ComplexSelectorComponent);
  48253. t2.push(last.withAdditionalCombinators$1(t1));
  48254. B.JSArray_methods.addAll$1(t2, child.components);
  48255. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48256. return A.ComplexSelector$(_this.leadingCombinators, t2, span, t1);
  48257. } else {
  48258. t2 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator);
  48259. B.JSArray_methods.addAll$1(t2, t1);
  48260. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48261. return A.ComplexSelector$(t2, child.components, span, t1);
  48262. }
  48263. }
  48264. },
  48265. concatenate$2(child, span) {
  48266. return this.concatenate$3$forceLineBreak(child, span, false);
  48267. },
  48268. get$hashCode(_) {
  48269. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  48270. },
  48271. $eq(_, other) {
  48272. if (other == null)
  48273. return false;
  48274. 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);
  48275. }
  48276. };
  48277. A.ComplexSelector_specificity_closure.prototype = {
  48278. call$2(sum, component) {
  48279. return sum + component.selector.get$specificity();
  48280. },
  48281. $signature: 561
  48282. };
  48283. A.ComplexSelectorComponent.prototype = {
  48284. withAdditionalCombinators$1(combinators) {
  48285. var t1, t2, _this = this;
  48286. if (combinators.length === 0)
  48287. t1 = _this;
  48288. else {
  48289. t1 = type$.CssValue_Combinator;
  48290. t2 = A.List_List$of(_this.combinators, true, t1);
  48291. B.JSArray_methods.addAll$1(t2, combinators);
  48292. t1 = new A.ComplexSelectorComponent(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  48293. }
  48294. return t1;
  48295. },
  48296. get$hashCode(_) {
  48297. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  48298. },
  48299. $eq(_, other) {
  48300. var t1;
  48301. if (other == null)
  48302. return false;
  48303. if (other instanceof A.ComplexSelectorComponent) {
  48304. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  48305. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  48306. } else
  48307. t1 = false;
  48308. return t1;
  48309. },
  48310. toString$0(_) {
  48311. var t1 = this.combinators;
  48312. 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, "");
  48313. }
  48314. };
  48315. A.ComplexSelectorComponent_toString_closure.prototype = {
  48316. call$1(combinator) {
  48317. return " " + combinator.toString$0(0);
  48318. },
  48319. $signature: 538
  48320. };
  48321. A.CompoundSelector.prototype = {
  48322. get$specificity() {
  48323. var result, _this = this,
  48324. value = _this.__CompoundSelector_specificity_FI;
  48325. if (value === $) {
  48326. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure());
  48327. _this.__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48328. _this.__CompoundSelector_specificity_FI = result;
  48329. value = result;
  48330. }
  48331. return value;
  48332. },
  48333. get$hasComplicatedSuperselectorSemantics() {
  48334. var result, _this = this,
  48335. value = _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI;
  48336. if (value === $) {
  48337. result = B.JSArray_methods.any$1(_this.components, new A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure());
  48338. _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI !== $ && A.throwUnnamedLateFieldADI();
  48339. _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = result;
  48340. value = result;
  48341. }
  48342. return value;
  48343. },
  48344. accept$1$1(visitor) {
  48345. return visitor.visitCompoundSelector$1(this);
  48346. },
  48347. accept$1(visitor) {
  48348. return this.accept$1$1(visitor, type$.dynamic);
  48349. },
  48350. get$hashCode(_) {
  48351. return B.C_ListEquality0.hash$1(this.components);
  48352. },
  48353. $eq(_, other) {
  48354. if (other == null)
  48355. return false;
  48356. return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
  48357. }
  48358. };
  48359. A.CompoundSelector_specificity_closure.prototype = {
  48360. call$2(sum, component) {
  48361. return sum + component.get$specificity();
  48362. },
  48363. $signature: 537
  48364. };
  48365. A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure.prototype = {
  48366. call$1(component) {
  48367. return component.get$hasComplicatedSuperselectorSemantics();
  48368. },
  48369. $signature: 13
  48370. };
  48371. A.IDSelector.prototype = {
  48372. get$specificity() {
  48373. return A._asInt(Math.pow(A.SimpleSelector.prototype.get$specificity.call(this), 2));
  48374. },
  48375. accept$1$1(visitor) {
  48376. return visitor.visitIDSelector$1(this);
  48377. },
  48378. accept$1(visitor) {
  48379. return this.accept$1$1(visitor, type$.dynamic);
  48380. },
  48381. addSuffix$1(suffix) {
  48382. return new A.IDSelector(this.name + suffix, this.span);
  48383. },
  48384. unify$1(compound) {
  48385. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
  48386. return null;
  48387. return this.super$SimpleSelector$unify(compound);
  48388. },
  48389. $eq(_, other) {
  48390. if (other == null)
  48391. return false;
  48392. return other instanceof A.IDSelector && other.name === this.name;
  48393. },
  48394. get$hashCode(_) {
  48395. return B.JSString_methods.get$hashCode(this.name);
  48396. }
  48397. };
  48398. A.IDSelector_unify_closure.prototype = {
  48399. call$1(simple) {
  48400. var t1;
  48401. if (simple instanceof A.IDSelector)
  48402. t1 = this.$this.name !== simple.name;
  48403. else
  48404. t1 = false;
  48405. return t1;
  48406. },
  48407. $signature: 13
  48408. };
  48409. A.SelectorList.prototype = {
  48410. get$asSassList() {
  48411. var t1 = this.components;
  48412. return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_qVN, false);
  48413. },
  48414. accept$1$1(visitor) {
  48415. return visitor.visitSelectorList$1(this);
  48416. },
  48417. accept$1(visitor) {
  48418. return this.accept$1$1(visitor, type$.dynamic);
  48419. },
  48420. unify$1(other) {
  48421. var t3, t4, t5, t6, _i, complex1, t7, _i0, t8,
  48422. t1 = type$.JSArray_ComplexSelector,
  48423. t2 = A._setArrayType([], t1);
  48424. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  48425. complex1 = t3[_i];
  48426. for (t7 = complex1.span, _i0 = 0; _i0 < t6; ++_i0) {
  48427. t8 = A.unifyComplex(A._setArrayType([complex1, t5[_i0]], t1), t7);
  48428. if (t8 != null)
  48429. B.JSArray_methods.addAll$1(t2, t8);
  48430. }
  48431. }
  48432. return t2.length === 0 ? null : A.SelectorList$(t2, this.span);
  48433. },
  48434. nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, preserveParentSelectors) {
  48435. var parentSelector, t1, _this = this;
  48436. if ($parent == null) {
  48437. if (preserveParentSelectors)
  48438. return _this;
  48439. parentSelector = B.C__ParentSelectorVisitor.visitSelectorList$1(_this);
  48440. if (parentSelector == null)
  48441. return _this;
  48442. throw A.wrapException(A.SassException$(string$.Top_les, parentSelector.span, null));
  48443. }
  48444. t1 = _this.components;
  48445. 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);
  48446. },
  48447. nestWithin$1($parent) {
  48448. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, true, false);
  48449. },
  48450. nestWithin$2$implicitParent($parent, implicitParent) {
  48451. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, false);
  48452. },
  48453. _nestWithinCompound$2(component, $parent) {
  48454. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  48455. t1 = component.selector,
  48456. simples = t1.components,
  48457. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__nestWithinCompound_closure());
  48458. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector))
  48459. return null;
  48460. if (containsSelectorPseudo) {
  48461. t2 = simples;
  48462. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__nestWithinCompound_closure0($parent), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector>"));
  48463. } else
  48464. resolvedSimples0 = simples;
  48465. resolvedSimples = resolvedSimples0;
  48466. parentSelector = J.get$first$ax(simples);
  48467. try {
  48468. if (!(parentSelector instanceof A.ParentSelector)) {
  48469. t2 = component.span;
  48470. 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);
  48471. return t2;
  48472. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  48473. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  48474. return t1.components;
  48475. }
  48476. } catch (exception) {
  48477. t1 = A.unwrapException(exception);
  48478. if (t1 instanceof A.SassException) {
  48479. error = t1;
  48480. stackTrace = A.getTraceFromException(exception);
  48481. A.throwWithTrace(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  48482. } else
  48483. throw exception;
  48484. }
  48485. t1 = $parent.components;
  48486. return new A.MappedListIterable(t1, new A.SelectorList__nestWithinCompound_closure1(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  48487. },
  48488. isSuperselector$1(other) {
  48489. return A.listIsSuperselector(this.components, other.components);
  48490. },
  48491. withAdditionalCombinators$1(combinators) {
  48492. var t1;
  48493. if (combinators.length === 0)
  48494. t1 = this;
  48495. else {
  48496. t1 = this.components;
  48497. t1 = A.SelectorList$(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), this.span);
  48498. }
  48499. return t1;
  48500. },
  48501. get$hashCode(_) {
  48502. return B.C_ListEquality0.hash$1(this.components);
  48503. },
  48504. $eq(_, other) {
  48505. if (other == null)
  48506. return false;
  48507. return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
  48508. }
  48509. };
  48510. A.SelectorList_asSassList_closure.prototype = {
  48511. call$1(complex) {
  48512. var t3, t4, _i, component, visitor, t5, t6, t7, _i0, _null = null,
  48513. t1 = type$.JSArray_Value,
  48514. t2 = A._setArrayType([], t1);
  48515. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  48516. t2.push(new A.SassString(J.toString$0$(t3[_i].value), false));
  48517. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  48518. component = t3[_i];
  48519. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  48520. component.selector.accept$1(visitor);
  48521. t5 = A._setArrayType([new A.SassString(visitor._serialize$_buffer.toString$0(0), false)], t1);
  48522. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  48523. t5.push(new A.SassString(J.toString$0$(t6[_i0].value), false));
  48524. B.JSArray_methods.addAll$1(t2, t5);
  48525. }
  48526. return A.SassList$(t2, B.ListSeparator_qSL, false);
  48527. },
  48528. $signature: 411
  48529. };
  48530. A.SelectorList_nestWithin_closure.prototype = {
  48531. call$1(complex) {
  48532. 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;
  48533. if (_this.preserveParentSelectors || complex.accept$1(B.C__ParentSelectorVisitor) == null) {
  48534. if (!_this.implicitParent)
  48535. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  48536. t1 = _this.parent.components;
  48537. return new A.MappedListIterable(t1, new A.SelectorList_nestWithin__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  48538. }
  48539. t1 = type$.JSArray_ComplexSelector;
  48540. newComplexes = A._setArrayType([], t1);
  48541. 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) {
  48542. component = t2[_i];
  48543. resolved = t4._nestWithinCompound$2(component, t5);
  48544. if (resolved == null)
  48545. if (newComplexes.length === 0)
  48546. newComplexes.push(A.ComplexSelector$(t7, A._setArrayType([component], t11), t9, false));
  48547. else
  48548. for (i = 0; i < newComplexes.length; ++i) {
  48549. t12 = newComplexes[i];
  48550. t13 = A.List_List$of(t12.components, true, t10);
  48551. t13.push(component);
  48552. newComplexes[i] = A.ComplexSelector$(t12.leadingCombinators, t13, t9, t12.lineBreak);
  48553. }
  48554. else if (newComplexes.length === 0)
  48555. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_nestWithin__closure0(complex), t6));
  48556. else {
  48557. t12 = A._setArrayType([], t1);
  48558. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  48559. newComplex = newComplexes[_i0];
  48560. for (t15 = t14.get$iterator(resolved), t16 = newComplex.span; t15.moveNext$0();)
  48561. t12.push(newComplex.concatenate$2(t15.get$current(t15), t16));
  48562. }
  48563. newComplexes = t12;
  48564. }
  48565. }
  48566. return newComplexes;
  48567. },
  48568. $signature: 394
  48569. };
  48570. A.SelectorList_nestWithin__closure.prototype = {
  48571. call$1(parentComplex) {
  48572. var t1 = this.complex;
  48573. return parentComplex.concatenate$2(t1, t1.span);
  48574. },
  48575. $signature: 65
  48576. };
  48577. A.SelectorList_nestWithin__closure0.prototype = {
  48578. call$1(resolvedComplex) {
  48579. var t1 = resolvedComplex.leadingCombinators,
  48580. t2 = this.complex,
  48581. t3 = t2.leadingCombinators;
  48582. if (t1.length === 0)
  48583. t1 = t3;
  48584. else {
  48585. t3 = A.List_List$of(t3, true, type$.CssValue_Combinator);
  48586. B.JSArray_methods.addAll$1(t3, t1);
  48587. t1 = t3;
  48588. }
  48589. return A.ComplexSelector$(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  48590. },
  48591. $signature: 65
  48592. };
  48593. A.SelectorList__nestWithinCompound_closure.prototype = {
  48594. call$1(simple) {
  48595. var selector;
  48596. if (!(simple instanceof A.PseudoSelector))
  48597. return false;
  48598. selector = simple.selector;
  48599. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor) != null;
  48600. },
  48601. $signature: 13
  48602. };
  48603. A.SelectorList__nestWithinCompound_closure0.prototype = {
  48604. call$1(simple) {
  48605. var selector, t1, _0_2;
  48606. $label0$0: {
  48607. selector = null;
  48608. t1 = false;
  48609. if (simple instanceof A.PseudoSelector) {
  48610. _0_2 = simple.selector;
  48611. if (_0_2 != null) {
  48612. selector = _0_2 == null ? type$.SelectorList._as(_0_2) : _0_2;
  48613. t1 = selector.accept$1(B.C__ParentSelectorVisitor) != null;
  48614. }
  48615. }
  48616. if (t1) {
  48617. t1 = simple.withSelector$1(selector.nestWithin$2$implicitParent(this.parent, false));
  48618. break $label0$0;
  48619. }
  48620. t1 = simple;
  48621. break $label0$0;
  48622. }
  48623. return t1;
  48624. },
  48625. $signature: 367
  48626. };
  48627. A.SelectorList__nestWithinCompound_closure1.prototype = {
  48628. call$1(complex) {
  48629. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, t6, t7, exception, _this = this;
  48630. try {
  48631. t4 = complex.components;
  48632. lastComponent = B.JSArray_methods.get$last(t4);
  48633. if (lastComponent.combinators.length !== 0) {
  48634. 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);
  48635. throw A.wrapException(t1);
  48636. }
  48637. suffix = _this.parentSelector.suffix;
  48638. lastSimples = lastComponent.selector.components;
  48639. t5 = type$.SimpleSelector;
  48640. t6 = _this.resolvedSimples;
  48641. t7 = J.getInterceptor$ax(t6);
  48642. if (suffix == null) {
  48643. t1 = A.List_List$of(lastSimples, true, t5);
  48644. J.addAll$1$ax(t1, t7.skip$1(t6, 1));
  48645. t1 = t1;
  48646. } else {
  48647. t2 = A.List_List$of(A.IterableExtension_get_exceptLast(lastSimples), true, t5);
  48648. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  48649. J.addAll$1$ax(t2, t7.skip$1(t6, 1));
  48650. t1 = t2;
  48651. }
  48652. t2 = _this.component;
  48653. last = A.CompoundSelector$(t1, t2.selector.span);
  48654. t3 = A.List_List$of(A.IterableExtension_get_exceptLast(t4), true, type$.ComplexSelectorComponent);
  48655. t4 = t2.span;
  48656. J.add$1$ax(t3, new A.ComplexSelectorComponent(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator), t4));
  48657. t4 = A.ComplexSelector$(complex.leadingCombinators, t3, t4, complex.lineBreak);
  48658. return t4;
  48659. } catch (exception) {
  48660. t1 = A.unwrapException(exception);
  48661. if (t1 instanceof A.SassException) {
  48662. error = t1;
  48663. stackTrace = A.getTraceFromException(exception);
  48664. A.throwWithTrace(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  48665. } else
  48666. throw exception;
  48667. }
  48668. },
  48669. $signature: 65
  48670. };
  48671. A.SelectorList_withAdditionalCombinators_closure.prototype = {
  48672. call$1(complex) {
  48673. return complex.withAdditionalCombinators$1(this.combinators);
  48674. },
  48675. $signature: 65
  48676. };
  48677. A._ParentSelectorVisitor.prototype = {
  48678. visitParentSelector$1(selector) {
  48679. return selector;
  48680. }
  48681. };
  48682. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor.prototype = {};
  48683. A.ParentSelector.prototype = {
  48684. accept$1$1(visitor) {
  48685. return visitor.visitParentSelector$1(this);
  48686. },
  48687. accept$1(visitor) {
  48688. return this.accept$1$1(visitor, type$.dynamic);
  48689. },
  48690. unify$1(compound) {
  48691. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  48692. }
  48693. };
  48694. A.PlaceholderSelector.prototype = {
  48695. accept$1$1(visitor) {
  48696. return visitor.visitPlaceholderSelector$1(this);
  48697. },
  48698. accept$1(visitor) {
  48699. return this.accept$1$1(visitor, type$.dynamic);
  48700. },
  48701. addSuffix$1(suffix) {
  48702. return new A.PlaceholderSelector(this.name + suffix, this.span);
  48703. },
  48704. $eq(_, other) {
  48705. if (other == null)
  48706. return false;
  48707. return other instanceof A.PlaceholderSelector && other.name === this.name;
  48708. },
  48709. get$hashCode(_) {
  48710. return B.JSString_methods.get$hashCode(this.name);
  48711. }
  48712. };
  48713. A.PseudoSelector.prototype = {
  48714. get$isHostContext() {
  48715. return this.isClass && this.name === "host-context" && this.selector != null;
  48716. },
  48717. get$hasComplicatedSuperselectorSemantics() {
  48718. return !this.isClass || this.selector != null;
  48719. },
  48720. get$specificity() {
  48721. var result, _this = this,
  48722. value = _this.__PseudoSelector_specificity_FI;
  48723. if (value === $) {
  48724. result = new A.PseudoSelector_specificity_closure(_this).call$0();
  48725. _this.__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48726. _this.__PseudoSelector_specificity_FI = result;
  48727. value = result;
  48728. }
  48729. return value;
  48730. },
  48731. withSelector$1(selector) {
  48732. var _this = this;
  48733. return A.PseudoSelector$(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  48734. },
  48735. addSuffix$1(suffix) {
  48736. var _this = this;
  48737. if (_this.argument != null || _this.selector != null)
  48738. _this.super$SimpleSelector$addSuffix(suffix);
  48739. return A.PseudoSelector$(_this.name + suffix, _this.span, null, !_this.isClass, null);
  48740. },
  48741. unify$1(compound) {
  48742. var other, result, t2, addedThis, _i, simple, _this = this,
  48743. t1 = _this.name;
  48744. if (t1 === "host" || t1 === "host-context") {
  48745. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
  48746. return null;
  48747. } else {
  48748. t1 = false;
  48749. if (compound.length === 1) {
  48750. other = compound[0];
  48751. if (!(other instanceof A.UniversalSelector)) {
  48752. if (other instanceof A.PseudoSelector)
  48753. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  48754. } else
  48755. t1 = true;
  48756. } else
  48757. other = null;
  48758. if (t1)
  48759. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  48760. }
  48761. if (B.JSArray_methods.contains$1(compound, _this))
  48762. return compound;
  48763. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  48764. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  48765. simple = compound[_i];
  48766. if (simple instanceof A.PseudoSelector && !simple.isClass) {
  48767. if (t2)
  48768. return null;
  48769. result.push(_this);
  48770. addedThis = true;
  48771. }
  48772. result.push(simple);
  48773. }
  48774. if (!addedThis)
  48775. result.push(_this);
  48776. return result;
  48777. },
  48778. isSuperselector$1(other) {
  48779. var selector, t1, t2, _this = this;
  48780. if (_this.super$SimpleSelector$isSuperselector(other))
  48781. return true;
  48782. selector = _this.selector;
  48783. if (selector == null)
  48784. return _this.$eq(0, other);
  48785. if (other instanceof A.PseudoSelector && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  48786. t1 = A.NullableExtension_andThen(other.selector, selector.get$isSuperselector());
  48787. return t1 == null ? false : t1;
  48788. }
  48789. t1 = type$.JSArray_SimpleSelector;
  48790. t2 = _this.span;
  48791. return A.compoundIsSuperselector(A.CompoundSelector$(A._setArrayType([_this], t1), t2), A.CompoundSelector$(A._setArrayType([other], t1), t2), null);
  48792. },
  48793. accept$1$1(visitor) {
  48794. return visitor.visitPseudoSelector$1(this);
  48795. },
  48796. accept$1(visitor) {
  48797. return this.accept$1$1(visitor, type$.dynamic);
  48798. },
  48799. $eq(_, other) {
  48800. var _this = this;
  48801. if (other == null)
  48802. return false;
  48803. return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  48804. },
  48805. get$hashCode(_) {
  48806. var _this = this,
  48807. t1 = B.JSString_methods.get$hashCode(_this.name),
  48808. t2 = !_this.isClass ? 519018 : 218159;
  48809. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  48810. }
  48811. };
  48812. A.PseudoSelector_specificity_closure.prototype = {
  48813. call$0() {
  48814. var selector, t2,
  48815. t1 = this.$this;
  48816. if (!t1.isClass)
  48817. return 1;
  48818. selector = t1.selector;
  48819. if (selector == null)
  48820. return A.SimpleSelector.prototype.get$specificity.call(t1);
  48821. switch (t1.normalizedName) {
  48822. case "where":
  48823. return 0;
  48824. case "is":
  48825. case "not":
  48826. case "has":
  48827. case "matches":
  48828. t1 = selector.components;
  48829. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  48830. case "nth-child":
  48831. case "nth-last-child":
  48832. t1 = A.SimpleSelector.prototype.get$specificity.call(t1);
  48833. t2 = selector.components;
  48834. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  48835. default:
  48836. return A.SimpleSelector.prototype.get$specificity.call(t1);
  48837. }
  48838. },
  48839. $signature: 10
  48840. };
  48841. A.PseudoSelector_specificity__closure.prototype = {
  48842. call$1(component) {
  48843. return component.get$specificity();
  48844. },
  48845. $signature: 170
  48846. };
  48847. A.PseudoSelector_specificity__closure0.prototype = {
  48848. call$1(component) {
  48849. return component.get$specificity();
  48850. },
  48851. $signature: 170
  48852. };
  48853. A.PseudoSelector_unify_closure.prototype = {
  48854. call$1(simple) {
  48855. var t1;
  48856. if (simple instanceof A.PseudoSelector)
  48857. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  48858. else
  48859. t1 = false;
  48860. return t1;
  48861. },
  48862. $signature: 13
  48863. };
  48864. A.QualifiedName.prototype = {
  48865. $eq(_, other) {
  48866. if (other == null)
  48867. return false;
  48868. return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
  48869. },
  48870. get$hashCode(_) {
  48871. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  48872. },
  48873. toString$0(_) {
  48874. var t1 = this.namespace,
  48875. t2 = this.name;
  48876. return t1 == null ? t2 : t1 + "|" + t2;
  48877. }
  48878. };
  48879. A.SimpleSelector.prototype = {
  48880. get$specificity() {
  48881. return 1000;
  48882. },
  48883. get$hasComplicatedSuperselectorSemantics() {
  48884. return false;
  48885. },
  48886. addSuffix$1(suffix) {
  48887. 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));
  48888. },
  48889. unify$1(compound) {
  48890. var other, result, addedThis, _i, simple, _this = this,
  48891. t1 = false;
  48892. if (compound.length === 1) {
  48893. other = compound[0];
  48894. if (!(other instanceof A.UniversalSelector)) {
  48895. if (other instanceof A.PseudoSelector)
  48896. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  48897. } else
  48898. t1 = true;
  48899. } else
  48900. other = null;
  48901. if (t1)
  48902. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  48903. if (B.JSArray_methods.contains$1(compound, _this))
  48904. return compound;
  48905. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  48906. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  48907. simple = compound[_i];
  48908. if (!addedThis && simple instanceof A.PseudoSelector) {
  48909. result.push(_this);
  48910. addedThis = true;
  48911. }
  48912. result.push(simple);
  48913. }
  48914. if (!addedThis)
  48915. result.push(_this);
  48916. return result;
  48917. },
  48918. isSuperselector$1(other) {
  48919. var list;
  48920. if (this.$eq(0, other))
  48921. return true;
  48922. if (other instanceof A.PseudoSelector && other.isClass) {
  48923. list = other.selector;
  48924. if (list != null && $._subselectorPseudos.contains$1(0, other.normalizedName))
  48925. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure(this));
  48926. }
  48927. return false;
  48928. }
  48929. };
  48930. A.SimpleSelector_isSuperselector_closure.prototype = {
  48931. call$1(complex) {
  48932. var t1 = complex.components;
  48933. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure(this.$this));
  48934. },
  48935. $signature: 19
  48936. };
  48937. A.SimpleSelector_isSuperselector__closure.prototype = {
  48938. call$1(simple) {
  48939. return this.$this.isSuperselector$1(simple);
  48940. },
  48941. $signature: 13
  48942. };
  48943. A.TypeSelector.prototype = {
  48944. get$specificity() {
  48945. return 1;
  48946. },
  48947. accept$1$1(visitor) {
  48948. return visitor.visitTypeSelector$1(this);
  48949. },
  48950. accept$1(visitor) {
  48951. return this.accept$1$1(visitor, type$.dynamic);
  48952. },
  48953. addSuffix$1(suffix) {
  48954. var t1 = this.name;
  48955. return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace), this.span);
  48956. },
  48957. unify$1(compound) {
  48958. var unified, t1,
  48959. _0_0 = A.IterableExtensions_get_firstOrNull(compound);
  48960. if (_0_0 instanceof A.UniversalSelector || _0_0 instanceof A.TypeSelector) {
  48961. unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
  48962. if (unified == null)
  48963. return null;
  48964. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  48965. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  48966. return t1;
  48967. } else {
  48968. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
  48969. B.JSArray_methods.addAll$1(t1, compound);
  48970. return t1;
  48971. }
  48972. },
  48973. isSuperselector$1(other) {
  48974. var t1, t2, t3;
  48975. if (!this.super$SimpleSelector$isSuperselector(other)) {
  48976. t1 = false;
  48977. if (other instanceof A.TypeSelector) {
  48978. t2 = this.name;
  48979. t3 = other.name;
  48980. if (t2.name === t3.name) {
  48981. t1 = t2.namespace;
  48982. t1 = t1 === "*" || t1 == t3.namespace;
  48983. }
  48984. }
  48985. } else
  48986. t1 = true;
  48987. return t1;
  48988. },
  48989. $eq(_, other) {
  48990. if (other == null)
  48991. return false;
  48992. return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
  48993. },
  48994. get$hashCode(_) {
  48995. var t1 = this.name;
  48996. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  48997. }
  48998. };
  48999. A.UniversalSelector.prototype = {
  49000. get$specificity() {
  49001. return 0;
  49002. },
  49003. accept$1$1(visitor) {
  49004. return visitor.visitUniversalSelector$1(this);
  49005. },
  49006. accept$1(visitor) {
  49007. return this.accept$1$1(visitor, type$.dynamic);
  49008. },
  49009. unify$1(compound) {
  49010. var _0_4, t1, rest, unified, t2, _this = this, _null = null,
  49011. _0_1 = compound.length,
  49012. _0_4_isSet = _0_1 >= 1;
  49013. if (_0_4_isSet) {
  49014. _0_4 = compound[0];
  49015. if (!(_0_4 instanceof A.UniversalSelector))
  49016. t1 = _0_4 instanceof A.TypeSelector;
  49017. else
  49018. t1 = true;
  49019. rest = t1 ? B.JSArray_methods.sublist$1(compound, 1) : _null;
  49020. } else {
  49021. rest = _null;
  49022. _0_4 = rest;
  49023. t1 = false;
  49024. }
  49025. if (t1) {
  49026. unified = A.unifyUniversalAndElement(_this, B.JSArray_methods.get$first(compound));
  49027. if (unified == null)
  49028. return _null;
  49029. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  49030. B.JSArray_methods.addAll$1(t1, rest);
  49031. return t1;
  49032. }
  49033. t1 = false;
  49034. if (_0_1 === 1) {
  49035. if (_0_4_isSet)
  49036. t2 = _0_4;
  49037. else {
  49038. _0_4 = compound[0];
  49039. t2 = _0_4;
  49040. _0_4_isSet = true;
  49041. }
  49042. if (t2 instanceof A.PseudoSelector) {
  49043. t2 = _0_4_isSet ? _0_4 : compound[0];
  49044. type$.PseudoSelector._as(t2);
  49045. t1 = t2.isClass && t2.name === "host" || t2.get$isHostContext();
  49046. }
  49047. }
  49048. if (t1)
  49049. return _null;
  49050. if (_0_1 <= 0)
  49051. return A._setArrayType([_this], type$.JSArray_SimpleSelector);
  49052. t1 = _this.namespace;
  49053. if (t1 == null || t1 === "*")
  49054. t1 = compound;
  49055. else {
  49056. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
  49057. B.JSArray_methods.addAll$1(t1, compound);
  49058. }
  49059. return t1;
  49060. },
  49061. isSuperselector$1(other) {
  49062. var t1 = this.namespace;
  49063. if (t1 === "*")
  49064. return true;
  49065. if (other instanceof A.TypeSelector)
  49066. return t1 == other.name.namespace;
  49067. if (other instanceof A.UniversalSelector)
  49068. return t1 == other.namespace;
  49069. return t1 == null || this.super$SimpleSelector$isSuperselector(other);
  49070. },
  49071. $eq(_, other) {
  49072. if (other == null)
  49073. return false;
  49074. return other instanceof A.UniversalSelector && other.namespace == this.namespace;
  49075. },
  49076. get$hashCode(_) {
  49077. return J.get$hashCode$(this.namespace);
  49078. }
  49079. };
  49080. A._compileStylesheet_closure0.prototype = {
  49081. call$1(url) {
  49082. var t1;
  49083. if (url === "") {
  49084. t1 = this.stylesheet.span;
  49085. 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();
  49086. } else
  49087. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  49088. return t1;
  49089. },
  49090. $signature: 6
  49091. };
  49092. A.AsyncEnvironment.prototype = {
  49093. closure$0() {
  49094. var t4, t5, t6, _this = this,
  49095. t1 = _this._async_environment$_forwardedModules,
  49096. t2 = _this._async_environment$_nestedForwardedModules,
  49097. t3 = _this._async_environment$_variables;
  49098. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  49099. t4 = _this._async_environment$_variableNodes;
  49100. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  49101. t5 = _this._async_environment$_functions;
  49102. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  49103. t6 = _this._async_environment$_mixins;
  49104. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  49105. 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);
  49106. },
  49107. forwardModule$2(module, rule) {
  49108. var view, t1, t2, _this = this,
  49109. forwardedModules = _this._async_environment$_forwardedModules;
  49110. if (forwardedModules == null)
  49111. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  49112. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
  49113. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules.__js_helper$_modifications, forwardedModules.__js_helper$_first); t1.moveNext$0();) {
  49114. t2 = t1.__js_helper$_current;
  49115. _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  49116. _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  49117. _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  49118. }
  49119. _this._async_environment$_allModules.push(module);
  49120. forwardedModules.$indexSet(0, view, rule);
  49121. },
  49122. _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  49123. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  49124. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  49125. larger = oldMembers;
  49126. smaller = newMembers;
  49127. } else {
  49128. larger = newMembers;
  49129. smaller = oldMembers;
  49130. }
  49131. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  49132. t4 = t2.get$current(t2);
  49133. $name = t4._0;
  49134. small = t4._1;
  49135. large = larger.$index(0, $name);
  49136. if (large == null)
  49137. continue;
  49138. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  49139. continue;
  49140. if (t3)
  49141. $name = "$" + $name;
  49142. t2 = this._async_environment$_forwardedModules;
  49143. if (t2 == null)
  49144. span = null;
  49145. else {
  49146. t2 = t2.$index(0, oldModule);
  49147. span = t2 == null ? null : t2.get$span(t2);
  49148. }
  49149. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  49150. if (span != null)
  49151. t2.$indexSet(0, span, "original @forward");
  49152. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  49153. }
  49154. },
  49155. importForwards$1(module) {
  49156. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  49157. forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
  49158. if (forwarded == null)
  49159. return;
  49160. forwardedModules = _this._async_environment$_forwardedModules;
  49161. if (forwardedModules != null) {
  49162. t1 = type$.Module_AsyncCallable;
  49163. t2 = type$.AstNode;
  49164. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  49165. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment$_globalModules; t1.moveNext$0();) {
  49166. t4 = t1.get$current(t1);
  49167. module = t4._0;
  49168. node = t4._1;
  49169. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  49170. t3.$indexSet(0, module, node);
  49171. }
  49172. forwarded = t3;
  49173. } else
  49174. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  49175. t1 = type$.String;
  49176. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49177. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t3.moveNext$0();)
  49178. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  49179. t2.add$1(0, t4.get$current(t4));
  49180. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49181. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t4.moveNext$0();) {
  49182. t5 = t4.__js_helper$_current;
  49183. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  49184. t3.add$1(0, t5.get$current(t5));
  49185. }
  49186. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49187. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t4.moveNext$0();)
  49188. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  49189. t1.add$1(0, t5.get$current(t5));
  49190. t4 = _this._async_environment$_variables;
  49191. t5 = t4.length;
  49192. if (t5 === 1) {
  49193. 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) {
  49194. t11 = t8[_i];
  49195. module = t11._0;
  49196. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  49197. if (shadowed != null) {
  49198. t5.remove$1(0, module);
  49199. t12 = shadowed.variables;
  49200. t13 = false;
  49201. if (t12.get$isEmpty(t12)) {
  49202. t12 = shadowed.functions;
  49203. if (t12.get$isEmpty(t12)) {
  49204. t12 = shadowed.mixins;
  49205. if (t12.get$isEmpty(t12)) {
  49206. t12 = shadowed._shadowed_view$_inner;
  49207. t12 = t12.get$css(t12);
  49208. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  49209. } else
  49210. t12 = t13;
  49211. } else
  49212. t12 = t13;
  49213. } else
  49214. t12 = t13;
  49215. if (!t12)
  49216. t5.$indexSet(0, shadowed, t11._1);
  49217. }
  49218. }
  49219. 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) {
  49220. t8 = t6[_i];
  49221. module = t8._0;
  49222. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  49223. if (shadowed != null) {
  49224. forwardedModules.remove$1(0, module);
  49225. t9 = shadowed.variables;
  49226. t11 = false;
  49227. if (t9.get$isEmpty(t9)) {
  49228. t9 = shadowed.functions;
  49229. if (t9.get$isEmpty(t9)) {
  49230. t9 = shadowed.mixins;
  49231. if (t9.get$isEmpty(t9)) {
  49232. t9 = shadowed._shadowed_view$_inner;
  49233. t9 = t9.get$css(t9);
  49234. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  49235. } else
  49236. t9 = t11;
  49237. } else
  49238. t9 = t11;
  49239. } else
  49240. t9 = t11;
  49241. if (!t9)
  49242. forwardedModules.$indexSet(0, shadowed, t8._1);
  49243. }
  49244. }
  49245. t5.addAll$1(0, forwarded);
  49246. forwardedModules.addAll$1(0, forwarded);
  49247. } else {
  49248. t6 = _this._async_environment$_nestedForwardedModules;
  49249. if (t6 == null) {
  49250. _length = t5 - 1;
  49251. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
  49252. for (t5 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
  49253. _list[_i] = A._setArrayType([], t5);
  49254. _this._async_environment$_nestedForwardedModules = _list;
  49255. t5 = _list;
  49256. } else
  49257. t5 = t6;
  49258. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  49259. }
  49260. for (t2 = A._LinkedHashSetIterator$(t2, t2._modifications, t2.$ti._precomputed1), t5 = _this._async_environment$_variableIndices, t6 = _this._async_environment$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  49261. t8 = t2._collection$_current;
  49262. if (t8 == null)
  49263. t8 = t7._as(t8);
  49264. t5.remove$1(0, t8);
  49265. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  49266. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  49267. }
  49268. for (t2 = A._LinkedHashSetIterator$(t3, t3._modifications, t3.$ti._precomputed1), t3 = _this._async_environment$_functionIndices, t4 = _this._async_environment$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  49269. t6 = t2._collection$_current;
  49270. if (t6 == null)
  49271. t6 = t5._as(t6);
  49272. t3.remove$1(0, t6);
  49273. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  49274. }
  49275. for (t1 = A._LinkedHashSetIterator$(t1, t1._modifications, t1.$ti._precomputed1), t2 = _this._async_environment$_mixinIndices, t3 = _this._async_environment$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  49276. t5 = t1._collection$_current;
  49277. if (t5 == null)
  49278. t5 = t4._as(t5);
  49279. t2.remove$1(0, t5);
  49280. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  49281. }
  49282. },
  49283. getVariable$2$namespace($name, namespace) {
  49284. var t1, _0_0, _1_0, _this = this;
  49285. if (namespace != null)
  49286. return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
  49287. if (_this._async_environment$_lastVariableName === $name) {
  49288. t1 = _this._async_environment$_lastVariableIndex;
  49289. t1.toString;
  49290. t1 = _this._async_environment$_variables[t1].$index(0, $name);
  49291. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49292. }
  49293. t1 = _this._async_environment$_variableIndices;
  49294. _0_0 = t1.$index(0, $name);
  49295. if (_0_0 != null) {
  49296. _this._async_environment$_lastVariableName = $name;
  49297. _this._async_environment$_lastVariableIndex = _0_0;
  49298. t1 = _this._async_environment$_variables[_0_0].$index(0, $name);
  49299. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49300. } else {
  49301. _1_0 = _this._async_environment$_variableIndex$1($name);
  49302. if (_1_0 != null) {
  49303. _this._async_environment$_lastVariableName = $name;
  49304. _this._async_environment$_lastVariableIndex = _1_0;
  49305. t1.$indexSet(0, $name, _1_0);
  49306. t1 = _this._async_environment$_variables[_1_0].$index(0, $name);
  49307. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49308. } else
  49309. return _this._async_environment$_getVariableFromGlobalModule$1($name);
  49310. }
  49311. },
  49312. getVariable$1($name) {
  49313. return this.getVariable$2$namespace($name, null);
  49314. },
  49315. _async_environment$_getVariableFromGlobalModule$1($name) {
  49316. return this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name));
  49317. },
  49318. getVariableNode$2$namespace($name, namespace) {
  49319. var t1, _0_0, _1_0, _this = this;
  49320. if (namespace != null)
  49321. return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  49322. if (_this._async_environment$_lastVariableName === $name) {
  49323. t1 = _this._async_environment$_lastVariableIndex;
  49324. t1.toString;
  49325. t1 = _this._async_environment$_variableNodes[t1].$index(0, $name);
  49326. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49327. }
  49328. t1 = _this._async_environment$_variableIndices;
  49329. _0_0 = t1.$index(0, $name);
  49330. if (_0_0 != null) {
  49331. _this._async_environment$_lastVariableName = $name;
  49332. _this._async_environment$_lastVariableIndex = _0_0;
  49333. t1 = _this._async_environment$_variableNodes[_0_0].$index(0, $name);
  49334. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49335. } else {
  49336. _1_0 = _this._async_environment$_variableIndex$1($name);
  49337. if (_1_0 != null) {
  49338. _this._async_environment$_lastVariableName = $name;
  49339. _this._async_environment$_lastVariableIndex = _1_0;
  49340. t1.$indexSet(0, $name, _1_0);
  49341. t1 = _this._async_environment$_variableNodes[_1_0].$index(0, $name);
  49342. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49343. } else
  49344. return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
  49345. }
  49346. },
  49347. _async_environment$_getVariableNodeFromGlobalModule$1($name) {
  49348. var t1, t2, _0_0;
  49349. 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();) {
  49350. t1 = t2._currentIterator;
  49351. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  49352. if (_0_0 != null)
  49353. return _0_0;
  49354. }
  49355. return null;
  49356. },
  49357. globalVariableExists$2$namespace($name, namespace) {
  49358. if (namespace != null)
  49359. return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
  49360. if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
  49361. return true;
  49362. return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
  49363. },
  49364. globalVariableExists$1($name) {
  49365. return this.globalVariableExists$2$namespace($name, null);
  49366. },
  49367. _async_environment$_variableIndex$1($name) {
  49368. var t1, i;
  49369. for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
  49370. if (t1[i].containsKey$1($name))
  49371. return i;
  49372. return null;
  49373. },
  49374. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  49375. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  49376. if (namespace != null) {
  49377. _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  49378. return;
  49379. }
  49380. if (global || _this._async_environment$_variables.length === 1) {
  49381. _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
  49382. t1 = _this._async_environment$_variables;
  49383. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  49384. moduleWithName = _this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name));
  49385. if (moduleWithName != null) {
  49386. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  49387. return;
  49388. }
  49389. }
  49390. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  49391. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
  49392. return;
  49393. }
  49394. nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
  49395. if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
  49396. 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();) {
  49397. t3 = t2.__internal$_current;
  49398. 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();) {
  49399. t5 = t3.__internal$_current;
  49400. if (t5 == null)
  49401. t5 = t4._as(t5);
  49402. if (t5.get$variables().containsKey$1($name)) {
  49403. t5.setVariable$3($name, value, nodeWithSpan);
  49404. return;
  49405. }
  49406. }
  49407. }
  49408. if (_this._async_environment$_lastVariableName === $name) {
  49409. t1 = _this._async_environment$_lastVariableIndex;
  49410. t1.toString;
  49411. index = t1;
  49412. } else
  49413. index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
  49414. if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
  49415. index = _this._async_environment$_variables.length - 1;
  49416. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  49417. }
  49418. _this._async_environment$_lastVariableName = $name;
  49419. _this._async_environment$_lastVariableIndex = index;
  49420. _this._async_environment$_variables[index].$indexSet(0, $name, value);
  49421. _this._async_environment$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  49422. },
  49423. setVariable$4$global($name, value, nodeWithSpan, global) {
  49424. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  49425. },
  49426. setLocalVariable$3($name, value, nodeWithSpan) {
  49427. var index, _this = this,
  49428. t1 = _this._async_environment$_variables,
  49429. t2 = t1.length;
  49430. _this._async_environment$_lastVariableName = $name;
  49431. index = _this._async_environment$_lastVariableIndex = t2 - 1;
  49432. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  49433. t1[index].$indexSet(0, $name, value);
  49434. _this._async_environment$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  49435. },
  49436. getFunction$2$namespace($name, namespace) {
  49437. var t1, _0_0, _1_0, _this = this;
  49438. if (namespace != null) {
  49439. t1 = _this._async_environment$_getModule$1(namespace);
  49440. return t1.get$functions(t1).$index(0, $name);
  49441. }
  49442. t1 = _this._async_environment$_functionIndices;
  49443. _0_0 = t1.$index(0, $name);
  49444. if (_0_0 != null) {
  49445. t1 = _this._async_environment$_functions[_0_0].$index(0, $name);
  49446. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  49447. } else {
  49448. _1_0 = _this._async_environment$_functionIndex$1($name);
  49449. if (_1_0 != null) {
  49450. t1.$indexSet(0, $name, _1_0);
  49451. t1 = _this._async_environment$_functions[_1_0].$index(0, $name);
  49452. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  49453. } else
  49454. return _this._async_environment$_getFunctionFromGlobalModule$1($name);
  49455. }
  49456. },
  49457. getFunction$1($name) {
  49458. return this.getFunction$2$namespace($name, null);
  49459. },
  49460. _async_environment$_getFunctionFromGlobalModule$1($name) {
  49461. return this._async_environment$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name));
  49462. },
  49463. _async_environment$_functionIndex$1($name) {
  49464. var t1, i;
  49465. for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
  49466. if (t1[i].containsKey$1($name))
  49467. return i;
  49468. return null;
  49469. },
  49470. getMixin$2$namespace($name, namespace) {
  49471. var t1, _0_0, _1_0, _this = this;
  49472. if (namespace != null)
  49473. return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
  49474. t1 = _this._async_environment$_mixinIndices;
  49475. _0_0 = t1.$index(0, $name);
  49476. if (_0_0 != null) {
  49477. t1 = _this._async_environment$_mixins[_0_0].$index(0, $name);
  49478. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  49479. } else {
  49480. _1_0 = _this._async_environment$_mixinIndex$1($name);
  49481. if (_1_0 != null) {
  49482. t1.$indexSet(0, $name, _1_0);
  49483. t1 = _this._async_environment$_mixins[_1_0].$index(0, $name);
  49484. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  49485. } else
  49486. return _this._async_environment$_getMixinFromGlobalModule$1($name);
  49487. }
  49488. },
  49489. _async_environment$_getMixinFromGlobalModule$1($name) {
  49490. return this._async_environment$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name));
  49491. },
  49492. _async_environment$_mixinIndex$1($name) {
  49493. var t1, i;
  49494. for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
  49495. if (t1[i].containsKey$1($name))
  49496. return i;
  49497. return null;
  49498. },
  49499. withContent$2($content, callback) {
  49500. return this.withContent$body$AsyncEnvironment($content, callback);
  49501. },
  49502. withContent$body$AsyncEnvironment($content, callback) {
  49503. var $async$goto = 0,
  49504. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  49505. $async$self = this, oldContent;
  49506. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49507. if ($async$errorCode === 1)
  49508. return A._asyncRethrow($async$result, $async$completer);
  49509. while (true)
  49510. switch ($async$goto) {
  49511. case 0:
  49512. // Function start
  49513. oldContent = $async$self._async_environment$_content;
  49514. $async$self._async_environment$_content = $content;
  49515. $async$goto = 2;
  49516. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  49517. case 2:
  49518. // returning from await.
  49519. $async$self._async_environment$_content = oldContent;
  49520. // implicit return
  49521. return A._asyncReturn(null, $async$completer);
  49522. }
  49523. });
  49524. return A._asyncStartSync($async$withContent$2, $async$completer);
  49525. },
  49526. asMixin$1(callback) {
  49527. var $async$goto = 0,
  49528. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  49529. $async$self = this, oldInMixin;
  49530. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49531. if ($async$errorCode === 1)
  49532. return A._asyncRethrow($async$result, $async$completer);
  49533. while (true)
  49534. switch ($async$goto) {
  49535. case 0:
  49536. // Function start
  49537. oldInMixin = $async$self._async_environment$_inMixin;
  49538. $async$self._async_environment$_inMixin = true;
  49539. $async$goto = 2;
  49540. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  49541. case 2:
  49542. // returning from await.
  49543. $async$self._async_environment$_inMixin = oldInMixin;
  49544. // implicit return
  49545. return A._asyncReturn(null, $async$completer);
  49546. }
  49547. });
  49548. return A._asyncStartSync($async$asMixin$1, $async$completer);
  49549. },
  49550. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  49551. return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
  49552. },
  49553. scope$1$1(callback, $T) {
  49554. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  49555. },
  49556. scope$1$2$when(callback, when, $T) {
  49557. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  49558. },
  49559. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  49560. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  49561. },
  49562. scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
  49563. var $async$goto = 0,
  49564. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  49565. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  49566. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49567. if ($async$errorCode === 1) {
  49568. $async$errorStack.push($async$result);
  49569. $async$goto = $async$handler;
  49570. }
  49571. while (true)
  49572. switch ($async$goto) {
  49573. case 0:
  49574. // Function start
  49575. semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
  49576. wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
  49577. $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
  49578. $async$goto = !when ? 3 : 4;
  49579. break;
  49580. case 3:
  49581. // then
  49582. $async$handler = 5;
  49583. $async$goto = 8;
  49584. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  49585. case 8:
  49586. // returning from await.
  49587. t1 = $async$result;
  49588. $async$returnValue = t1;
  49589. $async$next = [1];
  49590. // goto finally
  49591. $async$goto = 6;
  49592. break;
  49593. $async$next.push(7);
  49594. // goto finally
  49595. $async$goto = 6;
  49596. break;
  49597. case 5:
  49598. // uncaught
  49599. $async$next = [2];
  49600. case 6:
  49601. // finally
  49602. $async$handler = 2;
  49603. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  49604. // goto the next finally handler
  49605. $async$goto = $async$next.pop();
  49606. break;
  49607. case 7:
  49608. // after finally
  49609. case 4:
  49610. // join
  49611. t1 = $async$self._async_environment$_variables;
  49612. t2 = type$.String;
  49613. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  49614. t3 = $async$self._async_environment$_variableNodes;
  49615. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  49616. t4 = $async$self._async_environment$_functions;
  49617. t5 = type$.AsyncCallable;
  49618. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  49619. t6 = $async$self._async_environment$_mixins;
  49620. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  49621. t5 = $async$self._async_environment$_nestedForwardedModules;
  49622. if (t5 != null)
  49623. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
  49624. $async$handler = 9;
  49625. $async$goto = 12;
  49626. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  49627. case 12:
  49628. // returning from await.
  49629. t2 = $async$result;
  49630. $async$returnValue = t2;
  49631. $async$next = [1];
  49632. // goto finally
  49633. $async$goto = 10;
  49634. break;
  49635. $async$next.push(11);
  49636. // goto finally
  49637. $async$goto = 10;
  49638. break;
  49639. case 9:
  49640. // uncaught
  49641. $async$next = [2];
  49642. case 10:
  49643. // finally
  49644. $async$handler = 2;
  49645. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  49646. $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
  49647. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = $async$self._async_environment$_variableIndices; t1.moveNext$0();) {
  49648. $name = t1.get$current(t1);
  49649. t2.remove$1(0, $name);
  49650. }
  49651. B.JSArray_methods.removeLast$0(t3);
  49652. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = $async$self._async_environment$_functionIndices; t1.moveNext$0();) {
  49653. name0 = t1.get$current(t1);
  49654. t2.remove$1(0, name0);
  49655. }
  49656. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = $async$self._async_environment$_mixinIndices; t1.moveNext$0();) {
  49657. name1 = t1.get$current(t1);
  49658. t2.remove$1(0, name1);
  49659. }
  49660. t1 = $async$self._async_environment$_nestedForwardedModules;
  49661. if (t1 != null)
  49662. t1.pop();
  49663. // goto the next finally handler
  49664. $async$goto = $async$next.pop();
  49665. break;
  49666. case 11:
  49667. // after finally
  49668. case 1:
  49669. // return
  49670. return A._asyncReturn($async$returnValue, $async$completer);
  49671. case 2:
  49672. // rethrow
  49673. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  49674. }
  49675. });
  49676. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  49677. },
  49678. toImplicitConfiguration$0() {
  49679. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  49680. t1 = type$.String,
  49681. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  49682. for (t2 = this._async_environment$_variables, t3 = type$.Value, t4 = this._async_environment$_variableNodes, i = 0; i < t2.length; ++i) {
  49683. values = t2[i];
  49684. nodes = t4[i];
  49685. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  49686. t6 = t5.get$current(t5);
  49687. $name = t6._0;
  49688. value = t6._1;
  49689. t6 = nodes.$index(0, $name);
  49690. t6.toString;
  49691. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  49692. }
  49693. }
  49694. return new A.Configuration(configuration, null);
  49695. },
  49696. toModule$3(css, preModuleComments, extensionStore) {
  49697. return A._EnvironmentModule__EnvironmentModule0(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
  49698. },
  49699. toDummyModule$0() {
  49700. 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_empty8, B.C_EmptyExtensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toDummyModule_closure()));
  49701. },
  49702. _async_environment$_getModule$1(namespace) {
  49703. var _0_0 = this._async_environment$_modules.$index(0, namespace);
  49704. if (_0_0 != null)
  49705. return _0_0;
  49706. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  49707. },
  49708. _async_environment$_fromOneModule$1$3($name, type, callback) {
  49709. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  49710. _0_0 = this._async_environment$_nestedForwardedModules;
  49711. if (_0_0 != null)
  49712. 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();) {
  49713. t3 = t2.__internal$_current;
  49714. 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();) {
  49715. t5 = t3.__internal$_current;
  49716. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  49717. if (_1_0 != null)
  49718. return _1_0;
  49719. }
  49720. }
  49721. for (t1 = this._async_environment$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first); t1.moveNext$0();) {
  49722. _2_0 = callback.call$1(t1.__js_helper$_current);
  49723. if (_2_0 != null)
  49724. return _2_0;
  49725. }
  49726. for (t1 = this._async_environment$_globalModules, t2 = new A.LinkedHashMapKeyIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first), t3 = type$.AsyncCallable, value = null, identity = null; t2.moveNext$0();) {
  49727. t4 = t2.__js_helper$_current;
  49728. valueInModule = callback.call$1(t4);
  49729. if (valueInModule == null)
  49730. continue;
  49731. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  49732. if (identityFromModule.$eq(0, identity))
  49733. continue;
  49734. if (value != null) {
  49735. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  49736. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_AsyncCallable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  49737. t1 = t3.get$current(t3);
  49738. module = t1._0;
  49739. node = t1._1;
  49740. if (callback.call$1(module) != null)
  49741. t2.$indexSet(0, node.get$span(node), t4);
  49742. }
  49743. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  49744. }
  49745. identity = identityFromModule;
  49746. value = valueInModule;
  49747. }
  49748. return value;
  49749. },
  49750. _async_environment$_fromOneModule$3($name, type, callback) {
  49751. return this._async_environment$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  49752. }
  49753. };
  49754. A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
  49755. call$1(module) {
  49756. return module.get$variables().$index(0, this.name);
  49757. },
  49758. $signature: 360
  49759. };
  49760. A.AsyncEnvironment_setVariable_closure.prototype = {
  49761. call$0() {
  49762. var t1 = this.$this;
  49763. t1._async_environment$_lastVariableName = this.name;
  49764. return t1._async_environment$_lastVariableIndex = 0;
  49765. },
  49766. $signature: 10
  49767. };
  49768. A.AsyncEnvironment_setVariable_closure0.prototype = {
  49769. call$1(module) {
  49770. return module.get$variables().containsKey$1(this.name) ? module : null;
  49771. },
  49772. $signature: 359
  49773. };
  49774. A.AsyncEnvironment_setVariable_closure1.prototype = {
  49775. call$0() {
  49776. var t1 = this.$this,
  49777. t2 = t1._async_environment$_variableIndex$1(this.name);
  49778. return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
  49779. },
  49780. $signature: 10
  49781. };
  49782. A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
  49783. call$1(module) {
  49784. return module.get$functions(module).$index(0, this.name);
  49785. },
  49786. $signature: 173
  49787. };
  49788. A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
  49789. call$1(module) {
  49790. return module.get$mixins().$index(0, this.name);
  49791. },
  49792. $signature: 173
  49793. };
  49794. A.AsyncEnvironment_toModule_closure.prototype = {
  49795. call$1(modules) {
  49796. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  49797. },
  49798. $signature: 174
  49799. };
  49800. A.AsyncEnvironment_toDummyModule_closure.prototype = {
  49801. call$1(modules) {
  49802. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  49803. },
  49804. $signature: 174
  49805. };
  49806. A._EnvironmentModule0.prototype = {
  49807. get$url(_) {
  49808. var t1 = this.css;
  49809. t1 = t1.get$span(t1);
  49810. return t1.get$sourceUrl(t1);
  49811. },
  49812. setVariable$3($name, value, nodeWithSpan) {
  49813. var t1, t2,
  49814. _0_0 = this._async_environment$_modulesByVariable.$index(0, $name);
  49815. if (_0_0 != null) {
  49816. _0_0.setVariable$3($name, value, nodeWithSpan);
  49817. return;
  49818. }
  49819. t1 = this._async_environment$_environment;
  49820. t2 = t1._async_environment$_variables;
  49821. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  49822. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  49823. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  49824. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
  49825. return;
  49826. },
  49827. variableIdentity$1($name) {
  49828. var module = this._async_environment$_modulesByVariable.$index(0, $name);
  49829. return module == null ? this : module.variableIdentity$1($name);
  49830. },
  49831. cloneCss$0() {
  49832. var _0_0, _this = this;
  49833. if (!_this.transitivelyContainsCss)
  49834. return _this;
  49835. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  49836. 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);
  49837. },
  49838. toString$0(_) {
  49839. var t1 = this.css,
  49840. t2 = t1.get$span(t1);
  49841. if (t2.get$sourceUrl(t2) == null)
  49842. t1 = "<unknown url>";
  49843. else {
  49844. t1 = t1.get$span(t1);
  49845. t1 = t1.get$sourceUrl(t1);
  49846. t2 = $.$get$context();
  49847. t1.toString;
  49848. t1 = t2.prettyUri$1(t1);
  49849. }
  49850. return t1;
  49851. },
  49852. $isModule0: 1,
  49853. get$upstream() {
  49854. return this.upstream;
  49855. },
  49856. get$variables() {
  49857. return this.variables;
  49858. },
  49859. get$variableNodes() {
  49860. return this.variableNodes;
  49861. },
  49862. get$functions(receiver) {
  49863. return this.functions;
  49864. },
  49865. get$mixins() {
  49866. return this.mixins;
  49867. },
  49868. get$extensionStore() {
  49869. return this.extensionStore;
  49870. },
  49871. get$css(receiver) {
  49872. return this.css;
  49873. },
  49874. get$preModuleComments() {
  49875. return this.preModuleComments;
  49876. },
  49877. get$transitivelyContainsCss() {
  49878. return this.transitivelyContainsCss;
  49879. },
  49880. get$transitivelyContainsExtensions() {
  49881. return this.transitivelyContainsExtensions;
  49882. }
  49883. };
  49884. A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
  49885. call$1(module) {
  49886. return module.get$variables();
  49887. },
  49888. $signature: 344
  49889. };
  49890. A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
  49891. call$1(module) {
  49892. return module.get$variableNodes();
  49893. },
  49894. $signature: 343
  49895. };
  49896. A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
  49897. call$1(module) {
  49898. return module.get$functions(module);
  49899. },
  49900. $signature: 179
  49901. };
  49902. A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
  49903. call$1(module) {
  49904. return module.get$mixins();
  49905. },
  49906. $signature: 179
  49907. };
  49908. A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
  49909. call$1(module) {
  49910. return module.get$transitivelyContainsCss();
  49911. },
  49912. $signature: 130
  49913. };
  49914. A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
  49915. call$1(module) {
  49916. return module.get$transitivelyContainsExtensions();
  49917. },
  49918. $signature: 130
  49919. };
  49920. A.AsyncImportCache.prototype = {
  49921. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  49922. return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
  49923. },
  49924. canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
  49925. var $async$goto = 0,
  49926. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  49927. $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;
  49928. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49929. if ($async$errorCode === 1)
  49930. return A._asyncRethrow($async$result, $async$completer);
  49931. while (true)
  49932. switch ($async$goto) {
  49933. case 0:
  49934. // Function start
  49935. if (A.isBrowser())
  49936. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && $async$self._async_import_cache$_importers.length === 0;
  49937. else
  49938. t1 = false;
  49939. if (t1)
  49940. throw A.wrapException(string$.Custom);
  49941. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  49942. break;
  49943. case 3:
  49944. // then
  49945. resolvedUrl = baseUrl == null ? null : baseUrl.resolveUri$1(url);
  49946. if (resolvedUrl == null)
  49947. resolvedUrl = url;
  49948. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  49949. $async$goto = 5;
  49950. 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);
  49951. case 5:
  49952. // returning from await.
  49953. relativeResult = $async$result;
  49954. if (relativeResult != null) {
  49955. $async$returnValue = relativeResult;
  49956. // goto return
  49957. $async$goto = 1;
  49958. break;
  49959. }
  49960. case 4:
  49961. // join
  49962. key = new A._Record_2_forImport(url, forImport);
  49963. t1 = $async$self._async_import_cache$_canonicalizeCache;
  49964. if (t1.containsKey$1(key)) {
  49965. $async$returnValue = t1.$index(0, key);
  49966. // goto return
  49967. $async$goto = 1;
  49968. break;
  49969. }
  49970. 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;
  49971. case 6:
  49972. // for condition
  49973. if (!(i < t2.length)) {
  49974. // goto after for
  49975. $async$goto = 8;
  49976. break;
  49977. }
  49978. importer = t2[i];
  49979. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  49980. if (t4.containsKey$1(perImporterKey)) {
  49981. t7 = t4.$index(0, perImporterKey);
  49982. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  49983. } else
  49984. _1_0 = null;
  49985. _1_2_isSet = t3._is(_1_0);
  49986. result = null;
  49987. if (_1_2_isSet) {
  49988. _1_2 = _1_0._0;
  49989. t7 = _1_2 != null;
  49990. if (t7) {
  49991. t6._as(_1_2);
  49992. result = _1_2;
  49993. }
  49994. } else {
  49995. _1_2 = null;
  49996. t7 = false;
  49997. }
  49998. if (t7) {
  49999. $async$returnValue = result;
  50000. // goto return
  50001. $async$goto = 1;
  50002. break;
  50003. }
  50004. if (_1_2_isSet)
  50005. t7 = _1_2 == null;
  50006. else
  50007. t7 = false;
  50008. if (t7) {
  50009. // goto for update
  50010. $async$goto = 7;
  50011. break;
  50012. }
  50013. $async$goto = 10;
  50014. return A._asyncAwait($async$self._async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  50015. case 10:
  50016. // returning from await.
  50017. _2_0 = $async$result;
  50018. _2_1 = _2_0._0;
  50019. _2_5_isSet = _2_1 != null;
  50020. _2_5 = null;
  50021. _2_3 = null;
  50022. t7 = false;
  50023. if (_2_5_isSet) {
  50024. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  50025. _2_3 = _2_0._1;
  50026. t7 = _2_3;
  50027. _2_5 = t7;
  50028. t7 = t7 && cacheable;
  50029. } else
  50030. result = null;
  50031. if (t7) {
  50032. t1.$indexSet(0, key, result);
  50033. $async$returnValue = result;
  50034. // goto return
  50035. $async$goto = 1;
  50036. break;
  50037. }
  50038. if (_2_5_isSet) {
  50039. t7 = _2_5;
  50040. _2_3_isSet = _2_5_isSet;
  50041. } else {
  50042. _2_3 = _2_0._1;
  50043. t7 = _2_3;
  50044. _2_3_isSet = true;
  50045. }
  50046. t7 = t7 && !cacheable;
  50047. if (t7) {
  50048. t4.$indexSet(0, perImporterKey, _2_1);
  50049. if (_2_1 != null) {
  50050. $async$returnValue = _2_1;
  50051. // goto return
  50052. $async$goto = 1;
  50053. break;
  50054. }
  50055. // goto break $label0$1
  50056. $async$goto = 9;
  50057. break;
  50058. }
  50059. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  50060. if (t7) {
  50061. if (cacheable) {
  50062. for (j = 0; j < i; ++j)
  50063. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
  50064. cacheable = false;
  50065. }
  50066. if (_2_1 != null) {
  50067. $async$returnValue = _2_1;
  50068. // goto return
  50069. $async$goto = 1;
  50070. break;
  50071. }
  50072. }
  50073. case 9:
  50074. // break $label0$1
  50075. case 7:
  50076. // for update
  50077. ++i;
  50078. // goto for condition
  50079. $async$goto = 6;
  50080. break;
  50081. case 8:
  50082. // after for
  50083. if (cacheable)
  50084. t1.$indexSet(0, key, null);
  50085. $async$returnValue = null;
  50086. // goto return
  50087. $async$goto = 1;
  50088. break;
  50089. case 1:
  50090. // return
  50091. return A._asyncReturn($async$returnValue, $async$completer);
  50092. }
  50093. });
  50094. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  50095. },
  50096. _async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  50097. return this._canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport);
  50098. },
  50099. _canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport) {
  50100. var $async$goto = 0,
  50101. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool),
  50102. $async$returnValue, t1, passContainingUrl, canonicalizeContext, result, cacheable;
  50103. var $async$_async_import_cache$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50104. if ($async$errorCode === 1)
  50105. return A._asyncRethrow($async$result, $async$completer);
  50106. while (true)
  50107. switch ($async$goto) {
  50108. case 0:
  50109. // Function start
  50110. $async$goto = baseUrl != null ? 3 : 5;
  50111. break;
  50112. case 3:
  50113. // then
  50114. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  50115. break;
  50116. case 6:
  50117. // then
  50118. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  50119. $async$goto = 9;
  50120. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  50121. case 9:
  50122. // returning from await.
  50123. t1 = $async$result;
  50124. passContainingUrl = t1;
  50125. // goto join
  50126. $async$goto = 7;
  50127. break;
  50128. case 8:
  50129. // else
  50130. passContainingUrl = true;
  50131. case 7:
  50132. // join
  50133. // goto join
  50134. $async$goto = 4;
  50135. break;
  50136. case 5:
  50137. // else
  50138. passContainingUrl = false;
  50139. case 4:
  50140. // join
  50141. canonicalizeContext = new A.CanonicalizeContext(forImport, passContainingUrl ? baseUrl : null);
  50142. t1 = type$.nullable_Object;
  50143. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.FutureOr_nullable_Uri);
  50144. $async$goto = 10;
  50145. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache$_canonicalize$4);
  50146. case 10:
  50147. // returning from await.
  50148. result = $async$result;
  50149. cacheable = !passContainingUrl || !canonicalizeContext._wasContainingUrlAccessed;
  50150. if (result == null) {
  50151. $async$returnValue = new A._Record_2(null, cacheable);
  50152. // goto return
  50153. $async$goto = 1;
  50154. break;
  50155. }
  50156. $async$goto = result.get$scheme() !== "" ? 11 : 13;
  50157. break;
  50158. case 11:
  50159. // then
  50160. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  50161. $async$goto = 14;
  50162. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  50163. case 14:
  50164. // returning from await.
  50165. t1 = $async$result;
  50166. // goto join
  50167. $async$goto = 12;
  50168. break;
  50169. case 13:
  50170. // else
  50171. t1 = false;
  50172. case 12:
  50173. // join
  50174. if (t1)
  50175. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  50176. $async$returnValue = new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  50177. // goto return
  50178. $async$goto = 1;
  50179. break;
  50180. case 1:
  50181. // return
  50182. return A._asyncReturn($async$returnValue, $async$completer);
  50183. }
  50184. });
  50185. return A._asyncStartSync($async$_async_import_cache$_canonicalize$4, $async$completer);
  50186. },
  50187. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  50188. return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl);
  50189. },
  50190. importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl) {
  50191. var $async$goto = 0,
  50192. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  50193. $async$returnValue, $async$self = this;
  50194. var $async$importCanonical$3$originalUrl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50195. if ($async$errorCode === 1)
  50196. return A._asyncRethrow($async$result, $async$completer);
  50197. while (true)
  50198. switch ($async$goto) {
  50199. case 0:
  50200. // Function start
  50201. $async$goto = 3;
  50202. 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);
  50203. case 3:
  50204. // returning from await.
  50205. $async$returnValue = $async$result;
  50206. // goto return
  50207. $async$goto = 1;
  50208. break;
  50209. case 1:
  50210. // return
  50211. return A._asyncReturn($async$returnValue, $async$completer);
  50212. }
  50213. });
  50214. return A._asyncStartSync($async$importCanonical$3$originalUrl, $async$completer);
  50215. },
  50216. humanize$1(canonicalUrl) {
  50217. var t1 = this._async_import_cache$_canonicalizeCache,
  50218. t2 = type$.NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;
  50219. 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));
  50220. return t2 == null ? canonicalUrl : t2;
  50221. },
  50222. sourceMapUrl$1(_, canonicalUrl) {
  50223. var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
  50224. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  50225. return t1 == null ? canonicalUrl : t1;
  50226. }
  50227. };
  50228. A.AsyncImportCache_canonicalize_closure.prototype = {
  50229. call$0() {
  50230. var $async$goto = 0,
  50231. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  50232. $async$returnValue, $async$self = this, t1, t2, _0_0, result;
  50233. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50234. if ($async$errorCode === 1)
  50235. return A._asyncRethrow($async$result, $async$completer);
  50236. while (true)
  50237. switch ($async$goto) {
  50238. case 0:
  50239. // Function start
  50240. t1 = $async$self.$this;
  50241. t2 = $async$self.baseUrl;
  50242. $async$goto = 3;
  50243. return A._asyncAwait(t1._async_import_cache$_canonicalize$4($async$self.baseImporter, $async$self.resolvedUrl, t2, $async$self.forImport), $async$call$0);
  50244. case 3:
  50245. // returning from await.
  50246. _0_0 = $async$result;
  50247. result = _0_0._0;
  50248. _0_0._1;
  50249. if (t2 != null)
  50250. t1._async_import_cache$_nonCanonicalRelativeUrls.$indexSet(0, $async$self.key, $async$self.url);
  50251. $async$returnValue = result;
  50252. // goto return
  50253. $async$goto = 1;
  50254. break;
  50255. case 1:
  50256. // return
  50257. return A._asyncReturn($async$returnValue, $async$completer);
  50258. }
  50259. });
  50260. return A._asyncStartSync($async$call$0, $async$completer);
  50261. },
  50262. $signature: 332
  50263. };
  50264. A.AsyncImportCache__canonicalize_closure.prototype = {
  50265. call$0() {
  50266. return this.importer.canonicalize$1(0, this.url);
  50267. },
  50268. $signature: 181
  50269. };
  50270. A.AsyncImportCache_importCanonical_closure.prototype = {
  50271. call$0() {
  50272. var $async$goto = 0,
  50273. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  50274. $async$returnValue, $async$self = this, t1, t2, t3, result;
  50275. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50276. if ($async$errorCode === 1)
  50277. return A._asyncRethrow($async$result, $async$completer);
  50278. while (true)
  50279. switch ($async$goto) {
  50280. case 0:
  50281. // Function start
  50282. t1 = Date.now();
  50283. t2 = $async$self.canonicalUrl;
  50284. t3 = A._Future$value($async$self.importer.load$1(0, t2), type$.nullable_ImporterResult);
  50285. $async$goto = 3;
  50286. return A._asyncAwait(t3, $async$call$0);
  50287. case 3:
  50288. // returning from await.
  50289. result = $async$result;
  50290. if (result == null) {
  50291. $async$returnValue = null;
  50292. // goto return
  50293. $async$goto = 1;
  50294. break;
  50295. }
  50296. t3 = $async$self.$this;
  50297. t3._async_import_cache$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  50298. t3._async_import_cache$_resultsCache.$indexSet(0, t2, result);
  50299. t3 = result.contents;
  50300. t1 = result.syntax;
  50301. t2 = $async$self.originalUrl.resolveUri$1(t2);
  50302. $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t1, t2);
  50303. // goto return
  50304. $async$goto = 1;
  50305. break;
  50306. case 1:
  50307. // return
  50308. return A._asyncReturn($async$returnValue, $async$completer);
  50309. }
  50310. });
  50311. return A._asyncStartSync($async$call$0, $async$completer);
  50312. },
  50313. $signature: 325
  50314. };
  50315. A.AsyncImportCache_humanize_closure.prototype = {
  50316. call$1(result) {
  50317. return result._1.$eq(0, this.canonicalUrl);
  50318. },
  50319. $signature: 324
  50320. };
  50321. A.AsyncImportCache_humanize_closure0.prototype = {
  50322. call$1(result) {
  50323. return result._2;
  50324. },
  50325. $signature: 323
  50326. };
  50327. A.AsyncImportCache_humanize_closure1.prototype = {
  50328. call$1(url) {
  50329. return url.get$path(url).length;
  50330. },
  50331. $signature: 90
  50332. };
  50333. A.AsyncImportCache_humanize_closure2.prototype = {
  50334. call$1(url) {
  50335. var t1 = $.$get$url(),
  50336. t2 = this.canonicalUrl;
  50337. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  50338. },
  50339. $signature: 51
  50340. };
  50341. A.AsyncBuiltInCallable.prototype = {
  50342. callbackFor$2(positional, names) {
  50343. return new A._Record_2(this._parameters, this._async_built_in$_callback);
  50344. },
  50345. withDeprecationWarning$1(module) {
  50346. return new A.AsyncBuiltInCallable(this.name, this._parameters, new A.AsyncBuiltInCallable_withDeprecationWarning_closure(this, module, null), false);
  50347. },
  50348. $isAsyncCallable: 1,
  50349. get$name(receiver) {
  50350. return this.name;
  50351. },
  50352. get$acceptsContent() {
  50353. return this.acceptsContent;
  50354. }
  50355. };
  50356. A.AsyncBuiltInCallable$mixin_closure.prototype = {
  50357. call$1($arguments) {
  50358. return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
  50359. },
  50360. $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
  50361. var $async$goto = 0,
  50362. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  50363. $async$returnValue, $async$self = this, t1;
  50364. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50365. if ($async$errorCode === 1)
  50366. return A._asyncRethrow($async$result, $async$completer);
  50367. while (true)
  50368. switch ($async$goto) {
  50369. case 0:
  50370. // Function start
  50371. t1 = $async$self.callback.call$1($arguments);
  50372. $async$goto = 3;
  50373. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  50374. case 3:
  50375. // returning from await.
  50376. $async$returnValue = B.C__SassNull;
  50377. // goto return
  50378. $async$goto = 1;
  50379. break;
  50380. case 1:
  50381. // return
  50382. return A._asyncReturn($async$returnValue, $async$completer);
  50383. }
  50384. });
  50385. return A._asyncStartSync($async$call$1, $async$completer);
  50386. },
  50387. $signature: 186
  50388. };
  50389. A.AsyncBuiltInCallable_withDeprecationWarning_closure.prototype = {
  50390. call$1(args) {
  50391. var t1 = this.$this;
  50392. A.warnForDeprecation(string$.Global + this.module + "." + t1.name + string$.x20inste, B.Deprecation_1AX);
  50393. return t1._async_built_in$_callback.call$1(args);
  50394. },
  50395. $signature: 311
  50396. };
  50397. A.BuiltInCallable.prototype = {
  50398. callbackFor$2(positional, names) {
  50399. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  50400. for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  50401. overload = t1[_i];
  50402. t3 = overload._0;
  50403. if (t3.matches$2(positional, names))
  50404. return overload;
  50405. mismatchDistance = t3.parameters.length - positional;
  50406. if (minMismatchDistance != null) {
  50407. t3 = Math.abs(mismatchDistance);
  50408. t4 = Math.abs(minMismatchDistance);
  50409. if (t3 > t4)
  50410. continue;
  50411. if (t3 === t4 && mismatchDistance < 0)
  50412. continue;
  50413. }
  50414. minMismatchDistance = mismatchDistance;
  50415. fuzzyMatch = overload;
  50416. }
  50417. if (fuzzyMatch != null)
  50418. return fuzzyMatch;
  50419. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  50420. },
  50421. withName$1($name) {
  50422. return new A.BuiltInCallable($name, this._overloads, this.acceptsContent);
  50423. },
  50424. withDeprecationWarning$2(module, newName) {
  50425. var t2, t3, _i, t4, t5, _this = this,
  50426. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value);
  50427. for (t2 = _this._overloads, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  50428. t4 = {};
  50429. t5 = t2[_i];
  50430. t4.$function = null;
  50431. t4.$function = t5._1;
  50432. t1.push(new A._Record_2(t5._0, new A.BuiltInCallable_withDeprecationWarning_closure(t4, _this, module, newName)));
  50433. }
  50434. return new A.BuiltInCallable(_this.name, t1, _this.acceptsContent);
  50435. },
  50436. withDeprecationWarning$1(module) {
  50437. return this.withDeprecationWarning$2(module, null);
  50438. },
  50439. $isCallable0: 1,
  50440. $isAsyncCallable: 1,
  50441. $isAsyncBuiltInCallable: 1,
  50442. get$name(receiver) {
  50443. return this.name;
  50444. },
  50445. get$acceptsContent() {
  50446. return this.acceptsContent;
  50447. }
  50448. };
  50449. A.BuiltInCallable$mixin_closure.prototype = {
  50450. call$1($arguments) {
  50451. this.callback.call$1($arguments);
  50452. return B.C__SassNull;
  50453. },
  50454. $signature: 4
  50455. };
  50456. A.BuiltInCallable_withDeprecationWarning_closure.prototype = {
  50457. call$1(args) {
  50458. var _this = this,
  50459. t1 = _this.newName;
  50460. if (t1 == null)
  50461. t1 = _this.$this.name;
  50462. A.warnForDeprecation(string$.Global + _this.module + "." + t1 + string$.x20inste, B.Deprecation_1AX);
  50463. return _this._box_0.$function.call$1(args);
  50464. },
  50465. $signature: 4
  50466. };
  50467. A.PlainCssCallable.prototype = {
  50468. $eq(_, other) {
  50469. if (other == null)
  50470. return false;
  50471. return other instanceof A.PlainCssCallable && this.name === other.name;
  50472. },
  50473. get$hashCode(_) {
  50474. return B.JSString_methods.get$hashCode(this.name);
  50475. },
  50476. $isCallable0: 1,
  50477. $isAsyncCallable: 1,
  50478. get$name(receiver) {
  50479. return this.name;
  50480. }
  50481. };
  50482. A.UserDefinedCallable.prototype = {
  50483. get$name(_) {
  50484. return this.declaration.name;
  50485. },
  50486. $isCallable0: 1,
  50487. $isAsyncCallable: 1
  50488. };
  50489. A._compileStylesheet_closure.prototype = {
  50490. call$1(url) {
  50491. var t1;
  50492. if (url === "") {
  50493. t1 = this.stylesheet.span;
  50494. 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();
  50495. } else
  50496. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  50497. return t1;
  50498. },
  50499. $signature: 6
  50500. };
  50501. A.CompileResult.prototype = {};
  50502. A.Configuration.prototype = {
  50503. throughForward$1($forward) {
  50504. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  50505. newValues = this._configuration$_values;
  50506. if (newValues.get$isEmpty(newValues))
  50507. return B.Configuration_Map_empty_null;
  50508. _0_0 = $forward.prefix;
  50509. if (_0_0 != null)
  50510. newValues = new A.UnprefixedMapView(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue);
  50511. _1_0 = $forward.shownVariables;
  50512. if (_1_0 != null)
  50513. newValues = new A.LimitedMapView(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
  50514. else {
  50515. _2_0 = $forward.hiddenVariables;
  50516. if (_2_0 != null) {
  50517. t1 = _2_0._base.get$isNotEmpty(0);
  50518. hiddenVariables = _2_0;
  50519. } else {
  50520. hiddenVariables = null;
  50521. t1 = false;
  50522. }
  50523. if (t1)
  50524. newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
  50525. }
  50526. return this._withValues$1(newValues);
  50527. },
  50528. _withValues$1(values) {
  50529. var t1 = this.__originalConfiguration;
  50530. return new A.Configuration(values, t1 == null ? this : t1);
  50531. },
  50532. toString$0(_) {
  50533. var t2, t3,
  50534. t1 = A._setArrayType([], type$.JSArray_String);
  50535. 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();) {
  50536. t3 = t2.get$current(t2);
  50537. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  50538. }
  50539. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  50540. }
  50541. };
  50542. A.ExplicitConfiguration.prototype = {
  50543. _withValues$1(values) {
  50544. var t1 = this.__originalConfiguration;
  50545. if (t1 == null)
  50546. t1 = this;
  50547. return new A.ExplicitConfiguration(this.nodeWithSpan, values, t1);
  50548. }
  50549. };
  50550. A.ConfiguredValue.prototype = {
  50551. toString$0(_) {
  50552. return this.value.toString$0(0);
  50553. }
  50554. };
  50555. A.Deprecation.prototype = {
  50556. _enumToString$0() {
  50557. return "Deprecation." + this._name;
  50558. },
  50559. toString$0(_) {
  50560. return this.id;
  50561. }
  50562. };
  50563. A.Deprecation_fromId_closure.prototype = {
  50564. call$1(deprecation) {
  50565. return deprecation.id === this.id;
  50566. },
  50567. $signature: 273
  50568. };
  50569. A.Environment.prototype = {
  50570. closure$0() {
  50571. var t4, t5, t6, _this = this,
  50572. t1 = _this._forwardedModules,
  50573. t2 = _this._nestedForwardedModules,
  50574. t3 = _this._variables;
  50575. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  50576. t4 = _this._variableNodes;
  50577. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  50578. t5 = _this._functions;
  50579. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  50580. t6 = _this._mixins;
  50581. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  50582. return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
  50583. },
  50584. forwardModule$2(module, rule) {
  50585. var view, t1, t2, _this = this,
  50586. forwardedModules = _this._forwardedModules;
  50587. if (forwardedModules == null)
  50588. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  50589. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
  50590. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules.__js_helper$_modifications, forwardedModules.__js_helper$_first); t1.moveNext$0();) {
  50591. t2 = t1.__js_helper$_current;
  50592. _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  50593. _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  50594. _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  50595. }
  50596. _this._allModules.push(module);
  50597. forwardedModules.$indexSet(0, view, rule);
  50598. },
  50599. _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  50600. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  50601. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  50602. larger = oldMembers;
  50603. smaller = newMembers;
  50604. } else {
  50605. larger = newMembers;
  50606. smaller = oldMembers;
  50607. }
  50608. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  50609. t4 = t2.get$current(t2);
  50610. $name = t4._0;
  50611. small = t4._1;
  50612. large = larger.$index(0, $name);
  50613. if (large == null)
  50614. continue;
  50615. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  50616. continue;
  50617. if (t3)
  50618. $name = "$" + $name;
  50619. t2 = this._forwardedModules;
  50620. if (t2 == null)
  50621. span = null;
  50622. else {
  50623. t2 = t2.$index(0, oldModule);
  50624. span = t2 == null ? null : t2.get$span(t2);
  50625. }
  50626. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  50627. if (span != null)
  50628. t2.$indexSet(0, span, "original @forward");
  50629. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  50630. }
  50631. },
  50632. importForwards$1(module) {
  50633. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  50634. forwarded = module._environment$_environment._forwardedModules;
  50635. if (forwarded == null)
  50636. return;
  50637. forwardedModules = _this._forwardedModules;
  50638. if (forwardedModules != null) {
  50639. t1 = type$.Module_Callable;
  50640. t2 = type$.AstNode;
  50641. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  50642. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._globalModules; t1.moveNext$0();) {
  50643. t4 = t1.get$current(t1);
  50644. module = t4._0;
  50645. node = t4._1;
  50646. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  50647. t3.$indexSet(0, module, node);
  50648. }
  50649. forwarded = t3;
  50650. } else
  50651. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  50652. t1 = type$.String;
  50653. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50654. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t3.moveNext$0();)
  50655. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  50656. t2.add$1(0, t4.get$current(t4));
  50657. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50658. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t4.moveNext$0();) {
  50659. t5 = t4.__js_helper$_current;
  50660. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  50661. t3.add$1(0, t5.get$current(t5));
  50662. }
  50663. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50664. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t4.moveNext$0();)
  50665. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  50666. t1.add$1(0, t5.get$current(t5));
  50667. t4 = _this._variables;
  50668. t5 = t4.length;
  50669. if (t5 === 1) {
  50670. 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) {
  50671. t11 = t8[_i];
  50672. module = t11._0;
  50673. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  50674. if (shadowed != null) {
  50675. t5.remove$1(0, module);
  50676. t12 = shadowed.variables;
  50677. t13 = false;
  50678. if (t12.get$isEmpty(t12)) {
  50679. t12 = shadowed.functions;
  50680. if (t12.get$isEmpty(t12)) {
  50681. t12 = shadowed.mixins;
  50682. if (t12.get$isEmpty(t12)) {
  50683. t12 = shadowed._shadowed_view$_inner;
  50684. t12 = t12.get$css(t12);
  50685. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  50686. } else
  50687. t12 = t13;
  50688. } else
  50689. t12 = t13;
  50690. } else
  50691. t12 = t13;
  50692. if (!t12)
  50693. t5.$indexSet(0, shadowed, t11._1);
  50694. }
  50695. }
  50696. 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) {
  50697. t8 = t6[_i];
  50698. module = t8._0;
  50699. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  50700. if (shadowed != null) {
  50701. forwardedModules.remove$1(0, module);
  50702. t9 = shadowed.variables;
  50703. t11 = false;
  50704. if (t9.get$isEmpty(t9)) {
  50705. t9 = shadowed.functions;
  50706. if (t9.get$isEmpty(t9)) {
  50707. t9 = shadowed.mixins;
  50708. if (t9.get$isEmpty(t9)) {
  50709. t9 = shadowed._shadowed_view$_inner;
  50710. t9 = t9.get$css(t9);
  50711. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  50712. } else
  50713. t9 = t11;
  50714. } else
  50715. t9 = t11;
  50716. } else
  50717. t9 = t11;
  50718. if (!t9)
  50719. forwardedModules.$indexSet(0, shadowed, t8._1);
  50720. }
  50721. }
  50722. t5.addAll$1(0, forwarded);
  50723. forwardedModules.addAll$1(0, forwarded);
  50724. } else {
  50725. t6 = _this._nestedForwardedModules;
  50726. if (t6 == null) {
  50727. _length = t5 - 1;
  50728. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
  50729. for (t5 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
  50730. _list[_i] = A._setArrayType([], t5);
  50731. _this._nestedForwardedModules = _list;
  50732. t5 = _list;
  50733. } else
  50734. t5 = t6;
  50735. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  50736. }
  50737. for (t2 = A._LinkedHashSetIterator$(t2, t2._modifications, t2.$ti._precomputed1), t5 = _this._variableIndices, t6 = _this._variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  50738. t8 = t2._collection$_current;
  50739. if (t8 == null)
  50740. t8 = t7._as(t8);
  50741. t5.remove$1(0, t8);
  50742. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  50743. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  50744. }
  50745. for (t2 = A._LinkedHashSetIterator$(t3, t3._modifications, t3.$ti._precomputed1), t3 = _this._functionIndices, t4 = _this._functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  50746. t6 = t2._collection$_current;
  50747. if (t6 == null)
  50748. t6 = t5._as(t6);
  50749. t3.remove$1(0, t6);
  50750. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  50751. }
  50752. for (t1 = A._LinkedHashSetIterator$(t1, t1._modifications, t1.$ti._precomputed1), t2 = _this._mixinIndices, t3 = _this._mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  50753. t5 = t1._collection$_current;
  50754. if (t5 == null)
  50755. t5 = t4._as(t5);
  50756. t2.remove$1(0, t5);
  50757. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  50758. }
  50759. },
  50760. getVariable$2$namespace($name, namespace) {
  50761. var t1, _0_0, _1_0, _this = this;
  50762. if (namespace != null)
  50763. return _this._getModule$1(namespace).get$variables().$index(0, $name);
  50764. if (_this._lastVariableName === $name) {
  50765. t1 = _this._lastVariableIndex;
  50766. t1.toString;
  50767. t1 = _this._variables[t1].$index(0, $name);
  50768. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  50769. }
  50770. t1 = _this._variableIndices;
  50771. _0_0 = t1.$index(0, $name);
  50772. if (_0_0 != null) {
  50773. _this._lastVariableName = $name;
  50774. _this._lastVariableIndex = _0_0;
  50775. t1 = _this._variables[_0_0].$index(0, $name);
  50776. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  50777. } else {
  50778. _1_0 = _this._variableIndex$1($name);
  50779. if (_1_0 != null) {
  50780. _this._lastVariableName = $name;
  50781. _this._lastVariableIndex = _1_0;
  50782. t1.$indexSet(0, $name, _1_0);
  50783. t1 = _this._variables[_1_0].$index(0, $name);
  50784. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  50785. } else
  50786. return _this._getVariableFromGlobalModule$1($name);
  50787. }
  50788. },
  50789. getVariable$1($name) {
  50790. return this.getVariable$2$namespace($name, null);
  50791. },
  50792. _getVariableFromGlobalModule$1($name) {
  50793. return this._fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name));
  50794. },
  50795. getVariableNode$2$namespace($name, namespace) {
  50796. var t1, _0_0, _1_0, _this = this;
  50797. if (namespace != null)
  50798. return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
  50799. if (_this._lastVariableName === $name) {
  50800. t1 = _this._lastVariableIndex;
  50801. t1.toString;
  50802. t1 = _this._variableNodes[t1].$index(0, $name);
  50803. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  50804. }
  50805. t1 = _this._variableIndices;
  50806. _0_0 = t1.$index(0, $name);
  50807. if (_0_0 != null) {
  50808. _this._lastVariableName = $name;
  50809. _this._lastVariableIndex = _0_0;
  50810. t1 = _this._variableNodes[_0_0].$index(0, $name);
  50811. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  50812. } else {
  50813. _1_0 = _this._variableIndex$1($name);
  50814. if (_1_0 != null) {
  50815. _this._lastVariableName = $name;
  50816. _this._lastVariableIndex = _1_0;
  50817. t1.$indexSet(0, $name, _1_0);
  50818. t1 = _this._variableNodes[_1_0].$index(0, $name);
  50819. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  50820. } else
  50821. return _this._getVariableNodeFromGlobalModule$1($name);
  50822. }
  50823. },
  50824. _getVariableNodeFromGlobalModule$1($name) {
  50825. var t1, t2, _0_0;
  50826. 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();) {
  50827. t1 = t2._currentIterator;
  50828. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  50829. if (_0_0 != null)
  50830. return _0_0;
  50831. }
  50832. return null;
  50833. },
  50834. globalVariableExists$2$namespace($name, namespace) {
  50835. if (namespace != null)
  50836. return this._getModule$1(namespace).get$variables().containsKey$1($name);
  50837. if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
  50838. return true;
  50839. return this._getVariableFromGlobalModule$1($name) != null;
  50840. },
  50841. globalVariableExists$1($name) {
  50842. return this.globalVariableExists$2$namespace($name, null);
  50843. },
  50844. _variableIndex$1($name) {
  50845. var t1, i;
  50846. for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
  50847. if (t1[i].containsKey$1($name))
  50848. return i;
  50849. return null;
  50850. },
  50851. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  50852. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  50853. if (namespace != null) {
  50854. _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  50855. return;
  50856. }
  50857. if (global || _this._variables.length === 1) {
  50858. _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
  50859. t1 = _this._variables;
  50860. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  50861. moduleWithName = _this._fromOneModule$3($name, "variable", new A.Environment_setVariable_closure0($name));
  50862. if (moduleWithName != null) {
  50863. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  50864. return;
  50865. }
  50866. }
  50867. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  50868. J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
  50869. return;
  50870. }
  50871. nestedForwardedModules = _this._nestedForwardedModules;
  50872. if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
  50873. 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();) {
  50874. t3 = t2.__internal$_current;
  50875. 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();) {
  50876. t5 = t3.__internal$_current;
  50877. if (t5 == null)
  50878. t5 = t4._as(t5);
  50879. if (t5.get$variables().containsKey$1($name)) {
  50880. t5.setVariable$3($name, value, nodeWithSpan);
  50881. return;
  50882. }
  50883. }
  50884. }
  50885. if (_this._lastVariableName === $name) {
  50886. t1 = _this._lastVariableIndex;
  50887. t1.toString;
  50888. index = t1;
  50889. } else
  50890. index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
  50891. if (!_this._inSemiGlobalScope && index === 0) {
  50892. index = _this._variables.length - 1;
  50893. _this._variableIndices.$indexSet(0, $name, index);
  50894. }
  50895. _this._lastVariableName = $name;
  50896. _this._lastVariableIndex = index;
  50897. _this._variables[index].$indexSet(0, $name, value);
  50898. _this._variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  50899. },
  50900. setVariable$4$global($name, value, nodeWithSpan, global) {
  50901. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  50902. },
  50903. setLocalVariable$3($name, value, nodeWithSpan) {
  50904. var index, _this = this,
  50905. t1 = _this._variables,
  50906. t2 = t1.length;
  50907. _this._lastVariableName = $name;
  50908. index = _this._lastVariableIndex = t2 - 1;
  50909. _this._variableIndices.$indexSet(0, $name, index);
  50910. t1[index].$indexSet(0, $name, value);
  50911. _this._variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  50912. },
  50913. getFunction$2$namespace($name, namespace) {
  50914. var t1, _0_0, _1_0, _this = this;
  50915. if (namespace != null) {
  50916. t1 = _this._getModule$1(namespace);
  50917. return t1.get$functions(t1).$index(0, $name);
  50918. }
  50919. t1 = _this._functionIndices;
  50920. _0_0 = t1.$index(0, $name);
  50921. if (_0_0 != null) {
  50922. t1 = _this._functions[_0_0].$index(0, $name);
  50923. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  50924. } else {
  50925. _1_0 = _this._functionIndex$1($name);
  50926. if (_1_0 != null) {
  50927. t1.$indexSet(0, $name, _1_0);
  50928. t1 = _this._functions[_1_0].$index(0, $name);
  50929. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  50930. } else
  50931. return _this._getFunctionFromGlobalModule$1($name);
  50932. }
  50933. },
  50934. getFunction$1($name) {
  50935. return this.getFunction$2$namespace($name, null);
  50936. },
  50937. _getFunctionFromGlobalModule$1($name) {
  50938. return this._fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name));
  50939. },
  50940. _functionIndex$1($name) {
  50941. var t1, i;
  50942. for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
  50943. if (t1[i].containsKey$1($name))
  50944. return i;
  50945. return null;
  50946. },
  50947. getMixin$2$namespace($name, namespace) {
  50948. var t1, _0_0, _1_0, _this = this;
  50949. if (namespace != null)
  50950. return _this._getModule$1(namespace).get$mixins().$index(0, $name);
  50951. t1 = _this._mixinIndices;
  50952. _0_0 = t1.$index(0, $name);
  50953. if (_0_0 != null) {
  50954. t1 = _this._mixins[_0_0].$index(0, $name);
  50955. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  50956. } else {
  50957. _1_0 = _this._mixinIndex$1($name);
  50958. if (_1_0 != null) {
  50959. t1.$indexSet(0, $name, _1_0);
  50960. t1 = _this._mixins[_1_0].$index(0, $name);
  50961. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  50962. } else
  50963. return _this._getMixinFromGlobalModule$1($name);
  50964. }
  50965. },
  50966. _getMixinFromGlobalModule$1($name) {
  50967. return this._fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name));
  50968. },
  50969. _mixinIndex$1($name) {
  50970. var t1, i;
  50971. for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
  50972. if (t1[i].containsKey$1($name))
  50973. return i;
  50974. return null;
  50975. },
  50976. withContent$2($content, callback) {
  50977. var oldContent = this._content;
  50978. this._content = $content;
  50979. callback.call$0();
  50980. this._content = oldContent;
  50981. },
  50982. asMixin$1(callback) {
  50983. var oldInMixin = this._inMixin;
  50984. this._inMixin = true;
  50985. callback.call$0();
  50986. this._inMixin = oldInMixin;
  50987. },
  50988. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  50989. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  50990. semiGlobal = semiGlobal && _this._inSemiGlobalScope;
  50991. wasInSemiGlobalScope = _this._inSemiGlobalScope;
  50992. _this._inSemiGlobalScope = semiGlobal;
  50993. if (!when)
  50994. try {
  50995. t1 = callback.call$0();
  50996. return t1;
  50997. } finally {
  50998. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  50999. }
  51000. t1 = _this._variables;
  51001. t2 = type$.String;
  51002. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  51003. t3 = _this._variableNodes;
  51004. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  51005. t4 = _this._functions;
  51006. t5 = type$.Callable;
  51007. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  51008. t6 = _this._mixins;
  51009. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  51010. t5 = _this._nestedForwardedModules;
  51011. if (t5 != null)
  51012. t5.push(A._setArrayType([], type$.JSArray_Module_Callable));
  51013. try {
  51014. t2 = callback.call$0();
  51015. return t2;
  51016. } finally {
  51017. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  51018. _this._lastVariableIndex = _this._lastVariableName = null;
  51019. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
  51020. $name = t1.get$current(t1);
  51021. t2.remove$1(0, $name);
  51022. }
  51023. B.JSArray_methods.removeLast$0(t3);
  51024. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._functionIndices; t1.moveNext$0();) {
  51025. name0 = t1.get$current(t1);
  51026. t2.remove$1(0, name0);
  51027. }
  51028. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._mixinIndices; t1.moveNext$0();) {
  51029. name1 = t1.get$current(t1);
  51030. t2.remove$1(0, name1);
  51031. }
  51032. t1 = _this._nestedForwardedModules;
  51033. if (t1 != null)
  51034. t1.pop();
  51035. }
  51036. },
  51037. scope$1$1(callback) {
  51038. return this.scope$1$3$semiGlobal$when(callback, false, true);
  51039. },
  51040. scope$1$2$when(callback, when) {
  51041. return this.scope$1$3$semiGlobal$when(callback, false, when);
  51042. },
  51043. scope$1$2$semiGlobal(callback, semiGlobal) {
  51044. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  51045. },
  51046. toImplicitConfiguration$0() {
  51047. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  51048. t1 = type$.String,
  51049. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  51050. for (t2 = this._variables, t3 = type$.Value, t4 = this._variableNodes, i = 0; i < t2.length; ++i) {
  51051. values = t2[i];
  51052. nodes = t4[i];
  51053. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  51054. t6 = t5.get$current(t5);
  51055. $name = t6._0;
  51056. value = t6._1;
  51057. t6 = nodes.$index(0, $name);
  51058. t6.toString;
  51059. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  51060. }
  51061. }
  51062. return new A.Configuration(configuration, null);
  51063. },
  51064. toModule$3(css, preModuleComments, extensionStore) {
  51065. return A._EnvironmentModule__EnvironmentModule(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
  51066. },
  51067. toDummyModule$0() {
  51068. 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_empty0, B.C_EmptyExtensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toDummyModule_closure()));
  51069. },
  51070. _getModule$1(namespace) {
  51071. var _0_0 = this._environment$_modules.$index(0, namespace);
  51072. if (_0_0 != null)
  51073. return _0_0;
  51074. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  51075. },
  51076. _fromOneModule$1$3($name, type, callback) {
  51077. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  51078. _0_0 = this._nestedForwardedModules;
  51079. if (_0_0 != null)
  51080. 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();) {
  51081. t3 = t2.__internal$_current;
  51082. 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();) {
  51083. t5 = t3.__internal$_current;
  51084. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  51085. if (_1_0 != null)
  51086. return _1_0;
  51087. }
  51088. }
  51089. for (t1 = this._importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first); t1.moveNext$0();) {
  51090. _2_0 = callback.call$1(t1.__js_helper$_current);
  51091. if (_2_0 != null)
  51092. return _2_0;
  51093. }
  51094. for (t1 = this._globalModules, t2 = new A.LinkedHashMapKeyIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
  51095. t4 = t2.__js_helper$_current;
  51096. valueInModule = callback.call$1(t4);
  51097. if (valueInModule == null)
  51098. continue;
  51099. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  51100. if (identityFromModule.$eq(0, identity))
  51101. continue;
  51102. if (value != null) {
  51103. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  51104. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_Callable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  51105. t1 = t3.get$current(t3);
  51106. module = t1._0;
  51107. node = t1._1;
  51108. if (callback.call$1(module) != null)
  51109. t2.$indexSet(0, node.get$span(node), t4);
  51110. }
  51111. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  51112. }
  51113. identity = identityFromModule;
  51114. value = valueInModule;
  51115. }
  51116. return value;
  51117. },
  51118. _fromOneModule$3($name, type, callback) {
  51119. return this._fromOneModule$1$3($name, type, callback, type$.dynamic);
  51120. }
  51121. };
  51122. A.Environment__getVariableFromGlobalModule_closure.prototype = {
  51123. call$1(module) {
  51124. return module.get$variables().$index(0, this.name);
  51125. },
  51126. $signature: 274
  51127. };
  51128. A.Environment_setVariable_closure.prototype = {
  51129. call$0() {
  51130. var t1 = this.$this;
  51131. t1._lastVariableName = this.name;
  51132. return t1._lastVariableIndex = 0;
  51133. },
  51134. $signature: 10
  51135. };
  51136. A.Environment_setVariable_closure0.prototype = {
  51137. call$1(module) {
  51138. return module.get$variables().containsKey$1(this.name) ? module : null;
  51139. },
  51140. $signature: 284
  51141. };
  51142. A.Environment_setVariable_closure1.prototype = {
  51143. call$0() {
  51144. var t1 = this.$this,
  51145. t2 = t1._variableIndex$1(this.name);
  51146. return t2 == null ? t1._variables.length - 1 : t2;
  51147. },
  51148. $signature: 10
  51149. };
  51150. A.Environment__getFunctionFromGlobalModule_closure.prototype = {
  51151. call$1(module) {
  51152. return module.get$functions(module).$index(0, this.name);
  51153. },
  51154. $signature: 265
  51155. };
  51156. A.Environment__getMixinFromGlobalModule_closure.prototype = {
  51157. call$1(module) {
  51158. return module.get$mixins().$index(0, this.name);
  51159. },
  51160. $signature: 265
  51161. };
  51162. A.Environment_toModule_closure.prototype = {
  51163. call$1(modules) {
  51164. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  51165. },
  51166. $signature: 262
  51167. };
  51168. A.Environment_toDummyModule_closure.prototype = {
  51169. call$1(modules) {
  51170. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  51171. },
  51172. $signature: 262
  51173. };
  51174. A._EnvironmentModule.prototype = {
  51175. get$url(_) {
  51176. var t1 = this.css;
  51177. t1 = t1.get$span(t1);
  51178. return t1.get$sourceUrl(t1);
  51179. },
  51180. setVariable$3($name, value, nodeWithSpan) {
  51181. var t1, t2,
  51182. _0_0 = this._modulesByVariable.$index(0, $name);
  51183. if (_0_0 != null) {
  51184. _0_0.setVariable$3($name, value, nodeWithSpan);
  51185. return;
  51186. }
  51187. t1 = this._environment$_environment;
  51188. t2 = t1._variables;
  51189. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  51190. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  51191. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  51192. J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
  51193. return;
  51194. },
  51195. variableIdentity$1($name) {
  51196. var module = this._modulesByVariable.$index(0, $name);
  51197. return module == null ? this : module.variableIdentity$1($name);
  51198. },
  51199. cloneCss$0() {
  51200. var _0_0, _this = this;
  51201. if (!_this.transitivelyContainsCss)
  51202. return _this;
  51203. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  51204. 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);
  51205. },
  51206. toString$0(_) {
  51207. var t1 = this.css,
  51208. t2 = t1.get$span(t1);
  51209. if (t2.get$sourceUrl(t2) == null)
  51210. t1 = "<unknown url>";
  51211. else {
  51212. t1 = t1.get$span(t1);
  51213. t1 = t1.get$sourceUrl(t1);
  51214. t2 = $.$get$context();
  51215. t1.toString;
  51216. t1 = t2.prettyUri$1(t1);
  51217. }
  51218. return t1;
  51219. },
  51220. $isModule0: 1,
  51221. get$upstream() {
  51222. return this.upstream;
  51223. },
  51224. get$variables() {
  51225. return this.variables;
  51226. },
  51227. get$variableNodes() {
  51228. return this.variableNodes;
  51229. },
  51230. get$functions(receiver) {
  51231. return this.functions;
  51232. },
  51233. get$mixins() {
  51234. return this.mixins;
  51235. },
  51236. get$extensionStore() {
  51237. return this.extensionStore;
  51238. },
  51239. get$css(receiver) {
  51240. return this.css;
  51241. },
  51242. get$preModuleComments() {
  51243. return this.preModuleComments;
  51244. },
  51245. get$transitivelyContainsCss() {
  51246. return this.transitivelyContainsCss;
  51247. },
  51248. get$transitivelyContainsExtensions() {
  51249. return this.transitivelyContainsExtensions;
  51250. }
  51251. };
  51252. A._EnvironmentModule__EnvironmentModule_closure.prototype = {
  51253. call$1(module) {
  51254. return module.get$variables();
  51255. },
  51256. $signature: 301
  51257. };
  51258. A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
  51259. call$1(module) {
  51260. return module.get$variableNodes();
  51261. },
  51262. $signature: 302
  51263. };
  51264. A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
  51265. call$1(module) {
  51266. return module.get$functions(module);
  51267. },
  51268. $signature: 261
  51269. };
  51270. A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
  51271. call$1(module) {
  51272. return module.get$mixins();
  51273. },
  51274. $signature: 261
  51275. };
  51276. A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
  51277. call$1(module) {
  51278. return module.get$transitivelyContainsCss();
  51279. },
  51280. $signature: 129
  51281. };
  51282. A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
  51283. call$1(module) {
  51284. return module.get$transitivelyContainsExtensions();
  51285. },
  51286. $signature: 129
  51287. };
  51288. A.SassException.prototype = {
  51289. get$trace(_) {
  51290. return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  51291. },
  51292. get$span(_) {
  51293. return A.SourceSpanException.prototype.get$span.call(this, 0);
  51294. },
  51295. withAdditionalSpan$2(span, label) {
  51296. 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);
  51297. },
  51298. withTrace$1(trace) {
  51299. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51300. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  51301. return new A.SassRuntimeException(trace, t2, this._span_exception$_message, t1);
  51302. },
  51303. withLoadedUrls$1(loadedUrls) {
  51304. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51305. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51306. return new A.SassException(t2, this._span_exception$_message, t1);
  51307. },
  51308. toString$1$color(_, color) {
  51309. var t2, _i, frame, t3, _this = this,
  51310. buffer = new A.StringBuffer(""),
  51311. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  51312. buffer._contents = t1;
  51313. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  51314. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  51315. frame = t1[_i];
  51316. if (frame.length === 0)
  51317. continue;
  51318. t3 = buffer._contents += "\n";
  51319. buffer._contents = t3 + (" " + frame);
  51320. }
  51321. t1 = buffer._contents;
  51322. return t1.charCodeAt(0) == 0 ? t1 : t1;
  51323. },
  51324. toString$0(_) {
  51325. return this.toString$1$color(0, null);
  51326. },
  51327. toCssString$0() {
  51328. var commentMessage, stringMessage, rune,
  51329. t1 = $._glyphs,
  51330. t2 = $._glyphs = B.C_AsciiGlyphSet,
  51331. t3 = this.toString$1$color(0, false);
  51332. t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
  51333. commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
  51334. $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
  51335. stringMessage = new A.StringBuffer("");
  51336. for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
  51337. rune = t1._currentCodePoint;
  51338. if (rune > 127) {
  51339. t2 = A.Primitives_stringFromCharCode(92);
  51340. stringMessage._contents += t2;
  51341. t2 = B.JSInt_methods.toRadixString$1(rune, 16);
  51342. stringMessage._contents += t2;
  51343. t2 = A.Primitives_stringFromCharCode(32);
  51344. stringMessage._contents += t2;
  51345. } else {
  51346. t2 = A.Primitives_stringFromCharCode(rune);
  51347. stringMessage._contents += t2;
  51348. }
  51349. }
  51350. 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}";
  51351. }
  51352. };
  51353. A.MultiSpanSassException.prototype = {
  51354. withAdditionalSpan$2(span, label) {
  51355. var _this = this,
  51356. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51357. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51358. t2.$indexSet(0, span, label);
  51359. return A.MultiSpanSassException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  51360. },
  51361. withTrace$1(trace) {
  51362. var _this = this;
  51363. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  51364. },
  51365. withLoadedUrls$1(loadedUrls) {
  51366. var _this = this;
  51367. return A.MultiSpanSassException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  51368. },
  51369. toString$1$color(_, color) {
  51370. var t1, t2, _i, frame, t3, _this = this,
  51371. useColor = color === true,
  51372. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  51373. 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));
  51374. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  51375. frame = t1[_i];
  51376. if (frame.length === 0)
  51377. continue;
  51378. t3 = buffer._contents += "\n";
  51379. buffer._contents = t3 + (" " + frame);
  51380. }
  51381. t1 = buffer._contents;
  51382. return t1.charCodeAt(0) == 0 ? t1 : t1;
  51383. },
  51384. toString$0(_) {
  51385. return this.toString$1$color(0, null);
  51386. },
  51387. get$primaryLabel() {
  51388. return this.primaryLabel;
  51389. },
  51390. get$secondarySpans() {
  51391. return this.secondarySpans;
  51392. }
  51393. };
  51394. A.SassRuntimeException.prototype = {
  51395. withAdditionalSpan$2(span, label) {
  51396. var _this = this;
  51397. 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);
  51398. },
  51399. withLoadedUrls$1(loadedUrls) {
  51400. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51401. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51402. return new A.SassRuntimeException(this.trace, t2, this._span_exception$_message, t1);
  51403. },
  51404. get$trace(receiver) {
  51405. return this.trace;
  51406. }
  51407. };
  51408. A.MultiSpanSassRuntimeException.prototype = {
  51409. withAdditionalSpan$2(span, label) {
  51410. var _this = this,
  51411. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51412. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51413. t2.$indexSet(0, span, label);
  51414. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  51415. },
  51416. withLoadedUrls$1(loadedUrls) {
  51417. var _this = this;
  51418. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  51419. },
  51420. $isSassRuntimeException: 1,
  51421. get$trace(receiver) {
  51422. return this.trace;
  51423. }
  51424. };
  51425. A.SassFormatException.prototype = {
  51426. get$source() {
  51427. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  51428. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  51429. },
  51430. withAdditionalSpan$2(span, label) {
  51431. 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);
  51432. },
  51433. withLoadedUrls$1(loadedUrls) {
  51434. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51435. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51436. return new A.SassFormatException(t2, this._span_exception$_message, t1);
  51437. },
  51438. $isFormatException: 1,
  51439. $isSourceSpanFormatException: 1
  51440. };
  51441. A.MultiSpanSassFormatException.prototype = {
  51442. get$source() {
  51443. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  51444. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  51445. },
  51446. withAdditionalSpan$2(span, label) {
  51447. var _this = this,
  51448. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51449. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51450. t2.$indexSet(0, span, label);
  51451. return A.MultiSpanSassFormatException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  51452. },
  51453. withLoadedUrls$1(loadedUrls) {
  51454. var _this = this;
  51455. return A.MultiSpanSassFormatException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  51456. },
  51457. $isFormatException: 1,
  51458. $isSassFormatException: 1,
  51459. $isSourceSpanFormatException: 1,
  51460. $isMultiSourceSpanFormatException: 1
  51461. };
  51462. A.SassScriptException.prototype = {
  51463. withSpan$1(span) {
  51464. return new A.SassException(B.Set_empty, this.message, span);
  51465. },
  51466. toString$0(_) {
  51467. return this.message + string$.x0a_BUG_;
  51468. },
  51469. get$message(receiver) {
  51470. return this.message;
  51471. }
  51472. };
  51473. A.MultiSpanSassScriptException.prototype = {
  51474. withSpan$1(span) {
  51475. return A.MultiSpanSassException$(this.message, span, this.primaryLabel, this.secondarySpans, null);
  51476. }
  51477. };
  51478. A._writeSourceMap_closure.prototype = {
  51479. call$1(url) {
  51480. return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
  51481. },
  51482. $signature: 6
  51483. };
  51484. A.ExecutableOptions.prototype = {
  51485. get$interactive() {
  51486. var result, _this = this,
  51487. value = _this.__ExecutableOptions_interactive_FI;
  51488. if (value === $) {
  51489. result = new A.ExecutableOptions_interactive_closure(_this).call$0();
  51490. _this.__ExecutableOptions_interactive_FI !== $ && A.throwUnnamedLateFieldADI();
  51491. _this.__ExecutableOptions_interactive_FI = result;
  51492. value = result;
  51493. }
  51494. return value;
  51495. },
  51496. get$color() {
  51497. var t1 = this._options;
  51498. return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : A.hasTerminal();
  51499. },
  51500. get$pkgImporters() {
  51501. var t2, t3, t4, _null = null,
  51502. t1 = A._setArrayType([], type$.JSArray_Importer);
  51503. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "pkg-importer"))); t2.moveNext$0();) {
  51504. t2.get$current(t2);
  51505. t3 = new A.NodePackageImporter();
  51506. t4 = self.process;
  51507. if (t4 == null)
  51508. t4 = _null;
  51509. else {
  51510. t4 = J.get$release$x(t4);
  51511. t4 = t4 == null ? _null : J.get$name$x(t4);
  51512. }
  51513. if (!J.$eq$(t4, "node") && self.document != null && typeof self.document.querySelector == "function")
  51514. A.throwExpression(string$.The_No);
  51515. t3.__NodePackageImporter__entryPointDirectory_F = $.$get$context().absolute$15(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  51516. t1.push(t3);
  51517. }
  51518. return t1;
  51519. },
  51520. get$emitErrorCss() {
  51521. var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
  51522. if (t1 == null) {
  51523. this._ensureSources$0();
  51524. t1 = this._sourcesToDestinations;
  51525. t1 = t1.get$values(t1);
  51526. t1 = t1.any$1(t1, new A.ExecutableOptions_emitErrorCss_closure());
  51527. }
  51528. return t1;
  51529. },
  51530. _ensureSources$0() {
  51531. 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,
  51532. _s18_ = 'Duplicate source "';
  51533. if (_this._sourcesToDestinations != null)
  51534. return;
  51535. t1 = _this._options;
  51536. stdin = A._asBool(t1.$index(0, "stdin"));
  51537. t2 = t1.rest;
  51538. if (t2.get$length(0) === 0 && !stdin)
  51539. A.ExecutableOptions__fail("Compile Sass to CSS.");
  51540. t3 = type$.String;
  51541. $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  51542. 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();) {
  51543. t7 = t6.__internal$_current;
  51544. if (t7 == null)
  51545. t7 = t4._as(t7);
  51546. t8 = t7.length;
  51547. if (t8 === 0)
  51548. A.ExecutableOptions__fail('Invalid argument "".');
  51549. if (A.stringContainsUnchecked(t7, ":", 0)) {
  51550. if (t8 > 2) {
  51551. t9 = t7.charCodeAt(0);
  51552. if (!(t9 >= 97 && t9 <= 122))
  51553. t9 = t9 >= 65 && t9 <= 90;
  51554. else
  51555. t9 = true;
  51556. t9 = t9 && t7.charCodeAt(1) === 58;
  51557. } else
  51558. t9 = false;
  51559. if (t9) {
  51560. if (2 > t8)
  51561. A.throwExpression(A.RangeError$range(2, 0, t8, _null, _null));
  51562. t8 = A.stringContainsUnchecked(t7, ":", 2);
  51563. } else
  51564. t8 = true;
  51565. } else
  51566. t8 = false;
  51567. if (t8)
  51568. colonArgs = true;
  51569. else if (A.dirExists(t7))
  51570. $directories.add$1(0, t7);
  51571. else
  51572. positionalArgs = true;
  51573. }
  51574. if (positionalArgs || t2.get$length(0) === 0) {
  51575. if (colonArgs)
  51576. A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
  51577. else if (stdin) {
  51578. if (J.get$length$asx(t2._collection$_source) > 1)
  51579. A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
  51580. else if (A._asBool(t1.$index(0, "update")))
  51581. A.ExecutableOptions__fail("--update is not allowed with --stdin.");
  51582. else if (A._asBool(t1.$index(0, "watch")))
  51583. A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
  51584. t1 = t2.get$length(0) === 0 ? _null : t2.get$first(t2);
  51585. t2 = type$.dynamic;
  51586. t3 = type$.nullable_String;
  51587. _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
  51588. } else {
  51589. t3 = t2._collection$_source;
  51590. t4 = J.getInterceptor$asx(t3);
  51591. if (t4.get$length(t3) > 2)
  51592. A.ExecutableOptions__fail("Only two positional args may be passed.");
  51593. else if ($directories._collection$_length !== 0) {
  51594. message = 'Directory "' + A.S($directories.get$first(0)) + '" may not be a positional arg.';
  51595. target = t2.get$last(t2);
  51596. A.ExecutableOptions__fail(J.$eq$($directories.get$first(0), t2.get$first(t2)) && !A.fileExists(target) ? message + ('\nTo compile all CSS in "' + A.S($directories.get$first(0)) + '" to "' + target + '", use `sass ' + A.S($directories.get$first(0)) + ":" + target + "`.") : message);
  51597. } else {
  51598. source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
  51599. destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
  51600. if (destination == null)
  51601. if (A._asBool(t1.$index(0, "update")))
  51602. A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
  51603. else if (A._asBool(t1.$index(0, "watch")))
  51604. A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
  51605. t1 = A.PathMap__create(_null, type$.nullable_String);
  51606. t1.$indexSet(0, source, destination);
  51607. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  51608. }
  51609. }
  51610. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  51611. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = B.Map_empty;
  51612. return;
  51613. }
  51614. if (stdin)
  51615. A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
  51616. seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  51617. t1 = A.PathMap__create(_null, t3);
  51618. t6 = type$.PathMap_String;
  51619. t3 = A.PathMap__create(_null, t3);
  51620. for (t2 = new A.ListIterator(t2, t2.get$length(0), t5); t2.moveNext$0();) {
  51621. t5 = t2.__internal$_current;
  51622. if (t5 == null)
  51623. t5 = t4._as(t5);
  51624. if ($directories.contains$1(0, t5)) {
  51625. if (!seen.add$1(0, t5))
  51626. A.ExecutableOptions__fail(_s18_ + t5 + '".');
  51627. t3.$indexSet(0, t5, t5);
  51628. t1.addAll$1(0, _this._listSourceDirectory$2(t5, t5));
  51629. continue;
  51630. }
  51631. _0_0 = _this._splitSourceAndDestination$1(t5);
  51632. source = _0_0._0;
  51633. destination = _0_0._1;
  51634. if (!seen.add$1(0, source))
  51635. A.ExecutableOptions__fail(_s18_ + source + '".');
  51636. if (source === "-")
  51637. t1.$indexSet(0, _null, destination);
  51638. else if (A.dirExists(source)) {
  51639. t3.$indexSet(0, source, destination);
  51640. t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
  51641. } else
  51642. t1.$indexSet(0, source, destination);
  51643. }
  51644. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t6), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  51645. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  51646. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = new A.UnmodifiableMapView(new A.PathMap(t3, t6), type$.UnmodifiableMapView_of_nullable_String_and_String);
  51647. },
  51648. _splitSourceAndDestination$1(argument) {
  51649. var t1, i, t2, t3, nextColon;
  51650. for (t1 = argument.length, i = 0; i < t1; ++i) {
  51651. t2 = false;
  51652. if (i === 1) {
  51653. t3 = i - 1;
  51654. if (t1 > t3 + 2) {
  51655. t2 = argument.charCodeAt(t3);
  51656. if (!(t2 >= 97 && t2 <= 122))
  51657. t2 = t2 >= 65 && t2 <= 90;
  51658. else
  51659. t2 = true;
  51660. t2 = t2 && argument.charCodeAt(t3 + 1) === 58;
  51661. }
  51662. }
  51663. if (t2)
  51664. continue;
  51665. if (argument.charCodeAt(i) === 58) {
  51666. t2 = i + 1;
  51667. nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
  51668. t3 = false;
  51669. if (nextColon === i + 2)
  51670. if (t1 > t2 + 2) {
  51671. t1 = argument.charCodeAt(t2);
  51672. if (!(t1 >= 97 && t1 <= 122))
  51673. t1 = t1 >= 65 && t1 <= 90;
  51674. else
  51675. t1 = true;
  51676. t1 = t1 && argument.charCodeAt(t2 + 1) === 58;
  51677. } else
  51678. t1 = t3;
  51679. else
  51680. t1 = t3;
  51681. if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
  51682. A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
  51683. return new A._Record_2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2));
  51684. }
  51685. }
  51686. throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
  51687. },
  51688. _listSourceDirectory$2(source, destination) {
  51689. var t2, t3, t4, t5,
  51690. t1 = type$.String;
  51691. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  51692. for (t2 = J.get$iterator$ax(A.listDir(source, true)), t3 = source === destination; t2.moveNext$0();) {
  51693. t4 = t2.get$current(t2);
  51694. if (this._isEntrypoint$1(t4))
  51695. t5 = !(t3 && A.ParsedPath_ParsedPath$parse(t4, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
  51696. else
  51697. t5 = false;
  51698. if (t5) {
  51699. t5 = $.$get$context();
  51700. t1.$indexSet(0, t4, A.join(destination, t5.withoutExtension$1(t5.relative$2$from(t4, source)) + ".css", null));
  51701. }
  51702. }
  51703. return t1;
  51704. },
  51705. _isEntrypoint$1(path) {
  51706. var extension,
  51707. t1 = $.$get$context().style;
  51708. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
  51709. return false;
  51710. extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
  51711. return extension === ".scss" || extension === ".sass" || extension === ".css";
  51712. },
  51713. get$_writeToStdout() {
  51714. var t1, _this = this;
  51715. _this._ensureSources$0();
  51716. t1 = _this._sourcesToDestinations;
  51717. if (t1.get$length(t1) === 1) {
  51718. _this._ensureSources$0();
  51719. t1 = _this._sourcesToDestinations;
  51720. t1 = t1.get$values(t1);
  51721. t1 = t1.get$single(t1) == null;
  51722. } else
  51723. t1 = false;
  51724. return t1;
  51725. },
  51726. get$emitSourceMap() {
  51727. var _this = this,
  51728. _s10_ = "source-map",
  51729. _s15_ = "source-map-urls",
  51730. _s13_ = "embed-sources",
  51731. _s16_ = "embed-source-map",
  51732. t1 = _this._options;
  51733. if (!A._asBool(t1.$index(0, _s10_)))
  51734. if (t1.wasParsed$1(_s15_))
  51735. A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
  51736. else if (t1.wasParsed$1(_s13_))
  51737. A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
  51738. else if (t1.wasParsed$1(_s16_))
  51739. A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
  51740. if (!_this.get$_writeToStdout())
  51741. return A._asBool(t1.$index(0, _s10_));
  51742. if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
  51743. A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
  51744. if (A._asBool(t1.$index(0, _s16_)))
  51745. return A._asBool(t1.$index(0, _s10_));
  51746. else if (J.$eq$(_this._ifParsed$1(_s10_), true))
  51747. A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
  51748. else if (t1.wasParsed$1(_s15_))
  51749. A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
  51750. else if (A._asBool(t1.$index(0, _s13_)))
  51751. A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
  51752. else
  51753. return false;
  51754. },
  51755. sourceMapUrl$2(_, url, destination) {
  51756. var t1, path, t2, _null = null;
  51757. if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
  51758. return url;
  51759. t1 = $.$get$context();
  51760. path = t1.style.pathFromUri$1(A._parseUri(url));
  51761. if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
  51762. destination.toString;
  51763. t2 = t1.relative$2$from(path, t1.dirname$1(destination));
  51764. } else
  51765. t2 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  51766. return t1.toUri$1(t2);
  51767. },
  51768. get$silenceDeprecations(_) {
  51769. var t2, t3, t4,
  51770. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  51771. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "silence-deprecation"))); t2.moveNext$0();) {
  51772. t3 = t2.get$current(t2);
  51773. t4 = A.Deprecation_fromId(t3);
  51774. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  51775. }
  51776. return t1;
  51777. },
  51778. get$fatalDeprecations(_) {
  51779. var t1 = this._fatalDeprecations;
  51780. return t1 == null ? this._fatalDeprecations = new A.ExecutableOptions_fatalDeprecations_closure(this).call$0() : t1;
  51781. },
  51782. get$futureDeprecations(_) {
  51783. var t2, t3, t4,
  51784. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  51785. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "future-deprecation"))); t2.moveNext$0();) {
  51786. t3 = t2.get$current(t2);
  51787. t4 = A.Deprecation_fromId(t3);
  51788. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  51789. }
  51790. return t1;
  51791. },
  51792. _ifParsed$1($name) {
  51793. var t1 = this._options;
  51794. return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
  51795. }
  51796. };
  51797. A.ExecutableOptions__parser_closure.prototype = {
  51798. call$0() {
  51799. var t1 = type$.String,
  51800. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
  51801. t3 = A._setArrayType([], type$.JSArray_Object),
  51802. 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);
  51803. parser.addOption$2$hide("precision", true);
  51804. parser.addFlag$2$hide("async", true);
  51805. t3.push(A.ExecutableOptions__separator("Input and Output"));
  51806. parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
  51807. parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
  51808. parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
  51809. t2 = type$.JSArray_String;
  51810. 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");
  51811. parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t2), "expanded", "Output style.", "NAME");
  51812. parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
  51813. 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.");
  51814. parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
  51815. t3.push(A.ExecutableOptions__separator("Source Maps"));
  51816. parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
  51817. parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t2), "relative", "How to link from source maps to source files.");
  51818. parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
  51819. parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
  51820. t3.push(A.ExecutableOptions__separator("Warnings"));
  51821. parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
  51822. parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
  51823. parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
  51824. 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.");
  51825. parser.addMultiOption$2$help("silence-deprecation", "Deprecations to ignore.");
  51826. parser.addMultiOption$2$help("future-deprecation", "Opt in to a deprecation early.");
  51827. t3.push(A.ExecutableOptions__separator("Other"));
  51828. parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
  51829. parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
  51830. parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
  51831. parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
  51832. parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
  51833. parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
  51834. parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
  51835. parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
  51836. parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
  51837. return parser;
  51838. },
  51839. $signature: 307
  51840. };
  51841. A.ExecutableOptions_interactive_closure.prototype = {
  51842. call$0() {
  51843. var _0_0,
  51844. t1 = this.$this._options;
  51845. if (!A._asBool(t1.$index(0, "interactive")))
  51846. return false;
  51847. _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());
  51848. if (_0_0 != null)
  51849. throw A.wrapException(A.UsageException$("--" + _0_0 + " isn't allowed with --interactive."));
  51850. return true;
  51851. },
  51852. $signature: 21
  51853. };
  51854. A.ExecutableOptions_emitErrorCss_closure.prototype = {
  51855. call$1(destination) {
  51856. return destination != null;
  51857. },
  51858. $signature: 218
  51859. };
  51860. A.ExecutableOptions_fatalDeprecations_closure.prototype = {
  51861. call$0() {
  51862. var id, argVersion, sassVersion, t1, t2, _0_0, exception,
  51863. deprecations = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  51864. for (t1 = J.get$iterator$ax(type$.List_String._as(this.$this._options.$index(0, "fatal-deprecation"))), t2 = type$.FormatException; t1.moveNext$0();) {
  51865. id = t1.get$current(t1);
  51866. _0_0 = A.Deprecation_fromId(id);
  51867. if (_0_0 != null) {
  51868. J.add$1$ax(deprecations, _0_0);
  51869. continue;
  51870. }
  51871. try {
  51872. argVersion = A.Version_Version$parse(id);
  51873. sassVersion = A.Version_Version$parse("1.85.0");
  51874. if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
  51875. A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
  51876. J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
  51877. } catch (exception) {
  51878. if (t2._is(A.unwrapException(exception)))
  51879. A.ExecutableOptions__fail('Invalid deprecation "' + A.S(id) + '".');
  51880. else
  51881. throw exception;
  51882. }
  51883. }
  51884. return deprecations;
  51885. },
  51886. $signature: 316
  51887. };
  51888. A.UsageException.prototype = {$isException: 1,
  51889. get$message(receiver) {
  51890. return this.message;
  51891. }
  51892. };
  51893. A.repl_warn.prototype = {
  51894. call$1(warning) {
  51895. var _0_1, _0_3, deprecation, t1, _0_2, span, _null = null;
  51896. $label0$0: {
  51897. _0_1 = warning._1;
  51898. _0_3 = _null;
  51899. deprecation = _null;
  51900. t1 = false;
  51901. _0_2 = warning._2;
  51902. _0_3 = warning._0;
  51903. t1 = _0_3 != null;
  51904. if (t1)
  51905. deprecation = _0_3 == null ? type$.Deprecation._as(_0_3) : _0_3;
  51906. span = _0_2;
  51907. if (t1) {
  51908. A.WarnForDeprecation_warnForDeprecation(this.logger, deprecation, _0_1, span, _null);
  51909. break $label0$0;
  51910. }
  51911. t1 = false;
  51912. t1 = _0_3 == null;
  51913. span = _0_2;
  51914. if (t1)
  51915. this.logger.internalWarn$4$deprecation$span$trace(_0_1, _null, span, _null);
  51916. }
  51917. },
  51918. $signature: 319
  51919. };
  51920. A.watch_closure.prototype = {
  51921. call$1(dir) {
  51922. for (; !A.dirExists(dir);)
  51923. dir = $.$get$context().dirname$1(dir);
  51924. return this.dirWatcher.watch$1(0, dir);
  51925. },
  51926. $signature: 320
  51927. };
  51928. A._Watcher.prototype = {
  51929. _delete$1(path) {
  51930. var buffer, t1, exception;
  51931. try {
  51932. A.deleteFile(path);
  51933. buffer = new A.StringBuffer("");
  51934. t1 = this._watch$_options;
  51935. if (t1.get$color())
  51936. buffer._contents += "\x1b[33m";
  51937. buffer._contents += "Deleted " + path + ".";
  51938. if (t1.get$color())
  51939. buffer._contents += "\x1b[0m";
  51940. A.print(buffer);
  51941. } catch (exception) {
  51942. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  51943. throw exception;
  51944. }
  51945. },
  51946. watch$1(_, watcher) {
  51947. return this.watch$body$_Watcher(0, watcher);
  51948. },
  51949. watch$body$_Watcher(_, watcher) {
  51950. var $async$goto = 0,
  51951. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  51952. $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;
  51953. var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  51954. if ($async$errorCode === 1) {
  51955. $async$errorStack.push($async$result);
  51956. $async$goto = $async$handler;
  51957. }
  51958. while (true)
  51959. switch ($async$goto) {
  51960. case 0:
  51961. // Function start
  51962. t2 = watcher._group.__StreamGroup__controller_A;
  51963. t2 === $ && A.throwUnnamedLateFieldNI();
  51964. t2 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t2, A._instanceType(t2)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
  51965. $async$handler = 3;
  51966. 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;
  51967. case 6:
  51968. // for condition
  51969. $async$goto = 8;
  51970. return A._asyncAwait(t2.moveNext$0(), $async$watch$1);
  51971. case 8:
  51972. // returning from await.
  51973. if (!$async$result) {
  51974. // goto after for
  51975. $async$goto = 7;
  51976. break;
  51977. }
  51978. batch = t2.get$current(0);
  51979. for (t10 = J.get$iterator$ax(batch); t10.moveNext$0();) {
  51980. $event = t10.get$current(t10);
  51981. t11 = $event.path;
  51982. t12 = $.$get$context();
  51983. extension = A.ParsedPath_ParsedPath$parse(t11, t12.style)._splitExtension$1(1)[1];
  51984. if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css"))
  51985. continue;
  51986. switch ($event.type) {
  51987. case B.ChangeType_modify:
  51988. t11 = $event.path;
  51989. t13 = self.process;
  51990. if (t13 == null)
  51991. t13 = null;
  51992. else {
  51993. t13 = J.get$release$x(t13);
  51994. t13 = t13 == null ? null : J.get$name$x(t13);
  51995. }
  51996. t13 = J.$eq$(t13, "node") ? self.process : null;
  51997. if (!J.$eq$(t13 == null ? null : J.get$platform$x(t13), "win32")) {
  51998. t13 = self.process;
  51999. if (t13 == null)
  52000. t13 = null;
  52001. else {
  52002. t13 = J.get$release$x(t13);
  52003. t13 = t13 == null ? null : J.get$name$x(t13);
  52004. }
  52005. t13 = J.$eq$(t13, "node") ? self.process : null;
  52006. t13 = J.$eq$(t13 == null ? null : J.get$platform$x(t13), "darwin");
  52007. } else
  52008. t13 = true;
  52009. url = t12.toUri$1(t13 ? A._realCasePath(t12.absolute$15(t12.normalize$1(t11), null, null, null, null, null, null, null, null, null, null, null, null, null, null)) : t12.canonicalize$1(0, t11));
  52010. _0_0 = t7.$index(0, url);
  52011. if (_0_0 != null) {
  52012. t6.reload$1(url);
  52013. $async$self._recompileDownstream$1(A._setArrayType([_0_0], t8));
  52014. } else
  52015. $async$self._handleAdd$1(t11);
  52016. break;
  52017. case B.ChangeType_add:
  52018. $async$self._handleAdd$1($event.path);
  52019. break;
  52020. case B.ChangeType_remove:
  52021. $async$self._handleRemove$1($event.path);
  52022. break;
  52023. }
  52024. }
  52025. t10 = A.LinkedHashMap_LinkedHashMap(null, null, null, t4, t4);
  52026. t10.addAll$1(0, t3);
  52027. t1 = t10;
  52028. toRecompile = t1;
  52029. t3.clear$0(0);
  52030. $async$goto = 9;
  52031. return A._asyncAwait(A.compileStylesheets(t5, t6, toRecompile, true), $async$watch$1);
  52032. case 9:
  52033. // returning from await.
  52034. success = $async$result;
  52035. if (!success && A._asBool(t9.$index(0, "stop-on-error"))) {
  52036. $async$next = [1];
  52037. // goto finally
  52038. $async$goto = 4;
  52039. break;
  52040. }
  52041. // goto for condition
  52042. $async$goto = 6;
  52043. break;
  52044. case 7:
  52045. // after for
  52046. $async$next.push(5);
  52047. // goto finally
  52048. $async$goto = 4;
  52049. break;
  52050. case 3:
  52051. // uncaught
  52052. $async$next = [2];
  52053. case 4:
  52054. // finally
  52055. $async$handler = 2;
  52056. $async$goto = 10;
  52057. return A._asyncAwait(t2.cancel$0(), $async$watch$1);
  52058. case 10:
  52059. // returning from await.
  52060. // goto the next finally handler
  52061. $async$goto = $async$next.pop();
  52062. break;
  52063. case 5:
  52064. // after finally
  52065. case 1:
  52066. // return
  52067. return A._asyncReturn($async$returnValue, $async$completer);
  52068. case 2:
  52069. // rethrow
  52070. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  52071. }
  52072. });
  52073. return A._asyncStartSync($async$watch$1, $async$completer);
  52074. },
  52075. _handleAdd$1(path) {
  52076. var t1, t2, t3, t0, _this = this, _null = null,
  52077. destination = _this._destinationFor$1(path);
  52078. if (destination != null)
  52079. _this._toRecompile.$indexSet(0, path, destination);
  52080. t1 = $.$get$FilesystemImporter_cwd();
  52081. t2 = A.isNodeJs() ? self.process : _null;
  52082. if (!J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32")) {
  52083. t2 = A.isNodeJs() ? self.process : _null;
  52084. t2 = J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "darwin");
  52085. } else
  52086. t2 = true;
  52087. if (t2) {
  52088. t2 = $.$get$context();
  52089. t3 = A._realCasePath(A.absolute(t2.normalize$1(path), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  52090. t0 = t3;
  52091. t3 = t2;
  52092. t2 = t0;
  52093. } else {
  52094. t2 = $.$get$context();
  52095. t3 = t2.canonicalize$1(0, path);
  52096. t0 = t3;
  52097. t3 = t2;
  52098. t2 = t0;
  52099. }
  52100. _this._recompileDownstream$1(_this._graph.addCanonical$3(t1, t3.toUri$1(t2), t3.toUri$1(path)));
  52101. },
  52102. _handleRemove$1(path) {
  52103. return this._handleRemove$body$_Watcher(path);
  52104. },
  52105. _handleRemove$body$_Watcher(path) {
  52106. var $async$goto = 0,
  52107. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  52108. $async$self = this, t2, t0, url, _0_0, t1;
  52109. var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  52110. if ($async$errorCode === 1)
  52111. return A._asyncRethrow($async$result, $async$completer);
  52112. while (true)
  52113. switch ($async$goto) {
  52114. case 0:
  52115. // Function start
  52116. t1 = A.isNodeJs() ? self.process : null;
  52117. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  52118. t1 = A.isNodeJs() ? self.process : null;
  52119. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  52120. } else
  52121. t1 = true;
  52122. if (t1) {
  52123. t1 = $.$get$context();
  52124. t2 = A._realCasePath(A.absolute(t1.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  52125. t0 = t2;
  52126. t2 = t1;
  52127. t1 = t0;
  52128. } else {
  52129. t1 = $.$get$context();
  52130. t2 = t1.canonicalize$1(0, path);
  52131. t0 = t2;
  52132. t2 = t1;
  52133. t1 = t0;
  52134. }
  52135. url = t2.toUri$1(t1);
  52136. t1 = $async$self._graph;
  52137. if (t1._nodes.containsKey$1(url)) {
  52138. _0_0 = $async$self._destinationFor$1(path);
  52139. if (_0_0 != null)
  52140. $async$self._delete$1(_0_0);
  52141. }
  52142. $async$self._recompileDownstream$1(t1.remove$2(0, $.$get$FilesystemImporter_cwd(), url));
  52143. // implicit return
  52144. return A._asyncReturn(null, $async$completer);
  52145. }
  52146. });
  52147. return A._asyncStartSync($async$_handleRemove$1, $async$completer);
  52148. },
  52149. _debounceEvents$1(events) {
  52150. var t1 = type$.WatchEvent;
  52151. t1 = A.RateLimit__debounceAggregate(events, A.Duration$(0, 25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
  52152. return new A._MapStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_MapStream<Stream.T,List<WatchEvent>>"));
  52153. },
  52154. _recompileDownstream$1(nodes) {
  52155. var t1, t2, t3, t4, t5, t6, _i,
  52156. seen = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  52157. for (t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = this._toRecompile, t3 = type$.JSArray_StylesheetNode; t4 = J.getInterceptor$asx(nodes), t4.get$isNotEmpty(nodes); nodes = t4) {
  52158. t5 = A._setArrayType([], t3);
  52159. for (t4 = t4.get$iterator(nodes); t4.moveNext$0();) {
  52160. t6 = t4.get$current(t4);
  52161. if (seen.add$1(0, t6))
  52162. t5.push(t6);
  52163. }
  52164. t2.addAll$1(0, this._sourceEntrypointsToDestinations$1(t5));
  52165. t4 = A._setArrayType([], t3);
  52166. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i)
  52167. B.JSArray_methods.addAll$1(t4, new A.UnmodifiableSetView0(t5[_i]._downstream, t1));
  52168. }
  52169. },
  52170. _sourceEntrypointsToDestinations$1(nodes) {
  52171. var _i, url, source, _0_0,
  52172. t1 = type$.String,
  52173. entrypoints = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  52174. for (t1 = nodes.length, _i = 0; _i < nodes.length; nodes.length === t1 || (0, A.throwConcurrentModificationError)(nodes), ++_i) {
  52175. url = nodes[_i].canonicalUrl;
  52176. if (url.get$scheme() !== "file")
  52177. continue;
  52178. source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  52179. _0_0 = this._destinationFor$1(source);
  52180. if (_0_0 != null)
  52181. entrypoints.$indexSet(0, source, _0_0);
  52182. }
  52183. return entrypoints;
  52184. },
  52185. _destinationFor$1(source) {
  52186. var t2, _0_0, t3, sourceDir, destinationDir, destination,
  52187. t1 = this._watch$_options;
  52188. t1._ensureSources$0();
  52189. t2 = type$.String;
  52190. _0_0 = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
  52191. if (_0_0 != null)
  52192. return _0_0;
  52193. t3 = $.$get$context();
  52194. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
  52195. return null;
  52196. t1._ensureSources$0();
  52197. t1 = t1.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  52198. t1 === $ && A.throwUnnamedLateFieldNI();
  52199. t2 = A.MapExtensions_get_pairs(t1.cast$2$0(0, t2, t2), t2, t2);
  52200. t2 = t2.get$iterator(t2);
  52201. for (; t2.moveNext$0();) {
  52202. t1 = t2.get$current(t2);
  52203. sourceDir = t1._0;
  52204. destinationDir = t1._1;
  52205. if (t3._isWithinOrEquals$2(sourceDir, source) !== B._PathRelation_within)
  52206. continue;
  52207. destination = A.join(destinationDir, t3.withoutExtension$1(t3.relative$2$from(source, sourceDir)) + ".css", null);
  52208. if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
  52209. return destination;
  52210. }
  52211. return null;
  52212. }
  52213. };
  52214. A._Watcher__debounceEvents_closure.prototype = {
  52215. call$1(buffer) {
  52216. var t3, t4, t5, oldType, newType, _1_1,
  52217. t1 = type$.ChangeType,
  52218. t2 = A.PathMap__create(null, t1);
  52219. for (t3 = J.get$iterator$ax(buffer); t3.moveNext$0();) {
  52220. t4 = t3.get$current(t3);
  52221. t5 = t4.path;
  52222. oldType = t2.$index(0, t5);
  52223. newType = t4.type;
  52224. $label0$0: {
  52225. if (oldType == null) {
  52226. t4 = newType;
  52227. break $label0$0;
  52228. }
  52229. if (B.ChangeType_remove === newType) {
  52230. t4 = B.ChangeType_remove;
  52231. break $label0$0;
  52232. }
  52233. if (B.ChangeType_add === oldType) {
  52234. t4 = B.ChangeType_add;
  52235. break $label0$0;
  52236. }
  52237. t4 = B.ChangeType_modify;
  52238. break $label0$0;
  52239. }
  52240. t2.$indexSet(0, t5, t4);
  52241. }
  52242. t3 = A._setArrayType([], type$.JSArray_WatchEvent);
  52243. 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();) {
  52244. t2 = t1.get$current(t1);
  52245. _1_1 = t2._0;
  52246. _1_1.toString;
  52247. t3.push(new A.WatchEvent(t2._1, _1_1));
  52248. }
  52249. return t3;
  52250. },
  52251. $signature: 322
  52252. };
  52253. A.EmptyExtensionStore.prototype = {
  52254. get$_extensions() {
  52255. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store$_extensions", 1, [], [], 0)));
  52256. },
  52257. get$_sourceSpecificity() {
  52258. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store$_sourceSpecificity", 1, [], [], 0)));
  52259. },
  52260. get$isEmpty(_) {
  52261. return true;
  52262. },
  52263. get$simpleSelectors() {
  52264. return B.C_EmptyUnmodifiableSet;
  52265. },
  52266. extensionsWhereTarget$1(callback) {
  52267. return B.List_empty5;
  52268. },
  52269. addExtensions$1(extenders) {
  52270. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  52271. },
  52272. clone$0() {
  52273. return B.Record2_EmptyExtensionStore_Map_empty;
  52274. },
  52275. $isExtensionStore: 1
  52276. };
  52277. A.Extension.prototype = {
  52278. toString$0(_) {
  52279. var t1 = this.extender.toString$0(0),
  52280. t2 = this.target.toString$0(0),
  52281. t3 = this.isOptional ? " !optional" : "";
  52282. return t1 + " {@extend " + t2 + t3 + "}";
  52283. }
  52284. };
  52285. A.Extender.prototype = {
  52286. assertCompatibleMediaContext$1(mediaContext) {
  52287. var expectedMediaContext,
  52288. extension = this._extension;
  52289. if (extension == null)
  52290. return;
  52291. expectedMediaContext = extension.mediaContext;
  52292. if (expectedMediaContext == null)
  52293. return;
  52294. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  52295. return;
  52296. throw A.wrapException(A.SassException$(string$.You_ma, extension.span, null));
  52297. },
  52298. toString$0(_) {
  52299. return A.serializeSelector(this.selector, true);
  52300. }
  52301. };
  52302. A.ExtensionStore.prototype = {
  52303. get$isEmpty(_) {
  52304. return this._extensions.__js_helper$_length === 0;
  52305. },
  52306. get$simpleSelectors() {
  52307. return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
  52308. },
  52309. extensionsWhereTarget$1(callback) {
  52310. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore(callback), type$._SyncStarIterable_Extension);
  52311. },
  52312. extensionsWhereTarget$body$ExtensionStore($async$callback) {
  52313. var $async$self = this;
  52314. return function() {
  52315. var callback = $async$callback;
  52316. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, simple, sources, t3;
  52317. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  52318. if ($async$errorCode === 1) {
  52319. $async$errorStack.push($async$result);
  52320. $async$goto = $async$handler;
  52321. }
  52322. while (true)
  52323. switch ($async$goto) {
  52324. case 0:
  52325. // Function start
  52326. t1 = A.MapExtensions_get_pairs($async$self._extensions, type$.SimpleSelector, type$.Map_ComplexSelector_Extension), t1 = t1.get$iterator(t1);
  52327. case 2:
  52328. // for condition
  52329. if (!t1.moveNext$0()) {
  52330. // goto after for
  52331. $async$goto = 3;
  52332. break;
  52333. }
  52334. t2 = t1.get$current(t1);
  52335. simple = t2._0;
  52336. sources = t2._1;
  52337. if (!callback.call$1(simple)) {
  52338. // goto for condition
  52339. $async$goto = 2;
  52340. break;
  52341. }
  52342. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  52343. case 4:
  52344. // for condition
  52345. if (!t2.moveNext$0()) {
  52346. // goto after for
  52347. $async$goto = 5;
  52348. break;
  52349. }
  52350. t3 = t2.get$current(t2);
  52351. $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
  52352. break;
  52353. case 6:
  52354. // then
  52355. t3 = t3.unmerge$0();
  52356. $async$goto = 9;
  52357. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  52358. case 9:
  52359. // after yield
  52360. // goto join
  52361. $async$goto = 7;
  52362. break;
  52363. case 8:
  52364. // else
  52365. $async$goto = !t3.isOptional ? 10 : 11;
  52366. break;
  52367. case 10:
  52368. // then
  52369. $async$goto = 12;
  52370. return $async$iterator._async$_current = t3, 1;
  52371. case 12:
  52372. // after yield
  52373. case 11:
  52374. // join
  52375. case 7:
  52376. // join
  52377. // goto for condition
  52378. $async$goto = 4;
  52379. break;
  52380. case 5:
  52381. // after for
  52382. // goto for condition
  52383. $async$goto = 2;
  52384. break;
  52385. case 3:
  52386. // after for
  52387. // implicit return
  52388. return 0;
  52389. case 1:
  52390. // rethrow
  52391. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  52392. }
  52393. };
  52394. };
  52395. },
  52396. addSelector$2(selector, mediaContext) {
  52397. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  52398. selector = selector;
  52399. originalSelector = selector;
  52400. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true))
  52401. _this._originals.addAll$1(0, originalSelector.components);
  52402. t1 = _this._extensions;
  52403. if (t1.__js_helper$_length !== 0)
  52404. try {
  52405. selector = _this._extendList$3(originalSelector, t1, mediaContext);
  52406. } catch (exception) {
  52407. t1 = A.unwrapException(exception);
  52408. if (t1 instanceof A.SassException) {
  52409. error = t1;
  52410. stackTrace = A.getTraceFromException(exception);
  52411. t1 = error;
  52412. t2 = J.getInterceptor$z(t1);
  52413. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  52414. t2 = error._span_exception$_message;
  52415. t3 = error;
  52416. t4 = J.getInterceptor$z(t3);
  52417. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  52418. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  52419. } else
  52420. throw exception;
  52421. }
  52422. modifiableSelector = new A.ModifiableBox(selector, type$.ModifiableBox_SelectorList);
  52423. if (mediaContext != null)
  52424. _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  52425. _this._registerSelector$2(selector, modifiableSelector);
  52426. return new A.Box(modifiableSelector, type$.Box_SelectorList);
  52427. },
  52428. _registerSelector$2(list, selector) {
  52429. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2_isSet, _0_2, t9, selectorInPseudo;
  52430. for (t1 = list.components, t2 = t1.length, t3 = this._selectors, t4 = type$.SelectorList, _i = 0; _i < t2; ++_i)
  52431. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  52432. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  52433. simple = t7[_i1];
  52434. t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()).add$1(0, selector);
  52435. _0_2_isSet = simple instanceof A.PseudoSelector;
  52436. if (_0_2_isSet) {
  52437. _0_2 = simple.selector;
  52438. t9 = _0_2 != null;
  52439. } else {
  52440. _0_2 = null;
  52441. t9 = false;
  52442. }
  52443. if (t9) {
  52444. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  52445. this._registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  52446. }
  52447. }
  52448. },
  52449. addExtension$4(extender, target, extend, mediaContext) {
  52450. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  52451. selectors = _this._selectors.$index(0, target),
  52452. t1 = _this._extensionsByExtender,
  52453. existingExtensions = t1.$index(0, target),
  52454. sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
  52455. 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) {
  52456. complex = t2[_i];
  52457. if (complex.accept$1(B.C__IsUselessVisitor))
  52458. continue;
  52459. complex.get$specificity();
  52460. t11 = new A.Extender(complex, false);
  52461. extension = t11._extension = new A.Extension(t11, target, mediaContext, t7, t6);
  52462. _0_0 = sources.$index(0, complex);
  52463. if (_0_0 != null) {
  52464. sources.$indexSet(0, complex, A.MergedExtension_merge(_0_0, extension));
  52465. continue;
  52466. }
  52467. sources.$indexSet(0, complex, extension);
  52468. for (t11 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  52469. t12 = t11._async$_current;
  52470. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure0()), extension);
  52471. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure1(complex));
  52472. }
  52473. if (!t4 || t8) {
  52474. if (newExtensions == null)
  52475. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  52476. newExtensions.$indexSet(0, complex, extension);
  52477. }
  52478. }
  52479. if (newExtensions == null)
  52480. return;
  52481. t1 = type$.SimpleSelector;
  52482. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
  52483. if (t8) {
  52484. additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  52485. if (additionalExtensions != null)
  52486. A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  52487. }
  52488. if (!t4)
  52489. _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
  52490. },
  52491. _simpleSelectors$1(complex) {
  52492. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore(complex), type$._SyncStarIterable_SimpleSelector);
  52493. },
  52494. _simpleSelectors$body$ExtensionStore($async$complex) {
  52495. var $async$self = this;
  52496. return function() {
  52497. var complex = $async$complex;
  52498. 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;
  52499. return function $async$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  52500. if ($async$errorCode === 1) {
  52501. $async$errorStack.push($async$result);
  52502. $async$goto = $async$handler;
  52503. }
  52504. while (true)
  52505. switch ($async$goto) {
  52506. case 0:
  52507. // Function start
  52508. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList, _i = 0;
  52509. case 2:
  52510. // for condition
  52511. if (!(_i < t2)) {
  52512. // goto after for
  52513. $async$goto = 4;
  52514. break;
  52515. }
  52516. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  52517. case 5:
  52518. // for condition
  52519. if (!(_i0 < t5)) {
  52520. // goto after for
  52521. $async$goto = 7;
  52522. break;
  52523. }
  52524. simple = t4[_i0];
  52525. $async$goto = 8;
  52526. return $async$iterator._async$_current = simple, 1;
  52527. case 8:
  52528. // after yield
  52529. _0_2_isSet = simple instanceof A.PseudoSelector;
  52530. if (_0_2_isSet) {
  52531. _0_2 = simple.selector;
  52532. t6 = _0_2 != null;
  52533. } else {
  52534. _0_2 = null;
  52535. t6 = false;
  52536. }
  52537. $async$goto = t6 ? 9 : 10;
  52538. break;
  52539. case 9:
  52540. // then
  52541. selector = _0_2_isSet ? _0_2 : simple.selector;
  52542. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  52543. case 11:
  52544. // for condition
  52545. if (!(_i1 < t7)) {
  52546. // goto after for
  52547. $async$goto = 13;
  52548. break;
  52549. }
  52550. $async$goto = 14;
  52551. return $async$iterator._yieldStar$1($async$self._simpleSelectors$1(t6[_i1]));
  52552. case 14:
  52553. // after yield
  52554. case 12:
  52555. // for update
  52556. ++_i1;
  52557. // goto for condition
  52558. $async$goto = 11;
  52559. break;
  52560. case 13:
  52561. // after for
  52562. case 10:
  52563. // join
  52564. case 6:
  52565. // for update
  52566. ++_i0;
  52567. // goto for condition
  52568. $async$goto = 5;
  52569. break;
  52570. case 7:
  52571. // after for
  52572. case 3:
  52573. // for update
  52574. ++_i;
  52575. // goto for condition
  52576. $async$goto = 2;
  52577. break;
  52578. case 4:
  52579. // after for
  52580. // implicit return
  52581. return 0;
  52582. case 1:
  52583. // rethrow
  52584. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  52585. }
  52586. };
  52587. };
  52588. },
  52589. _extendExistingExtensions$2(extensions, newExtensions) {
  52590. 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;
  52591. 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) {
  52592. extension = t1[_i];
  52593. t7 = t6.$index(0, extension.target);
  52594. t7.toString;
  52595. selectors = null;
  52596. try {
  52597. selectors = this._extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  52598. if (selectors == null)
  52599. continue;
  52600. } catch (exception) {
  52601. t8 = A.unwrapException(exception);
  52602. if (t8 instanceof A.SassException) {
  52603. error = t8;
  52604. stackTrace = A.getTraceFromException(exception);
  52605. A.throwWithTrace(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  52606. } else
  52607. throw exception;
  52608. }
  52609. t8 = J.get$first$ax(selectors);
  52610. t9 = extension.extender.selector;
  52611. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  52612. t8 = selectors;
  52613. t9 = A._arrayInstanceType(t8);
  52614. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  52615. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  52616. selectors = selectors0;
  52617. }
  52618. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  52619. t9 = t8.get$current(t8);
  52620. t10 = extension;
  52621. t11 = t10.target;
  52622. t12 = t10.span;
  52623. t13 = t10.mediaContext;
  52624. t10 = t10.isOptional;
  52625. t9.get$specificity();
  52626. t14 = new A.Extender(t9, false);
  52627. withExtender = t14._extension = new A.Extension(t14, t11, t13, t10, t12);
  52628. _0_0 = t7.$index(0, t9);
  52629. if (_0_0 != null)
  52630. t7.$indexSet(0, t9, A.MergedExtension_merge(_0_0, withExtender));
  52631. else {
  52632. t7.$indexSet(0, t9, withExtender);
  52633. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  52634. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  52635. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
  52636. if (newExtensions.containsKey$1(extension.target)) {
  52637. if (additionalExtensions == null)
  52638. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  52639. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, t9, withExtender);
  52640. }
  52641. }
  52642. }
  52643. }
  52644. return additionalExtensions;
  52645. },
  52646. _extendExistingSelectors$2(selectors, newExtensions) {
  52647. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  52648. for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
  52649. selector = t1.get$current(t1);
  52650. oldValue = selector.value;
  52651. try {
  52652. selector.value = this._extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  52653. } catch (exception) {
  52654. t3 = A.unwrapException(exception);
  52655. if (t3 instanceof A.SassException) {
  52656. error = t3;
  52657. stackTrace = A.getTraceFromException(exception);
  52658. t3 = selector.value.span.message$1(0, "");
  52659. t4 = error._span_exception$_message;
  52660. t5 = error;
  52661. t6 = J.getInterceptor$z(t5);
  52662. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  52663. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  52664. } else
  52665. throw exception;
  52666. }
  52667. if (oldValue === selector.value)
  52668. continue;
  52669. this._registerSelector$2(selector.value, selector);
  52670. }
  52671. },
  52672. addExtensions$1(extensionStores) {
  52673. 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;
  52674. 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();) {
  52675. t12 = t1.get$current(t1);
  52676. if (t12.get$isEmpty(t12))
  52677. continue;
  52678. t11.addAll$1(0, t12.get$_sourceSpecificity());
  52679. for (t12 = A.MapExtensions_get_pairs(t12.get$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  52680. t13 = t12.get$current(t12);
  52681. target = t13._0;
  52682. newSources = t13._1;
  52683. if (target instanceof A.PlaceholderSelector) {
  52684. first = target.name.charCodeAt(0);
  52685. t13 = first === 45 || first === 95;
  52686. } else
  52687. t13 = false;
  52688. if (t13)
  52689. continue;
  52690. extensionsForTarget = t8.$index(0, target);
  52691. t13 = extensionsForTarget == null;
  52692. if (!t13) {
  52693. if (extensionsToExtend == null) {
  52694. extensionsToExtend = A._setArrayType([], t9);
  52695. t14 = extensionsToExtend;
  52696. } else
  52697. t14 = extensionsToExtend;
  52698. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  52699. }
  52700. selectorsForTarget = t7.$index(0, target);
  52701. t14 = selectorsForTarget != null;
  52702. if (t14) {
  52703. if (selectorsToExtend == null) {
  52704. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  52705. t15 = selectorsToExtend;
  52706. } else
  52707. t15 = selectorsToExtend;
  52708. t15.addAll$1(0, selectorsForTarget);
  52709. }
  52710. _2_0 = t4.$index(0, target);
  52711. if (_2_0 != null)
  52712. for (t15 = A.MapExtensions_get_pairs(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  52713. t16 = t15.get$current(t15);
  52714. extender = t16._0;
  52715. extension = t16._1;
  52716. if (_2_0.containsKey$1(extender)) {
  52717. t16 = _2_0.$index(0, extender);
  52718. extension = A.MergedExtension_merge(t16 == null ? t6._as(t16) : t16, extension);
  52719. _2_0.$indexSet(0, extender, extension);
  52720. } else
  52721. _2_0.$indexSet(0, extender, extension);
  52722. if (!t13 || t14) {
  52723. if (newExtensions == null) {
  52724. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  52725. t16 = newExtensions;
  52726. } else
  52727. t16 = newExtensions;
  52728. t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure()).$indexSet(0, extender, extension);
  52729. }
  52730. }
  52731. else {
  52732. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  52733. t15.addAll$1(0, newSources);
  52734. t4.$indexSet(0, target, t15);
  52735. if (!t13 || t14) {
  52736. if (newExtensions == null) {
  52737. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  52738. t13 = newExtensions;
  52739. } else
  52740. t13 = newExtensions;
  52741. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  52742. t14.addAll$1(0, newSources);
  52743. t13.$indexSet(0, target, t14);
  52744. }
  52745. }
  52746. }
  52747. }
  52748. if (newExtensions != null) {
  52749. if (extensionsToExtend != null)
  52750. _this._extendExistingExtensions$2(extensionsToExtend, newExtensions);
  52751. if (selectorsToExtend != null)
  52752. _this._extendExistingSelectors$2(selectorsToExtend, newExtensions);
  52753. }
  52754. },
  52755. _extendList$3(list, extensions, mediaQueryContext) {
  52756. var t1, t2, t3, extended, i, complex, result, t4;
  52757. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
  52758. complex = t1[i];
  52759. result = this._extendComplex$3(complex, extensions, mediaQueryContext);
  52760. if (result == null) {
  52761. if (extended != null)
  52762. extended.push(complex);
  52763. } else {
  52764. if (extended == null)
  52765. if (i === 0)
  52766. extended = A._setArrayType([], t3);
  52767. else {
  52768. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  52769. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  52770. }
  52771. B.JSArray_methods.addAll$1(extended, result);
  52772. }
  52773. }
  52774. if (extended == null)
  52775. return list;
  52776. t1 = this._originals;
  52777. return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)), list.span);
  52778. },
  52779. _extendList$2(list, extensions) {
  52780. return this._extendList$3(list, extensions, null);
  52781. },
  52782. _extendComplex$3(complex, extensions, mediaQueryContext) {
  52783. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  52784. t1 = complex.leadingCombinators,
  52785. t2 = t1.length;
  52786. if (t2 > 1)
  52787. return null;
  52788. isOriginal = this._originals.contains$1(0, complex);
  52789. 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) {
  52790. component = t3[i];
  52791. extended = this._extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  52792. if (extended == null) {
  52793. if (extendedNotExpanded != null)
  52794. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$(B.List_empty0, A._setArrayType([component], t10), t8, t6)], t9));
  52795. } else if (extendedNotExpanded != null)
  52796. extendedNotExpanded.push(extended);
  52797. else if (i !== 0) {
  52798. t11 = A._arrayInstanceType(t3);
  52799. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  52800. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  52801. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$(t1, t12, t8, t6)], t9), extended], t5);
  52802. } else if (t2)
  52803. extendedNotExpanded = A._setArrayType([extended], t5);
  52804. else {
  52805. t11 = A._setArrayType([], t9);
  52806. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  52807. t13 = t12.get$current(t12);
  52808. t14 = t13.leadingCombinators;
  52809. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  52810. t14 = t13.components;
  52811. t11.push(A.ComplexSelector$(t1, t14, t8, !t7 || t13.lineBreak));
  52812. }
  52813. }
  52814. extendedNotExpanded = A._setArrayType([t11], t5);
  52815. }
  52816. }
  52817. if (extendedNotExpanded == null)
  52818. return null;
  52819. _box_0.first = true;
  52820. t1 = type$.ComplexSelector;
  52821. t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure(_box_0, this, complex), t1);
  52822. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  52823. },
  52824. _extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  52825. 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,
  52826. t1 = _this._mode,
  52827. targetsUsed = t1 === B.ExtendMode_normal_normal || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector),
  52828. t2 = component.selector,
  52829. simples = t2.components;
  52830. 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) {
  52831. simple = simples[i];
  52832. extended = _this._extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  52833. if (extended == null) {
  52834. if (options != null)
  52835. options.push(A._setArrayType([_this._extenderForSimple$1(simple)], t5));
  52836. } else {
  52837. if (options == null) {
  52838. options = A._setArrayType([], t4);
  52839. if (i !== 0) {
  52840. t12 = new A.SubListIterable(simples, 0, i, t8);
  52841. t12.SubListIterable$3(simples, 0, i, t9);
  52842. result = A.List_List$from(t12, false, t11);
  52843. result.$flags = 3;
  52844. t12 = result;
  52845. compound = new A.CompoundSelector(t12, t10);
  52846. if (t12.length === 0)
  52847. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  52848. result = A.List_List$from(B.List_empty0, false, t6);
  52849. result.$flags = 3;
  52850. t12 = A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(compound, result, t10)], t7), t10, false);
  52851. _this._sourceSpecificityFor$1(compound);
  52852. options.push(A._setArrayType([new A.Extender(t12, true)], t5));
  52853. }
  52854. }
  52855. B.JSArray_methods.addAll$1(options, extended);
  52856. }
  52857. }
  52858. if (options == null)
  52859. return _null;
  52860. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  52861. return _null;
  52862. if (options.length === 1) {
  52863. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector, result = _null; t1.moveNext$0();) {
  52864. t4 = t1.get$current(t1);
  52865. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  52866. complex = t4.selector.withAdditionalCombinators$1(t2);
  52867. if (complex.accept$1(B.C__IsUselessVisitor))
  52868. continue;
  52869. if (result == null)
  52870. result = A._setArrayType([], t3);
  52871. result.push(complex);
  52872. }
  52873. return result;
  52874. }
  52875. extenderPaths = A.paths(options, type$.Extender);
  52876. t3 = A._setArrayType([], type$.JSArray_ComplexSelector);
  52877. t1 = t1 === B.ExtendMode_replace_replace;
  52878. t4 = !t1;
  52879. if (t4)
  52880. 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));
  52881. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  52882. t5 = t2.$ti;
  52883. t2 = new A.ListIterator(t2, t2.get$length(0), t5._eval$1("ListIterator<ListIterable.E>"));
  52884. t6 = component.combinators;
  52885. t5 = t5._eval$1("ListIterable.E");
  52886. for (; t2.moveNext$0();) {
  52887. t1 = t2.__internal$_current;
  52888. extended = _this._unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  52889. if (extended == null)
  52890. continue;
  52891. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  52892. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  52893. if (!withCombinators.accept$1(B.C__IsUselessVisitor))
  52894. t3.push(withCombinators);
  52895. }
  52896. }
  52897. isOriginal = new A.ExtensionStore__extendCompound_closure0();
  52898. return _this._trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure1(B.JSArray_methods.get$first(t3)) : isOriginal);
  52899. },
  52900. _unifyExtenders$3(extenders, mediaQueryContext, span) {
  52901. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  52902. toUnify = A.QueueList$(_null, type$.ComplexSelector);
  52903. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  52904. t4 = t2.get$current(t2);
  52905. if (t4.isOriginal) {
  52906. if (originals == null)
  52907. originals = A._setArrayType([], t3);
  52908. t4 = t4.selector;
  52909. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  52910. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  52911. } else {
  52912. t4 = t4.selector;
  52913. if (t4.accept$1(B.C__IsUselessVisitor))
  52914. return _null;
  52915. else
  52916. toUnify._queue_list$_add$1(t4);
  52917. }
  52918. }
  52919. if (originals != null)
  52920. 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));
  52921. complexes = A.unifyComplex(toUnify, span);
  52922. if (complexes == null)
  52923. return _null;
  52924. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  52925. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  52926. return complexes;
  52927. },
  52928. _extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  52929. var t2, _1_0,
  52930. t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed);
  52931. if (simple instanceof A.PseudoSelector)
  52932. t2 = simple.selector != null;
  52933. else
  52934. t2 = false;
  52935. if (t2) {
  52936. _1_0 = this._extendPseudo$3(simple, extensions, mediaQueryContext);
  52937. if (_1_0 != null)
  52938. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender>>"));
  52939. }
  52940. return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
  52941. },
  52942. _extenderForSimple$1(simple) {
  52943. var t1 = simple.span;
  52944. 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);
  52945. this._sourceSpecificity.$index(0, simple);
  52946. return new A.Extender(t1, true);
  52947. },
  52948. _extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  52949. var extended, complexes, t1, result,
  52950. selector = pseudo.selector;
  52951. if (selector == null)
  52952. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  52953. extended = this._extendList$3(selector, extensions, mediaQueryContext);
  52954. if (extended === selector)
  52955. return null;
  52956. complexes = extended.components;
  52957. t1 = pseudo.normalizedName === "not";
  52958. 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()))
  52959. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  52960. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
  52961. if (t1 && selector.components.length === 1) {
  52962. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
  52963. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  52964. return result.length === 0 ? null : result;
  52965. } else
  52966. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$(complexes, selector.span))], type$.JSArray_PseudoSelector);
  52967. },
  52968. _trim$2(selectors, isOriginal) {
  52969. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  52970. if (selectors.length > 100)
  52971. return selectors;
  52972. result = A.QueueList$(null, type$.ComplexSelector);
  52973. $label0$0:
  52974. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  52975. _box_0 = {};
  52976. complex1 = selectors[i];
  52977. if (isOriginal.call$1(complex1)) {
  52978. for (j = 0; j < numOriginals; ++j)
  52979. if (result.$index(0, j).$eq(0, complex1)) {
  52980. A.rotateSlice(result, 0, j + 1);
  52981. continue $label0$0;
  52982. }
  52983. ++numOriginals;
  52984. result.addFirst$1(complex1);
  52985. continue $label0$0;
  52986. }
  52987. _box_0.maxSpecificity = 0;
  52988. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  52989. maxSpecificity = Math.max(t5, this._sourceSpecificityFor$1(t3[_i].selector));
  52990. _box_0.maxSpecificity = maxSpecificity;
  52991. }
  52992. if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
  52993. continue $label0$0;
  52994. t3 = new A.SubListIterable(selectors, 0, i, t1);
  52995. t3.SubListIterable$3(selectors, 0, i, t2);
  52996. if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
  52997. continue $label0$0;
  52998. result.addFirst$1(complex1);
  52999. }
  53000. return result;
  53001. },
  53002. _sourceSpecificityFor$1(compound) {
  53003. var t1, t2, t3, specificity, _i, t4;
  53004. for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  53005. t4 = t3.$index(0, t1[_i]);
  53006. if (t4 == null)
  53007. t4 = 0;
  53008. specificity = Math.max(specificity, t4);
  53009. }
  53010. return specificity;
  53011. },
  53012. clone$0() {
  53013. var t2, t3, t4, _this = this,
  53014. t1 = type$.SimpleSelector,
  53015. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList),
  53016. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery),
  53017. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList);
  53018. _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  53019. t2 = type$.Extension;
  53020. t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
  53021. t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
  53022. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int);
  53023. t1.addAll$1(0, _this._sourceSpecificity);
  53024. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
  53025. t4.addAll$1(0, _this._originals);
  53026. return new A._Record_2(new A.ExtensionStore(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal), oldToNewSelectors);
  53027. },
  53028. get$_extensions() {
  53029. return this._extensions;
  53030. },
  53031. get$_sourceSpecificity() {
  53032. return this._sourceSpecificity;
  53033. }
  53034. };
  53035. A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
  53036. call$1(extension) {
  53037. return !extension.isOptional;
  53038. },
  53039. $signature: 329
  53040. };
  53041. A.ExtensionStore__registerSelector_closure.prototype = {
  53042. call$0() {
  53043. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList);
  53044. },
  53045. $signature: 333
  53046. };
  53047. A.ExtensionStore_addExtension_closure.prototype = {
  53048. call$0() {
  53049. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53050. },
  53051. $signature: 128
  53052. };
  53053. A.ExtensionStore_addExtension_closure0.prototype = {
  53054. call$0() {
  53055. return A._setArrayType([], type$.JSArray_Extension);
  53056. },
  53057. $signature: 270
  53058. };
  53059. A.ExtensionStore_addExtension_closure1.prototype = {
  53060. call$0() {
  53061. return this.complex.get$specificity();
  53062. },
  53063. $signature: 10
  53064. };
  53065. A.ExtensionStore__extendExistingExtensions_closure.prototype = {
  53066. call$0() {
  53067. return A._setArrayType([], type$.JSArray_Extension);
  53068. },
  53069. $signature: 270
  53070. };
  53071. A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
  53072. call$0() {
  53073. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53074. },
  53075. $signature: 128
  53076. };
  53077. A.ExtensionStore_addExtensions_closure.prototype = {
  53078. call$0() {
  53079. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53080. },
  53081. $signature: 128
  53082. };
  53083. A.ExtensionStore__extendComplex_closure.prototype = {
  53084. call$1(path) {
  53085. var t1 = this.complex;
  53086. 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);
  53087. },
  53088. $signature: 338
  53089. };
  53090. A.ExtensionStore__extendComplex__closure.prototype = {
  53091. call$1(outputComplex) {
  53092. var _this = this,
  53093. t1 = _this._box_0;
  53094. if (t1.first && _this.$this._originals.contains$1(0, _this.complex))
  53095. _this.$this._originals.add$1(0, outputComplex);
  53096. t1.first = false;
  53097. return outputComplex;
  53098. },
  53099. $signature: 65
  53100. };
  53101. A.ExtensionStore__extendCompound_closure.prototype = {
  53102. call$1(extender) {
  53103. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  53104. },
  53105. $signature: 340
  53106. };
  53107. A.ExtensionStore__extendCompound_closure0.prototype = {
  53108. call$1(_) {
  53109. return false;
  53110. },
  53111. $signature: 19
  53112. };
  53113. A.ExtensionStore__extendCompound_closure1.prototype = {
  53114. call$1(complex) {
  53115. return complex.$eq(0, this.original);
  53116. },
  53117. $signature: 19
  53118. };
  53119. A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
  53120. call$1(simple) {
  53121. var t1, t2,
  53122. extensionsForSimple = this.extensions.$index(0, simple);
  53123. if (extensionsForSimple == null)
  53124. return null;
  53125. t1 = this.targetsUsed;
  53126. if (t1 != null)
  53127. t1.add$1(0, simple);
  53128. t1 = A._setArrayType([], type$.JSArray_Extender);
  53129. t2 = this.$this;
  53130. if (t2._mode !== B.ExtendMode_replace_replace)
  53131. t1.push(t2._extenderForSimple$1(simple));
  53132. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  53133. t1.push(t2.get$current(t2).extender);
  53134. return t1;
  53135. },
  53136. $signature: 346
  53137. };
  53138. A.ExtensionStore__extendSimple_closure.prototype = {
  53139. call$1(pseudo) {
  53140. var t1 = this.withoutPseudo.call$1(pseudo);
  53141. return t1 == null ? A._setArrayType([this.$this._extenderForSimple$1(pseudo)], type$.JSArray_Extender) : t1;
  53142. },
  53143. $signature: 347
  53144. };
  53145. A.ExtensionStore__extendSimple_closure0.prototype = {
  53146. call$1(result) {
  53147. return A._setArrayType([result], type$.JSArray_List_Extender);
  53148. },
  53149. $signature: 348
  53150. };
  53151. A.ExtensionStore__extendPseudo_closure.prototype = {
  53152. call$1(complex) {
  53153. return complex.components.length > 1;
  53154. },
  53155. $signature: 19
  53156. };
  53157. A.ExtensionStore__extendPseudo_closure0.prototype = {
  53158. call$1(complex) {
  53159. return complex.components.length === 1;
  53160. },
  53161. $signature: 19
  53162. };
  53163. A.ExtensionStore__extendPseudo_closure1.prototype = {
  53164. call$1(complex) {
  53165. return complex.components.length <= 1;
  53166. },
  53167. $signature: 19
  53168. };
  53169. A.ExtensionStore__extendPseudo_closure2.prototype = {
  53170. call$1(complex) {
  53171. var innerPseudo, innerSelector,
  53172. t1 = complex.get$singleCompound();
  53173. if (t1 == null)
  53174. innerPseudo = null;
  53175. else {
  53176. t1 = t1.components;
  53177. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  53178. }
  53179. if (!(innerPseudo instanceof A.PseudoSelector))
  53180. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53181. innerSelector = innerPseudo.selector;
  53182. if (innerSelector == null)
  53183. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53184. t1 = this.pseudo;
  53185. switch (t1.normalizedName) {
  53186. case "not":
  53187. if (!B.Set_0egh6.contains$1(0, innerPseudo.normalizedName))
  53188. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53189. return innerSelector.components;
  53190. case "is":
  53191. case "matches":
  53192. case "where":
  53193. case "any":
  53194. case "current":
  53195. case "nth-child":
  53196. case "nth-last-child":
  53197. if (innerPseudo.name !== t1.name)
  53198. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53199. if (innerPseudo.argument != t1.argument)
  53200. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53201. return innerSelector.components;
  53202. case "has":
  53203. case "host":
  53204. case "host-context":
  53205. case "slotted":
  53206. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53207. default:
  53208. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53209. }
  53210. },
  53211. $signature: 349
  53212. };
  53213. A.ExtensionStore__extendPseudo_closure3.prototype = {
  53214. call$1(complex) {
  53215. return this.pseudo.withSelector$1(A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector), this.selector.span));
  53216. },
  53217. $signature: 350
  53218. };
  53219. A.ExtensionStore__trim_closure.prototype = {
  53220. call$1(complex2) {
  53221. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  53222. },
  53223. $signature: 19
  53224. };
  53225. A.ExtensionStore__trim_closure0.prototype = {
  53226. call$1(complex2) {
  53227. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  53228. },
  53229. $signature: 19
  53230. };
  53231. A.ExtensionStore_clone_closure.prototype = {
  53232. call$2(simple, selectors) {
  53233. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, _this = this,
  53234. t1 = type$.ModifiableBox_SelectorList,
  53235. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  53236. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  53237. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = type$.Box_SelectorList, t5 = _this.$this._mediaContexts, t6 = _this.newMediaContexts; t2.moveNext$0();) {
  53238. t7 = t2.get$current(t2);
  53239. newSelector = new A.ModifiableBox(t7.value, t1);
  53240. newSelectorSet.add$1(0, newSelector);
  53241. t3.$indexSet(0, t7.value, new A.Box(newSelector, t4));
  53242. _0_0 = t5.$index(0, t7);
  53243. if (_0_0 != null)
  53244. t6.$indexSet(0, newSelector, _0_0);
  53245. }
  53246. },
  53247. $signature: 352
  53248. };
  53249. A.unifyComplex_closure.prototype = {
  53250. call$1(complex) {
  53251. return complex.lineBreak;
  53252. },
  53253. $signature: 19
  53254. };
  53255. A._weaveParents_closure.prototype = {
  53256. call$2(group1, group2) {
  53257. var t1, unified;
  53258. if (B.C_ListEquality.equals$2(0, group1, group2))
  53259. return group1;
  53260. if (A._complexIsParentSuperselector(group1, group2))
  53261. return group2;
  53262. if (A._complexIsParentSuperselector(group2, group1))
  53263. return group1;
  53264. if (!A._mustUnify(group1, group2))
  53265. return null;
  53266. t1 = this.span;
  53267. 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);
  53268. if (unified == null)
  53269. t1 = null;
  53270. else {
  53271. t1 = A.IterableExtension_get_singleOrNull(unified);
  53272. t1 = t1 == null ? null : t1.components;
  53273. }
  53274. return t1;
  53275. },
  53276. $signature: 353
  53277. };
  53278. A._weaveParents_closure0.prototype = {
  53279. call$1(sequence) {
  53280. return A._complexIsParentSuperselector(sequence.get$first(sequence), this.group);
  53281. },
  53282. $signature: 141
  53283. };
  53284. A._weaveParents_closure1.prototype = {
  53285. call$1(sequence) {
  53286. return sequence.get$length(0) === 0;
  53287. },
  53288. $signature: 141
  53289. };
  53290. A._weaveParents_closure2.prototype = {
  53291. call$1(choice) {
  53292. return J.get$isNotEmpty$asx(choice);
  53293. },
  53294. $signature: 356
  53295. };
  53296. A._mustUnify_closure.prototype = {
  53297. call$1(component) {
  53298. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure(this.uniqueSelectors));
  53299. },
  53300. $signature: 52
  53301. };
  53302. A._mustUnify__closure.prototype = {
  53303. call$1(simple) {
  53304. var t1;
  53305. if (!(simple instanceof A.IDSelector))
  53306. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  53307. else
  53308. t1 = true;
  53309. return t1 && this.uniqueSelectors.contains$1(0, simple);
  53310. },
  53311. $signature: 13
  53312. };
  53313. A.paths_closure.prototype = {
  53314. call$2(paths, choice) {
  53315. var t1 = this.T;
  53316. t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
  53317. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  53318. },
  53319. $signature() {
  53320. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  53321. }
  53322. };
  53323. A.paths__closure.prototype = {
  53324. call$1(option) {
  53325. var t1 = this.T;
  53326. return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
  53327. },
  53328. $signature() {
  53329. return this.T._eval$1("Iterable<List<0>>(0)");
  53330. }
  53331. };
  53332. A.paths___closure.prototype = {
  53333. call$1(path) {
  53334. var t1 = A.List_List$of(path, true, this.T);
  53335. t1.push(this.option);
  53336. return t1;
  53337. },
  53338. $signature() {
  53339. return this.T._eval$1("List<0>(List<0>)");
  53340. }
  53341. };
  53342. A.listIsSuperselector_closure.prototype = {
  53343. call$1(complex1) {
  53344. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
  53345. },
  53346. $signature: 19
  53347. };
  53348. A.listIsSuperselector__closure.prototype = {
  53349. call$1(complex2) {
  53350. return complex2.isSuperselector$1(this.complex1);
  53351. },
  53352. $signature: 19
  53353. };
  53354. A.complexIsSuperselector_closure.prototype = {
  53355. call$1($parent) {
  53356. return $parent.combinators.length > 1;
  53357. },
  53358. $signature: 52
  53359. };
  53360. A.complexIsSuperselector_closure0.prototype = {
  53361. call$1(component) {
  53362. return A._isSupercombinator(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  53363. },
  53364. $signature: 52
  53365. };
  53366. A._compatibleWithPreviousCombinator_closure.prototype = {
  53367. call$1(component) {
  53368. var t1 = component.combinators,
  53369. t2 = A.IterableExtension_get_firstOrNull(t1);
  53370. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_55N)) {
  53371. t1 = A.IterableExtension_get_firstOrNull(t1);
  53372. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_bOP);
  53373. } else
  53374. t1 = true;
  53375. return t1;
  53376. },
  53377. $signature: 52
  53378. };
  53379. A.compoundIsSuperselector_closure.prototype = {
  53380. call$1(simple1) {
  53381. return B.JSArray_methods.any$1(this.compound2.components, simple1.get$isSuperselector());
  53382. },
  53383. $signature: 13
  53384. };
  53385. A._selectorPseudoIsSuperselector_closure.prototype = {
  53386. call$1(selector2) {
  53387. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53388. },
  53389. $signature: 67
  53390. };
  53391. A._selectorPseudoIsSuperselector_closure0.prototype = {
  53392. call$1(complex1) {
  53393. var t1, t2;
  53394. if (complex1.leadingCombinators.length === 0) {
  53395. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  53396. t2 = this.parents;
  53397. if (t2 != null)
  53398. B.JSArray_methods.addAll$1(t1, t2);
  53399. t2 = this.compound2;
  53400. t1.push(new A.ComplexSelectorComponent(t2, A.List_List$unmodifiable(B.List_empty0, type$.CssValue_Combinator), t2.span));
  53401. t1 = A.complexIsSuperselector(complex1.components, t1);
  53402. } else
  53403. t1 = false;
  53404. return t1;
  53405. },
  53406. $signature: 19
  53407. };
  53408. A._selectorPseudoIsSuperselector_closure1.prototype = {
  53409. call$1(selector2) {
  53410. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53411. },
  53412. $signature: 67
  53413. };
  53414. A._selectorPseudoIsSuperselector_closure2.prototype = {
  53415. call$1(selector2) {
  53416. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53417. },
  53418. $signature: 67
  53419. };
  53420. A._selectorPseudoIsSuperselector_closure3.prototype = {
  53421. call$1(complex) {
  53422. if (complex.accept$1(B._IsBogusVisitor_true))
  53423. return false;
  53424. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
  53425. },
  53426. $signature: 19
  53427. };
  53428. A._selectorPseudoIsSuperselector__closure.prototype = {
  53429. call$1(simple2) {
  53430. var t1, selector2, _0_4, _this = this;
  53431. $label0$1: {
  53432. if (simple2 instanceof A.TypeSelector) {
  53433. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure(simple2));
  53434. break $label0$1;
  53435. }
  53436. if (simple2 instanceof A.IDSelector) {
  53437. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
  53438. break $label0$1;
  53439. }
  53440. selector2 = null;
  53441. t1 = false;
  53442. if (simple2 instanceof A.PseudoSelector) {
  53443. _0_4 = simple2.selector;
  53444. if (_0_4 != null) {
  53445. selector2 = _0_4 == null ? type$.SelectorList._as(_0_4) : _0_4;
  53446. t1 = simple2.name === _this.pseudo1.name;
  53447. }
  53448. }
  53449. if (t1) {
  53450. t1 = A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
  53451. break $label0$1;
  53452. }
  53453. t1 = false;
  53454. break $label0$1;
  53455. }
  53456. return t1;
  53457. },
  53458. $signature: 13
  53459. };
  53460. A._selectorPseudoIsSuperselector___closure.prototype = {
  53461. call$1(simple1) {
  53462. var t1;
  53463. if (simple1 instanceof A.TypeSelector) {
  53464. t1 = this.simple2;
  53465. t1 = !(t1 instanceof A.TypeSelector && t1.name.$eq(0, simple1.name));
  53466. } else
  53467. t1 = false;
  53468. return t1;
  53469. },
  53470. $signature: 13
  53471. };
  53472. A._selectorPseudoIsSuperselector___closure0.prototype = {
  53473. call$1(simple1) {
  53474. var t1;
  53475. if (simple1 instanceof A.IDSelector) {
  53476. t1 = this.simple2;
  53477. t1 = !(t1 instanceof A.IDSelector && t1.name === simple1.name);
  53478. } else
  53479. t1 = false;
  53480. return t1;
  53481. },
  53482. $signature: 13
  53483. };
  53484. A._selectorPseudoIsSuperselector_closure4.prototype = {
  53485. call$1(selector2) {
  53486. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  53487. return t1;
  53488. },
  53489. $signature: 67
  53490. };
  53491. A._selectorPseudoIsSuperselector_closure5.prototype = {
  53492. call$1(pseudo2) {
  53493. var t1, selector2;
  53494. if (!(pseudo2 instanceof A.PseudoSelector))
  53495. return false;
  53496. t1 = this.pseudo1;
  53497. if (pseudo2.name !== t1.name)
  53498. return false;
  53499. if (pseudo2.argument != t1.argument)
  53500. return false;
  53501. selector2 = pseudo2.selector;
  53502. if (selector2 == null)
  53503. return false;
  53504. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53505. },
  53506. $signature: 13
  53507. };
  53508. A._selectorPseudoArgs_closure.prototype = {
  53509. call$1(pseudo) {
  53510. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  53511. },
  53512. $signature: 357
  53513. };
  53514. A._selectorPseudoArgs_closure0.prototype = {
  53515. call$1(pseudo) {
  53516. return pseudo.selector;
  53517. },
  53518. $signature: 368
  53519. };
  53520. A.MergedExtension.prototype = {
  53521. unmerge$0() {
  53522. return new A._SyncStarIterable(this.unmerge$body$MergedExtension(), type$._SyncStarIterable_Extension);
  53523. },
  53524. unmerge$body$MergedExtension() {
  53525. var $async$self = this;
  53526. return function() {
  53527. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], right, left;
  53528. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  53529. if ($async$errorCode === 1) {
  53530. $async$errorStack.push($async$result);
  53531. $async$goto = $async$handler;
  53532. }
  53533. while (true)
  53534. switch ($async$goto) {
  53535. case 0:
  53536. // Function start
  53537. left = $async$self.left;
  53538. $async$goto = left instanceof A.MergedExtension ? 2 : 4;
  53539. break;
  53540. case 2:
  53541. // then
  53542. $async$goto = 5;
  53543. return $async$iterator._yieldStar$1(left.unmerge$0());
  53544. case 5:
  53545. // after yield
  53546. // goto join
  53547. $async$goto = 3;
  53548. break;
  53549. case 4:
  53550. // else
  53551. $async$goto = 6;
  53552. return $async$iterator._async$_current = left, 1;
  53553. case 6:
  53554. // after yield
  53555. case 3:
  53556. // join
  53557. right = $async$self.right;
  53558. $async$goto = right instanceof A.MergedExtension ? 7 : 9;
  53559. break;
  53560. case 7:
  53561. // then
  53562. $async$goto = 10;
  53563. return $async$iterator._yieldStar$1(right.unmerge$0());
  53564. case 10:
  53565. // after yield
  53566. // goto join
  53567. $async$goto = 8;
  53568. break;
  53569. case 9:
  53570. // else
  53571. $async$goto = 11;
  53572. return $async$iterator._async$_current = right, 1;
  53573. case 11:
  53574. // after yield
  53575. case 8:
  53576. // join
  53577. // implicit return
  53578. return 0;
  53579. case 1:
  53580. // rethrow
  53581. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  53582. }
  53583. };
  53584. };
  53585. }
  53586. };
  53587. A.ExtendMode.prototype = {
  53588. _enumToString$0() {
  53589. return "ExtendMode." + this._name;
  53590. },
  53591. toString$0(_) {
  53592. return this.name;
  53593. }
  53594. };
  53595. A.globalFunctions_closure.prototype = {
  53596. call$1($arguments) {
  53597. var t1 = J.getInterceptor$asx($arguments);
  53598. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  53599. },
  53600. $signature: 4
  53601. };
  53602. A.global_closure0.prototype = {
  53603. call$1(color) {
  53604. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  53605. },
  53606. $signature: 58
  53607. };
  53608. A.global_closure1.prototype = {
  53609. call$1(color) {
  53610. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  53611. },
  53612. $signature: 58
  53613. };
  53614. A.global_closure2.prototype = {
  53615. call$1(color) {
  53616. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  53617. },
  53618. $signature: 58
  53619. };
  53620. A.global_closure3.prototype = {
  53621. call$1($arguments) {
  53622. return A._rgb("rgb", $arguments);
  53623. },
  53624. $signature: 4
  53625. };
  53626. A.global_closure4.prototype = {
  53627. call$1($arguments) {
  53628. return A._rgb("rgb", $arguments);
  53629. },
  53630. $signature: 4
  53631. };
  53632. A.global_closure5.prototype = {
  53633. call$1($arguments) {
  53634. return A._rgbTwoArg("rgb", $arguments);
  53635. },
  53636. $signature: 4
  53637. };
  53638. A.global_closure6.prototype = {
  53639. call$1($arguments) {
  53640. return A._parseChannels("rgb", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P);
  53641. },
  53642. $signature: 4
  53643. };
  53644. A.global_closure7.prototype = {
  53645. call$1($arguments) {
  53646. return A._rgb("rgba", $arguments);
  53647. },
  53648. $signature: 4
  53649. };
  53650. A.global_closure8.prototype = {
  53651. call$1($arguments) {
  53652. return A._rgb("rgba", $arguments);
  53653. },
  53654. $signature: 4
  53655. };
  53656. A.global_closure9.prototype = {
  53657. call$1($arguments) {
  53658. return A._rgbTwoArg("rgba", $arguments);
  53659. },
  53660. $signature: 4
  53661. };
  53662. A.global_closure10.prototype = {
  53663. call$1($arguments) {
  53664. return A._parseChannels("rgba", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P);
  53665. },
  53666. $signature: 4
  53667. };
  53668. A.global_closure11.prototype = {
  53669. call$1($arguments) {
  53670. var t1 = J.getInterceptor$asx($arguments);
  53671. if (!(t1.$index($arguments, 0) instanceof A.SassNumber) && !t1.$index($arguments, 0).get$isSpecialNumber())
  53672. A.warnForDeprecation(string$.Globalci, B.Deprecation_1AX);
  53673. return A._invert($arguments, true);
  53674. },
  53675. $signature: 4
  53676. };
  53677. A.global_closure12.prototype = {
  53678. call$1(color) {
  53679. return color._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  53680. },
  53681. $signature: 45
  53682. };
  53683. A.global_closure13.prototype = {
  53684. call$1(color) {
  53685. return color._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  53686. },
  53687. $signature: 45
  53688. };
  53689. A.global_closure14.prototype = {
  53690. call$1(color) {
  53691. return color._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  53692. },
  53693. $signature: 45
  53694. };
  53695. A.global_closure15.prototype = {
  53696. call$1($arguments) {
  53697. return A._hsl("hsl", $arguments);
  53698. },
  53699. $signature: 4
  53700. };
  53701. A.global_closure16.prototype = {
  53702. call$1($arguments) {
  53703. return A._hsl("hsl", $arguments);
  53704. },
  53705. $signature: 4
  53706. };
  53707. A.global_closure17.prototype = {
  53708. call$1($arguments) {
  53709. var t1 = J.getInterceptor$asx($arguments);
  53710. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  53711. return A._functionString("hsl", $arguments);
  53712. else
  53713. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  53714. },
  53715. $signature: 17
  53716. };
  53717. A.global_closure18.prototype = {
  53718. call$1($arguments) {
  53719. return A._parseChannels("hsl", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ2);
  53720. },
  53721. $signature: 4
  53722. };
  53723. A.global_closure19.prototype = {
  53724. call$1($arguments) {
  53725. return A._hsl("hsla", $arguments);
  53726. },
  53727. $signature: 4
  53728. };
  53729. A.global_closure20.prototype = {
  53730. call$1($arguments) {
  53731. return A._hsl("hsla", $arguments);
  53732. },
  53733. $signature: 4
  53734. };
  53735. A.global_closure21.prototype = {
  53736. call$1($arguments) {
  53737. var t1 = J.getInterceptor$asx($arguments);
  53738. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  53739. return A._functionString("hsla", $arguments);
  53740. else
  53741. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  53742. },
  53743. $signature: 17
  53744. };
  53745. A.global_closure22.prototype = {
  53746. call$1($arguments) {
  53747. return A._parseChannels("hsla", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ2);
  53748. },
  53749. $signature: 4
  53750. };
  53751. A.global_closure23.prototype = {
  53752. call$1($arguments) {
  53753. var t1 = J.getInterceptor$asx($arguments);
  53754. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  53755. return A._functionString("grayscale", $arguments);
  53756. else {
  53757. A.warnForDeprecation(string$.Globalcg, B.Deprecation_1AX);
  53758. return A._grayscale(t1.$index($arguments, 0));
  53759. }
  53760. },
  53761. $signature: 4
  53762. };
  53763. A.global_closure24.prototype = {
  53764. call$1($arguments) {
  53765. var t1 = J.getInterceptor$asx($arguments),
  53766. color = t1.$index($arguments, 0).assertColor$1("color"),
  53767. degrees = A._angleValue(t1.$index($arguments, 1), "degrees");
  53768. if (!color._space.get$isLegacyInternal())
  53769. throw A.wrapException(A.SassScriptException$(string$.adjusto, null));
  53770. A.warnForDeprecation(string$.adjustd + A.SassNumber_SassNumber(degrees, "deg").toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_cyE);
  53771. return color.changeHsl$1$hue(color._legacyChannel$2(B.HslColorSpace_JQ2, "hue") + degrees);
  53772. },
  53773. $signature: 22
  53774. };
  53775. A.global_closure25.prototype = {
  53776. call$1($arguments) {
  53777. var result,
  53778. _s9_ = "lightness",
  53779. t1 = J.getInterceptor$asx($arguments),
  53780. color = t1.$index($arguments, 0).assertColor$1("color"),
  53781. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53782. if (!color._space.get$isLegacyInternal())
  53783. throw A.wrapException(A.SassScriptException$(string$.lighte, null));
  53784. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s9_) + amount.valueInRange$3(0, 100, "amount");
  53785. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53786. A.warnForDeprecation("lighten() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53787. return result;
  53788. },
  53789. $signature: 22
  53790. };
  53791. A.global_closure26.prototype = {
  53792. call$1($arguments) {
  53793. var result,
  53794. _s9_ = "lightness",
  53795. t1 = J.getInterceptor$asx($arguments),
  53796. color = t1.$index($arguments, 0).assertColor$1("color"),
  53797. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53798. if (!color._space.get$isLegacyInternal())
  53799. throw A.wrapException(A.SassScriptException$(string$.darken, null));
  53800. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s9_) - amount.valueInRange$3(0, 100, "amount");
  53801. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53802. A.warnForDeprecation("darken() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53803. return result;
  53804. },
  53805. $signature: 22
  53806. };
  53807. A.global_closure27.prototype = {
  53808. call$1($arguments) {
  53809. var t1 = J.getInterceptor$asx($arguments);
  53810. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  53811. return A._functionString("saturate", $arguments);
  53812. return new A.SassString("saturate(" + A.serializeValue(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  53813. },
  53814. $signature: 17
  53815. };
  53816. A.global_closure28.prototype = {
  53817. call$1($arguments) {
  53818. var t1, color, amount, result,
  53819. _s10_ = "saturation";
  53820. A.warnForDeprecation(string$.Globalcad, B.Deprecation_1AX);
  53821. t1 = J.getInterceptor$asx($arguments);
  53822. color = t1.$index($arguments, 0).assertColor$1("color");
  53823. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53824. if (!color._space.get$isLegacyInternal())
  53825. throw A.wrapException(A.SassScriptException$(string$.satura, null));
  53826. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s10_) + amount.valueInRange$3(0, 100, "amount");
  53827. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53828. A.warnForDeprecation("saturate() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53829. return result;
  53830. },
  53831. $signature: 22
  53832. };
  53833. A.global_closure29.prototype = {
  53834. call$1($arguments) {
  53835. var result,
  53836. _s10_ = "saturation",
  53837. t1 = J.getInterceptor$asx($arguments),
  53838. color = t1.$index($arguments, 0).assertColor$1("color"),
  53839. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53840. if (!color._space.get$isLegacyInternal())
  53841. throw A.wrapException(A.SassScriptException$(string$.desatu, null));
  53842. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s10_) - amount.valueInRange$3(0, 100, "amount");
  53843. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53844. A.warnForDeprecation("desaturate() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53845. return result;
  53846. },
  53847. $signature: 22
  53848. };
  53849. A.global_closure30.prototype = {
  53850. call$1($arguments) {
  53851. return A._opacify("opacify", $arguments);
  53852. },
  53853. $signature: 22
  53854. };
  53855. A.global_closure31.prototype = {
  53856. call$1($arguments) {
  53857. return A._opacify("fade-in", $arguments);
  53858. },
  53859. $signature: 22
  53860. };
  53861. A.global_closure32.prototype = {
  53862. call$1($arguments) {
  53863. return A._transparentize("transparentize", $arguments);
  53864. },
  53865. $signature: 22
  53866. };
  53867. A.global_closure33.prototype = {
  53868. call$1($arguments) {
  53869. return A._transparentize("fade-out", $arguments);
  53870. },
  53871. $signature: 22
  53872. };
  53873. A.global_closure34.prototype = {
  53874. call$1($arguments) {
  53875. var _0_0 = J.$index$asx($arguments, 0),
  53876. t1 = false;
  53877. if (_0_0 instanceof A.SassString)
  53878. if (!_0_0._hasQuotes)
  53879. t1 = B.JSString_methods.contains$1(_0_0._string$_text, $.$get$_microsoftFilterStart());
  53880. if (t1)
  53881. return A._functionString("alpha", $arguments);
  53882. if (_0_0 instanceof A.SassColor && !_0_0._space.get$isLegacyInternal())
  53883. throw A.wrapException(A.SassScriptException$(string$.alpha_, null));
  53884. A.warnForDeprecation(string$.Globalcal, B.Deprecation_1AX);
  53885. t1 = _0_0.assertColor$1("color").alphaOrNull;
  53886. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  53887. },
  53888. $signature: 4
  53889. };
  53890. A.global_closure35.prototype = {
  53891. call$1($arguments) {
  53892. var t1,
  53893. argList = J.$index$asx($arguments, 0).get$asList();
  53894. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
  53895. return A._functionString("alpha", $arguments);
  53896. t1 = argList.length;
  53897. if (t1 === 0)
  53898. throw A.wrapException(A.SassScriptException$("Missing argument $color.", null));
  53899. else
  53900. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed.", null));
  53901. },
  53902. $signature: 17
  53903. };
  53904. A.global__closure.prototype = {
  53905. call$1(argument) {
  53906. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  53907. },
  53908. $signature: 72
  53909. };
  53910. A.global_closure36.prototype = {
  53911. call$1($arguments) {
  53912. var t1 = J.getInterceptor$asx($arguments);
  53913. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  53914. return A._functionString("opacity", $arguments);
  53915. A.warnForDeprecation(string$.Globalco, B.Deprecation_1AX);
  53916. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  53917. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  53918. },
  53919. $signature: 4
  53920. };
  53921. A.global_closure37.prototype = {
  53922. call$1($arguments) {
  53923. return A._parseChannels("color", J.$index$asx($arguments, 0), "description", null);
  53924. },
  53925. $signature: 4
  53926. };
  53927. A.global_closure38.prototype = {
  53928. call$1($arguments) {
  53929. return A._parseChannels("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ);
  53930. },
  53931. $signature: 4
  53932. };
  53933. A.global_closure39.prototype = {
  53934. call$1($arguments) {
  53935. return A._parseChannels("lab", J.$index$asx($arguments, 0), "channels", B.LabColorSpace_2nT);
  53936. },
  53937. $signature: 4
  53938. };
  53939. A.global_closure40.prototype = {
  53940. call$1($arguments) {
  53941. return A._parseChannels("lch", J.$index$asx($arguments, 0), "channels", B.LchColorSpace_Bpv);
  53942. },
  53943. $signature: 4
  53944. };
  53945. A.global_closure41.prototype = {
  53946. call$1($arguments) {
  53947. return A._parseChannels("oklab", J.$index$asx($arguments, 0), "channels", B.OklabColorSpace_540);
  53948. },
  53949. $signature: 4
  53950. };
  53951. A.global_closure42.prototype = {
  53952. call$1($arguments) {
  53953. return A._parseChannels("oklch", J.$index$asx($arguments, 0), "channels", B.OklchColorSpace_9Gj);
  53954. },
  53955. $signature: 4
  53956. };
  53957. A.module_closure1.prototype = {
  53958. call$1(color) {
  53959. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  53960. },
  53961. $signature: 58
  53962. };
  53963. A.module_closure2.prototype = {
  53964. call$1(color) {
  53965. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  53966. },
  53967. $signature: 58
  53968. };
  53969. A.module_closure3.prototype = {
  53970. call$1(color) {
  53971. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  53972. },
  53973. $signature: 58
  53974. };
  53975. A.module_closure4.prototype = {
  53976. call$1($arguments) {
  53977. var result = A._invert($arguments, false);
  53978. if (result instanceof A.SassString)
  53979. A.warnForDeprecation("Passing a number (" + J.$index$asx($arguments, 0).toString$0(0) + string$.x29x20to_ci + result.toString$0(0), B.Deprecation_u0j);
  53980. return result;
  53981. },
  53982. $signature: 4
  53983. };
  53984. A.module_closure5.prototype = {
  53985. call$1(color) {
  53986. return color._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  53987. },
  53988. $signature: 45
  53989. };
  53990. A.module_closure6.prototype = {
  53991. call$1(color) {
  53992. return color._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  53993. },
  53994. $signature: 45
  53995. };
  53996. A.module_closure7.prototype = {
  53997. call$1(color) {
  53998. return color._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  53999. },
  54000. $signature: 45
  54001. };
  54002. A.module_closure8.prototype = {
  54003. call$1($arguments) {
  54004. var result,
  54005. t1 = J.getInterceptor$asx($arguments);
  54006. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  54007. result = A._functionString("grayscale", t1.take$1($arguments, 1));
  54008. A.warnForDeprecation("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x29x20to_cg + result.toString$0(0), B.Deprecation_u0j);
  54009. return result;
  54010. }
  54011. return A._grayscale(t1.$index($arguments, 0));
  54012. },
  54013. $signature: 4
  54014. };
  54015. A.module_closure9.prototype = {
  54016. call$1($arguments) {
  54017. var t1 = J.getInterceptor$asx($arguments),
  54018. t2 = type$.JSArray_Value;
  54019. 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);
  54020. },
  54021. $signature: 4
  54022. };
  54023. A.module_closure10.prototype = {
  54024. call$1($arguments) {
  54025. return A._parseChannels("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ);
  54026. },
  54027. $signature: 4
  54028. };
  54029. A.module_closure11.prototype = {
  54030. call$1(color) {
  54031. return color._legacyChannel$2(B.HwbColorSpace_guQ, "whiteness");
  54032. },
  54033. $signature: 45
  54034. };
  54035. A.module_closure12.prototype = {
  54036. call$1(color) {
  54037. return color._legacyChannel$2(B.HwbColorSpace_guQ, "blackness");
  54038. },
  54039. $signature: 45
  54040. };
  54041. A.module_closure13.prototype = {
  54042. call$1($arguments) {
  54043. var result,
  54044. _0_0 = J.$index$asx($arguments, 0),
  54045. t1 = false;
  54046. if (_0_0 instanceof A.SassString)
  54047. if (!_0_0._hasQuotes)
  54048. t1 = B.JSString_methods.contains$1(_0_0._string$_text, $.$get$_microsoftFilterStart());
  54049. if (t1) {
  54050. result = A._functionString("alpha", $arguments);
  54051. A.warnForDeprecation(string$.Using_c + result.toString$0(0), B.Deprecation_u0j);
  54052. return result;
  54053. }
  54054. if (_0_0 instanceof A.SassColor && !_0_0._space.get$isLegacyInternal())
  54055. throw A.wrapException(A.SassScriptException$(string$.color_a, null));
  54056. t1 = _0_0.assertColor$1("color").alphaOrNull;
  54057. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54058. },
  54059. $signature: 4
  54060. };
  54061. A.module_closure14.prototype = {
  54062. call$1($arguments) {
  54063. var result,
  54064. t1 = J.getInterceptor$asx($arguments);
  54065. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure2())) {
  54066. result = A._functionString("alpha", $arguments);
  54067. A.warnForDeprecation(string$.Using_c + result.toString$0(0), B.Deprecation_u0j);
  54068. return result;
  54069. }
  54070. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  54071. },
  54072. $signature: 17
  54073. };
  54074. A.module__closure2.prototype = {
  54075. call$1(argument) {
  54076. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  54077. },
  54078. $signature: 72
  54079. };
  54080. A.module_closure15.prototype = {
  54081. call$1($arguments) {
  54082. var result,
  54083. t1 = J.getInterceptor$asx($arguments);
  54084. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  54085. result = A._functionString("opacity", $arguments);
  54086. A.warnForDeprecation("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x20to_co + result.toString$0(0), B.Deprecation_u0j);
  54087. return result;
  54088. }
  54089. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  54090. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54091. },
  54092. $signature: 4
  54093. };
  54094. A.module_closure16.prototype = {
  54095. call$1($arguments) {
  54096. return new A.SassString(J.get$first$ax($arguments).assertColor$1("color")._space.name, false);
  54097. },
  54098. $signature: 17
  54099. };
  54100. A.module_closure17.prototype = {
  54101. call$1($arguments) {
  54102. var t1 = J.getInterceptor$asx($arguments);
  54103. return A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 1), false);
  54104. },
  54105. $signature: 22
  54106. };
  54107. A.module_closure18.prototype = {
  54108. call$1($arguments) {
  54109. return J.$index$asx($arguments, 0).assertColor$1("color")._space.get$isLegacyInternal() ? B.SassBoolean_true : B.SassBoolean_false;
  54110. },
  54111. $signature: 12
  54112. };
  54113. A.module_closure19.prototype = {
  54114. call$1($arguments) {
  54115. var t1 = J.getInterceptor$asx($arguments);
  54116. 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;
  54117. },
  54118. $signature: 12
  54119. };
  54120. A.module_closure20.prototype = {
  54121. call$1($arguments) {
  54122. var t1 = J.getInterceptor$asx($arguments);
  54123. return A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 1), true).get$isInGamut() ? B.SassBoolean_true : B.SassBoolean_false;
  54124. },
  54125. $signature: 12
  54126. };
  54127. A.module_closure21.prototype = {
  54128. call$1($arguments) {
  54129. var space, method, _s5_ = "space", _s6_ = "method",
  54130. t1 = J.getInterceptor$asx($arguments),
  54131. color = t1.$index($arguments, 0).assertColor$1("color"),
  54132. t2 = t1.$index($arguments, 1);
  54133. if (t2.$eq(0, B.C__SassNull))
  54134. space = color._space;
  54135. else {
  54136. t2 = t2.assertString$1(_s5_);
  54137. t2.assertUnquoted$1(_s5_);
  54138. space = A.ColorSpace_fromName(t2._string$_text, _s5_);
  54139. }
  54140. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull))
  54141. throw A.wrapException(A.SassScriptException$(string$.color_t, _s6_));
  54142. t1 = t1.$index($arguments, 2).assertString$1(_s6_);
  54143. t1.assertUnquoted$1(_s6_);
  54144. method = A.GamutMapMethod_GamutMapMethod$fromName(t1._string$_text);
  54145. if (!space.get$isBoundedInternal())
  54146. return color;
  54147. t1 = color.toSpace$1(space);
  54148. t1 = t1.get$isInGamut() ? t1 : method.map$1(0, t1);
  54149. return t1.toSpace$2$legacyMissing(color._space, false);
  54150. },
  54151. $signature: 22
  54152. };
  54153. A.module_closure22.prototype = {
  54154. call$1($arguments) {
  54155. var channelIndex, channelInfo, channelValue, unit,
  54156. t1 = J.getInterceptor$asx($arguments),
  54157. color = A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 2), true),
  54158. channelName = A._channelName(t1.$index($arguments, 1));
  54159. if (channelName === "alpha") {
  54160. t1 = color.alphaOrNull;
  54161. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54162. }
  54163. t1 = color._space._channels;
  54164. channelIndex = B.JSArray_methods.indexWhere$1(t1, new A.module__closure1(channelName));
  54165. if (channelIndex === -1)
  54166. throw A.wrapException(A.SassScriptException$("Color " + color.toString$0(0) + " has no channel named " + channelName + ".", "channel"));
  54167. channelInfo = t1[channelIndex];
  54168. channelValue = color.get$channels()[channelIndex];
  54169. unit = channelInfo.associatedUnit;
  54170. return A.SassNumber_SassNumber(unit === "%" ? channelValue * 100 / type$.LinearChannel._as(channelInfo).max : channelValue, unit);
  54171. },
  54172. $signature: 23
  54173. };
  54174. A.module__closure1.prototype = {
  54175. call$1(channel) {
  54176. return channel.name === this.channelName;
  54177. },
  54178. $signature: 92
  54179. };
  54180. A.module_closure23.prototype = {
  54181. call$1($arguments) {
  54182. var t2, t3,
  54183. t1 = J.getInterceptor$asx($arguments),
  54184. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  54185. color2 = t1.$index($arguments, 1).assertColor$1("color2");
  54186. t1 = new A.module_closure_toXyzNoMissing();
  54187. if (color1._space === color2._space) {
  54188. t1 = color1.channel0OrNull;
  54189. t2 = false;
  54190. if (t1 == null)
  54191. t1 = 0;
  54192. t3 = color2.channel0OrNull;
  54193. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54194. t1 = color1.channel1OrNull;
  54195. if (t1 == null)
  54196. t1 = 0;
  54197. t3 = color2.channel1OrNull;
  54198. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54199. t1 = color1.channel2OrNull;
  54200. if (t1 == null)
  54201. t1 = 0;
  54202. t3 = color2.channel2OrNull;
  54203. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54204. t1 = color1.alphaOrNull;
  54205. if (t1 == null)
  54206. t1 = 0;
  54207. t2 = color2.alphaOrNull;
  54208. t1 = A.fuzzyEquals(t1, t2 == null ? 0 : t2);
  54209. } else
  54210. t1 = t2;
  54211. } else
  54212. t1 = t2;
  54213. } else
  54214. t1 = t2;
  54215. } else
  54216. t1 = J.$eq$(t1.call$1(color1), t1.call$1(color2));
  54217. return t1 ? B.SassBoolean_true : B.SassBoolean_false;
  54218. },
  54219. $signature: 12
  54220. };
  54221. A.module_closure_toXyzNoMissing.prototype = {
  54222. call$1(color) {
  54223. var _1_1, _1_3, t1, _1_7, channel0, _1_8, channel1, _1_9, channel2, _1_10, alpha, _null = null;
  54224. $label0$0: {
  54225. _1_1 = color._space;
  54226. _1_3 = B.XyzD65ColorSpace_WiJ === _1_1;
  54227. t1 = _1_3;
  54228. if (t1)
  54229. t1 = !(color.channel0OrNull == null || color.channel1OrNull == null || color.channel2OrNull == null || color.alphaOrNull == null);
  54230. else
  54231. t1 = false;
  54232. if (t1) {
  54233. t1 = color;
  54234. break $label0$0;
  54235. }
  54236. if (_1_3) {
  54237. _1_7 = color.channel0OrNull;
  54238. if (_1_7 == null)
  54239. _1_7 = 0;
  54240. channel0 = _1_7;
  54241. _1_8 = color.channel1OrNull;
  54242. if (_1_8 == null)
  54243. _1_8 = 0;
  54244. channel1 = _1_8;
  54245. _1_9 = color.channel2OrNull;
  54246. if (_1_9 == null)
  54247. _1_9 = 0;
  54248. channel2 = _1_9;
  54249. _1_10 = color.alphaOrNull;
  54250. if (_1_10 == null)
  54251. _1_10 = 0;
  54252. alpha = _1_10;
  54253. t1 = A.SassColor$_forSpace(B.XyzD65ColorSpace_WiJ, channel0, channel1, channel2, alpha, _null);
  54254. break $label0$0;
  54255. }
  54256. _1_7 = color.channel0OrNull;
  54257. if (_1_7 == null)
  54258. _1_7 = 0;
  54259. channel0 = _1_7;
  54260. _1_8 = color.channel1OrNull;
  54261. if (_1_8 == null)
  54262. _1_8 = 0;
  54263. channel1 = _1_8;
  54264. _1_9 = color.channel2OrNull;
  54265. if (_1_9 == null)
  54266. _1_9 = 0;
  54267. channel2 = _1_9;
  54268. _1_10 = color.alphaOrNull;
  54269. if (_1_10 == null)
  54270. _1_10 = 0;
  54271. alpha = _1_10;
  54272. t1 = _1_1.convert$5(B.XyzD65ColorSpace_WiJ, channel0, channel1, channel2, alpha);
  54273. break $label0$0;
  54274. }
  54275. return t1;
  54276. },
  54277. $signature: 397
  54278. };
  54279. A.module_closure24.prototype = {
  54280. call$1($arguments) {
  54281. var t1 = J.getInterceptor$asx($arguments);
  54282. 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;
  54283. },
  54284. $signature: 12
  54285. };
  54286. A._mix_closure.prototype = {
  54287. call$1($arguments) {
  54288. var _s6_ = "weight",
  54289. _s41_ = string$.To_usem,
  54290. _s29_ = ", you must provide a $method.",
  54291. t1 = J.getInterceptor$asx($arguments),
  54292. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  54293. color2 = t1.$index($arguments, 1).assertColor$1("color2"),
  54294. weight = t1.$index($arguments, 2).assertNumber$1(_s6_);
  54295. if (!t1.$index($arguments, 3).$eq(0, B.C__SassNull))
  54296. return color1.interpolate$4$legacyMissing$weight(color2, A.InterpolationMethod_InterpolationMethod$fromValue(t1.$index($arguments, 3), "method"), false, weight.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100);
  54297. A._checkPercent(weight, _s6_);
  54298. if (!color1._space.get$isLegacyInternal())
  54299. throw A.wrapException(A.SassScriptException$(_s41_ + color1.toString$0(0) + _s29_, "color1"));
  54300. else if (!color2._space.get$isLegacyInternal())
  54301. throw A.wrapException(A.SassScriptException$(_s41_ + color2.toString$0(0) + _s29_, "color2"));
  54302. return A._mixLegacy(color1, color2, weight);
  54303. },
  54304. $signature: 22
  54305. };
  54306. A._complement_closure.prototype = {
  54307. call$1($arguments) {
  54308. var space, t3, colorInSpace, t4, t5, t6, _s5_ = "space",
  54309. t1 = J.getInterceptor$asx($arguments),
  54310. color = t1.$index($arguments, 0).assertColor$1("color"),
  54311. t2 = color._space;
  54312. if (t2.get$isLegacyInternal() && t1.$index($arguments, 1).$eq(0, B.C__SassNull))
  54313. space = B.HslColorSpace_JQ2;
  54314. else {
  54315. t3 = t1.$index($arguments, 1).assertString$1(_s5_);
  54316. t3.assertUnquoted$1(_s5_);
  54317. space = A.ColorSpace_fromName(t3._string$_text, _s5_);
  54318. }
  54319. if (!space.get$isPolarInternal())
  54320. throw A.wrapException(A.SassScriptException$("Color space " + space.toString$0(0) + " doesn't have a hue channel.", _s5_));
  54321. colorInSpace = color.toSpace$2$legacyMissing(space, !t1.$index($arguments, 1).$eq(0, B.C__SassNull));
  54322. t1 = space._channels;
  54323. t3 = colorInSpace.channel0OrNull;
  54324. t4 = colorInSpace.channel1OrNull;
  54325. t5 = colorInSpace.channel2OrNull;
  54326. t6 = colorInSpace.alphaOrNull;
  54327. 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);
  54328. },
  54329. $signature: 22
  54330. };
  54331. A._adjust_closure.prototype = {
  54332. call$1($arguments) {
  54333. return A._updateComponents($arguments, true, false, false);
  54334. },
  54335. $signature: 22
  54336. };
  54337. A._scale_closure.prototype = {
  54338. call$1($arguments) {
  54339. return A._updateComponents($arguments, false, false, true);
  54340. },
  54341. $signature: 22
  54342. };
  54343. A._change_closure.prototype = {
  54344. call$1($arguments) {
  54345. return A._updateComponents($arguments, false, true, false);
  54346. },
  54347. $signature: 22
  54348. };
  54349. A._ieHexStr_closure.prototype = {
  54350. call$1($arguments) {
  54351. var t1, t2, t3, t4, t5,
  54352. color = J.$index$asx($arguments, 0).assertColor$1("color").toSpace$1(B.RgbColorSpace_i0P);
  54353. color = color.get$isInGamut() ? color : B.LocalMindeGamutMap_A2x.map$1(0, color);
  54354. t1 = new A._ieHexStr_closure_hexString();
  54355. t2 = color.alphaOrNull;
  54356. t2 = A.S(t1.call$1((t2 == null ? 0 : t2) * 255));
  54357. t3 = color.channel0OrNull;
  54358. t3 = A.S(t1.call$1(t3 == null ? 0 : t3));
  54359. t4 = color.channel1OrNull;
  54360. t4 = A.S(t1.call$1(t4 == null ? 0 : t4));
  54361. t5 = color.channel2OrNull;
  54362. return new A.SassString("#" + t2 + t3 + t4 + A.S(t1.call$1(t5 == null ? 0 : t5)), false);
  54363. },
  54364. $signature: 17
  54365. };
  54366. A._ieHexStr_closure_hexString.prototype = {
  54367. call$1(component) {
  54368. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(A.fuzzyRound(component), 16), 2, "0").toUpperCase();
  54369. },
  54370. $signature: 207
  54371. };
  54372. A._updateComponents_closure.prototype = {
  54373. call$1(space) {
  54374. return this.originalColor.toSpace$2$legacyMissing(space, false);
  54375. },
  54376. $signature: 416
  54377. };
  54378. A._updateComponents_closure0.prototype = {
  54379. call$1(info) {
  54380. return this._box_0.name === info.name;
  54381. },
  54382. $signature: 92
  54383. };
  54384. A._changeColor_closure.prototype = {
  54385. call$0() {
  54386. var t1 = this.alphaArg;
  54387. A.warnForDeprecation("$alpha: Passing a unit other than % (" + A.S(t1) + string$.x29x20is_d + t1.unitSuggestion$1("alpha") + string$.x0a_See_, B.Deprecation_jG1);
  54388. return t1.valueInRange$3(0, 1, "alpha");
  54389. },
  54390. $signature: 201
  54391. };
  54392. A._adjustColor_closure.prototype = {
  54393. call$1(alpha) {
  54394. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  54395. },
  54396. $signature: 16
  54397. };
  54398. A._functionString_closure.prototype = {
  54399. call$1(argument) {
  54400. return A.serializeValue(argument, false, true);
  54401. },
  54402. $signature: 451
  54403. };
  54404. A._removedColorFunction_closure.prototype = {
  54405. call$1($arguments) {
  54406. var t1 = this.name,
  54407. t2 = J.getInterceptor$asx($arguments),
  54408. t3 = t2.$index($arguments, 0).toString$0(0),
  54409. t4 = this.negative ? "-" : "";
  54410. 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));
  54411. },
  54412. $signature: 456
  54413. };
  54414. A._rgb_closure.prototype = {
  54415. call$1(alpha) {
  54416. var t1 = A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  54417. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  54418. },
  54419. $signature: 266
  54420. };
  54421. A._hsl_closure.prototype = {
  54422. call$1(alpha) {
  54423. var t1 = A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  54424. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  54425. },
  54426. $signature: 266
  54427. };
  54428. A._parseChannels_closure.prototype = {
  54429. call$1($name) {
  54430. return $name + " channel";
  54431. },
  54432. $signature: 6
  54433. };
  54434. A._parseChannels_closure0.prototype = {
  54435. call$1(channel) {
  54436. return channel.get$isSpecialNumber();
  54437. },
  54438. $signature: 72
  54439. };
  54440. A._colorFromChannels_closure.prototype = {
  54441. call$1(channel0) {
  54442. return A._angleValue(channel0, "hue");
  54443. },
  54444. $signature: 124
  54445. };
  54446. A._colorFromChannels_closure0.prototype = {
  54447. call$1(channel0) {
  54448. return A._angleValue(channel0, "hue");
  54449. },
  54450. $signature: 124
  54451. };
  54452. A._channelFromValue_closure.prototype = {
  54453. call$1(value) {
  54454. var t1, _0_8, t2, _0_5, _0_8_isSet, upperClamped, t3,
  54455. _0_0 = this.channel;
  54456. $label0$0: {
  54457. t1 = _0_0 instanceof A.LinearChannel;
  54458. if (t1 && _0_0.requiresPercent && !value.hasUnit$1("%"))
  54459. A.throwExpression(A.SassScriptException$("Expected " + value.toString$0(0) + ' to have unit "%".', _0_0.name));
  54460. _0_8 = null;
  54461. t2 = false;
  54462. if (t1) {
  54463. _0_5 = _0_0.lowerClamped;
  54464. _0_8_isSet = !_0_5;
  54465. if (_0_8_isSet) {
  54466. _0_8 = _0_0.upperClamped;
  54467. t2 = !_0_8;
  54468. }
  54469. } else {
  54470. _0_5 = null;
  54471. _0_8_isSet = false;
  54472. }
  54473. if (t2) {
  54474. t1 = A._percentageOrUnitless(value, _0_0.max, _0_0.name);
  54475. break $label0$0;
  54476. }
  54477. if (t1 && !this.clamp) {
  54478. t1 = A._percentageOrUnitless(value, _0_0.max, _0_0.name);
  54479. break $label0$0;
  54480. }
  54481. if (t1) {
  54482. upperClamped = _0_8_isSet ? _0_8 : _0_0.upperClamped;
  54483. t1 = _0_0.max;
  54484. t2 = A._percentageOrUnitless(value, t1, _0_0.name);
  54485. t3 = _0_5 ? _0_0.min : -1 / 0;
  54486. t1 = upperClamped ? t1 : 1 / 0;
  54487. t1 = isNaN(t2) ? t3 : B.JSNumber_methods.clamp$2(t2, t3, t1);
  54488. break $label0$0;
  54489. }
  54490. t1 = B.JSNumber_methods.$mod(value.coerceValueToUnit$2("deg", _0_0.name), 360);
  54491. break $label0$0;
  54492. }
  54493. return t1;
  54494. },
  54495. $signature: 124
  54496. };
  54497. A._channelFunction_closure.prototype = {
  54498. call$1($arguments) {
  54499. var _this = this,
  54500. result = A.SassNumber_SassNumber(_this.getter.call$1(J.get$first$ax($arguments).assertColor$1("color")), _this.unit),
  54501. t1 = _this.global ? "" : "color.",
  54502. t2 = _this.name;
  54503. A.warnForDeprecation(t1 + t2 + string$.x28__is_d + t2 + '", $space: ' + _this.space.toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_cyE);
  54504. return result;
  54505. },
  54506. $signature: 23
  54507. };
  54508. A._suggestScaleAndAdjust_closure.prototype = {
  54509. call$1(channel) {
  54510. return channel.name === this.channelName;
  54511. },
  54512. $signature: 92
  54513. };
  54514. A._length_closure0.prototype = {
  54515. call$1($arguments) {
  54516. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).get$asList().length, null);
  54517. },
  54518. $signature: 23
  54519. };
  54520. A._nth_closure.prototype = {
  54521. call$1($arguments) {
  54522. var t1 = J.getInterceptor$asx($arguments),
  54523. list = t1.$index($arguments, 0),
  54524. index = t1.$index($arguments, 1);
  54525. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  54526. },
  54527. $signature: 4
  54528. };
  54529. A._setNth_closure.prototype = {
  54530. call$1($arguments) {
  54531. var newList,
  54532. t1 = J.getInterceptor$asx($arguments),
  54533. list = t1.$index($arguments, 0),
  54534. index = t1.$index($arguments, 1),
  54535. value = t1.$index($arguments, 2);
  54536. t1 = list.get$asList();
  54537. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  54538. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  54539. return list.withListContents$1(newList);
  54540. },
  54541. $signature: 28
  54542. };
  54543. A._join_closure.prototype = {
  54544. call$1($arguments) {
  54545. var _0_1, _0_4, _0_3, t2, t3, _0_40, separator, bracketed, _null = null,
  54546. t1 = J.getInterceptor$asx($arguments),
  54547. list1 = t1.$index($arguments, 0),
  54548. list2 = t1.$index($arguments, 1),
  54549. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  54550. bracketedParam = t1.$index($arguments, 3),
  54551. _1_0 = separatorParam._string$_text;
  54552. $label1$1: {
  54553. if ("auto" === _1_0) {
  54554. _0_1 = list1.get$separator(list1);
  54555. _0_4 = list2.get$separator(list2);
  54556. $label0$0: {
  54557. t1 = _null;
  54558. _0_3 = B.ListSeparator_undecided_null_undecided === _0_1;
  54559. t2 = _0_3;
  54560. if (t2) {
  54561. t3 = B.ListSeparator_undecided_null_undecided === _0_4;
  54562. _0_40 = _0_4;
  54563. } else {
  54564. _0_40 = _null;
  54565. t3 = false;
  54566. }
  54567. if (t3) {
  54568. t1 = B.ListSeparator_qSL;
  54569. break $label0$0;
  54570. }
  54571. if (_0_3)
  54572. separator = t2 ? _0_40 : _0_4;
  54573. else
  54574. separator = t1;
  54575. if (!_0_3)
  54576. separator = _0_1;
  54577. t1 = separator;
  54578. break $label0$0;
  54579. }
  54580. break $label1$1;
  54581. }
  54582. if ("space" === _1_0) {
  54583. t1 = B.ListSeparator_qSL;
  54584. break $label1$1;
  54585. }
  54586. if ("comma" === _1_0) {
  54587. t1 = B.ListSeparator_qVN;
  54588. break $label1$1;
  54589. }
  54590. if ("slash" === _1_0) {
  54591. t1 = B.ListSeparator_bRz;
  54592. break $label1$1;
  54593. }
  54594. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, _null));
  54595. }
  54596. bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  54597. t2 = A.List_List$of(list1.get$asList(), true, type$.Value);
  54598. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  54599. return A.SassList$(t2, t1, bracketed);
  54600. },
  54601. $signature: 28
  54602. };
  54603. A._append_closure0.prototype = {
  54604. call$1($arguments) {
  54605. var t2,
  54606. t1 = J.getInterceptor$asx($arguments),
  54607. list = t1.$index($arguments, 0),
  54608. value = t1.$index($arguments, 1),
  54609. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
  54610. $label0$0: {
  54611. if ("auto" === _0_0) {
  54612. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qSL : list.get$separator(list);
  54613. break $label0$0;
  54614. }
  54615. if ("space" === _0_0) {
  54616. t1 = B.ListSeparator_qSL;
  54617. break $label0$0;
  54618. }
  54619. if ("comma" === _0_0) {
  54620. t1 = B.ListSeparator_qVN;
  54621. break $label0$0;
  54622. }
  54623. if ("slash" === _0_0) {
  54624. t1 = B.ListSeparator_bRz;
  54625. break $label0$0;
  54626. }
  54627. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, null));
  54628. }
  54629. t2 = A.List_List$of(list.get$asList(), true, type$.Value);
  54630. t2.push(value);
  54631. return list.withListContents$2$separator(t2, t1);
  54632. },
  54633. $signature: 28
  54634. };
  54635. A._zip_closure.prototype = {
  54636. call$1($arguments) {
  54637. var results, result, _box_0 = {},
  54638. t1 = J.$index$asx($arguments, 0).get$asList(),
  54639. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
  54640. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure(), t2), true, t2._eval$1("ListIterable.E"));
  54641. if (lists.length === 0)
  54642. return B.SassList_BlY;
  54643. _box_0.i = 0;
  54644. results = A._setArrayType([], type$.JSArray_SassList);
  54645. 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));) {
  54646. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
  54647. result.$flags = 3;
  54648. results.push(new A.SassList(result, B.ListSeparator_qSL, false));
  54649. ++_box_0.i;
  54650. }
  54651. return A.SassList$(results, B.ListSeparator_qVN, false);
  54652. },
  54653. $signature: 28
  54654. };
  54655. A._zip__closure.prototype = {
  54656. call$1(list) {
  54657. return list.get$asList();
  54658. },
  54659. $signature: 499
  54660. };
  54661. A._zip__closure0.prototype = {
  54662. call$1(list) {
  54663. return this._box_0.i !== J.get$length$asx(list);
  54664. },
  54665. $signature: 563
  54666. };
  54667. A._zip__closure1.prototype = {
  54668. call$1(list) {
  54669. return J.$index$asx(list, this._box_0.i);
  54670. },
  54671. $signature: 4
  54672. };
  54673. A._index_closure0.prototype = {
  54674. call$1($arguments) {
  54675. var t1 = J.getInterceptor$asx($arguments),
  54676. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  54677. return index === -1 ? B.C__SassNull : A.SassNumber_SassNumber(index + 1, null);
  54678. },
  54679. $signature: 4
  54680. };
  54681. A._separator_closure.prototype = {
  54682. call$1($arguments) {
  54683. var t1 = J.$index$asx($arguments, 0),
  54684. _0_0 = t1.get$separator(t1);
  54685. $label0$0: {
  54686. if (B.ListSeparator_qVN === _0_0) {
  54687. t1 = new A.SassString("comma", false);
  54688. break $label0$0;
  54689. }
  54690. if (B.ListSeparator_bRz === _0_0) {
  54691. t1 = new A.SassString("slash", false);
  54692. break $label0$0;
  54693. }
  54694. t1 = new A.SassString("space", false);
  54695. break $label0$0;
  54696. }
  54697. return t1;
  54698. },
  54699. $signature: 17
  54700. };
  54701. A._isBracketed_closure.prototype = {
  54702. call$1($arguments) {
  54703. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
  54704. },
  54705. $signature: 12
  54706. };
  54707. A._slash_closure.prototype = {
  54708. call$1($arguments) {
  54709. var list = J.$index$asx($arguments, 0).get$asList();
  54710. if (list.length < 2)
  54711. throw A.wrapException(A.SassScriptException$("At least two elements are required.", null));
  54712. return A.SassList$(list, B.ListSeparator_bRz, false);
  54713. },
  54714. $signature: 28
  54715. };
  54716. A._get_closure.prototype = {
  54717. call$1($arguments) {
  54718. var value,
  54719. t1 = J.getInterceptor$asx($arguments),
  54720. map = t1.$index($arguments, 0).assertMap$1("map"),
  54721. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54722. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54723. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  54724. value = map._map$_contents.$index(0, t1.get$current(t1));
  54725. if (!(value instanceof A.SassMap))
  54726. return B.C__SassNull;
  54727. }
  54728. t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
  54729. return t1 == null ? B.C__SassNull : t1;
  54730. },
  54731. $signature: 4
  54732. };
  54733. A._set_closure.prototype = {
  54734. call$1($arguments) {
  54735. var t1 = J.getInterceptor$asx($arguments);
  54736. 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);
  54737. },
  54738. $signature: 4
  54739. };
  54740. A._set__closure0.prototype = {
  54741. call$1(_) {
  54742. return J.$index$asx(this.$arguments, 2);
  54743. },
  54744. $signature: 41
  54745. };
  54746. A._set_closure0.prototype = {
  54747. call$1($arguments) {
  54748. var keys, t2, t3,
  54749. t1 = J.getInterceptor$asx($arguments),
  54750. map = t1.$index($arguments, 0).assertMap$1("map"),
  54751. _0_0 = t1.$index($arguments, 1).get$asList(),
  54752. _0_1 = _0_0.length;
  54753. if (_0_1 <= 0)
  54754. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  54755. if (_0_1 === 1)
  54756. throw A.wrapException(A.SassScriptException$("Expected $args to contain a value.", null));
  54757. t1 = {};
  54758. keys = t1.value = null;
  54759. t2 = _0_1 >= 1;
  54760. if (t2) {
  54761. t3 = _0_1 - 1;
  54762. keys = B.JSArray_methods.sublist$2(_0_0, 0, t3);
  54763. t1.value = _0_0[t3];
  54764. }
  54765. if (t2)
  54766. return A._modify(map, keys, new A._set__closure(t1), true);
  54767. throw A.wrapException("[BUG] Unreachable code");
  54768. },
  54769. $signature: 4
  54770. };
  54771. A._set__closure.prototype = {
  54772. call$1(_) {
  54773. return this._box_0.value;
  54774. },
  54775. $signature: 41
  54776. };
  54777. A._merge_closure.prototype = {
  54778. call$1($arguments) {
  54779. var t2,
  54780. t1 = J.getInterceptor$asx($arguments),
  54781. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  54782. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  54783. t1 = type$.Value;
  54784. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map$_contents, t1, t1);
  54785. t2.addAll$1(0, map2._map$_contents);
  54786. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  54787. },
  54788. $signature: 33
  54789. };
  54790. A._merge_closure0.prototype = {
  54791. call$1($arguments) {
  54792. var last, t2, keys, _null = null,
  54793. t1 = J.getInterceptor$asx($arguments),
  54794. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  54795. _0_0 = t1.$index($arguments, 1).get$asList(),
  54796. _0_1 = _0_0.length;
  54797. if (_0_1 <= 0)
  54798. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", _null));
  54799. if (_0_1 === 1)
  54800. throw A.wrapException(A.SassScriptException$("Expected $args to contain a map.", _null));
  54801. t1 = _0_1 >= 1;
  54802. last = _null;
  54803. if (t1) {
  54804. t2 = _0_1 - 1;
  54805. keys = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  54806. last = _0_0[t2];
  54807. } else
  54808. keys = _null;
  54809. if (t1)
  54810. return A._modify(map1, keys, new A._merge__closure(last.assertMap$1("map2")), true);
  54811. throw A.wrapException("[BUG] Unreachable code");
  54812. },
  54813. $signature: 4
  54814. };
  54815. A._merge__closure.prototype = {
  54816. call$1(oldValue) {
  54817. var t1, t2,
  54818. nestedMap = oldValue.tryMap$0();
  54819. if (nestedMap == null)
  54820. return this.map2;
  54821. t1 = type$.Value;
  54822. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  54823. t2.addAll$1(0, this.map2._map$_contents);
  54824. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  54825. },
  54826. $signature: 646
  54827. };
  54828. A._deepMerge_closure.prototype = {
  54829. call$1($arguments) {
  54830. var t1 = J.getInterceptor$asx($arguments);
  54831. return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  54832. },
  54833. $signature: 33
  54834. };
  54835. A._deepRemove_closure.prototype = {
  54836. call$1($arguments) {
  54837. var t1 = J.getInterceptor$asx($arguments),
  54838. map = t1.$index($arguments, 0).assertMap$1("map"),
  54839. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54840. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54841. return A._modify(map, A.IterableExtension_get_exceptLast(t2), new A._deepRemove__closure(t2), false);
  54842. },
  54843. $signature: 4
  54844. };
  54845. A._deepRemove__closure.prototype = {
  54846. call$1(value) {
  54847. var t1, nestedMap, t2,
  54848. _0_0 = value.tryMap$0();
  54849. if (_0_0 != null) {
  54850. t1 = _0_0._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  54851. nestedMap = _0_0;
  54852. } else {
  54853. nestedMap = null;
  54854. t1 = false;
  54855. }
  54856. if (t1) {
  54857. t1 = type$.Value;
  54858. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  54859. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  54860. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  54861. }
  54862. return value;
  54863. },
  54864. $signature: 41
  54865. };
  54866. A._remove_closure.prototype = {
  54867. call$1($arguments) {
  54868. return J.$index$asx($arguments, 0).assertMap$1("map");
  54869. },
  54870. $signature: 33
  54871. };
  54872. A._remove_closure0.prototype = {
  54873. call$1($arguments) {
  54874. var mutableMap, t3, _i,
  54875. t1 = J.getInterceptor$asx($arguments),
  54876. map = t1.$index($arguments, 0).assertMap$1("map"),
  54877. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54878. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54879. t1 = type$.Value;
  54880. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
  54881. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  54882. mutableMap.remove$1(0, t2[_i]);
  54883. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54884. },
  54885. $signature: 33
  54886. };
  54887. A._keys_closure.prototype = {
  54888. call$1($arguments) {
  54889. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  54890. return A.SassList$(t1.get$keys(t1), B.ListSeparator_qVN, false);
  54891. },
  54892. $signature: 28
  54893. };
  54894. A._values_closure.prototype = {
  54895. call$1($arguments) {
  54896. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  54897. return A.SassList$(t1.get$values(t1), B.ListSeparator_qVN, false);
  54898. },
  54899. $signature: 28
  54900. };
  54901. A._hasKey_closure.prototype = {
  54902. call$1($arguments) {
  54903. var value,
  54904. t1 = J.getInterceptor$asx($arguments),
  54905. map = t1.$index($arguments, 0).assertMap$1("map"),
  54906. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54907. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54908. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  54909. value = map._map$_contents.$index(0, t1.get$current(t1));
  54910. if (!(value instanceof A.SassMap))
  54911. return B.SassBoolean_false;
  54912. }
  54913. return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  54914. },
  54915. $signature: 12
  54916. };
  54917. A._modify_modifyNestedMap.prototype = {
  54918. call$1(map) {
  54919. var nestedMap, _this = this,
  54920. t1 = type$.Value,
  54921. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
  54922. t2 = _this.keyIterator,
  54923. key = t2.get$current(t2);
  54924. if (!t2.moveNext$0()) {
  54925. t2 = mutableMap.$index(0, key);
  54926. if (t2 == null)
  54927. t2 = B.C__SassNull;
  54928. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  54929. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54930. }
  54931. t2 = mutableMap.$index(0, key);
  54932. nestedMap = t2 == null ? null : t2.tryMap$0();
  54933. t2 = nestedMap == null;
  54934. if (t2 && !_this.addNesting)
  54935. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54936. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
  54937. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54938. },
  54939. $signature: 667
  54940. };
  54941. A.global_closure.prototype = {
  54942. call$1($arguments) {
  54943. var t1,
  54944. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  54945. if (number.hasUnit$1("%"))
  54946. 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);
  54947. else
  54948. A.warnForDeprecation(string$.Globalm, B.Deprecation_1AX);
  54949. t1 = number.get$numeratorUnits(number);
  54950. return A.SassNumber_SassNumber$withUnits(Math.abs(number._number$_value), number.get$denominatorUnits(number), t1);
  54951. },
  54952. $signature: 23
  54953. };
  54954. A.module_closure0.prototype = {
  54955. call$1(value) {
  54956. return Math.abs(value);
  54957. },
  54958. $signature: 16
  54959. };
  54960. A._ceil_closure.prototype = {
  54961. call$1(value) {
  54962. return B.JSNumber_methods.ceil$0(value);
  54963. },
  54964. $signature: 16
  54965. };
  54966. A._clamp_closure.prototype = {
  54967. call$1($arguments) {
  54968. var t1 = J.getInterceptor$asx($arguments),
  54969. min = t1.$index($arguments, 0).assertNumber$1("min"),
  54970. number = t1.$index($arguments, 1).assertNumber$1("number"),
  54971. max = t1.$index($arguments, 2).assertNumber$1("max");
  54972. number.convertValueToMatch$3(min, "number", "min");
  54973. max.convertValueToMatch$3(min, "max", "min");
  54974. if (min.greaterThanOrEquals$1(max).value)
  54975. return min;
  54976. if (min.greaterThanOrEquals$1(number).value)
  54977. return min;
  54978. if (number.greaterThanOrEquals$1(max).value)
  54979. return max;
  54980. return number;
  54981. },
  54982. $signature: 23
  54983. };
  54984. A._floor_closure.prototype = {
  54985. call$1(value) {
  54986. return B.JSNumber_methods.floor$0(value);
  54987. },
  54988. $signature: 16
  54989. };
  54990. A._max_closure.prototype = {
  54991. call$1($arguments) {
  54992. var t1, t2, max, _i, number;
  54993. 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) {
  54994. number = t1[_i].assertNumber$0();
  54995. if (max == null || max.lessThan$1(number).value)
  54996. max = number;
  54997. }
  54998. if (max != null)
  54999. return max;
  55000. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  55001. },
  55002. $signature: 23
  55003. };
  55004. A._min_closure.prototype = {
  55005. call$1($arguments) {
  55006. var t1, t2, min, _i, number;
  55007. 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) {
  55008. number = t1[_i].assertNumber$0();
  55009. if (min == null || min.greaterThan$1(number).value)
  55010. min = number;
  55011. }
  55012. if (min != null)
  55013. return min;
  55014. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  55015. },
  55016. $signature: 23
  55017. };
  55018. A._round_closure.prototype = {
  55019. call$1(number) {
  55020. return B.JSNumber_methods.round$0(number);
  55021. },
  55022. $signature: 16
  55023. };
  55024. A._hypot_closure.prototype = {
  55025. call$1($arguments) {
  55026. var subtotal, i, i0, t3,
  55027. t1 = J.$index$asx($arguments, 0).get$asList(),
  55028. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
  55029. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), true, t2._eval$1("ListIterable.E"));
  55030. t1 = numbers.length;
  55031. if (t1 === 0)
  55032. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  55033. for (subtotal = 0, i = 0; i < t1; i = i0) {
  55034. i0 = i + 1;
  55035. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  55036. }
  55037. t1 = Math.sqrt(subtotal);
  55038. t2 = numbers[0];
  55039. t3 = t2.get$numeratorUnits(t2);
  55040. return A.SassNumber_SassNumber$withUnits(t1, t2.get$denominatorUnits(t2), t3);
  55041. },
  55042. $signature: 23
  55043. };
  55044. A._hypot__closure.prototype = {
  55045. call$1(argument) {
  55046. return argument.assertNumber$0();
  55047. },
  55048. $signature: 668
  55049. };
  55050. A._log_closure.prototype = {
  55051. call$1($arguments) {
  55052. var base,
  55053. _s18_ = " to have no units.",
  55054. _null = null,
  55055. t1 = J.getInterceptor$asx($arguments),
  55056. number = t1.$index($arguments, 0).assertNumber$1("number");
  55057. if (number.get$hasUnits())
  55058. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_, _null));
  55059. else if (t1.$index($arguments, 1).$eq(0, B.C__SassNull))
  55060. return A.SassNumber_SassNumber(Math.log(number._number$_value), _null);
  55061. base = t1.$index($arguments, 1).assertNumber$1("base");
  55062. if (base.get$hasUnits())
  55063. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, _null));
  55064. else
  55065. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), _null);
  55066. },
  55067. $signature: 23
  55068. };
  55069. A._pow_closure.prototype = {
  55070. call$1($arguments) {
  55071. var t1 = J.getInterceptor$asx($arguments);
  55072. return A.pow0(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  55073. },
  55074. $signature: 23
  55075. };
  55076. A._atan2_closure.prototype = {
  55077. call$1($arguments) {
  55078. var t1 = J.getInterceptor$asx($arguments),
  55079. y = t1.$index($arguments, 0).assertNumber$1("y");
  55080. 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));
  55081. },
  55082. $signature: 23
  55083. };
  55084. A._compatible_closure.prototype = {
  55085. call$1($arguments) {
  55086. var t1 = J.getInterceptor$asx($arguments);
  55087. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
  55088. },
  55089. $signature: 12
  55090. };
  55091. A._isUnitless_closure.prototype = {
  55092. call$1($arguments) {
  55093. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
  55094. },
  55095. $signature: 12
  55096. };
  55097. A._unit_closure.prototype = {
  55098. call$1($arguments) {
  55099. return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  55100. },
  55101. $signature: 17
  55102. };
  55103. A._percentage_closure.prototype = {
  55104. call$1($arguments) {
  55105. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  55106. number.assertNoUnits$1("number");
  55107. return A.SassNumber_SassNumber(number._number$_value * 100, "%");
  55108. },
  55109. $signature: 23
  55110. };
  55111. A._randomFunction_closure.prototype = {
  55112. call$1($arguments) {
  55113. var limit, limitScalar,
  55114. t1 = J.getInterceptor$asx($arguments);
  55115. if (t1.$index($arguments, 0).$eq(0, B.C__SassNull))
  55116. return A.SassNumber_SassNumber($.$get$_random0().nextDouble$0(), null);
  55117. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  55118. if (limit.get$hasUnits())
  55119. 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);
  55120. limitScalar = limit.assertInt$1("limit");
  55121. if (limitScalar < 1)
  55122. throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  55123. return A.SassNumber_SassNumber($.$get$_random0().nextInt$1(limitScalar) + 1, null);
  55124. },
  55125. $signature: 23
  55126. };
  55127. A._div_closure.prototype = {
  55128. call$1($arguments) {
  55129. var t1 = J.getInterceptor$asx($arguments),
  55130. number1 = t1.$index($arguments, 0),
  55131. number2 = t1.$index($arguments, 1);
  55132. if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber))
  55133. A.warn(string$.math_d);
  55134. return number1.dividedBy$1(number2);
  55135. },
  55136. $signature: 4
  55137. };
  55138. A._singleArgumentMathFunc_closure.prototype = {
  55139. call$1($arguments) {
  55140. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  55141. },
  55142. $signature: 23
  55143. };
  55144. A._numberFunction_closure.prototype = {
  55145. call$1($arguments) {
  55146. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  55147. t1 = this.transform.call$1(number._number$_value),
  55148. t2 = number.get$numeratorUnits(number);
  55149. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  55150. },
  55151. $signature: 23
  55152. };
  55153. A._shared_closure.prototype = {
  55154. call$1($arguments) {
  55155. A.warnForDeprecation(string$.The_fe, B.Deprecation_hcg);
  55156. return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  55157. },
  55158. $signature: 12
  55159. };
  55160. A._shared_closure0.prototype = {
  55161. call$1($arguments) {
  55162. return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
  55163. },
  55164. $signature: 17
  55165. };
  55166. A._shared_closure1.prototype = {
  55167. call$1($arguments) {
  55168. var t1 = J.getInterceptor$asx($arguments),
  55169. _0_0 = t1.$index($arguments, 0);
  55170. $label0$0: {
  55171. if (_0_0 instanceof A.SassArgumentList) {
  55172. t1 = "arglist";
  55173. break $label0$0;
  55174. }
  55175. if (_0_0 instanceof A.SassBoolean) {
  55176. t1 = "bool";
  55177. break $label0$0;
  55178. }
  55179. if (_0_0 instanceof A.SassColor) {
  55180. t1 = "color";
  55181. break $label0$0;
  55182. }
  55183. if (_0_0 instanceof A.SassList) {
  55184. t1 = "list";
  55185. break $label0$0;
  55186. }
  55187. if (_0_0 instanceof A.SassMap) {
  55188. t1 = "map";
  55189. break $label0$0;
  55190. }
  55191. if (B.C__SassNull === _0_0) {
  55192. t1 = "null";
  55193. break $label0$0;
  55194. }
  55195. if (_0_0 instanceof A.SassNumber) {
  55196. t1 = "number";
  55197. break $label0$0;
  55198. }
  55199. if (_0_0 instanceof A.SassFunction) {
  55200. t1 = "function";
  55201. break $label0$0;
  55202. }
  55203. if (_0_0 instanceof A.SassMixin) {
  55204. t1 = "mixin";
  55205. break $label0$0;
  55206. }
  55207. if (_0_0 instanceof A.SassCalculation) {
  55208. t1 = "calculation";
  55209. break $label0$0;
  55210. }
  55211. if (_0_0 instanceof A.SassString) {
  55212. t1 = "string";
  55213. break $label0$0;
  55214. }
  55215. t1 = A.throwExpression("[BUG] Unknown value type " + t1.$index($arguments, 0).toString$0(0));
  55216. }
  55217. return new A.SassString(t1, false);
  55218. },
  55219. $signature: 17
  55220. };
  55221. A._shared_closure2.prototype = {
  55222. call$1($arguments) {
  55223. var t2, t3, t4,
  55224. t1 = J.getInterceptor$asx($arguments),
  55225. _1_0 = t1.$index($arguments, 0);
  55226. if (_1_0 instanceof A.SassArgumentList) {
  55227. _1_0._wereKeywordsAccessed = true;
  55228. t1 = type$.Value;
  55229. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  55230. for (t3 = A.MapExtensions_get_pairs(_1_0._keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  55231. t4 = t3.get$current(t3);
  55232. t2.$indexSet(0, new A.SassString(t4._0, false), t4._1);
  55233. }
  55234. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  55235. } else
  55236. throw A.wrapException("$args: " + t1.$index($arguments, 0).toString$0(0) + " is not an argument list.");
  55237. },
  55238. $signature: 33
  55239. };
  55240. A.moduleFunctions_closure.prototype = {
  55241. call$1($arguments) {
  55242. return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  55243. },
  55244. $signature: 17
  55245. };
  55246. A.moduleFunctions_closure0.prototype = {
  55247. call$1($arguments) {
  55248. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  55249. return A.SassList$(new A.MappedListIterable(t1, new A.moduleFunctions__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_qVN, false);
  55250. },
  55251. $signature: 28
  55252. };
  55253. A.moduleFunctions__closure.prototype = {
  55254. call$1(argument) {
  55255. return argument instanceof A.Value ? argument : new A.SassString(J.toString$0$(argument), false);
  55256. },
  55257. $signature: 669
  55258. };
  55259. A.moduleFunctions_closure1.prototype = {
  55260. call$1($arguments) {
  55261. var _0_2_isSet, _0_2, acceptsContent, t1, _0_5_isSet, _0_5, hasContent,
  55262. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  55263. _0_0 = mixin.callable;
  55264. $label0$0: {
  55265. _0_2_isSet = type$.AsyncBuiltInCallable._is(_0_0);
  55266. if (_0_2_isSet) {
  55267. _0_2 = _0_0.get$acceptsContent();
  55268. acceptsContent = _0_2;
  55269. } else
  55270. acceptsContent = null;
  55271. if (!_0_2_isSet) {
  55272. _0_2_isSet = _0_0 instanceof A.BuiltInCallable;
  55273. if (_0_2_isSet) {
  55274. _0_2 = _0_0.acceptsContent;
  55275. acceptsContent = _0_2;
  55276. }
  55277. t1 = _0_2_isSet;
  55278. } else
  55279. t1 = true;
  55280. if (t1) {
  55281. t1 = acceptsContent;
  55282. break $label0$0;
  55283. }
  55284. _0_5_isSet = _0_0 instanceof A.UserDefinedCallable;
  55285. if (_0_5_isSet) {
  55286. _0_5 = _0_0.declaration;
  55287. t1 = _0_5 instanceof A.MixinRule;
  55288. } else {
  55289. _0_5 = null;
  55290. t1 = false;
  55291. }
  55292. if (t1) {
  55293. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  55294. hasContent = type$.MixinRule._as(t1).get$hasContent();
  55295. t1 = hasContent;
  55296. break $label0$0;
  55297. }
  55298. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  55299. }
  55300. return t1 ? B.SassBoolean_true : B.SassBoolean_false;
  55301. },
  55302. $signature: 12
  55303. };
  55304. A._nest_closure.prototype = {
  55305. call$1($arguments) {
  55306. var t1 = {},
  55307. selectors = J.$index$asx($arguments, 0).get$asList();
  55308. if (selectors.length === 0)
  55309. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  55310. t1.first = true;
  55311. 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();
  55312. },
  55313. $signature: 28
  55314. };
  55315. A._nest__closure.prototype = {
  55316. call$1(selector) {
  55317. var t1 = this._box_0,
  55318. result = A.SassApiValue_assertSelector(selector, !t1.first, null);
  55319. t1.first = false;
  55320. return result;
  55321. },
  55322. $signature: 251
  55323. };
  55324. A._nest__closure0.prototype = {
  55325. call$2($parent, child) {
  55326. return child.nestWithin$1($parent);
  55327. },
  55328. $signature: 143
  55329. };
  55330. A._append_closure.prototype = {
  55331. call$1($arguments) {
  55332. var t1,
  55333. selectors = J.$index$asx($arguments, 0).get$asList();
  55334. if (selectors.length === 0)
  55335. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  55336. t1 = A.EvaluationContext_currentOrNull();
  55337. 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();
  55338. },
  55339. $signature: 28
  55340. };
  55341. A._append__closure.prototype = {
  55342. call$1(selector) {
  55343. return A.SassApiValue_assertSelector(selector, false, null);
  55344. },
  55345. $signature: 251
  55346. };
  55347. A._append__closure0.prototype = {
  55348. call$2($parent, child) {
  55349. var t1 = child.components,
  55350. t2 = this.span;
  55351. 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);
  55352. },
  55353. $signature: 143
  55354. };
  55355. A._append___closure.prototype = {
  55356. call$1(complex) {
  55357. var _0_0, t1, component, rest, newCompound, t2, _null = null;
  55358. if (complex.leadingCombinators.length !== 0)
  55359. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  55360. _0_0 = complex.components;
  55361. t1 = _0_0.length >= 1;
  55362. if (t1) {
  55363. component = _0_0[0];
  55364. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  55365. } else {
  55366. rest = _null;
  55367. component = rest;
  55368. }
  55369. if (!t1)
  55370. throw A.wrapException(A.StateError$("Pattern matching error"));
  55371. newCompound = A._prependParent(component.selector);
  55372. if (newCompound == null)
  55373. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  55374. t1 = this.span;
  55375. t2 = A._setArrayType([new A.ComplexSelectorComponent(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator), t1)], type$.JSArray_ComplexSelectorComponent);
  55376. B.JSArray_methods.addAll$1(t2, rest);
  55377. return A.ComplexSelector$(B.List_empty0, t2, t1, false);
  55378. },
  55379. $signature: 65
  55380. };
  55381. A._extend_closure.prototype = {
  55382. call$1($arguments) {
  55383. var target, source,
  55384. _s8_ = "selector",
  55385. _s8_0 = "extendee",
  55386. _s8_1 = "extender",
  55387. t1 = J.getInterceptor$asx($arguments),
  55388. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  55389. selector.assertNotBogus$1$name(_s8_);
  55390. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  55391. target.assertNotBogus$1$name(_s8_0);
  55392. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s8_1);
  55393. source.assertNotBogus$1$name(_s8_1);
  55394. t1 = A.EvaluationContext_currentOrNull();
  55395. 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();
  55396. },
  55397. $signature: 28
  55398. };
  55399. A._replace_closure.prototype = {
  55400. call$1($arguments) {
  55401. var target, source,
  55402. _s8_ = "selector",
  55403. _s8_0 = "original",
  55404. _s11_ = "replacement",
  55405. t1 = J.getInterceptor$asx($arguments),
  55406. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  55407. selector.assertNotBogus$1$name(_s8_);
  55408. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  55409. target.assertNotBogus$1$name(_s8_0);
  55410. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s11_);
  55411. source.assertNotBogus$1$name(_s11_);
  55412. t1 = A.EvaluationContext_currentOrNull();
  55413. 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();
  55414. },
  55415. $signature: 28
  55416. };
  55417. A._unify_closure.prototype = {
  55418. call$1($arguments) {
  55419. var selector2,
  55420. _s9_ = "selector1",
  55421. _s9_0 = "selector2",
  55422. t1 = J.getInterceptor$asx($arguments),
  55423. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s9_);
  55424. selector1.assertNotBogus$1$name(_s9_);
  55425. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s9_0);
  55426. selector2.assertNotBogus$1$name(_s9_0);
  55427. t1 = selector1.unify$1(selector2);
  55428. t1 = t1 == null ? null : t1.get$asSassList();
  55429. return t1 == null ? B.C__SassNull : t1;
  55430. },
  55431. $signature: 4
  55432. };
  55433. A._isSuperselector_closure.prototype = {
  55434. call$1($arguments) {
  55435. var selector2,
  55436. t1 = J.getInterceptor$asx($arguments),
  55437. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, "super");
  55438. selector1.assertNotBogus$1$name("super");
  55439. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, "sub");
  55440. selector2.assertNotBogus$1$name("sub");
  55441. return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
  55442. },
  55443. $signature: 12
  55444. };
  55445. A._simpleSelectors_closure.prototype = {
  55446. call$1($arguments) {
  55447. var t1 = A.SassApiValue_assertCompoundSelector(J.$index$asx($arguments, 0), "selector").components;
  55448. return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_qVN, false);
  55449. },
  55450. $signature: 28
  55451. };
  55452. A._simpleSelectors__closure.prototype = {
  55453. call$1(simple) {
  55454. return new A.SassString(A.serializeSelector(simple, true), false);
  55455. },
  55456. $signature: 647
  55457. };
  55458. A._parse_closure.prototype = {
  55459. call$1($arguments) {
  55460. return A.SassApiValue_assertSelector(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  55461. },
  55462. $signature: 28
  55463. };
  55464. A.module_closure.prototype = {
  55465. call$1($arguments) {
  55466. var limit, t2, chunks, i, lastEnd, match, t3,
  55467. t1 = J.getInterceptor$asx($arguments),
  55468. string = t1.$index($arguments, 0).assertString$1("string"),
  55469. separator = t1.$index($arguments, 1).assertString$1("separator");
  55470. t1 = t1.$index($arguments, 2).get$realNull();
  55471. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  55472. if (limit != null && limit < 1)
  55473. throw A.wrapException(A.SassScriptException$("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  55474. t1 = string._string$_text;
  55475. if (t1.length === 0)
  55476. return B.SassList_qAD;
  55477. else {
  55478. t2 = separator._string$_text;
  55479. if (t2.length === 0)
  55480. 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);
  55481. }
  55482. chunks = A._setArrayType([], type$.JSArray_String);
  55483. 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();) {
  55484. match = t2.__js_helper$_current;
  55485. t3 = match.start;
  55486. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  55487. lastEnd = t3 + match.pattern.length;
  55488. ++i;
  55489. if (i === limit)
  55490. break;
  55491. }
  55492. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  55493. return A.SassList$(new A.MappedListIterable(chunks, new A.module__closure0(string), type$.MappedListIterable_String_Value), B.ListSeparator_qVN, true);
  55494. },
  55495. $signature: 28
  55496. };
  55497. A.module__closure.prototype = {
  55498. call$1(rune) {
  55499. return new A.SassString(A.Primitives_stringFromCharCode(rune), this.string._hasQuotes);
  55500. },
  55501. $signature: 644
  55502. };
  55503. A.module__closure0.prototype = {
  55504. call$1(chunk) {
  55505. return new A.SassString(chunk, this.string._hasQuotes);
  55506. },
  55507. $signature: 643
  55508. };
  55509. A._unquote_closure.prototype = {
  55510. call$1($arguments) {
  55511. var string = J.$index$asx($arguments, 0).assertString$1("string");
  55512. if (!string._hasQuotes)
  55513. return string;
  55514. return new A.SassString(string._string$_text, false);
  55515. },
  55516. $signature: 17
  55517. };
  55518. A._quote_closure.prototype = {
  55519. call$1($arguments) {
  55520. var string = J.$index$asx($arguments, 0).assertString$1("string");
  55521. if (string._hasQuotes)
  55522. return string;
  55523. return new A.SassString(string._string$_text, true);
  55524. },
  55525. $signature: 17
  55526. };
  55527. A._length_closure.prototype = {
  55528. call$1($arguments) {
  55529. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength(), null);
  55530. },
  55531. $signature: 23
  55532. };
  55533. A._insert_closure.prototype = {
  55534. call$1($arguments) {
  55535. var indexInt, codeUnitIndex, _s5_ = "index",
  55536. t1 = J.getInterceptor$asx($arguments),
  55537. string = t1.$index($arguments, 0).assertString$1("string"),
  55538. insert = t1.$index($arguments, 1).assertString$1("insert"),
  55539. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  55540. index.assertNoUnits$1(_s5_);
  55541. indexInt = index.assertInt$1(_s5_);
  55542. if (indexInt < 0)
  55543. indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
  55544. t1 = string._string$_text;
  55545. codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
  55546. return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
  55547. },
  55548. $signature: 17
  55549. };
  55550. A._index_closure.prototype = {
  55551. call$1($arguments) {
  55552. var t1 = J.getInterceptor$asx($arguments),
  55553. t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
  55554. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
  55555. if (codeUnitIndex === -1)
  55556. return B.C__SassNull;
  55557. return A.SassNumber_SassNumber(A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex) + 1, null);
  55558. },
  55559. $signature: 4
  55560. };
  55561. A._slice_closure.prototype = {
  55562. call$1($arguments) {
  55563. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  55564. _s8_ = "start-at",
  55565. t1 = J.getInterceptor$asx($arguments),
  55566. string = t1.$index($arguments, 0).assertString$1("string"),
  55567. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  55568. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  55569. start.assertNoUnits$1(_s8_);
  55570. end.assertNoUnits$1("end-at");
  55571. lengthInCodepoints = string.get$_sassLength();
  55572. endInt = end.assertInt$0();
  55573. if (endInt === 0)
  55574. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  55575. startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
  55576. endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
  55577. if (endCodepoint === lengthInCodepoints)
  55578. --endCodepoint;
  55579. if (endCodepoint < startCodepoint)
  55580. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  55581. t1 = string._string$_text;
  55582. return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
  55583. },
  55584. $signature: 17
  55585. };
  55586. A._toUpperCase_closure.prototype = {
  55587. call$1($arguments) {
  55588. var t1, t2, i, t3, t4,
  55589. string = J.$index$asx($arguments, 0).assertString$1("string");
  55590. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  55591. t4 = t1.charCodeAt(i);
  55592. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  55593. }
  55594. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  55595. },
  55596. $signature: 17
  55597. };
  55598. A._toLowerCase_closure.prototype = {
  55599. call$1($arguments) {
  55600. var t1, t2, i, t3, t4,
  55601. string = J.$index$asx($arguments, 0).assertString$1("string");
  55602. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  55603. t4 = t1.charCodeAt(i);
  55604. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  55605. }
  55606. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  55607. },
  55608. $signature: 17
  55609. };
  55610. A._uniqueId_closure.prototype = {
  55611. call$1($arguments) {
  55612. var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
  55613. $._previousUniqueId = t1;
  55614. if (t1 > Math.pow(36, 6))
  55615. $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
  55616. return new A.SassString("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId(), 36), 6, "0"), false);
  55617. },
  55618. $signature: 17
  55619. };
  55620. A.ImportCache.prototype = {
  55621. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  55622. 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;
  55623. if (A.isBrowser())
  55624. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && _this._importers.length === 0;
  55625. else
  55626. t1 = false;
  55627. if (t1)
  55628. throw A.wrapException(string$.Custom);
  55629. if (baseImporter != null && url.get$scheme() === "") {
  55630. resolvedUrl = baseUrl == null ? _null : baseUrl.resolveUri$1(url);
  55631. if (resolvedUrl == null)
  55632. resolvedUrl = url;
  55633. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  55634. relativeResult = _this._perImporterCanonicalizeCache.putIfAbsent$2(key, new A.ImportCache_canonicalize_closure(_this, baseImporter, resolvedUrl, baseUrl, forImport, key, url));
  55635. if (relativeResult != null)
  55636. return relativeResult;
  55637. }
  55638. key = new A._Record_2_forImport(url, forImport);
  55639. t1 = _this._canonicalizeCache;
  55640. if (t1.containsKey$1(key))
  55641. return t1.$index(0, key);
  55642. 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) {
  55643. importer = t2[i];
  55644. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  55645. if (t4.containsKey$1(perImporterKey)) {
  55646. t7 = t4.$index(0, perImporterKey);
  55647. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  55648. } else
  55649. _1_0 = _null;
  55650. _1_2_isSet = t3._is(_1_0);
  55651. result = _null;
  55652. if (_1_2_isSet) {
  55653. _1_2 = _1_0._0;
  55654. t7 = _1_2 != null;
  55655. if (t7) {
  55656. t6._as(_1_2);
  55657. result = _1_2;
  55658. }
  55659. } else {
  55660. _1_2 = _null;
  55661. t7 = false;
  55662. }
  55663. if (t7)
  55664. return result;
  55665. if (_1_2_isSet)
  55666. t7 = _1_2 == null;
  55667. else
  55668. t7 = false;
  55669. if (t7)
  55670. continue;
  55671. $label0$1: {
  55672. _2_0 = _this._canonicalize$4(importer, url, baseUrl, forImport);
  55673. _2_1 = _2_0._0;
  55674. _2_5_isSet = _2_1 != null;
  55675. _2_5 = _null;
  55676. _2_3 = _null;
  55677. t7 = false;
  55678. if (_2_5_isSet) {
  55679. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  55680. _2_3 = _2_0._1;
  55681. t7 = _2_3;
  55682. _2_5 = t7;
  55683. t7 = t7 && cacheable;
  55684. } else
  55685. result = _null;
  55686. if (t7) {
  55687. t1.$indexSet(0, key, result);
  55688. return result;
  55689. }
  55690. if (_2_5_isSet) {
  55691. t7 = _2_5;
  55692. _2_3_isSet = _2_5_isSet;
  55693. } else {
  55694. _2_3 = _2_0._1;
  55695. t7 = _2_3;
  55696. _2_3_isSet = true;
  55697. }
  55698. t7 = t7 && !cacheable;
  55699. if (t7) {
  55700. t4.$indexSet(0, perImporterKey, _2_1);
  55701. if (_2_1 != null)
  55702. return _2_1;
  55703. break $label0$1;
  55704. }
  55705. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  55706. if (t7) {
  55707. if (cacheable) {
  55708. for (j = 0; j < i; ++j)
  55709. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
  55710. cacheable = false;
  55711. }
  55712. if (_2_1 != null)
  55713. return _2_1;
  55714. }
  55715. }
  55716. }
  55717. if (cacheable)
  55718. t1.$indexSet(0, key, _null);
  55719. return _null;
  55720. },
  55721. canonicalize$3$baseImporter$baseUrl(_, url, baseImporter, baseUrl) {
  55722. return this.canonicalize$4$baseImporter$baseUrl$forImport(0, url, baseImporter, baseUrl, false);
  55723. },
  55724. _canonicalize$4(importer, url, baseUrl, forImport) {
  55725. var passContainingUrl, canonicalizeContext, t1, result, cacheable;
  55726. if (baseUrl != null)
  55727. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  55728. else
  55729. passContainingUrl = false;
  55730. canonicalizeContext = new A.CanonicalizeContext(forImport, passContainingUrl ? baseUrl : null);
  55731. t1 = type$.nullable_Object;
  55732. result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.nullable_Uri);
  55733. cacheable = !passContainingUrl || !canonicalizeContext._wasContainingUrlAccessed;
  55734. if (result == null)
  55735. return new A._Record_2(null, cacheable);
  55736. if (result.get$scheme() !== "" && importer.isNonCanonicalScheme$1(result.get$scheme()))
  55737. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  55738. return new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  55739. },
  55740. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  55741. return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl));
  55742. },
  55743. importCanonical$2(importer, canonicalUrl) {
  55744. return this.importCanonical$3$originalUrl(importer, canonicalUrl, null);
  55745. },
  55746. humanize$1(canonicalUrl) {
  55747. var t1 = this._canonicalizeCache,
  55748. t2 = type$.NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl;
  55749. 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));
  55750. return t2 == null ? canonicalUrl : t2;
  55751. },
  55752. sourceMapUrl$1(_, canonicalUrl) {
  55753. var t1 = this._resultsCache.$index(0, canonicalUrl);
  55754. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  55755. return t1 == null ? canonicalUrl : t1;
  55756. },
  55757. clearCanonicalize$1(canonicalUrl) {
  55758. var t1, t2, t3, t4, _i, key, t5, t6, _i0;
  55759. for (t1 = this._canonicalizeCache, t2 = A.List_List$of(new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>")), true, type$.Record_2_Uri_and_bool_forImport), t3 = t2.length, t4 = this._importers, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  55760. key = t2[_i];
  55761. for (t5 = t4.length, t6 = key._0, _i0 = 0; _i0 < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i0)
  55762. if (t4[_i0].couldCanonicalize$2(t6, canonicalUrl)) {
  55763. t1.remove$1(0, key);
  55764. break;
  55765. }
  55766. }
  55767. for (t1 = this._perImporterCanonicalizeCache, t2 = A.List_List$of(new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>")), true, type$.Record_3_Importer_and_Uri_and_bool_forImport), t3 = t2.length, _i = 0; _i < t3; ++_i) {
  55768. key = t2[_i];
  55769. if (key._0.couldCanonicalize$2(key._1, canonicalUrl))
  55770. t1.remove$1(0, key);
  55771. }
  55772. },
  55773. clearImport$1(canonicalUrl) {
  55774. this._resultsCache.remove$1(0, canonicalUrl);
  55775. this._importCache.remove$1(0, canonicalUrl);
  55776. }
  55777. };
  55778. A.ImportCache_canonicalize_closure.prototype = {
  55779. call$0() {
  55780. var _this = this,
  55781. t1 = _this.$this,
  55782. t2 = _this.baseUrl,
  55783. _0_0 = t1._canonicalize$4(_this.baseImporter, _this.resolvedUrl, t2, _this.forImport);
  55784. if (t2 != null)
  55785. t1._nonCanonicalRelativeUrls.$indexSet(0, _this.key, _this.url);
  55786. return _0_0._0;
  55787. },
  55788. $signature: 123
  55789. };
  55790. A.ImportCache__canonicalize_closure.prototype = {
  55791. call$0() {
  55792. return this.importer.canonicalize$1(0, this.url);
  55793. },
  55794. $signature: 144
  55795. };
  55796. A.ImportCache_importCanonical_closure.prototype = {
  55797. call$0() {
  55798. var t3, t4, _this = this,
  55799. t1 = Date.now(),
  55800. t2 = _this.canonicalUrl,
  55801. result = _this.importer.load$1(0, t2);
  55802. if (result == null)
  55803. return null;
  55804. t3 = _this.$this;
  55805. t3._loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  55806. t3._resultsCache.$indexSet(0, t2, result);
  55807. t3 = result.contents;
  55808. t1 = result.syntax;
  55809. t4 = _this.originalUrl;
  55810. return A.Stylesheet_Stylesheet$parse(t3, t1, t4 == null ? t2 : t4.resolveUri$1(t2));
  55811. },
  55812. $signature: 112
  55813. };
  55814. A.ImportCache_humanize_closure.prototype = {
  55815. call$1(result) {
  55816. return result._1.$eq(0, this.canonicalUrl);
  55817. },
  55818. $signature: 607
  55819. };
  55820. A.ImportCache_humanize_closure0.prototype = {
  55821. call$1(result) {
  55822. return result._2;
  55823. },
  55824. $signature: 600
  55825. };
  55826. A.ImportCache_humanize_closure1.prototype = {
  55827. call$1(url) {
  55828. return url.get$path(url).length;
  55829. },
  55830. $signature: 90
  55831. };
  55832. A.ImportCache_humanize_closure2.prototype = {
  55833. call$1(url) {
  55834. var t1 = $.$get$url(),
  55835. t2 = this.canonicalUrl;
  55836. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  55837. },
  55838. $signature: 51
  55839. };
  55840. A.Importer.prototype = {
  55841. modificationTime$1(url) {
  55842. return new A.DateTime(Date.now(), 0, false);
  55843. },
  55844. couldCanonicalize$2(url, canonicalUrl) {
  55845. return true;
  55846. },
  55847. isNonCanonicalScheme$1(scheme) {
  55848. return false;
  55849. }
  55850. };
  55851. A.AsyncImporter.prototype = {};
  55852. A.CanonicalizeContext.prototype = {};
  55853. A.FilesystemImporter.prototype = {
  55854. canonicalize$1(_, url) {
  55855. var resolved, _0_0;
  55856. if (url.get$scheme() === "file")
  55857. resolved = A.resolveImportPath($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  55858. else if (url.get$scheme() !== "")
  55859. return null;
  55860. else {
  55861. _0_0 = this._loadPath;
  55862. if (_0_0 != null) {
  55863. resolved = A.resolveImportPath(A.join(_0_0, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null));
  55864. if (resolved != null && this._loadPathDeprecated)
  55865. A.warnForDeprecation(string$.Using_t, B.Deprecation_tms);
  55866. } else
  55867. return null;
  55868. }
  55869. return A.NullableExtension_andThen(resolved, new A.FilesystemImporter_canonicalize_closure());
  55870. },
  55871. load$1(_, url) {
  55872. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
  55873. t1 = A.readFile(path),
  55874. t2 = A.Syntax_forPath(path),
  55875. t3 = url.get$scheme();
  55876. if (t3 === "")
  55877. A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
  55878. return new A.ImporterResult(t1, url, t2);
  55879. },
  55880. modificationTime$1(url) {
  55881. return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  55882. },
  55883. couldCanonicalize$2(url, canonicalUrl) {
  55884. var t1, t2, basename, canonicalBasename;
  55885. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  55886. return false;
  55887. if (canonicalUrl.get$scheme() !== "file")
  55888. return false;
  55889. t1 = $.$get$url();
  55890. t2 = t1.style;
  55891. basename = A.ParsedPath_ParsedPath$parse(url.get$path(url), t2).get$basename();
  55892. canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t2).get$basename();
  55893. if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
  55894. canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
  55895. return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
  55896. },
  55897. toString$0(_) {
  55898. var t1 = this._loadPath;
  55899. return t1 == null ? "<absolute file importer>" : t1;
  55900. }
  55901. };
  55902. A.FilesystemImporter_canonicalize_closure.prototype = {
  55903. call$1(resolved) {
  55904. var t2, t0, _null = null,
  55905. t1 = A.isNodeJs() ? self.process : _null;
  55906. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  55907. t1 = A.isNodeJs() ? self.process : _null;
  55908. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  55909. } else
  55910. t1 = true;
  55911. if (t1) {
  55912. t1 = $.$get$context();
  55913. t2 = A._realCasePath(A.absolute(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  55914. t0 = t2;
  55915. t2 = t1;
  55916. t1 = t0;
  55917. } else {
  55918. t1 = $.$get$context();
  55919. t2 = t1.canonicalize$1(0, resolved);
  55920. t0 = t2;
  55921. t2 = t1;
  55922. t1 = t0;
  55923. }
  55924. return t2.toUri$1(t1);
  55925. },
  55926. $signature: 122
  55927. };
  55928. A.NoOpImporter.prototype = {};
  55929. A.NodePackageImporter.prototype = {
  55930. isNonCanonicalScheme$1(scheme) {
  55931. return scheme === "pkg";
  55932. },
  55933. canonicalize$1(_, url) {
  55934. 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;
  55935. if (url.get$scheme() === "file")
  55936. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, url);
  55937. if (url.get$scheme() !== "pkg")
  55938. return _null;
  55939. if (url.get$hasAuthority())
  55940. throw A.wrapException(string$.A_pkg_h);
  55941. else {
  55942. t1 = $.$get$url();
  55943. t2 = t1.style;
  55944. if (t2.rootLength$1(url.get$path(url)) > 0)
  55945. throw A.wrapException("A pkg: URL's path must not begin with /.");
  55946. else if (url.get$path(url).length === 0)
  55947. throw A.wrapException("A pkg: URL must not have an empty path.");
  55948. else if (url.get$hasQuery() || url.get$hasFragment())
  55949. throw A.wrapException(string$.A_pkg_q);
  55950. }
  55951. t3 = A.canonicalizeContext();
  55952. t3._wasContainingUrlAccessed = true;
  55953. t3 = t3._containingUrl;
  55954. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  55955. t3 = A.canonicalizeContext();
  55956. t3._wasContainingUrlAccessed = true;
  55957. t3 = t3._containingUrl;
  55958. t3.toString;
  55959. t4 = $.$get$context();
  55960. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  55961. } else {
  55962. t3 = _this.__NodePackageImporter__entryPointDirectory_F;
  55963. t3 === $ && A.throwUnnamedLateFieldNI();
  55964. baseDirectory = t3;
  55965. }
  55966. packageName = null;
  55967. parts = t1.split$1(0, url.get$path(url));
  55968. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  55969. t4 = $.$get$context();
  55970. t3.toString;
  55971. t5 = t4.style;
  55972. $name = t5.pathFromUri$1(A._parseUri(t3));
  55973. if (B.JSString_methods.startsWith$1($name, "@"))
  55974. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  55975. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  55976. packageName = $name;
  55977. t1 = true;
  55978. if (!J.startsWith$1$s(packageName, "."))
  55979. if (!J.contains$1$asx(packageName, "\\"))
  55980. if (!J.contains$1$asx(packageName, "%"))
  55981. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  55982. if (t1)
  55983. return _null;
  55984. packageRoot = _this._resolvePackageRoot$2(packageName, baseDirectory);
  55985. if (packageRoot == null)
  55986. return _null;
  55987. jsonPath = A.join(packageRoot, "package.json", _null);
  55988. jsonString = A.readFile(jsonPath);
  55989. packageManifest = null;
  55990. try {
  55991. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  55992. } catch (exception) {
  55993. e = A.unwrapException(exception);
  55994. t1 = A.S(jsonPath);
  55995. t2 = A.S(packageName);
  55996. t3 = A.S(e);
  55997. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  55998. }
  55999. _1_0 = _this._resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  56000. if (_1_0 != null)
  56001. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  56002. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  56003. else {
  56004. t1 = subpath == null ? "root" : subpath;
  56005. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  56006. }
  56007. if (subpath == null) {
  56008. rootPath = _this._resolvePackageRootValues$2(packageRoot, packageManifest);
  56009. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  56010. }
  56011. subpathInRoot = A.join(packageRoot, subpath, _null);
  56012. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  56013. },
  56014. load$1(_, url) {
  56015. return $.$get$FilesystemImporter_cwd().load$1(0, url);
  56016. },
  56017. _resolvePackageRoot$2(packageName, baseDirectory) {
  56018. var potentialPackage, t1;
  56019. for (; true;) {
  56020. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  56021. if (A.dirExists(potentialPackage))
  56022. return potentialPackage;
  56023. t1 = $.$get$context();
  56024. if (t1.split$1(0, baseDirectory).length === 1)
  56025. return null;
  56026. baseDirectory = t1.dirname$1(baseDirectory);
  56027. }
  56028. },
  56029. _resolvePackageRootValues$2(packageRoot, packageManifest) {
  56030. var t1, sassValue, _1_0, styleValue, _null = null,
  56031. _0_0 = packageManifest.$index(0, "sass");
  56032. if (typeof _0_0 == "string") {
  56033. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  56034. sassValue = _0_0;
  56035. } else {
  56036. sassValue = _null;
  56037. t1 = false;
  56038. }
  56039. if (t1)
  56040. return A.join(packageRoot, sassValue, _null);
  56041. else {
  56042. _1_0 = packageManifest.$index(0, "style");
  56043. if (typeof _1_0 == "string") {
  56044. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  56045. styleValue = _1_0;
  56046. } else {
  56047. styleValue = _null;
  56048. t1 = false;
  56049. }
  56050. if (t1)
  56051. return A.join(packageRoot, styleValue, _null);
  56052. }
  56053. return A.resolveImportPath(A.join(packageRoot, "index", _null));
  56054. },
  56055. _resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  56056. var _0_0, _1_0, _this = this,
  56057. exports = packageManifest.$index(0, "exports");
  56058. if (exports == null)
  56059. return null;
  56060. _0_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$1(subpath), exports, subpath, packageName);
  56061. if (_0_0 != null)
  56062. return _0_0;
  56063. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  56064. return null;
  56065. _1_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  56066. if (_1_0 != null)
  56067. return _1_0;
  56068. return null;
  56069. },
  56070. _nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  56071. var t1, matches, _1_1, path;
  56072. if (type$.Map_String_dynamic._is(exports) && J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure()) && J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure0()))
  56073. throw A.wrapException("`exports` in " + packageName + string$.x20can_n + J.map$1$1$ax(J.get$keys$z(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure1(), type$.String).join$1(0, ",") + " in " + A.join(packageRoot, "package.json", null) + ".");
  56074. t1 = type$.NonNullsIterable_String;
  56075. matches = A.List_List$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), true, t1._eval$1("Iterable.E"));
  56076. $label0$1: {
  56077. _1_1 = matches.length;
  56078. if (_1_1 === 1) {
  56079. path = matches[0];
  56080. t1 = path;
  56081. break $label0$1;
  56082. }
  56083. if (_1_1 <= 0) {
  56084. t1 = null;
  56085. break $label0$1;
  56086. }
  56087. t1 = subpath == null ? "root" : subpath;
  56088. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  56089. }
  56090. return t1;
  56091. },
  56092. _compareExpansionKeys$2(keyA, keyB) {
  56093. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  56094. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  56095. t2 = B.JSString_methods.contains$1(keyB, "*"),
  56096. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  56097. if (baseLengthA > baseLengthB)
  56098. return -1;
  56099. if (baseLengthB > baseLengthA)
  56100. return 1;
  56101. if (!t1)
  56102. return 1;
  56103. if (!t2)
  56104. return -1;
  56105. t1 = keyA.length;
  56106. t2 = keyB.length;
  56107. if (t1 > t2)
  56108. return -1;
  56109. if (t2 > t1)
  56110. return 1;
  56111. return 0;
  56112. },
  56113. _packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  56114. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  56115. t1 = typeof exports == "string";
  56116. if (t1) {
  56117. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  56118. string = exports;
  56119. } else {
  56120. string = _null;
  56121. t2 = false;
  56122. }
  56123. if (t2)
  56124. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  56125. if (t1) {
  56126. t2 = patternMatch != null;
  56127. string = exports;
  56128. } else {
  56129. string = _null;
  56130. t2 = false;
  56131. }
  56132. if (t2) {
  56133. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  56134. t2 = $.$get$context();
  56135. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  56136. return A.fileExists(path) ? path : _null;
  56137. }
  56138. string = t1 ? exports : _null;
  56139. if (t1) {
  56140. t1 = $.$get$context();
  56141. string.toString;
  56142. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  56143. }
  56144. t1 = type$.Map_String_dynamic._is(exports);
  56145. map = t1 ? exports : _null;
  56146. if (t1) {
  56147. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  56148. t2 = t1.get$current(t1);
  56149. key = t2._0;
  56150. value = t2._1;
  56151. if (!B.Set_8229z.contains$1(0, key))
  56152. continue;
  56153. if (value == null)
  56154. continue;
  56155. _1_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  56156. if (_1_0 != null)
  56157. return _1_0;
  56158. }
  56159. return _null;
  56160. }
  56161. if (type$.List_nullable_Object._is(exports) && J.get$length$asx(exports) <= 0)
  56162. return _null;
  56163. t1 = type$.List_dynamic._is(exports);
  56164. array = t1 ? exports : _null;
  56165. if (t1) {
  56166. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  56167. value = t1.get$current(t1);
  56168. if (value == null)
  56169. continue;
  56170. _2_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  56171. if (_2_0 != null)
  56172. return _2_0;
  56173. }
  56174. return _null;
  56175. }
  56176. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  56177. },
  56178. _packageTargetResolve$3(subpath, exports, packageRoot) {
  56179. return this._packageTargetResolve$4(subpath, exports, packageRoot, null);
  56180. },
  56181. _getMainExport$1(exports) {
  56182. var t1, t2, t3, map, _0_4, t4, $export;
  56183. $label0$0: {
  56184. t1 = null;
  56185. if (typeof exports == "string") {
  56186. t1 = exports;
  56187. break $label0$0;
  56188. }
  56189. if (type$.List_String._is(exports)) {
  56190. t1 = exports;
  56191. break $label0$0;
  56192. }
  56193. t2 = type$.Map_String_dynamic._is(exports);
  56194. if (t2) {
  56195. t3 = !J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__getMainExport_closure());
  56196. map = exports;
  56197. } else {
  56198. map = t1;
  56199. t3 = false;
  56200. }
  56201. if (t3) {
  56202. t1 = map;
  56203. break $label0$0;
  56204. }
  56205. t3 = false;
  56206. if (t2) {
  56207. _0_4 = exports.$index(0, ".");
  56208. if (_0_4 == null)
  56209. t4 = exports.containsKey$1(".");
  56210. else
  56211. t4 = true;
  56212. if (t4)
  56213. t3 = _0_4 != null;
  56214. } else
  56215. _0_4 = null;
  56216. if (t3) {
  56217. $export = t2 ? _0_4 : J.$index$asx(exports, ".");
  56218. t1 = $export;
  56219. break $label0$0;
  56220. }
  56221. break $label0$0;
  56222. }
  56223. return t1;
  56224. },
  56225. _exportsToCheck$2$addIndex(subpath, addIndex) {
  56226. var basename, dirname, t3, t4, _i, path,
  56227. t1 = type$.JSArray_String,
  56228. paths = A._setArrayType([], t1),
  56229. t2 = subpath == null;
  56230. if (t2 && addIndex)
  56231. subpath = "index";
  56232. else if (!t2 && addIndex)
  56233. subpath = A.join(subpath, "index", null);
  56234. if (subpath == null)
  56235. return A._setArrayType([null], type$.JSArray_nullable_String);
  56236. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  56237. paths.push(subpath);
  56238. else
  56239. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath, subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  56240. t1 = $.$get$context();
  56241. t2 = t1.style;
  56242. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  56243. dirname = t1.dirname$1(subpath);
  56244. if (B.JSString_methods.startsWith$1(basename, "_"))
  56245. return paths;
  56246. t1 = A.List_List$of(paths, true, type$.nullable_String);
  56247. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  56248. path = paths[_i];
  56249. if (t4)
  56250. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  56251. else
  56252. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  56253. }
  56254. return t1;
  56255. },
  56256. _exportsToCheck$1(subpath) {
  56257. return this._exportsToCheck$2$addIndex(subpath, false);
  56258. }
  56259. };
  56260. A.NodePackageImporter__nodePackageExportsResolve_closure.prototype = {
  56261. call$1(key) {
  56262. return B.JSString_methods.startsWith$1(key, ".");
  56263. },
  56264. $signature: 5
  56265. };
  56266. A.NodePackageImporter__nodePackageExportsResolve_closure0.prototype = {
  56267. call$1(key) {
  56268. return !B.JSString_methods.startsWith$1(key, ".");
  56269. },
  56270. $signature: 5
  56271. };
  56272. A.NodePackageImporter__nodePackageExportsResolve_closure1.prototype = {
  56273. call$1(key) {
  56274. return '"' + key + '"';
  56275. },
  56276. $signature: 6
  56277. };
  56278. A.NodePackageImporter__nodePackageExportsResolve_closure2.prototype = {
  56279. call$1(variant) {
  56280. var t1, matchKey, t2, t3, t4, t5, t6, _i, expansionKey, _0_0, t7, patternBase, patternTrailer, t8, target, _this = this, _null = null;
  56281. if (variant == null) {
  56282. t1 = _this.$this;
  56283. return A.NullableExtension_andThen(t1._getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure(t1, variant, _this.packageRoot));
  56284. } else {
  56285. t1 = _this.exports;
  56286. if (!type$.Map_String_dynamic._is(t1) || J.every$1$ax(t1.get$keys(t1), new A.NodePackageImporter__nodePackageExportsResolve__closure0()))
  56287. return _null;
  56288. }
  56289. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  56290. if (t1.containsKey$1(matchKey) && J.$index$asx(t1, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  56291. t1 = J.$index$asx(t1, matchKey);
  56292. if (t1 == null)
  56293. t1 = type$.Object._as(t1);
  56294. return _this.$this._packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  56295. }
  56296. t2 = A._setArrayType([], type$.JSArray_String);
  56297. for (t3 = J.getInterceptor$z(t1), t4 = J.get$iterator$ax(t3.get$keys(t1)); t4.moveNext$0();) {
  56298. t5 = t4.get$current(t4);
  56299. if (B.JSString_methods.allMatches$1("*", t5).get$length(0) === 1)
  56300. t2.push(t5);
  56301. }
  56302. t4 = _this.$this;
  56303. B.JSArray_methods.sort$1(t2, t4.get$_compareExpansionKeys());
  56304. for (t5 = t2.length, t6 = matchKey.length, _i = 0; _i < t2.length; t2.length === t5 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  56305. expansionKey = t2[_i];
  56306. _0_0 = expansionKey.split("*");
  56307. t7 = _0_0.length === 2;
  56308. if (t7) {
  56309. patternBase = _0_0[0];
  56310. patternTrailer = _0_0[1];
  56311. } else {
  56312. patternTrailer = _null;
  56313. patternBase = patternTrailer;
  56314. }
  56315. if (!t7)
  56316. throw A.wrapException(A.StateError$("Pattern matching error"));
  56317. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  56318. continue;
  56319. if (matchKey === patternBase)
  56320. continue;
  56321. t7 = patternTrailer.length;
  56322. if (t7 !== 0)
  56323. t8 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t6 >= expansionKey.length;
  56324. else
  56325. t8 = true;
  56326. if (t8) {
  56327. target = t3.$index(t1, expansionKey);
  56328. if (target == null)
  56329. continue;
  56330. return t4._packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t6 - t7));
  56331. }
  56332. }
  56333. return _null;
  56334. },
  56335. $signature: 147
  56336. };
  56337. A.NodePackageImporter__nodePackageExportsResolve__closure.prototype = {
  56338. call$1(mainExport) {
  56339. return this.$this._packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  56340. },
  56341. $signature: 148
  56342. };
  56343. A.NodePackageImporter__nodePackageExportsResolve__closure0.prototype = {
  56344. call$1(key) {
  56345. return !B.JSString_methods.startsWith$1(key, ".");
  56346. },
  56347. $signature: 5
  56348. };
  56349. A.NodePackageImporter__getMainExport_closure.prototype = {
  56350. call$1(key) {
  56351. return B.JSString_methods.startsWith$1(key, ".");
  56352. },
  56353. $signature: 5
  56354. };
  56355. A.ImporterResult.prototype = {
  56356. get$sourceMapUrl(_) {
  56357. return this._sourceMapUrl;
  56358. }
  56359. };
  56360. A.resolveImportPath_closure.prototype = {
  56361. call$0() {
  56362. return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  56363. },
  56364. $signature: 47
  56365. };
  56366. A.resolveImportPath_closure0.prototype = {
  56367. call$0() {
  56368. return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
  56369. },
  56370. $signature: 47
  56371. };
  56372. A._tryPathAsDirectory_closure.prototype = {
  56373. call$0() {
  56374. return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
  56375. },
  56376. $signature: 47
  56377. };
  56378. A._exactlyOne_closure.prototype = {
  56379. call$1(path) {
  56380. var t1 = $.$get$context();
  56381. return " " + t1.prettyUri$1(t1.toUri$1(path));
  56382. },
  56383. $signature: 6
  56384. };
  56385. A.InterpolationBuffer.prototype = {
  56386. writeCharCode$1(character) {
  56387. var t1 = this._interpolation_buffer$_text,
  56388. t2 = A.Primitives_stringFromCharCode(character);
  56389. t1._contents += t2;
  56390. return null;
  56391. },
  56392. add$2(_, expression, span) {
  56393. this._flushText$0();
  56394. this._interpolation_buffer$_contents.push(expression);
  56395. this._spans.push(span);
  56396. },
  56397. addInterpolation$1(interpolation) {
  56398. var spansToAdd, _0_4_isSet, _0_4, _0_40, first, rest, t2, t3, _this = this,
  56399. toAdd = interpolation.contents,
  56400. t1 = toAdd.length;
  56401. if (t1 === 0)
  56402. return;
  56403. spansToAdd = interpolation.spans;
  56404. _0_4_isSet = t1 >= 1;
  56405. if (_0_4_isSet) {
  56406. _0_4 = toAdd[0];
  56407. _0_40 = _0_4;
  56408. t1 = typeof _0_4 == "string";
  56409. _0_4 = _0_40;
  56410. } else {
  56411. _0_4 = null;
  56412. t1 = false;
  56413. }
  56414. if (t1) {
  56415. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  56416. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  56417. t1 = _this._interpolation_buffer$_text;
  56418. t1._contents += first;
  56419. spansToAdd = A.SubListIterable$(spansToAdd, 1, null, A._arrayInstanceType(spansToAdd)._precomputed1);
  56420. toAdd = rest;
  56421. }
  56422. _this._flushText$0();
  56423. t1 = _this._interpolation_buffer$_contents;
  56424. B.JSArray_methods.addAll$1(t1, toAdd);
  56425. t2 = _this._spans;
  56426. B.JSArray_methods.addAll$1(t2, spansToAdd);
  56427. if (typeof B.JSArray_methods.get$last(t1) == "string") {
  56428. t3 = _this._interpolation_buffer$_text;
  56429. t1 = A.S(t1.pop());
  56430. t3._contents += t1;
  56431. t2.pop();
  56432. }
  56433. },
  56434. _flushText$0() {
  56435. var t1 = this._interpolation_buffer$_text,
  56436. t2 = t1._contents;
  56437. if (t2.length === 0)
  56438. return;
  56439. this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  56440. this._spans.push(null);
  56441. t1._contents = "";
  56442. },
  56443. interpolation$1(span) {
  56444. var t1 = A.List_List$of(this._interpolation_buffer$_contents, true, type$.Object),
  56445. t2 = this._interpolation_buffer$_text,
  56446. t3 = t2._contents;
  56447. if (t3.length !== 0)
  56448. t1.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  56449. t3 = A.List_List$of(this._spans, true, type$.nullable_FileSpan);
  56450. if (t2._contents.length !== 0)
  56451. t3.push(null);
  56452. return A.Interpolation$(t1, t3, span);
  56453. },
  56454. toString$0(_) {
  56455. var t1, t2, _i, t3, element;
  56456. for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  56457. element = t1[_i];
  56458. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  56459. }
  56460. t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
  56461. return t1.charCodeAt(0) == 0 ? t1 : t1;
  56462. }
  56463. };
  56464. A.InterpolationMap.prototype = {
  56465. mapException$1(error) {
  56466. var source, startIndex, endIndex, t3, t4, _this = this,
  56467. target = error.get$span(error),
  56468. t1 = _this._interpolation,
  56469. t2 = t1.contents;
  56470. if (t2.length === 0)
  56471. return new A.SourceSpanFormatException(error.get$source(), error._span_exception$_message, t1.span);
  56472. source = _this.mapSpan$1(target);
  56473. startIndex = _this._indexInContents$1(target.get$start(target));
  56474. endIndex = _this._indexInContents$1(target.get$end(target));
  56475. t1 = error._span_exception$_message;
  56476. if (!A.SubListIterable$(t2, startIndex, null, A._arrayInstanceType(t2)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure()))
  56477. return new A.SourceSpanFormatException(error.get$source(), t1, source);
  56478. else {
  56479. t2 = type$.SourceSpan;
  56480. t3 = type$.String;
  56481. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t2, t3);
  56482. return new A.MultiSourceSpanFormatException(error.get$source(), "", A.ConstantMap_ConstantMap$from(t4, t2, t3), t1, source);
  56483. }
  56484. },
  56485. mapSpan$1(target) {
  56486. var _0_10, t1, _0_2_isSet, _0_20, t2, start, end, _this = this, _null = null,
  56487. _0_1 = _this._mapLocation$1(target.get$start(target)),
  56488. _0_2 = _this._mapLocation$1(target.get$end(target));
  56489. $label0$0: {
  56490. _0_10 = _0_1;
  56491. t1 = type$.FileSpan;
  56492. _0_2_isSet = t1._is(_0_1);
  56493. _0_20 = _null;
  56494. t2 = false;
  56495. if (_0_2_isSet) {
  56496. t1._as(_0_10);
  56497. _0_20 = _0_2;
  56498. t2 = t1._is(_0_2);
  56499. start = _0_10;
  56500. _0_1 = start;
  56501. } else {
  56502. start = _null;
  56503. _0_1 = _0_10;
  56504. }
  56505. if (t2) {
  56506. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  56507. break $label0$0;
  56508. }
  56509. t2 = false;
  56510. if (t1._is(_0_1)) {
  56511. if (_0_2_isSet)
  56512. t2 = _0_20;
  56513. else {
  56514. t2 = _0_2;
  56515. _0_20 = t2;
  56516. _0_2_isSet = true;
  56517. }
  56518. t2 = t2 instanceof A.FileLocation;
  56519. start = _0_1;
  56520. } else
  56521. start = _null;
  56522. if (t2) {
  56523. t1 = _0_2_isSet ? _0_20 : _0_2;
  56524. type$.FileLocation._as(t1);
  56525. t1 = _this._interpolation.span.file.span$2(0, _this._expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  56526. break $label0$0;
  56527. }
  56528. t2 = false;
  56529. if (_0_1 instanceof A.FileLocation) {
  56530. if (_0_2_isSet)
  56531. t2 = _0_20;
  56532. else {
  56533. t2 = _0_2;
  56534. _0_20 = t2;
  56535. _0_2_isSet = true;
  56536. }
  56537. t2 = t1._is(t2);
  56538. start = _0_1;
  56539. } else
  56540. start = _null;
  56541. if (t2) {
  56542. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  56543. t1 = _this._interpolation.span.file.span$2(0, start.offset, _this._expandInterpolationSpanRight$1(end.get$end(end)));
  56544. break $label0$0;
  56545. }
  56546. t1 = false;
  56547. if (_0_1 instanceof A.FileLocation) {
  56548. if (_0_2_isSet)
  56549. t1 = _0_20;
  56550. else {
  56551. t1 = _0_2;
  56552. _0_20 = t1;
  56553. _0_2_isSet = true;
  56554. }
  56555. t1 = t1 instanceof A.FileLocation;
  56556. start = _0_1;
  56557. } else
  56558. start = _null;
  56559. if (t1) {
  56560. t1 = _0_2_isSet ? _0_20 : _0_2;
  56561. type$.FileLocation._as(t1);
  56562. t1 = _this._interpolation.span.file.span$2(0, start.offset, t1.offset);
  56563. break $label0$0;
  56564. }
  56565. t1 = A.throwExpression("[BUG] Unreachable");
  56566. }
  56567. return t1;
  56568. },
  56569. _mapLocation$1(target) {
  56570. var index, _0_0, t3, t4, previousLocation, _this = this,
  56571. t1 = _this._interpolation,
  56572. t2 = t1.contents;
  56573. if (t2.length === 0)
  56574. return t1.span;
  56575. index = _this._indexInContents$1(target);
  56576. _0_0 = t2[index];
  56577. if (_0_0 instanceof A.Expression)
  56578. return _0_0.get$span(_0_0);
  56579. t3 = index === 0;
  56580. t1 = t1.span;
  56581. t4 = t1.file;
  56582. if (t3)
  56583. previousLocation = A.FileLocation$_(t4, t1._file$_start);
  56584. else {
  56585. t1 = type$.Expression._as(t2[index - 1]);
  56586. t1 = t1.get$span(t1);
  56587. previousLocation = A.FileLocation$_(t4, _this._expandInterpolationSpanRight$1(t1.get$end(t1)));
  56588. }
  56589. t1 = t3 ? 0 : _this._targetLocations[index - 1].get$offset();
  56590. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  56591. },
  56592. _indexInContents$1(target) {
  56593. var t1, t2, t3, i;
  56594. for (t1 = this._targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  56595. if (t3 < t1[i].get$offset())
  56596. return i;
  56597. return this._interpolation.contents.length - 1;
  56598. },
  56599. _expandInterpolationSpanLeft$1(start) {
  56600. var i0, prev, char,
  56601. source = start.file._decodedChars,
  56602. i = start.offset - 1;
  56603. for (; i >= 0;) {
  56604. i0 = i - 1;
  56605. prev = source[i];
  56606. if (prev === 123) {
  56607. if (source[i0] === 35) {
  56608. i = i0;
  56609. break;
  56610. }
  56611. i = i0;
  56612. } else if (prev === 47) {
  56613. i = i0 - 1;
  56614. if (source[i0] === 42)
  56615. for (; true;) {
  56616. i0 = i - 1;
  56617. if (source[i] !== 42) {
  56618. i = i0;
  56619. continue;
  56620. }
  56621. i = i0;
  56622. do {
  56623. i0 = i - 1;
  56624. char = source[i];
  56625. if (char === 42) {
  56626. i = i0;
  56627. continue;
  56628. } else
  56629. break;
  56630. } while (true);
  56631. if (char === 47) {
  56632. i = i0;
  56633. break;
  56634. }
  56635. i = i0;
  56636. }
  56637. } else
  56638. i = i0;
  56639. }
  56640. return i;
  56641. },
  56642. _expandInterpolationSpanRight$1(end) {
  56643. var t1, i0, next, second, t2, char,
  56644. source = end.file._decodedChars,
  56645. i = end.offset;
  56646. for (t1 = source.length; i < t1;) {
  56647. i0 = i + 1;
  56648. next = source[i];
  56649. if (next === 125) {
  56650. i = i0;
  56651. break;
  56652. }
  56653. if (next === 47) {
  56654. i = i0 + 1;
  56655. second = source[i0];
  56656. if (second === 47) {
  56657. while (true) {
  56658. i0 = i + 1;
  56659. t2 = source[i];
  56660. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  56661. break;
  56662. i = i0;
  56663. }
  56664. i = i0;
  56665. } else if (second === 42)
  56666. for (; true;) {
  56667. i0 = i + 1;
  56668. if (source[i] !== 42) {
  56669. i = i0;
  56670. continue;
  56671. }
  56672. i = i0;
  56673. do {
  56674. i0 = i + 1;
  56675. char = source[i];
  56676. if (char === 42) {
  56677. i = i0;
  56678. continue;
  56679. } else
  56680. break;
  56681. } while (true);
  56682. if (char === 47) {
  56683. i = i0;
  56684. break;
  56685. }
  56686. i = i0;
  56687. }
  56688. } else
  56689. i = i0;
  56690. }
  56691. return i;
  56692. }
  56693. };
  56694. A.InterpolationMap_mapException_closure.prototype = {
  56695. call$1($content) {
  56696. return $content instanceof A.Expression;
  56697. },
  56698. $signature: 71
  56699. };
  56700. A._realCasePath_helper.prototype = {
  56701. call$1(path) {
  56702. var dirname = $.$get$context().dirname$1(path);
  56703. if (dirname === path)
  56704. return path;
  56705. return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(this, dirname, path));
  56706. },
  56707. $signature: 6
  56708. };
  56709. A._realCasePath_helper_closure.prototype = {
  56710. call$0() {
  56711. var matches, t1, _0_0, match, exception,
  56712. realDirname = this.helper.call$1(this.dirname),
  56713. t2 = this.path,
  56714. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  56715. try {
  56716. matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
  56717. t1 = null;
  56718. _0_0 = matches;
  56719. $label0$0: {
  56720. match = null;
  56721. if (J.get$length$asx(_0_0) === 1) {
  56722. match = J.$index$asx(_0_0, 0);
  56723. t1 = match;
  56724. break $label0$0;
  56725. }
  56726. t1 = A.join(realDirname, basename, null);
  56727. break $label0$0;
  56728. }
  56729. t1 = t1;
  56730. return t1;
  56731. } catch (exception) {
  56732. if (A.unwrapException(exception) instanceof A.FileSystemException)
  56733. return t2;
  56734. else
  56735. throw exception;
  56736. }
  56737. },
  56738. $signature: 32
  56739. };
  56740. A._realCasePath_helper__closure.prototype = {
  56741. call$1(realPath) {
  56742. return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  56743. },
  56744. $signature: 5
  56745. };
  56746. A.FileSystemException.prototype = {
  56747. toString$0(_) {
  56748. var t1 = $.$get$context();
  56749. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  56750. },
  56751. get$message(receiver) {
  56752. return this.message;
  56753. }
  56754. };
  56755. A._readFile_closure.prototype = {
  56756. call$0() {
  56757. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  56758. },
  56759. $signature: 63
  56760. };
  56761. A.writeFile_closure.prototype = {
  56762. call$0() {
  56763. return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
  56764. },
  56765. $signature: 0
  56766. };
  56767. A.deleteFile_closure.prototype = {
  56768. call$0() {
  56769. return J.unlinkSync$1$x(A.fs(), this.path);
  56770. },
  56771. $signature: 0
  56772. };
  56773. A.readStdin_closure.prototype = {
  56774. call$1(result) {
  56775. this._box_0.contents = result;
  56776. this.completer.complete$1(result);
  56777. },
  56778. $signature: 110
  56779. };
  56780. A.readStdin_closure0.prototype = {
  56781. call$1(chunk) {
  56782. this.sink.add$1(0, type$.List_int._as(chunk));
  56783. },
  56784. call$0() {
  56785. return this.call$1(null);
  56786. },
  56787. "call*": "call$1",
  56788. $requiredArgCount: 0,
  56789. $defaultValues() {
  56790. return [null];
  56791. },
  56792. $signature: 88
  56793. };
  56794. A.readStdin_closure1.prototype = {
  56795. call$1(arg) {
  56796. this.sink.close$0(0);
  56797. },
  56798. call$0() {
  56799. return this.call$1(null);
  56800. },
  56801. "call*": "call$1",
  56802. $requiredArgCount: 0,
  56803. $defaultValues() {
  56804. return [null];
  56805. },
  56806. $signature: 88
  56807. };
  56808. A.readStdin_closure2.prototype = {
  56809. call$1(e) {
  56810. A.printError("Failed to read from stdin");
  56811. A.printError(e);
  56812. e.toString;
  56813. this.completer.completeError$1(e);
  56814. },
  56815. call$0() {
  56816. return this.call$1(null);
  56817. },
  56818. "call*": "call$1",
  56819. $requiredArgCount: 0,
  56820. $defaultValues() {
  56821. return [null];
  56822. },
  56823. $signature: 88
  56824. };
  56825. A.fileExists_closure.prototype = {
  56826. call$0() {
  56827. var error, systemError, exception,
  56828. t1 = this.path;
  56829. if (!J.existsSync$1$x(A.fs(), t1))
  56830. return false;
  56831. try {
  56832. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  56833. return t1;
  56834. } catch (exception) {
  56835. error = A.unwrapException(exception);
  56836. systemError = type$.JsSystemError._as(error);
  56837. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56838. return false;
  56839. throw exception;
  56840. }
  56841. },
  56842. $signature: 21
  56843. };
  56844. A.dirExists_closure.prototype = {
  56845. call$0() {
  56846. var error, systemError, exception,
  56847. t1 = this.path;
  56848. if (!J.existsSync$1$x(A.fs(), t1))
  56849. return false;
  56850. try {
  56851. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  56852. return t1;
  56853. } catch (exception) {
  56854. error = A.unwrapException(exception);
  56855. systemError = type$.JsSystemError._as(error);
  56856. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56857. return false;
  56858. throw exception;
  56859. }
  56860. },
  56861. $signature: 21
  56862. };
  56863. A.ensureDir_closure.prototype = {
  56864. call$0() {
  56865. var error, systemError, exception, t1;
  56866. try {
  56867. J.mkdirSync$1$x(A.fs(), this.path);
  56868. } catch (exception) {
  56869. error = A.unwrapException(exception);
  56870. systemError = type$.JsSystemError._as(error);
  56871. if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
  56872. return;
  56873. if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56874. throw exception;
  56875. t1 = this.path;
  56876. A.ensureDir($.$get$context().dirname$1(t1));
  56877. J.mkdirSync$1$x(A.fs(), t1);
  56878. }
  56879. },
  56880. $signature: 0
  56881. };
  56882. A.listDir_closure.prototype = {
  56883. call$0() {
  56884. var t1 = this.path;
  56885. if (!this.recursive)
  56886. 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());
  56887. else
  56888. return new A.listDir_closure_list().call$1(t1);
  56889. },
  56890. $signature: 151
  56891. };
  56892. A.listDir__closure.prototype = {
  56893. call$1(child) {
  56894. return A.join(this.path, A._asString(child), null);
  56895. },
  56896. $signature: 134
  56897. };
  56898. A.listDir__closure0.prototype = {
  56899. call$1(child) {
  56900. return !A.dirExists(child);
  56901. },
  56902. $signature: 5
  56903. };
  56904. A.listDir_closure_list.prototype = {
  56905. call$1($parent) {
  56906. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
  56907. },
  56908. $signature: 152
  56909. };
  56910. A.listDir__list_closure.prototype = {
  56911. call$1(child) {
  56912. var path = A.join(this.parent, A._asString(child), null);
  56913. return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  56914. },
  56915. $signature: 153
  56916. };
  56917. A.modificationTime_closure.prototype = {
  56918. call$0() {
  56919. var t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
  56920. if (t1 < -864e13 || t1 > 864e13)
  56921. A.throwExpression(A.RangeError$range(t1, -864e13, 864e13, "millisecondsSinceEpoch", null));
  56922. A.checkNotNullable(false, "isUtc", type$.bool);
  56923. return new A.DateTime(t1, 0, false);
  56924. },
  56925. $signature: 154
  56926. };
  56927. A.watchDir_closure0.prototype = {
  56928. call$2(error, events) {
  56929. var t1, t2, t3, t4, t5, lastEvent;
  56930. if (error != null) {
  56931. t1 = this._box_0.controller;
  56932. if (t1 != null)
  56933. t1.addError$1(error);
  56934. } else
  56935. for (t1 = J.get$iterator$ax(events), t2 = this._box_0; t1.moveNext$0();) {
  56936. t3 = t1.get$current(t1);
  56937. switch (t3.type) {
  56938. case "create":
  56939. t4 = t2.controller;
  56940. if (t4 != null) {
  56941. t3 = new A.WatchEvent(B.ChangeType_add, t3.path);
  56942. t5 = t4._state;
  56943. if (t5 >= 4)
  56944. A.throwExpression(t4._badEventState$0());
  56945. if ((t5 & 1) !== 0)
  56946. t4._sendData$1(t3);
  56947. else if ((t5 & 3) === 0) {
  56948. t4 = t4._ensurePendingEvents$0();
  56949. t3 = new A._DelayedData(t3);
  56950. lastEvent = t4.lastPendingEvent;
  56951. if (lastEvent == null)
  56952. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  56953. else {
  56954. lastEvent.set$next(t3);
  56955. t4.lastPendingEvent = t3;
  56956. }
  56957. }
  56958. }
  56959. break;
  56960. case "update":
  56961. t4 = t2.controller;
  56962. if (t4 != null) {
  56963. t3 = new A.WatchEvent(B.ChangeType_modify, t3.path);
  56964. t5 = t4._state;
  56965. if (t5 >= 4)
  56966. A.throwExpression(t4._badEventState$0());
  56967. if ((t5 & 1) !== 0)
  56968. t4._sendData$1(t3);
  56969. else if ((t5 & 3) === 0) {
  56970. t4 = t4._ensurePendingEvents$0();
  56971. t3 = new A._DelayedData(t3);
  56972. lastEvent = t4.lastPendingEvent;
  56973. if (lastEvent == null)
  56974. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  56975. else {
  56976. lastEvent.set$next(t3);
  56977. t4.lastPendingEvent = t3;
  56978. }
  56979. }
  56980. }
  56981. break;
  56982. case "delete":
  56983. t4 = t2.controller;
  56984. if (t4 != null) {
  56985. t3 = new A.WatchEvent(B.ChangeType_remove, t3.path);
  56986. t5 = t4._state;
  56987. if (t5 >= 4)
  56988. A.throwExpression(t4._badEventState$0());
  56989. if ((t5 & 1) !== 0)
  56990. t4._sendData$1(t3);
  56991. else if ((t5 & 3) === 0) {
  56992. t4 = t4._ensurePendingEvents$0();
  56993. t3 = new A._DelayedData(t3);
  56994. lastEvent = t4.lastPendingEvent;
  56995. if (lastEvent == null)
  56996. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  56997. else {
  56998. lastEvent.set$next(t3);
  56999. t4.lastPendingEvent = t3;
  57000. }
  57001. }
  57002. }
  57003. break;
  57004. }
  57005. }
  57006. },
  57007. $signature: 566
  57008. };
  57009. A.watchDir_closure.prototype = {
  57010. call$0() {
  57011. this.subscription.unsubscribe();
  57012. },
  57013. $signature: 1
  57014. };
  57015. A.watchDir_closure1.prototype = {
  57016. call$2(path, _) {
  57017. var t1 = this._box_0.controller;
  57018. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
  57019. },
  57020. call$1(path) {
  57021. return this.call$2(path, null);
  57022. },
  57023. "call*": "call$2",
  57024. $requiredArgCount: 1,
  57025. $defaultValues() {
  57026. return [null];
  57027. },
  57028. $signature: 155
  57029. };
  57030. A.watchDir_closure2.prototype = {
  57031. call$2(path, _) {
  57032. var t1 = this._box_0.controller;
  57033. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
  57034. },
  57035. call$1(path) {
  57036. return this.call$2(path, null);
  57037. },
  57038. "call*": "call$2",
  57039. $requiredArgCount: 1,
  57040. $defaultValues() {
  57041. return [null];
  57042. },
  57043. $signature: 155
  57044. };
  57045. A.watchDir_closure3.prototype = {
  57046. call$1(path) {
  57047. var t1 = this._box_0.controller;
  57048. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
  57049. },
  57050. $signature: 110
  57051. };
  57052. A.watchDir_closure4.prototype = {
  57053. call$1(error) {
  57054. var t1 = this._box_0.controller;
  57055. return t1 == null ? null : t1.addError$1(error);
  57056. },
  57057. $signature: 89
  57058. };
  57059. A.watchDir_closure5.prototype = {
  57060. call$0() {
  57061. var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
  57062. this._box_0.controller = controller;
  57063. this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
  57064. },
  57065. $signature: 1
  57066. };
  57067. A.watchDir__closure.prototype = {
  57068. call$0() {
  57069. J.close$0$x(this.watcher);
  57070. },
  57071. $signature: 1
  57072. };
  57073. A.JSArray0.prototype = {};
  57074. A.Chokidar.prototype = {};
  57075. A.ChokidarOptions.prototype = {};
  57076. A.ChokidarWatcher.prototype = {};
  57077. A.JSFunction.prototype = {};
  57078. A.ImmutableList.prototype = {};
  57079. A.ImmutableMap.prototype = {};
  57080. A.NodeImporterResult.prototype = {};
  57081. A.RenderContext.prototype = {};
  57082. A.RenderContextOptions.prototype = {};
  57083. A.RenderContextResult.prototype = {};
  57084. A.RenderContextResultStats.prototype = {};
  57085. A.JSModule.prototype = {};
  57086. A.JSModuleRequire.prototype = {};
  57087. A.ParcelWatcher_subscribe_closure.prototype = {
  57088. call$2(error, events) {
  57089. var t1 = type$.List_JSObject._is(events) ? events : new A.CastList(events, A._arrayInstanceType(events)._eval$1("CastList<1,JSObject>"));
  57090. this.callback.call$2(error, t1);
  57091. },
  57092. $signature: 564
  57093. };
  57094. A.JSClass.prototype = {};
  57095. A.JSUrl.prototype = {};
  57096. A._PropertyDescriptor.prototype = {};
  57097. A._RequireMain.prototype = {};
  57098. A.LoggerWithDeprecationType.prototype = {
  57099. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57100. this.internalWarn$4$deprecation$span$trace(message, deprecation ? B.Deprecation_KtC : null, span, trace);
  57101. },
  57102. warn$1(_, message) {
  57103. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57104. },
  57105. warn$3$span$trace(_, message, span, trace) {
  57106. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57107. }
  57108. };
  57109. A._QuietLogger.prototype = {
  57110. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57111. },
  57112. warn$1(_, message) {
  57113. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57114. },
  57115. warn$3$span$trace(_, message, span, trace) {
  57116. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57117. },
  57118. debug$2(_, message, span) {
  57119. }
  57120. };
  57121. A.DeprecationProcessingLogger.prototype = {
  57122. validate$0() {
  57123. var t1, t2, t3, t4, _this = this, _null = null;
  57124. for (t1 = _this.fatalDeprecations, t1 = t1.get$iterator(t1), t2 = _this.silenceDeprecations; t1.moveNext$0();) {
  57125. t3 = t1.get$current(t1);
  57126. t4 = t2.contains$1(0, t3);
  57127. if (t4) {
  57128. t3 = t3.toString$0(0);
  57129. _this.internalWarn$4$deprecation$span$trace("Ignoring setting to silence " + t3 + string$.x20deprex2c, _null, _null, _null);
  57130. continue;
  57131. }
  57132. }
  57133. for (t1 = A._LinkedHashSetIterator$(t2, t2._modifications, A._instanceType(t2)._precomputed1), t2 = t1.$ti._precomputed1, t3 = _this.futureDeprecations; t1.moveNext$0();) {
  57134. t4 = t1._collection$_current;
  57135. if (B.Deprecation_KtC === (t4 == null ? t2._as(t4) : t4)) {
  57136. _this.internalWarn$4$deprecation$span$trace(string$.User_a, _null, _null, _null);
  57137. continue;
  57138. }
  57139. }
  57140. for (t1 = A._LinkedHashSetIterator$(t3, t3._modifications, A._instanceType(t3)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  57141. t3 = t1._collection$_current;
  57142. t3 = (t3 == null ? t2._as(t3) : t3).toString$0(0);
  57143. _this.internalWarn$4$deprecation$span$trace(t3 + string$.x20is_noaf, _null, _null, _null);
  57144. }
  57145. },
  57146. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  57147. if (deprecation != null)
  57148. this._handleDeprecation$4$span$trace(deprecation, message, span, trace);
  57149. else
  57150. this._inner.warn$3$span$trace(0, message, span, trace);
  57151. },
  57152. _handleDeprecation$4$span$trace(deprecation, message, span, trace) {
  57153. var _0_3_isSet, _0_3, t1, span0, t2, count, _1_0, _this = this, _null = null;
  57154. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  57155. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20deprex20;
  57156. $label0$0: {
  57157. _0_3_isSet = span != null;
  57158. _0_3 = _null;
  57159. t1 = false;
  57160. if (_0_3_isSet) {
  57161. span0 = span == null ? type$.FileSpan._as(span) : span;
  57162. t1 = trace != null;
  57163. _0_3 = trace;
  57164. } else
  57165. span0 = _null;
  57166. if (t1) {
  57167. if (_0_3_isSet)
  57168. trace = _0_3;
  57169. t1 = A.SassRuntimeException$(message, span0, trace == null ? type$.Trace._as(trace) : trace, _null);
  57170. break $label0$0;
  57171. }
  57172. t1 = false;
  57173. if (span != null)
  57174. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  57175. else
  57176. span = _null;
  57177. if (t1) {
  57178. t1 = A.SassException$(message, span, _null);
  57179. break $label0$0;
  57180. }
  57181. t1 = A.SassScriptException$(message, _null);
  57182. break $label0$0;
  57183. }
  57184. throw A.wrapException(t1);
  57185. }
  57186. if (_this.silenceDeprecations.contains$1(0, deprecation))
  57187. return;
  57188. if (_this.limitRepetition) {
  57189. t1 = _this._warningCounts;
  57190. t2 = t1.$index(0, deprecation);
  57191. count = (t2 == null ? 0 : t2) + 1;
  57192. t1.$indexSet(0, deprecation, count);
  57193. if (count > 5)
  57194. return;
  57195. }
  57196. _1_0 = _this._inner;
  57197. if (_1_0 instanceof A.LoggerWithDeprecationType)
  57198. _1_0.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  57199. else
  57200. _1_0.warn$4$deprecation$span$trace(0, message, true, span, trace);
  57201. },
  57202. debug$2(_, message, span) {
  57203. return this._inner.debug$2(0, message, span);
  57204. },
  57205. summarize$1$js(js) {
  57206. var t1 = this._warningCounts,
  57207. t2 = A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"),
  57208. 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>")));
  57209. if (total > 0) {
  57210. t1 = js ? "" : string$.x0aRun_i;
  57211. this._inner.warn$1(0, "" + total + string$.x20repet + t1);
  57212. }
  57213. }
  57214. };
  57215. A.DeprecationProcessingLogger_summarize_closure.prototype = {
  57216. call$1(count) {
  57217. return count > 5;
  57218. },
  57219. $signature: 48
  57220. };
  57221. A.DeprecationProcessingLogger_summarize_closure0.prototype = {
  57222. call$1(count) {
  57223. return count - 5;
  57224. },
  57225. $signature: 156
  57226. };
  57227. A.StderrLogger.prototype = {
  57228. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  57229. var t3,
  57230. result = new A.StringBuffer(""),
  57231. t1 = deprecation != null,
  57232. showDeprecation = t1 && deprecation !== B.Deprecation_KtC,
  57233. t2 = this.color;
  57234. if (t2) {
  57235. t3 = result._contents = "" + "\x1b[33m\x1b[1m";
  57236. t3 = result._contents = (t1 ? result._contents = t3 + "Deprecation " : t3) + "Warning\x1b[0m";
  57237. if (showDeprecation) {
  57238. t1 = t3 + (" [\x1b[34m" + A.S(deprecation) + "\x1b[0m]");
  57239. result._contents = t1;
  57240. } else
  57241. t1 = t3;
  57242. } else {
  57243. t3 = result._contents = (t1 ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  57244. if (showDeprecation) {
  57245. t1 = t3 + (" [" + A.S(deprecation) + "]");
  57246. result._contents = t1;
  57247. } else
  57248. t1 = t3;
  57249. }
  57250. if (span == null)
  57251. t1 = result._contents = t1 + (": " + message + "\n");
  57252. else if (trace != null) {
  57253. t1 += ": " + message + "\n\n" + span.highlight$1$color(t2) + "\n";
  57254. result._contents = t1;
  57255. } else {
  57256. t1 += " on " + span.message$2$color(0, "\n" + message, t2) + "\n";
  57257. result._contents = t1;
  57258. }
  57259. if (trace != null)
  57260. result._contents = t1 + (A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  57261. A.printError(result);
  57262. },
  57263. debug$2(_, message, span) {
  57264. var url, t3, t4,
  57265. t1 = span.file,
  57266. t2 = span._file$_start;
  57267. if (A.FileLocation$_(t1, t2).file.url == null)
  57268. url = "-";
  57269. else {
  57270. t3 = A.FileLocation$_(t1, t2).file.url;
  57271. t4 = $.$get$context();
  57272. t3.toString;
  57273. url = t4.prettyUri$1(t3);
  57274. }
  57275. t1 = A.FileLocation$_(t1, t2);
  57276. t1 = t1.file.getLine$1(t1.offset);
  57277. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  57278. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  57279. A.printError(t2.charCodeAt(0) == 0 ? t2 : t2);
  57280. }
  57281. };
  57282. A.TrackingLogger.prototype = {
  57283. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57284. this._emittedWarning = true;
  57285. this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  57286. },
  57287. warn$1(_, message) {
  57288. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57289. },
  57290. warn$3$span$trace(_, message, span, trace) {
  57291. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57292. },
  57293. debug$2(_, message, span) {
  57294. this._emittedDebug = true;
  57295. this._tracking$_logger.debug$2(0, message, span);
  57296. }
  57297. };
  57298. A.BuiltInModule.prototype = {
  57299. get$upstream() {
  57300. return B.List_empty7;
  57301. },
  57302. get$variableNodes() {
  57303. return B.Map_empty4;
  57304. },
  57305. get$extensionStore() {
  57306. return B.C_EmptyExtensionStore;
  57307. },
  57308. get$css(_) {
  57309. return new A.CssStylesheet(B.List_empty3, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  57310. },
  57311. get$preModuleComments() {
  57312. return B.Map_empty2;
  57313. },
  57314. get$transitivelyContainsCss() {
  57315. return false;
  57316. },
  57317. get$transitivelyContainsExtensions() {
  57318. return false;
  57319. },
  57320. setVariable$3($name, value, nodeWithSpan) {
  57321. if (!this.variables.containsKey$1($name))
  57322. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  57323. throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable.", null));
  57324. },
  57325. variableIdentity$1($name) {
  57326. return this;
  57327. },
  57328. cloneCss$0() {
  57329. return this;
  57330. },
  57331. $isModule0: 1,
  57332. get$url(receiver) {
  57333. return this.url;
  57334. },
  57335. get$functions(receiver) {
  57336. return this.functions;
  57337. },
  57338. get$mixins() {
  57339. return this.mixins;
  57340. },
  57341. get$variables() {
  57342. return this.variables;
  57343. }
  57344. };
  57345. A.ForwardedModuleView.prototype = {
  57346. get$url(_) {
  57347. var t1 = this._forwarded_view$_inner;
  57348. return t1.get$url(t1);
  57349. },
  57350. get$upstream() {
  57351. return this._forwarded_view$_inner.get$upstream();
  57352. },
  57353. get$extensionStore() {
  57354. return this._forwarded_view$_inner.get$extensionStore();
  57355. },
  57356. get$css(_) {
  57357. var t1 = this._forwarded_view$_inner;
  57358. return t1.get$css(t1);
  57359. },
  57360. get$preModuleComments() {
  57361. return this._forwarded_view$_inner.get$preModuleComments();
  57362. },
  57363. get$transitivelyContainsCss() {
  57364. return this._forwarded_view$_inner.get$transitivelyContainsCss();
  57365. },
  57366. get$transitivelyContainsExtensions() {
  57367. return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
  57368. },
  57369. setVariable$3($name, value, nodeWithSpan) {
  57370. var t2, _1_0, _2_0,
  57371. _s19_ = "Undefined variable.",
  57372. t1 = this._rule,
  57373. _0_0 = t1.shownVariables;
  57374. if (_0_0 != null)
  57375. t2 = !_0_0._base.contains$1(0, $name);
  57376. else
  57377. t2 = false;
  57378. if (t2)
  57379. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57380. else {
  57381. _1_0 = t1.hiddenVariables;
  57382. if (_1_0 != null)
  57383. t2 = _1_0._base.contains$1(0, $name);
  57384. else
  57385. t2 = false;
  57386. if (t2)
  57387. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57388. }
  57389. _2_0 = t1.prefix;
  57390. if (_2_0 != null) {
  57391. if (!B.JSString_methods.startsWith$1($name, _2_0))
  57392. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57393. $name = B.JSString_methods.substring$1($name, _2_0.length);
  57394. }
  57395. return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
  57396. },
  57397. variableIdentity$1($name) {
  57398. var _0_0 = this._rule.prefix;
  57399. if (_0_0 != null)
  57400. $name = B.JSString_methods.substring$1($name, _0_0.length);
  57401. return this._forwarded_view$_inner.variableIdentity$1($name);
  57402. },
  57403. $eq(_, other) {
  57404. if (other == null)
  57405. return false;
  57406. return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
  57407. },
  57408. get$hashCode(_) {
  57409. var t1 = this._forwarded_view$_inner;
  57410. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
  57411. },
  57412. cloneCss$0() {
  57413. return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
  57414. },
  57415. toString$0(_) {
  57416. return "forwarded " + this._forwarded_view$_inner.toString$0(0);
  57417. },
  57418. $isModule0: 1,
  57419. get$variables() {
  57420. return this.variables;
  57421. },
  57422. get$variableNodes() {
  57423. return this.variableNodes;
  57424. },
  57425. get$functions(receiver) {
  57426. return this.functions;
  57427. },
  57428. get$mixins() {
  57429. return this.mixins;
  57430. }
  57431. };
  57432. A.ShadowedModuleView.prototype = {
  57433. get$url(_) {
  57434. var t1 = this._shadowed_view$_inner;
  57435. return t1.get$url(t1);
  57436. },
  57437. get$upstream() {
  57438. return this._shadowed_view$_inner.get$upstream();
  57439. },
  57440. get$extensionStore() {
  57441. return this._shadowed_view$_inner.get$extensionStore();
  57442. },
  57443. get$css(_) {
  57444. var t1 = this._shadowed_view$_inner;
  57445. return t1.get$css(t1);
  57446. },
  57447. get$preModuleComments() {
  57448. return this._shadowed_view$_inner.get$preModuleComments();
  57449. },
  57450. get$transitivelyContainsCss() {
  57451. return this._shadowed_view$_inner.get$transitivelyContainsCss();
  57452. },
  57453. get$transitivelyContainsExtensions() {
  57454. return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
  57455. },
  57456. setVariable$3($name, value, nodeWithSpan) {
  57457. if (!this.variables.containsKey$1($name))
  57458. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  57459. else
  57460. this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
  57461. },
  57462. variableIdentity$1($name) {
  57463. return this._shadowed_view$_inner.variableIdentity$1($name);
  57464. },
  57465. $eq(_, other) {
  57466. var t1, t2, t3, _this = this;
  57467. if (other == null)
  57468. return false;
  57469. t1 = false;
  57470. if (other instanceof A.ShadowedModuleView)
  57471. if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
  57472. t2 = _this.variables;
  57473. t2 = t2.get$keys(t2);
  57474. t3 = other.variables;
  57475. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  57476. t2 = _this.functions;
  57477. t2 = t2.get$keys(t2);
  57478. t3 = other.functions;
  57479. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  57480. t1 = _this.mixins;
  57481. t1 = t1.get$keys(t1);
  57482. t2 = other.mixins;
  57483. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  57484. t1 = t2;
  57485. }
  57486. }
  57487. }
  57488. return t1;
  57489. },
  57490. get$hashCode(_) {
  57491. var t1 = this._shadowed_view$_inner;
  57492. return t1.get$hashCode(t1);
  57493. },
  57494. cloneCss$0() {
  57495. var _this = this;
  57496. return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  57497. },
  57498. toString$0(_) {
  57499. return "shadowed " + this._shadowed_view$_inner.toString$0(0);
  57500. },
  57501. $isModule0: 1,
  57502. get$variables() {
  57503. return this.variables;
  57504. },
  57505. get$variableNodes() {
  57506. return this.variableNodes;
  57507. },
  57508. get$functions(receiver) {
  57509. return this.functions;
  57510. },
  57511. get$mixins() {
  57512. return this.mixins;
  57513. }
  57514. };
  57515. A.AtRootQueryParser.prototype = {
  57516. parse$0(_) {
  57517. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
  57518. }
  57519. };
  57520. A.AtRootQueryParser_parse_closure.prototype = {
  57521. call$0() {
  57522. var include, atRules,
  57523. t1 = this.$this,
  57524. t2 = t1.scanner;
  57525. t2.expectChar$1(40);
  57526. t1.whitespace$1$consumeNewlines(true);
  57527. include = t1.scanIdentifier$1("with");
  57528. if (!include)
  57529. t1.expectIdentifier$2$name("without", '"with" or "without"');
  57530. t1.whitespace$1$consumeNewlines(true);
  57531. t2.expectChar$1(58);
  57532. t1.whitespace$1$consumeNewlines(true);
  57533. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  57534. do {
  57535. atRules.add$1(0, t1.identifier$0().toLowerCase());
  57536. t1.whitespace$1$consumeNewlines(true);
  57537. } while (t1.lookingAtIdentifier$0());
  57538. t2.expectChar$1(41);
  57539. t2.expectDone$0();
  57540. return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  57541. },
  57542. $signature: 541
  57543. };
  57544. A._disallowedFunctionNames_closure.prototype = {
  57545. call$1($function) {
  57546. return $function.name;
  57547. },
  57548. $signature: 540
  57549. };
  57550. A.CssParser.prototype = {
  57551. get$plainCss() {
  57552. return true;
  57553. },
  57554. silentComment$0() {
  57555. var t1, t2, _this = this;
  57556. if (_this._inExpression)
  57557. return false;
  57558. t1 = _this.scanner;
  57559. t2 = t1._string_scanner$_position;
  57560. _this.super$Parser$silentComment();
  57561. _this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57562. },
  57563. atRule$2$root(child, root) {
  57564. var $name, _0_0, _this = this,
  57565. t1 = _this.scanner,
  57566. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57567. t1.expectChar$1(64);
  57568. $name = _this.interpolatedIdentifier$0();
  57569. _this.whitespace$1$consumeNewlines(true);
  57570. _0_0 = $name.get$asPlain();
  57571. $label0$0: {
  57572. 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)
  57573. _this._forbiddenAtRule$1(start);
  57574. if ("import" === _0_0) {
  57575. t1 = _this._cssImportRule$1(start);
  57576. break $label0$0;
  57577. }
  57578. if ("media" === _0_0) {
  57579. t1 = _this.mediaRule$1(start);
  57580. break $label0$0;
  57581. }
  57582. if ("-moz-document" === _0_0) {
  57583. t1 = _this.mozDocumentRule$2(start, $name);
  57584. break $label0$0;
  57585. }
  57586. if ("supports" === _0_0) {
  57587. t1 = _this.supportsRule$1(start);
  57588. break $label0$0;
  57589. }
  57590. t1 = _this.unknownAtRule$2(start, $name);
  57591. break $label0$0;
  57592. }
  57593. return t1;
  57594. },
  57595. _forbiddenAtRule$1(start) {
  57596. this.almostAnyValue$0();
  57597. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  57598. },
  57599. _cssImportRule$1(start) {
  57600. var _0_0, t3, string, $name, _0_3, _0_4, t4, _0_8, t5, modifiers, _this = this, _null = null,
  57601. t1 = _this.scanner,
  57602. t2 = t1._string_scanner$_position,
  57603. _1_0 = t1.peekChar$0();
  57604. $label1$1: {
  57605. if (117 === _1_0 || 85 === _1_0) {
  57606. _0_0 = _this.dynamicUrl$0();
  57607. $label0$0: {
  57608. if (_0_0 instanceof A.StringExpression) {
  57609. t3 = _0_0.text;
  57610. break $label0$0;
  57611. }
  57612. string = _null;
  57613. t3 = false;
  57614. if (_0_0 instanceof A.InterpolatedFunctionExpression) {
  57615. $name = _0_0.name;
  57616. _0_3 = _0_0.$arguments;
  57617. _0_4 = _0_3.positional;
  57618. t4 = _0_4;
  57619. if (t4.length === 1) {
  57620. _0_8 = _0_4[0];
  57621. t4 = _0_8;
  57622. if (t4 instanceof A.StringExpression) {
  57623. type$.StringExpression._as(_0_8);
  57624. t4 = _0_3.named;
  57625. if (t4.get$isEmpty(t4))
  57626. if (_0_3.rest == null)
  57627. t3 = _0_3.keywordRest == null;
  57628. string = _0_8;
  57629. }
  57630. }
  57631. } else
  57632. $name = _null;
  57633. if (t3) {
  57634. t3 = new A.StringBuffer("");
  57635. t4 = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  57636. t4.addInterpolation$1($name);
  57637. t5 = A.Primitives_stringFromCharCode(40);
  57638. t3._contents += t5;
  57639. t4.addInterpolation$1(string.asInterpolation$0());
  57640. t5 = A.Primitives_stringFromCharCode(41);
  57641. t3._contents += t5;
  57642. t4 = t4.interpolation$1(_0_0.span);
  57643. t3 = t4;
  57644. break $label0$0;
  57645. }
  57646. t3 = _this.error$2(0, "Unsupported plain CSS import.", _0_0.get$span(_0_0));
  57647. }
  57648. break $label1$1;
  57649. }
  57650. t3 = _this.interpolatedString$0().asInterpolation$1$static(true);
  57651. break $label1$1;
  57652. }
  57653. _this.whitespace$1$consumeNewlines(true);
  57654. modifiers = _this.tryImportModifiers$0();
  57655. _this.expectStatementSeparator$1("@import rule");
  57656. t2 = A._setArrayType([new A.StaticImport(t3, modifiers, t1.spanFrom$1(new A._SpanScannerState(t1, t2)))], type$.JSArray_Import);
  57657. t1 = t1.spanFrom$1(start);
  57658. return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
  57659. },
  57660. parentheses$0() {
  57661. var expression,
  57662. t1 = this.scanner,
  57663. t2 = t1._string_scanner$_position;
  57664. t1.expectChar$1(40);
  57665. this.whitespace$1$consumeNewlines(true);
  57666. expression = this.expressionUntilComma$0();
  57667. t1.expectChar$1(41);
  57668. return new A.ParenthesizedExpression(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57669. },
  57670. identifierLike$0() {
  57671. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  57672. t1 = _this.scanner,
  57673. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  57674. identifier = _this.interpolatedIdentifier$0(),
  57675. plain = identifier.get$asPlain(),
  57676. lower = plain.toLowerCase(),
  57677. _0_0 = _this.trySpecialFunction$2(lower, start);
  57678. if (_0_0 != null)
  57679. return _0_0;
  57680. t2 = t1._string_scanner$_position;
  57681. if (t1.scanChar$1(46))
  57682. return _this.namespacedExpression$2(plain, start);
  57683. if (!t1.scanChar$1(40))
  57684. return new A.StringExpression(identifier, false);
  57685. allowEmptySecondArg = lower === "var";
  57686. $arguments = A._setArrayType([], type$.JSArray_Expression);
  57687. if (!t1.scanChar$1(41)) {
  57688. do {
  57689. _this.whitespace$1$consumeNewlines(true);
  57690. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  57691. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  57692. t4 = t3.offset;
  57693. t4 = A._FileSpan$(t3.file, t4, t4);
  57694. $arguments.push(new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([""], type$.Object), B.List_null, t4), false));
  57695. break;
  57696. }
  57697. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  57698. _this.whitespace$1$consumeNewlines(true);
  57699. } while (t1.scanChar$1(44));
  57700. t1.expectChar$1(41);
  57701. }
  57702. if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
  57703. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  57704. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  57705. t3 = type$.Expression;
  57706. t4 = A.List_List$unmodifiable($arguments, t3);
  57707. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty5, type$.String, t3);
  57708. t1 = t1.spanFrom$1(start);
  57709. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, new A.ArgumentList(t4, t3, null, null, t2), t1);
  57710. },
  57711. namespacedExpression$2(namespace, start) {
  57712. var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
  57713. this.error$2(0, string$.Modulen, expression.get$span(expression));
  57714. }
  57715. };
  57716. A.KeyframeSelectorParser.prototype = {
  57717. parse$0(_) {
  57718. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
  57719. },
  57720. _percentage$0() {
  57721. var $self, _0_0,
  57722. t1 = this.scanner,
  57723. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  57724. second = t1.peekChar$0();
  57725. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  57726. t1.error$1(0, "Expected number.");
  57727. while (true) {
  57728. $self = t1.peekChar$0();
  57729. if (!($self != null && $self >= 48 && $self <= 57))
  57730. break;
  57731. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57732. }
  57733. if (t1.peekChar$0() === 46) {
  57734. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57735. while (true) {
  57736. $self = t1.peekChar$0();
  57737. if (!($self != null && $self >= 48 && $self <= 57))
  57738. break;
  57739. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57740. }
  57741. }
  57742. if (this.scanIdentChar$1(101)) {
  57743. t2 += A.Primitives_stringFromCharCode(101);
  57744. _0_0 = t1.peekChar$0();
  57745. if (43 === _0_0 || 45 === _0_0)
  57746. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57747. $self = t1.peekChar$0();
  57748. if (!($self != null && $self >= 48 && $self <= 57))
  57749. t1.error$1(0, "Expected digit.");
  57750. do {
  57751. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57752. $self = t1.peekChar$0();
  57753. } while ($self != null && $self >= 48 && $self <= 57);
  57754. }
  57755. t1.expectChar$1(37);
  57756. t2 += A.Primitives_stringFromCharCode(37);
  57757. return t2.charCodeAt(0) == 0 ? t2 : t2;
  57758. }
  57759. };
  57760. A.KeyframeSelectorParser_parse_closure.prototype = {
  57761. call$0() {
  57762. var selectors = A._setArrayType([], type$.JSArray_String),
  57763. t1 = this.$this,
  57764. t2 = t1.scanner;
  57765. do {
  57766. t1.whitespace$1$consumeNewlines(true);
  57767. if (t1.lookingAtIdentifier$0())
  57768. if (t1.scanIdentifier$1("from"))
  57769. selectors.push("from");
  57770. else {
  57771. t1.expectIdentifier$2$name("to", '"to" or "from"');
  57772. selectors.push("to");
  57773. }
  57774. else
  57775. selectors.push(t1._percentage$0());
  57776. t1.whitespace$1$consumeNewlines(true);
  57777. } while (t2.scanChar$1(44));
  57778. t2.expectDone$0();
  57779. return selectors;
  57780. },
  57781. $signature: 138
  57782. };
  57783. A.MediaQueryParser.prototype = {
  57784. parse$0(_) {
  57785. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
  57786. },
  57787. _mediaQuery$0() {
  57788. var conditions, conjunction, t1, identifier1, identifier2, type, modifier, _this = this, _null = null, _s3_ = "and";
  57789. if (_this.scanner.peekChar$0() === 40) {
  57790. conditions = A._setArrayType([_this._mediaInParens$0()], type$.JSArray_String);
  57791. _this.whitespace$1$consumeNewlines(true);
  57792. if (_this.scanIdentifier$1(_s3_)) {
  57793. _this.expectWhitespace$0();
  57794. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1(_s3_));
  57795. conjunction = true;
  57796. } else {
  57797. t1 = _this.scanIdentifier$1("or");
  57798. if (t1) {
  57799. _this.expectWhitespace$0();
  57800. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1("or"));
  57801. }
  57802. conjunction = !t1;
  57803. }
  57804. return A.CssMediaQuery$condition(conditions, conjunction);
  57805. }
  57806. identifier1 = _this.identifier$0();
  57807. if (A.equalsIgnoreCase(identifier1, "not")) {
  57808. _this.expectWhitespace$0();
  57809. if (!_this.lookingAtIdentifier$0())
  57810. return A.CssMediaQuery$condition(A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), _null);
  57811. }
  57812. _this.whitespace$1$consumeNewlines(true);
  57813. if (!_this.lookingAtIdentifier$0())
  57814. return A.CssMediaQuery$type(identifier1, _null, _null);
  57815. identifier2 = _this.identifier$0();
  57816. if (A.equalsIgnoreCase(identifier2, _s3_)) {
  57817. _this.expectWhitespace$0();
  57818. type = identifier1;
  57819. modifier = _null;
  57820. } else {
  57821. _this.whitespace$1$consumeNewlines(true);
  57822. if (_this.scanIdentifier$1(_s3_))
  57823. _this.expectWhitespace$0();
  57824. else
  57825. return A.CssMediaQuery$type(identifier2, _null, identifier1);
  57826. type = identifier2;
  57827. modifier = identifier1;
  57828. }
  57829. if (_this.scanIdentifier$1("not")) {
  57830. _this.expectWhitespace$0();
  57831. return A.CssMediaQuery$type(type, A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  57832. }
  57833. return A.CssMediaQuery$type(type, _this._mediaLogicSequence$1(_s3_), modifier);
  57834. },
  57835. _mediaLogicSequence$1(operator) {
  57836. var t1, t2, _this = this,
  57837. result = A._setArrayType([], type$.JSArray_String);
  57838. for (t1 = _this.scanner; true;) {
  57839. t1.expectChar$2$name(40, "media condition in parentheses");
  57840. t2 = _this.declarationValue$0();
  57841. t1.expectChar$1(41);
  57842. result.push("(" + t2 + ")");
  57843. _this.whitespace$1$consumeNewlines(true);
  57844. if (!_this.scanIdentifier$1(operator))
  57845. return result;
  57846. _this.expectWhitespace$0();
  57847. }
  57848. },
  57849. _mediaInParens$0() {
  57850. var t2,
  57851. t1 = this.scanner;
  57852. t1.expectChar$2$name(40, "media condition in parentheses");
  57853. t2 = this.declarationValue$0();
  57854. t1.expectChar$1(41);
  57855. return "(" + t2 + ")";
  57856. }
  57857. };
  57858. A.MediaQueryParser_parse_closure.prototype = {
  57859. call$0() {
  57860. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
  57861. t1 = this.$this,
  57862. t2 = t1.scanner;
  57863. do {
  57864. t1.whitespace$1$consumeNewlines(true);
  57865. queries.push(t1._mediaQuery$0());
  57866. t1.whitespace$1$consumeNewlines(true);
  57867. } while (t2.scanChar$1(44));
  57868. t2.expectDone$0();
  57869. return queries;
  57870. },
  57871. $signature: 539
  57872. };
  57873. A.Parser.prototype = {
  57874. _parseIdentifier$0() {
  57875. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
  57876. },
  57877. _isVariableDeclarationLike$0() {
  57878. var _this = this,
  57879. t1 = _this.scanner;
  57880. if (!t1.scanChar$1(36))
  57881. return false;
  57882. if (!_this.lookingAtIdentifier$0())
  57883. return false;
  57884. _this.identifier$0();
  57885. _this.whitespace$1$consumeNewlines(true);
  57886. return t1.scanChar$1(58);
  57887. },
  57888. whitespace$1$consumeNewlines(consumeNewlines) {
  57889. do
  57890. this.whitespaceWithoutComments$1$consumeNewlines(consumeNewlines);
  57891. while (this.scanComment$0());
  57892. },
  57893. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  57894. var t3,
  57895. t1 = this.scanner,
  57896. t2 = t1.string.length;
  57897. while (true) {
  57898. if (t1._string_scanner$_position !== t2) {
  57899. t3 = t1.peekChar$0();
  57900. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  57901. } else
  57902. t3 = false;
  57903. if (!t3)
  57904. break;
  57905. t1.readChar$0();
  57906. }
  57907. },
  57908. spaces$0() {
  57909. var t3,
  57910. t1 = this.scanner,
  57911. t2 = t1.string.length;
  57912. while (true) {
  57913. if (t1._string_scanner$_position !== t2) {
  57914. t3 = t1.peekChar$0();
  57915. t3 = t3 === 32 || t3 === 9;
  57916. } else
  57917. t3 = false;
  57918. if (!t3)
  57919. break;
  57920. t1.readChar$0();
  57921. }
  57922. },
  57923. scanComment$0() {
  57924. var _0_0,
  57925. t1 = this.scanner;
  57926. if (t1.peekChar$0() !== 47)
  57927. return false;
  57928. _0_0 = t1.peekChar$1(1);
  57929. if (47 === _0_0)
  57930. return this.silentComment$0();
  57931. if (42 === _0_0) {
  57932. this.loudComment$0();
  57933. return true;
  57934. }
  57935. return false;
  57936. },
  57937. expectWhitespace$1$consumeNewlines(consumeNewlines) {
  57938. var t2, t3,
  57939. t1 = this.scanner;
  57940. if (t1._string_scanner$_position !== t1.string.length) {
  57941. t2 = t1.peekChar$0();
  57942. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  57943. t2 = t3;
  57944. } else
  57945. t2 = true;
  57946. if (t2)
  57947. t1.error$1(0, "Expected whitespace.");
  57948. this.whitespace$1$consumeNewlines(consumeNewlines);
  57949. },
  57950. expectWhitespace$0() {
  57951. return this.expectWhitespace$1$consumeNewlines(false);
  57952. },
  57953. silentComment$0() {
  57954. var t2, t3,
  57955. t1 = this.scanner;
  57956. t1.expect$1("//");
  57957. t2 = t1.string.length;
  57958. while (true) {
  57959. if (t1._string_scanner$_position !== t2) {
  57960. t3 = t1.peekChar$0();
  57961. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  57962. } else
  57963. t3 = false;
  57964. if (!t3)
  57965. break;
  57966. t1.readChar$0();
  57967. }
  57968. return true;
  57969. },
  57970. loudComment$0() {
  57971. var next,
  57972. t1 = this.scanner;
  57973. t1.expect$1("/*");
  57974. for (; true;) {
  57975. if (t1.readChar$0() !== 42)
  57976. continue;
  57977. do
  57978. next = t1.readChar$0();
  57979. while (next === 42);
  57980. if (next === 47)
  57981. break;
  57982. }
  57983. },
  57984. identifier$2$normalize$unit(normalize, unit) {
  57985. var t2, _0_0, _this = this,
  57986. _s20_ = "Expected identifier.",
  57987. text = new A.StringBuffer(""),
  57988. t1 = _this.scanner;
  57989. if (t1.scanChar$1(45)) {
  57990. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  57991. if (t1.scanChar$1(45)) {
  57992. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  57993. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  57994. t1 = text._contents;
  57995. return t1.charCodeAt(0) == 0 ? t1 : t1;
  57996. }
  57997. } else
  57998. t2 = "";
  57999. $label0$0: {
  58000. _0_0 = t1.peekChar$0();
  58001. if (_0_0 == null)
  58002. t1.error$1(0, _s20_);
  58003. if (95 === _0_0 && normalize) {
  58004. t1.readChar$0();
  58005. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  58006. break $label0$0;
  58007. }
  58008. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128) {
  58009. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  58010. break $label0$0;
  58011. }
  58012. if (92 === _0_0) {
  58013. text._contents = t2 + _this.escape$1$identifierStart(true);
  58014. break $label0$0;
  58015. }
  58016. t1.error$1(0, _s20_);
  58017. }
  58018. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  58019. t1 = text._contents;
  58020. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58021. },
  58022. identifier$0() {
  58023. return this.identifier$2$normalize$unit(false, false);
  58024. },
  58025. identifier$1$normalize(normalize) {
  58026. return this.identifier$2$normalize$unit(normalize, false);
  58027. },
  58028. identifier$1$unit(unit) {
  58029. return this.identifier$2$normalize$unit(false, unit);
  58030. },
  58031. _identifierBody$3$normalize$unit(text, normalize, unit) {
  58032. var t1, _1_0, _0_0, t2;
  58033. for (t1 = this.scanner; true;) {
  58034. _1_0 = t1.peekChar$0();
  58035. if (_1_0 == null)
  58036. break;
  58037. if (45 === _1_0 && unit) {
  58038. _0_0 = t1.peekChar$1(1);
  58039. if (46 !== _0_0)
  58040. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  58041. else
  58042. t2 = true;
  58043. if (t2)
  58044. break;
  58045. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58046. text._contents += t2;
  58047. continue;
  58048. }
  58049. if (95 === _1_0 && normalize) {
  58050. t1.readChar$0();
  58051. t2 = A.Primitives_stringFromCharCode(45);
  58052. text._contents += t2;
  58053. continue;
  58054. }
  58055. if (_1_0 !== 95) {
  58056. if (!(_1_0 >= 97 && _1_0 <= 122))
  58057. t2 = _1_0 >= 65 && _1_0 <= 90;
  58058. else
  58059. t2 = true;
  58060. t2 = t2 || _1_0 >= 128;
  58061. } else
  58062. t2 = true;
  58063. if (!t2)
  58064. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  58065. else
  58066. t2 = true;
  58067. if (t2) {
  58068. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58069. text._contents += t2;
  58070. continue;
  58071. }
  58072. if (92 === _1_0) {
  58073. t2 = this.escape$0();
  58074. text._contents += t2;
  58075. continue;
  58076. }
  58077. break;
  58078. }
  58079. },
  58080. _identifierBody$1(text) {
  58081. return this._identifierBody$3$normalize$unit(text, false, false);
  58082. },
  58083. string$0() {
  58084. var buffer, _0_0, t2,
  58085. t1 = this.scanner,
  58086. quote = t1.readChar$0();
  58087. if (quote !== 39 && quote !== 34)
  58088. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  58089. buffer = new A.StringBuffer("");
  58090. for (; true;) {
  58091. _0_0 = t1.peekChar$0();
  58092. if (_0_0 === quote) {
  58093. t1.readChar$0();
  58094. break;
  58095. }
  58096. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  58097. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  58098. if (92 === _0_0) {
  58099. t2 = t1.peekChar$1(1);
  58100. if (t2 === 10 || t2 === 13 || t2 === 12) {
  58101. t1.readChar$0();
  58102. t1.readChar$0();
  58103. } else {
  58104. t2 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  58105. buffer._contents += t2;
  58106. }
  58107. continue;
  58108. }
  58109. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58110. buffer._contents += t2;
  58111. }
  58112. t1 = buffer._contents;
  58113. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58114. },
  58115. declarationValue$1$allowEmpty(allowEmpty) {
  58116. var t1, t2, t3, wroteNewline, next, wroteNewline0, t4, start, end, _0_0, _this = this,
  58117. buffer = new A.StringBuffer(""),
  58118. brackets = A._setArrayType([], type$.JSArray_int);
  58119. for (t1 = _this.scanner, t2 = _this.get$loudComment(), t3 = _this.get$string(), wroteNewline = false; true;) {
  58120. next = t1.peekChar$0();
  58121. if (next == null)
  58122. break;
  58123. wroteNewline0 = false;
  58124. if (92 === next) {
  58125. t4 = _this.escape$1$identifierStart(true);
  58126. buffer._contents += t4;
  58127. wroteNewline = wroteNewline0;
  58128. continue;
  58129. }
  58130. if (34 === next || 39 === next) {
  58131. start = t1._string_scanner$_position;
  58132. t3.call$0();
  58133. end = t1._string_scanner$_position;
  58134. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  58135. wroteNewline = wroteNewline0;
  58136. continue;
  58137. }
  58138. if (47 === next) {
  58139. if (t1.peekChar$1(1) === 42) {
  58140. start = t1._string_scanner$_position;
  58141. t2.call$0();
  58142. end = t1._string_scanner$_position;
  58143. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  58144. } else {
  58145. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58146. buffer._contents += t4;
  58147. }
  58148. wroteNewline = wroteNewline0;
  58149. continue;
  58150. }
  58151. if (32 === next || 9 === next) {
  58152. if (!wroteNewline) {
  58153. t4 = t1.peekChar$1(1);
  58154. t4 = !(t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12);
  58155. } else
  58156. t4 = true;
  58157. if (t4) {
  58158. t4 = A.Primitives_stringFromCharCode(32);
  58159. buffer._contents += t4;
  58160. }
  58161. t1.readChar$0();
  58162. continue;
  58163. }
  58164. if (10 === next || 13 === next || 12 === next) {
  58165. t4 = t1.peekChar$1(-1);
  58166. if (!(t4 === 10 || t4 === 13 || t4 === 12))
  58167. buffer._contents += "\n";
  58168. t1.readChar$0();
  58169. wroteNewline = true;
  58170. continue;
  58171. }
  58172. if (40 === next || 123 === next || 91 === next) {
  58173. t4 = A.Primitives_stringFromCharCode(next);
  58174. buffer._contents += t4;
  58175. brackets.push(A.opposite(t1.readChar$0()));
  58176. wroteNewline = wroteNewline0;
  58177. continue;
  58178. }
  58179. if (41 === next || 125 === next || 93 === next) {
  58180. if (brackets.length === 0)
  58181. break;
  58182. t4 = A.Primitives_stringFromCharCode(next);
  58183. buffer._contents += t4;
  58184. t1.expectChar$1(brackets.pop());
  58185. wroteNewline = wroteNewline0;
  58186. continue;
  58187. }
  58188. if (59 === next) {
  58189. if (brackets.length === 0)
  58190. break;
  58191. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58192. buffer._contents += t4;
  58193. continue;
  58194. }
  58195. if (117 === next || 85 === next) {
  58196. _0_0 = _this.tryUrl$0();
  58197. if (_0_0 != null)
  58198. buffer._contents += _0_0;
  58199. else {
  58200. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58201. buffer._contents += t4;
  58202. }
  58203. wroteNewline = wroteNewline0;
  58204. continue;
  58205. }
  58206. if (_this.lookingAtIdentifier$0()) {
  58207. t4 = _this.identifier$0();
  58208. buffer._contents += t4;
  58209. } else {
  58210. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58211. buffer._contents += t4;
  58212. }
  58213. wroteNewline = wroteNewline0;
  58214. }
  58215. if (brackets.length !== 0)
  58216. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  58217. if (!allowEmpty && buffer._contents.length === 0)
  58218. t1.error$1(0, "Expected token.");
  58219. t1 = buffer._contents;
  58220. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58221. },
  58222. declarationValue$0() {
  58223. return this.declarationValue$1$allowEmpty(false);
  58224. },
  58225. tryUrl$0() {
  58226. var buffer, _0_0, t2, _this = this,
  58227. t1 = _this.scanner,
  58228. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58229. if (!_this.scanIdentifier$1("url"))
  58230. return null;
  58231. if (!t1.scanChar$1(40)) {
  58232. t1.set$state(start);
  58233. return null;
  58234. }
  58235. _this.whitespace$1$consumeNewlines(true);
  58236. buffer = new A.StringBuffer("");
  58237. buffer._contents = "" + "url(";
  58238. for (; true;) {
  58239. _0_0 = t1.peekChar$0();
  58240. if (_0_0 == null)
  58241. break;
  58242. if (92 === _0_0) {
  58243. t2 = _this.escape$0();
  58244. buffer._contents += t2;
  58245. continue;
  58246. }
  58247. t2 = true;
  58248. if (37 !== _0_0)
  58249. if (38 !== _0_0)
  58250. if (35 !== _0_0)
  58251. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  58252. if (t2) {
  58253. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58254. buffer._contents += t2;
  58255. continue;
  58256. }
  58257. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  58258. _this.whitespace$1$consumeNewlines(true);
  58259. if (t1.peekChar$0() !== 41)
  58260. break;
  58261. continue;
  58262. }
  58263. if (41 === _0_0) {
  58264. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58265. t2 = buffer._contents += t2;
  58266. return t2.charCodeAt(0) == 0 ? t2 : t2;
  58267. }
  58268. break;
  58269. }
  58270. t1.set$state(start);
  58271. return null;
  58272. },
  58273. variableName$0() {
  58274. this.scanner.expectChar$1(36);
  58275. return this.identifier$1$normalize(true);
  58276. },
  58277. escape$1$identifierStart(identifierStart) {
  58278. var value, _0_0, i, next, t2, exception,
  58279. _s25_ = "Expected escape sequence.",
  58280. t1 = this.scanner,
  58281. start = t1._string_scanner$_position;
  58282. t1.expectChar$1(92);
  58283. value = 0;
  58284. $label0$1: {
  58285. _0_0 = t1.peekChar$0();
  58286. if (_0_0 == null)
  58287. t1.error$1(0, _s25_);
  58288. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  58289. t1.error$1(0, _s25_);
  58290. if (A.CharacterExtension_get_isHex(_0_0)) {
  58291. for (i = 0; i < 6; ++i) {
  58292. next = t1.peekChar$0();
  58293. if (next != null) {
  58294. t2 = true;
  58295. if (!(next >= 48 && next <= 57))
  58296. if (!(next >= 97 && next <= 102))
  58297. t2 = next >= 65 && next <= 70;
  58298. t2 = !t2;
  58299. } else
  58300. t2 = true;
  58301. if (t2)
  58302. break;
  58303. value *= 16;
  58304. value += A.asHex(t1.readChar$0());
  58305. }
  58306. this.scanCharIf$1(new A.Parser_escape_closure());
  58307. break $label0$1;
  58308. }
  58309. value = t1.readChar$0();
  58310. }
  58311. if (identifierStart) {
  58312. t2 = value;
  58313. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128;
  58314. } else {
  58315. t2 = value;
  58316. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128))
  58317. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  58318. else
  58319. t2 = true;
  58320. }
  58321. if (t2)
  58322. try {
  58323. t2 = A.Primitives_stringFromCharCode(value);
  58324. return t2;
  58325. } catch (exception) {
  58326. if (type$.RangeError._is(A.unwrapException(exception)))
  58327. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  58328. else
  58329. throw exception;
  58330. }
  58331. else {
  58332. t1 = true;
  58333. if (!(value <= 31))
  58334. if (!J.$eq$(value, 127))
  58335. if (identifierStart) {
  58336. t1 = value;
  58337. t1 = t1 >= 48 && t1 <= 57;
  58338. } else
  58339. t1 = false;
  58340. if (t1) {
  58341. t1 = "" + A.Primitives_stringFromCharCode(92);
  58342. if (value > 15)
  58343. t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  58344. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
  58345. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58346. } else
  58347. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  58348. }
  58349. },
  58350. escape$0() {
  58351. return this.escape$1$identifierStart(false);
  58352. },
  58353. scanCharIf$1(condition) {
  58354. var t1 = this.scanner;
  58355. if (!condition.call$1(t1.peekChar$0()))
  58356. return false;
  58357. t1.readChar$0();
  58358. return true;
  58359. },
  58360. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  58361. var t3,
  58362. t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
  58363. t2 = this.scanner,
  58364. _0_0 = t2.peekChar$0();
  58365. if (_0_0 != null) {
  58366. t3 = t1.call$1(_0_0);
  58367. t3 = t3;
  58368. } else
  58369. t3 = false;
  58370. if (t3) {
  58371. t2.readChar$0();
  58372. return true;
  58373. }
  58374. if (92 === _0_0) {
  58375. t3 = t2._string_scanner$_position;
  58376. if (t1.call$1(A.consumeEscapedCharacter(t2)))
  58377. return true;
  58378. t2.set$state(new A._SpanScannerState(t2, t3));
  58379. }
  58380. return false;
  58381. },
  58382. scanIdentChar$1(char) {
  58383. return this.scanIdentChar$2$caseSensitive(char, false);
  58384. },
  58385. expectIdentChar$1(letter) {
  58386. var t1;
  58387. if (this.scanIdentChar$2$caseSensitive(letter, false))
  58388. return;
  58389. t1 = this.scanner;
  58390. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  58391. },
  58392. lookingAtIdentifier$1($forward) {
  58393. var t1, _1_0, t2, _0_0;
  58394. if ($forward == null)
  58395. $forward = 0;
  58396. t1 = this.scanner;
  58397. _1_0 = t1.peekChar$1($forward);
  58398. $label0$0: {
  58399. if (A._isInt(_1_0))
  58400. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128;
  58401. else
  58402. t2 = false;
  58403. if (t2 || 92 === _1_0) {
  58404. t1 = true;
  58405. break $label0$0;
  58406. }
  58407. if (45 === _1_0) {
  58408. _0_0 = t1.peekChar$1($forward + 1);
  58409. $label1$1: {
  58410. if (A._isInt(_0_0))
  58411. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128;
  58412. else
  58413. t1 = false;
  58414. t1 = t1 || 92 === _0_0 || 45 === _0_0;
  58415. if (t1)
  58416. break $label1$1;
  58417. break $label1$1;
  58418. }
  58419. break $label0$0;
  58420. }
  58421. t1 = false;
  58422. break $label0$0;
  58423. }
  58424. return t1;
  58425. },
  58426. lookingAtIdentifier$0() {
  58427. return this.lookingAtIdentifier$1(null);
  58428. },
  58429. lookingAtIdentifierBody$0() {
  58430. var t1,
  58431. next = this.scanner.peekChar$0();
  58432. if (next != null) {
  58433. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic(next) || next >= 128))
  58434. t1 = next >= 48 && next <= 57 || next === 45;
  58435. else
  58436. t1 = true;
  58437. t1 = t1 || next === 92;
  58438. } else
  58439. t1 = false;
  58440. return t1;
  58441. },
  58442. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  58443. var t1, t2, _this = this;
  58444. if (!_this.lookingAtIdentifier$0())
  58445. return false;
  58446. t1 = _this.scanner;
  58447. t2 = t1._string_scanner$_position;
  58448. if (_this._consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  58449. return true;
  58450. else {
  58451. t1.set$state(new A._SpanScannerState(t1, t2));
  58452. return false;
  58453. }
  58454. },
  58455. scanIdentifier$1(text) {
  58456. return this.scanIdentifier$2$caseSensitive(text, false);
  58457. },
  58458. _consumeIdentifier$2(text, caseSensitive) {
  58459. var t1, t2, t3;
  58460. 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();) {
  58461. t3 = t1.__internal$_current;
  58462. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  58463. return false;
  58464. }
  58465. return true;
  58466. },
  58467. expectIdentifier$2$name(text, $name) {
  58468. var t1, start, t2, t3, t4, t5, t6;
  58469. if ($name == null)
  58470. $name = '"' + text + '"';
  58471. t1 = this.scanner;
  58472. start = t1._string_scanner$_position;
  58473. 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();) {
  58474. t6 = t2.__internal$_current;
  58475. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  58476. continue;
  58477. t1.error$2$position(0, t5, start);
  58478. }
  58479. if (!this.lookingAtIdentifierBody$0())
  58480. return;
  58481. t1.error$2$position(0, t4, start);
  58482. },
  58483. expectIdentifier$1(text) {
  58484. return this.expectIdentifier$2$name(text, null);
  58485. },
  58486. rawText$1(consumer) {
  58487. var t1 = this.scanner,
  58488. start = t1._string_scanner$_position;
  58489. consumer.call$0();
  58490. return t1.substring$1(0, start);
  58491. },
  58492. spanFrom$1(state) {
  58493. var span = this.scanner.spanFrom$1(state);
  58494. return this._interpolationMap == null ? span : new A.LazyFileSpan(new A.Parser_spanFrom_closure(this, span));
  58495. },
  58496. error$3(_, message, span, trace) {
  58497. var exception = new A.StringScannerException(this.scanner.string, message, span);
  58498. if (trace == null)
  58499. throw A.wrapException(exception);
  58500. else
  58501. A.throwWithTrace(exception, this.get$error(this), trace);
  58502. },
  58503. error$2(_, message, span) {
  58504. return this.error$3(0, message, span, null);
  58505. },
  58506. withErrorMessage$1$2(message, callback) {
  58507. var error, stackTrace, t1, exception;
  58508. try {
  58509. t1 = callback.call$0();
  58510. return t1;
  58511. } catch (exception) {
  58512. t1 = A.unwrapException(exception);
  58513. if (type$.SourceSpanFormatException._is(t1)) {
  58514. error = t1;
  58515. stackTrace = A.getTraceFromException(exception);
  58516. t1 = J.get$span$z(error);
  58517. A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  58518. } else
  58519. throw exception;
  58520. }
  58521. },
  58522. withErrorMessage$2(message, callback) {
  58523. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  58524. },
  58525. wrapSpanFormatException$1$1(callback) {
  58526. var error, stackTrace, map, error0, stackTrace0, span, secondarySpans, t1, t2, span0, description, _0_0, error1, stackTrace1, span1, t3, exception, t4, _this = this,
  58527. _s8_ = "expected";
  58528. try {
  58529. try {
  58530. t3 = callback.call$0();
  58531. return t3;
  58532. } catch (exception) {
  58533. t3 = A.unwrapException(exception);
  58534. if (type$.SourceSpanFormatException._is(t3)) {
  58535. error = t3;
  58536. stackTrace = A.getTraceFromException(exception);
  58537. map = _this._interpolationMap;
  58538. if (map == null)
  58539. throw exception;
  58540. A.throwWithTrace(map.mapException$1(error), error, stackTrace);
  58541. } else
  58542. throw exception;
  58543. }
  58544. } catch (exception) {
  58545. t3 = A.unwrapException(exception);
  58546. if (type$.MultiSourceSpanFormatException._is(t3)) {
  58547. error0 = t3;
  58548. stackTrace0 = A.getTraceFromException(exception);
  58549. span = J.get$span$z(error0);
  58550. t3 = type$.FileSpan;
  58551. t4 = type$.String;
  58552. secondarySpans = error0.get$secondarySpans().cast$2$0(0, t3, t4);
  58553. if (A.startsWithIgnoreCase(error0._span_exception$_message, _s8_)) {
  58554. span = _this._adjustExceptionSpan$1(span);
  58555. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  58556. for (t3 = A.MapExtensions_get_pairs(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  58557. t2 = t3.get$current(t3);
  58558. span0 = null;
  58559. description = null;
  58560. _0_0 = t2;
  58561. span0 = _0_0._0;
  58562. description = _0_0._1;
  58563. J.$indexSet$ax(t1, _this._adjustExceptionSpan$1(span0), description);
  58564. }
  58565. secondarySpans = t1;
  58566. }
  58567. A.throwWithTrace(A.MultiSpanSassFormatException$(error0._span_exception$_message, span, error0.get$primaryLabel(), secondarySpans, null), error0, stackTrace0);
  58568. } else if (type$.SourceSpanFormatException._is(t3)) {
  58569. error1 = t3;
  58570. stackTrace1 = A.getTraceFromException(exception);
  58571. span1 = J.get$span$z(error1);
  58572. if (A.startsWithIgnoreCase(error1._span_exception$_message, _s8_))
  58573. span1 = _this._adjustExceptionSpan$1(span1);
  58574. t1 = error1._span_exception$_message;
  58575. t2 = span1;
  58576. A.throwWithTrace(new A.SassFormatException(B.Set_empty, t1, t2), error1, stackTrace1);
  58577. } else
  58578. throw exception;
  58579. }
  58580. },
  58581. wrapSpanFormatException$1(callback) {
  58582. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  58583. },
  58584. _adjustExceptionSpan$1(span) {
  58585. var start, t1;
  58586. if (span.get$length(span) > 0)
  58587. return span;
  58588. start = this._firstNewlineBefore$1(span.get$start(span));
  58589. if (start.$eq(0, span.get$start(span)))
  58590. t1 = span;
  58591. else {
  58592. t1 = start.offset;
  58593. t1 = A._FileSpan$(start.file, t1, t1);
  58594. }
  58595. return t1;
  58596. },
  58597. _firstNewlineBefore$1($location) {
  58598. var lastNewline, codeUnit,
  58599. t1 = $location.file,
  58600. t2 = $location.offset,
  58601. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  58602. index = t2 - 1;
  58603. for (lastNewline = null; index >= 0;) {
  58604. codeUnit = text.charCodeAt(index);
  58605. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  58606. if (lastNewline == null)
  58607. t1 = $location;
  58608. else {
  58609. t2 = new A.FileLocation(t1, lastNewline);
  58610. t2.FileLocation$_$2(t1, lastNewline);
  58611. t1 = t2;
  58612. }
  58613. return t1;
  58614. }
  58615. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  58616. lastNewline = index;
  58617. --index;
  58618. }
  58619. return $location;
  58620. }
  58621. };
  58622. A.Parser__parseIdentifier_closure.prototype = {
  58623. call$0() {
  58624. var t1 = this.$this,
  58625. result = t1.identifier$0();
  58626. t1.scanner.expectDone$0();
  58627. return result;
  58628. },
  58629. $signature: 32
  58630. };
  58631. A.Parser_escape_closure.prototype = {
  58632. call$1(char) {
  58633. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  58634. },
  58635. $signature: 30
  58636. };
  58637. A.Parser_scanIdentChar_matches.prototype = {
  58638. call$1(actual) {
  58639. var t1 = this.char;
  58640. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
  58641. },
  58642. $signature: 48
  58643. };
  58644. A.Parser_spanFrom_closure.prototype = {
  58645. call$0() {
  58646. var t1 = this.$this._interpolationMap;
  58647. if (t1 == null)
  58648. t1 = type$.InterpolationMap._as(t1);
  58649. return t1.mapSpan$1(this.span);
  58650. },
  58651. $signature: 27
  58652. };
  58653. A.SassParser.prototype = {
  58654. get$currentIndentation() {
  58655. return this._currentIndentation;
  58656. },
  58657. get$indented() {
  58658. return true;
  58659. },
  58660. styleRuleSelector$0() {
  58661. var t4,
  58662. t1 = this.scanner,
  58663. t2 = t1._string_scanner$_position,
  58664. t3 = new A.StringBuffer(""),
  58665. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  58666. do {
  58667. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  58668. t4 = A.Primitives_stringFromCharCode(10);
  58669. t4 = t3._contents += t4;
  58670. } 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()));
  58671. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58672. },
  58673. expectStatementSeparator$1($name) {
  58674. var t1, _this = this,
  58675. trailingSemicolon = _this._tryTrailingSemicolon$0();
  58676. if (!_this.atEndOfStatement$0())
  58677. _this._expectNewline$1$trailingSemicolon(trailingSemicolon);
  58678. if (_this._peekIndentation$0() <= _this._currentIndentation)
  58679. return;
  58680. t1 = $name == null ? "here" : "beneath a " + $name;
  58681. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._nextIndentationEnd.position);
  58682. },
  58683. expectStatementSeparator$0() {
  58684. return this.expectStatementSeparator$1(null);
  58685. },
  58686. atEndOfStatement$0() {
  58687. var t1 = this.scanner.peekChar$0();
  58688. if (t1 == null)
  58689. t1 = null;
  58690. else
  58691. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  58692. return t1 !== false;
  58693. },
  58694. lookingAtChildren$0() {
  58695. return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
  58696. },
  58697. importArgument$0() {
  58698. var url, span, innerError, stackTrace, t1, _0_0, start, next, t2, exception, _this = this;
  58699. $label0$0: {
  58700. t1 = _this.scanner;
  58701. _0_0 = t1.peekChar$0();
  58702. if (117 === _0_0 || 85 === _0_0) {
  58703. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58704. if (_this.scanIdentifier$1("url"))
  58705. if (t1.scanChar$1(40)) {
  58706. t1.set$state(start);
  58707. return _this.super$StylesheetParser$importArgument();
  58708. } else
  58709. t1.set$state(start);
  58710. break $label0$0;
  58711. }
  58712. if (39 === _0_0 || 34 === _0_0)
  58713. return _this.super$StylesheetParser$importArgument();
  58714. }
  58715. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58716. next = t1.peekChar$0();
  58717. while (true) {
  58718. t2 = false;
  58719. if (next != null)
  58720. if (next !== 44)
  58721. if (next !== 59)
  58722. t2 = !(next === 10 || next === 13 || next === 12);
  58723. if (!t2)
  58724. break;
  58725. t1.readChar$0();
  58726. next = t1.peekChar$0();
  58727. }
  58728. url = t1.substring$1(0, start.position);
  58729. span = t1.spanFrom$1(start);
  58730. if (_this.isPlainImportUrl$1(url))
  58731. 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);
  58732. else
  58733. try {
  58734. t1 = _this.parseImportUrl$1(url);
  58735. return new A.DynamicImport(t1, span);
  58736. } catch (exception) {
  58737. t1 = A.unwrapException(exception);
  58738. if (type$.FormatException._is(t1)) {
  58739. innerError = t1;
  58740. stackTrace = A.getTraceFromException(exception);
  58741. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  58742. } else
  58743. throw exception;
  58744. }
  58745. },
  58746. scanElse$1(ifIndentation) {
  58747. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  58748. if (_this._peekIndentation$0() !== ifIndentation)
  58749. return false;
  58750. t1 = _this.scanner;
  58751. t2 = t1._string_scanner$_position;
  58752. startIndentation = _this._currentIndentation;
  58753. startNextIndentation = _this._nextIndentation;
  58754. startNextIndentationEnd = _this._nextIndentationEnd;
  58755. _this._readIndentation$0();
  58756. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  58757. return true;
  58758. t1.set$state(new A._SpanScannerState(t1, t2));
  58759. _this._currentIndentation = startIndentation;
  58760. _this._nextIndentation = startNextIndentation;
  58761. _this._nextIndentationEnd = startNextIndentationEnd;
  58762. return false;
  58763. },
  58764. children$1(_, child) {
  58765. var children = A._setArrayType([], type$.JSArray_Statement);
  58766. this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
  58767. return children;
  58768. },
  58769. statements$1(statement) {
  58770. var statements, t2, _1_0,
  58771. t1 = this.scanner,
  58772. _0_0 = t1.peekChar$0();
  58773. if (9 === _0_0 || 32 === _0_0)
  58774. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  58775. statements = A._setArrayType([], type$.JSArray_Statement);
  58776. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  58777. _1_0 = this._child$1(statement);
  58778. if (_1_0 != null)
  58779. statements.push(_1_0);
  58780. this._readIndentation$0();
  58781. }
  58782. return statements;
  58783. },
  58784. _child$1(child) {
  58785. var _0_0, _this = this,
  58786. t1 = _this.scanner,
  58787. _1_0 = t1.peekChar$0();
  58788. $label0$0: {
  58789. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  58790. t1 = null;
  58791. break $label0$0;
  58792. }
  58793. if (36 === _1_0) {
  58794. t1 = _this.variableDeclarationWithoutNamespace$0();
  58795. break $label0$0;
  58796. }
  58797. if (47 === _1_0) {
  58798. _0_0 = t1.peekChar$1(1);
  58799. $label1$1: {
  58800. if (47 === _0_0) {
  58801. t1 = _this._silentComment$0();
  58802. break $label1$1;
  58803. }
  58804. if (42 === _0_0) {
  58805. t1 = _this._loudComment$0();
  58806. break $label1$1;
  58807. }
  58808. t1 = child.call$0();
  58809. break $label1$1;
  58810. }
  58811. break $label0$0;
  58812. }
  58813. t1 = child.call$0();
  58814. break $label0$0;
  58815. }
  58816. return t1;
  58817. },
  58818. _silentComment$0() {
  58819. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  58820. t1 = _this.scanner,
  58821. t2 = t1._string_scanner$_position;
  58822. t1.expect$1("//");
  58823. buffer = new A.StringBuffer("");
  58824. parentIndentation = _this._currentIndentation;
  58825. t3 = t1.string.length;
  58826. t4 = 1 + parentIndentation;
  58827. t5 = 2 + parentIndentation;
  58828. $label0$0:
  58829. do {
  58830. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  58831. for (i = commentPrefix.length; true;) {
  58832. t6 = buffer._contents += commentPrefix;
  58833. for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
  58834. t6 += A.Primitives_stringFromCharCode(32);
  58835. buffer._contents = t6;
  58836. }
  58837. while (true) {
  58838. if (t1._string_scanner$_position !== t3) {
  58839. t7 = t1.peekChar$0();
  58840. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  58841. } else
  58842. t7 = false;
  58843. if (!t7)
  58844. break;
  58845. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  58846. buffer._contents = t6;
  58847. }
  58848. buffer._contents = t6 + "\n";
  58849. if (_this._peekIndentation$0() < parentIndentation)
  58850. break $label0$0;
  58851. if (_this._peekIndentation$0() === parentIndentation) {
  58852. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  58853. _this._readIndentation$0();
  58854. break;
  58855. }
  58856. _this._readIndentation$0();
  58857. }
  58858. } while (t1.scan$1("//"));
  58859. t3 = buffer._contents;
  58860. return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58861. },
  58862. _loudComment$0() {
  58863. var t2, t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _1_0, _0_0, endPosition, span, _this = this,
  58864. t1 = _this.scanner,
  58865. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58866. t1.expect$1("/*");
  58867. t2 = new A.StringBuffer("");
  58868. t3 = A._setArrayType([], type$.JSArray_Object);
  58869. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  58870. buffer = new A.InterpolationBuffer(t2, t3, t4);
  58871. t2._contents = "" + "/*";
  58872. parentIndentation = _this._currentIndentation;
  58873. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  58874. if (first) {
  58875. beginningOfComment = t1._string_scanner$_position;
  58876. _this.spaces$0();
  58877. t7 = t1.peekChar$0();
  58878. if (t7 === 10 || t7 === 13 || t7 === 12) {
  58879. _this._readIndentation$0();
  58880. t7 = A.Primitives_stringFromCharCode(32);
  58881. t2._contents += t7;
  58882. } else {
  58883. end = t1._string_scanner$_position;
  58884. t2._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  58885. }
  58886. } else {
  58887. t7 = t2._contents += "\n";
  58888. t2._contents = t7 + " * ";
  58889. }
  58890. for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
  58891. t7 = A.Primitives_stringFromCharCode(32);
  58892. t2._contents += t7;
  58893. }
  58894. for (; t1._string_scanner$_position !== t6;) {
  58895. _1_0 = t1.peekChar$0();
  58896. if (10 === _1_0 || 13 === _1_0 || 12 === _1_0)
  58897. break;
  58898. if (35 === _1_0) {
  58899. if (t1.peekChar$1(1) === 123) {
  58900. _0_0 = _this.singleInterpolation$0();
  58901. buffer._flushText$0();
  58902. t3.push(_0_0._0);
  58903. t4.push(_0_0._1);
  58904. } else {
  58905. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58906. t2._contents += t7;
  58907. }
  58908. continue;
  58909. }
  58910. if (42 === _1_0) {
  58911. if (t1.peekChar$1(1) === 47) {
  58912. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58913. t2._contents += t3;
  58914. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58915. t2._contents += t3;
  58916. endPosition = t1._string_scanner$_position;
  58917. t2 = t1._sourceFile;
  58918. t3 = start.position;
  58919. span = new A._FileSpan(t2, t3, endPosition);
  58920. span._FileSpan$3(t2, t3, endPosition);
  58921. _this.whitespace$1$consumeNewlines(false);
  58922. while (true) {
  58923. t2 = t1.peekChar$0();
  58924. if (!((t2 === 10 || t2 === 13 || t2 === 12) && _this._peekIndentation$0() > parentIndentation))
  58925. break;
  58926. for (; _this._lookingAtDoubleNewline$0();)
  58927. _this._expectNewline$0();
  58928. _this._readIndentation$0();
  58929. _this.whitespace$1$consumeNewlines(false);
  58930. }
  58931. if (t1._string_scanner$_position !== t6) {
  58932. t2 = t1.peekChar$0();
  58933. t2 = !(t2 === 10 || t2 === 13 || t2 === 12);
  58934. } else
  58935. t2 = false;
  58936. if (t2) {
  58937. t2 = t1._string_scanner$_position;
  58938. while (true) {
  58939. if (t1._string_scanner$_position !== t6) {
  58940. t3 = t1.peekChar$0();
  58941. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  58942. } else
  58943. t3 = false;
  58944. if (!t3)
  58945. break;
  58946. t1.readChar$0();
  58947. }
  58948. 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));
  58949. } else
  58950. return new A.LoudComment(buffer.interpolation$1(span));
  58951. } else {
  58952. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58953. t2._contents += t7;
  58954. }
  58955. continue;
  58956. }
  58957. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58958. t2._contents += t7;
  58959. }
  58960. if (_this._peekIndentation$0() <= parentIndentation)
  58961. break;
  58962. for (; _this._lookingAtDoubleNewline$0();) {
  58963. _this._expectNewline$0();
  58964. t7 = t2._contents += "\n";
  58965. t2._contents = t7 + " *";
  58966. }
  58967. _this._readIndentation$0();
  58968. }
  58969. return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(start)));
  58970. },
  58971. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  58972. var t1, t2, next, t3;
  58973. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  58974. next = t1.peekChar$0();
  58975. if (consumeNewlines)
  58976. t3 = !(next === 32 || next === 9 || next === 10 || next === 13 || next === 12);
  58977. else
  58978. t3 = !(next === 32 || next === 9);
  58979. if (t3)
  58980. break;
  58981. t1.readChar$0();
  58982. }
  58983. },
  58984. _expectNewline$1$trailingSemicolon(trailingSemicolon) {
  58985. var t1 = this.scanner,
  58986. _0_0 = t1.peekChar$0();
  58987. if (13 === _0_0) {
  58988. t1.readChar$0();
  58989. if (t1.peekChar$0() === 10)
  58990. t1.readChar$0();
  58991. return;
  58992. }
  58993. if (10 === _0_0 || 12 === _0_0) {
  58994. t1.readChar$0();
  58995. return;
  58996. }
  58997. t1.error$1(0, trailingSemicolon ? string$.multip : "expected newline.");
  58998. },
  58999. _expectNewline$0() {
  59000. return this._expectNewline$1$trailingSemicolon(false);
  59001. },
  59002. _lookingAtDoubleNewline$0() {
  59003. var t2, _0_0,
  59004. t1 = this.scanner,
  59005. _1_0 = t1.peekChar$0();
  59006. $label1$1: {
  59007. t2 = false;
  59008. if (13 === _1_0) {
  59009. _0_0 = t1.peekChar$1(1);
  59010. $label0$0: {
  59011. if (10 === _0_0) {
  59012. t1 = t1.peekChar$1(2);
  59013. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  59014. break $label0$0;
  59015. }
  59016. if (13 === _0_0 || 12 === _0_0) {
  59017. t1 = true;
  59018. break $label0$0;
  59019. }
  59020. t1 = t2;
  59021. break $label0$0;
  59022. }
  59023. break $label1$1;
  59024. }
  59025. if (10 === _1_0 || 12 === _1_0) {
  59026. t1 = t1.peekChar$1(1);
  59027. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  59028. break $label1$1;
  59029. }
  59030. t1 = t2;
  59031. break $label1$1;
  59032. }
  59033. return t1;
  59034. },
  59035. _whileIndentedLower$1(body) {
  59036. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  59037. parentIndentation = _this._currentIndentation;
  59038. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
  59039. indentation = _this._readIndentation$0();
  59040. if (childIndentation == null)
  59041. childIndentation = indentation;
  59042. if (childIndentation !== indentation) {
  59043. t3 = t1._string_scanner$_position;
  59044. t4 = t2.getColumn$1(t3);
  59045. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  59046. }
  59047. body.call$0();
  59048. }
  59049. },
  59050. _readIndentation$0() {
  59051. var t1, _this = this,
  59052. currentIndentation = _this._nextIndentation;
  59053. if (currentIndentation == null)
  59054. currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
  59055. _this._currentIndentation = currentIndentation;
  59056. t1 = _this._nextIndentationEnd;
  59057. t1.toString;
  59058. _this.scanner.set$state(t1);
  59059. _this._nextIndentationEnd = _this._nextIndentation = null;
  59060. return currentIndentation;
  59061. },
  59062. _peekIndentation$0() {
  59063. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  59064. _0_0 = _this._nextIndentation;
  59065. if (_0_0 != null)
  59066. return _0_0;
  59067. t1 = _this.scanner;
  59068. t2 = t1._string_scanner$_position;
  59069. t3 = t1.string.length;
  59070. if (t2 === t3) {
  59071. _this._nextIndentation = 0;
  59072. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  59073. return 0;
  59074. }
  59075. start = new A._SpanScannerState(t1, t2);
  59076. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure()))
  59077. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  59078. containsTab = A._Cell$();
  59079. containsSpace = A._Cell$();
  59080. nextIndentation = A._Cell$();
  59081. do {
  59082. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  59083. nextIndentation.__late_helper$_value = 0;
  59084. for (; true;) {
  59085. $label0$0: {
  59086. _1_0 = t1.peekChar$0();
  59087. if (32 === _1_0) {
  59088. containsSpace.__late_helper$_value = true;
  59089. break $label0$0;
  59090. }
  59091. if (9 === _1_0) {
  59092. containsTab.__late_helper$_value = true;
  59093. break $label0$0;
  59094. }
  59095. break;
  59096. }
  59097. t2 = nextIndentation.__late_helper$_value;
  59098. if (t2 === nextIndentation)
  59099. A.throwExpression(A.LateError$localNI(""));
  59100. nextIndentation.__late_helper$_value = t2 + 1;
  59101. t1.readChar$0();
  59102. }
  59103. t2 = t1._string_scanner$_position;
  59104. if (t2 === t3) {
  59105. _this._nextIndentation = 0;
  59106. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  59107. t1.set$state(start);
  59108. return 0;
  59109. }
  59110. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure0()));
  59111. t2 = containsTab._readLocal$0();
  59112. t3 = containsSpace._readLocal$0();
  59113. if (t2) {
  59114. if (t3) {
  59115. t2 = t1._string_scanner$_position;
  59116. t3 = t1._sourceFile;
  59117. t4 = t3.getColumn$1(t2);
  59118. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59119. } else if (_this._spaces === true) {
  59120. t2 = t1._string_scanner$_position;
  59121. t3 = t1._sourceFile;
  59122. t4 = t3.getColumn$1(t2);
  59123. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59124. }
  59125. } else if (t3 && _this._spaces === false) {
  59126. t2 = t1._string_scanner$_position;
  59127. t3 = t1._sourceFile;
  59128. t4 = t3.getColumn$1(t2);
  59129. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59130. }
  59131. _this._nextIndentation = nextIndentation._readLocal$0();
  59132. if (nextIndentation._readLocal$0() > 0)
  59133. if (_this._spaces == null)
  59134. _this._spaces = containsSpace._readLocal$0();
  59135. _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59136. t1.set$state(start);
  59137. return nextIndentation._readLocal$0();
  59138. },
  59139. _tryTrailingSemicolon$0() {
  59140. if (this.scanCharIf$1(new A.SassParser__tryTrailingSemicolon_closure())) {
  59141. this.whitespace$1$consumeNewlines(false);
  59142. return true;
  59143. }
  59144. return false;
  59145. }
  59146. };
  59147. A.SassParser_styleRuleSelector_closure.prototype = {
  59148. call$1(char) {
  59149. return char === 10 || char === 13 || char === 12;
  59150. },
  59151. $signature: 30
  59152. };
  59153. A.SassParser_children_closure.prototype = {
  59154. call$0() {
  59155. var _0_0 = this.$this._child$1(this.child);
  59156. if (_0_0 != null)
  59157. this.children.push(_0_0);
  59158. },
  59159. $signature: 0
  59160. };
  59161. A.SassParser__peekIndentation_closure.prototype = {
  59162. call$1(char) {
  59163. return char === 10 || char === 13 || char === 12;
  59164. },
  59165. $signature: 30
  59166. };
  59167. A.SassParser__peekIndentation_closure0.prototype = {
  59168. call$1(char) {
  59169. return char === 10 || char === 13 || char === 12;
  59170. },
  59171. $signature: 30
  59172. };
  59173. A.SassParser__tryTrailingSemicolon_closure.prototype = {
  59174. call$1(char) {
  59175. return char === 59;
  59176. },
  59177. $signature: 30
  59178. };
  59179. A.ScssParser.prototype = {
  59180. get$indented() {
  59181. return false;
  59182. },
  59183. get$currentIndentation() {
  59184. return 0;
  59185. },
  59186. styleRuleSelector$0() {
  59187. return this.almostAnyValue$0();
  59188. },
  59189. expectStatementSeparator$1($name) {
  59190. var t1, _0_0;
  59191. this.whitespaceWithoutComments$1$consumeNewlines(true);
  59192. t1 = this.scanner;
  59193. if (t1._string_scanner$_position === t1.string.length)
  59194. return;
  59195. _0_0 = t1.peekChar$0();
  59196. if (59 === _0_0 || 125 === _0_0)
  59197. return;
  59198. t1.expectChar$1(59);
  59199. },
  59200. expectStatementSeparator$0() {
  59201. return this.expectStatementSeparator$1(null);
  59202. },
  59203. atEndOfStatement$0() {
  59204. var next = this.scanner.peekChar$0();
  59205. return next == null || next === 59 || next === 125 || next === 123;
  59206. },
  59207. lookingAtChildren$0() {
  59208. return this.scanner.peekChar$0() === 123;
  59209. },
  59210. scanElse$1(ifIndentation) {
  59211. var t3, _this = this,
  59212. t1 = _this.scanner,
  59213. t2 = t1._string_scanner$_position;
  59214. _this.whitespace$1$consumeNewlines(true);
  59215. t3 = t1._string_scanner$_position;
  59216. if (t1.scanChar$1(64)) {
  59217. if (_this.scanIdentifier$2$caseSensitive("else", true))
  59218. return true;
  59219. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  59220. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_hAa, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3))));
  59221. t1.set$position(t1._string_scanner$_position - 2);
  59222. return true;
  59223. }
  59224. }
  59225. t1.set$state(new A._SpanScannerState(t1, t2));
  59226. return false;
  59227. },
  59228. children$1(_, child) {
  59229. var children, _this = this,
  59230. t1 = _this.scanner;
  59231. t1.expectChar$1(123);
  59232. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59233. children = A._setArrayType([], type$.JSArray_Statement);
  59234. for (; true;)
  59235. switch (t1.peekChar$0()) {
  59236. case 36:
  59237. children.push(_this.variableDeclarationWithoutNamespace$0());
  59238. break;
  59239. case 47:
  59240. switch (t1.peekChar$1(1)) {
  59241. case 47:
  59242. children.push(_this._scss$_silentComment$0());
  59243. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59244. break;
  59245. case 42:
  59246. children.push(_this._scss$_loudComment$0());
  59247. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59248. break;
  59249. default:
  59250. children.push(child.call$0());
  59251. }
  59252. break;
  59253. case 59:
  59254. t1.readChar$0();
  59255. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59256. break;
  59257. case 125:
  59258. t1.expectChar$1(125);
  59259. return children;
  59260. default:
  59261. children.push(child.call$0());
  59262. }
  59263. },
  59264. statements$1(statement) {
  59265. var t1, t2, _0_0, _1_0, _this = this,
  59266. statements = A._setArrayType([], type$.JSArray_Statement);
  59267. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59268. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  59269. switch (t1.peekChar$0()) {
  59270. case 36:
  59271. statements.push(_this.variableDeclarationWithoutNamespace$0());
  59272. break;
  59273. case 47:
  59274. switch (t1.peekChar$1(1)) {
  59275. case 47:
  59276. statements.push(_this._scss$_silentComment$0());
  59277. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59278. break;
  59279. case 42:
  59280. statements.push(_this._scss$_loudComment$0());
  59281. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59282. break;
  59283. default:
  59284. _0_0 = statement.call$0();
  59285. if (_0_0 != null)
  59286. statements.push(_0_0);
  59287. }
  59288. break;
  59289. case 59:
  59290. t1.readChar$0();
  59291. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59292. break;
  59293. default:
  59294. _1_0 = statement.call$0();
  59295. if (_1_0 != null)
  59296. statements.push(_1_0);
  59297. }
  59298. return statements;
  59299. },
  59300. _scss$_silentComment$0() {
  59301. var t2, t3, _this = this,
  59302. t1 = _this.scanner,
  59303. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59304. t1.expect$1("//");
  59305. t2 = t1.string.length;
  59306. do {
  59307. while (true) {
  59308. if (t1._string_scanner$_position !== t2) {
  59309. t3 = t1.readChar$0();
  59310. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  59311. } else
  59312. t3 = false;
  59313. if (!t3)
  59314. break;
  59315. }
  59316. if (t1._string_scanner$_position === t2)
  59317. break;
  59318. _this.spaces$0();
  59319. } while (t1.scan$1("//"));
  59320. if (_this.get$plainCss())
  59321. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  59322. return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  59323. },
  59324. _scss$_loudComment$0() {
  59325. var t3, t4, t5, buffer, _0_0, t6, endPosition,
  59326. t1 = this.scanner,
  59327. t2 = t1._string_scanner$_position;
  59328. t1.expect$1("/*");
  59329. t3 = new A.StringBuffer("");
  59330. t4 = A._setArrayType([], type$.JSArray_Object);
  59331. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  59332. buffer = new A.InterpolationBuffer(t3, t4, t5);
  59333. t3._contents = "" + "/*";
  59334. $label0$1:
  59335. for (; true;)
  59336. switch (t1.peekChar$0()) {
  59337. case 35:
  59338. if (t1.peekChar$1(1) === 123) {
  59339. _0_0 = this.singleInterpolation$0();
  59340. buffer._flushText$0();
  59341. t4.push(_0_0._0);
  59342. t5.push(_0_0._1);
  59343. } else {
  59344. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59345. t3._contents += t6;
  59346. }
  59347. break;
  59348. case 42:
  59349. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59350. t3._contents += t6;
  59351. if (t1.peekChar$0() !== 47)
  59352. continue $label0$1;
  59353. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59354. t3._contents += t4;
  59355. endPosition = t1._string_scanner$_position;
  59356. t3 = t1._sourceFile;
  59357. t4 = new A._SpanScannerState(t1, t2).position;
  59358. t1 = new A._FileSpan(t3, t4, endPosition);
  59359. t1._FileSpan$3(t3, t4, endPosition);
  59360. return new A.LoudComment(buffer.interpolation$1(t1));
  59361. case 13:
  59362. t1.readChar$0();
  59363. if (t1.peekChar$0() !== 10) {
  59364. t6 = A.Primitives_stringFromCharCode(10);
  59365. t3._contents += t6;
  59366. }
  59367. break;
  59368. case 12:
  59369. t1.readChar$0();
  59370. t6 = A.Primitives_stringFromCharCode(10);
  59371. t3._contents += t6;
  59372. break;
  59373. default:
  59374. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59375. t3._contents += t6;
  59376. }
  59377. }
  59378. };
  59379. A.SelectorParser.prototype = {
  59380. parse$0(_) {
  59381. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
  59382. },
  59383. parseCompoundSelector$0() {
  59384. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
  59385. },
  59386. _selectorList$0() {
  59387. var t4, t5, lineBreak, _this = this,
  59388. t1 = _this.scanner,
  59389. t2 = t1._string_scanner$_position,
  59390. t3 = t1._sourceFile,
  59391. previousLine = t3.getLine$1(t2),
  59392. components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
  59393. _this.whitespace$1$consumeNewlines(true);
  59394. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  59395. _this.whitespace$1$consumeNewlines(true);
  59396. if (t1.peekChar$0() === 44)
  59397. continue;
  59398. t5 = t1._string_scanner$_position;
  59399. if (t5 === t4)
  59400. break;
  59401. lineBreak = t3.getLine$1(t5) !== previousLine;
  59402. if (lineBreak)
  59403. previousLine = t3.getLine$1(t1._string_scanner$_position);
  59404. components.push(_this._complexSelector$1$lineBreak(lineBreak));
  59405. }
  59406. return A.SelectorList$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59407. },
  59408. _complexSelector$1$lineBreak(lineBreak) {
  59409. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  59410. _s18_ = "expected selector.",
  59411. t1 = _this.scanner,
  59412. t2 = t1._string_scanner$_position,
  59413. componentStart = new A._SpanScannerState(t1, t2),
  59414. t3 = type$.JSArray_CssValue_Combinator,
  59415. combinators = A._setArrayType([], t3),
  59416. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  59417. for (t4 = type$.CssValue_Combinator, lastCompound = null, initialCombinators = null; true;) {
  59418. _this.whitespace$1$consumeNewlines(true);
  59419. _0_0 = t1.peekChar$0();
  59420. if (43 === _0_0) {
  59421. t5 = t1._string_scanner$_position;
  59422. t1.readChar$0();
  59423. combinators.push(new A.CssValue(B.Combinator_bOP, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59424. continue;
  59425. }
  59426. if (62 === _0_0) {
  59427. t5 = t1._string_scanner$_position;
  59428. t1.readChar$0();
  59429. combinators.push(new A.CssValue(B.Combinator_0mp, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59430. continue;
  59431. }
  59432. if (126 === _0_0) {
  59433. t5 = t1._string_scanner$_position;
  59434. t1.readChar$0();
  59435. combinators.push(new A.CssValue(B.Combinator_55N, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59436. continue;
  59437. }
  59438. if (_0_0 == null)
  59439. break;
  59440. t5 = true;
  59441. if (91 !== _0_0)
  59442. if (46 !== _0_0)
  59443. if (35 !== _0_0)
  59444. if (37 !== _0_0)
  59445. if (58 !== _0_0)
  59446. if (38 !== _0_0)
  59447. if (42 !== _0_0)
  59448. if (124 !== _0_0)
  59449. t5 = _this.lookingAtIdentifier$0();
  59450. if (t5) {
  59451. if (lastCompound != null) {
  59452. t5 = _this.spanFrom$1(componentStart);
  59453. result = A.List_List$from(combinators, false, t4);
  59454. result.$flags = 3;
  59455. components.push(new A.ComplexSelectorComponent(lastCompound, result, t5));
  59456. } else if (combinators.length !== 0) {
  59457. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59458. initialCombinators = combinators;
  59459. }
  59460. lastCompound = _this._compoundSelector$0();
  59461. combinators = A._setArrayType([], t3);
  59462. if (t1.peekChar$0() === 38)
  59463. t1.error$1(0, string$.x22x26__ma);
  59464. continue;
  59465. }
  59466. break;
  59467. }
  59468. t3 = combinators.length !== 0;
  59469. if (t3 && _this._plainCss)
  59470. t1.error$1(0, _s18_);
  59471. else if (lastCompound != null) {
  59472. t3 = _this.spanFrom$1(componentStart);
  59473. components.push(new A.ComplexSelectorComponent(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  59474. } else if (t3)
  59475. initialCombinators = combinators;
  59476. else
  59477. t1.error$1(0, _s18_);
  59478. t3 = initialCombinators == null ? B.List_empty0 : initialCombinators;
  59479. return A.ComplexSelector$(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  59480. },
  59481. _complexSelector$0() {
  59482. return this._complexSelector$1$lineBreak(false);
  59483. },
  59484. _compoundSelector$0() {
  59485. var t3, _this = this,
  59486. t1 = _this.scanner,
  59487. t2 = t1._string_scanner$_position,
  59488. components = A._setArrayType([_this._simpleSelector$0()], type$.JSArray_SimpleSelector);
  59489. for (t3 = _this._plainCss; _this._isSimpleSelectorStart$1(t1.peekChar$0());)
  59490. components.push(_this._simpleSelector$1$allowParent(t3));
  59491. return A.CompoundSelector$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59492. },
  59493. _simpleSelector$1$allowParent(allowParent) {
  59494. var t2, $name, text, t3, suffix, _this = this,
  59495. t1 = _this.scanner,
  59496. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59497. if (allowParent == null)
  59498. allowParent = _this._allowParent;
  59499. switch (t1.peekChar$0()) {
  59500. case 91:
  59501. return _this._attributeSelector$0();
  59502. case 46:
  59503. t2 = t1._string_scanner$_position;
  59504. t1.expectChar$1(46);
  59505. return new A.ClassSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59506. case 35:
  59507. t2 = t1._string_scanner$_position;
  59508. t1.expectChar$1(35);
  59509. return new A.IDSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59510. case 37:
  59511. t2 = t1._string_scanner$_position;
  59512. t1.expectChar$1(37);
  59513. $name = _this.identifier$0();
  59514. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  59515. if (_this._plainCss)
  59516. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  59517. return new A.PlaceholderSelector($name, t2);
  59518. case 58:
  59519. return _this._pseudoSelector$0();
  59520. case 38:
  59521. t2 = t1._string_scanner$_position;
  59522. t1.expectChar$1(38);
  59523. if (_this.lookingAtIdentifierBody$0()) {
  59524. text = new A.StringBuffer("");
  59525. _this._identifierBody$1(text);
  59526. if (text._contents.length === 0)
  59527. t1.error$1(0, "Expected identifier body.");
  59528. t3 = text._contents;
  59529. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  59530. } else
  59531. suffix = null;
  59532. if (_this._plainCss && suffix != null)
  59533. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  59534. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  59535. if (!allowParent)
  59536. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  59537. return new A.ParentSelector(suffix, t2);
  59538. default:
  59539. return _this._typeOrUniversalSelector$0();
  59540. }
  59541. },
  59542. _simpleSelector$0() {
  59543. return this._simpleSelector$1$allowParent(null);
  59544. },
  59545. _attributeSelector$0() {
  59546. var $name, operator, next, value, modifier, _this = this, _null = null,
  59547. t1 = _this.scanner,
  59548. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59549. t1.expectChar$1(91);
  59550. _this.whitespace$1$consumeNewlines(true);
  59551. $name = _this._attributeName$0();
  59552. _this.whitespace$1$consumeNewlines(true);
  59553. if (t1.scanChar$1(93))
  59554. return new A.AttributeSelector($name, _null, _null, _null, _this.spanFrom$1(start));
  59555. operator = _this._attributeOperator$0();
  59556. _this.whitespace$1$consumeNewlines(true);
  59557. next = t1.peekChar$0();
  59558. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  59559. _this.whitespace$1$consumeNewlines(true);
  59560. next = t1.peekChar$0();
  59561. modifier = next != null && A.CharacterExtension_get_isAlphabetic(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  59562. t1.expectChar$1(93);
  59563. return new A.AttributeSelector($name, operator, value, modifier, _this.spanFrom$1(start));
  59564. },
  59565. _attributeName$0() {
  59566. var nameOrNamespace, _this = this,
  59567. t1 = _this.scanner;
  59568. if (t1.scanChar$1(42)) {
  59569. t1.expectChar$1(124);
  59570. return new A.QualifiedName(_this.identifier$0(), "*");
  59571. }
  59572. if (t1.scanChar$1(124))
  59573. return new A.QualifiedName(_this.identifier$0(), "");
  59574. nameOrNamespace = _this.identifier$0();
  59575. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  59576. return new A.QualifiedName(nameOrNamespace, null);
  59577. t1.readChar$0();
  59578. return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
  59579. },
  59580. _attributeOperator$0() {
  59581. var t1 = this.scanner,
  59582. t2 = t1._string_scanner$_position;
  59583. switch (t1.readChar$0()) {
  59584. case 61:
  59585. return B.AttributeOperator_Lvy;
  59586. case 126:
  59587. t1.expectChar$1(61);
  59588. return B.AttributeOperator_fp2;
  59589. case 124:
  59590. t1.expectChar$1(61);
  59591. return B.AttributeOperator_iyP;
  59592. case 94:
  59593. t1.expectChar$1(61);
  59594. return B.AttributeOperator_JzP;
  59595. case 36:
  59596. t1.expectChar$1(61);
  59597. return B.AttributeOperator_U1W;
  59598. case 42:
  59599. t1.expectChar$1(61);
  59600. return B.AttributeOperator_GWq;
  59601. default:
  59602. t1.error$2$position(0, 'Expected "]".', t2);
  59603. }
  59604. },
  59605. _pseudoSelector$0() {
  59606. var element, $name, unvendored, argument, selector, t2, _this = this, _null = null,
  59607. t1 = _this.scanner,
  59608. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59609. t1.expectChar$1(58);
  59610. element = t1.scanChar$1(58);
  59611. $name = _this.identifier$0();
  59612. if (!t1.scanChar$1(40))
  59613. return A.PseudoSelector$($name, _this.spanFrom$1(start), _null, element, _null);
  59614. _this.whitespace$1$consumeNewlines(true);
  59615. unvendored = A.unvendor($name);
  59616. argument = _null;
  59617. selector = _null;
  59618. if (element)
  59619. if ($._selectorPseudoElements.contains$1(0, unvendored))
  59620. selector = _this._selectorList$0();
  59621. else
  59622. argument = _this.declarationValue$1$allowEmpty(true);
  59623. else if ($._selectorPseudoClasses.contains$1(0, unvendored))
  59624. selector = _this._selectorList$0();
  59625. else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  59626. argument = _this._aNPlusB$0();
  59627. _this.whitespace$1$consumeNewlines(true);
  59628. t2 = t1.peekChar$1(-1);
  59629. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  59630. _this.expectIdentifier$1("of");
  59631. argument += " of";
  59632. _this.whitespace$1$consumeNewlines(true);
  59633. selector = _this._selectorList$0();
  59634. }
  59635. } else
  59636. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  59637. t1.expectChar$1(41);
  59638. return A.PseudoSelector$($name, _this.spanFrom$1(start), argument, element, selector);
  59639. },
  59640. _aNPlusB$0() {
  59641. var t1, _0_0, t2, $self, next, _this = this;
  59642. $label0$0: {
  59643. t1 = _this.scanner;
  59644. _0_0 = t1.peekChar$0();
  59645. if (101 === _0_0 || 69 === _0_0) {
  59646. _this.expectIdentifier$1("even");
  59647. return "even";
  59648. }
  59649. if (111 === _0_0 || 79 === _0_0) {
  59650. _this.expectIdentifier$1("odd");
  59651. return "odd";
  59652. }
  59653. if (43 === _0_0 || 45 === _0_0) {
  59654. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  59655. break $label0$0;
  59656. }
  59657. t2 = "";
  59658. }
  59659. $self = t1.peekChar$0();
  59660. if ($self != null && $self >= 48 && $self <= 57) {
  59661. do {
  59662. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59663. $self = t1.peekChar$0();
  59664. } while ($self != null && $self >= 48 && $self <= 57);
  59665. _this.whitespace$1$consumeNewlines(true);
  59666. if (!_this.scanIdentChar$1(110))
  59667. return t2.charCodeAt(0) == 0 ? t2 : t2;
  59668. } else
  59669. _this.expectIdentChar$1(110);
  59670. t2 += A.Primitives_stringFromCharCode(110);
  59671. _this.whitespace$1$consumeNewlines(true);
  59672. next = t1.peekChar$0();
  59673. if (next !== 43 && next !== 45)
  59674. return t2.charCodeAt(0) == 0 ? t2 : t2;
  59675. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59676. _this.whitespace$1$consumeNewlines(true);
  59677. $self = t1.peekChar$0();
  59678. if (!($self != null && $self >= 48 && $self <= 57))
  59679. t1.error$1(0, "Expected a number.");
  59680. do {
  59681. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59682. $self = t1.peekChar$0();
  59683. } while ($self != null && $self >= 48 && $self <= 57);
  59684. return t2.charCodeAt(0) == 0 ? t2 : t2;
  59685. },
  59686. _typeOrUniversalSelector$0() {
  59687. var nameOrNamespace, _this = this,
  59688. t1 = _this.scanner,
  59689. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59690. if (t1.scanChar$1(42)) {
  59691. if (!t1.scanChar$1(124))
  59692. return new A.UniversalSelector(null, _this.spanFrom$1(start));
  59693. 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));
  59694. } else if (t1.scanChar$1(124))
  59695. 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));
  59696. nameOrNamespace = _this.identifier$0();
  59697. if (!t1.scanChar$1(124))
  59698. return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null), _this.spanFrom$1(start));
  59699. else if (t1.scanChar$1(42))
  59700. return new A.UniversalSelector(nameOrNamespace, _this.spanFrom$1(start));
  59701. else
  59702. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  59703. },
  59704. _isSimpleSelectorStart$1(character) {
  59705. var t1;
  59706. $label0$0: {
  59707. if (42 === character || 91 === character || 46 === character || 35 === character || 37 === character || 58 === character) {
  59708. t1 = true;
  59709. break $label0$0;
  59710. }
  59711. if (38 === character) {
  59712. t1 = this._plainCss;
  59713. break $label0$0;
  59714. }
  59715. t1 = false;
  59716. break $label0$0;
  59717. }
  59718. return t1;
  59719. }
  59720. };
  59721. A.SelectorParser_parse_closure.prototype = {
  59722. call$0() {
  59723. var t1 = this.$this,
  59724. selector = t1._selectorList$0();
  59725. t1 = t1.scanner;
  59726. if (t1._string_scanner$_position !== t1.string.length)
  59727. t1.error$1(0, "expected selector.");
  59728. return selector;
  59729. },
  59730. $signature: 532
  59731. };
  59732. A.SelectorParser_parseCompoundSelector_closure.prototype = {
  59733. call$0() {
  59734. var t1 = this.$this,
  59735. compound = t1._compoundSelector$0();
  59736. t1 = t1.scanner;
  59737. if (t1._string_scanner$_position !== t1.string.length)
  59738. t1.error$1(0, "expected selector.");
  59739. return compound;
  59740. },
  59741. $signature: 530
  59742. };
  59743. A.StylesheetParser.prototype = {
  59744. parse$0(_) {
  59745. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
  59746. },
  59747. parseParameterList$0() {
  59748. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseParameterList_closure(this), type$.ParameterList);
  59749. },
  59750. parseVariableDeclaration$0() {
  59751. return new A._Record_2(this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration), this.warnings);
  59752. },
  59753. parseUseRule$0() {
  59754. return new A._Record_2(this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule), this.warnings);
  59755. },
  59756. _parseSingleProduction$1$1(production, $T) {
  59757. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
  59758. },
  59759. _statement$1$root(root) {
  59760. var t2, _this = this,
  59761. t1 = _this.scanner,
  59762. _0_0 = t1.peekChar$0();
  59763. if (64 === _0_0)
  59764. return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
  59765. if (43 === _0_0) {
  59766. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  59767. return _this._styleRule$0();
  59768. _this._isUseAllowed = false;
  59769. t2 = t1._string_scanner$_position;
  59770. t1.readChar$0();
  59771. return _this._includeRule$1(new A._SpanScannerState(t1, t2));
  59772. }
  59773. if (61 === _0_0) {
  59774. if (!_this.get$indented())
  59775. return _this._styleRule$0();
  59776. _this._isUseAllowed = false;
  59777. t2 = t1._string_scanner$_position;
  59778. t1.readChar$0();
  59779. _this.whitespace$1$consumeNewlines(true);
  59780. return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
  59781. }
  59782. if (125 === _0_0)
  59783. t1.error$2$length(0, 'unmatched "}".', 1);
  59784. return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
  59785. },
  59786. _statement$0() {
  59787. return this._statement$1$root(false);
  59788. },
  59789. _variableDeclarationWithNamespace$0() {
  59790. var t1 = this.scanner,
  59791. t2 = t1._string_scanner$_position,
  59792. namespace = this.identifier$0();
  59793. t1.expectChar$1(46);
  59794. return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  59795. },
  59796. variableDeclarationWithoutNamespace$2(namespace, start_) {
  59797. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  59798. precedingComment = _this.lastSilentComment;
  59799. _this.lastSilentComment = null;
  59800. if (start_ == null) {
  59801. t1 = _this.scanner;
  59802. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59803. } else
  59804. start = start_;
  59805. $name = _this.variableName$0();
  59806. t1 = namespace != null;
  59807. if (t1)
  59808. _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
  59809. if (_this.get$plainCss())
  59810. _this.error$2(0, string$.Sassx20v, _this.scanner.spanFrom$1(start));
  59811. _this.whitespace$1$consumeNewlines(true);
  59812. t2 = _this.scanner;
  59813. t2.expectChar$1(58);
  59814. _this.whitespace$1$consumeNewlines(true);
  59815. value = _this._expression$0();
  59816. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  59817. for (t3 = _this.warnings, guarded = false, global = false; t2.scanChar$1(33);) {
  59818. $label0$0: {
  59819. _0_0 = _this.identifier$0();
  59820. if ("default" === _0_0) {
  59821. if (guarded) {
  59822. endPosition = t2._string_scanner$_position;
  59823. t4 = t2._sourceFile;
  59824. t5 = flagStart.position;
  59825. t6 = new A._FileSpan(t4, t5, endPosition);
  59826. t6._FileSpan$3(t4, t5, endPosition);
  59827. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_0NP, string$.x21defau, t6));
  59828. }
  59829. guarded = true;
  59830. break $label0$0;
  59831. }
  59832. if ("global" === _0_0) {
  59833. if (t1) {
  59834. endPosition = t2._string_scanner$_position;
  59835. t4 = t2._sourceFile;
  59836. t5 = flagStart.position;
  59837. t6 = new A._FileSpan(t4, t5, endPosition);
  59838. t6._FileSpan$3(t4, t5, endPosition);
  59839. _this.error$2(0, string$.x21globai, t6);
  59840. } else if (global) {
  59841. endPosition = t2._string_scanner$_position;
  59842. t4 = t2._sourceFile;
  59843. t5 = flagStart.position;
  59844. t6 = new A._FileSpan(t4, t5, endPosition);
  59845. t6._FileSpan$3(t4, t5, endPosition);
  59846. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_0NP, string$.x21globas, t6));
  59847. }
  59848. global = true;
  59849. break $label0$0;
  59850. }
  59851. endPosition = t2._string_scanner$_position;
  59852. t4 = t2._sourceFile;
  59853. t5 = flagStart.position;
  59854. t6 = new A._FileSpan(t4, t5, endPosition);
  59855. t6._FileSpan$3(t4, t5, endPosition);
  59856. _this.error$2(0, "Invalid flag name.", t6);
  59857. }
  59858. _this.whitespace$1$consumeNewlines(false);
  59859. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  59860. }
  59861. _this.expectStatementSeparator$1("variable declaration");
  59862. declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  59863. if (global)
  59864. _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
  59865. return declaration;
  59866. },
  59867. variableDeclarationWithoutNamespace$0() {
  59868. return this.variableDeclarationWithoutNamespace$2(null, null);
  59869. },
  59870. _variableDeclarationOrStyleRule$0() {
  59871. var t1, t2, variableOrInterpolation, t3, _this = this;
  59872. if (_this.get$plainCss())
  59873. return _this._styleRule$0();
  59874. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  59875. return _this._styleRule$0();
  59876. if (!_this.lookingAtIdentifier$0())
  59877. return _this._styleRule$0();
  59878. t1 = _this.scanner;
  59879. t2 = t1._string_scanner$_position;
  59880. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  59881. if (variableOrInterpolation instanceof A.VariableDeclaration)
  59882. t1 = variableOrInterpolation;
  59883. else {
  59884. t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  59885. t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  59886. t2 = _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
  59887. t1 = t2;
  59888. }
  59889. return t1;
  59890. },
  59891. _declarationOrStyleRule$0() {
  59892. var t1, t2, declarationOrBuffer, _this = this;
  59893. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  59894. return _this._styleRule$0();
  59895. t1 = _this.scanner;
  59896. t2 = t1._string_scanner$_position;
  59897. declarationOrBuffer = _this._declarationOrBuffer$0();
  59898. return declarationOrBuffer instanceof A.Statement ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  59899. },
  59900. _declarationOrBuffer$0() {
  59901. var midBuffer, couldBeSelector, beforeDeclaration, value, additional, t2, t3, variableOrInterpolation, t4, $name, postColonWhitespace, _0_0, exception, _1_0, _this = this,
  59902. t1 = _this.scanner,
  59903. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  59904. nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  59905. startsWithPunctuation = _this._lookingAtPotentialPropertyHack$0();
  59906. if (startsWithPunctuation) {
  59907. t2 = t1.readChar$0();
  59908. t3 = nameBuffer._interpolation_buffer$_text;
  59909. t2 = A.Primitives_stringFromCharCode(t2);
  59910. t3._contents += t2;
  59911. t2 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure(_this));
  59912. t3 = nameBuffer._interpolation_buffer$_text;
  59913. t3._contents += t2;
  59914. }
  59915. if (!_this._lookingAtInterpolatedIdentifier$0())
  59916. return nameBuffer;
  59917. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
  59918. if (variableOrInterpolation instanceof A.VariableDeclaration)
  59919. return variableOrInterpolation;
  59920. else
  59921. nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  59922. _this._isUseAllowed = false;
  59923. if (t1.matches$1("/*")) {
  59924. t2 = _this.rawText$1(_this.get$loudComment());
  59925. t3 = nameBuffer._interpolation_buffer$_text;
  59926. t3._contents += t2;
  59927. }
  59928. midBuffer = new A.StringBuffer("");
  59929. t2 = midBuffer;
  59930. t3 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure0(_this));
  59931. t2._contents += t3;
  59932. t3 = t1._string_scanner$_position;
  59933. if (!t1.scanChar$1(58)) {
  59934. if (midBuffer._contents.length !== 0) {
  59935. t1 = nameBuffer._interpolation_buffer$_text;
  59936. t2 = A.Primitives_stringFromCharCode(32);
  59937. t1._contents += t2;
  59938. }
  59939. return nameBuffer;
  59940. }
  59941. t2 = midBuffer;
  59942. t4 = A.Primitives_stringFromCharCode(58);
  59943. t2._contents += t4;
  59944. $name = nameBuffer.interpolation$1(t1.spanFrom$2(start, new A._SpanScannerState(t1, t3)));
  59945. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  59946. t2 = _this._interpolatedDeclarationValue$1$silentComments(false);
  59947. _this.expectStatementSeparator$1("custom property");
  59948. return A.Declaration$($name, new A.StringExpression(t2, false), t1.spanFrom$1(start));
  59949. }
  59950. if (t1.scanChar$1(58)) {
  59951. t1 = nameBuffer;
  59952. t2 = t1._interpolation_buffer$_text;
  59953. t3 = A.S(midBuffer);
  59954. t2._contents += t3;
  59955. t3 = A.Primitives_stringFromCharCode(58);
  59956. t2._contents += t3;
  59957. return t1;
  59958. } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
  59959. t1 = nameBuffer;
  59960. t2 = t1._interpolation_buffer$_text;
  59961. t3 = A.S(midBuffer);
  59962. t2._contents += t3;
  59963. return t1;
  59964. }
  59965. postColonWhitespace = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure1(_this));
  59966. _0_0 = _this._tryDeclarationChildren$2($name, start);
  59967. if (_0_0 != null)
  59968. return _0_0;
  59969. midBuffer._contents += postColonWhitespace;
  59970. couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
  59971. beforeDeclaration = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59972. value = null;
  59973. try {
  59974. value = _this._expression$0();
  59975. if (_this.lookingAtChildren$0()) {
  59976. if (couldBeSelector)
  59977. _this.expectStatementSeparator$0();
  59978. } else if (!_this.atEndOfStatement$0())
  59979. _this.expectStatementSeparator$0();
  59980. } catch (exception) {
  59981. if (type$.FormatException._is(A.unwrapException(exception))) {
  59982. if (!couldBeSelector)
  59983. throw exception;
  59984. t1.set$state(beforeDeclaration);
  59985. additional = _this.almostAnyValue$0();
  59986. if (!_this.get$indented() && t1.peekChar$0() === 59)
  59987. throw exception;
  59988. t1 = nameBuffer._interpolation_buffer$_text;
  59989. t2 = A.S(midBuffer);
  59990. t1._contents += t2;
  59991. nameBuffer.addInterpolation$1(additional);
  59992. return nameBuffer;
  59993. } else
  59994. throw exception;
  59995. }
  59996. _1_0 = _this._tryDeclarationChildren$3$value($name, start, value);
  59997. if (_1_0 != null)
  59998. return _1_0;
  59999. else {
  60000. _this.expectStatementSeparator$0();
  60001. return A.Declaration$($name, value, t1.spanFrom$1(start));
  60002. }
  60003. },
  60004. _variableDeclarationOrInterpolation$0() {
  60005. var t1, start, identifier, t2, buffer, _this = this;
  60006. if (!_this.lookingAtIdentifier$0())
  60007. return _this.interpolatedIdentifier$0();
  60008. t1 = _this.scanner;
  60009. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60010. identifier = _this.identifier$0();
  60011. if (t1.matches$1(".$")) {
  60012. t1.readChar$0();
  60013. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  60014. } else {
  60015. t2 = new A.StringBuffer("");
  60016. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60017. t2._contents = "" + identifier;
  60018. if (_this._lookingAtInterpolatedIdentifierBody$0())
  60019. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  60020. return buffer.interpolation$1(t1.spanFrom$1(start));
  60021. }
  60022. },
  60023. _styleRule$2(buffer, start_) {
  60024. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  60025. _this._isUseAllowed = false;
  60026. if (start_ == null) {
  60027. t2 = _this.scanner;
  60028. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  60029. } else
  60030. start = start_;
  60031. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  60032. if (buffer != null) {
  60033. buffer.addInterpolation$1(interpolation);
  60034. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  60035. } else
  60036. t2 = interpolation;
  60037. if (t2.contents.length === 0)
  60038. _this.scanner.error$1(0, 'expected "}".');
  60039. wasInStyleRule = _this._inStyleRule;
  60040. _this._inStyleRule = true;
  60041. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
  60042. },
  60043. _styleRule$0() {
  60044. return this._styleRule$2(null, null);
  60045. },
  60046. _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  60047. var t2, nameBuffer, t3, $name, variableOrInterpolation, _0_0, value, _1_0, _this = this,
  60048. t1 = _this.scanner,
  60049. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60050. if (_this._lookingAtPotentialPropertyHack$0()) {
  60051. t2 = new A.StringBuffer("");
  60052. nameBuffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60053. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  60054. t2._contents += t3;
  60055. t3 = _this.rawText$1(new A.StylesheetParser__propertyOrVariableDeclaration_closure(_this));
  60056. t2._contents += t3;
  60057. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  60058. $name = nameBuffer.interpolation$1(t1.spanFrom$1(start));
  60059. } else if (!_this.get$plainCss()) {
  60060. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  60061. if (variableOrInterpolation instanceof A.VariableDeclaration)
  60062. return variableOrInterpolation;
  60063. else
  60064. type$.Interpolation._as(variableOrInterpolation);
  60065. $name = variableOrInterpolation;
  60066. } else
  60067. $name = _this.interpolatedIdentifier$0();
  60068. _this.whitespace$1$consumeNewlines(false);
  60069. t1.expectChar$1(58);
  60070. _this.whitespace$1$consumeNewlines(false);
  60071. _0_0 = _this._tryDeclarationChildren$2($name, start);
  60072. if (_0_0 != null)
  60073. return _0_0;
  60074. value = _this._expression$0();
  60075. _1_0 = _this._tryDeclarationChildren$3$value($name, start, value);
  60076. if (_1_0 != null)
  60077. return _1_0;
  60078. else {
  60079. _this.expectStatementSeparator$0();
  60080. return A.Declaration$($name, value, t1.spanFrom$1(start));
  60081. }
  60082. },
  60083. _tryDeclarationChildren$3$value($name, start, value) {
  60084. var _this = this;
  60085. if (!_this.lookingAtChildren$0())
  60086. return null;
  60087. if (_this.get$plainCss())
  60088. _this.scanner.error$1(0, string$.Nested);
  60089. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__tryDeclarationChildren_closure($name, value));
  60090. },
  60091. _tryDeclarationChildren$2($name, start) {
  60092. return this._tryDeclarationChildren$3$value($name, start, null);
  60093. },
  60094. _declarationChild$0() {
  60095. return this.scanner.peekChar$0() === 64 ? this._declarationAtRule$0() : this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
  60096. },
  60097. atRule$2$root(child, root) {
  60098. var $name, wasUseAllowed, value, optional, _this = this,
  60099. t1 = _this.scanner,
  60100. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60101. t1.expectChar$2$name(64, "@-rule");
  60102. $name = _this.interpolatedIdentifier$0();
  60103. wasUseAllowed = _this._isUseAllowed;
  60104. _this._isUseAllowed = false;
  60105. switch ($name.get$asPlain()) {
  60106. case "at-root":
  60107. return _this._atRootRule$1(start);
  60108. case "content":
  60109. return _this._contentRule$1(start);
  60110. case "debug":
  60111. return _this._debugRule$1(start);
  60112. case "each":
  60113. return _this._eachRule$2(start, child);
  60114. case "else":
  60115. return _this._disallowedAtRule$1(start);
  60116. case "error":
  60117. return _this._errorRule$1(start);
  60118. case "extend":
  60119. _this.whitespace$1$consumeNewlines(true);
  60120. if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
  60121. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  60122. value = _this.almostAnyValue$0();
  60123. optional = t1.scanChar$1(33);
  60124. if (optional) {
  60125. _this.expectIdentifier$1("optional");
  60126. _this.whitespace$1$consumeNewlines(false);
  60127. }
  60128. _this.expectStatementSeparator$1("@extend rule");
  60129. return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
  60130. case "for":
  60131. return _this._forRule$2(start, child);
  60132. case "forward":
  60133. _this._isUseAllowed = wasUseAllowed;
  60134. if (!root)
  60135. _this._disallowedAtRule$1(start);
  60136. return _this._forwardRule$1(start);
  60137. case "function":
  60138. return _this._functionRule$1(start);
  60139. case "if":
  60140. return _this._ifRule$2(start, child);
  60141. case "import":
  60142. return _this._importRule$1(start);
  60143. case "include":
  60144. return _this._includeRule$1(start);
  60145. case "media":
  60146. return _this.mediaRule$1(start);
  60147. case "mixin":
  60148. return _this._mixinRule$1(start);
  60149. case "-moz-document":
  60150. return _this.mozDocumentRule$2(start, $name);
  60151. case "return":
  60152. return _this._disallowedAtRule$1(start);
  60153. case "supports":
  60154. return _this.supportsRule$1(start);
  60155. case "use":
  60156. _this._isUseAllowed = wasUseAllowed;
  60157. if (!root)
  60158. _this._disallowedAtRule$1(start);
  60159. return _this._useRule$1(start);
  60160. case "warn":
  60161. return _this._warnRule$1(start);
  60162. case "while":
  60163. return _this._whileRule$2(start, child);
  60164. default:
  60165. return _this.unknownAtRule$2(start, $name);
  60166. }
  60167. },
  60168. _declarationAtRule$0() {
  60169. var _this = this,
  60170. t1 = _this.scanner,
  60171. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  60172. _0_0 = _this._plainAtRuleName$0();
  60173. $label0$0: {
  60174. if ("content" === _0_0) {
  60175. t1 = _this._contentRule$1(start);
  60176. break $label0$0;
  60177. }
  60178. if ("debug" === _0_0) {
  60179. t1 = _this._debugRule$1(start);
  60180. break $label0$0;
  60181. }
  60182. if ("each" === _0_0) {
  60183. t1 = _this._eachRule$2(start, _this.get$_declarationChild());
  60184. break $label0$0;
  60185. }
  60186. if ("else" === _0_0)
  60187. _this._disallowedAtRule$1(start);
  60188. if ("error" === _0_0) {
  60189. t1 = _this._errorRule$1(start);
  60190. break $label0$0;
  60191. }
  60192. if ("for" === _0_0) {
  60193. t1 = _this._forRule$2(start, _this.get$_declarationChild());
  60194. break $label0$0;
  60195. }
  60196. if ("if" === _0_0) {
  60197. t1 = _this._ifRule$2(start, _this.get$_declarationChild());
  60198. break $label0$0;
  60199. }
  60200. if ("include" === _0_0) {
  60201. t1 = _this._includeRule$1(start);
  60202. break $label0$0;
  60203. }
  60204. if ("warn" === _0_0) {
  60205. t1 = _this._warnRule$1(start);
  60206. break $label0$0;
  60207. }
  60208. if ("while" === _0_0) {
  60209. t1 = _this._whileRule$2(start, _this.get$_declarationChild());
  60210. break $label0$0;
  60211. }
  60212. t1 = _this._disallowedAtRule$1(start);
  60213. }
  60214. return t1;
  60215. },
  60216. _functionChild$0() {
  60217. var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, _0_0, value, _this = this,
  60218. t1 = _this.scanner;
  60219. if (t1.peekChar$0() !== 64) {
  60220. state = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60221. try {
  60222. t2 = _this._variableDeclarationWithNamespace$0();
  60223. return t2;
  60224. } catch (exception) {
  60225. t2 = A.unwrapException(exception);
  60226. t3 = type$.SourceSpanFormatException;
  60227. if (t3._is(t2)) {
  60228. variableDeclarationError = t2;
  60229. stackTrace = A.getTraceFromException(exception);
  60230. t1.set$state(state);
  60231. statement = null;
  60232. try {
  60233. statement = _this._declarationOrStyleRule$0();
  60234. } catch (exception) {
  60235. if (t3._is(A.unwrapException(exception)))
  60236. throw A.wrapException(variableDeclarationError);
  60237. else
  60238. throw exception;
  60239. }
  60240. t2 = statement instanceof A.StyleRule ? "style rules" : "declarations";
  60241. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  60242. } else
  60243. throw exception;
  60244. }
  60245. }
  60246. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60247. _0_0 = _this._plainAtRuleName$0();
  60248. $label0$0: {
  60249. if ("debug" === _0_0) {
  60250. t1 = _this._debugRule$1(start);
  60251. break $label0$0;
  60252. }
  60253. if ("each" === _0_0) {
  60254. t1 = _this._eachRule$2(start, _this.get$_functionChild());
  60255. break $label0$0;
  60256. }
  60257. if ("else" === _0_0)
  60258. _this._disallowedAtRule$1(start);
  60259. if ("error" === _0_0) {
  60260. t1 = _this._errorRule$1(start);
  60261. break $label0$0;
  60262. }
  60263. if ("for" === _0_0) {
  60264. t1 = _this._forRule$2(start, _this.get$_functionChild());
  60265. break $label0$0;
  60266. }
  60267. if ("if" === _0_0) {
  60268. t1 = _this._ifRule$2(start, _this.get$_functionChild());
  60269. break $label0$0;
  60270. }
  60271. if ("return" === _0_0) {
  60272. _this.whitespace$1$consumeNewlines(true);
  60273. value = _this._expression$0();
  60274. _this.expectStatementSeparator$1("@return rule");
  60275. t1 = new A.ReturnRule(value, t1.spanFrom$1(start));
  60276. break $label0$0;
  60277. }
  60278. if ("warn" === _0_0) {
  60279. t1 = _this._warnRule$1(start);
  60280. break $label0$0;
  60281. }
  60282. if ("while" === _0_0) {
  60283. t1 = _this._whileRule$2(start, _this.get$_functionChild());
  60284. break $label0$0;
  60285. }
  60286. t1 = _this._disallowedAtRule$1(start);
  60287. }
  60288. return t1;
  60289. },
  60290. _plainAtRuleName$0() {
  60291. this.scanner.expectChar$2$name(64, "@-rule");
  60292. return this.identifier$0();
  60293. },
  60294. _atRootRule$1(start) {
  60295. var t1, t2, t3, buffer, t4, _this = this;
  60296. _this.whitespace$1$consumeNewlines(false);
  60297. t1 = _this.scanner;
  60298. if (t1.peekChar$0() === 40) {
  60299. t2 = t1._string_scanner$_position;
  60300. t3 = new A.StringBuffer("");
  60301. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60302. t1.expectChar$1(40);
  60303. t4 = A.Primitives_stringFromCharCode(40);
  60304. t3._contents += t4;
  60305. _this.whitespace$1$consumeNewlines(true);
  60306. _this._addOrInject$2(buffer, _this._expression$1$consumeNewlines(true));
  60307. if (t1.scanChar$1(58)) {
  60308. _this.whitespace$1$consumeNewlines(true);
  60309. t4 = A.Primitives_stringFromCharCode(58);
  60310. t3._contents += t4;
  60311. t4 = A.Primitives_stringFromCharCode(32);
  60312. t3._contents += t4;
  60313. _this._addOrInject$2(buffer, _this._expression$1$consumeNewlines(true));
  60314. }
  60315. t1.expectChar$1(41);
  60316. _this.whitespace$1$consumeNewlines(false);
  60317. t4 = A.Primitives_stringFromCharCode(41);
  60318. t3._contents += t4;
  60319. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)))));
  60320. } else {
  60321. if (!_this.lookingAtChildren$0())
  60322. t2 = _this.get$indented() && _this.atEndOfStatement$0();
  60323. else
  60324. t2 = true;
  60325. if (t2)
  60326. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
  60327. else
  60328. return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
  60329. }
  60330. },
  60331. _contentRule$1(start) {
  60332. var t1, beforeWhitespace, $arguments, t2, _this = this;
  60333. if (!_this._stylesheet$_inMixin)
  60334. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  60335. t1 = _this.scanner;
  60336. beforeWhitespace = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60337. _this.whitespace$1$consumeNewlines(false);
  60338. if (t1.peekChar$0() === 40) {
  60339. $arguments = _this._argumentInvocation$1$mixin(true);
  60340. _this.whitespace$1$consumeNewlines(false);
  60341. } else {
  60342. t2 = beforeWhitespace.offset;
  60343. $arguments = A.ArgumentList$empty(A._FileSpan$(beforeWhitespace.file, t2, t2));
  60344. }
  60345. _this.expectStatementSeparator$1("@content rule");
  60346. return new A.ContentRule($arguments, t1.spanFrom$1(start));
  60347. },
  60348. _debugRule$1(start) {
  60349. var value, t1, t2, _this = this;
  60350. _this.whitespace$1$consumeNewlines(true);
  60351. value = _this._expression$0();
  60352. t1 = _this.scanner;
  60353. t2 = t1._string_scanner$_position;
  60354. _this.expectStatementSeparator$1("@debug rule");
  60355. return new A.DebugRule(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  60356. },
  60357. _eachRule$2(start, child) {
  60358. var wasInControlDirective, variables, t1, _this = this;
  60359. _this.whitespace$1$consumeNewlines(true);
  60360. wasInControlDirective = _this._inControlDirective;
  60361. _this._inControlDirective = true;
  60362. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  60363. _this.whitespace$1$consumeNewlines(true);
  60364. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  60365. _this.whitespace$1$consumeNewlines(true);
  60366. t1.expectChar$1(36);
  60367. variables.push(_this.identifier$1$normalize(true));
  60368. _this.whitespace$1$consumeNewlines(true);
  60369. }
  60370. _this.whitespace$1$consumeNewlines(true);
  60371. _this.expectIdentifier$1("in");
  60372. _this.whitespace$1$consumeNewlines(true);
  60373. return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this._expression$0()));
  60374. },
  60375. _errorRule$1(start) {
  60376. var value, t1, t2, _this = this;
  60377. _this.whitespace$1$consumeNewlines(true);
  60378. value = _this._expression$0();
  60379. t1 = _this.scanner;
  60380. t2 = t1._string_scanner$_position;
  60381. _this.expectStatementSeparator$1("@error rule");
  60382. return new A.ErrorRule(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  60383. },
  60384. _functionRule$1(start) {
  60385. var precedingComment, t1, t2, $name, parameters, _0_0, _this = this;
  60386. _this.whitespace$1$consumeNewlines(true);
  60387. precedingComment = _this.lastSilentComment;
  60388. _this.lastSilentComment = null;
  60389. t1 = _this.scanner;
  60390. t2 = t1._string_scanner$_position;
  60391. $name = _this.identifier$0();
  60392. if (B.JSString_methods.startsWith$1($name, "--"))
  60393. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_Kg6, string$.Sassx20_fm, t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  60394. _this.whitespace$1$consumeNewlines(true);
  60395. parameters = _this._parameterList$0();
  60396. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  60397. _this.error$2(0, string$.Mixinscf, t1.spanFrom$1(start));
  60398. else if (_this._inControlDirective)
  60399. _this.error$2(0, string$.Functi, t1.spanFrom$1(start));
  60400. _0_0 = A.unvendor($name);
  60401. 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)
  60402. _this.error$2(0, "Invalid function name.", t1.spanFrom$1(start));
  60403. _this.whitespace$1$consumeNewlines(false);
  60404. return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, parameters, precedingComment));
  60405. },
  60406. _forRule$2(start, child) {
  60407. var wasInControlDirective, variable, from, _this = this, t1 = {};
  60408. _this.whitespace$1$consumeNewlines(true);
  60409. wasInControlDirective = _this._inControlDirective;
  60410. _this._inControlDirective = true;
  60411. variable = _this.variableName$0();
  60412. _this.whitespace$1$consumeNewlines(true);
  60413. _this.expectIdentifier$1("from");
  60414. _this.whitespace$1$consumeNewlines(true);
  60415. t1.exclusive = null;
  60416. from = _this._expression$2$consumeNewlines$until(true, new A.StylesheetParser__forRule_closure(t1, _this));
  60417. if (t1.exclusive == null)
  60418. _this.scanner.error$1(0, 'Expected "to" or "through".');
  60419. _this.whitespace$1$consumeNewlines(true);
  60420. return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this._expression$0()));
  60421. },
  60422. _forwardRule$1(start) {
  60423. var url, prefix, hiddenMixinsAndFunctions, hiddenVariables, _0_0, shownMixinsAndFunctions, shownVariables, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null;
  60424. _this.whitespace$1$consumeNewlines(true);
  60425. url = _this._urlString$0();
  60426. _this.whitespace$1$consumeNewlines(false);
  60427. if (_this.scanIdentifier$1("as")) {
  60428. _this.whitespace$1$consumeNewlines(true);
  60429. prefix = _this.identifier$1$normalize(true);
  60430. _this.scanner.expectChar$1(42);
  60431. _this.whitespace$1$consumeNewlines(false);
  60432. } else
  60433. prefix = _null;
  60434. hiddenMixinsAndFunctions = _null;
  60435. hiddenVariables = _null;
  60436. if (_this.scanIdentifier$1("show")) {
  60437. _this.whitespace$1$consumeNewlines(true);
  60438. _0_0 = _this._memberList$0();
  60439. shownMixinsAndFunctions = _0_0._0;
  60440. shownVariables = _0_0._1;
  60441. } else {
  60442. if (_this.scanIdentifier$1("hide")) {
  60443. _this.whitespace$1$consumeNewlines(true);
  60444. _1_0 = _this._memberList$0();
  60445. hiddenMixinsAndFunctions = _1_0._0;
  60446. hiddenVariables = _1_0._1;
  60447. }
  60448. shownVariables = _null;
  60449. shownMixinsAndFunctions = shownVariables;
  60450. }
  60451. configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
  60452. _this.whitespace$1$consumeNewlines(false);
  60453. _this.expectStatementSeparator$1("@forward rule");
  60454. span = _this.scanner.spanFrom$1(start);
  60455. if (!_this._isUseAllowed)
  60456. _this.error$2(0, string$.x40forwa, span);
  60457. if (shownMixinsAndFunctions != null) {
  60458. shownVariables.toString;
  60459. t1 = type$.String;
  60460. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  60461. t3 = type$.UnmodifiableSetView_String;
  60462. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  60463. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  60464. return new A.ForwardRule(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  60465. } else if (hiddenMixinsAndFunctions != null) {
  60466. hiddenVariables.toString;
  60467. t1 = type$.String;
  60468. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  60469. t3 = type$.UnmodifiableSetView_String;
  60470. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  60471. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  60472. return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  60473. } else
  60474. return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  60475. },
  60476. _memberList$0() {
  60477. var _this = this,
  60478. t1 = type$.String,
  60479. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  60480. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  60481. t1 = _this.scanner;
  60482. do {
  60483. _this.whitespace$1$consumeNewlines(true);
  60484. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
  60485. _this.whitespace$1$consumeNewlines(false);
  60486. } while (t1.scanChar$1(44));
  60487. return new A._Record_2(identifiers, variables);
  60488. },
  60489. _ifRule$2(start, child) {
  60490. var ifIndentation, wasInControlDirective, condition, children, clauses, lastClause, span, _this = this;
  60491. _this.whitespace$1$consumeNewlines(true);
  60492. ifIndentation = _this.get$currentIndentation();
  60493. wasInControlDirective = _this._inControlDirective;
  60494. _this._inControlDirective = true;
  60495. condition = _this._expression$0();
  60496. children = _this.children$1(0, child);
  60497. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  60498. clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
  60499. while (true) {
  60500. if (!_this.scanElse$1(ifIndentation)) {
  60501. lastClause = null;
  60502. break;
  60503. }
  60504. _this.whitespace$1$consumeNewlines(false);
  60505. if (_this.scanIdentifier$1("if")) {
  60506. _this.whitespace$1$consumeNewlines(true);
  60507. clauses.push(A.IfClause$(_this._expression$0(), _this.children$1(0, child)));
  60508. } else {
  60509. lastClause = A.ElseClause$(_this.children$1(0, child));
  60510. break;
  60511. }
  60512. }
  60513. _this._inControlDirective = wasInControlDirective;
  60514. span = _this.scanner.spanFrom$1(start);
  60515. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  60516. return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
  60517. },
  60518. _importRule$1(start) {
  60519. var argument, t3, _this = this,
  60520. imports = A._setArrayType([], type$.JSArray_Import),
  60521. t1 = _this.scanner,
  60522. t2 = _this.warnings;
  60523. do {
  60524. _this.whitespace$1$consumeNewlines(false);
  60525. argument = _this.importArgument$0();
  60526. t3 = argument instanceof A.DynamicImport;
  60527. if (t3)
  60528. t2.push(new A._Record_3_deprecation_message_span(B.Deprecation_2g5, string$.Sassx20_i, argument.span));
  60529. if ((_this._inControlDirective || _this._stylesheet$_inMixin) && t3)
  60530. _this._disallowedAtRule$1(start);
  60531. imports.push(argument);
  60532. _this.whitespace$1$consumeNewlines(false);
  60533. } while (t1.scanChar$1(44));
  60534. _this.expectStatementSeparator$1("@import rule");
  60535. t1 = t1.spanFrom$1(start);
  60536. return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
  60537. },
  60538. importArgument$0() {
  60539. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  60540. t1 = _this.scanner,
  60541. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  60542. _0_0 = t1.peekChar$0();
  60543. if (117 === _0_0 || 85 === _0_0) {
  60544. url = _this.dynamicUrl$0();
  60545. _this.whitespace$1$consumeNewlines(false);
  60546. modifiers = _this.tryImportModifiers$0();
  60547. 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));
  60548. return new A.StaticImport(t2, modifiers, t1.spanFrom$1(start));
  60549. }
  60550. url = _this.string$0();
  60551. urlSpan = t1.spanFrom$1(start);
  60552. _this.whitespace$1$consumeNewlines(false);
  60553. modifiers = _this.tryImportModifiers$0();
  60554. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  60555. t2 = urlSpan;
  60556. 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));
  60557. } else
  60558. try {
  60559. t1 = _this.parseImportUrl$1(url);
  60560. return new A.DynamicImport(t1, urlSpan);
  60561. } catch (exception) {
  60562. t1 = A.unwrapException(exception);
  60563. if (type$.FormatException._is(t1)) {
  60564. innerError = t1;
  60565. stackTrace = A.getTraceFromException(exception);
  60566. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  60567. } else
  60568. throw exception;
  60569. }
  60570. },
  60571. parseImportUrl$1(url) {
  60572. var t1 = $.$get$windows();
  60573. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  60574. return t1.toUri$1(url).toString$0(0);
  60575. A.Uri_parse(url);
  60576. return url;
  60577. },
  60578. isPlainImportUrl$1(url) {
  60579. var _0_0, t1;
  60580. if (url.length < 5)
  60581. return false;
  60582. if (B.JSString_methods.endsWith$1(url, ".css"))
  60583. return true;
  60584. _0_0 = url.charCodeAt(0);
  60585. $label0$0: {
  60586. if (47 === _0_0) {
  60587. t1 = url.charCodeAt(1) === 47;
  60588. break $label0$0;
  60589. }
  60590. if (104 === _0_0) {
  60591. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  60592. break $label0$0;
  60593. }
  60594. t1 = false;
  60595. break $label0$0;
  60596. }
  60597. return t1;
  60598. },
  60599. tryImportModifiers$0() {
  60600. var t1, start, t2, t3, t4, buffer, t5, identifier, $name, query, t6, endPosition, _this = this;
  60601. if (!_this._lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  60602. return null;
  60603. t1 = _this.scanner;
  60604. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60605. t2 = new A.StringBuffer("");
  60606. t3 = A._setArrayType([], type$.JSArray_Object);
  60607. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  60608. buffer = new A.InterpolationBuffer(t2, t3, t4);
  60609. for (; true;)
  60610. if (_this._lookingAtInterpolatedIdentifier$0()) {
  60611. if (!(t3.length === 0 && t2._contents.length === 0)) {
  60612. t5 = A.Primitives_stringFromCharCode(32);
  60613. t2._contents += t5;
  60614. }
  60615. identifier = _this.interpolatedIdentifier$0();
  60616. buffer.addInterpolation$1(identifier);
  60617. t5 = identifier.get$asPlain();
  60618. $name = t5 == null ? null : t5.toLowerCase();
  60619. if ($name !== "and" && t1.scanChar$1(40)) {
  60620. if ($name === "supports") {
  60621. query = _this._importSupportsQuery$0();
  60622. t5 = !(query instanceof A.SupportsDeclaration);
  60623. if (t5) {
  60624. t6 = A.Primitives_stringFromCharCode(40);
  60625. t2._contents += t6;
  60626. }
  60627. t6 = query.get$span(query);
  60628. buffer._flushText$0();
  60629. t3.push(new A.SupportsExpression(query));
  60630. t4.push(t6);
  60631. if (t5) {
  60632. t5 = A.Primitives_stringFromCharCode(41);
  60633. t2._contents += t5;
  60634. }
  60635. } else {
  60636. t5 = A.Primitives_stringFromCharCode(40);
  60637. t2._contents += t5;
  60638. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true));
  60639. t5 = A.Primitives_stringFromCharCode(41);
  60640. t2._contents += t5;
  60641. }
  60642. t1.expectChar$1(41);
  60643. _this.whitespace$1$consumeNewlines(false);
  60644. } else {
  60645. _this.whitespace$1$consumeNewlines(false);
  60646. if (t1.scanChar$1(44)) {
  60647. t2._contents += ", ";
  60648. buffer.addInterpolation$1(_this._mediaQueryList$0());
  60649. endPosition = t1._string_scanner$_position;
  60650. t2 = t1._sourceFile;
  60651. t3 = start.position;
  60652. t1 = new A._FileSpan(t2, t3, endPosition);
  60653. t1._FileSpan$3(t2, t3, endPosition);
  60654. return buffer.interpolation$1(t1);
  60655. }
  60656. }
  60657. } else if (t1.peekChar$0() === 40) {
  60658. if (!(t3.length === 0 && t2._contents.length === 0)) {
  60659. t3 = A.Primitives_stringFromCharCode(32);
  60660. t2._contents += t3;
  60661. }
  60662. buffer.addInterpolation$1(_this._mediaQueryList$0());
  60663. endPosition = t1._string_scanner$_position;
  60664. t1 = t1._sourceFile;
  60665. t2 = start.position;
  60666. t3 = new A._FileSpan(t1, t2, endPosition);
  60667. t3._FileSpan$3(t1, t2, endPosition);
  60668. return buffer.interpolation$1(t3);
  60669. } else {
  60670. endPosition = t1._string_scanner$_position;
  60671. t1 = t1._sourceFile;
  60672. t2 = start.position;
  60673. t3 = new A._FileSpan(t1, t2, endPosition);
  60674. t3._FileSpan$3(t1, t2, endPosition);
  60675. return buffer.interpolation$1(t3);
  60676. }
  60677. },
  60678. _importSupportsQuery$0() {
  60679. var t1, t2, _0_0, $name, _this = this;
  60680. _this.whitespace$1$consumeNewlines(true);
  60681. if (_this.scanIdentifier$1("not")) {
  60682. _this.whitespace$1$consumeNewlines(true);
  60683. t1 = _this.scanner;
  60684. t2 = t1._string_scanner$_position;
  60685. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  60686. } else {
  60687. t1 = _this.scanner;
  60688. if (t1.peekChar$0() === 40)
  60689. return _this._supportsCondition$1$inParentheses(true);
  60690. else {
  60691. _0_0 = _this._tryImportSupportsFunction$0();
  60692. if (_0_0 != null)
  60693. return _0_0;
  60694. t2 = t1._string_scanner$_position;
  60695. $name = _this._expression$1$consumeNewlines(true);
  60696. t1.expectChar$1(58);
  60697. return new A.SupportsDeclaration($name, _this._supportsDeclarationValue$1($name), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  60698. }
  60699. }
  60700. },
  60701. _tryImportSupportsFunction$0() {
  60702. var t1, start, $name, value, _this = this;
  60703. if (!_this._lookingAtInterpolatedIdentifier$0())
  60704. return null;
  60705. t1 = _this.scanner;
  60706. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60707. $name = _this.interpolatedIdentifier$0();
  60708. if (!t1.scanChar$1(40)) {
  60709. t1.set$state(start);
  60710. return null;
  60711. }
  60712. value = _this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  60713. t1.expectChar$1(41);
  60714. return new A.SupportsFunction($name, value, t1.spanFrom$1(start));
  60715. },
  60716. _includeRule$1(start) {
  60717. var $name, t1, name0, namespace, $arguments, t2, t3, contentParameters, contentParameters_, wasInContentBlock, $content, span, _this = this, _null = null;
  60718. _this.whitespace$1$consumeNewlines(true);
  60719. $name = _this.identifier$0();
  60720. t1 = _this.scanner;
  60721. if (t1.scanChar$1(46)) {
  60722. name0 = _this._publicIdentifier$0();
  60723. namespace = $name;
  60724. $name = name0;
  60725. } else
  60726. namespace = _null;
  60727. _this.whitespace$1$consumeNewlines(false);
  60728. if (t1.peekChar$0() === 40)
  60729. $arguments = _this._argumentInvocation$1$mixin(true);
  60730. else {
  60731. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60732. t3 = t2.offset;
  60733. $arguments = A.ArgumentList$empty(A._FileSpan$(t2.file, t3, t3));
  60734. }
  60735. _this.whitespace$1$consumeNewlines(false);
  60736. if (_this.scanIdentifier$1("using")) {
  60737. _this.whitespace$1$consumeNewlines(true);
  60738. contentParameters = _this._parameterList$0();
  60739. _this.whitespace$1$consumeNewlines(false);
  60740. } else
  60741. contentParameters = _null;
  60742. t2 = contentParameters == null;
  60743. if (!t2 || _this.lookingAtChildren$0()) {
  60744. if (t2) {
  60745. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60746. t3 = t2.offset;
  60747. contentParameters_ = new A.ParameterList(B.List_empty12, _null, A._FileSpan$(t2.file, t3, t3));
  60748. } else
  60749. contentParameters_ = contentParameters;
  60750. wasInContentBlock = _this._inContentBlock;
  60751. _this._inContentBlock = true;
  60752. $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentParameters_));
  60753. _this._inContentBlock = wasInContentBlock;
  60754. } else {
  60755. _this.expectStatementSeparator$0();
  60756. $content = _null;
  60757. }
  60758. t1 = t1.spanFrom$2(start, start);
  60759. t2 = $content == null ? $arguments : $content;
  60760. span = t1.expand$1(0, t2.get$span(t2));
  60761. return new A.IncludeRule(namespace, A.stringReplaceAllUnchecked($name, "_", "-"), $name, $arguments, $content, span);
  60762. },
  60763. mediaRule$1(start) {
  60764. var _this = this;
  60765. _this.whitespace$1$consumeNewlines(false);
  60766. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(_this._mediaQueryList$0()));
  60767. },
  60768. _mixinRule$1(start) {
  60769. var precedingComment, t1, t2, $name, parameters, t3, _this = this;
  60770. _this.whitespace$1$consumeNewlines(true);
  60771. precedingComment = _this.lastSilentComment;
  60772. _this.lastSilentComment = null;
  60773. t1 = _this.scanner;
  60774. t2 = t1._string_scanner$_position;
  60775. $name = _this.identifier$0();
  60776. if (B.JSString_methods.startsWith$1($name, "--"))
  60777. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_Kg6, string$.Sassx20_m, t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  60778. _this.whitespace$1$consumeNewlines(false);
  60779. if (t1.peekChar$0() === 40)
  60780. parameters = _this._parameterList$0();
  60781. else {
  60782. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60783. t3 = t2.offset;
  60784. parameters = new A.ParameterList(B.List_empty12, null, A._FileSpan$(t2.file, t3, t3));
  60785. }
  60786. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  60787. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  60788. else if (_this._inControlDirective)
  60789. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  60790. _this.whitespace$1$consumeNewlines(false);
  60791. _this._stylesheet$_inMixin = true;
  60792. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, parameters, precedingComment));
  60793. },
  60794. mozDocumentRule$2(start, $name) {
  60795. var t1, t2, t3, t4, t5, buffer, _0_0, t6, identifier, _1_0, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {};
  60796. _this.whitespace$1$consumeNewlines(false);
  60797. t1 = _this.scanner;
  60798. t2 = t1._string_scanner$_position;
  60799. t3 = new A.StringBuffer("");
  60800. t4 = A._setArrayType([], type$.JSArray_Object);
  60801. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  60802. buffer = new A.InterpolationBuffer(t3, t4, t5);
  60803. _box_0.needsDeprecationWarning = false;
  60804. for (; true;) {
  60805. if (t1.peekChar$0() === 35) {
  60806. _0_0 = _this.singleInterpolation$0();
  60807. buffer._flushText$0();
  60808. t4.push(_0_0._0);
  60809. t5.push(_0_0._1);
  60810. _box_0.needsDeprecationWarning = true;
  60811. } else {
  60812. t6 = t1._string_scanner$_position;
  60813. identifier = _this.identifier$0();
  60814. $label0$0: {
  60815. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  60816. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  60817. if (_1_0 != null)
  60818. buffer.addInterpolation$1(_1_0);
  60819. else {
  60820. t1.expectChar$1(40);
  60821. _this.whitespace$1$consumeNewlines(false);
  60822. argument = _this.interpolatedString$0();
  60823. t1.expectChar$1(41);
  60824. t3._contents += identifier;
  60825. t6 = A.Primitives_stringFromCharCode(40);
  60826. t3._contents += t6;
  60827. buffer.addInterpolation$1(argument.asInterpolation$0());
  60828. t6 = A.Primitives_stringFromCharCode(41);
  60829. t3._contents += t6;
  60830. }
  60831. t6 = t3._contents;
  60832. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  60833. 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("")'))
  60834. _box_0.needsDeprecationWarning = true;
  60835. break $label0$0;
  60836. }
  60837. if ("regexp" === identifier) {
  60838. t3._contents += "regexp(";
  60839. t1.expectChar$1(40);
  60840. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  60841. t1.expectChar$1(41);
  60842. t6 = A.Primitives_stringFromCharCode(41);
  60843. t3._contents += t6;
  60844. _box_0.needsDeprecationWarning = true;
  60845. break $label0$0;
  60846. }
  60847. endPosition = t1._string_scanner$_position;
  60848. t7 = t1._sourceFile;
  60849. t8 = new A._FileSpan(t7, t6, endPosition);
  60850. t8._FileSpan$3(t7, t6, endPosition);
  60851. _this.error$2(0, "Invalid function name.", t8);
  60852. }
  60853. }
  60854. _this.whitespace$1$consumeNewlines(false);
  60855. if (!t1.scanChar$1(44))
  60856. break;
  60857. t6 = A.Primitives_stringFromCharCode(44);
  60858. t3._contents += t6;
  60859. start0 = t1._string_scanner$_position;
  60860. new A.StylesheetParser_mozDocumentRule_closure(_this).call$0();
  60861. end = t1._string_scanner$_position;
  60862. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  60863. }
  60864. 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)))));
  60865. },
  60866. supportsRule$1(start) {
  60867. var condition, _this = this;
  60868. _this.whitespace$1$consumeNewlines(false);
  60869. condition = _this._supportsCondition$0();
  60870. _this.whitespace$1$consumeNewlines(false);
  60871. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
  60872. },
  60873. _useRule$1(start) {
  60874. var url, namespace, configuration, span, t1, _this = this;
  60875. _this.whitespace$1$consumeNewlines(true);
  60876. url = _this._urlString$0();
  60877. _this.whitespace$1$consumeNewlines(false);
  60878. namespace = _this._useNamespace$2(url, start);
  60879. _this.whitespace$1$consumeNewlines(false);
  60880. configuration = _this._stylesheet$_configuration$0();
  60881. _this.whitespace$1$consumeNewlines(false);
  60882. span = _this.scanner.spanFrom$1(start);
  60883. if (!_this._isUseAllowed)
  60884. _this.error$2(0, string$.x40use_r, span);
  60885. _this.expectStatementSeparator$1("@use rule");
  60886. t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  60887. t1.UseRule$4$configuration(url, namespace, span, configuration);
  60888. return t1;
  60889. },
  60890. _useNamespace$2(url, start) {
  60891. var namespace, basename, dot, t1, exception, _this = this;
  60892. if (_this.scanIdentifier$1("as")) {
  60893. _this.whitespace$1$consumeNewlines(true);
  60894. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  60895. }
  60896. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  60897. dot = B.JSString_methods.indexOf$1(basename, ".");
  60898. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  60899. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  60900. try {
  60901. t1 = new A.Parser(A.SpanScanner$(namespace, null), null)._parseIdentifier$0();
  60902. return t1;
  60903. } catch (exception) {
  60904. if (type$.SassFormatException._is(A.unwrapException(exception)))
  60905. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  60906. else
  60907. throw exception;
  60908. }
  60909. },
  60910. _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
  60911. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  60912. if (!_this.scanIdentifier$1("with"))
  60913. return null;
  60914. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  60915. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
  60916. _this.whitespace$1$consumeNewlines(true);
  60917. t1 = _this.scanner;
  60918. t1.expectChar$1(40);
  60919. for (; true;) {
  60920. _this.whitespace$1$consumeNewlines(true);
  60921. t2 = t1._string_scanner$_position;
  60922. t1.expectChar$1(36);
  60923. $name = _this.identifier$1$normalize(true);
  60924. _this.whitespace$1$consumeNewlines(true);
  60925. t1.expectChar$1(58);
  60926. _this.whitespace$1$consumeNewlines(true);
  60927. expression = _this.expressionUntilComma$0();
  60928. t3 = t1._string_scanner$_position;
  60929. if (allowGuarded && t1.scanChar$1(33)) {
  60930. guarded = _this.identifier$0() === "default";
  60931. if (guarded)
  60932. _this.whitespace$1$consumeNewlines(true);
  60933. else {
  60934. endPosition = t1._string_scanner$_position;
  60935. t4 = t1._sourceFile;
  60936. t5 = new A._FileSpan(t4, t3, endPosition);
  60937. t5._FileSpan$3(t4, t3, endPosition);
  60938. _this.error$2(0, "Invalid flag name.", t5);
  60939. }
  60940. } else
  60941. guarded = false;
  60942. endPosition = t1._string_scanner$_position;
  60943. t3 = t1._sourceFile;
  60944. span = new A._FileSpan(t3, t2, endPosition);
  60945. span._FileSpan$3(t3, t2, endPosition);
  60946. if (variableNames.contains$1(0, $name))
  60947. _this.error$2(0, string$.The_sa, span);
  60948. variableNames.add$1(0, $name);
  60949. configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
  60950. if (!t1.scanChar$1(44))
  60951. break;
  60952. _this.whitespace$1$consumeNewlines(true);
  60953. if (!_this._lookingAtExpression$0())
  60954. break;
  60955. }
  60956. t1.expectChar$1(41);
  60957. return configuration;
  60958. },
  60959. _stylesheet$_configuration$0() {
  60960. return this._stylesheet$_configuration$1$allowGuarded(false);
  60961. },
  60962. _warnRule$1(start) {
  60963. var value, t1, t2, _this = this;
  60964. _this.whitespace$1$consumeNewlines(true);
  60965. value = _this._expression$0();
  60966. t1 = _this.scanner;
  60967. t2 = t1._string_scanner$_position;
  60968. _this.expectStatementSeparator$1("@warn rule");
  60969. return new A.WarnRule(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  60970. },
  60971. _whileRule$2(start, child) {
  60972. var wasInControlDirective, _this = this;
  60973. _this.whitespace$1$consumeNewlines(true);
  60974. wasInControlDirective = _this._inControlDirective;
  60975. _this._inControlDirective = true;
  60976. return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this._expression$0()));
  60977. },
  60978. unknownAtRule$2(start, $name) {
  60979. var t2, t3, rule, _this = this, t1 = {},
  60980. wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
  60981. _this._stylesheet$_inUnknownAtRule = true;
  60982. _this.whitespace$1$consumeNewlines(false);
  60983. t1.value = null;
  60984. t2 = _this.scanner;
  60985. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this._interpolatedDeclarationValue$1$allowOpenBrace(false) : null;
  60986. if (_this.lookingAtChildren$0())
  60987. rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
  60988. else {
  60989. _this.expectStatementSeparator$0();
  60990. rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
  60991. }
  60992. _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
  60993. return rule;
  60994. },
  60995. _disallowedAtRule$1(start) {
  60996. var _this = this;
  60997. _this.whitespace$1$consumeNewlines(false);
  60998. _this._interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(true, false);
  60999. _this.error$2(0, "This at-rule is not allowed here.", _this.scanner.spanFrom$1(start));
  61000. },
  61001. _parameterList$0() {
  61002. var parameters, named, restParameter, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  61003. t1 = _this.scanner,
  61004. t2 = t1._string_scanner$_position;
  61005. t1.expectChar$1(40);
  61006. _this.whitespace$1$consumeNewlines(true);
  61007. parameters = A._setArrayType([], type$.JSArray_Parameter);
  61008. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  61009. for (; restParameter = null, t1.peekChar$0() === 36;) {
  61010. t3 = t1._string_scanner$_position;
  61011. t1.expectChar$1(36);
  61012. $name = _this.identifier$1$normalize(true);
  61013. _this.whitespace$1$consumeNewlines(true);
  61014. if (t1.scanChar$1(58)) {
  61015. _this.whitespace$1$consumeNewlines(true);
  61016. defaultValue = _this.expressionUntilComma$0();
  61017. } else {
  61018. if (t1.scanChar$1(46)) {
  61019. t1.expectChar$1(46);
  61020. t1.expectChar$1(46);
  61021. _this.whitespace$1$consumeNewlines(true);
  61022. if (t1.scanChar$1(44))
  61023. _this.whitespace$1$consumeNewlines(true);
  61024. restParameter = $name;
  61025. break;
  61026. }
  61027. defaultValue = null;
  61028. }
  61029. endPosition = t1._string_scanner$_position;
  61030. t4 = t1._sourceFile;
  61031. t5 = new A._FileSpan(t4, t3, endPosition);
  61032. t5._FileSpan$3(t4, t3, endPosition);
  61033. parameters.push(new A.Parameter($name, defaultValue, t5));
  61034. if (!named.add$1(0, $name))
  61035. _this.error$2(0, "Duplicate parameter.", B.JSArray_methods.get$last(parameters).span);
  61036. if (!t1.scanChar$1(44))
  61037. break;
  61038. _this.whitespace$1$consumeNewlines(true);
  61039. }
  61040. t1.expectChar$1(41);
  61041. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61042. return new A.ParameterList(A.List_List$unmodifiable(parameters, type$.Parameter), restParameter, t1);
  61043. },
  61044. _argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  61045. var positional, t3, t4, named, t5, rest, keywordRest, expression, t6, t7, result, _this = this,
  61046. t1 = _this.scanner,
  61047. t2 = t1._string_scanner$_position;
  61048. t1.expectChar$1(40);
  61049. _this.whitespace$1$consumeNewlines(true);
  61050. positional = A._setArrayType([], type$.JSArray_Expression);
  61051. t3 = type$.String;
  61052. t4 = type$.Expression;
  61053. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  61054. for (t5 = !mixin, rest = null; keywordRest = null, _this._lookingAtExpression$0();) {
  61055. expression = _this.expressionUntilComma$1$singleEquals(t5);
  61056. _this.whitespace$1$consumeNewlines(true);
  61057. if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
  61058. _this.whitespace$1$consumeNewlines(true);
  61059. t6 = expression.name;
  61060. if (named.containsKey$1(t6))
  61061. _this.error$2(0, "Duplicate argument.", expression.span);
  61062. named.$indexSet(0, t6, _this.expressionUntilComma$1$singleEquals(t5));
  61063. } else if (t1.scanChar$1(46)) {
  61064. t1.expectChar$1(46);
  61065. t1.expectChar$1(46);
  61066. if (rest != null) {
  61067. _this.whitespace$1$consumeNewlines(true);
  61068. if (t1.scanChar$1(44))
  61069. _this.whitespace$1$consumeNewlines(true);
  61070. keywordRest = expression;
  61071. break;
  61072. }
  61073. rest = expression;
  61074. } else if (named.__js_helper$_length !== 0)
  61075. _this.error$2(0, string$.Positi, expression.get$span(expression));
  61076. else
  61077. positional.push(expression);
  61078. _this.whitespace$1$consumeNewlines(true);
  61079. if (!t1.scanChar$1(44))
  61080. break;
  61081. _this.whitespace$1$consumeNewlines(true);
  61082. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  61083. t5 = t1._sourceFile;
  61084. t6 = t1._string_scanner$_position;
  61085. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  61086. t7 = new A._FileSpan(t5, t6, t6);
  61087. t7._FileSpan$3(t5, t6, t6);
  61088. result = A.List_List$from([""], false, type$.Object);
  61089. result.$flags = 3;
  61090. positional.push(new A.StringExpression(new A.Interpolation(result, B.List_null, t7), false));
  61091. break;
  61092. }
  61093. }
  61094. t1.expectChar$1(41);
  61095. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61096. return new A.ArgumentList(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  61097. },
  61098. _argumentInvocation$0() {
  61099. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  61100. },
  61101. _argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  61102. return this._argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  61103. },
  61104. _argumentInvocation$1$mixin(mixin) {
  61105. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  61106. },
  61107. _expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, consumeNewlines, singleEquals, until) {
  61108. 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,
  61109. _s20_ = "Expected expression.",
  61110. _box_0 = {},
  61111. t1 = until != null;
  61112. if (t1 && until.call$0())
  61113. _this.scanner.error$1(0, _s20_);
  61114. if (bracketList) {
  61115. t2 = _this.scanner;
  61116. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  61117. t2.expectChar$1(91);
  61118. _this.whitespace$1$consumeNewlines(true);
  61119. if (t2.scanChar$1(93)) {
  61120. t1 = A._setArrayType([], type$.JSArray_Expression);
  61121. t2 = t2.spanFrom$1(beforeBracket);
  61122. return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  61123. }
  61124. } else
  61125. beforeBracket = null;
  61126. t2 = _this.scanner;
  61127. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  61128. wasInExpression = _this._inExpression;
  61129. wasInParentheses = _this._inParentheses;
  61130. _this._inExpression = true;
  61131. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  61132. _box_0.allowSlash = true;
  61133. _box_0.singleExpression_ = _this._singleExpression$0();
  61134. resetState = new A.StylesheetParser__expression_resetState(_box_0, _this, start);
  61135. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation(_box_0, _this);
  61136. resolveOperations = new A.StylesheetParser__expression_resolveOperations(_box_0, resolveOneOperation);
  61137. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
  61138. addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation);
  61139. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
  61140. for (t3 = !consumeNewlines, t4 = type$.JSArray_Expression; true;) {
  61141. _this.whitespace$1$consumeNewlines(!t3 || bracketList);
  61142. if (t1 && until.call$0())
  61143. break;
  61144. _3_0 = t2.peekChar$0();
  61145. if (_3_0 == null)
  61146. break;
  61147. if (40 === _3_0) {
  61148. addSingleExpression.call$1(_this.parentheses$0());
  61149. continue;
  61150. }
  61151. if (91 === _3_0) {
  61152. addSingleExpression.call$1(_this._expression$1$bracketList(true));
  61153. continue;
  61154. }
  61155. if (36 === _3_0) {
  61156. addSingleExpression.call$1(_this._variable$0());
  61157. continue;
  61158. }
  61159. if (38 === _3_0) {
  61160. addSingleExpression.call$1(_this._selector$0());
  61161. continue;
  61162. }
  61163. if (39 === _3_0 || 34 === _3_0) {
  61164. addSingleExpression.call$1(_this.interpolatedString$0());
  61165. continue;
  61166. }
  61167. if (35 === _3_0) {
  61168. addSingleExpression.call$1(_this._hashExpression$0());
  61169. continue;
  61170. }
  61171. if (61 === _3_0) {
  61172. t2.readChar$0();
  61173. if (singleEquals && t2.peekChar$0() !== 61)
  61174. addOperator.call$1(B.BinaryOperator_Kyq);
  61175. else {
  61176. t2.expectChar$1(61);
  61177. addOperator.call$1(B.BinaryOperator_r84);
  61178. }
  61179. continue;
  61180. }
  61181. if (33 === _3_0) {
  61182. $label0$1: {
  61183. _1_0 = t2.peekChar$1(1);
  61184. if (61 === _1_0) {
  61185. t2.readChar$0();
  61186. t2.readChar$0();
  61187. addOperator.call$1(B.BinaryOperator_qGq);
  61188. break $label0$1;
  61189. }
  61190. t5 = true;
  61191. if (_1_0 != null)
  61192. if (105 !== _1_0)
  61193. if (73 !== _1_0)
  61194. t5 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  61195. if (t5) {
  61196. addSingleExpression.call$1(_this._importantExpression$0());
  61197. break $label0$1;
  61198. }
  61199. break;
  61200. }
  61201. continue;
  61202. }
  61203. if (60 === _3_0) {
  61204. t2.readChar$0();
  61205. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_FPG : B.BinaryOperator_qHy);
  61206. continue;
  61207. }
  61208. if (62 === _3_0) {
  61209. t2.readChar$0();
  61210. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_JiR : B.BinaryOperator_o8O);
  61211. continue;
  61212. }
  61213. if (42 === _3_0) {
  61214. t2.readChar$0();
  61215. addOperator.call$1(B.BinaryOperator_tht);
  61216. continue;
  61217. }
  61218. _3_28 = 43 === _3_0;
  61219. if (_3_28 && _box_0.singleExpression_ == null) {
  61220. addSingleExpression.call$1(_this._unaryOperation$0());
  61221. continue;
  61222. }
  61223. if (_3_28) {
  61224. t2.readChar$0();
  61225. addOperator.call$1(B.BinaryOperator_Swh);
  61226. continue;
  61227. }
  61228. if (45 === _3_0) {
  61229. _2_0 = t2.peekChar$1(1);
  61230. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  61231. if (_box_0.singleExpression_ != null) {
  61232. t5 = t2.peekChar$1(-1);
  61233. t5 = t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12;
  61234. } else
  61235. t5 = true;
  61236. else
  61237. t5 = false;
  61238. if (t5)
  61239. addSingleExpression.call$1(_this._number$0());
  61240. else if (_this._lookingAtInterpolatedIdentifier$0())
  61241. addSingleExpression.call$1(_this.identifierLike$0());
  61242. else if (_box_0.singleExpression_ == null)
  61243. addSingleExpression.call$1(_this._unaryOperation$0());
  61244. else {
  61245. t2.readChar$0();
  61246. addOperator.call$1(B.BinaryOperator_QG1);
  61247. }
  61248. continue;
  61249. }
  61250. _3_32 = 47 === _3_0;
  61251. if (_3_32 && _box_0.singleExpression_ == null) {
  61252. addSingleExpression.call$1(_this._unaryOperation$0());
  61253. continue;
  61254. }
  61255. if (_3_32) {
  61256. t2.readChar$0();
  61257. addOperator.call$1(B.BinaryOperator_Mh5);
  61258. continue;
  61259. }
  61260. if (37 === _3_0) {
  61261. t2.readChar$0();
  61262. addOperator.call$1(B.BinaryOperator_s7T);
  61263. continue;
  61264. }
  61265. if (_3_0 >= 48 && _3_0 <= 57) {
  61266. addSingleExpression.call$1(_this._number$0());
  61267. continue;
  61268. }
  61269. _3_40 = 46 === _3_0;
  61270. if (_3_40 && t2.peekChar$1(1) === 46)
  61271. break;
  61272. if (_3_40) {
  61273. addSingleExpression.call$1(_this._number$0());
  61274. continue;
  61275. }
  61276. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  61277. addOperator.call$1(B.BinaryOperator_uke);
  61278. continue;
  61279. }
  61280. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  61281. addOperator.call$1(B.BinaryOperator_tKu);
  61282. continue;
  61283. }
  61284. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  61285. addSingleExpression.call$1(_this._unicodeRange$0());
  61286. continue;
  61287. }
  61288. if (!(_3_0 >= 97 && _3_0 <= 122))
  61289. t5 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  61290. else
  61291. t5 = true;
  61292. if (t5) {
  61293. addSingleExpression.call$1(_this.identifierLike$0());
  61294. continue;
  61295. }
  61296. if (44 === _3_0) {
  61297. if (_this._inParentheses) {
  61298. _this._inParentheses = false;
  61299. if (_box_0.allowSlash) {
  61300. resetState.call$0();
  61301. continue;
  61302. }
  61303. }
  61304. commaExpressions = _box_0.commaExpressions_;
  61305. if (commaExpressions == null)
  61306. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t4);
  61307. if (_box_0.singleExpression_ == null)
  61308. t2.error$1(0, _s20_);
  61309. resolveSpaceExpressions.call$0();
  61310. t5 = _box_0.singleExpression_;
  61311. t5.toString;
  61312. commaExpressions.push(t5);
  61313. t2.readChar$0();
  61314. _box_0.allowSlash = true;
  61315. _box_0.singleExpression_ = null;
  61316. continue;
  61317. }
  61318. break;
  61319. }
  61320. if (bracketList)
  61321. t2.expectChar$1(93);
  61322. commaExpressions = _box_0.commaExpressions_;
  61323. spaceExpressions = _box_0.spaceExpressions_;
  61324. if (commaExpressions != null) {
  61325. resolveSpaceExpressions.call$0();
  61326. _this._inParentheses = wasInParentheses;
  61327. singleExpression = _box_0.singleExpression_;
  61328. if (singleExpression != null)
  61329. commaExpressions.push(singleExpression);
  61330. _this._inExpression = wasInExpression;
  61331. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  61332. return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_qVN, bracketList, t1);
  61333. } else if (bracketList && spaceExpressions != null) {
  61334. resolveOperations.call$0();
  61335. _this._inExpression = wasInExpression;
  61336. t1 = _box_0.singleExpression_;
  61337. t1.toString;
  61338. spaceExpressions.push(t1);
  61339. beforeBracket.toString;
  61340. t2 = t2.spanFrom$1(beforeBracket);
  61341. return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_qSL, true, t2);
  61342. } else {
  61343. resolveSpaceExpressions.call$0();
  61344. if (bracketList) {
  61345. t1 = _box_0.singleExpression_;
  61346. t1.toString;
  61347. t4 = A._setArrayType([t1], t4);
  61348. beforeBracket.toString;
  61349. t2 = t2.spanFrom$1(beforeBracket);
  61350. _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t4, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  61351. }
  61352. _this._inExpression = wasInExpression;
  61353. t1 = _box_0.singleExpression_;
  61354. t1.toString;
  61355. return t1;
  61356. }
  61357. },
  61358. _expression$0() {
  61359. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, false, false, null);
  61360. },
  61361. _expression$1$consumeNewlines(consumeNewlines) {
  61362. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, null);
  61363. },
  61364. _expression$3$consumeNewlines$singleEquals$until(consumeNewlines, singleEquals, until) {
  61365. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, singleEquals, until);
  61366. },
  61367. _expression$1$bracketList(bracketList) {
  61368. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, false, false, null);
  61369. },
  61370. _expression$2$consumeNewlines$until(consumeNewlines, until) {
  61371. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, until);
  61372. },
  61373. expressionUntilComma$1$singleEquals(singleEquals) {
  61374. return this._expression$3$consumeNewlines$singleEquals$until(true, singleEquals, new A.StylesheetParser_expressionUntilComma_closure(this));
  61375. },
  61376. expressionUntilComma$0() {
  61377. return this.expressionUntilComma$1$singleEquals(false);
  61378. },
  61379. _isSlashOperand$1(expression) {
  61380. var t1 = true;
  61381. if (!(expression instanceof A.NumberExpression))
  61382. if (!(expression instanceof A.FunctionExpression))
  61383. t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
  61384. return t1;
  61385. },
  61386. _singleExpression$0() {
  61387. var next, t2, _this = this,
  61388. _s20_ = "Expected expression.",
  61389. t1 = _this.scanner,
  61390. _0_0 = t1.peekChar$0();
  61391. $label0$0: {
  61392. if (_0_0 == null)
  61393. t1.error$1(0, _s20_);
  61394. if (40 === _0_0) {
  61395. t1 = _this.parentheses$0();
  61396. break $label0$0;
  61397. }
  61398. if (47 === _0_0) {
  61399. t1 = _this._unaryOperation$0();
  61400. break $label0$0;
  61401. }
  61402. if (46 === _0_0) {
  61403. t1 = _this._number$0();
  61404. break $label0$0;
  61405. }
  61406. if (91 === _0_0) {
  61407. t1 = _this._expression$1$bracketList(true);
  61408. break $label0$0;
  61409. }
  61410. if (36 === _0_0) {
  61411. t1 = _this._variable$0();
  61412. break $label0$0;
  61413. }
  61414. if (38 === _0_0) {
  61415. t1 = _this._selector$0();
  61416. break $label0$0;
  61417. }
  61418. if (39 === _0_0 || 34 === _0_0) {
  61419. t1 = _this.interpolatedString$0();
  61420. break $label0$0;
  61421. }
  61422. if (35 === _0_0) {
  61423. t1 = _this._hashExpression$0();
  61424. break $label0$0;
  61425. }
  61426. if (43 === _0_0) {
  61427. next = t1.peekChar$1(1);
  61428. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._number$0() : _this._unaryOperation$0();
  61429. break $label0$0;
  61430. }
  61431. if (45 === _0_0) {
  61432. t1 = _this._minusExpression$0();
  61433. break $label0$0;
  61434. }
  61435. if (33 === _0_0) {
  61436. t1 = _this._importantExpression$0();
  61437. break $label0$0;
  61438. }
  61439. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  61440. t1 = _this._unicodeRange$0();
  61441. break $label0$0;
  61442. }
  61443. if (_0_0 >= 48 && _0_0 <= 57) {
  61444. t1 = _this._number$0();
  61445. break $label0$0;
  61446. }
  61447. if (!(_0_0 >= 97 && _0_0 <= 122))
  61448. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  61449. else
  61450. t2 = true;
  61451. if (t2) {
  61452. t1 = _this.identifierLike$0();
  61453. break $label0$0;
  61454. }
  61455. t1 = t1.error$1(0, _s20_);
  61456. }
  61457. return t1;
  61458. },
  61459. parentheses$0() {
  61460. var start, first, expressions, t1, t2, _this = this,
  61461. wasInParentheses = _this._inParentheses;
  61462. _this._inParentheses = true;
  61463. try {
  61464. t1 = _this.scanner;
  61465. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61466. t1.expectChar$1(40);
  61467. _this.whitespace$1$consumeNewlines(true);
  61468. if (!_this._lookingAtExpression$0()) {
  61469. t1.expectChar$1(41);
  61470. t2 = A._setArrayType([], type$.JSArray_Expression);
  61471. t1 = t1.spanFrom$1(start);
  61472. t2 = A.List_List$unmodifiable(t2, type$.Expression);
  61473. return new A.ListExpression(t2, B.ListSeparator_undecided_null_undecided, false, t1);
  61474. }
  61475. first = _this.expressionUntilComma$0();
  61476. if (t1.scanChar$1(58)) {
  61477. _this.whitespace$1$consumeNewlines(true);
  61478. t1 = _this._stylesheet$_map$2(first, start);
  61479. return t1;
  61480. }
  61481. if (!t1.scanChar$1(44)) {
  61482. t1.expectChar$1(41);
  61483. t1 = t1.spanFrom$1(start);
  61484. return new A.ParenthesizedExpression(first, t1);
  61485. }
  61486. _this.whitespace$1$consumeNewlines(true);
  61487. expressions = A._setArrayType([first], type$.JSArray_Expression);
  61488. for (; true;) {
  61489. if (!_this._lookingAtExpression$0())
  61490. break;
  61491. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  61492. if (!t1.scanChar$1(44))
  61493. break;
  61494. _this.whitespace$1$consumeNewlines(true);
  61495. }
  61496. t1.expectChar$1(41);
  61497. t1 = t1.spanFrom$1(start);
  61498. t2 = A.List_List$unmodifiable(expressions, type$.Expression);
  61499. return new A.ListExpression(t2, B.ListSeparator_qVN, false, t1);
  61500. } finally {
  61501. _this._inParentheses = wasInParentheses;
  61502. }
  61503. },
  61504. _stylesheet$_map$2(first, start) {
  61505. var t1, key, _this = this,
  61506. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression);
  61507. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  61508. _this.whitespace$1$consumeNewlines(true);
  61509. if (!_this._lookingAtExpression$0())
  61510. break;
  61511. key = _this.expressionUntilComma$0();
  61512. t1.expectChar$1(58);
  61513. _this.whitespace$1$consumeNewlines(true);
  61514. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  61515. }
  61516. t1.expectChar$1(41);
  61517. t1 = t1.spanFrom$1(start);
  61518. return new A.MapExpression(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression), t1);
  61519. },
  61520. _hashExpression$0() {
  61521. var start, t2, identifier, buffer, t3, _this = this,
  61522. t1 = _this.scanner;
  61523. if (t1.peekChar$1(1) === 123)
  61524. return _this.identifierLike$0();
  61525. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61526. t1.expectChar$1(35);
  61527. t2 = t1.peekChar$0();
  61528. if (t2 == null)
  61529. t2 = null;
  61530. else
  61531. t2 = t2 >= 48 && t2 <= 57;
  61532. if (t2 === true)
  61533. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  61534. t2 = t1._string_scanner$_position;
  61535. identifier = _this.interpolatedIdentifier$0();
  61536. if (_this._isHexColor$1(identifier)) {
  61537. t1.set$state(new A._SpanScannerState(t1, t2));
  61538. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  61539. }
  61540. t2 = new A.StringBuffer("");
  61541. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  61542. t3 = A.Primitives_stringFromCharCode(35);
  61543. t2._contents += t3;
  61544. buffer.addInterpolation$1(identifier);
  61545. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  61546. },
  61547. _hexColorContents$1(start) {
  61548. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  61549. digit1 = _this._hexDigit$0(),
  61550. digit2 = _this._hexDigit$0(),
  61551. digit3 = _this._hexDigit$0(),
  61552. t1 = _this.scanner,
  61553. $self = t1.peekChar$0();
  61554. if (!($self != null && A.CharacterExtension_get_isHex($self))) {
  61555. red = (digit1 << 4 >>> 0) + digit1;
  61556. green = (digit2 << 4 >>> 0) + digit2;
  61557. blue = (digit3 << 4 >>> 0) + digit3;
  61558. alpha = null;
  61559. } else {
  61560. digit4 = _this._hexDigit$0();
  61561. $self = t1.peekChar$0();
  61562. t2 = $self != null && A.CharacterExtension_get_isHex($self);
  61563. t3 = digit1 << 4 >>> 0;
  61564. t4 = digit3 << 4 >>> 0;
  61565. if (!t2) {
  61566. red = t3 + digit1;
  61567. green = (digit2 << 4 >>> 0) + digit2;
  61568. blue = t4 + digit3;
  61569. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  61570. } else {
  61571. red = t3 + digit2;
  61572. green = t4 + digit4;
  61573. blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
  61574. $self = t1.peekChar$0();
  61575. alpha = $self != null && A.CharacterExtension_get_isHex($self) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
  61576. }
  61577. }
  61578. t2 = alpha == null;
  61579. t3 = t2 ? 1 : alpha;
  61580. return A.SassColor_SassColor$rgbInternal(red, green, blue, t3, t2 ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
  61581. },
  61582. _isHexColor$1(interpolation) {
  61583. var _0_2, t1,
  61584. plain = interpolation.get$asPlain();
  61585. if (typeof plain == "string") {
  61586. _0_2 = plain.length;
  61587. t1 = true;
  61588. if (3 !== _0_2)
  61589. if (4 !== _0_2)
  61590. if (6 !== _0_2)
  61591. t1 = 8 === _0_2;
  61592. } else
  61593. t1 = false;
  61594. if (t1) {
  61595. t1 = new A.CodeUnits(plain);
  61596. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure());
  61597. } else
  61598. return false;
  61599. },
  61600. _hexDigit$0() {
  61601. var t1 = this.scanner,
  61602. t2 = t1.peekChar$0();
  61603. t2 = t2 == null ? null : A.CharacterExtension_get_isHex(t2);
  61604. return t2 === true ? A.asHex(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  61605. },
  61606. _minusExpression$0() {
  61607. var _this = this,
  61608. _0_0 = _this.scanner.peekChar$1(1);
  61609. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  61610. return _this._number$0();
  61611. if (_this._lookingAtInterpolatedIdentifier$0())
  61612. return _this.identifierLike$0();
  61613. return _this._unaryOperation$0();
  61614. },
  61615. _importantExpression$0() {
  61616. var t1 = this.scanner,
  61617. t2 = t1._string_scanner$_position;
  61618. t1.readChar$0();
  61619. this.whitespace$1$consumeNewlines(true);
  61620. this.expectIdentifier$1("important");
  61621. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61622. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["!important"], type$.Object), B.List_null, t2), false);
  61623. },
  61624. _unaryOperation$0() {
  61625. var _this = this,
  61626. t1 = _this.scanner,
  61627. t2 = t1._string_scanner$_position,
  61628. operator = _this._unaryOperatorFor$1(t1.readChar$0());
  61629. if (operator == null)
  61630. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  61631. else if (_this.get$plainCss() && operator !== B.UnaryOperator_lZV)
  61632. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  61633. _this.whitespace$1$consumeNewlines(true);
  61634. return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61635. },
  61636. _unaryOperatorFor$1(character) {
  61637. var t1;
  61638. $label0$0: {
  61639. if (43 === character) {
  61640. t1 = B.UnaryOperator_Rbl;
  61641. break $label0$0;
  61642. }
  61643. if (45 === character) {
  61644. t1 = B.UnaryOperator_UCP;
  61645. break $label0$0;
  61646. }
  61647. if (47 === character) {
  61648. t1 = B.UnaryOperator_lZV;
  61649. break $label0$0;
  61650. }
  61651. t1 = null;
  61652. break $label0$0;
  61653. }
  61654. return t1;
  61655. },
  61656. _number$0() {
  61657. var number, unit, _this = this,
  61658. t1 = _this.scanner,
  61659. t2 = t1._string_scanner$_position,
  61660. first = t1.peekChar$0(),
  61661. t3 = first !== 43;
  61662. if (!t3 || first === 45)
  61663. t1.readChar$0();
  61664. if (t1.peekChar$0() !== 46)
  61665. _this._consumeNaturalNumber$0();
  61666. _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  61667. _this._tryExponent$0();
  61668. number = A.double_parse(t1.substring$1(0, t2));
  61669. if (t1.scanChar$1(37))
  61670. unit = "%";
  61671. else {
  61672. if (_this.lookingAtIdentifier$0())
  61673. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  61674. else
  61675. t3 = false;
  61676. unit = t3 ? _this.identifier$1$unit(true) : null;
  61677. }
  61678. return new A.NumberExpression(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61679. },
  61680. _consumeNaturalNumber$0() {
  61681. var $self,
  61682. t1 = this.scanner,
  61683. t2 = t1.readChar$0();
  61684. if (!(t2 >= 48 && t2 <= 57))
  61685. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  61686. while (true) {
  61687. $self = t1.peekChar$0();
  61688. if (!($self != null && $self >= 48 && $self <= 57))
  61689. break;
  61690. t1.readChar$0();
  61691. }
  61692. },
  61693. _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  61694. var $self,
  61695. t1 = this.scanner;
  61696. if (t1.peekChar$0() !== 46)
  61697. return;
  61698. $self = t1.peekChar$1(1);
  61699. if (!($self != null && $self >= 48 && $self <= 57)) {
  61700. if (allowTrailingDot)
  61701. return;
  61702. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  61703. }
  61704. t1.readChar$0();
  61705. while (true) {
  61706. $self = t1.peekChar$0();
  61707. if (!($self != null && $self >= 48 && $self <= 57))
  61708. break;
  61709. t1.readChar$0();
  61710. }
  61711. },
  61712. _tryExponent$0() {
  61713. var next, $self,
  61714. t1 = this.scanner,
  61715. first = t1.peekChar$0();
  61716. if (first !== 101 && first !== 69)
  61717. return;
  61718. next = t1.peekChar$1(1);
  61719. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  61720. return;
  61721. t1.readChar$0();
  61722. if (43 === next || 45 === next)
  61723. t1.readChar$0();
  61724. $self = t1.peekChar$0();
  61725. if (!($self != null && $self >= 48 && $self <= 57))
  61726. t1.error$1(0, "Expected digit.");
  61727. while (true) {
  61728. $self = t1.peekChar$0();
  61729. if (!($self != null && $self >= 48 && $self <= 57))
  61730. break;
  61731. t1.readChar$0();
  61732. }
  61733. },
  61734. _unicodeRange$0() {
  61735. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  61736. _s26_ = "Expected at most 6 digits.",
  61737. t1 = _this.scanner,
  61738. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61739. _this.expectIdentChar$1(117);
  61740. t1.expectChar$1(43);
  61741. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
  61742. ++firstRangeLength;
  61743. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  61744. ++firstRangeLength;
  61745. if (firstRangeLength === 0)
  61746. t1.error$1(0, 'Expected hex digit or "?".');
  61747. else if (firstRangeLength > 6)
  61748. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  61749. else if (hasQuestionMark) {
  61750. t2 = t1.substring$1(0, start.position);
  61751. t1 = t1.spanFrom$1(start);
  61752. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  61753. }
  61754. if (t1.scanChar$1(45)) {
  61755. t2 = t1._string_scanner$_position;
  61756. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
  61757. ++secondRangeLength;
  61758. if (secondRangeLength === 0)
  61759. t1.error$1(0, "Expected hex digit.");
  61760. else if (secondRangeLength > 6)
  61761. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61762. }
  61763. if (_this._lookingAtInterpolatedIdentifierBody$0())
  61764. t1.error$1(0, "Expected end of identifier.");
  61765. t2 = t1.substring$1(0, start.position);
  61766. t1 = t1.spanFrom$1(start);
  61767. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  61768. },
  61769. _variable$0() {
  61770. var _this = this,
  61771. t1 = _this.scanner,
  61772. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  61773. $name = _this.variableName$0();
  61774. if (_this.get$plainCss())
  61775. _this.error$2(0, string$.Sassx20v, t1.spanFrom$1(start));
  61776. return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
  61777. },
  61778. _selector$0() {
  61779. var t1, start, _this = this;
  61780. if (_this.get$plainCss())
  61781. _this.scanner.error$2$length(0, string$.The_pa, 1);
  61782. t1 = _this.scanner;
  61783. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61784. t1.expectChar$1(38);
  61785. if (t1.scanChar$1(38)) {
  61786. _this.warnings.push(new A._Record_3_deprecation_message_span(null, string$.In_Sas, t1.spanFrom$1(start)));
  61787. t1.set$position(t1._string_scanner$_position - 1);
  61788. }
  61789. return new A.SelectorExpression(t1.spanFrom$1(start));
  61790. },
  61791. interpolatedString$0() {
  61792. var t3, t4, t5, buffer, _1_0, second, t6, _0_0,
  61793. t1 = this.scanner,
  61794. t2 = t1._string_scanner$_position,
  61795. quote = t1.readChar$0();
  61796. if (quote !== 39 && quote !== 34)
  61797. t1.error$2$position(0, "Expected string.", t2);
  61798. t3 = new A.StringBuffer("");
  61799. t4 = A._setArrayType([], type$.JSArray_Object);
  61800. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  61801. buffer = new A.InterpolationBuffer(t3, t4, t5);
  61802. for (; true;) {
  61803. _1_0 = t1.peekChar$0();
  61804. if (_1_0 === quote) {
  61805. t1.readChar$0();
  61806. break;
  61807. }
  61808. if (_1_0 == null || _1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  61809. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  61810. if (92 === _1_0) {
  61811. second = t1.peekChar$1(1);
  61812. if (second === 10 || second === 13 || second === 12) {
  61813. t1.readChar$0();
  61814. t1.readChar$0();
  61815. if (second === 13)
  61816. t1.scanChar$1(10);
  61817. } else {
  61818. t6 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  61819. t3._contents += t6;
  61820. }
  61821. continue;
  61822. }
  61823. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  61824. _0_0 = this.singleInterpolation$0();
  61825. buffer._flushText$0();
  61826. t4.push(_0_0._0);
  61827. t5.push(_0_0._1);
  61828. continue;
  61829. }
  61830. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  61831. t3._contents += t6;
  61832. }
  61833. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  61834. },
  61835. identifierLike$0() {
  61836. var invocation, expression, _0_0, t3, t4, t5, _1_0, _2_0, _2_2, _2_4, _this = this,
  61837. t1 = _this.scanner,
  61838. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  61839. identifier = _this.interpolatedIdentifier$0(),
  61840. plain = identifier.get$asPlain(),
  61841. lower = A._Cell$(),
  61842. t2 = plain != null;
  61843. if (t2) {
  61844. if (plain === "if" && t1.peekChar$0() === 40) {
  61845. invocation = _this._argumentInvocation$0();
  61846. return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
  61847. } else if (plain === "not") {
  61848. _this.whitespace$1$consumeNewlines(true);
  61849. expression = _this._singleExpression$0();
  61850. return new A.UnaryOperationExpression(B.UnaryOperator_not_not_not, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  61851. }
  61852. lower.__late_helper$_value = plain.toLowerCase();
  61853. if (t1.peekChar$0() !== 40) {
  61854. switch (plain) {
  61855. case "false":
  61856. return new A.BooleanExpression(false, identifier.span);
  61857. case "null":
  61858. return new A.NullExpression(identifier.span);
  61859. case "true":
  61860. return new A.BooleanExpression(true, identifier.span);
  61861. }
  61862. _0_0 = $.$get$colorsByName().$index(0, lower._readLocal$0());
  61863. if (_0_0 != null) {
  61864. t1 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  61865. t2 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  61866. t3 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  61867. t4 = _0_0.alphaOrNull;
  61868. if (t4 == null)
  61869. t4 = 0;
  61870. t5 = identifier.span;
  61871. return new A.ColorExpression(A.SassColor_SassColor$rgbInternal(t1, t2, t3, t4, new A.SpanColorFormat(t5)), t5);
  61872. }
  61873. }
  61874. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  61875. if (_1_0 != null)
  61876. return _1_0;
  61877. }
  61878. _2_0 = t1.peekChar$0();
  61879. _2_2 = 46 === _2_0;
  61880. if (_2_2 && t1.peekChar$1(1) === 46)
  61881. return new A.StringExpression(identifier, false);
  61882. if (_2_2) {
  61883. t1.readChar$0();
  61884. if (t2)
  61885. return _this.namespacedExpression$2(plain, start);
  61886. _this.error$2(0, string$.Interpn, identifier.span);
  61887. }
  61888. _2_4 = 40 === _2_0;
  61889. if (_2_4 && t2) {
  61890. t2 = _this._argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var"));
  61891. t1 = t1.spanFrom$1(start);
  61892. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, t2, t1);
  61893. }
  61894. if (_2_4)
  61895. return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  61896. return new A.StringExpression(identifier, false);
  61897. },
  61898. namespacedExpression$2(namespace, start) {
  61899. var $name, t2, t3, _this = this,
  61900. t1 = _this.scanner;
  61901. if (t1.peekChar$0() === 36) {
  61902. $name = _this.variableName$0();
  61903. _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
  61904. return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
  61905. }
  61906. t2 = _this._publicIdentifier$0();
  61907. t3 = _this._argumentInvocation$0();
  61908. t1 = t1.spanFrom$1(start);
  61909. return new A.FunctionExpression(namespace, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, t3, t1);
  61910. },
  61911. trySpecialFunction$2($name, start) {
  61912. var t1, buffer, t2, next, t3, _this = this,
  61913. normalized = A.unvendor($name);
  61914. $label0$0: {
  61915. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  61916. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  61917. else
  61918. t1 = true;
  61919. if (t1) {
  61920. t1 = new A.StringBuffer("");
  61921. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  61922. t1._contents = "" + $name;
  61923. t2 = A.Primitives_stringFromCharCode(40);
  61924. t1._contents += t2;
  61925. break $label0$0;
  61926. }
  61927. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  61928. t1 = new A.StringBuffer("");
  61929. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  61930. t1._contents = "" + $name;
  61931. t2 = A.Primitives_stringFromCharCode(58);
  61932. t1._contents += t2;
  61933. t2 = _this.scanner;
  61934. next = t2.peekChar$0();
  61935. while (true) {
  61936. if (next != null) {
  61937. if (!(next >= 97 && next <= 122))
  61938. t3 = next >= 65 && next <= 90;
  61939. else
  61940. t3 = true;
  61941. t3 = t3 || next === 46;
  61942. } else
  61943. t3 = false;
  61944. if (!t3)
  61945. break;
  61946. t3 = A.Primitives_stringFromCharCode(t2.readChar$0());
  61947. t1._contents += t3;
  61948. next = t2.peekChar$0();
  61949. }
  61950. t2.expectChar$1(40);
  61951. t2 = A.Primitives_stringFromCharCode(40);
  61952. t1._contents += t2;
  61953. break $label0$0;
  61954. }
  61955. if ("url" === normalized)
  61956. return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
  61957. return null;
  61958. }
  61959. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
  61960. t1 = _this.scanner;
  61961. t1.expectChar$1(41);
  61962. t2 = buffer._interpolation_buffer$_text;
  61963. t3 = A.Primitives_stringFromCharCode(41);
  61964. t2._contents += t3;
  61965. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  61966. },
  61967. _tryUrlContents$2$name(start, $name) {
  61968. var t3, t4, t5, buffer, t6, _1_0, _1_6, _0_0, endPosition, _this = this,
  61969. t1 = _this.scanner,
  61970. t2 = t1._string_scanner$_position;
  61971. if (!t1.scanChar$1(40))
  61972. return null;
  61973. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  61974. t3 = new A.StringBuffer("");
  61975. t4 = A._setArrayType([], type$.JSArray_Object);
  61976. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  61977. buffer = new A.InterpolationBuffer(t3, t4, t5);
  61978. t3._contents = "" + ($name == null ? "url" : $name);
  61979. t6 = A.Primitives_stringFromCharCode(40);
  61980. t3._contents += t6;
  61981. for (; true;) {
  61982. _1_0 = t1.peekChar$0();
  61983. if (_1_0 == null)
  61984. break;
  61985. if (92 === _1_0) {
  61986. t6 = _this.escape$0();
  61987. t3._contents += t6;
  61988. continue;
  61989. }
  61990. _1_6 = 35 === _1_0;
  61991. if (_1_6 && t1.peekChar$1(1) === 123) {
  61992. _0_0 = _this.singleInterpolation$0();
  61993. buffer._flushText$0();
  61994. t4.push(_0_0._0);
  61995. t5.push(_0_0._1);
  61996. continue;
  61997. }
  61998. t6 = true;
  61999. if (33 !== _1_0)
  62000. if (37 !== _1_0)
  62001. if (38 !== _1_0)
  62002. if (!_1_6)
  62003. t6 = _1_0 >= 42 && _1_0 <= 126 || _1_0 >= 128;
  62004. if (t6) {
  62005. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62006. t3._contents += t6;
  62007. continue;
  62008. }
  62009. if (_1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  62010. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  62011. if (t1.peekChar$0() !== 41)
  62012. break;
  62013. continue;
  62014. }
  62015. if (41 === _1_0) {
  62016. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62017. t3._contents += t2;
  62018. endPosition = t1._string_scanner$_position;
  62019. t2 = t1._sourceFile;
  62020. t3 = start.position;
  62021. t1 = new A._FileSpan(t2, t3, endPosition);
  62022. t1._FileSpan$3(t2, t3, endPosition);
  62023. return buffer.interpolation$1(t1);
  62024. }
  62025. break;
  62026. }
  62027. t1.set$state(new A._SpanScannerState(t1, t2));
  62028. return null;
  62029. },
  62030. _tryUrlContents$1(start) {
  62031. return this._tryUrlContents$2$name(start, null);
  62032. },
  62033. dynamicUrl$0() {
  62034. var _0_0, t2, _this = this,
  62035. t1 = _this.scanner,
  62036. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62037. _this.expectIdentifier$1("url");
  62038. _0_0 = _this._tryUrlContents$1(start);
  62039. if (_0_0 != null)
  62040. return new A.StringExpression(_0_0, false);
  62041. t2 = t1.spanFrom$1(start);
  62042. 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));
  62043. },
  62044. almostAnyValue$1$omitComments(omitComments) {
  62045. var t4, t5, t6, t7, _2_0, t8, _0_0, _0_2, start, end, _0_4, identifier, _1_0, bracket, char, _this = this,
  62046. t1 = _this.scanner,
  62047. t2 = t1._string_scanner$_position,
  62048. t3 = new A.StringBuffer(""),
  62049. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  62050. brackets = A._setArrayType([], type$.JSArray_int);
  62051. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments, t7 = _this.get$loudComment(); true;)
  62052. $label0$0: {
  62053. _2_0 = t1.peekChar$0();
  62054. if (92 === _2_0) {
  62055. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62056. t3._contents += t8;
  62057. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62058. t3._contents += t8;
  62059. break $label0$0;
  62060. }
  62061. if (34 === _2_0 || 39 === _2_0) {
  62062. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  62063. break $label0$0;
  62064. }
  62065. if (47 === _2_0) {
  62066. $label1$1: {
  62067. _0_0 = t1.peekChar$1(1);
  62068. _0_2 = 42 === _0_0;
  62069. if (_0_2 && t6) {
  62070. start = t1._string_scanner$_position;
  62071. t7.call$0();
  62072. end = t1._string_scanner$_position;
  62073. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  62074. break $label1$1;
  62075. }
  62076. if (_0_2) {
  62077. _this.loudComment$0();
  62078. break $label1$1;
  62079. }
  62080. _0_4 = 47 === _0_0;
  62081. if (_0_4 && t6) {
  62082. t8 = _this.get$silentComment();
  62083. start = t1._string_scanner$_position;
  62084. t8.call$0();
  62085. end = t1._string_scanner$_position;
  62086. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  62087. break $label1$1;
  62088. }
  62089. if (_0_4) {
  62090. _this.silentComment$0();
  62091. break $label1$1;
  62092. }
  62093. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62094. t3._contents += t8;
  62095. }
  62096. break $label0$0;
  62097. }
  62098. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  62099. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  62100. break $label0$0;
  62101. }
  62102. if (13 === _2_0 || 10 === _2_0 || 12 === _2_0) {
  62103. if (_this.get$indented() && brackets.length === 0)
  62104. break;
  62105. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62106. t3._contents += t8;
  62107. break $label0$0;
  62108. }
  62109. if (33 === _2_0 || 59 === _2_0 || 123 === _2_0 || 125 === _2_0)
  62110. break;
  62111. if (117 === _2_0 || 85 === _2_0) {
  62112. t8 = t1._string_scanner$_position;
  62113. identifier = _this.identifier$0();
  62114. if (identifier !== "url" && identifier !== "url-prefix") {
  62115. t3._contents += identifier;
  62116. continue;
  62117. }
  62118. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t8), identifier);
  62119. if (_1_0 != null)
  62120. buffer.addInterpolation$1(_1_0);
  62121. else {
  62122. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  62123. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  62124. t1._string_scanner$_position = t8;
  62125. t1._lastMatch = null;
  62126. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62127. t3._contents += t8;
  62128. }
  62129. break $label0$0;
  62130. }
  62131. if (40 === _2_0 || 91 === _2_0) {
  62132. bracket = t1.readChar$0();
  62133. t8 = A.Primitives_stringFromCharCode(bracket);
  62134. t3._contents += t8;
  62135. brackets.push(A.opposite(bracket));
  62136. break $label0$0;
  62137. }
  62138. if (41 === _2_0 || 93 === _2_0) {
  62139. t8 = _2_0 != null;
  62140. char = t8 ? _2_0 : null;
  62141. } else {
  62142. char = null;
  62143. t8 = false;
  62144. }
  62145. if (t8) {
  62146. if (brackets.length === 0)
  62147. t1.error$1(0, 'Unexpected "' + A.Primitives_stringFromCharCode(char) + '".');
  62148. bracket = brackets.pop();
  62149. t1.expectChar$1(bracket);
  62150. t8 = A.Primitives_stringFromCharCode(bracket);
  62151. t3._contents += t8;
  62152. break $label0$0;
  62153. }
  62154. if (_2_0 == null)
  62155. break;
  62156. t8 = _this.lookingAtIdentifier$0();
  62157. if (t8) {
  62158. t8 = _this.identifier$0();
  62159. t3._contents += t8;
  62160. break $label0$0;
  62161. }
  62162. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62163. t3._contents += t8;
  62164. }
  62165. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62166. },
  62167. almostAnyValue$0() {
  62168. return this.almostAnyValue$1$omitComments(false);
  62169. },
  62170. _interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, allowOpenBrace, allowSemicolon, consumeNewlines, silentComments) {
  62171. var t4, t5, t6, t7, t8, t9, t10, wroteNewline, _2_0, wroteNewline0, t11, _0_0, start, end, _2_14_isSet, _2_14, t12, _2_18_isSet, _2_20, _2_18, _2_20_isSet, _2_22, bracket, identifier, _1_0, _this = this, _null = null,
  62172. t1 = _this.scanner,
  62173. t2 = t1._string_scanner$_position,
  62174. t3 = new A.StringBuffer(""),
  62175. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  62176. brackets = A._setArrayType([], type$.JSArray_int);
  62177. for (t4 = !consumeNewlines, t5 = !allowOpenBrace, t6 = t1.string, t7 = t6.length, t8 = !allowColon, t9 = !allowSemicolon, t10 = _this.get$loudComment(), wroteNewline = false; true;)
  62178. $label0$0: {
  62179. _2_0 = t1.peekChar$0();
  62180. wroteNewline0 = false;
  62181. if (92 === _2_0) {
  62182. t11 = _this.escape$1$identifierStart(true);
  62183. t3._contents += t11;
  62184. wroteNewline = wroteNewline0;
  62185. break $label0$0;
  62186. }
  62187. if (34 === _2_0 || 39 === _2_0) {
  62188. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  62189. wroteNewline = wroteNewline0;
  62190. break $label0$0;
  62191. }
  62192. if (47 === _2_0) {
  62193. $label1$1: {
  62194. _0_0 = t1.peekChar$1(1);
  62195. if (42 === _0_0) {
  62196. start = t1._string_scanner$_position;
  62197. t10.call$0();
  62198. end = t1._string_scanner$_position;
  62199. t3._contents += B.JSString_methods.substring$2(t6, start, end);
  62200. break $label1$1;
  62201. }
  62202. if (47 === _0_0 && silentComments) {
  62203. _this.silentComment$0();
  62204. break $label1$1;
  62205. }
  62206. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62207. t3._contents += t11;
  62208. }
  62209. wroteNewline = wroteNewline0;
  62210. break $label0$0;
  62211. }
  62212. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  62213. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  62214. wroteNewline = wroteNewline0;
  62215. break $label0$0;
  62216. }
  62217. _2_14_isSet = 32 !== _2_0;
  62218. if (_2_14_isSet) {
  62219. _2_14 = 9 === _2_0;
  62220. t11 = _2_14;
  62221. } else {
  62222. _2_14 = _null;
  62223. t11 = true;
  62224. }
  62225. t12 = false;
  62226. if (t11)
  62227. if (!wroteNewline) {
  62228. t11 = t1.peekChar$1(1);
  62229. t11 = t11 === 32 || t11 === 9 || t11 === 10 || t11 === 13 || t11 === 12;
  62230. } else
  62231. t11 = t12;
  62232. else
  62233. t11 = t12;
  62234. if (t11) {
  62235. t1.readChar$0();
  62236. break $label0$0;
  62237. }
  62238. if (_2_14_isSet)
  62239. t11 = _2_14;
  62240. else
  62241. t11 = true;
  62242. if (t11) {
  62243. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62244. t3._contents += t11;
  62245. break $label0$0;
  62246. }
  62247. _2_18_isSet = 10 !== _2_0;
  62248. _2_20 = _null;
  62249. t11 = true;
  62250. if (_2_18_isSet) {
  62251. _2_18 = 13 === _2_0;
  62252. _2_20_isSet = !_2_18;
  62253. if (_2_20_isSet) {
  62254. _2_20 = 12 === _2_0;
  62255. t11 = _2_20;
  62256. }
  62257. } else {
  62258. _2_18 = _null;
  62259. _2_20_isSet = false;
  62260. }
  62261. if (t11 && _this.get$indented() && t4 && brackets.length === 0)
  62262. break;
  62263. t11 = true;
  62264. if (_2_18_isSet)
  62265. if (!_2_18)
  62266. t11 = _2_20_isSet ? _2_20 : 12 === _2_0;
  62267. if (t11) {
  62268. t11 = t1.peekChar$1(-1);
  62269. if (!(t11 === 10 || t11 === 13 || t11 === 12))
  62270. t3._contents += "\n";
  62271. t1.readChar$0();
  62272. wroteNewline = true;
  62273. break $label0$0;
  62274. }
  62275. _2_22 = 123 === _2_0;
  62276. if (_2_22 && t5)
  62277. break;
  62278. if (40 !== _2_0)
  62279. t11 = _2_22 || 91 === _2_0;
  62280. else
  62281. t11 = true;
  62282. if (t11) {
  62283. bracket = t1.readChar$0();
  62284. t11 = A.Primitives_stringFromCharCode(bracket);
  62285. t3._contents += t11;
  62286. brackets.push(A.opposite(bracket));
  62287. wroteNewline = wroteNewline0;
  62288. break $label0$0;
  62289. }
  62290. if (41 === _2_0 || 125 === _2_0 || 93 === _2_0) {
  62291. if (brackets.length === 0)
  62292. break;
  62293. bracket = brackets.pop();
  62294. t1.expectChar$1(bracket);
  62295. t11 = A.Primitives_stringFromCharCode(bracket);
  62296. t3._contents += t11;
  62297. wroteNewline = wroteNewline0;
  62298. break $label0$0;
  62299. }
  62300. if (59 === _2_0) {
  62301. if (t9 && brackets.length === 0)
  62302. break;
  62303. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62304. t3._contents += t11;
  62305. wroteNewline = wroteNewline0;
  62306. break $label0$0;
  62307. }
  62308. if (58 === _2_0) {
  62309. if (t8 && brackets.length === 0)
  62310. break;
  62311. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62312. t3._contents += t11;
  62313. wroteNewline = wroteNewline0;
  62314. break $label0$0;
  62315. }
  62316. if (117 === _2_0 || 85 === _2_0) {
  62317. t11 = t1._string_scanner$_position;
  62318. identifier = _this.identifier$0();
  62319. if (identifier !== "url" && identifier !== "url-prefix") {
  62320. t3._contents += identifier;
  62321. wroteNewline = wroteNewline0;
  62322. continue;
  62323. }
  62324. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t11), identifier);
  62325. if (_1_0 != null)
  62326. buffer.addInterpolation$1(_1_0);
  62327. else {
  62328. if ((t11 === 0 ? 1 / t11 < 0 : t11 < 0) || t11 > t7)
  62329. A.throwExpression(A.ArgumentError$("Invalid position " + t11, _null));
  62330. t1._string_scanner$_position = t11;
  62331. t1._lastMatch = null;
  62332. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62333. t3._contents += t11;
  62334. }
  62335. wroteNewline = wroteNewline0;
  62336. break $label0$0;
  62337. }
  62338. if (_2_0 == null)
  62339. break;
  62340. t11 = _this.lookingAtIdentifier$0();
  62341. if (t11) {
  62342. t11 = _this.identifier$0();
  62343. t3._contents += t11;
  62344. wroteNewline = wroteNewline0;
  62345. break $label0$0;
  62346. }
  62347. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62348. t3._contents += t11;
  62349. wroteNewline = wroteNewline0;
  62350. }
  62351. if (brackets.length !== 0)
  62352. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  62353. if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
  62354. t1.error$1(0, "Expected token.");
  62355. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62356. },
  62357. _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  62358. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, false, false, true);
  62359. },
  62360. _interpolatedDeclarationValue$1$allowOpenBrace(allowOpenBrace) {
  62361. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, allowOpenBrace, false, false, true);
  62362. },
  62363. _interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(allowEmpty, allowSemicolon, consumeNewlines) {
  62364. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  62365. },
  62366. _interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(allowColon, allowEmpty, allowSemicolon, consumeNewlines) {
  62367. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  62368. },
  62369. _interpolatedDeclarationValue$0() {
  62370. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, true);
  62371. },
  62372. _interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(allowEmpty, allowOpenBrace) {
  62373. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, allowOpenBrace, false, false, true);
  62374. },
  62375. _interpolatedDeclarationValue$1$silentComments(silentComments) {
  62376. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, silentComments);
  62377. },
  62378. interpolatedIdentifier$0() {
  62379. var t3, _1_0, _0_0, _this = this,
  62380. _s20_ = "Expected identifier.",
  62381. t1 = _this.scanner,
  62382. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  62383. t2 = new A.StringBuffer(""),
  62384. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62385. if (t1.scanChar$1(45)) {
  62386. t3 = A.Primitives_stringFromCharCode(45);
  62387. t2._contents += t3;
  62388. if (t1.scanChar$1(45)) {
  62389. t3 = A.Primitives_stringFromCharCode(45);
  62390. t2._contents += t3;
  62391. _this._interpolatedIdentifierBody$1(buffer);
  62392. return buffer.interpolation$1(t1.spanFrom$1(start));
  62393. }
  62394. }
  62395. $label0$0: {
  62396. _1_0 = t1.peekChar$0();
  62397. if (_1_0 == null)
  62398. t1.error$1(0, _s20_);
  62399. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128) {
  62400. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62401. t2._contents += t3;
  62402. break $label0$0;
  62403. }
  62404. if (92 === _1_0) {
  62405. t3 = _this.escape$1$identifierStart(true);
  62406. t2._contents += t3;
  62407. break $label0$0;
  62408. }
  62409. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  62410. _0_0 = _this.singleInterpolation$0();
  62411. buffer.add$2(0, _0_0._0, _0_0._1);
  62412. break $label0$0;
  62413. }
  62414. t1.error$1(0, _s20_);
  62415. }
  62416. _this._interpolatedIdentifierBody$1(buffer);
  62417. return buffer.interpolation$1(t1.spanFrom$1(start));
  62418. },
  62419. _interpolatedIdentifierBody$1(buffer) {
  62420. var t1, t2, t3, t4, _1_0, t5, _0_0;
  62421. for (t1 = buffer._interpolation_buffer$_contents, t2 = buffer._spans, t3 = this.scanner, t4 = buffer._interpolation_buffer$_text; true;) {
  62422. _1_0 = t3.peekChar$0();
  62423. if (_1_0 == null)
  62424. break;
  62425. t5 = true;
  62426. if (95 !== _1_0)
  62427. if (45 !== _1_0) {
  62428. if (!(_1_0 >= 97 && _1_0 <= 122))
  62429. t5 = _1_0 >= 65 && _1_0 <= 90;
  62430. else
  62431. t5 = true;
  62432. if (!t5)
  62433. t5 = _1_0 >= 48 && _1_0 <= 57;
  62434. else
  62435. t5 = true;
  62436. t5 = t5 || _1_0 >= 128;
  62437. }
  62438. if (t5) {
  62439. t5 = A.Primitives_stringFromCharCode(t3.readChar$0());
  62440. t4._contents += t5;
  62441. continue;
  62442. }
  62443. if (92 === _1_0) {
  62444. t5 = this.escape$0();
  62445. t4._contents += t5;
  62446. continue;
  62447. }
  62448. if (35 === _1_0 && t3.peekChar$1(1) === 123) {
  62449. _0_0 = this.singleInterpolation$0();
  62450. buffer._flushText$0();
  62451. t1.push(_0_0._0);
  62452. t2.push(_0_0._1);
  62453. continue;
  62454. }
  62455. break;
  62456. }
  62457. },
  62458. singleInterpolation$0() {
  62459. var contents, span, _this = this,
  62460. t1 = _this.scanner,
  62461. t2 = t1._string_scanner$_position;
  62462. t1.expect$1("#{");
  62463. _this.whitespace$1$consumeNewlines(true);
  62464. contents = _this._expression$1$consumeNewlines(true);
  62465. t1.expectChar$1(125);
  62466. span = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  62467. if (_this.get$plainCss())
  62468. _this.error$2(0, string$.Interpp, span);
  62469. return new A._Record_2(contents, span);
  62470. },
  62471. _mediaQueryList$0() {
  62472. var t4, _this = this,
  62473. t1 = _this.scanner,
  62474. t2 = t1._string_scanner$_position,
  62475. t3 = new A.StringBuffer(""),
  62476. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62477. for (; true;) {
  62478. _this.whitespace$1$consumeNewlines(false);
  62479. _this._stylesheet$_mediaQuery$1(buffer);
  62480. _this.whitespace$1$consumeNewlines(false);
  62481. if (!t1.scanChar$1(44))
  62482. break;
  62483. t4 = A.Primitives_stringFromCharCode(44);
  62484. t3._contents += t4;
  62485. t4 = A.Primitives_stringFromCharCode(32);
  62486. t3._contents += t4;
  62487. }
  62488. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62489. },
  62490. _stylesheet$_mediaQuery$1(buffer) {
  62491. var identifier1, t1, t2, identifier2, _this = this, _s3_ = "and";
  62492. if (_this.scanner.peekChar$0() === 40) {
  62493. _this._stylesheet$_mediaInParens$1(buffer);
  62494. _this.whitespace$1$consumeNewlines(false);
  62495. if (_this.scanIdentifier$1(_s3_)) {
  62496. buffer._interpolation_buffer$_text._contents += " and ";
  62497. _this.expectWhitespace$0();
  62498. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  62499. } else if (_this.scanIdentifier$1("or")) {
  62500. buffer._interpolation_buffer$_text._contents += " or ";
  62501. _this.expectWhitespace$0();
  62502. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  62503. }
  62504. return;
  62505. }
  62506. identifier1 = _this.interpolatedIdentifier$0();
  62507. if (A.equalsIgnoreCase(identifier1.get$asPlain(), "not")) {
  62508. _this.expectWhitespace$0();
  62509. if (!_this._lookingAtInterpolatedIdentifier$0()) {
  62510. buffer._interpolation_buffer$_text._contents += "not ";
  62511. _this._mediaOrInterp$1(buffer);
  62512. return;
  62513. }
  62514. }
  62515. _this.whitespace$1$consumeNewlines(false);
  62516. buffer.addInterpolation$1(identifier1);
  62517. if (!_this._lookingAtInterpolatedIdentifier$0())
  62518. return;
  62519. t1 = buffer._interpolation_buffer$_text;
  62520. t2 = A.Primitives_stringFromCharCode(32);
  62521. t1._contents += t2;
  62522. identifier2 = _this.interpolatedIdentifier$0();
  62523. if (A.equalsIgnoreCase(identifier2.get$asPlain(), _s3_)) {
  62524. _this.expectWhitespace$0();
  62525. t1._contents += " and ";
  62526. } else {
  62527. _this.whitespace$1$consumeNewlines(false);
  62528. buffer.addInterpolation$1(identifier2);
  62529. if (_this.scanIdentifier$1(_s3_)) {
  62530. _this.expectWhitespace$0();
  62531. t1._contents += " and ";
  62532. } else
  62533. return;
  62534. }
  62535. if (_this.scanIdentifier$1("not")) {
  62536. _this.expectWhitespace$0();
  62537. t1._contents += "not ";
  62538. _this._mediaOrInterp$1(buffer);
  62539. return;
  62540. }
  62541. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  62542. return;
  62543. },
  62544. _stylesheet$_mediaLogicSequence$2(buffer, operator) {
  62545. var t1, t2, _this = this;
  62546. for (t1 = buffer._interpolation_buffer$_text; true;) {
  62547. _this._mediaOrInterp$1(buffer);
  62548. _this.whitespace$1$consumeNewlines(false);
  62549. if (!_this.scanIdentifier$1(operator))
  62550. return;
  62551. _this.expectWhitespace$1$consumeNewlines(false);
  62552. t2 = A.Primitives_stringFromCharCode(32);
  62553. t2 = t1._contents += t2;
  62554. t1._contents = t2 + operator;
  62555. t2 = A.Primitives_stringFromCharCode(32);
  62556. t1._contents += t2;
  62557. }
  62558. },
  62559. _mediaOrInterp$1(buffer) {
  62560. var _0_0;
  62561. if (this.scanner.peekChar$0() === 35) {
  62562. _0_0 = this.singleInterpolation$0();
  62563. buffer.add$2(0, _0_0._0, _0_0._1);
  62564. } else
  62565. this._stylesheet$_mediaInParens$1(buffer);
  62566. },
  62567. _stylesheet$_mediaInParens$1(buffer) {
  62568. var t2, t3, expressionBefore, expressionAfter, next, t4, expressionMiddle, _this = this,
  62569. t1 = _this.scanner;
  62570. t1.expectChar$2$name(40, "media condition in parentheses");
  62571. t2 = buffer._interpolation_buffer$_text;
  62572. t3 = A.Primitives_stringFromCharCode(40);
  62573. t2._contents += t3;
  62574. _this.whitespace$1$consumeNewlines(true);
  62575. if (t1.peekChar$0() === 40) {
  62576. _this._stylesheet$_mediaInParens$1(buffer);
  62577. _this.whitespace$1$consumeNewlines(true);
  62578. if (_this.scanIdentifier$1("and")) {
  62579. t2._contents += " and ";
  62580. _this.expectWhitespace$1$consumeNewlines(true);
  62581. _this._stylesheet$_mediaLogicSequence$2(buffer, "and");
  62582. } else if (_this.scanIdentifier$1("or")) {
  62583. t2._contents += " or ";
  62584. _this.expectWhitespace$1$consumeNewlines(true);
  62585. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  62586. }
  62587. } else if (_this.scanIdentifier$1("not")) {
  62588. t2._contents += "not ";
  62589. _this.expectWhitespace$1$consumeNewlines(true);
  62590. _this._mediaOrInterp$1(buffer);
  62591. } else {
  62592. expressionBefore = _this._expressionUntilComparison$0();
  62593. buffer.add$2(0, expressionBefore, expressionBefore.get$span(expressionBefore));
  62594. if (t1.scanChar$1(58)) {
  62595. _this.whitespace$1$consumeNewlines(true);
  62596. t3 = A.Primitives_stringFromCharCode(58);
  62597. t2._contents += t3;
  62598. t3 = A.Primitives_stringFromCharCode(32);
  62599. t2._contents += t3;
  62600. expressionAfter = _this._expression$1$consumeNewlines(true);
  62601. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  62602. } else {
  62603. next = t1.peekChar$0();
  62604. t3 = 60 !== next;
  62605. if (!t3 || 62 === next || 61 === next) {
  62606. t4 = A.Primitives_stringFromCharCode(32);
  62607. t2._contents += t4;
  62608. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62609. t2._contents += t4;
  62610. if ((!t3 || 62 === next) && t1.scanChar$1(61)) {
  62611. t4 = A.Primitives_stringFromCharCode(61);
  62612. t2._contents += t4;
  62613. }
  62614. t4 = A.Primitives_stringFromCharCode(32);
  62615. t2._contents += t4;
  62616. _this.whitespace$1$consumeNewlines(true);
  62617. expressionMiddle = _this._expressionUntilComparison$0();
  62618. buffer.add$2(0, expressionMiddle, expressionMiddle.get$span(expressionMiddle));
  62619. if (!t3 || 62 === next) {
  62620. next.toString;
  62621. t3 = t1.scanChar$1(next);
  62622. } else
  62623. t3 = false;
  62624. if (t3) {
  62625. t3 = A.Primitives_stringFromCharCode(32);
  62626. t2._contents += t3;
  62627. t3 = A.Primitives_stringFromCharCode(next);
  62628. t2._contents += t3;
  62629. if (t1.scanChar$1(61)) {
  62630. t3 = A.Primitives_stringFromCharCode(61);
  62631. t2._contents += t3;
  62632. }
  62633. t3 = A.Primitives_stringFromCharCode(32);
  62634. t2._contents += t3;
  62635. _this.whitespace$1$consumeNewlines(true);
  62636. expressionAfter = _this._expressionUntilComparison$0();
  62637. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  62638. }
  62639. }
  62640. }
  62641. }
  62642. t1.expectChar$1(41);
  62643. _this.whitespace$1$consumeNewlines(false);
  62644. t1 = A.Primitives_stringFromCharCode(41);
  62645. t2._contents += t1;
  62646. },
  62647. _expressionUntilComparison$0() {
  62648. return this._expression$2$consumeNewlines$until(true, new A.StylesheetParser__expressionUntilComparison_closure(this));
  62649. },
  62650. _supportsCondition$1$inParentheses(inParentheses) {
  62651. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  62652. t1 = _this.scanner,
  62653. t2 = t1._string_scanner$_position;
  62654. if (_this.scanIdentifier$1("not")) {
  62655. _this.whitespace$1$consumeNewlines(inParentheses);
  62656. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62657. }
  62658. condition = _this._supportsConditionInParens$0();
  62659. _this.whitespace$1$consumeNewlines(inParentheses);
  62660. for (operator = null; _this.lookingAtIdentifier$0();) {
  62661. if (operator != null)
  62662. _this.expectIdentifier$1(operator);
  62663. else if (_this.scanIdentifier$1("or"))
  62664. operator = "or";
  62665. else {
  62666. _this.expectIdentifier$1("and");
  62667. operator = "and";
  62668. }
  62669. _this.whitespace$1$consumeNewlines(inParentheses);
  62670. right = _this._supportsConditionInParens$0();
  62671. endPosition = t1._string_scanner$_position;
  62672. t3 = t1._sourceFile;
  62673. t4 = new A._FileSpan(t3, t2, endPosition);
  62674. t4._FileSpan$3(t3, t2, endPosition);
  62675. condition = new A.SupportsOperation(condition, right, operator, t4);
  62676. lowerOperator = operator.toLowerCase();
  62677. if (lowerOperator !== "and" && lowerOperator !== "or")
  62678. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  62679. _this.whitespace$1$consumeNewlines(inParentheses);
  62680. }
  62681. return condition;
  62682. },
  62683. _supportsCondition$0() {
  62684. return this._supportsCondition$1$inParentheses(false);
  62685. },
  62686. _supportsConditionInParens$0() {
  62687. var $name, nameStart, wasInParentheses, identifier, _1_0, operation, contents, identifier0, t2, $arguments, _0_0, _0_4_isSet, _0_4, _0_40, condition, exception, value, _this = this,
  62688. t1 = _this.scanner,
  62689. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62690. if (_this._lookingAtInterpolatedIdentifier$0()) {
  62691. identifier0 = _this.interpolatedIdentifier$0();
  62692. t2 = identifier0.get$asPlain();
  62693. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  62694. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  62695. if (t1.scanChar$1(40)) {
  62696. $arguments = _this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  62697. t1.expectChar$1(41);
  62698. return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
  62699. } else {
  62700. _0_0 = identifier0.contents;
  62701. _0_4_isSet = _0_0.length === 1;
  62702. if (_0_4_isSet) {
  62703. _0_4 = _0_0[0];
  62704. _0_40 = _0_4;
  62705. t2 = _0_4 instanceof A.Expression;
  62706. _0_4 = _0_40;
  62707. } else {
  62708. _0_4 = null;
  62709. t2 = false;
  62710. }
  62711. if (t2) {
  62712. t2 = _0_4_isSet ? _0_4 : _0_0[0];
  62713. return new A.SupportsInterpolation(type$.Expression._as(t2), t1.spanFrom$1(start));
  62714. } else
  62715. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  62716. }
  62717. }
  62718. t1.expectChar$1(40);
  62719. _this.whitespace$1$consumeNewlines(true);
  62720. if (_this.scanIdentifier$1("not")) {
  62721. _this.whitespace$1$consumeNewlines(true);
  62722. condition = _this._supportsConditionInParens$0();
  62723. t1.expectChar$1(41);
  62724. return new A.SupportsNegation(condition, t1.spanFrom$1(start));
  62725. } else if (t1.peekChar$0() === 40) {
  62726. condition = _this._supportsCondition$1$inParentheses(true);
  62727. t1.expectChar$1(41);
  62728. return condition.withSpan$1(t1.spanFrom$1(start));
  62729. }
  62730. $name = null;
  62731. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62732. wasInParentheses = _this._inParentheses;
  62733. try {
  62734. $name = _this._expression$1$consumeNewlines(true);
  62735. t1.expectChar$1(58);
  62736. } catch (exception) {
  62737. if (type$.FormatException._is(A.unwrapException(exception))) {
  62738. t1.set$state(nameStart);
  62739. _this._inParentheses = wasInParentheses;
  62740. identifier = _this.interpolatedIdentifier$0();
  62741. _1_0 = _this._trySupportsOperation$2(identifier, nameStart);
  62742. operation = null;
  62743. if (_1_0 != null) {
  62744. operation = _1_0;
  62745. t1.expectChar$1(41);
  62746. t2 = operation;
  62747. t1 = t1.spanFrom$1(start);
  62748. return A.SupportsOperation$(t2.left, t2.right, t2.operator, t1);
  62749. }
  62750. t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62751. t2.addInterpolation$1(identifier);
  62752. t2.addInterpolation$1(_this._interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(false, true, true, true));
  62753. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  62754. if (t1.peekChar$0() === 58)
  62755. throw exception;
  62756. t1.expectChar$1(41);
  62757. return new A.SupportsAnything(contents, t1.spanFrom$1(start));
  62758. } else
  62759. throw exception;
  62760. }
  62761. value = _this._supportsDeclarationValue$1($name);
  62762. t1.expectChar$1(41);
  62763. return new A.SupportsDeclaration($name, value, t1.spanFrom$1(start));
  62764. },
  62765. _supportsDeclarationValue$1($name) {
  62766. var t1 = false;
  62767. if ($name instanceof A.StringExpression)
  62768. if (!$name.hasQuotes)
  62769. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  62770. if (t1)
  62771. return new A.StringExpression(this._interpolatedDeclarationValue$0(), false);
  62772. else {
  62773. this.whitespace$1$consumeNewlines(true);
  62774. return this._expression$1$consumeNewlines(true);
  62775. }
  62776. },
  62777. _trySupportsOperation$2(interpolation, start) {
  62778. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  62779. t1 = interpolation.contents;
  62780. if (t1.length !== 1)
  62781. return _null;
  62782. expression = B.JSArray_methods.get$first(t1);
  62783. if (!(expression instanceof A.Expression))
  62784. return _null;
  62785. t1 = _this.scanner;
  62786. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62787. _this.whitespace$1$consumeNewlines(true);
  62788. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  62789. if (operator != null)
  62790. _this.expectIdentifier$1(operator);
  62791. else if (_this.scanIdentifier$1("and"))
  62792. operator = "and";
  62793. else {
  62794. if (!_this.scanIdentifier$1("or")) {
  62795. if (beforeWhitespace._scanner !== t1)
  62796. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  62797. t2 = beforeWhitespace.position;
  62798. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  62799. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  62800. t1._string_scanner$_position = t2;
  62801. return t1._lastMatch = null;
  62802. }
  62803. operator = "or";
  62804. }
  62805. _this.whitespace$1$consumeNewlines(true);
  62806. right = _this._supportsConditionInParens$0();
  62807. t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
  62808. endPosition = t1._string_scanner$_position;
  62809. t5 = t1._sourceFile;
  62810. t6 = new A._FileSpan(t5, t2, endPosition);
  62811. t6._FileSpan$3(t5, t2, endPosition);
  62812. operation = new A.SupportsOperation(t4, right, operator, t6);
  62813. lowerOperator = operator.toLowerCase();
  62814. if (lowerOperator !== "and" && lowerOperator !== "or")
  62815. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  62816. _this.whitespace$1$consumeNewlines(true);
  62817. }
  62818. return operation;
  62819. },
  62820. _lookingAtInterpolatedIdentifier$0() {
  62821. var t2, _0_0,
  62822. t1 = this.scanner,
  62823. _1_0 = t1.peekChar$0();
  62824. $label0$0: {
  62825. t2 = false;
  62826. if (_1_0 == null) {
  62827. t1 = t2;
  62828. break $label0$0;
  62829. }
  62830. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  62831. t1 = true;
  62832. break $label0$0;
  62833. }
  62834. if (35 === _1_0) {
  62835. t1 = t1.peekChar$1(1) === 123;
  62836. break $label0$0;
  62837. }
  62838. if (45 === _1_0) {
  62839. _0_0 = t1.peekChar$1(1);
  62840. $label1$1: {
  62841. if (_0_0 == null) {
  62842. t1 = t2;
  62843. break $label1$1;
  62844. }
  62845. if (35 === _0_0) {
  62846. t1 = t1.peekChar$1(2) === 123;
  62847. break $label1$1;
  62848. }
  62849. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  62850. t1 = true;
  62851. break $label1$1;
  62852. }
  62853. t1 = t2;
  62854. break $label1$1;
  62855. }
  62856. break $label0$0;
  62857. }
  62858. t1 = t2;
  62859. break $label0$0;
  62860. }
  62861. return t1;
  62862. },
  62863. _lookingAtPotentialPropertyHack$0() {
  62864. var t1 = this.scanner,
  62865. _0_0 = t1.peekChar$0();
  62866. $label0$0: {
  62867. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  62868. t1 = true;
  62869. break $label0$0;
  62870. }
  62871. if (35 === _0_0) {
  62872. t1 = t1.peekChar$1(1) !== 123;
  62873. break $label0$0;
  62874. }
  62875. t1 = false;
  62876. break $label0$0;
  62877. }
  62878. return t1;
  62879. },
  62880. _lookingAtInterpolatedIdentifierBody$0() {
  62881. var t2, t3,
  62882. t1 = this.scanner,
  62883. _0_0 = t1.peekChar$0();
  62884. $label0$0: {
  62885. t2 = false;
  62886. if (_0_0 == null) {
  62887. t1 = t2;
  62888. break $label0$0;
  62889. }
  62890. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128))
  62891. t3 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  62892. else
  62893. t3 = true;
  62894. if (t3 || 92 === _0_0) {
  62895. t1 = true;
  62896. break $label0$0;
  62897. }
  62898. if (35 === _0_0) {
  62899. t1 = t1.peekChar$1(1) === 123;
  62900. break $label0$0;
  62901. }
  62902. t1 = t2;
  62903. break $label0$0;
  62904. }
  62905. return t1;
  62906. },
  62907. _lookingAtExpression$0() {
  62908. var t2, _0_0,
  62909. t1 = this.scanner,
  62910. _1_0 = t1.peekChar$0();
  62911. $label0$0: {
  62912. t2 = true;
  62913. if (_1_0 == null) {
  62914. t1 = false;
  62915. break $label0$0;
  62916. }
  62917. if (46 === _1_0) {
  62918. t1 = t1.peekChar$1(1) !== 46;
  62919. break $label0$0;
  62920. }
  62921. if (33 === _1_0) {
  62922. _0_0 = t1.peekChar$1(1);
  62923. $label1$1: {
  62924. if (_0_0 != null)
  62925. if (105 !== _0_0)
  62926. if (73 !== _0_0)
  62927. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  62928. else
  62929. t1 = t2;
  62930. else
  62931. t1 = t2;
  62932. else
  62933. t1 = t2;
  62934. if (t1)
  62935. break $label1$1;
  62936. break $label1$1;
  62937. }
  62938. break $label0$0;
  62939. }
  62940. t1 = true;
  62941. if (40 !== _1_0)
  62942. if (47 !== _1_0)
  62943. if (91 !== _1_0)
  62944. if (39 !== _1_0)
  62945. if (34 !== _1_0)
  62946. if (35 !== _1_0)
  62947. if (43 !== _1_0)
  62948. if (45 !== _1_0)
  62949. if (92 !== _1_0)
  62950. if (36 !== _1_0)
  62951. if (38 !== _1_0)
  62952. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128))
  62953. t1 = _1_0 >= 48 && _1_0 <= 57;
  62954. if (t1) {
  62955. t1 = t2;
  62956. break $label0$0;
  62957. }
  62958. t1 = false;
  62959. break $label0$0;
  62960. }
  62961. return t1;
  62962. },
  62963. _withChildren$1$3(child, start, create) {
  62964. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  62965. this.whitespaceWithoutComments$1$consumeNewlines(false);
  62966. return result;
  62967. },
  62968. _withChildren$3(child, start, create) {
  62969. return this._withChildren$1$3(child, start, create, type$.dynamic);
  62970. },
  62971. _urlString$0() {
  62972. var innerError, stackTrace, t2, exception,
  62973. t1 = this.scanner,
  62974. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  62975. url = this.string$0();
  62976. try {
  62977. t2 = A.Uri_parse(url);
  62978. return t2;
  62979. } catch (exception) {
  62980. t2 = A.unwrapException(exception);
  62981. if (type$.FormatException._is(t2)) {
  62982. innerError = t2;
  62983. stackTrace = A.getTraceFromException(exception);
  62984. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  62985. } else
  62986. throw exception;
  62987. }
  62988. },
  62989. _publicIdentifier$0() {
  62990. var _this = this,
  62991. t1 = _this.scanner,
  62992. t2 = t1._string_scanner$_position,
  62993. result = _this.identifier$0();
  62994. _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
  62995. return result;
  62996. },
  62997. _assertPublic$2(identifier, span) {
  62998. var first = identifier.charCodeAt(0);
  62999. if (!(first === 45 || first === 95))
  63000. return;
  63001. this.error$2(0, string$.Privat, span.call$0());
  63002. },
  63003. _addOrInject$2(buffer, expression) {
  63004. if (expression instanceof A.StringExpression && !expression.hasQuotes)
  63005. buffer.addInterpolation$1(expression.text);
  63006. else
  63007. buffer.add$2(0, expression, expression.get$span(expression));
  63008. },
  63009. get$plainCss() {
  63010. return false;
  63011. }
  63012. };
  63013. A.StylesheetParser_parse_closure.prototype = {
  63014. call$0() {
  63015. var statements,
  63016. t1 = this.$this,
  63017. t2 = t1.scanner,
  63018. t3 = t2._string_scanner$_position;
  63019. t2.scanChar$1(65279);
  63020. statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
  63021. t2.expectDone$0();
  63022. return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.warnings, t1._globalVariables, t1.get$plainCss());
  63023. },
  63024. $signature: 506
  63025. };
  63026. A.StylesheetParser_parse__closure.prototype = {
  63027. call$0() {
  63028. var t1 = this.$this;
  63029. if (t1.scanner.scan$1("@charset")) {
  63030. t1.whitespace$1$consumeNewlines(false);
  63031. t1.string$0();
  63032. return null;
  63033. }
  63034. return t1._statement$1$root(true);
  63035. },
  63036. $signature: 486
  63037. };
  63038. A.StylesheetParser_parseParameterList_closure.prototype = {
  63039. call$0() {
  63040. var parameters,
  63041. t1 = this.$this,
  63042. t2 = t1.scanner;
  63043. t2.expectChar$2$name(64, "@-rule");
  63044. t1.identifier$0();
  63045. t1.whitespace$1$consumeNewlines(true);
  63046. t1.identifier$0();
  63047. parameters = t1._parameterList$0();
  63048. t1.whitespace$1$consumeNewlines(true);
  63049. t2.expectChar$1(123);
  63050. return parameters;
  63051. },
  63052. $signature: 485
  63053. };
  63054. A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
  63055. call$0() {
  63056. var t1 = this.$this;
  63057. return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
  63058. },
  63059. $signature: 479
  63060. };
  63061. A.StylesheetParser_parseUseRule_closure.prototype = {
  63062. call$0() {
  63063. var t1 = this.$this,
  63064. t2 = t1.scanner,
  63065. t3 = t2._string_scanner$_position;
  63066. t2.expectChar$2$name(64, "@-rule");
  63067. t1.expectIdentifier$1("use");
  63068. t1.whitespace$1$consumeNewlines(true);
  63069. return t1._useRule$1(new A._SpanScannerState(t2, t3));
  63070. },
  63071. $signature: 467
  63072. };
  63073. A.StylesheetParser__parseSingleProduction_closure.prototype = {
  63074. call$0() {
  63075. var result = this.production.call$0();
  63076. this.$this.scanner.expectDone$0();
  63077. return result;
  63078. },
  63079. $signature() {
  63080. return this.T._eval$1("0()");
  63081. }
  63082. };
  63083. A.StylesheetParser__statement_closure.prototype = {
  63084. call$0() {
  63085. return this.$this._statement$0();
  63086. },
  63087. $signature: 121
  63088. };
  63089. A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
  63090. call$0() {
  63091. return this.$this.scanner.spanFrom$1(this.start);
  63092. },
  63093. $signature: 27
  63094. };
  63095. A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
  63096. call$0() {
  63097. return this.declaration.span;
  63098. },
  63099. $signature: 27
  63100. };
  63101. A.StylesheetParser__declarationOrBuffer_closure.prototype = {
  63102. call$0() {
  63103. return this.$this.whitespace$1$consumeNewlines(false);
  63104. },
  63105. $signature: 0
  63106. };
  63107. A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
  63108. call$0() {
  63109. return this.$this.whitespace$1$consumeNewlines(false);
  63110. },
  63111. $signature: 0
  63112. };
  63113. A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
  63114. call$0() {
  63115. return this.$this.whitespace$1$consumeNewlines(false);
  63116. },
  63117. $signature: 0
  63118. };
  63119. A.StylesheetParser__styleRule_closure.prototype = {
  63120. call$2(children, span) {
  63121. var _this = this,
  63122. t1 = _this.$this;
  63123. if (t1.get$indented() && children.length === 0)
  63124. t1.warnings.push(new A._Record_3_deprecation_message_span(null, string$.This_s, _this._box_0.interpolation.span));
  63125. t1._inStyleRule = _this.wasInStyleRule;
  63126. return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  63127. },
  63128. $signature: 466
  63129. };
  63130. A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
  63131. call$0() {
  63132. return this.$this.whitespace$1$consumeNewlines(false);
  63133. },
  63134. $signature: 0
  63135. };
  63136. A.StylesheetParser__tryDeclarationChildren_closure.prototype = {
  63137. call$2(children, span) {
  63138. return A.Declaration$nested(this.name, children, span, this.value);
  63139. },
  63140. $signature: 462
  63141. };
  63142. A.StylesheetParser__atRootRule_closure.prototype = {
  63143. call$2(children, span) {
  63144. return A.AtRootRule$(children, span, this.query);
  63145. },
  63146. $signature: 159
  63147. };
  63148. A.StylesheetParser__atRootRule_closure0.prototype = {
  63149. call$2(children, span) {
  63150. return A.AtRootRule$(children, span, null);
  63151. },
  63152. $signature: 159
  63153. };
  63154. A.StylesheetParser__eachRule_closure.prototype = {
  63155. call$2(children, span) {
  63156. var _this = this;
  63157. _this.$this._inControlDirective = _this.wasInControlDirective;
  63158. return A.EachRule$(_this.variables, _this.list, children, span);
  63159. },
  63160. $signature: 458
  63161. };
  63162. A.StylesheetParser__functionRule_closure.prototype = {
  63163. call$2(children, span) {
  63164. return A.FunctionRule$(this.name, this.parameters, children, span, this.precedingComment);
  63165. },
  63166. $signature: 455
  63167. };
  63168. A.StylesheetParser__forRule_closure.prototype = {
  63169. call$0() {
  63170. var t1 = this.$this;
  63171. if (!t1.lookingAtIdentifier$0())
  63172. return false;
  63173. if (t1.scanIdentifier$1("to"))
  63174. return this._box_0.exclusive = true;
  63175. else if (t1.scanIdentifier$1("through")) {
  63176. this._box_0.exclusive = false;
  63177. return true;
  63178. } else
  63179. return false;
  63180. },
  63181. $signature: 21
  63182. };
  63183. A.StylesheetParser__forRule_closure0.prototype = {
  63184. call$2(children, span) {
  63185. var t1, _this = this;
  63186. _this.$this._inControlDirective = _this.wasInControlDirective;
  63187. t1 = _this._box_0.exclusive;
  63188. t1.toString;
  63189. return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
  63190. },
  63191. $signature: 450
  63192. };
  63193. A.StylesheetParser__memberList_closure.prototype = {
  63194. call$0() {
  63195. var t1 = this.$this;
  63196. if (t1.scanner.peekChar$0() === 36)
  63197. this.variables.add$1(0, t1.variableName$0());
  63198. else
  63199. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  63200. },
  63201. $signature: 1
  63202. };
  63203. A.StylesheetParser__includeRule_closure.prototype = {
  63204. call$2(children, span) {
  63205. return A.ContentBlock$(this.contentParameters_, children, span);
  63206. },
  63207. $signature: 446
  63208. };
  63209. A.StylesheetParser_mediaRule_closure.prototype = {
  63210. call$2(children, span) {
  63211. return A.MediaRule$(this.query, children, span);
  63212. },
  63213. $signature: 443
  63214. };
  63215. A.StylesheetParser__mixinRule_closure.prototype = {
  63216. call$2(children, span) {
  63217. var _this = this;
  63218. _this.$this._stylesheet$_inMixin = false;
  63219. return A.MixinRule$(_this.name, _this.parameters, children, span, _this.precedingComment);
  63220. },
  63221. $signature: 442
  63222. };
  63223. A.StylesheetParser_mozDocumentRule_closure.prototype = {
  63224. call$0() {
  63225. return this.$this.whitespace$1$consumeNewlines(false);
  63226. },
  63227. $signature: 0
  63228. };
  63229. A.StylesheetParser_mozDocumentRule_closure0.prototype = {
  63230. call$2(children, span) {
  63231. var _this = this;
  63232. if (_this._box_0.needsDeprecationWarning)
  63233. _this.$this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_89v, string$.x40_moz_, span));
  63234. return A.AtRule$(_this.name, span, children, _this.value);
  63235. },
  63236. $signature: 160
  63237. };
  63238. A.StylesheetParser_supportsRule_closure.prototype = {
  63239. call$2(children, span) {
  63240. return A.SupportsRule$(this.condition, children, span);
  63241. },
  63242. $signature: 439
  63243. };
  63244. A.StylesheetParser__whileRule_closure.prototype = {
  63245. call$2(children, span) {
  63246. this.$this._inControlDirective = this.wasInControlDirective;
  63247. return A.WhileRule$(this.condition, children, span);
  63248. },
  63249. $signature: 438
  63250. };
  63251. A.StylesheetParser_unknownAtRule_closure.prototype = {
  63252. call$2(children, span) {
  63253. return A.AtRule$(this.name, span, children, this._box_0.value);
  63254. },
  63255. $signature: 160
  63256. };
  63257. A.StylesheetParser__expression_resetState.prototype = {
  63258. call$0() {
  63259. var t2,
  63260. t1 = this._box_0;
  63261. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  63262. t2 = this.$this;
  63263. t2.scanner.set$state(this.start);
  63264. t1.allowSlash = true;
  63265. t1.singleExpression_ = t2._singleExpression$0();
  63266. },
  63267. $signature: 0
  63268. };
  63269. A.StylesheetParser__expression_resolveOneOperation.prototype = {
  63270. call$0() {
  63271. var t2, t3, t4, t5, t6, t7, _this = this,
  63272. t1 = _this._box_0,
  63273. operator = t1.operators_.pop(),
  63274. left = t1.operands_.pop(),
  63275. right = t1.singleExpression_;
  63276. if (right == null) {
  63277. t2 = _this.$this.scanner;
  63278. t3 = operator.operator.length;
  63279. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  63280. }
  63281. if (t1.allowSlash) {
  63282. t2 = _this.$this;
  63283. t2 = !t2._inParentheses && operator === B.BinaryOperator_Mh5 && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
  63284. } else
  63285. t2 = false;
  63286. if (t2)
  63287. t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_Mh5, left, right, true);
  63288. else {
  63289. t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
  63290. t2 = t1.allowSlash = false;
  63291. if (B.BinaryOperator_Swh === operator || B.BinaryOperator_QG1 === operator) {
  63292. t3 = _this.$this;
  63293. t4 = t3.scanner.string;
  63294. t5 = right.get$span(right);
  63295. t5 = t5.get$start(t5);
  63296. t6 = right.get$span(right);
  63297. t7 = operator.operator;
  63298. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  63299. t2 = left.get$span(left);
  63300. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  63301. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  63302. }
  63303. if (t2) {
  63304. t2 = left.toString$0(0);
  63305. t4 = right.toString$0(0);
  63306. t5 = left.toString$0(0);
  63307. t6 = right.toString$0(0);
  63308. t1 = t1.singleExpression_;
  63309. 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)));
  63310. }
  63311. }
  63312. }
  63313. },
  63314. $signature: 0
  63315. };
  63316. A.StylesheetParser__expression_resolveOperations.prototype = {
  63317. call$0() {
  63318. var t1,
  63319. operators = this._box_0.operators_;
  63320. if (operators == null)
  63321. return;
  63322. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  63323. t1.call$0();
  63324. },
  63325. $signature: 0
  63326. };
  63327. A.StylesheetParser__expression_addSingleExpression.prototype = {
  63328. call$1(expression) {
  63329. var t2, spaceExpressions, _this = this,
  63330. t1 = _this._box_0;
  63331. if (t1.singleExpression_ != null) {
  63332. t2 = _this.$this;
  63333. if (t2._inParentheses) {
  63334. t2._inParentheses = false;
  63335. if (t1.allowSlash) {
  63336. _this.resetState.call$0();
  63337. return;
  63338. }
  63339. }
  63340. spaceExpressions = t1.spaceExpressions_;
  63341. if (spaceExpressions == null)
  63342. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
  63343. _this.resolveOperations.call$0();
  63344. t2 = t1.singleExpression_;
  63345. t2.toString;
  63346. spaceExpressions.push(t2);
  63347. t1.allowSlash = true;
  63348. }
  63349. t1.singleExpression_ = expression;
  63350. },
  63351. $signature: 423
  63352. };
  63353. A.StylesheetParser__expression_addOperator.prototype = {
  63354. call$1(operator) {
  63355. var t2, t3, operators, operands, t4, singleExpression,
  63356. t1 = this.$this;
  63357. if (t1.get$plainCss() && operator !== B.BinaryOperator_Kyq && operator !== B.BinaryOperator_Swh && operator !== B.BinaryOperator_QG1 && operator !== B.BinaryOperator_tht && operator !== B.BinaryOperator_Mh5) {
  63358. t2 = t1.scanner;
  63359. t3 = operator.operator.length;
  63360. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  63361. }
  63362. t2 = this._box_0;
  63363. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_Mh5;
  63364. operators = t2.operators_;
  63365. if (operators == null)
  63366. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
  63367. operands = t2.operands_;
  63368. if (operands == null)
  63369. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
  63370. t3 = this.resolveOneOperation;
  63371. t4 = operator.precedence;
  63372. while (true) {
  63373. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  63374. break;
  63375. t3.call$0();
  63376. }
  63377. operators.push(operator);
  63378. singleExpression = t2.singleExpression_;
  63379. if (singleExpression == null) {
  63380. t3 = t1.scanner;
  63381. t4 = operator.operator.length;
  63382. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  63383. }
  63384. operands.push(singleExpression);
  63385. t1.whitespace$1$consumeNewlines(true);
  63386. t2.singleExpression_ = t1._singleExpression$0();
  63387. },
  63388. $signature: 421
  63389. };
  63390. A.StylesheetParser__expression_resolveSpaceExpressions.prototype = {
  63391. call$0() {
  63392. var t1, spaceExpressions, singleExpression, t2;
  63393. this.resolveOperations.call$0();
  63394. t1 = this._box_0;
  63395. spaceExpressions = t1.spaceExpressions_;
  63396. if (spaceExpressions == null)
  63397. return;
  63398. singleExpression = t1.singleExpression_;
  63399. if (singleExpression == null)
  63400. this.$this.scanner.error$1(0, "Expected expression.");
  63401. spaceExpressions.push(singleExpression);
  63402. t2 = B.JSArray_methods.get$first(spaceExpressions);
  63403. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  63404. t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_qSL, false, t2);
  63405. t1.spaceExpressions_ = null;
  63406. },
  63407. $signature: 0
  63408. };
  63409. A.StylesheetParser_expressionUntilComma_closure.prototype = {
  63410. call$0() {
  63411. return this.$this.scanner.peekChar$0() === 44;
  63412. },
  63413. $signature: 21
  63414. };
  63415. A.StylesheetParser__isHexColor_closure.prototype = {
  63416. call$1(char) {
  63417. return A.CharacterExtension_get_isHex(char);
  63418. },
  63419. $signature: 48
  63420. };
  63421. A.StylesheetParser__unicodeRange_closure.prototype = {
  63422. call$1(char) {
  63423. return char != null && A.CharacterExtension_get_isHex(char);
  63424. },
  63425. $signature: 30
  63426. };
  63427. A.StylesheetParser__unicodeRange_closure0.prototype = {
  63428. call$1(char) {
  63429. return char != null && A.CharacterExtension_get_isHex(char);
  63430. },
  63431. $signature: 30
  63432. };
  63433. A.StylesheetParser_namespacedExpression_closure.prototype = {
  63434. call$0() {
  63435. return this.$this.scanner.spanFrom$1(this.start);
  63436. },
  63437. $signature: 27
  63438. };
  63439. A.StylesheetParser_trySpecialFunction_closure.prototype = {
  63440. call$1(contents) {
  63441. return new A.StringExpression(contents, false);
  63442. },
  63443. $signature: 418
  63444. };
  63445. A.StylesheetParser__expressionUntilComparison_closure.prototype = {
  63446. call$0() {
  63447. var t1 = this.$this.scanner,
  63448. _0_0 = t1.peekChar$0();
  63449. $label0$0: {
  63450. if (61 === _0_0) {
  63451. t1 = t1.peekChar$1(1) !== 61;
  63452. break $label0$0;
  63453. }
  63454. if (60 === _0_0 || 62 === _0_0) {
  63455. t1 = true;
  63456. break $label0$0;
  63457. }
  63458. t1 = false;
  63459. break $label0$0;
  63460. }
  63461. return t1;
  63462. },
  63463. $signature: 21
  63464. };
  63465. A.StylesheetParser__publicIdentifier_closure.prototype = {
  63466. call$0() {
  63467. return this.$this.scanner.spanFrom$1(this.start);
  63468. },
  63469. $signature: 27
  63470. };
  63471. A.StylesheetGraph.prototype = {
  63472. modifiedSince$3(url, since, baseImporter) {
  63473. var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
  63474. if (node == null)
  63475. return true;
  63476. return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node).isAfter$1(since);
  63477. },
  63478. _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
  63479. var importer, canonicalUrl, _this = this,
  63480. result = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
  63481. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(result)) {
  63482. importer = result._0;
  63483. canonicalUrl = result._1;
  63484. _this.addCanonical$3(importer, canonicalUrl, result._2);
  63485. return _this._nodes.$index(0, canonicalUrl);
  63486. } else
  63487. return null;
  63488. },
  63489. addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
  63490. var stylesheet, _this = this,
  63491. t1 = _this._nodes;
  63492. if (t1.$index(0, canonicalUrl) != null)
  63493. return B.Set_empty3;
  63494. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
  63495. if (stylesheet == null)
  63496. return B.Set_empty3;
  63497. t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
  63498. return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty3;
  63499. },
  63500. addCanonical$3(importer, canonicalUrl, originalUrl) {
  63501. return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
  63502. },
  63503. _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
  63504. var t6, t7, t8, t9, t10,
  63505. t1 = type$.Uri,
  63506. active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
  63507. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  63508. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  63509. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  63510. t5 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  63511. new A._FindDependenciesVisitor(t2, t3, t4, t5, A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_String)).visitChildren$1(stylesheet.children);
  63512. t6 = type$.UnmodifiableSetView_Uri;
  63513. t2 = new A.UnmodifiableSetView0(t2, t6);
  63514. t3 = new A.UnmodifiableSetView0(t3, t6);
  63515. t4 = new A.UnmodifiableSetView0(t4, t6);
  63516. t7 = type$.nullable_StylesheetNode;
  63517. t8 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  63518. for (t9 = new A.UnionSet(A.LinkedHashSet_LinkedHashSet$_literal([t2, t3, t4], type$.Set_Uri), type$.UnionSet_Uri).get$_union_set$_iterable(), t9 = t9.get$iterator(t9); t9.moveNext$0();) {
  63519. t10 = t9.get$current(t9);
  63520. t8.$indexSet(0, t10, this._nodeFor$4(t10, baseImporter, baseUrl, active));
  63521. }
  63522. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  63523. for (t2 = new A.DependencyReport(t2, t3, t4, new A.UnmodifiableSetView0(t5, t6)).imports._base.get$iterator(0); t2.moveNext$0();) {
  63524. t3 = t2.get$current(0);
  63525. t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
  63526. }
  63527. return new A._Record_2_imports_modules(t1, t8);
  63528. },
  63529. reload$1(canonicalUrl) {
  63530. var stylesheet, upstream, _this = this,
  63531. node = _this._nodes.$index(0, canonicalUrl);
  63532. if (node == null)
  63533. throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
  63534. _this._transitiveModificationTimes.clear$0(0);
  63535. _this.importCache.clearImport$1(canonicalUrl);
  63536. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
  63537. if (stylesheet == null)
  63538. return false;
  63539. node._stylesheet = stylesheet;
  63540. upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
  63541. node._replaceUpstream$2(upstream._1, upstream._0);
  63542. return true;
  63543. },
  63544. reloadAllModified$0() {
  63545. var node, modified, loadTime, t1, t2, t3, _i, t4, t5, t6, t7, modified0, exception, _this = this;
  63546. for (t1 = _this._nodes, t1 = A.List_List$of(new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>")), true, type$.StylesheetNode), t2 = t1.length, t3 = _this.importCache._loadTimes, _i = 0; _i < t2; ++_i) {
  63547. node = t1[_i];
  63548. modified = false;
  63549. try {
  63550. loadTime = t3.$index(0, node.canonicalUrl);
  63551. if (loadTime != null) {
  63552. t4 = node.importer.modificationTime$1(node.canonicalUrl);
  63553. t5 = loadTime;
  63554. t6 = t4._value;
  63555. t7 = t5._value;
  63556. if (t6 <= t7) {
  63557. t4 = t6 === t7 && t4._microsecond > t5._microsecond;
  63558. modified0 = t4;
  63559. } else
  63560. modified0 = true;
  63561. } else
  63562. modified0 = false;
  63563. modified = modified0;
  63564. } catch (exception) {
  63565. if (A.unwrapException(exception) instanceof A.FileSystemException)
  63566. modified = true;
  63567. else
  63568. throw exception;
  63569. }
  63570. if (modified)
  63571. if (!_this.reload$1(node.canonicalUrl))
  63572. _this.remove$2(0, node.importer, node.canonicalUrl);
  63573. }
  63574. },
  63575. remove$2(_, importer, canonicalUrl) {
  63576. var toRecompile, _this = this,
  63577. node = _this._nodes.remove$1(0, canonicalUrl),
  63578. t1 = node != null;
  63579. if (t1) {
  63580. _this._transitiveModificationTimes.clear$0(0);
  63581. _this.importCache.clearImport$1(canonicalUrl);
  63582. node._stylesheet_graph$_remove$0();
  63583. }
  63584. toRecompile = _this._recanonicalizeImports$2(importer, canonicalUrl);
  63585. if (t1)
  63586. toRecompile.addAll$1(0, node._downstream);
  63587. return toRecompile;
  63588. },
  63589. _recanonicalizeImports$2(importer, canonicalUrl) {
  63590. var changed, t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this;
  63591. _this.importCache.clearCanonicalize$1(canonicalUrl);
  63592. changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  63593. 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();) {
  63594. t5 = t1.get$current(0);
  63595. newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
  63596. newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
  63597. if (newUpstream.__js_helper$_length !== 0 || newUpstreamImports.__js_helper$_length !== 0) {
  63598. changed.add$1(0, t5);
  63599. 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));
  63600. }
  63601. }
  63602. if (changed._collection$_length !== 0)
  63603. _this._transitiveModificationTimes.clear$0(0);
  63604. return changed;
  63605. },
  63606. _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
  63607. var url, result, t2, newMap, t3, t4, t5, t6, upstream, exception, newCanonicalUrl,
  63608. t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
  63609. map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1);
  63610. t1 = type$.Uri;
  63611. t2 = type$.nullable_StylesheetNode;
  63612. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  63613. 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();) {
  63614. t6 = t1.get$current(t1);
  63615. url = null;
  63616. url = t6._0;
  63617. upstream = t6._1;
  63618. if (!importer.couldCanonicalize$2(url, canonicalUrl))
  63619. continue;
  63620. result = null;
  63621. try {
  63622. result = t3.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t4, t5, forImport);
  63623. } catch (exception) {
  63624. }
  63625. t6 = result;
  63626. newCanonicalUrl = t6 == null ? null : t6._1;
  63627. if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
  63628. continue;
  63629. t6 = url;
  63630. newMap.$indexSet(0, t6, result == null ? null : t2.$index(0, newCanonicalUrl));
  63631. }
  63632. return newMap;
  63633. },
  63634. _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
  63635. var canonicalUrl, t2, _1_0, stylesheet, t3, t4, node, _this = this, t1 = {},
  63636. result = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
  63637. if (result == null)
  63638. return null;
  63639. t1.originalUrl = t1.canonicalUrl = t1.importer = null;
  63640. t1.importer = result._0;
  63641. canonicalUrl = t1.canonicalUrl = result._1;
  63642. t1.originalUrl = result._2;
  63643. t2 = _this._nodes;
  63644. _1_0 = t2.$index(0, canonicalUrl);
  63645. if (_1_0 != null)
  63646. return _1_0;
  63647. if (active.contains$1(0, canonicalUrl))
  63648. return null;
  63649. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(t1, _this));
  63650. if (stylesheet == null)
  63651. return null;
  63652. active.add$1(0, t1.canonicalUrl);
  63653. t3 = t1.importer;
  63654. t4 = t1.canonicalUrl;
  63655. node = A.StylesheetNode$_(stylesheet, t3, t4, _this._upstreamNodes$3(stylesheet, t3, t4));
  63656. active.remove$1(0, t1.canonicalUrl);
  63657. t2.$indexSet(0, t1.canonicalUrl, node);
  63658. return node;
  63659. },
  63660. _nodeFor$4(url, baseImporter, baseUrl, active) {
  63661. return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
  63662. },
  63663. _ignoreErrors$1$1(callback) {
  63664. var t1, exception;
  63665. try {
  63666. t1 = callback.call$0();
  63667. return t1;
  63668. } catch (exception) {
  63669. return null;
  63670. }
  63671. },
  63672. _ignoreErrors$1(callback) {
  63673. return this._ignoreErrors$1$1(callback, type$.dynamic);
  63674. }
  63675. };
  63676. A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
  63677. call$1(node) {
  63678. return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
  63679. },
  63680. $signature: 417
  63681. };
  63682. A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
  63683. call$0() {
  63684. var t2, t3, upstreamTime, t4,
  63685. t1 = this.node,
  63686. latest = t1.importer.modificationTime$1(t1.canonicalUrl);
  63687. for (t1 = t1._upstream.get$values(0).followedBy$1(0, t1._upstreamImports.get$values(0)).get$iterator(0), t2 = this.transitiveModificationTime; t1.moveNext$0();) {
  63688. t3 = t1.get$current(0);
  63689. upstreamTime = t3 == null ? new A.DateTime(Date.now(), 0, false) : t2.call$1(t3);
  63690. t3 = upstreamTime._value;
  63691. t4 = latest._value;
  63692. if (t3 <= t4)
  63693. t3 = t3 === t4 && upstreamTime._microsecond > latest._microsecond;
  63694. else
  63695. t3 = true;
  63696. if (t3)
  63697. latest = upstreamTime;
  63698. }
  63699. return latest;
  63700. },
  63701. $signature: 154
  63702. };
  63703. A.StylesheetGraph__add_closure.prototype = {
  63704. call$0() {
  63705. var _this = this;
  63706. return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
  63707. },
  63708. $signature: 123
  63709. };
  63710. A.StylesheetGraph_addCanonical_closure.prototype = {
  63711. call$0() {
  63712. var _this = this;
  63713. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
  63714. },
  63715. $signature: 112
  63716. };
  63717. A.StylesheetGraph_reload_closure.prototype = {
  63718. call$0() {
  63719. return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
  63720. },
  63721. $signature: 112
  63722. };
  63723. A.StylesheetGraph__nodeFor_closure.prototype = {
  63724. call$0() {
  63725. var _this = this;
  63726. return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
  63727. },
  63728. $signature: 123
  63729. };
  63730. A.StylesheetGraph__nodeFor_closure0.prototype = {
  63731. call$0() {
  63732. var t1 = this._box_0;
  63733. return this.$this.importCache.importCanonical$3$originalUrl(t1.importer, t1.canonicalUrl, t1.originalUrl);
  63734. },
  63735. $signature: 112
  63736. };
  63737. A.StylesheetNode.prototype = {
  63738. StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
  63739. var t1, t2;
  63740. for (t1 = this._upstream.get$values(0).followedBy$1(0, this._upstreamImports.get$values(0)).get$iterator(0); t1.moveNext$0();) {
  63741. t2 = t1.get$current(0);
  63742. if (t2 != null)
  63743. t2._downstream.add$1(0, this);
  63744. }
  63745. },
  63746. _replaceUpstream$2(newUpstream, newUpstreamImports) {
  63747. var t3, oldUpstream, newUpstreamSet, _this = this,
  63748. t1 = type$.nullable_StylesheetNode,
  63749. t2 = A.LinkedHashSet_LinkedHashSet$of(_this._upstream.get$values(0), t1);
  63750. t2.addAll$1(0, _this._upstreamImports.get$values(0));
  63751. t3 = type$.StylesheetNode;
  63752. oldUpstream = A.SetExtension_removeNull(t2, t3);
  63753. t1 = A.LinkedHashSet_LinkedHashSet$of(new A.LinkedHashMapValuesIterable(newUpstream, A._instanceType(newUpstream)._eval$1("LinkedHashMapValuesIterable<2>")), t1);
  63754. t1.addAll$1(0, new A.LinkedHashMapValuesIterable(newUpstreamImports, A._instanceType(newUpstreamImports)._eval$1("LinkedHashMapValuesIterable<2>")));
  63755. newUpstreamSet = A.SetExtension_removeNull(t1, t3);
  63756. for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  63757. t1.get$current(t1)._downstream.remove$1(0, _this);
  63758. for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  63759. t1.get$current(t1)._downstream.add$1(0, _this);
  63760. _this._upstream = newUpstream;
  63761. _this._upstreamImports = newUpstreamImports;
  63762. },
  63763. _stylesheet_graph$_remove$0() {
  63764. var t1, t2, t3, t4, _i, url, _this = this;
  63765. 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._modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  63766. t3 = t1._collection$_current;
  63767. if (t3 == null)
  63768. t3 = t2._as(t3);
  63769. if (t3 == null)
  63770. continue;
  63771. t3._downstream.remove$1(0, _this);
  63772. }
  63773. for (t1 = _this._downstream.get$iterator(0); t1.moveNext$0();) {
  63774. t2 = t1.get$current(0);
  63775. for (t3 = t2._upstream, t4 = A._instanceType(t3)._eval$1("LinkedHashMapKeysIterable<1>"), t4 = A.List_List$of(new A.LinkedHashMapKeysIterable(t3, t4), true, t4._eval$1("Iterable.E")), t3 = t4.length, _i = 0; _i < t3; ++_i) {
  63776. url = t4[_i];
  63777. if (t2._upstream.$index(0, url) === _this) {
  63778. t2._upstream.$indexSet(0, url, null);
  63779. break;
  63780. }
  63781. }
  63782. for (t3 = t2._upstreamImports, t4 = A._instanceType(t3)._eval$1("LinkedHashMapKeysIterable<1>"), t4 = A.List_List$of(new A.LinkedHashMapKeysIterable(t3, t4), true, t4._eval$1("Iterable.E")), t3 = t4.length, _i = 0; _i < t3; ++_i) {
  63783. url = t4[_i];
  63784. if (t2._upstreamImports.$index(0, url) === _this) {
  63785. t2._upstreamImports.$indexSet(0, url, null);
  63786. break;
  63787. }
  63788. }
  63789. }
  63790. },
  63791. toString$0(_) {
  63792. var t1 = this._stylesheet.span;
  63793. t1 = A.NullableExtension_andThen(t1.get$sourceUrl(t1), A.path__prettyUri$closure());
  63794. return t1 == null ? "<unknown>" : t1;
  63795. }
  63796. };
  63797. A.Syntax.prototype = {
  63798. _enumToString$0() {
  63799. return "Syntax." + this._name;
  63800. },
  63801. toString$0(_) {
  63802. return this._syntax$_name;
  63803. }
  63804. };
  63805. A.Box.prototype = {
  63806. $eq(_, other) {
  63807. if (other == null)
  63808. return false;
  63809. return this.$ti._is(other) && other._box$_inner === this._box$_inner;
  63810. },
  63811. get$hashCode(_) {
  63812. return A.Primitives_objectHashCode(this._box$_inner);
  63813. }
  63814. };
  63815. A.ModifiableBox.prototype = {};
  63816. A.LazyFileSpan.prototype = {
  63817. get$span(_) {
  63818. var t1 = this._lazy_file_span$_span;
  63819. return t1 == null ? this._lazy_file_span$_span = this._builder.call$0() : t1;
  63820. },
  63821. compareTo$1(_, other) {
  63822. return this.get$span(0).compareTo$1(0, other);
  63823. },
  63824. get$context(_) {
  63825. var t1 = this.get$span(0);
  63826. return t1.get$context(t1);
  63827. },
  63828. get$end(_) {
  63829. var t1 = this.get$span(0);
  63830. return t1.get$end(t1);
  63831. },
  63832. expand$1(_, other) {
  63833. return this.get$span(0).expand$1(0, other);
  63834. },
  63835. get$file(_) {
  63836. var t1 = this.get$span(0);
  63837. return t1.get$file(t1);
  63838. },
  63839. highlight$1$color(color) {
  63840. return this.get$span(0).highlight$1$color(color);
  63841. },
  63842. get$length(_) {
  63843. var t1 = this.get$span(0);
  63844. return t1.get$length(t1);
  63845. },
  63846. message$2$color(_, message, color) {
  63847. return this.get$span(0).message$2$color(0, message, color);
  63848. },
  63849. message$1(_, message) {
  63850. return this.message$2$color(0, message, null);
  63851. },
  63852. get$sourceUrl(_) {
  63853. var t1 = this.get$span(0);
  63854. return t1.get$sourceUrl(t1);
  63855. },
  63856. get$start(_) {
  63857. var t1 = this.get$span(0);
  63858. return t1.get$start(t1);
  63859. },
  63860. get$text() {
  63861. return this.get$span(0).get$text();
  63862. },
  63863. $isComparable: 1,
  63864. $isFileSpan: 1,
  63865. $isSourceSpan: 1,
  63866. $isSourceSpanWithContext: 1
  63867. };
  63868. A.LimitedMapView.prototype = {
  63869. get$keys(_) {
  63870. return this._limited_map_view$_keys;
  63871. },
  63872. get$length(_) {
  63873. return this._limited_map_view$_keys._collection$_length;
  63874. },
  63875. get$isEmpty(_) {
  63876. return this._limited_map_view$_keys._collection$_length === 0;
  63877. },
  63878. get$isNotEmpty(_) {
  63879. return this._limited_map_view$_keys._collection$_length !== 0;
  63880. },
  63881. $index(_, key) {
  63882. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
  63883. },
  63884. containsKey$1(key) {
  63885. return this._limited_map_view$_keys.contains$1(0, key);
  63886. },
  63887. remove$1(_, key) {
  63888. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
  63889. }
  63890. };
  63891. A.MapExtensions_get_pairs_closure.prototype = {
  63892. call$1(e) {
  63893. return new A._Record_2(e.key, e.value);
  63894. },
  63895. $signature() {
  63896. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  63897. }
  63898. };
  63899. A.MergedMapView.prototype = {
  63900. get$keys(_) {
  63901. var t1 = this._mapsByKey;
  63902. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  63903. },
  63904. get$length(_) {
  63905. return this._mapsByKey.__js_helper$_length;
  63906. },
  63907. get$isEmpty(_) {
  63908. return this._mapsByKey.__js_helper$_length === 0;
  63909. },
  63910. get$isNotEmpty(_) {
  63911. return this._mapsByKey.__js_helper$_length !== 0;
  63912. },
  63913. MergedMapView$1(maps, $K, $V) {
  63914. var t1, t2, t3, _i, map, t4, t5;
  63915. for (t1 = maps.length, t2 = this._mapsByKey, t3 = $K._eval$1("@<0>")._bind$1($V)._eval$1("MergedMapView<1,2>"), _i = 0; _i < maps.length; maps.length === t1 || (0, A.throwConcurrentModificationError)(maps), ++_i) {
  63916. map = maps[_i];
  63917. if (t3._is(map))
  63918. for (t4 = map._mapsByKey, t4 = new A.LinkedHashMapValueIterator(t4, t4.__js_helper$_modifications, t4.__js_helper$_first); t4.moveNext$0();) {
  63919. t5 = t4.__js_helper$_current;
  63920. A.setAll(t2, t5.get$keys(t5), t5);
  63921. }
  63922. else
  63923. A.setAll(t2, map.get$keys(map), map);
  63924. }
  63925. },
  63926. $index(_, key) {
  63927. var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  63928. return t1 == null ? null : t1.$index(0, key);
  63929. },
  63930. $indexSet(_, key, value) {
  63931. var _0_0 = this._mapsByKey.$index(0, key);
  63932. if (_0_0 != null)
  63933. _0_0.$indexSet(0, key, value);
  63934. else
  63935. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  63936. },
  63937. remove$1(_, key) {
  63938. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  63939. },
  63940. containsKey$1(key) {
  63941. return this._mapsByKey.containsKey$1(key);
  63942. }
  63943. };
  63944. A.MultiDirWatcher.prototype = {
  63945. watch$1(_, directory) {
  63946. var t1, t2, t3, t4, isParentOfExistingDir, _i, t5, _0_1, t6, future, completer;
  63947. 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) {
  63948. t5 = t2[_i];
  63949. _0_1 = t5._0;
  63950. _0_1.toString;
  63951. if (!isParentOfExistingDir) {
  63952. t6 = $.$get$context();
  63953. t6 = t6._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_equal || t6._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_within;
  63954. } else
  63955. t6 = false;
  63956. if (t6) {
  63957. t1 = new A._Future($.Zone__current, type$._Future_void);
  63958. t1._asyncComplete$1(null);
  63959. return t1;
  63960. }
  63961. if ($.$get$context()._isWithinOrEquals$2(directory, _0_1) === B._PathRelation_within) {
  63962. t1.remove$1(0, _0_1);
  63963. t4.remove$1(0, t5._1);
  63964. isParentOfExistingDir = true;
  63965. }
  63966. }
  63967. future = A.watchDir(directory, this._poll);
  63968. t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
  63969. completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
  63970. future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
  63971. t1.$indexSet(0, directory, t2);
  63972. t4.add$1(0, t2);
  63973. return future;
  63974. }
  63975. };
  63976. A.MultiSpan.prototype = {
  63977. get$start(_) {
  63978. var t1 = this._multi_span$_primary;
  63979. return t1.get$start(t1);
  63980. },
  63981. get$end(_) {
  63982. var t1 = this._multi_span$_primary;
  63983. return t1.get$end(t1);
  63984. },
  63985. get$text() {
  63986. return this._multi_span$_primary.get$text();
  63987. },
  63988. get$context(_) {
  63989. var t1 = this._multi_span$_primary;
  63990. return t1.get$context(t1);
  63991. },
  63992. get$file(_) {
  63993. var t1 = this._multi_span$_primary;
  63994. return t1.get$file(t1);
  63995. },
  63996. get$length(_) {
  63997. var t1 = this._multi_span$_primary;
  63998. return t1.get$length(t1);
  63999. },
  64000. get$sourceUrl(_) {
  64001. var t1 = this._multi_span$_primary;
  64002. return t1.get$sourceUrl(t1);
  64003. },
  64004. compareTo$1(_, other) {
  64005. return this._multi_span$_primary.compareTo$1(0, other);
  64006. },
  64007. toString$0(_) {
  64008. return this._multi_span$_primary.toString$0(0);
  64009. },
  64010. expand$1(_, other) {
  64011. return new A.MultiSpan(this._multi_span$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  64012. },
  64013. highlight$1$color(color) {
  64014. return A.Highlighter$multiple(this._multi_span$_primary, this.primaryLabel, this.secondarySpans, color === true, null, null).highlight$0();
  64015. },
  64016. message$2$color(_, message, color) {
  64017. var t1 = J.$eq$(color, true) || typeof color == "string",
  64018. t2 = typeof color == "string" ? color : null;
  64019. return A.SourceSpanExtension_messageMultiple(this._multi_span$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  64020. },
  64021. message$1(_, message) {
  64022. return this.message$2$color(0, message, null);
  64023. },
  64024. $isComparable: 1,
  64025. $isFileSpan: 1,
  64026. $isSourceSpan: 1,
  64027. $isSourceSpanWithContext: 1
  64028. };
  64029. A.NoSourceMapBuffer.prototype = {
  64030. get$length(_) {
  64031. return this._no_source_map_buffer$_buffer._contents.length;
  64032. },
  64033. forSpan$1$2(span, callback) {
  64034. return callback.call$0();
  64035. },
  64036. forSpan$2(span, callback) {
  64037. return this.forSpan$1$2(span, callback, type$.dynamic);
  64038. },
  64039. write$1(_, object) {
  64040. var t1 = this._no_source_map_buffer$_buffer,
  64041. t2 = A.S(object);
  64042. t1._contents += t2;
  64043. return null;
  64044. },
  64045. writeCharCode$1(charCode) {
  64046. var t1 = this._no_source_map_buffer$_buffer,
  64047. t2 = A.Primitives_stringFromCharCode(charCode);
  64048. t1._contents += t2;
  64049. return null;
  64050. },
  64051. toString$0(_) {
  64052. var t1 = this._no_source_map_buffer$_buffer._contents;
  64053. return t1.charCodeAt(0) == 0 ? t1 : t1;
  64054. },
  64055. buildSourceMap$1$prefix(prefix) {
  64056. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  64057. }
  64058. };
  64059. A.PrefixedMapView.prototype = {
  64060. get$keys(_) {
  64061. return new A._PrefixedKeys(this);
  64062. },
  64063. get$length(_) {
  64064. var t1 = this._prefixed_map_view$_map;
  64065. return t1.get$length(t1);
  64066. },
  64067. get$isEmpty(_) {
  64068. var t1 = this._prefixed_map_view$_map;
  64069. return t1.get$isEmpty(t1);
  64070. },
  64071. get$isNotEmpty(_) {
  64072. var t1 = this._prefixed_map_view$_map;
  64073. return t1.get$isNotEmpty(t1);
  64074. },
  64075. $index(_, key) {
  64076. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefix) ? this._prefixed_map_view$_map.$index(0, J.substring$1$s(key, this._prefix.length)) : null;
  64077. },
  64078. containsKey$1(key) {
  64079. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefix) && this._prefixed_map_view$_map.containsKey$1(J.substring$1$s(key, this._prefix.length));
  64080. }
  64081. };
  64082. A._PrefixedKeys.prototype = {
  64083. get$length(_) {
  64084. var t1 = this._view._prefixed_map_view$_map;
  64085. return t1.get$length(t1);
  64086. },
  64087. get$iterator(_) {
  64088. var t1 = this._view._prefixed_map_view$_map;
  64089. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
  64090. return t1.get$iterator(t1);
  64091. },
  64092. contains$1(_, key) {
  64093. return this._view.containsKey$1(key);
  64094. }
  64095. };
  64096. A._PrefixedKeys_iterator_closure.prototype = {
  64097. call$1(key) {
  64098. return this.$this._view._prefix + key;
  64099. },
  64100. $signature: 6
  64101. };
  64102. A.PublicMemberMapView.prototype = {
  64103. get$keys(_) {
  64104. var t1 = this._public_member_map_view$_inner;
  64105. return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
  64106. },
  64107. containsKey$1(key) {
  64108. return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
  64109. },
  64110. $index(_, key) {
  64111. if (typeof key == "string" && A.isPublic(key))
  64112. return this._public_member_map_view$_inner.$index(0, key);
  64113. return null;
  64114. }
  64115. };
  64116. A.SourceMapBuffer.prototype = {
  64117. get$_targetLocation() {
  64118. var t1 = this._source_map_buffer$_buffer._contents,
  64119. t2 = this._line;
  64120. return A.SourceLocation$(t1.length, this._column, t2, null);
  64121. },
  64122. get$length(_) {
  64123. return this._source_map_buffer$_buffer._contents.length;
  64124. },
  64125. forSpan$1$2(span, callback) {
  64126. var t1, _this = this,
  64127. wasInSpan = _this._inSpan;
  64128. _this._inSpan = true;
  64129. _this._addEntry$2(span.get$start(span), _this.get$_targetLocation());
  64130. try {
  64131. t1 = callback.call$0();
  64132. return t1;
  64133. } finally {
  64134. _this._inSpan = wasInSpan;
  64135. }
  64136. },
  64137. forSpan$2(span, callback) {
  64138. return this.forSpan$1$2(span, callback, type$.dynamic);
  64139. },
  64140. _addEntry$2(source, target) {
  64141. var entry, t2,
  64142. t1 = this._entries;
  64143. if (t1.length !== 0) {
  64144. entry = B.JSArray_methods.get$last(t1);
  64145. t2 = entry.source;
  64146. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  64147. return;
  64148. if (entry.target.offset === target.offset)
  64149. return;
  64150. }
  64151. t1.push(new A.Entry(source, target, null));
  64152. },
  64153. write$1(_, object) {
  64154. var t1, i,
  64155. string = J.toString$0$(object);
  64156. this._source_map_buffer$_buffer._contents += string;
  64157. for (t1 = string.length, i = 0; i < t1; ++i)
  64158. if (string.charCodeAt(i) === 10)
  64159. this._source_map_buffer$_writeLine$0();
  64160. else
  64161. ++this._column;
  64162. },
  64163. writeCharCode$1(charCode) {
  64164. var t1 = this._source_map_buffer$_buffer,
  64165. t2 = A.Primitives_stringFromCharCode(charCode);
  64166. t1._contents += t2;
  64167. if (charCode === 10)
  64168. this._source_map_buffer$_writeLine$0();
  64169. else
  64170. ++this._column;
  64171. },
  64172. _source_map_buffer$_writeLine$0() {
  64173. var _this = this,
  64174. t1 = _this._entries;
  64175. if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
  64176. t1.pop();
  64177. ++_this._line;
  64178. _this._column = 0;
  64179. if (_this._inSpan)
  64180. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
  64181. },
  64182. toString$0(_) {
  64183. var t1 = this._source_map_buffer$_buffer._contents;
  64184. return t1.charCodeAt(0) == 0 ? t1 : t1;
  64185. },
  64186. buildSourceMap$1$prefix(prefix) {
  64187. var i, t2, prefixColumn, _box_0 = {},
  64188. t1 = prefix.length;
  64189. if (t1 === 0)
  64190. return A.SingleMapping_SingleMapping$fromEntries(this._entries);
  64191. _box_0.prefixColumn = _box_0.prefixLines = 0;
  64192. for (i = 0, t2 = 0; i < t1; ++i)
  64193. if (prefix.charCodeAt(i) === 10) {
  64194. ++_box_0.prefixLines;
  64195. _box_0.prefixColumn = 0;
  64196. t2 = 0;
  64197. } else {
  64198. prefixColumn = t2 + 1;
  64199. _box_0.prefixColumn = prefixColumn;
  64200. t2 = prefixColumn;
  64201. }
  64202. t2 = this._entries;
  64203. 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>")));
  64204. }
  64205. };
  64206. A.SourceMapBuffer_buildSourceMap_closure.prototype = {
  64207. call$1(entry) {
  64208. var t1 = entry.target,
  64209. t2 = t1.line,
  64210. t3 = this._box_0,
  64211. t4 = t3.prefixLines;
  64212. t3 = t2 === 0 ? t3.prefixColumn : 0;
  64213. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  64214. },
  64215. $signature: 163
  64216. };
  64217. A.UnprefixedMapView.prototype = {
  64218. get$keys(_) {
  64219. return new A._UnprefixedKeys(this);
  64220. },
  64221. $index(_, key) {
  64222. return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
  64223. },
  64224. containsKey$1(key) {
  64225. return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
  64226. },
  64227. remove$1(_, key) {
  64228. var t1 = this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key);
  64229. return t1;
  64230. }
  64231. };
  64232. A._UnprefixedKeys.prototype = {
  64233. get$iterator(_) {
  64234. var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
  64235. t1 = J.where$1$ax(t1.get$keys(t1), new A._UnprefixedKeys_iterator_closure(this)).map$1$1(0, new A._UnprefixedKeys_iterator_closure0(this), type$.String);
  64236. return t1.get$iterator(t1);
  64237. },
  64238. contains$1(_, key) {
  64239. return this._unprefixed_map_view$_view.containsKey$1(key);
  64240. }
  64241. };
  64242. A._UnprefixedKeys_iterator_closure.prototype = {
  64243. call$1(key) {
  64244. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
  64245. },
  64246. $signature: 5
  64247. };
  64248. A._UnprefixedKeys_iterator_closure0.prototype = {
  64249. call$1(key) {
  64250. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
  64251. },
  64252. $signature: 6
  64253. };
  64254. A.indent_closure.prototype = {
  64255. call$1(line) {
  64256. return B.JSString_methods.$mul(" ", this.indentation) + line;
  64257. },
  64258. $signature: 6
  64259. };
  64260. A.flattenVertically_closure.prototype = {
  64261. call$1(inner) {
  64262. return A.QueueList_QueueList$from(inner, this.T);
  64263. },
  64264. $signature() {
  64265. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  64266. }
  64267. };
  64268. A.flattenVertically_closure0.prototype = {
  64269. call$1(queue) {
  64270. this.result.push(queue.removeFirst$0());
  64271. return queue.get$length(0) === 0;
  64272. },
  64273. $signature() {
  64274. return this.T._eval$1("bool(QueueList<0>)");
  64275. }
  64276. };
  64277. A.longestCommonSubsequence_backtrack.prototype = {
  64278. call$2(i, j) {
  64279. var selection, t1, _this = this;
  64280. if (i === -1 || j === -1)
  64281. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  64282. selection = _this.selections[i][j];
  64283. if (selection != null) {
  64284. t1 = _this.call$2(i - 1, j - 1);
  64285. J.add$1$ax(t1, selection);
  64286. return t1;
  64287. }
  64288. t1 = _this.lengths;
  64289. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  64290. },
  64291. $signature() {
  64292. return this.T._eval$1("List<0>(int,int)");
  64293. }
  64294. };
  64295. A.mapAddAll2_closure.prototype = {
  64296. call$2(key, inner) {
  64297. var t1 = this.destination,
  64298. _0_0 = t1.$index(0, key);
  64299. if (_0_0 != null)
  64300. _0_0.addAll$1(0, inner);
  64301. else
  64302. t1.$indexSet(0, key, inner);
  64303. },
  64304. $signature() {
  64305. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  64306. }
  64307. };
  64308. A.Value.prototype = {
  64309. get$isTruthy() {
  64310. return true;
  64311. },
  64312. get$separator(_) {
  64313. return B.ListSeparator_undecided_null_undecided;
  64314. },
  64315. get$hasBrackets() {
  64316. return false;
  64317. },
  64318. get$asList() {
  64319. return A._setArrayType([this], type$.JSArray_Value);
  64320. },
  64321. get$lengthAsList() {
  64322. return 1;
  64323. },
  64324. get$isBlank() {
  64325. return false;
  64326. },
  64327. get$isSpecialNumber() {
  64328. return false;
  64329. },
  64330. get$isVar() {
  64331. return false;
  64332. },
  64333. get$realNull() {
  64334. return this;
  64335. },
  64336. sassIndexToListIndex$2(sassIndex, $name) {
  64337. var t1, index,
  64338. indexValue = sassIndex.assertNumber$1($name);
  64339. if (indexValue.get$hasUnits()) {
  64340. t1 = indexValue.get$unitString();
  64341. A.warnForDeprecation("$" + $name + ": Passing a number with unit " + t1 + string$.x20is_de + indexValue.unitSuggestion$1($name) + string$.x0a_Morex3af, B.Deprecation_jG1);
  64342. }
  64343. index = indexValue.assertInt$1($name);
  64344. if (index === 0)
  64345. throw A.wrapException(A.SassScriptException$("List index may not be 0.", $name));
  64346. if (Math.abs(index) > this.get$lengthAsList())
  64347. throw A.wrapException(A.SassScriptException$("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  64348. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  64349. },
  64350. assertCalculation$1($name) {
  64351. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a calculation.", $name));
  64352. },
  64353. assertColor$1($name) {
  64354. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a color.", $name));
  64355. },
  64356. assertFunction$1($name) {
  64357. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a function reference.", $name));
  64358. },
  64359. assertMixin$1($name) {
  64360. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a mixin reference.", $name));
  64361. },
  64362. assertMap$1($name) {
  64363. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a map.", $name));
  64364. },
  64365. tryMap$0() {
  64366. return null;
  64367. },
  64368. assertNumber$1($name) {
  64369. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a number.", $name));
  64370. },
  64371. assertNumber$0() {
  64372. return this.assertNumber$1(null);
  64373. },
  64374. assertString$1($name) {
  64375. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a string.", $name));
  64376. },
  64377. assertCommonListStyle$2$allowSlash($name, allowSlash) {
  64378. var invalidSeparator, buffer, t1, _this = this,
  64379. _s8_ = "Expected";
  64380. if (_this.get$separator(_this) !== B.ListSeparator_qVN)
  64381. invalidSeparator = !allowSlash && _this.get$separator(_this) === B.ListSeparator_bRz;
  64382. else
  64383. invalidSeparator = true;
  64384. if (!invalidSeparator && !_this.get$hasBrackets())
  64385. return _this.get$asList();
  64386. buffer = new A.StringBuffer(_s8_);
  64387. if (_this.get$hasBrackets()) {
  64388. t1 = "Expected" + " an unbracketed";
  64389. buffer._contents = t1;
  64390. } else
  64391. t1 = _s8_;
  64392. if (invalidSeparator) {
  64393. t1 += _this.get$hasBrackets() ? "," : " a";
  64394. buffer._contents = t1;
  64395. t1 = buffer._contents = t1 + " space-";
  64396. t1 = buffer._contents = (allowSlash ? buffer._contents = t1 + " or slash-" : t1) + "separated";
  64397. }
  64398. buffer._contents = t1 + (" list, was " + _this.toString$0(0));
  64399. throw A.wrapException(A.SassScriptException$(buffer.toString$0(0), $name));
  64400. },
  64401. _selectorString$1($name) {
  64402. var _0_0 = this._selectorStringOrNull$0();
  64403. if (_0_0 != null)
  64404. return _0_0;
  64405. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + string$.x20is_noav, $name));
  64406. },
  64407. _selectorStringOrNull$0() {
  64408. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  64409. if (_this instanceof A.SassString)
  64410. return _this._string$_text;
  64411. if (!(_this instanceof A.SassList))
  64412. return _null;
  64413. t1 = _this._list$_contents;
  64414. t2 = t1.length;
  64415. if (t2 === 0)
  64416. return _null;
  64417. result = A._setArrayType([], type$.JSArray_String);
  64418. $label0$1: {
  64419. _1_0 = _this._separator;
  64420. if (B.ListSeparator_qVN === _1_0) {
  64421. for (_i = 0; _i < t2; ++_i) {
  64422. complex = t1[_i];
  64423. if (complex instanceof A.SassString) {
  64424. result.push(complex._string$_text);
  64425. continue;
  64426. }
  64427. if (complex instanceof A.SassList && B.ListSeparator_qSL === complex._separator) {
  64428. string = complex._selectorStringOrNull$0();
  64429. if (string == null)
  64430. return _null;
  64431. result.push(string);
  64432. continue;
  64433. }
  64434. return _null;
  64435. }
  64436. break $label0$1;
  64437. }
  64438. if (B.ListSeparator_bRz === _1_0)
  64439. return _null;
  64440. for (_i = 0; _i < t2; ++_i) {
  64441. compound = t1[_i];
  64442. if (!(compound instanceof A.SassString))
  64443. return _null;
  64444. result.push(compound._string$_text);
  64445. }
  64446. }
  64447. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_qVN ? ", " : " ");
  64448. },
  64449. withListContents$2$separator(contents, separator) {
  64450. var t1 = separator == null ? this.get$separator(this) : separator,
  64451. t2 = this.get$hasBrackets();
  64452. return A.SassList$(contents, t1, t2);
  64453. },
  64454. withListContents$1(contents) {
  64455. return this.withListContents$2$separator(contents, null);
  64456. },
  64457. greaterThan$1(other) {
  64458. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  64459. },
  64460. greaterThanOrEquals$1(other) {
  64461. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  64462. },
  64463. lessThan$1(other) {
  64464. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  64465. },
  64466. lessThanOrEquals$1(other) {
  64467. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  64468. },
  64469. times$1(other) {
  64470. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  64471. },
  64472. modulo$1(other) {
  64473. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  64474. },
  64475. plus$1(other) {
  64476. var t1;
  64477. $label0$0: {
  64478. if (other instanceof A.SassString) {
  64479. t1 = new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
  64480. break $label0$0;
  64481. }
  64482. if (other instanceof A.SassCalculation)
  64483. A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  64484. t1 = new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
  64485. break $label0$0;
  64486. }
  64487. return t1;
  64488. },
  64489. minus$1(other) {
  64490. 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);
  64491. },
  64492. dividedBy$1(other) {
  64493. return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
  64494. },
  64495. unaryPlus$0() {
  64496. return new A.SassString("+" + A.serializeValue(this, false, true), false);
  64497. },
  64498. unaryMinus$0() {
  64499. return new A.SassString("-" + A.serializeValue(this, false, true), false);
  64500. },
  64501. unaryNot$0() {
  64502. return B.SassBoolean_false;
  64503. },
  64504. withoutSlash$0() {
  64505. return this;
  64506. },
  64507. toString$0(_) {
  64508. return A.serializeValue(this, true, true);
  64509. }
  64510. };
  64511. A.SassArgumentList.prototype = {};
  64512. A.SassBoolean.prototype = {
  64513. get$isTruthy() {
  64514. return this.value;
  64515. },
  64516. accept$1$1(visitor) {
  64517. return visitor._serialize$_buffer.write$1(0, String(this.value));
  64518. },
  64519. accept$1(visitor) {
  64520. return this.accept$1$1(visitor, type$.dynamic);
  64521. },
  64522. unaryNot$0() {
  64523. return this.value ? B.SassBoolean_false : B.SassBoolean_true;
  64524. }
  64525. };
  64526. A.SassCalculation.prototype = {
  64527. get$isSpecialNumber() {
  64528. return true;
  64529. },
  64530. accept$1$1(visitor) {
  64531. return visitor.visitCalculation$1(this);
  64532. },
  64533. accept$1(visitor) {
  64534. return this.accept$1$1(visitor, type$.dynamic);
  64535. },
  64536. assertCalculation$1($name) {
  64537. return this;
  64538. },
  64539. plus$1(other) {
  64540. if (other instanceof A.SassString)
  64541. return this.super$Value$plus(other);
  64542. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  64543. },
  64544. minus$1(other) {
  64545. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  64546. },
  64547. unaryPlus$0() {
  64548. return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".', null));
  64549. },
  64550. unaryMinus$0() {
  64551. return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".', null));
  64552. },
  64553. $eq(_, other) {
  64554. if (other == null)
  64555. return false;
  64556. return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  64557. },
  64558. get$hashCode(_) {
  64559. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  64560. }
  64561. };
  64562. A.SassCalculation__verifyLength_closure.prototype = {
  64563. call$1(arg) {
  64564. return arg instanceof A.SassString;
  64565. },
  64566. $signature: 71
  64567. };
  64568. A.CalculationOperation.prototype = {
  64569. $eq(_, other) {
  64570. if (other == null)
  64571. return false;
  64572. return other instanceof A.CalculationOperation && this._operator === other._operator && J.$eq$(this._left, other._left) && J.$eq$(this._right, other._right);
  64573. },
  64574. get$hashCode(_) {
  64575. return (A.Primitives_objectHashCode(this._operator) ^ J.get$hashCode$(this._left) ^ J.get$hashCode$(this._right)) >>> 0;
  64576. },
  64577. toString$0(_) {
  64578. var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  64579. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  64580. }
  64581. };
  64582. A.CalculationOperator.prototype = {
  64583. _enumToString$0() {
  64584. return "CalculationOperator." + this._name;
  64585. },
  64586. toString$0(_) {
  64587. return this.name;
  64588. }
  64589. };
  64590. A.SassColor.prototype = {
  64591. get$channels() {
  64592. var t2, t3,
  64593. t1 = this.channel0OrNull;
  64594. if (t1 == null)
  64595. t1 = 0;
  64596. t2 = this.channel1OrNull;
  64597. if (t2 == null)
  64598. t2 = 0;
  64599. t3 = this.channel2OrNull;
  64600. return A.List_List$unmodifiable([t1, t2, t3 == null ? 0 : t3], type$.double);
  64601. },
  64602. get$channelsOrNull() {
  64603. return A.List_List$unmodifiable([this.channel0OrNull, this.channel1OrNull, this.channel2OrNull], type$.nullable_double);
  64604. },
  64605. get$isChannel0Powerless() {
  64606. var t1, t2, _this = this,
  64607. _0_0 = _this._space;
  64608. $label0$0: {
  64609. if (B.HslColorSpace_JQ2 === _0_0) {
  64610. t1 = _this.channel1OrNull;
  64611. t1 = A.fuzzyEquals(t1 == null ? 0 : t1, 0);
  64612. break $label0$0;
  64613. }
  64614. if (B.HwbColorSpace_guQ === _0_0) {
  64615. t1 = _this.channel1OrNull;
  64616. if (t1 == null)
  64617. t1 = 0;
  64618. t2 = _this.channel2OrNull;
  64619. t1 += t2 == null ? 0 : t2;
  64620. t1 = t1 > 100 || A.fuzzyEquals(t1, 100);
  64621. break $label0$0;
  64622. }
  64623. t1 = false;
  64624. break $label0$0;
  64625. }
  64626. return t1;
  64627. },
  64628. get$isChannel2Powerless() {
  64629. var t1,
  64630. _0_0 = this._space;
  64631. $label0$0: {
  64632. if (B.LchColorSpace_Bpv === _0_0 || B.OklchColorSpace_9Gj === _0_0) {
  64633. t1 = this.channel1OrNull;
  64634. t1 = A.fuzzyEquals(t1 == null ? 0 : t1, 0);
  64635. break $label0$0;
  64636. }
  64637. t1 = false;
  64638. break $label0$0;
  64639. }
  64640. return t1;
  64641. },
  64642. get$isInGamut() {
  64643. var t2, t3, _this = this,
  64644. t1 = _this._space;
  64645. if (!t1.get$isBoundedInternal())
  64646. return true;
  64647. t2 = _this.channel0OrNull;
  64648. if (t2 == null)
  64649. t2 = 0;
  64650. t1 = t1._channels;
  64651. t3 = false;
  64652. if (_this._isChannelInGamut$2(t2, t1[0])) {
  64653. t2 = _this.channel1OrNull;
  64654. if (t2 == null)
  64655. t2 = 0;
  64656. if (_this._isChannelInGamut$2(t2, t1[1])) {
  64657. t2 = _this.channel2OrNull;
  64658. if (t2 == null)
  64659. t2 = 0;
  64660. t1 = _this._isChannelInGamut$2(t2, t1[2]);
  64661. } else
  64662. t1 = t3;
  64663. } else
  64664. t1 = t3;
  64665. return t1;
  64666. },
  64667. _isChannelInGamut$2(value, channel) {
  64668. var min, max, t1;
  64669. $label0$0: {
  64670. if (channel instanceof A.LinearChannel) {
  64671. min = channel.min;
  64672. max = channel.max;
  64673. if (value < max || A.fuzzyEquals(value, max))
  64674. t1 = value > min || A.fuzzyEquals(value, min);
  64675. else
  64676. t1 = false;
  64677. break $label0$0;
  64678. }
  64679. t1 = true;
  64680. break $label0$0;
  64681. }
  64682. return t1;
  64683. },
  64684. accept$1$1(visitor) {
  64685. return visitor.visitColor$1(this);
  64686. },
  64687. accept$1(visitor) {
  64688. return this.accept$1$1(visitor, type$.dynamic);
  64689. },
  64690. assertColor$1($name) {
  64691. return this;
  64692. },
  64693. assertLegacy$1($name) {
  64694. if (this._space.get$isLegacyInternal())
  64695. return;
  64696. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + string$.x20to_be, $name));
  64697. },
  64698. channel$1(_, channel) {
  64699. var t1, _this = this,
  64700. channels = _this._space._channels;
  64701. if (channel === channels[0].name) {
  64702. t1 = _this.channel0OrNull;
  64703. return t1 == null ? 0 : t1;
  64704. }
  64705. if (channel === channels[1].name) {
  64706. t1 = _this.channel1OrNull;
  64707. return t1 == null ? 0 : t1;
  64708. }
  64709. if (channel === channels[2].name) {
  64710. t1 = _this.channel2OrNull;
  64711. return t1 == null ? 0 : t1;
  64712. }
  64713. if (channel === "alpha") {
  64714. t1 = _this.alphaOrNull;
  64715. return t1 == null ? 0 : t1;
  64716. }
  64717. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', null));
  64718. },
  64719. isChannelMissing$3$channelName$colorName(channel, channelName, colorName) {
  64720. var _this = this,
  64721. channels = _this._space._channels;
  64722. if (channel === channels[0].name)
  64723. return _this.channel0OrNull == null;
  64724. if (channel === channels[1].name)
  64725. return _this.channel1OrNull == null;
  64726. if (channel === channels[2].name)
  64727. return _this.channel2OrNull == null;
  64728. if (channel === "alpha")
  64729. return _this.alphaOrNull == null;
  64730. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  64731. },
  64732. isChannelMissing$1(channel) {
  64733. return this.isChannelMissing$3$channelName$colorName(channel, null, null);
  64734. },
  64735. isChannelPowerless$3$channelName$colorName(channel, channelName, colorName) {
  64736. var _this = this,
  64737. channels = _this._space._channels;
  64738. if (channel === channels[0].name)
  64739. return _this.get$isChannel0Powerless();
  64740. if (channel === channels[1].name)
  64741. return false;
  64742. if (channel === channels[2].name)
  64743. return _this.get$isChannel2Powerless();
  64744. if (channel === "alpha")
  64745. return false;
  64746. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  64747. },
  64748. _legacyChannel$2(space, channel) {
  64749. if (!this._space.get$isLegacyInternal())
  64750. throw A.wrapException(A.SassScriptException$("color." + channel + string$.x28__is_oc, null));
  64751. return this.toSpace$1(space).channel$1(0, channel);
  64752. },
  64753. toSpace$2$legacyMissing(space, legacyMissing) {
  64754. var t2, converted, t3, t4, _this = this,
  64755. t1 = _this._space;
  64756. if (t1 === space)
  64757. return _this;
  64758. t2 = _this.alphaOrNull;
  64759. if (t2 == null)
  64760. t2 = 0;
  64761. converted = t1.convert$5(space, _this.channel0OrNull, _this.channel1OrNull, _this.channel2OrNull, t2);
  64762. t1 = false;
  64763. if (!legacyMissing)
  64764. if (converted._space.get$isLegacyInternal())
  64765. t1 = converted.channel0OrNull == null || converted.channel1OrNull == null || converted.channel2OrNull == null || converted.alphaOrNull == null;
  64766. if (t1) {
  64767. t1 = converted.channel0OrNull;
  64768. if (t1 == null)
  64769. t1 = 0;
  64770. t2 = converted.channel1OrNull;
  64771. if (t2 == null)
  64772. t2 = 0;
  64773. t3 = converted.channel2OrNull;
  64774. if (t3 == null)
  64775. t3 = 0;
  64776. t4 = converted.alphaOrNull;
  64777. if (t4 == null)
  64778. t4 = 0;
  64779. t4 = A.SassColor_SassColor$forSpaceInternal(converted._space, t1, t2, t3, t4);
  64780. t1 = t4;
  64781. } else
  64782. t1 = converted;
  64783. return t1;
  64784. },
  64785. toSpace$1(space) {
  64786. return this.toSpace$2$legacyMissing(space, true);
  64787. },
  64788. changeHsl$3$hue$lightness$saturation(hue, lightness, saturation) {
  64789. var t2, t3, t4, t5, _this = this, _null = null,
  64790. t1 = _this._space;
  64791. if (!t1.get$isLegacyInternal())
  64792. throw A.wrapException(A.SassScriptException$(string$.color_c, _null));
  64793. t2 = hue == null ? _null : hue;
  64794. if (t2 == null)
  64795. t2 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  64796. t3 = saturation == null ? _null : saturation;
  64797. if (t3 == null)
  64798. t3 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  64799. t4 = lightness == null ? _null : lightness;
  64800. if (t4 == null)
  64801. t4 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  64802. t5 = _this.alphaOrNull;
  64803. if (t5 == null)
  64804. t5 = 0;
  64805. return A.SassColor_SassColor$hsl(t2, t3, t4, t5).toSpace$1(t1);
  64806. },
  64807. changeHsl$1$saturation(saturation) {
  64808. return this.changeHsl$3$hue$lightness$saturation(null, null, saturation);
  64809. },
  64810. changeHsl$1$lightness(lightness) {
  64811. return this.changeHsl$3$hue$lightness$saturation(null, lightness, null);
  64812. },
  64813. changeHsl$1$hue(hue) {
  64814. return this.changeHsl$3$hue$lightness$saturation(hue, null, null);
  64815. },
  64816. changeAlpha$1(alpha) {
  64817. var t2, t3, _this = this,
  64818. t1 = _this.channel0OrNull;
  64819. if (t1 == null)
  64820. t1 = 0;
  64821. t2 = _this.channel1OrNull;
  64822. if (t2 == null)
  64823. t2 = 0;
  64824. t3 = _this.channel2OrNull;
  64825. if (t3 == null)
  64826. t3 = 0;
  64827. return A.SassColor_SassColor$forSpaceInternal(_this._space, t1, t2, t3, alpha);
  64828. },
  64829. interpolate$4$legacyMissing$weight(other, method, legacyMissing, weight) {
  64830. 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;
  64831. if (A.fuzzyEquals(weight, 0))
  64832. return other;
  64833. if (A.fuzzyEquals(weight, 1))
  64834. return _this;
  64835. t1 = method.space;
  64836. color1 = _this.toSpace$1(t1);
  64837. color2 = other.toSpace$1(t1);
  64838. if (weight < 0 || weight > 1)
  64839. throw A.wrapException(A.RangeError$range(weight, 0, 1, "weight", _null));
  64840. missing1_0 = _this._isAnalogousChannelMissing$3(_this, color1, 0);
  64841. missing1_1 = _this._isAnalogousChannelMissing$3(_this, color1, 1);
  64842. missing1_2 = _this._isAnalogousChannelMissing$3(_this, color1, 2);
  64843. missing2_0 = _this._isAnalogousChannelMissing$3(other, color2, 0);
  64844. missing2_1 = _this._isAnalogousChannelMissing$3(other, color2, 1);
  64845. missing2_2 = _this._isAnalogousChannelMissing$3(other, color2, 2);
  64846. channel1_0 = (missing1_0 ? color2 : color1).channel0OrNull;
  64847. if (channel1_0 == null)
  64848. channel1_0 = 0;
  64849. channel1_1 = (missing1_1 ? color2 : color1).channel1OrNull;
  64850. if (channel1_1 == null)
  64851. channel1_1 = 0;
  64852. channel1_2 = (missing1_2 ? color2 : color1).channel2OrNull;
  64853. if (channel1_2 == null)
  64854. channel1_2 = 0;
  64855. channel2_0 = (missing2_0 ? color1 : color2).channel0OrNull;
  64856. if (channel2_0 == null)
  64857. channel2_0 = 0;
  64858. channel2_1 = (missing2_1 ? color1 : color2).channel1OrNull;
  64859. if (channel2_1 == null)
  64860. channel2_1 = 0;
  64861. channel2_2 = (missing2_2 ? color1 : color2).channel2OrNull;
  64862. if (channel2_2 == null)
  64863. channel2_2 = 0;
  64864. alpha1 = _this.alphaOrNull;
  64865. t2 = alpha1 == null;
  64866. if (t2) {
  64867. t3 = other.alphaOrNull;
  64868. alpha10 = t3 == null ? 0 : t3;
  64869. } else
  64870. alpha10 = alpha1;
  64871. alpha2 = other.alphaOrNull;
  64872. t3 = alpha2 == null;
  64873. if (t3)
  64874. alpha20 = t2 ? 0 : alpha1;
  64875. else
  64876. alpha20 = alpha2;
  64877. thisMultiplier = (t2 ? 1 : alpha1) * weight;
  64878. t4 = t3 ? 1 : alpha2;
  64879. t5 = 1 - weight;
  64880. otherMultiplier = t4 * t5;
  64881. mixedAlpha = t2 && t3 ? _null : alpha10 * weight + alpha20 * t5;
  64882. if (missing1_0 && missing2_0)
  64883. mixed0 = _null;
  64884. else {
  64885. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  64886. mixed0 = (channel1_0 * thisMultiplier + channel2_0 * otherMultiplier) / t2;
  64887. }
  64888. if (missing1_1 && missing2_1)
  64889. mixed1 = _null;
  64890. else {
  64891. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  64892. mixed1 = (channel1_1 * thisMultiplier + channel2_1 * otherMultiplier) / t2;
  64893. }
  64894. if (missing1_2 && missing2_2)
  64895. mixed2 = _null;
  64896. else {
  64897. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  64898. mixed2 = (channel1_2 * thisMultiplier + channel2_2 * otherMultiplier) / t2;
  64899. }
  64900. $label0$0: {
  64901. if (B.HslColorSpace_JQ2 === t1 || B.HwbColorSpace_guQ === t1) {
  64902. if (missing1_0 && missing2_0)
  64903. t2 = _null;
  64904. else {
  64905. t2 = method.hue;
  64906. t2.toString;
  64907. t2 = _this._interpolateHues$4(channel1_0, channel2_0, t2, weight);
  64908. }
  64909. t2 = A.SassColor_SassColor$forSpaceInternal(t1, t2, mixed1, mixed2, mixedAlpha);
  64910. t1 = t2;
  64911. break $label0$0;
  64912. }
  64913. if (B.LchColorSpace_Bpv === t1 || B.OklchColorSpace_9Gj === t1) {
  64914. if (missing1_2 && missing2_2)
  64915. t2 = _null;
  64916. else {
  64917. t2 = method.hue;
  64918. t2.toString;
  64919. t2 = _this._interpolateHues$4(channel1_2, channel2_2, t2, weight);
  64920. }
  64921. t2 = A.SassColor_SassColor$forSpaceInternal(t1, mixed0, mixed1, t2, mixedAlpha);
  64922. t1 = t2;
  64923. break $label0$0;
  64924. }
  64925. t1 = A.SassColor_SassColor$forSpaceInternal(t1, mixed0, mixed1, mixed2, mixedAlpha);
  64926. break $label0$0;
  64927. }
  64928. return t1.toSpace$2$legacyMissing(_this._space, false);
  64929. },
  64930. _isAnalogousChannelMissing$3(original, output, outputChannelIndex) {
  64931. var originalChannel;
  64932. if (output.get$channelsOrNull()[outputChannelIndex] == null)
  64933. return true;
  64934. if (original === output)
  64935. return false;
  64936. originalChannel = A.IterableExtension_firstWhereOrNull(original._space._channels, output._space._channels[outputChannelIndex].get$isAnalogous());
  64937. if (originalChannel == null)
  64938. return false;
  64939. return original.isChannelMissing$1(originalChannel.name);
  64940. },
  64941. _interpolateHues$4(hue1, hue2, method, weight) {
  64942. var _0_0, _1_0;
  64943. $label1$1: {
  64944. if (B.HueInterpolationMethod_0 === method) {
  64945. $label0$0: {
  64946. _0_0 = hue2 - hue1;
  64947. if (_0_0 > 180) {
  64948. hue1 += 360;
  64949. break $label0$0;
  64950. }
  64951. if (_0_0 < -180)
  64952. hue2 += 360;
  64953. }
  64954. break $label1$1;
  64955. }
  64956. if (B.HueInterpolationMethod_1 === method) {
  64957. $label2$2: {
  64958. _1_0 = hue2 - hue1;
  64959. if (_1_0 > 0 && _1_0 < 180) {
  64960. hue2 += 360;
  64961. break $label2$2;
  64962. }
  64963. if (_1_0 > -180 && _1_0 <= 0)
  64964. hue1 += 360;
  64965. }
  64966. break $label1$1;
  64967. }
  64968. if (B.HueInterpolationMethod_2 === method && hue2 < hue1) {
  64969. hue2 += 360;
  64970. break $label1$1;
  64971. }
  64972. if (B.HueInterpolationMethod_3 === method && hue1 < hue2) {
  64973. hue1 += 360;
  64974. break $label1$1;
  64975. }
  64976. }
  64977. return hue1 * weight + hue2 * (1 - weight);
  64978. },
  64979. plus$1(other) {
  64980. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  64981. return this.super$Value$plus(other);
  64982. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  64983. },
  64984. minus$1(other) {
  64985. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  64986. return this.super$Value$minus(other);
  64987. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  64988. },
  64989. dividedBy$1(other) {
  64990. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  64991. return this.super$Value$dividedBy(other);
  64992. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  64993. },
  64994. $eq(_, other) {
  64995. var t1, t2, _this = this;
  64996. if (other == null)
  64997. return false;
  64998. if (!(other instanceof A.SassColor))
  64999. return false;
  65000. t1 = _this._space;
  65001. if (t1.get$isLegacyInternal()) {
  65002. t2 = other._space;
  65003. if (!t2.get$isLegacyInternal())
  65004. return false;
  65005. if (!A.fuzzyEqualsNullable(_this.alphaOrNull, other.alphaOrNull))
  65006. return false;
  65007. if (t1 === t2)
  65008. return A.fuzzyEqualsNullable(_this.channel0OrNull, other.channel0OrNull) && A.fuzzyEqualsNullable(_this.channel1OrNull, other.channel1OrNull) && A.fuzzyEqualsNullable(_this.channel2OrNull, other.channel2OrNull);
  65009. else
  65010. return _this.toSpace$1(B.RgbColorSpace_i0P).$eq(0, other.toSpace$1(B.RgbColorSpace_i0P));
  65011. }
  65012. 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);
  65013. },
  65014. get$hashCode(_) {
  65015. var rgb, t2, t3, t4, t5, _this = this,
  65016. t1 = _this._space;
  65017. if (t1.get$isLegacyInternal()) {
  65018. rgb = _this.toSpace$1(B.RgbColorSpace_i0P);
  65019. t1 = rgb.channel0OrNull;
  65020. t1 = A.fuzzyHashCode(t1 == null ? 0 : t1);
  65021. t2 = rgb.channel1OrNull;
  65022. t2 = A.fuzzyHashCode(t2 == null ? 0 : t2);
  65023. t3 = rgb.channel2OrNull;
  65024. t3 = A.fuzzyHashCode(t3 == null ? 0 : t3);
  65025. t4 = _this.alphaOrNull;
  65026. return t1 ^ t2 ^ t3 ^ A.fuzzyHashCode(t4 == null ? 0 : t4);
  65027. } else {
  65028. t1 = A.Primitives_objectHashCode(t1);
  65029. t2 = _this.channel0OrNull;
  65030. t2 = A.fuzzyHashCode(t2 == null ? 0 : t2);
  65031. t3 = _this.channel1OrNull;
  65032. t3 = A.fuzzyHashCode(t3 == null ? 0 : t3);
  65033. t4 = _this.channel2OrNull;
  65034. t4 = A.fuzzyHashCode(t4 == null ? 0 : t4);
  65035. t5 = _this.alphaOrNull;
  65036. return (t1 ^ t2 ^ t3 ^ t4 ^ A.fuzzyHashCode(t5 == null ? 0 : t5)) >>> 0;
  65037. }
  65038. }
  65039. };
  65040. A.SassColor$_forSpace_closure.prototype = {
  65041. call$1(alpha) {
  65042. return A.fuzzyAssertRange(alpha, 0, 1, "alpha");
  65043. },
  65044. $signature: 16
  65045. };
  65046. A._ColorFormatEnum.prototype = {
  65047. toString$0(_) {
  65048. return "rgbFunction";
  65049. }
  65050. };
  65051. A.SpanColorFormat.prototype = {};
  65052. A.ColorChannel.prototype = {
  65053. isAnalogous$1(other) {
  65054. var _0_6_isSet, t1, _0_60, t2, _0_6_isSet0,
  65055. _0_1 = this.name,
  65056. _0_6 = other.name;
  65057. $label0$0: {
  65058. if ("red" !== _0_1)
  65059. _0_6_isSet = "x" === _0_1;
  65060. else
  65061. _0_6_isSet = true;
  65062. if (_0_6_isSet) {
  65063. if ("red" !== _0_6)
  65064. t1 = "x" === _0_6;
  65065. else
  65066. t1 = true;
  65067. _0_60 = _0_6;
  65068. } else {
  65069. _0_60 = null;
  65070. t1 = false;
  65071. }
  65072. t2 = true;
  65073. if (!t1) {
  65074. if ("green" !== _0_1)
  65075. t1 = "y" === _0_1;
  65076. else
  65077. t1 = true;
  65078. if (t1) {
  65079. _0_6_isSet0 = true;
  65080. if (_0_6_isSet)
  65081. t1 = _0_60;
  65082. else {
  65083. t1 = _0_6;
  65084. _0_6_isSet = _0_6_isSet0;
  65085. _0_60 = t1;
  65086. }
  65087. if ("green" !== t1) {
  65088. if (_0_6_isSet)
  65089. t1 = _0_60;
  65090. else {
  65091. t1 = _0_6;
  65092. _0_6_isSet = _0_6_isSet0;
  65093. _0_60 = t1;
  65094. }
  65095. t1 = "y" === t1;
  65096. } else
  65097. t1 = true;
  65098. } else
  65099. t1 = false;
  65100. if (!t1) {
  65101. if ("blue" !== _0_1)
  65102. t1 = "z" === _0_1;
  65103. else
  65104. t1 = true;
  65105. if (t1) {
  65106. _0_6_isSet0 = true;
  65107. if (_0_6_isSet)
  65108. t1 = _0_60;
  65109. else {
  65110. t1 = _0_6;
  65111. _0_6_isSet = _0_6_isSet0;
  65112. _0_60 = t1;
  65113. }
  65114. if ("blue" !== t1) {
  65115. if (_0_6_isSet)
  65116. t1 = _0_60;
  65117. else {
  65118. t1 = _0_6;
  65119. _0_6_isSet = _0_6_isSet0;
  65120. _0_60 = t1;
  65121. }
  65122. t1 = "z" === t1;
  65123. } else
  65124. t1 = true;
  65125. } else
  65126. t1 = false;
  65127. if (!t1) {
  65128. if ("chroma" !== _0_1)
  65129. t1 = "saturation" === _0_1;
  65130. else
  65131. t1 = true;
  65132. if (t1) {
  65133. _0_6_isSet0 = true;
  65134. if (_0_6_isSet)
  65135. t1 = _0_60;
  65136. else {
  65137. t1 = _0_6;
  65138. _0_6_isSet = _0_6_isSet0;
  65139. _0_60 = t1;
  65140. }
  65141. if ("chroma" !== t1) {
  65142. if (_0_6_isSet)
  65143. t1 = _0_60;
  65144. else {
  65145. t1 = _0_6;
  65146. _0_6_isSet = _0_6_isSet0;
  65147. _0_60 = t1;
  65148. }
  65149. t1 = "saturation" === t1;
  65150. } else
  65151. t1 = true;
  65152. } else
  65153. t1 = false;
  65154. if (!t1) {
  65155. if ("lightness" === _0_1) {
  65156. if (_0_6_isSet)
  65157. t1 = _0_60;
  65158. else {
  65159. t1 = _0_6;
  65160. _0_60 = t1;
  65161. _0_6_isSet = true;
  65162. }
  65163. t1 = "lightness" === t1;
  65164. } else
  65165. t1 = false;
  65166. if (!t1)
  65167. if ("hue" === _0_1)
  65168. t1 = "hue" === (_0_6_isSet ? _0_60 : _0_6);
  65169. else
  65170. t1 = false;
  65171. else
  65172. t1 = t2;
  65173. } else
  65174. t1 = t2;
  65175. } else
  65176. t1 = t2;
  65177. } else
  65178. t1 = t2;
  65179. } else
  65180. t1 = t2;
  65181. if (t1)
  65182. break $label0$0;
  65183. break $label0$0;
  65184. }
  65185. return t1;
  65186. }
  65187. };
  65188. A.LinearChannel.prototype = {};
  65189. A.GamutMapMethod.prototype = {
  65190. toString$0(_) {
  65191. return this.name;
  65192. }
  65193. };
  65194. A.ClipGamutMap.prototype = {
  65195. map$1(_, color) {
  65196. var t1 = color._space,
  65197. t2 = t1._channels;
  65198. 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);
  65199. },
  65200. _clampChannel$2(value, channel) {
  65201. var t1, min;
  65202. if (value == null)
  65203. t1 = null;
  65204. else
  65205. $label0$0: {
  65206. if (channel instanceof A.LinearChannel) {
  65207. min = channel.min;
  65208. t1 = isNaN(value) ? min : B.JSNumber_methods.clamp$2(value, min, channel.max);
  65209. break $label0$0;
  65210. }
  65211. t1 = value;
  65212. break $label0$0;
  65213. }
  65214. return t1;
  65215. }
  65216. };
  65217. A.LocalMindeGamutMap.prototype = {
  65218. map$1(_, color) {
  65219. var clipped, max, min, minInGamut, chroma, current, e,
  65220. originOklch = color.toSpace$1(B.OklchColorSpace_9Gj),
  65221. lightness = originOklch.channel0OrNull,
  65222. hue = originOklch.channel2OrNull,
  65223. alpha = originOklch.alphaOrNull,
  65224. t1 = lightness == null,
  65225. t2 = t1 ? 0 : lightness;
  65226. if (t2 > 1 || A.fuzzyEquals(t2, 1)) {
  65227. t1 = color._space;
  65228. t2 = color.alphaOrNull;
  65229. 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);
  65230. } else {
  65231. t1 = t1 ? 0 : lightness;
  65232. if (t1 < 0 || A.fuzzyEquals(t1, 0))
  65233. return A.SassColor_SassColor$rgbInternal(0, 0, 0, color.alphaOrNull, null).toSpace$1(color._space);
  65234. }
  65235. clipped = color.get$isInGamut() ? color : B.ClipGamutMap_clip.map$1(0, color);
  65236. if (this._deltaEOK$2(clipped, color) < 0.02)
  65237. return clipped;
  65238. max = originOklch.channel1OrNull;
  65239. if (max == null)
  65240. max = 0;
  65241. for (t1 = color._space, min = 0, minInGamut = true; max - min > 0.0001;) {
  65242. chroma = (min + max) / 2;
  65243. current = B.OklchColorSpace_9Gj.convert$5(t1, lightness, chroma, hue, alpha);
  65244. if (minInGamut && current.get$isInGamut()) {
  65245. min = chroma;
  65246. continue;
  65247. }
  65248. clipped = current.get$isInGamut() ? current : B.ClipGamutMap_clip.map$1(0, current);
  65249. e = this._deltaEOK$2(clipped, current);
  65250. if (e < 0.02) {
  65251. if (0.02 - e < 0.0001)
  65252. return clipped;
  65253. min = chroma;
  65254. minInGamut = false;
  65255. } else
  65256. max = chroma;
  65257. }
  65258. return clipped;
  65259. },
  65260. _deltaEOK$2(color1, color2) {
  65261. var t2, t3, t4,
  65262. lab1 = color1.toSpace$1(B.OklabColorSpace_540),
  65263. lab2 = color2.toSpace$1(B.OklabColorSpace_540),
  65264. t1 = lab1.channel0OrNull;
  65265. if (t1 == null)
  65266. t1 = 0;
  65267. t2 = lab2.channel0OrNull;
  65268. t1 = Math.pow(t1 - (t2 == null ? 0 : t2), 2);
  65269. t2 = lab1.channel1OrNull;
  65270. if (t2 == null)
  65271. t2 = 0;
  65272. t3 = lab2.channel1OrNull;
  65273. t2 = Math.pow(t2 - (t3 == null ? 0 : t3), 2);
  65274. t3 = lab1.channel2OrNull;
  65275. if (t3 == null)
  65276. t3 = 0;
  65277. t4 = lab2.channel2OrNull;
  65278. return Math.sqrt(t1 + t2 + Math.pow(t3 - (t4 == null ? 0 : t4), 2));
  65279. }
  65280. };
  65281. A.InterpolationMethod.prototype = {
  65282. toString$0(_) {
  65283. var t1 = this.hue;
  65284. t1 = t1 == null ? "" : " " + t1.toString$0(0) + " hue";
  65285. return this.space.name + t1;
  65286. }
  65287. };
  65288. A.HueInterpolationMethod.prototype = {
  65289. _enumToString$0() {
  65290. return "HueInterpolationMethod." + this._name;
  65291. }
  65292. };
  65293. A.ColorSpace.prototype = {
  65294. get$isLegacyInternal() {
  65295. return false;
  65296. },
  65297. get$isPolarInternal() {
  65298. return false;
  65299. },
  65300. convert$5(dest, channel0, channel1, channel2, alpha) {
  65301. return this.convertLinear$5(dest, channel0, channel1, channel2, alpha);
  65302. },
  65303. convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  65304. var t1, t2, transformedBlue, transformedGreen, transformedRed, linearRed, linearGreen, linearBlue, matrix, _this = this;
  65305. $label0$0: {
  65306. t1 = B.HslColorSpace_JQ2 !== dest;
  65307. if (!t1 || B.HwbColorSpace_guQ === dest) {
  65308. t2 = B.SrgbColorSpace_thf;
  65309. break $label0$0;
  65310. }
  65311. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  65312. t2 = B.XyzD50ColorSpace_2OB;
  65313. break $label0$0;
  65314. }
  65315. if (B.OklabColorSpace_540 === dest || B.OklchColorSpace_9Gj === dest) {
  65316. t2 = B.LmsColorSpace_Os3;
  65317. break $label0$0;
  65318. }
  65319. t2 = dest;
  65320. break $label0$0;
  65321. }
  65322. if (t2 === _this) {
  65323. transformedBlue = blue;
  65324. transformedGreen = green;
  65325. transformedRed = red;
  65326. } else {
  65327. linearRed = _this.toLinear$1(red == null ? 0 : red);
  65328. linearGreen = _this.toLinear$1(green == null ? 0 : green);
  65329. linearBlue = _this.toLinear$1(blue == null ? 0 : blue);
  65330. matrix = _this.transformationMatrix$1(t2);
  65331. transformedRed = t2.fromLinear$1(matrix[0] * linearRed + matrix[1] * linearGreen + matrix[2] * linearBlue);
  65332. transformedGreen = t2.fromLinear$1(matrix[3] * linearRed + matrix[4] * linearGreen + matrix[5] * linearBlue);
  65333. transformedBlue = t2.fromLinear$1(matrix[6] * linearRed + matrix[7] * linearGreen + matrix[8] * linearBlue);
  65334. }
  65335. $label1$1: {
  65336. if (!t1 || B.HwbColorSpace_guQ === dest) {
  65337. t1 = B.SrgbColorSpace_thf.convert$8$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingChroma, missingHue, missingLightness);
  65338. break $label1$1;
  65339. }
  65340. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  65341. t1 = B.XyzD50ColorSpace_2OB.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65342. break $label1$1;
  65343. }
  65344. if (B.OklabColorSpace_540 === dest || B.OklchColorSpace_9Gj === dest) {
  65345. t1 = B.LmsColorSpace_Os3.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65346. break $label1$1;
  65347. }
  65348. t1 = red == null ? null : transformedRed;
  65349. t2 = green == null ? null : transformedGreen;
  65350. t1 = A.SassColor_SassColor$forSpaceInternal(dest, t1, t2, blue == null ? null : transformedBlue, alpha);
  65351. break $label1$1;
  65352. }
  65353. return t1;
  65354. },
  65355. convertLinear$5(dest, red, green, blue, alpha) {
  65356. return this.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false, false, false);
  65357. },
  65358. toLinear$1(channel) {
  65359. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  65360. },
  65361. fromLinear$1(channel) {
  65362. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  65363. },
  65364. transformationMatrix$1(dest) {
  65365. return A.throwExpression(A.UnimplementedError$("[BUG] Color space conversion from " + this.toString$0(0) + " to " + dest.toString$0(0) + " not implemented."));
  65366. },
  65367. toString$0(_) {
  65368. return this.name;
  65369. }
  65370. };
  65371. A.A98RgbColorSpace.prototype = {
  65372. get$isBoundedInternal() {
  65373. return true;
  65374. },
  65375. toLinear$1(channel) {
  65376. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 2.19921875);
  65377. },
  65378. fromLinear$1(channel) {
  65379. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 0.4547069271758437);
  65380. },
  65381. transformationMatrix$1(dest) {
  65382. var t1;
  65383. $label0$0: {
  65384. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65385. t1 = $.$get$linearA98RgbToLinearSrgb();
  65386. break $label0$0;
  65387. }
  65388. if (B.DisplayP3ColorSpace_MmT === dest) {
  65389. t1 = $.$get$linearA98RgbToLinearDisplayP3();
  65390. break $label0$0;
  65391. }
  65392. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65393. t1 = $.$get$linearA98RgbToLinearProphotoRgb();
  65394. break $label0$0;
  65395. }
  65396. if (B.Rec2020ColorSpace_6oo === dest) {
  65397. t1 = $.$get$linearA98RgbToLinearRec2020();
  65398. break $label0$0;
  65399. }
  65400. if (B.XyzD65ColorSpace_WiJ === dest) {
  65401. t1 = $.$get$linearA98RgbToXyzD65();
  65402. break $label0$0;
  65403. }
  65404. if (B.XyzD50ColorSpace_2OB === dest) {
  65405. t1 = $.$get$linearA98RgbToXyzD50();
  65406. break $label0$0;
  65407. }
  65408. if (B.LmsColorSpace_Os3 === dest) {
  65409. t1 = $.$get$linearA98RgbToLms();
  65410. break $label0$0;
  65411. }
  65412. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65413. break $label0$0;
  65414. }
  65415. return t1;
  65416. }
  65417. };
  65418. A.DisplayP3ColorSpace.prototype = {
  65419. get$isBoundedInternal() {
  65420. return true;
  65421. },
  65422. toLinear$1(channel) {
  65423. return A.srgbAndDisplayP3ToLinear(channel);
  65424. },
  65425. fromLinear$1(channel) {
  65426. return A.srgbAndDisplayP3FromLinear(channel);
  65427. },
  65428. transformationMatrix$1(dest) {
  65429. var t1;
  65430. $label0$0: {
  65431. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65432. t1 = $.$get$linearDisplayP3ToLinearSrgb();
  65433. break $label0$0;
  65434. }
  65435. if (B.A98RgbColorSpace_lf2 === dest) {
  65436. t1 = $.$get$linearDisplayP3ToLinearA98Rgb();
  65437. break $label0$0;
  65438. }
  65439. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65440. t1 = $.$get$linearDisplayP3ToLinearProphotoRgb();
  65441. break $label0$0;
  65442. }
  65443. if (B.Rec2020ColorSpace_6oo === dest) {
  65444. t1 = $.$get$linearDisplayP3ToLinearRec2020();
  65445. break $label0$0;
  65446. }
  65447. if (B.XyzD65ColorSpace_WiJ === dest) {
  65448. t1 = $.$get$linearDisplayP3ToXyzD65();
  65449. break $label0$0;
  65450. }
  65451. if (B.XyzD50ColorSpace_2OB === dest) {
  65452. t1 = $.$get$linearDisplayP3ToXyzD50();
  65453. break $label0$0;
  65454. }
  65455. if (B.LmsColorSpace_Os3 === dest) {
  65456. t1 = $.$get$linearDisplayP3ToLms();
  65457. break $label0$0;
  65458. }
  65459. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65460. break $label0$0;
  65461. }
  65462. return t1;
  65463. }
  65464. };
  65465. A.HslColorSpace.prototype = {
  65466. get$isBoundedInternal() {
  65467. return true;
  65468. },
  65469. get$isLegacyInternal() {
  65470. return true;
  65471. },
  65472. get$isPolarInternal() {
  65473. return true;
  65474. },
  65475. convert$5(dest, hue, saturation, lightness, alpha) {
  65476. var t1 = hue == null,
  65477. scaledHue = B.JSNumber_methods.$mod((t1 ? 0 : hue) / 360, 1),
  65478. t2 = saturation == null,
  65479. scaledSaturation = (t2 ? 0 : saturation) / 100,
  65480. t3 = lightness == null,
  65481. scaledLightness = (t3 ? 0 : lightness) / 100,
  65482. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  65483. m1 = scaledLightness * 2 - m2;
  65484. 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);
  65485. }
  65486. };
  65487. A.HwbColorSpace.prototype = {
  65488. get$isBoundedInternal() {
  65489. return true;
  65490. },
  65491. get$isLegacyInternal() {
  65492. return true;
  65493. },
  65494. get$isPolarInternal() {
  65495. return true;
  65496. },
  65497. convert$5(dest, hue, whiteness, blackness, alpha) {
  65498. var t3, t1 = {},
  65499. t2 = hue == null,
  65500. scaledHue = B.JSNumber_methods.$mod(t2 ? 0 : hue, 360) / 360,
  65501. scaledWhiteness = t1.scaledWhiteness = (whiteness == null ? 0 : whiteness) / 100,
  65502. scaledBlackness = (blackness == null ? 0 : blackness) / 100,
  65503. sum = scaledWhiteness + scaledBlackness;
  65504. if (sum > 1) {
  65505. t3 = t1.scaledWhiteness = scaledWhiteness / sum;
  65506. scaledBlackness /= sum;
  65507. } else
  65508. t3 = scaledWhiteness;
  65509. t3 = new A.HwbColorSpace_convert_toRgb(t1, 1 - t3 - scaledBlackness);
  65510. 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);
  65511. }
  65512. };
  65513. A.HwbColorSpace_convert_toRgb.prototype = {
  65514. call$1(hue) {
  65515. return A.hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness;
  65516. },
  65517. $signature: 16
  65518. };
  65519. A.LabColorSpace.prototype = {
  65520. get$isBoundedInternal() {
  65521. return false;
  65522. },
  65523. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  65524. var powerlessAB, t1, missingLightness, f1, t2, t3, t4;
  65525. switch (dest) {
  65526. case B.LabColorSpace_2nT:
  65527. powerlessAB = lightness == null || A.fuzzyEquals(lightness, 0);
  65528. t1 = a == null || powerlessAB ? null : a;
  65529. return A.SassColor$_forSpace(B.LabColorSpace_2nT, lightness, t1, b == null || powerlessAB ? null : b, alpha, null);
  65530. case B.LchColorSpace_Bpv:
  65531. return A.labToLch(dest, lightness, a, b, alpha, false, false);
  65532. default:
  65533. missingLightness = lightness == null;
  65534. if (missingLightness)
  65535. lightness = 0;
  65536. f1 = (lightness + 16) / 116;
  65537. t1 = a == null;
  65538. t2 = this._convertFToXorZ$1((t1 ? 0 : a) / 500 + f1);
  65539. t3 = lightness > 8 ? Math.pow(f1, 3) : lightness / 903.2962962962963;
  65540. t4 = b == null;
  65541. 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);
  65542. }
  65543. },
  65544. convert$5(dest, lightness, a, b, alpha) {
  65545. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  65546. },
  65547. _convertFToXorZ$1(component) {
  65548. var cubed = Math.pow(component, 3) + 0;
  65549. return cubed > 0.008856451679035631 ? cubed : (116 * component - 16) / 903.2962962962963;
  65550. }
  65551. };
  65552. A.LchColorSpace.prototype = {
  65553. get$isBoundedInternal() {
  65554. return false;
  65555. },
  65556. get$isPolarInternal() {
  65557. return true;
  65558. },
  65559. convert$5(dest, lightness, chroma, hue, alpha) {
  65560. var t1 = hue == null,
  65561. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  65562. t2 = chroma == null,
  65563. t3 = t2 ? 0 : chroma,
  65564. t4 = Math.cos(hueRadians),
  65565. t5 = t2 ? 0 : chroma;
  65566. return B.LabColorSpace_2nT.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  65567. }
  65568. };
  65569. A.LmsColorSpace.prototype = {
  65570. get$isBoundedInternal() {
  65571. return false;
  65572. },
  65573. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  65574. var t1, longScaled, mediumScaled, shortScaled, lightness, t2, t3, _null = null;
  65575. switch (dest) {
  65576. case B.OklabColorSpace_540:
  65577. t1 = long == null ? 0 : long;
  65578. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65579. t1 = medium == null ? 0 : medium;
  65580. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65581. t1 = short == null ? 0 : short;
  65582. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65583. t1 = $.$get$lmsToOklab();
  65584. lightness = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  65585. t2 = missingLightness ? _null : lightness;
  65586. t3 = missingA ? _null : t1[3] * longScaled + t1[4] * mediumScaled + t1[5] * shortScaled;
  65587. return A.SassColor$_forSpace(B.OklabColorSpace_540, t2, t3, missingB ? _null : t1[6] * longScaled + t1[7] * mediumScaled + t1[8] * shortScaled, alpha, _null);
  65588. case B.OklchColorSpace_9Gj:
  65589. t1 = long == null ? 0 : long;
  65590. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65591. t1 = medium == null ? 0 : medium;
  65592. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65593. t1 = short == null ? 0 : short;
  65594. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65595. if (missingLightness)
  65596. t1 = _null;
  65597. else {
  65598. t1 = $.$get$lmsToOklab();
  65599. t1 = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  65600. }
  65601. t2 = $.$get$lmsToOklab();
  65602. 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);
  65603. default:
  65604. return this.super$ColorSpace$convertLinear(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65605. }
  65606. },
  65607. convert$5(dest, long, medium, short, alpha) {
  65608. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, false, false, false, false, false);
  65609. },
  65610. toLinear$1(channel) {
  65611. return channel;
  65612. },
  65613. fromLinear$1(channel) {
  65614. return channel;
  65615. },
  65616. transformationMatrix$1(dest) {
  65617. var t1;
  65618. $label0$0: {
  65619. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65620. t1 = $.$get$lmsToLinearSrgb();
  65621. break $label0$0;
  65622. }
  65623. if (B.A98RgbColorSpace_lf2 === dest) {
  65624. t1 = $.$get$lmsToLinearA98Rgb();
  65625. break $label0$0;
  65626. }
  65627. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65628. t1 = $.$get$lmsToLinearProphotoRgb();
  65629. break $label0$0;
  65630. }
  65631. if (B.DisplayP3ColorSpace_MmT === dest) {
  65632. t1 = $.$get$lmsToLinearDisplayP3();
  65633. break $label0$0;
  65634. }
  65635. if (B.Rec2020ColorSpace_6oo === dest) {
  65636. t1 = $.$get$lmsToLinearRec2020();
  65637. break $label0$0;
  65638. }
  65639. if (B.XyzD65ColorSpace_WiJ === dest) {
  65640. t1 = $.$get$lmsToXyzD65();
  65641. break $label0$0;
  65642. }
  65643. if (B.XyzD50ColorSpace_2OB === dest) {
  65644. t1 = $.$get$lmsToXyzD50();
  65645. break $label0$0;
  65646. }
  65647. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65648. break $label0$0;
  65649. }
  65650. return t1;
  65651. }
  65652. };
  65653. A.OklabColorSpace.prototype = {
  65654. get$isBoundedInternal() {
  65655. return false;
  65656. },
  65657. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  65658. var missingLightness, missingA, missingB, t1;
  65659. if (dest === B.OklchColorSpace_9Gj)
  65660. return A.labToLch(dest, lightness, a, b, alpha, missingChroma, missingHue);
  65661. missingLightness = lightness == null;
  65662. missingA = a == null;
  65663. missingB = b == null;
  65664. if (missingLightness)
  65665. lightness = 0;
  65666. if (missingA)
  65667. a = 0;
  65668. if (missingB)
  65669. b = 0;
  65670. t1 = $.$get$oklabToLms();
  65671. 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);
  65672. },
  65673. convert$5(dest, lightness, a, b, alpha) {
  65674. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  65675. }
  65676. };
  65677. A.OklchColorSpace.prototype = {
  65678. get$isBoundedInternal() {
  65679. return false;
  65680. },
  65681. get$isPolarInternal() {
  65682. return true;
  65683. },
  65684. convert$5(dest, lightness, chroma, hue, alpha) {
  65685. var t1 = hue == null,
  65686. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  65687. t2 = chroma == null,
  65688. t3 = t2 ? 0 : chroma,
  65689. t4 = Math.cos(hueRadians),
  65690. t5 = t2 ? 0 : chroma;
  65691. return B.OklabColorSpace_540.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  65692. }
  65693. };
  65694. A.ProphotoRgbColorSpace.prototype = {
  65695. get$isBoundedInternal() {
  65696. return true;
  65697. },
  65698. toLinear$1(channel) {
  65699. var abs = Math.abs(channel);
  65700. return abs <= 0.03125 ? channel / 16 : J.get$sign$in(channel) * Math.pow(abs, 1.8);
  65701. },
  65702. fromLinear$1(channel) {
  65703. var abs = Math.abs(channel);
  65704. return abs >= 0.001953125 ? J.get$sign$in(channel) * Math.pow(abs, 0.5555555555555556) : 16 * channel;
  65705. },
  65706. transformationMatrix$1(dest) {
  65707. var t1;
  65708. $label0$0: {
  65709. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65710. t1 = $.$get$linearProphotoRgbToLinearSrgb();
  65711. break $label0$0;
  65712. }
  65713. if (B.A98RgbColorSpace_lf2 === dest) {
  65714. t1 = $.$get$linearProphotoRgbToLinearA98Rgb();
  65715. break $label0$0;
  65716. }
  65717. if (B.DisplayP3ColorSpace_MmT === dest) {
  65718. t1 = $.$get$linearProphotoRgbToLinearDisplayP3();
  65719. break $label0$0;
  65720. }
  65721. if (B.Rec2020ColorSpace_6oo === dest) {
  65722. t1 = $.$get$linearProphotoRgbToLinearRec2020();
  65723. break $label0$0;
  65724. }
  65725. if (B.XyzD65ColorSpace_WiJ === dest) {
  65726. t1 = $.$get$linearProphotoRgbToXyzD65();
  65727. break $label0$0;
  65728. }
  65729. if (B.XyzD50ColorSpace_2OB === dest) {
  65730. t1 = $.$get$linearProphotoRgbToXyzD50();
  65731. break $label0$0;
  65732. }
  65733. if (B.LmsColorSpace_Os3 === dest) {
  65734. t1 = $.$get$linearProphotoRgbToLms();
  65735. break $label0$0;
  65736. }
  65737. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65738. break $label0$0;
  65739. }
  65740. return t1;
  65741. }
  65742. };
  65743. A.Rec2020ColorSpace.prototype = {
  65744. get$isBoundedInternal() {
  65745. return true;
  65746. },
  65747. toLinear$1(channel) {
  65748. var abs = Math.abs(channel);
  65749. return abs < 0.08124285829863151 ? channel / 4.5 : J.get$sign$in(channel) * Math.pow((abs + 1.09929682680944 - 1) / 1.09929682680944, 2.2222222222222223);
  65750. },
  65751. fromLinear$1(channel) {
  65752. var abs = Math.abs(channel);
  65753. return abs > 0.018053968510807 ? J.get$sign$in(channel) * (1.09929682680944 * Math.pow(abs, 0.45) - 0.09929682680944008) : 4.5 * channel;
  65754. },
  65755. transformationMatrix$1(dest) {
  65756. var t1;
  65757. $label0$0: {
  65758. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65759. t1 = $.$get$linearRec2020ToLinearSrgb();
  65760. break $label0$0;
  65761. }
  65762. if (B.A98RgbColorSpace_lf2 === dest) {
  65763. t1 = $.$get$linearRec2020ToLinearA98Rgb();
  65764. break $label0$0;
  65765. }
  65766. if (B.DisplayP3ColorSpace_MmT === dest) {
  65767. t1 = $.$get$linearRec2020ToLinearDisplayP3();
  65768. break $label0$0;
  65769. }
  65770. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65771. t1 = $.$get$linearRec2020ToLinearProphotoRgb();
  65772. break $label0$0;
  65773. }
  65774. if (B.XyzD65ColorSpace_WiJ === dest) {
  65775. t1 = $.$get$linearRec2020ToXyzD65();
  65776. break $label0$0;
  65777. }
  65778. if (B.XyzD50ColorSpace_2OB === dest) {
  65779. t1 = $.$get$linearRec2020ToXyzD50();
  65780. break $label0$0;
  65781. }
  65782. if (B.LmsColorSpace_Os3 === dest) {
  65783. t1 = $.$get$linearRec2020ToLms();
  65784. break $label0$0;
  65785. }
  65786. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65787. break $label0$0;
  65788. }
  65789. return t1;
  65790. }
  65791. };
  65792. A.RgbColorSpace.prototype = {
  65793. get$isBoundedInternal() {
  65794. return true;
  65795. },
  65796. get$isLegacyInternal() {
  65797. return true;
  65798. },
  65799. convert$5(dest, red, green, blue, alpha) {
  65800. var t1 = red == null ? null : red / 255,
  65801. t2 = green == null ? null : green / 255;
  65802. return B.SrgbColorSpace_thf.convert$5(dest, t1, t2, blue == null ? null : blue / 255, alpha);
  65803. },
  65804. toLinear$1(channel) {
  65805. return A.srgbAndDisplayP3ToLinear(channel / 255);
  65806. },
  65807. fromLinear$1(channel) {
  65808. return A.srgbAndDisplayP3FromLinear(channel) * 255;
  65809. }
  65810. };
  65811. A.SrgbColorSpace.prototype = {
  65812. get$isBoundedInternal() {
  65813. return true;
  65814. },
  65815. convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingChroma, missingHue, missingLightness) {
  65816. var max, min, delta, hue, lightness, saturation, t1, t2, whiteness, blackness, _null = null;
  65817. if (B.HslColorSpace_JQ2 === dest || B.HwbColorSpace_guQ === dest) {
  65818. if (red == null)
  65819. red = 0;
  65820. if (green == null)
  65821. green = 0;
  65822. if (blue == null)
  65823. blue = 0;
  65824. max = Math.max(Math.max(red, green), blue);
  65825. min = Math.min(Math.min(red, green), blue);
  65826. delta = max - min;
  65827. if (max === min)
  65828. hue = 0;
  65829. else if (max === red)
  65830. hue = 60 * (green - blue) / delta + 360;
  65831. else
  65832. hue = max === green ? 60 * (blue - red) / delta + 120 : 60 * (red - green) / delta + 240;
  65833. if (dest === B.HslColorSpace_JQ2) {
  65834. lightness = (min + max) / 2;
  65835. saturation = lightness === 0 || lightness === 1 ? 0 : 100 * (max - lightness) / Math.min(lightness, 1 - lightness);
  65836. if (saturation < 0) {
  65837. hue += 180;
  65838. saturation = Math.abs(saturation);
  65839. }
  65840. t1 = missingHue || A.fuzzyEquals(saturation, 0) ? _null : B.JSNumber_methods.$mod(hue, 360);
  65841. t2 = missingChroma ? _null : saturation;
  65842. return A.SassColor_SassColor$forSpaceInternal(dest, t1, t2, missingLightness ? _null : lightness * 100, alpha);
  65843. } else {
  65844. whiteness = min * 100;
  65845. blackness = 100 - max * 100;
  65846. if (!missingHue) {
  65847. t1 = whiteness + blackness;
  65848. t1 = t1 > 100 || A.fuzzyEquals(t1, 100);
  65849. } else
  65850. t1 = true;
  65851. return A.SassColor_SassColor$forSpaceInternal(dest, t1 ? _null : B.JSNumber_methods.$mod(hue, 360), whiteness, blackness, alpha);
  65852. }
  65853. }
  65854. if (B.RgbColorSpace_i0P === dest) {
  65855. t1 = red == null ? _null : red * 255;
  65856. t2 = green == null ? _null : green * 255;
  65857. return A.SassColor_SassColor$rgbInternal(t1, t2, blue == null ? _null : blue * 255, alpha, _null);
  65858. }
  65859. if (B.SrgbLinearColorSpace_kUj === dest) {
  65860. t1 = this.get$toLinear();
  65861. return A.SassColor_SassColor$forSpaceInternal(dest, A.NullableExtension_andThen(red, t1), A.NullableExtension_andThen(green, t1), A.NullableExtension_andThen(blue, t1), alpha);
  65862. }
  65863. return this.super$ColorSpace$convertLinear(dest, red, green, blue, alpha, false, false, missingChroma, missingHue, missingLightness);
  65864. },
  65865. convert$5(dest, red, green, blue, alpha) {
  65866. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false);
  65867. },
  65868. convert$6$missingHue(dest, red, green, blue, alpha, missingHue) {
  65869. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, missingHue, false);
  65870. },
  65871. toLinear$1(channel) {
  65872. return A.srgbAndDisplayP3ToLinear(channel);
  65873. },
  65874. fromLinear$1(channel) {
  65875. return A.srgbAndDisplayP3FromLinear(channel);
  65876. },
  65877. transformationMatrix$1(dest) {
  65878. var t1;
  65879. $label0$0: {
  65880. if (B.DisplayP3ColorSpace_MmT === dest) {
  65881. t1 = $.$get$linearSrgbToLinearDisplayP3();
  65882. break $label0$0;
  65883. }
  65884. if (B.A98RgbColorSpace_lf2 === dest) {
  65885. t1 = $.$get$linearSrgbToLinearA98Rgb();
  65886. break $label0$0;
  65887. }
  65888. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65889. t1 = $.$get$linearSrgbToLinearProphotoRgb();
  65890. break $label0$0;
  65891. }
  65892. if (B.Rec2020ColorSpace_6oo === dest) {
  65893. t1 = $.$get$linearSrgbToLinearRec2020();
  65894. break $label0$0;
  65895. }
  65896. if (B.XyzD65ColorSpace_WiJ === dest) {
  65897. t1 = $.$get$linearSrgbToXyzD65();
  65898. break $label0$0;
  65899. }
  65900. if (B.XyzD50ColorSpace_2OB === dest) {
  65901. t1 = $.$get$linearSrgbToXyzD50();
  65902. break $label0$0;
  65903. }
  65904. if (B.LmsColorSpace_Os3 === dest) {
  65905. t1 = $.$get$linearSrgbToLms();
  65906. break $label0$0;
  65907. }
  65908. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65909. break $label0$0;
  65910. }
  65911. return t1;
  65912. }
  65913. };
  65914. A.SrgbLinearColorSpace.prototype = {
  65915. get$isBoundedInternal() {
  65916. return true;
  65917. },
  65918. convert$5(dest, red, green, blue, alpha) {
  65919. var t1;
  65920. $label0$0: {
  65921. if (B.RgbColorSpace_i0P === dest || B.HslColorSpace_JQ2 === dest || B.HwbColorSpace_guQ === dest || B.SrgbColorSpace_thf === dest) {
  65922. 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);
  65923. break $label0$0;
  65924. }
  65925. t1 = this.super$ColorSpace$convert(dest, red, green, blue, alpha);
  65926. break $label0$0;
  65927. }
  65928. return t1;
  65929. },
  65930. toLinear$1(channel) {
  65931. return channel;
  65932. },
  65933. fromLinear$1(channel) {
  65934. return channel;
  65935. },
  65936. transformationMatrix$1(dest) {
  65937. var t1;
  65938. $label0$0: {
  65939. if (B.DisplayP3ColorSpace_MmT === dest) {
  65940. t1 = $.$get$linearSrgbToLinearDisplayP3();
  65941. break $label0$0;
  65942. }
  65943. if (B.A98RgbColorSpace_lf2 === dest) {
  65944. t1 = $.$get$linearSrgbToLinearA98Rgb();
  65945. break $label0$0;
  65946. }
  65947. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65948. t1 = $.$get$linearSrgbToLinearProphotoRgb();
  65949. break $label0$0;
  65950. }
  65951. if (B.Rec2020ColorSpace_6oo === dest) {
  65952. t1 = $.$get$linearSrgbToLinearRec2020();
  65953. break $label0$0;
  65954. }
  65955. if (B.XyzD65ColorSpace_WiJ === dest) {
  65956. t1 = $.$get$linearSrgbToXyzD65();
  65957. break $label0$0;
  65958. }
  65959. if (B.XyzD50ColorSpace_2OB === dest) {
  65960. t1 = $.$get$linearSrgbToXyzD50();
  65961. break $label0$0;
  65962. }
  65963. if (B.LmsColorSpace_Os3 === dest) {
  65964. t1 = $.$get$linearSrgbToLms();
  65965. break $label0$0;
  65966. }
  65967. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65968. break $label0$0;
  65969. }
  65970. return t1;
  65971. }
  65972. };
  65973. A.XyzD50ColorSpace.prototype = {
  65974. get$isBoundedInternal() {
  65975. return false;
  65976. },
  65977. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  65978. var f0, f1, f2, lightness, a, b, t1, _this = this, _null = null;
  65979. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  65980. f0 = _this._convertComponentToLabF$1((x == null ? 0 : x) / 0.9642956764295677);
  65981. f1 = _this._convertComponentToLabF$1((y == null ? 0 : y) / 1);
  65982. f2 = _this._convertComponentToLabF$1((z == null ? 0 : z) / 0.8251046025104602);
  65983. lightness = missingLightness ? _null : 116 * f1 - 16;
  65984. a = 500 * (f0 - f1);
  65985. b = 200 * (f1 - f2);
  65986. if (dest === B.LabColorSpace_2nT) {
  65987. t1 = missingA ? _null : a;
  65988. t1 = A.SassColor$_forSpace(B.LabColorSpace_2nT, lightness, t1, missingB ? _null : b, alpha, _null);
  65989. } else
  65990. t1 = A.labToLch(B.LchColorSpace_Bpv, lightness, a, b, alpha, missingChroma, missingHue);
  65991. return t1;
  65992. }
  65993. return _this.super$ColorSpace$convertLinear(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65994. },
  65995. convert$5(dest, x, y, z, alpha) {
  65996. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, false, false, false, false, false);
  65997. },
  65998. _convertComponentToLabF$1(component) {
  65999. return component > 0.008856451679035631 ? Math.pow(component, 0.3333333333333333) + 0 : (903.2962962962963 * component + 16) / 116;
  66000. },
  66001. toLinear$1(channel) {
  66002. return channel;
  66003. },
  66004. fromLinear$1(channel) {
  66005. return channel;
  66006. },
  66007. transformationMatrix$1(dest) {
  66008. var t1;
  66009. $label0$0: {
  66010. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66011. t1 = $.$get$xyzD50ToLinearSrgb();
  66012. break $label0$0;
  66013. }
  66014. if (B.A98RgbColorSpace_lf2 === dest) {
  66015. t1 = $.$get$xyzD50ToLinearA98Rgb();
  66016. break $label0$0;
  66017. }
  66018. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66019. t1 = $.$get$xyzD50ToLinearProphotoRgb();
  66020. break $label0$0;
  66021. }
  66022. if (B.DisplayP3ColorSpace_MmT === dest) {
  66023. t1 = $.$get$xyzD50ToLinearDisplayP3();
  66024. break $label0$0;
  66025. }
  66026. if (B.Rec2020ColorSpace_6oo === dest) {
  66027. t1 = $.$get$xyzD50ToLinearRec2020();
  66028. break $label0$0;
  66029. }
  66030. if (B.XyzD65ColorSpace_WiJ === dest) {
  66031. t1 = $.$get$xyzD50ToXyzD65();
  66032. break $label0$0;
  66033. }
  66034. if (B.LmsColorSpace_Os3 === dest) {
  66035. t1 = $.$get$xyzD50ToLms();
  66036. break $label0$0;
  66037. }
  66038. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66039. break $label0$0;
  66040. }
  66041. return t1;
  66042. }
  66043. };
  66044. A.XyzD65ColorSpace.prototype = {
  66045. get$isBoundedInternal() {
  66046. return false;
  66047. },
  66048. toLinear$1(channel) {
  66049. return channel;
  66050. },
  66051. fromLinear$1(channel) {
  66052. return channel;
  66053. },
  66054. transformationMatrix$1(dest) {
  66055. var t1;
  66056. $label0$0: {
  66057. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66058. t1 = $.$get$xyzD65ToLinearSrgb();
  66059. break $label0$0;
  66060. }
  66061. if (B.A98RgbColorSpace_lf2 === dest) {
  66062. t1 = $.$get$xyzD65ToLinearA98Rgb();
  66063. break $label0$0;
  66064. }
  66065. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66066. t1 = $.$get$xyzD65ToLinearProphotoRgb();
  66067. break $label0$0;
  66068. }
  66069. if (B.DisplayP3ColorSpace_MmT === dest) {
  66070. t1 = $.$get$xyzD65ToLinearDisplayP3();
  66071. break $label0$0;
  66072. }
  66073. if (B.Rec2020ColorSpace_6oo === dest) {
  66074. t1 = $.$get$xyzD65ToLinearRec2020();
  66075. break $label0$0;
  66076. }
  66077. if (B.XyzD50ColorSpace_2OB === dest) {
  66078. t1 = $.$get$xyzD65ToXyzD50();
  66079. break $label0$0;
  66080. }
  66081. if (B.LmsColorSpace_Os3 === dest) {
  66082. t1 = $.$get$xyzD65ToLms();
  66083. break $label0$0;
  66084. }
  66085. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66086. break $label0$0;
  66087. }
  66088. return t1;
  66089. }
  66090. };
  66091. A.SassFunction.prototype = {
  66092. accept$1$1(visitor) {
  66093. var t1, t2;
  66094. if (!visitor._inspect)
  66095. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  66096. t1 = visitor._serialize$_buffer;
  66097. t1.write$1(0, "get-function(");
  66098. t2 = this.callable;
  66099. visitor._visitQuotedString$1(t2.get$name(t2));
  66100. t1.writeCharCode$1(41);
  66101. return null;
  66102. },
  66103. accept$1(visitor) {
  66104. return this.accept$1$1(visitor, type$.dynamic);
  66105. },
  66106. assertFunction$1($name) {
  66107. return this;
  66108. },
  66109. $eq(_, other) {
  66110. if (other == null)
  66111. return false;
  66112. return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
  66113. },
  66114. get$hashCode(_) {
  66115. var t1 = this.callable;
  66116. return t1.get$hashCode(t1);
  66117. }
  66118. };
  66119. A.SassList.prototype = {
  66120. get$separator(_) {
  66121. return this._separator;
  66122. },
  66123. get$hasBrackets() {
  66124. return this._hasBrackets;
  66125. },
  66126. get$isBlank() {
  66127. return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
  66128. },
  66129. get$asList() {
  66130. return this._list$_contents;
  66131. },
  66132. get$lengthAsList() {
  66133. return this._list$_contents.length;
  66134. },
  66135. SassList$3$brackets(contents, _separator, brackets) {
  66136. if (this._separator === B.ListSeparator_undecided_null_undecided && this._list$_contents.length > 1)
  66137. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  66138. },
  66139. toString$0(_) {
  66140. var t2, _this = this,
  66141. t1 = true;
  66142. if (!_this._hasBrackets) {
  66143. t2 = _this._list$_contents.length;
  66144. if (t2 !== 0)
  66145. t1 = t2 === 1 && _this._separator === B.ListSeparator_qVN;
  66146. }
  66147. if (t1)
  66148. return _this.super$Value$toString(0);
  66149. return "(" + _this.super$Value$toString(0) + ")";
  66150. },
  66151. accept$1$1(visitor) {
  66152. return visitor.visitList$1(this);
  66153. },
  66154. accept$1(visitor) {
  66155. return this.accept$1$1(visitor, type$.dynamic);
  66156. },
  66157. assertMap$1($name) {
  66158. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
  66159. },
  66160. tryMap$0() {
  66161. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
  66162. },
  66163. $eq(_, other) {
  66164. var t1, _this = this;
  66165. if (other == null)
  66166. return false;
  66167. 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)))
  66168. t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
  66169. else
  66170. t1 = true;
  66171. return t1;
  66172. },
  66173. get$hashCode(_) {
  66174. return B.C_ListEquality0.hash$1(this._list$_contents);
  66175. }
  66176. };
  66177. A.SassList_isBlank_closure.prototype = {
  66178. call$1(element) {
  66179. return element.get$isBlank();
  66180. },
  66181. $signature: 72
  66182. };
  66183. A.ListSeparator.prototype = {
  66184. _enumToString$0() {
  66185. return "ListSeparator." + this._name;
  66186. },
  66187. toString$0(_) {
  66188. return this._list$_name;
  66189. }
  66190. };
  66191. A.SassMap.prototype = {
  66192. get$separator(_) {
  66193. var t1 = this._map$_contents;
  66194. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided : B.ListSeparator_qVN;
  66195. },
  66196. get$asList() {
  66197. var t3, t4, t5, result,
  66198. t1 = type$.JSArray_Value,
  66199. t2 = A._setArrayType([], t1);
  66200. for (t3 = type$.Value, t4 = A.MapExtensions_get_pairs(this._map$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  66201. t5 = t4.get$current(t4);
  66202. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  66203. result.$flags = 3;
  66204. t2.push(new A.SassList(result, B.ListSeparator_qSL, false));
  66205. }
  66206. return t2;
  66207. },
  66208. get$lengthAsList() {
  66209. var t1 = this._map$_contents;
  66210. return t1.get$length(t1);
  66211. },
  66212. accept$1$1(visitor) {
  66213. return visitor.visitMap$1(this);
  66214. },
  66215. accept$1(visitor) {
  66216. return this.accept$1$1(visitor, type$.dynamic);
  66217. },
  66218. assertMap$1($name) {
  66219. return this;
  66220. },
  66221. tryMap$0() {
  66222. return this;
  66223. },
  66224. $eq(_, other) {
  66225. var t1;
  66226. if (other == null)
  66227. return false;
  66228. if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
  66229. t1 = this._map$_contents;
  66230. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
  66231. } else
  66232. t1 = true;
  66233. return t1;
  66234. },
  66235. get$hashCode(_) {
  66236. var t1 = this._map$_contents;
  66237. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty8) : B.C_MapEquality.hash$1(t1);
  66238. }
  66239. };
  66240. A.SassMixin.prototype = {
  66241. accept$1$1(visitor) {
  66242. var t1, t2;
  66243. if (!visitor._inspect)
  66244. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  66245. t1 = visitor._serialize$_buffer;
  66246. t1.write$1(0, "get-mixin(");
  66247. t2 = this.callable;
  66248. visitor._visitQuotedString$1(t2.get$name(t2));
  66249. t1.writeCharCode$1(41);
  66250. return null;
  66251. },
  66252. accept$1(visitor) {
  66253. return this.accept$1$1(visitor, type$.dynamic);
  66254. },
  66255. assertMixin$1($name) {
  66256. return this;
  66257. },
  66258. $eq(_, other) {
  66259. if (other == null)
  66260. return false;
  66261. return other instanceof A.SassMixin && this.callable.$eq(0, other.callable);
  66262. },
  66263. get$hashCode(_) {
  66264. var t1 = this.callable;
  66265. return t1.get$hashCode(t1);
  66266. }
  66267. };
  66268. A._SassNull.prototype = {
  66269. get$isTruthy() {
  66270. return false;
  66271. },
  66272. get$isBlank() {
  66273. return true;
  66274. },
  66275. get$realNull() {
  66276. return null;
  66277. },
  66278. accept$1$1(visitor) {
  66279. if (visitor._inspect)
  66280. visitor._serialize$_buffer.write$1(0, "null");
  66281. return null;
  66282. },
  66283. accept$1(visitor) {
  66284. return this.accept$1$1(visitor, type$.dynamic);
  66285. },
  66286. unaryNot$0() {
  66287. return B.SassBoolean_true;
  66288. }
  66289. };
  66290. A.SassNumber.prototype = {
  66291. get$unitString() {
  66292. var _this = this;
  66293. return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  66294. },
  66295. accept$1$1(visitor) {
  66296. return visitor.visitNumber$1(this);
  66297. },
  66298. accept$1(visitor) {
  66299. return this.accept$1$1(visitor, type$.dynamic);
  66300. },
  66301. withoutSlash$0() {
  66302. var _this = this;
  66303. return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
  66304. },
  66305. assertNumber$1($name) {
  66306. return this;
  66307. },
  66308. assertNumber$0() {
  66309. return this.assertNumber$1(null);
  66310. },
  66311. assertInt$1($name) {
  66312. var _0_0 = A.fuzzyAsInt(this._number$_value);
  66313. if (_0_0 != null)
  66314. return _0_0;
  66315. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " is not an int.", $name));
  66316. },
  66317. assertInt$0() {
  66318. return this.assertInt$1(null);
  66319. },
  66320. valueInRange$3(min, max, $name) {
  66321. var _this = this,
  66322. _0_0 = A.fuzzyCheckRange(_this._number$_value, min, max);
  66323. if (_0_0 != null)
  66324. return _0_0;
  66325. throw A.wrapException(A.SassScriptException$("Expected " + _this.toString$0(0) + " to be within " + min + _this.get$unitString() + " and " + max + _this.get$unitString() + ".", $name));
  66326. },
  66327. valueInRangeWithUnit$4(min, max, $name, unit) {
  66328. var _0_0 = A.fuzzyCheckRange(this._number$_value, min, max);
  66329. if (_0_0 != null)
  66330. return _0_0;
  66331. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  66332. },
  66333. hasCompatibleUnits$1(other) {
  66334. var _this = this;
  66335. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  66336. return false;
  66337. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  66338. return false;
  66339. return _this.isComparableTo$1(other);
  66340. },
  66341. assertUnit$2(unit, $name) {
  66342. if (this.hasUnit$1(unit))
  66343. return;
  66344. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  66345. },
  66346. assertNoUnits$1($name) {
  66347. if (!this.get$hasUnits())
  66348. return;
  66349. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to have no units.", $name));
  66350. },
  66351. assertNoUnits$0() {
  66352. return this.assertNoUnits$1(null);
  66353. },
  66354. convertValueToMatch$3(other, $name, otherName) {
  66355. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  66356. },
  66357. convertValueToMatch$1(other) {
  66358. return this.convertValueToMatch$3(other, null, null);
  66359. },
  66360. coerce$3(newNumerators, newDenominators, $name) {
  66361. return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  66362. },
  66363. coerce$2(newNumerators, newDenominators) {
  66364. return this.coerce$3(newNumerators, newDenominators, null);
  66365. },
  66366. coerceValue$3(newNumerators, newDenominators, $name) {
  66367. return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  66368. },
  66369. coerceValueToUnit$2(unit, $name) {
  66370. var t1 = type$.JSArray_String;
  66371. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  66372. },
  66373. coerceValueToUnit$1(unit) {
  66374. return this.coerceValueToUnit$2(unit, null);
  66375. },
  66376. coerceToMatch$3(other, $name, otherName) {
  66377. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  66378. t2 = other.get$numeratorUnits(other);
  66379. return A.SassNumber_SassNumber$withUnits(t1, other.get$denominatorUnits(other), t2);
  66380. },
  66381. coerceValueToMatch$3(other, $name, otherName) {
  66382. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  66383. },
  66384. coerceValueToMatch$1(other) {
  66385. return this.coerceValueToMatch$3(other, null, null);
  66386. },
  66387. _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  66388. var otherHasUnits, t1, compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
  66389. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  66390. return _this._number$_value;
  66391. otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
  66392. if (coerceUnitless)
  66393. t1 = !_this.get$hasUnits() || !otherHasUnits;
  66394. else
  66395. t1 = false;
  66396. if (t1)
  66397. return _this._number$_value;
  66398. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  66399. _box_0.value = _this._number$_value;
  66400. t1 = _this.get$numeratorUnits(_this);
  66401. oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  66402. for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
  66403. A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(compatibilityException));
  66404. t1 = _this.get$denominatorUnits(_this);
  66405. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  66406. for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
  66407. A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(compatibilityException));
  66408. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  66409. throw A.wrapException(compatibilityException.call$0());
  66410. return _box_0.value;
  66411. },
  66412. _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  66413. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  66414. },
  66415. isComparableTo$1(other) {
  66416. var exception;
  66417. if (!this.get$hasUnits() || !other.get$hasUnits())
  66418. return true;
  66419. try {
  66420. this.greaterThan$1(other);
  66421. return true;
  66422. } catch (exception) {
  66423. if (A.unwrapException(exception) instanceof A.SassScriptException)
  66424. return false;
  66425. else
  66426. throw exception;
  66427. }
  66428. },
  66429. greaterThan$1(other) {
  66430. if (other instanceof A.SassNumber)
  66431. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66432. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  66433. },
  66434. greaterThanOrEquals$1(other) {
  66435. if (other instanceof A.SassNumber)
  66436. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66437. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  66438. },
  66439. lessThan$1(other) {
  66440. if (other instanceof A.SassNumber)
  66441. return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66442. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  66443. },
  66444. lessThanOrEquals$1(other) {
  66445. if (other instanceof A.SassNumber)
  66446. return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66447. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  66448. },
  66449. modulo$1(other) {
  66450. if (other instanceof A.SassNumber)
  66451. return this.withValue$1(this._coerceUnits$2(other, A.number0__moduloLikeSass$closure()));
  66452. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  66453. },
  66454. plus$1(other) {
  66455. var _this = this;
  66456. if (other instanceof A.SassNumber)
  66457. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
  66458. if (!(other instanceof A.SassColor))
  66459. return _this.super$Value$plus(other);
  66460. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  66461. },
  66462. minus$1(other) {
  66463. var _this = this;
  66464. if (other instanceof A.SassNumber)
  66465. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
  66466. if (!(other instanceof A.SassColor))
  66467. return _this.super$Value$minus(other);
  66468. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  66469. },
  66470. times$1(other) {
  66471. var _this = this;
  66472. if (other instanceof A.SassNumber) {
  66473. if (!other.get$hasUnits())
  66474. return _this.withValue$1(_this._number$_value * other._number$_value);
  66475. return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  66476. }
  66477. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  66478. },
  66479. dividedBy$1(other) {
  66480. var _this = this;
  66481. if (other instanceof A.SassNumber) {
  66482. if (!other.get$hasUnits())
  66483. return _this.withValue$1(_this._number$_value / other._number$_value);
  66484. return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  66485. }
  66486. return _this.super$Value$dividedBy(other);
  66487. },
  66488. unaryPlus$0() {
  66489. return this;
  66490. },
  66491. _coerceUnits$1$2(other, operation) {
  66492. var t1, exception;
  66493. try {
  66494. t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
  66495. return t1;
  66496. } catch (exception) {
  66497. if (A.unwrapException(exception) instanceof A.SassScriptException) {
  66498. this.coerceValueToMatch$1(other);
  66499. throw exception;
  66500. } else
  66501. throw exception;
  66502. }
  66503. },
  66504. _coerceUnits$2(other, operation) {
  66505. return this._coerceUnits$1$2(other, operation, type$.dynamic);
  66506. },
  66507. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  66508. 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_11, _0_13, _0_13_isSet, _0_10, numerators_case_0, t4, t3, t5, t6, t7, numerators_case_1, denominators_case_1, t0, newNumerators, mutableOtherDenominators, _i, numerator, mutableDenominatorUnits, _this = this, _null = null, _box_0 = {};
  66509. _box_0.value = value;
  66510. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  66511. _0_1 = t1[0];
  66512. _0_6 = _null;
  66513. _0_3 = _null;
  66514. _0_9 = _null;
  66515. _0_9_isSet = false;
  66516. _0_7 = _null;
  66517. _0_7_isSet = false;
  66518. t2 = false;
  66519. _0_2 = t1[1];
  66520. _0_3 = t1[2];
  66521. _0_6 = _0_3.length <= 0;
  66522. _0_7_isSet = _0_6;
  66523. if (_0_7_isSet) {
  66524. _0_7 = t1[3];
  66525. _0_9 = _0_7.length <= 0;
  66526. t2 = _0_9;
  66527. }
  66528. _0_9_isSet = _0_7_isSet;
  66529. denominators_case_0 = _0_2;
  66530. _0_11_isSet = !t2;
  66531. _0_11 = _null;
  66532. _0_13 = _null;
  66533. if (_0_11_isSet) {
  66534. _0_11 = _0_1.length <= 0;
  66535. _0_13_isSet = _0_11;
  66536. _0_10 = _0_1;
  66537. if (_0_13_isSet) {
  66538. _0_13 = _0_2.length <= 0;
  66539. t2 = _0_13;
  66540. if (t2) {
  66541. if (_0_7_isSet)
  66542. denominators_case_0 = _0_7;
  66543. else {
  66544. _0_7 = t1[3];
  66545. denominators_case_0 = _0_7;
  66546. _0_7_isSet = true;
  66547. }
  66548. numerators_case_0 = _0_3;
  66549. } else
  66550. numerators_case_0 = _0_1;
  66551. } else {
  66552. numerators_case_0 = _0_1;
  66553. t2 = false;
  66554. }
  66555. _0_1 = _0_10;
  66556. } else {
  66557. numerators_case_0 = _0_1;
  66558. _0_13_isSet = false;
  66559. t2 = true;
  66560. }
  66561. if (t2) {
  66562. t4 = denominators_case_0;
  66563. t3 = numerators_case_0;
  66564. } else {
  66565. t4 = _null;
  66566. t3 = t4;
  66567. }
  66568. if (!t2) {
  66569. t2 = _null;
  66570. t5 = _null;
  66571. if (_0_11_isSet)
  66572. t6 = _0_11;
  66573. else {
  66574. _0_11 = _0_1.length <= 0;
  66575. t6 = _0_11;
  66576. }
  66577. t7 = false;
  66578. if (t6) {
  66579. if (_0_9_isSet)
  66580. t2 = _0_9;
  66581. else {
  66582. if (_0_7_isSet)
  66583. t2 = _0_7;
  66584. else {
  66585. _0_7 = t1[3];
  66586. t2 = _0_7;
  66587. _0_7_isSet = true;
  66588. }
  66589. _0_9 = t2.length <= 0;
  66590. t2 = _0_9;
  66591. }
  66592. numerators_case_1 = _0_3;
  66593. denominators_case_1 = _0_2;
  66594. } else {
  66595. numerators_case_1 = t2;
  66596. t2 = t7;
  66597. denominators_case_1 = t5;
  66598. }
  66599. if (!t2) {
  66600. t2 = false;
  66601. if (_0_13_isSet)
  66602. t5 = _0_13;
  66603. else {
  66604. _0_13 = _0_2.length <= 0;
  66605. t5 = _0_13;
  66606. }
  66607. if (t5) {
  66608. if (_0_6)
  66609. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  66610. t1 = _0_6;
  66611. } else
  66612. t1 = t2;
  66613. numerators_case_1 = _0_1;
  66614. } else
  66615. t1 = true;
  66616. if (t1) {
  66617. t1 = !_this._areAnyConvertible$2(numerators_case_1, denominators_case_1);
  66618. if (t1) {
  66619. t3 = denominators_case_1;
  66620. t2 = numerators_case_1;
  66621. } else {
  66622. t2 = t3;
  66623. t3 = t4;
  66624. }
  66625. t0 = t3;
  66626. t3 = t1;
  66627. t1 = t2;
  66628. t2 = t0;
  66629. } else {
  66630. t2 = t4;
  66631. t1 = t3;
  66632. t3 = false;
  66633. }
  66634. } else {
  66635. t2 = t4;
  66636. t1 = t3;
  66637. t3 = true;
  66638. }
  66639. if (t3)
  66640. return A.SassNumber_SassNumber$withUnits(value, t2, t1);
  66641. newNumerators = A._setArrayType([], type$.JSArray_String);
  66642. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  66643. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  66644. numerator = t1[_i];
  66645. A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
  66646. }
  66647. t1 = _this.get$denominatorUnits(_this);
  66648. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  66649. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  66650. numerator = otherNumerators[_i];
  66651. A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
  66652. }
  66653. t1 = _box_0.value;
  66654. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  66655. return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
  66656. },
  66657. _areAnyConvertible$2(units1, units2) {
  66658. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
  66659. },
  66660. _unitString$2(numerators, denominators) {
  66661. var _0_4, _0_7, _0_6, _0_5, t1, _0_9, _0_6_isSet, _0_5_isSet, _0_10, denominator, _null = null;
  66662. $label0$0: {
  66663. _0_4 = numerators.length <= 0;
  66664. _0_7 = _null;
  66665. _0_6 = _null;
  66666. _0_5 = _null;
  66667. if (_0_4) {
  66668. _0_6 = denominators.length;
  66669. t1 = _0_6;
  66670. _0_7 = t1 <= 0;
  66671. t1 = _0_7;
  66672. _0_5 = denominators;
  66673. } else
  66674. t1 = false;
  66675. if (t1) {
  66676. t1 = "no units";
  66677. break $label0$0;
  66678. }
  66679. _0_9 = _null;
  66680. if (_0_4) {
  66681. _0_9 = _0_6 === 1;
  66682. t1 = _0_9;
  66683. _0_6_isSet = true;
  66684. _0_5_isSet = true;
  66685. } else {
  66686. _0_5_isSet = _0_4;
  66687. _0_6_isSet = _0_5_isSet;
  66688. t1 = false;
  66689. }
  66690. if (t1) {
  66691. _0_10 = (_0_5_isSet ? _0_5 : denominators)[0];
  66692. denominator = _0_10;
  66693. t1 = denominator + "^-1";
  66694. break $label0$0;
  66695. }
  66696. if (_0_4) {
  66697. t1 = "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
  66698. break $label0$0;
  66699. }
  66700. if (_0_6_isSet)
  66701. t1 = _0_6;
  66702. else {
  66703. if (_0_5_isSet)
  66704. t1 = _0_5;
  66705. else {
  66706. t1 = denominators;
  66707. _0_5 = t1;
  66708. _0_5_isSet = true;
  66709. }
  66710. _0_6 = t1.length;
  66711. t1 = _0_6;
  66712. _0_6_isSet = true;
  66713. }
  66714. _0_7 = t1 <= 0;
  66715. t1 = _0_7;
  66716. if (t1) {
  66717. t1 = B.JSArray_methods.join$1(numerators, "*");
  66718. break $label0$0;
  66719. }
  66720. if (_0_6_isSet)
  66721. t1 = _0_6;
  66722. else {
  66723. if (_0_5_isSet)
  66724. t1 = _0_5;
  66725. else {
  66726. t1 = denominators;
  66727. _0_5 = t1;
  66728. _0_5_isSet = true;
  66729. }
  66730. _0_6 = t1.length;
  66731. t1 = _0_6;
  66732. }
  66733. _0_9 = t1 === 1;
  66734. t1 = _0_9;
  66735. if (t1) {
  66736. _0_10 = (_0_5_isSet ? _0_5 : denominators)[0];
  66737. denominator = _0_10;
  66738. t1 = B.JSArray_methods.join$1(numerators, "*") + "/" + denominator;
  66739. break $label0$0;
  66740. }
  66741. t1 = B.JSArray_methods.join$1(numerators, "*") + "/(" + B.JSArray_methods.join$1(denominators, "*") + ")";
  66742. break $label0$0;
  66743. }
  66744. return t1;
  66745. },
  66746. $eq(_, other) {
  66747. var _this = this;
  66748. if (other == null)
  66749. return false;
  66750. if (!(other instanceof A.SassNumber))
  66751. return false;
  66752. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  66753. return false;
  66754. if (!_this.get$hasUnits())
  66755. return A.fuzzyEquals(_this._number$_value, other._number$_value);
  66756. 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))))
  66757. return false;
  66758. 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)));
  66759. },
  66760. get$hashCode(_) {
  66761. var _this = this,
  66762. t1 = _this.hashCache;
  66763. 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;
  66764. },
  66765. _canonicalizeUnitList$1(units) {
  66766. var type,
  66767. t1 = units.length;
  66768. if (t1 === 0)
  66769. return units;
  66770. if (t1 === 1) {
  66771. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
  66772. if (type == null)
  66773. t1 = units;
  66774. else {
  66775. t1 = B.Map_Sr65K.$index(0, type);
  66776. t1.toString;
  66777. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  66778. }
  66779. return t1;
  66780. }
  66781. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  66782. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), true, t1._eval$1("ListIterable.E"));
  66783. B.JSArray_methods.sort$0(t1);
  66784. return t1;
  66785. },
  66786. _canonicalMultiplier$1(units) {
  66787. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
  66788. },
  66789. canonicalMultiplierForUnit$1(unit) {
  66790. var t1,
  66791. innerMap = B.Map_NtHoP.$index(0, unit);
  66792. if (innerMap == null)
  66793. t1 = 1;
  66794. else {
  66795. t1 = innerMap.get$values(innerMap);
  66796. t1 = 1 / t1.get$first(t1);
  66797. }
  66798. return t1;
  66799. },
  66800. unitSuggestion$2($name, unit) {
  66801. var t2, t3, result, _this = this,
  66802. t1 = _this.get$denominatorUnits(_this);
  66803. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  66804. t2 = _this.get$numeratorUnits(_this);
  66805. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  66806. t3 = unit == null ? "" : " * 1" + unit;
  66807. result = "$" + $name + t1 + t2 + t3;
  66808. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  66809. },
  66810. unitSuggestion$1($name) {
  66811. return this.unitSuggestion$2($name, null);
  66812. }
  66813. };
  66814. A.SassNumber__coerceOrConvertValue_compatibilityException.prototype = {
  66815. call$0() {
  66816. var t2, t3, message, t4, type, unit, _this = this,
  66817. t1 = _this.other;
  66818. if (t1 != null) {
  66819. t2 = _this.$this;
  66820. t3 = t2.toString$0(0) + " and";
  66821. message = new A.StringBuffer(t3);
  66822. t4 = _this.otherName;
  66823. if (t4 != null)
  66824. t3 = message._contents = t3 + (" $" + t4 + ":");
  66825. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  66826. message._contents = t1;
  66827. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  66828. message._contents = t1 + " (one has units and the other doesn't)";
  66829. t1 = message.toString$0(0) + ".";
  66830. t2 = _this.name;
  66831. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  66832. } else if (!_this.otherHasUnits) {
  66833. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  66834. t2 = _this.name;
  66835. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  66836. } else {
  66837. t1 = _this.newNumerators;
  66838. if (t1.length === 1 && _this.newDenominators.length === 0) {
  66839. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
  66840. if (type != null) {
  66841. t1 = _this.$this.toString$0(0);
  66842. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  66843. t3 = B.Map_Sr65K.$index(0, type);
  66844. t3.toString;
  66845. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  66846. t2 = _this.name;
  66847. return new A.SassScriptException(t2 == null ? t3 : "$" + t2 + ": " + t3);
  66848. }
  66849. }
  66850. t2 = _this.newDenominators;
  66851. unit = A.pluralize("unit", t1.length + t2.length, null);
  66852. t3 = _this.$this;
  66853. t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
  66854. t1 = _this.name;
  66855. return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
  66856. }
  66857. },
  66858. $signature: 414
  66859. };
  66860. A.SassNumber__coerceOrConvertValue_closure.prototype = {
  66861. call$1(oldNumerator) {
  66862. var factor = A.conversionFactor(this.newNumerator, oldNumerator);
  66863. if (factor == null)
  66864. return false;
  66865. this._box_0.value *= factor;
  66866. return true;
  66867. },
  66868. $signature: 5
  66869. };
  66870. A.SassNumber__coerceOrConvertValue_closure0.prototype = {
  66871. call$0() {
  66872. return A.throwExpression(this.compatibilityException.call$0());
  66873. },
  66874. $signature: 0
  66875. };
  66876. A.SassNumber__coerceOrConvertValue_closure1.prototype = {
  66877. call$1(oldDenominator) {
  66878. var factor = A.conversionFactor(this.newDenominator, oldDenominator);
  66879. if (factor == null)
  66880. return false;
  66881. this._box_0.value /= factor;
  66882. return true;
  66883. },
  66884. $signature: 5
  66885. };
  66886. A.SassNumber__coerceOrConvertValue_closure2.prototype = {
  66887. call$0() {
  66888. return A.throwExpression(this.compatibilityException.call$0());
  66889. },
  66890. $signature: 0
  66891. };
  66892. A.SassNumber_plus_closure.prototype = {
  66893. call$2(num1, num2) {
  66894. return num1 + num2;
  66895. },
  66896. $signature: 61
  66897. };
  66898. A.SassNumber_minus_closure.prototype = {
  66899. call$2(num1, num2) {
  66900. return num1 - num2;
  66901. },
  66902. $signature: 61
  66903. };
  66904. A.SassNumber_multiplyUnits_closure.prototype = {
  66905. call$1(denominator) {
  66906. var factor = A.conversionFactor(this.numerator, denominator);
  66907. if (factor == null)
  66908. return false;
  66909. this._box_0.value /= factor;
  66910. return true;
  66911. },
  66912. $signature: 5
  66913. };
  66914. A.SassNumber_multiplyUnits_closure0.prototype = {
  66915. call$0() {
  66916. return this.newNumerators.push(this.numerator);
  66917. },
  66918. $signature: 0
  66919. };
  66920. A.SassNumber_multiplyUnits_closure1.prototype = {
  66921. call$1(denominator) {
  66922. var factor = A.conversionFactor(this.numerator, denominator);
  66923. if (factor == null)
  66924. return false;
  66925. this._box_0.value /= factor;
  66926. return true;
  66927. },
  66928. $signature: 5
  66929. };
  66930. A.SassNumber_multiplyUnits_closure2.prototype = {
  66931. call$0() {
  66932. return this.newNumerators.push(this.numerator);
  66933. },
  66934. $signature: 0
  66935. };
  66936. A.SassNumber__areAnyConvertible_closure.prototype = {
  66937. call$1(unit1) {
  66938. var t1,
  66939. _0_0 = B.Map_NtHoP.$index(0, unit1);
  66940. $label0$0: {
  66941. if (_0_0 != null) {
  66942. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  66943. break $label0$0;
  66944. }
  66945. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  66946. break $label0$0;
  66947. }
  66948. return t1;
  66949. },
  66950. $signature: 5
  66951. };
  66952. A.SassNumber__canonicalizeUnitList_closure.prototype = {
  66953. call$1(unit) {
  66954. var t1,
  66955. type = $.$get$_typesByUnit().$index(0, unit);
  66956. if (type == null)
  66957. t1 = unit;
  66958. else {
  66959. t1 = B.Map_Sr65K.$index(0, type);
  66960. t1.toString;
  66961. t1 = B.JSArray_methods.get$first(t1);
  66962. }
  66963. return t1;
  66964. },
  66965. $signature: 6
  66966. };
  66967. A.SassNumber__canonicalMultiplier_closure.prototype = {
  66968. call$2(multiplier, unit) {
  66969. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  66970. },
  66971. $signature: 164
  66972. };
  66973. A.SassNumber_unitSuggestion_closure.prototype = {
  66974. call$1(unit) {
  66975. return " * 1" + unit;
  66976. },
  66977. $signature: 6
  66978. };
  66979. A.SassNumber_unitSuggestion_closure0.prototype = {
  66980. call$1(unit) {
  66981. return " / 1" + unit;
  66982. },
  66983. $signature: 6
  66984. };
  66985. A.ComplexSassNumber.prototype = {
  66986. get$numeratorUnits(_) {
  66987. return this._numeratorUnits;
  66988. },
  66989. get$denominatorUnits(_) {
  66990. return this._denominatorUnits;
  66991. },
  66992. get$hasUnits() {
  66993. return true;
  66994. },
  66995. get$hasComplexUnits() {
  66996. return true;
  66997. },
  66998. hasUnit$1(unit) {
  66999. return false;
  67000. },
  67001. compatibleWithUnit$1(unit) {
  67002. return false;
  67003. },
  67004. hasPossiblyCompatibleUnits$1(other) {
  67005. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  67006. },
  67007. withValue$1(value) {
  67008. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
  67009. },
  67010. withSlash$2(numerator, denominator) {
  67011. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A._Record_2(numerator, denominator));
  67012. }
  67013. };
  67014. A.SingleUnitSassNumber.prototype = {
  67015. get$numeratorUnits(_) {
  67016. return A.List_List$unmodifiable([this._unit], type$.String);
  67017. },
  67018. get$denominatorUnits(_) {
  67019. return B.List_empty;
  67020. },
  67021. get$hasUnits() {
  67022. return true;
  67023. },
  67024. get$hasComplexUnits() {
  67025. return false;
  67026. },
  67027. withValue$1(value) {
  67028. return new A.SingleUnitSassNumber(this._unit, value, null);
  67029. },
  67030. withSlash$2(numerator, denominator) {
  67031. return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A._Record_2(numerator, denominator));
  67032. },
  67033. hasUnit$1(unit) {
  67034. return unit === this._unit;
  67035. },
  67036. hasCompatibleUnits$1(other) {
  67037. return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
  67038. },
  67039. hasPossiblyCompatibleUnits$1(other) {
  67040. var t1, knownCompatibilities, otherUnit;
  67041. if (!(other instanceof A.SingleUnitSassNumber))
  67042. return false;
  67043. t1 = $.$get$_knownCompatibilitiesByUnit();
  67044. knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
  67045. if (knownCompatibilities == null)
  67046. return true;
  67047. otherUnit = other._unit.toLowerCase();
  67048. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  67049. },
  67050. compatibleWithUnit$1(unit) {
  67051. return A.conversionFactor(this._unit, unit) != null;
  67052. },
  67053. coerceToMatch$1(other) {
  67054. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceToUnit$1(other._unit) : null;
  67055. return t1 == null ? this.super$SassNumber$coerceToMatch(other, null, null) : t1;
  67056. },
  67057. coerceValueToMatch$3(other, $name, otherName) {
  67058. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  67059. return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, $name, otherName) : t1;
  67060. },
  67061. coerceValueToMatch$1(other) {
  67062. return this.coerceValueToMatch$3(other, null, null);
  67063. },
  67064. convertValueToMatch$3(other, $name, otherName) {
  67065. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  67066. return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
  67067. },
  67068. convertValueToMatch$1(other) {
  67069. return this.convertValueToMatch$3(other, null, null);
  67070. },
  67071. coerce$2(newNumerators, newDenominators) {
  67072. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
  67073. return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
  67074. },
  67075. coerceValue$3(newNumerators, newDenominators, $name) {
  67076. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
  67077. return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
  67078. },
  67079. coerceValueToUnit$2(unit, $name) {
  67080. var t1 = this._coerceValueToUnit$1(unit);
  67081. return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
  67082. },
  67083. coerceValueToUnit$1(unit) {
  67084. return this.coerceValueToUnit$2(unit, null);
  67085. },
  67086. _coerceToUnit$1(unit) {
  67087. var t1 = this._unit;
  67088. if (t1 === unit)
  67089. return this;
  67090. return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
  67091. },
  67092. _coerceValueToUnit$1(unit) {
  67093. return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
  67094. },
  67095. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  67096. var mutableOtherDenominators, t1 = {};
  67097. t1.value = value;
  67098. t1.newNumerators = otherNumerators;
  67099. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  67100. A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
  67101. return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
  67102. },
  67103. unaryMinus$0() {
  67104. return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
  67105. },
  67106. $eq(_, other) {
  67107. var factor;
  67108. if (other == null)
  67109. return false;
  67110. if (other instanceof A.SingleUnitSassNumber) {
  67111. factor = A.conversionFactor(other._unit, this._unit);
  67112. return factor != null && A.fuzzyEquals(this._number$_value * factor, other._number$_value);
  67113. } else
  67114. return false;
  67115. },
  67116. get$hashCode(_) {
  67117. var _this = this,
  67118. t1 = _this.hashCache;
  67119. return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
  67120. }
  67121. };
  67122. A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
  67123. call$1(factor) {
  67124. return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
  67125. },
  67126. $signature: 406
  67127. };
  67128. A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
  67129. call$1(factor) {
  67130. return this.$this._number$_value * factor;
  67131. },
  67132. $signature: 16
  67133. };
  67134. A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
  67135. call$1(denominator) {
  67136. var factor = A.conversionFactor(denominator, this.$this._unit);
  67137. if (factor == null)
  67138. return false;
  67139. this._box_0.value *= factor;
  67140. return true;
  67141. },
  67142. $signature: 5
  67143. };
  67144. A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
  67145. call$0() {
  67146. var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
  67147. t2 = this._box_0;
  67148. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  67149. t2.newNumerators = t1;
  67150. },
  67151. $signature: 0
  67152. };
  67153. A.UnitlessSassNumber.prototype = {
  67154. get$numeratorUnits(_) {
  67155. return B.List_empty;
  67156. },
  67157. get$denominatorUnits(_) {
  67158. return B.List_empty;
  67159. },
  67160. get$hasUnits() {
  67161. return false;
  67162. },
  67163. get$hasComplexUnits() {
  67164. return false;
  67165. },
  67166. withValue$1(value) {
  67167. return new A.UnitlessSassNumber(value, null);
  67168. },
  67169. withSlash$2(numerator, denominator) {
  67170. return new A.UnitlessSassNumber(this._number$_value, new A._Record_2(numerator, denominator));
  67171. },
  67172. hasUnit$1(unit) {
  67173. return false;
  67174. },
  67175. hasCompatibleUnits$1(other) {
  67176. return other instanceof A.UnitlessSassNumber;
  67177. },
  67178. hasPossiblyCompatibleUnits$1(other) {
  67179. return other instanceof A.UnitlessSassNumber;
  67180. },
  67181. compatibleWithUnit$1(unit) {
  67182. return true;
  67183. },
  67184. coerceToMatch$1(other) {
  67185. return other.withValue$1(this._number$_value);
  67186. },
  67187. coerceValueToMatch$3(other, $name, otherName) {
  67188. return this._number$_value;
  67189. },
  67190. coerceValueToMatch$1(other) {
  67191. return this.coerceValueToMatch$3(other, null, null);
  67192. },
  67193. convertValueToMatch$3(other, $name, otherName) {
  67194. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
  67195. },
  67196. convertValueToMatch$1(other) {
  67197. return this.convertValueToMatch$3(other, null, null);
  67198. },
  67199. coerce$2(newNumerators, newDenominators) {
  67200. return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
  67201. },
  67202. coerceValue$3(newNumerators, newDenominators, $name) {
  67203. return this._number$_value;
  67204. },
  67205. coerceValueToUnit$2(unit, $name) {
  67206. return this._number$_value;
  67207. },
  67208. coerceValueToUnit$1(unit) {
  67209. return this.coerceValueToUnit$2(unit, null);
  67210. },
  67211. greaterThan$1(other) {
  67212. var t1, t2;
  67213. if (other instanceof A.SassNumber) {
  67214. t1 = this._number$_value;
  67215. t2 = other._number$_value;
  67216. return t1 > t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67217. }
  67218. return this.super$SassNumber$greaterThan(other);
  67219. },
  67220. greaterThanOrEquals$1(other) {
  67221. var t1, t2;
  67222. if (other instanceof A.SassNumber) {
  67223. t1 = this._number$_value;
  67224. t2 = other._number$_value;
  67225. return t1 > t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67226. }
  67227. return this.super$SassNumber$greaterThanOrEquals(other);
  67228. },
  67229. lessThan$1(other) {
  67230. var t1, t2;
  67231. if (other instanceof A.SassNumber) {
  67232. t1 = this._number$_value;
  67233. t2 = other._number$_value;
  67234. return t1 < t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67235. }
  67236. return this.super$SassNumber$lessThan(other);
  67237. },
  67238. lessThanOrEquals$1(other) {
  67239. var t1, t2;
  67240. if (other instanceof A.SassNumber) {
  67241. t1 = this._number$_value;
  67242. t2 = other._number$_value;
  67243. return t1 < t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67244. }
  67245. return this.super$SassNumber$lessThanOrEquals(other);
  67246. },
  67247. modulo$1(other) {
  67248. if (other instanceof A.SassNumber)
  67249. return other.withValue$1(A.moduloLikeSass(this._number$_value, other._number$_value));
  67250. return this.super$SassNumber$modulo(other);
  67251. },
  67252. plus$1(other) {
  67253. if (other instanceof A.SassNumber)
  67254. return other.withValue$1(this._number$_value + other._number$_value);
  67255. return this.super$SassNumber$plus(other);
  67256. },
  67257. minus$1(other) {
  67258. if (other instanceof A.SassNumber)
  67259. return other.withValue$1(this._number$_value - other._number$_value);
  67260. return this.super$SassNumber$minus(other);
  67261. },
  67262. times$1(other) {
  67263. if (other instanceof A.SassNumber)
  67264. return other.withValue$1(this._number$_value * other._number$_value);
  67265. return this.super$SassNumber$times(other);
  67266. },
  67267. dividedBy$1(other) {
  67268. var t1, t2;
  67269. if (other instanceof A.SassNumber) {
  67270. t1 = this._number$_value / other._number$_value;
  67271. if (other.get$hasUnits()) {
  67272. t2 = other.get$denominatorUnits(other);
  67273. t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
  67274. t1 = t2;
  67275. } else
  67276. t1 = new A.UnitlessSassNumber(t1, null);
  67277. return t1;
  67278. }
  67279. return this.super$SassNumber$dividedBy(other);
  67280. },
  67281. unaryMinus$0() {
  67282. return new A.UnitlessSassNumber(-this._number$_value, null);
  67283. },
  67284. $eq(_, other) {
  67285. if (other == null)
  67286. return false;
  67287. return other instanceof A.UnitlessSassNumber && A.fuzzyEquals(this._number$_value, other._number$_value);
  67288. },
  67289. get$hashCode(_) {
  67290. var t1 = this.hashCache;
  67291. return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
  67292. }
  67293. };
  67294. A.SassString.prototype = {
  67295. get$_sassLength() {
  67296. var result, _this = this,
  67297. value = _this.__SassString__sassLength_FI;
  67298. if (value === $) {
  67299. result = new A.Runes(_this._string$_text).get$length(0);
  67300. _this.__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  67301. _this.__SassString__sassLength_FI = result;
  67302. value = result;
  67303. }
  67304. return value;
  67305. },
  67306. get$isSpecialNumber() {
  67307. var t1, _2_0, t2, _0_0, _1_0;
  67308. if (this._hasQuotes)
  67309. return false;
  67310. t1 = this._string$_text;
  67311. if (t1.length < 6)
  67312. return false;
  67313. _2_0 = t1.charCodeAt(0);
  67314. $label1$1: {
  67315. t2 = false;
  67316. if (99 === _2_0 || 67 === _2_0) {
  67317. _0_0 = t1.charCodeAt(1);
  67318. $label0$0: {
  67319. if (108 === _0_0 || 76 === _0_0) {
  67320. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  67321. break $label0$0;
  67322. }
  67323. if (97 === _0_0 || 65 === _0_0) {
  67324. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  67325. break $label0$0;
  67326. }
  67327. t1 = t2;
  67328. break $label0$0;
  67329. }
  67330. break $label1$1;
  67331. }
  67332. if (118 === _2_0 || 86 === _2_0) {
  67333. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  67334. break $label1$1;
  67335. }
  67336. if (101 === _2_0 || 69 === _2_0) {
  67337. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  67338. break $label1$1;
  67339. }
  67340. if (109 === _2_0 || 77 === _2_0) {
  67341. _1_0 = t1.charCodeAt(1);
  67342. $label2$2: {
  67343. if (97 === _1_0 || 65 === _1_0) {
  67344. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  67345. break $label2$2;
  67346. }
  67347. if (105 === _1_0 || 73 === _1_0) {
  67348. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  67349. break $label2$2;
  67350. }
  67351. t1 = t2;
  67352. break $label2$2;
  67353. }
  67354. break $label1$1;
  67355. }
  67356. t1 = t2;
  67357. break $label1$1;
  67358. }
  67359. return t1;
  67360. },
  67361. get$isVar() {
  67362. if (this._hasQuotes)
  67363. return false;
  67364. var t1 = this._string$_text;
  67365. if (t1.length < 8)
  67366. return false;
  67367. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  67368. },
  67369. get$isBlank() {
  67370. return !this._hasQuotes && this._string$_text.length === 0;
  67371. },
  67372. assertQuoted$1($name) {
  67373. if (this._hasQuotes)
  67374. return;
  67375. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be a quoted string.", $name));
  67376. },
  67377. assertUnquoted$1($name) {
  67378. if (!this._hasQuotes)
  67379. return;
  67380. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be an unquoted string.", $name));
  67381. },
  67382. assertUnquoted$0() {
  67383. return this.assertUnquoted$1(null);
  67384. },
  67385. accept$1$1(visitor) {
  67386. var t1 = visitor._quote && this._hasQuotes,
  67387. t2 = this._string$_text;
  67388. if (t1)
  67389. visitor._visitQuotedString$1(t2);
  67390. else
  67391. visitor._visitUnquotedString$1(t2);
  67392. return null;
  67393. },
  67394. accept$1(visitor) {
  67395. return this.accept$1$1(visitor, type$.dynamic);
  67396. },
  67397. assertString$1($name) {
  67398. return this;
  67399. },
  67400. plus$1(other) {
  67401. var t1 = this._string$_text,
  67402. t2 = this._hasQuotes;
  67403. return other instanceof A.SassString ? new A.SassString(t1 + other._string$_text, t2) : new A.SassString(t1 + A.serializeValue(other, false, true), t2);
  67404. },
  67405. $eq(_, other) {
  67406. if (other == null)
  67407. return false;
  67408. return other instanceof A.SassString && this._string$_text === other._string$_text;
  67409. },
  67410. get$hashCode(_) {
  67411. var t1 = this._hashCache;
  67412. return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
  67413. }
  67414. };
  67415. A.AnySelectorVisitor.prototype = {
  67416. visitComplexSelector$1(complex) {
  67417. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure(this));
  67418. },
  67419. visitCompoundSelector$1(compound) {
  67420. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure(this));
  67421. },
  67422. visitPseudoSelector$1(pseudo) {
  67423. var selector = pseudo.selector;
  67424. return selector == null ? false : this.visitSelectorList$1(selector);
  67425. },
  67426. visitSelectorList$1(list) {
  67427. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  67428. },
  67429. visitAttributeSelector$1(attribute) {
  67430. return false;
  67431. },
  67432. visitClassSelector$1(klass) {
  67433. return false;
  67434. },
  67435. visitIDSelector$1(id) {
  67436. return false;
  67437. },
  67438. visitParentSelector$1($parent) {
  67439. return false;
  67440. },
  67441. visitPlaceholderSelector$1(placeholder) {
  67442. return false;
  67443. },
  67444. visitTypeSelector$1(type) {
  67445. return false;
  67446. },
  67447. visitUniversalSelector$1(universal) {
  67448. return false;
  67449. }
  67450. };
  67451. A.AnySelectorVisitor_visitComplexSelector_closure.prototype = {
  67452. call$1(component) {
  67453. return this.$this.visitCompoundSelector$1(component.selector);
  67454. },
  67455. $signature: 52
  67456. };
  67457. A.AnySelectorVisitor_visitCompoundSelector_closure.prototype = {
  67458. call$1(simple) {
  67459. return simple.accept$1(this.$this);
  67460. },
  67461. $signature: 13
  67462. };
  67463. A._EvaluateVisitor0.prototype = {
  67464. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  67465. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  67466. _s20_ = "$name, $module: null",
  67467. _s9_ = "sass:meta",
  67468. _s7_ = "$module",
  67469. t1 = type$.JSArray_AsyncBuiltInCallable,
  67470. 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),
  67471. 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);
  67472. t1 = type$.AsyncBuiltInCallable;
  67473. t2 = A.List_List$of($.$get$moduleFunctions(), true, t1);
  67474. B.JSArray_methods.addAll$1(t2, metaFunctions);
  67475. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  67476. for (t1 = A.List_List$of($.$get$coreModules(), true, type$.BuiltInModule_AsyncCallable), t1.push(metaModule), t2 = t1.length, t3 = _this._async_evaluate$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  67477. module = t1[_i];
  67478. t3.$indexSet(0, module.url, module);
  67479. }
  67480. t1 = type$.JSArray_AsyncCallable;
  67481. t2 = A._setArrayType([], t1);
  67482. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions());
  67483. t1 = A._setArrayType([], t1);
  67484. for (_i = 0; _i < 11; ++_i)
  67485. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  67486. B.JSArray_methods.addAll$1(t2, t1);
  67487. for (t1 = t2.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  67488. $function = t2[_i];
  67489. t4 = $function.get$name($function);
  67490. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  67491. }
  67492. },
  67493. run$2(_, importer, node) {
  67494. return this.run$body$_EvaluateVisitor(0, importer, node);
  67495. },
  67496. run$body$_EvaluateVisitor(_, importer, node) {
  67497. var $async$goto = 0,
  67498. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  67499. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  67500. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67501. if ($async$errorCode === 1) {
  67502. $async$errorStack.push($async$result);
  67503. $async$goto = $async$handler;
  67504. }
  67505. while (true)
  67506. switch ($async$goto) {
  67507. case 0:
  67508. // Function start
  67509. $async$handler = 4;
  67510. t1 = type$.nullable_Object;
  67511. 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);
  67512. $async$goto = 7;
  67513. 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);
  67514. case 7:
  67515. // returning from await.
  67516. t1 = $async$result;
  67517. $async$returnValue = t1;
  67518. // goto return
  67519. $async$goto = 1;
  67520. break;
  67521. $async$handler = 2;
  67522. // goto after finally
  67523. $async$goto = 6;
  67524. break;
  67525. case 4:
  67526. // catch
  67527. $async$handler = 3;
  67528. $async$exception = $async$errorStack.pop();
  67529. t1 = A.unwrapException($async$exception);
  67530. if (t1 instanceof A.SassException) {
  67531. error = t1;
  67532. stackTrace = A.getTraceFromException($async$exception);
  67533. A.throwWithTrace(error.withLoadedUrls$1($async$self._async_evaluate$_loadedUrls), error, stackTrace);
  67534. } else
  67535. throw $async$exception;
  67536. // goto after finally
  67537. $async$goto = 6;
  67538. break;
  67539. case 3:
  67540. // uncaught
  67541. // goto rethrow
  67542. $async$goto = 2;
  67543. break;
  67544. case 6:
  67545. // after finally
  67546. case 1:
  67547. // return
  67548. return A._asyncReturn($async$returnValue, $async$completer);
  67549. case 2:
  67550. // rethrow
  67551. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  67552. }
  67553. });
  67554. return A._asyncStartSync($async$run$2, $async$completer);
  67555. },
  67556. _async_evaluate$_assertInModule$1$2(value, $name) {
  67557. if (value != null)
  67558. return value;
  67559. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  67560. },
  67561. _async_evaluate$_assertInModule$2(value, $name) {
  67562. return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
  67563. },
  67564. _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  67565. return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  67566. },
  67567. _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  67568. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  67569. },
  67570. _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  67571. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  67572. },
  67573. _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  67574. var $async$goto = 0,
  67575. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67576. $async$returnValue, $async$self = this, t2, _0_0, t1;
  67577. var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67578. if ($async$errorCode === 1)
  67579. return A._asyncRethrow($async$result, $async$completer);
  67580. while (true)
  67581. switch ($async$goto) {
  67582. case 0:
  67583. // Function start
  67584. _0_0 = $async$self._async_evaluate$_builtInModules.$index(0, url);
  67585. t1 = {};
  67586. t1.builtInModule = null;
  67587. $async$goto = _0_0 != null ? 3 : 4;
  67588. break;
  67589. case 3:
  67590. // then
  67591. t1.builtInModule = _0_0;
  67592. if (configuration instanceof A.ExplicitConfiguration) {
  67593. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  67594. t2 = configuration.nodeWithSpan;
  67595. throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
  67596. }
  67597. $async$goto = 5;
  67598. 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);
  67599. case 5:
  67600. // returning from await.
  67601. // goto return
  67602. $async$goto = 1;
  67603. break;
  67604. case 4:
  67605. // join
  67606. $async$goto = 6;
  67607. 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);
  67608. case 6:
  67609. // returning from await.
  67610. case 1:
  67611. // return
  67612. return A._asyncReturn($async$returnValue, $async$completer);
  67613. }
  67614. });
  67615. return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  67616. },
  67617. _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  67618. return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  67619. },
  67620. _async_evaluate$_execute$2(importer, stylesheet) {
  67621. return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  67622. },
  67623. _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  67624. var $async$goto = 0,
  67625. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
  67626. $async$returnValue, $async$self = this, _0_0, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, t1, url;
  67627. var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67628. if ($async$errorCode === 1)
  67629. return A._asyncRethrow($async$result, $async$completer);
  67630. while (true)
  67631. switch ($async$goto) {
  67632. case 0:
  67633. // Function start
  67634. t1 = stylesheet.span;
  67635. url = t1.get$sourceUrl(t1);
  67636. t1 = $async$self._async_evaluate$_modules;
  67637. _0_0 = t1.$index(0, url);
  67638. if (_0_0 != null) {
  67639. t1 = configuration == null;
  67640. currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
  67641. t2 = $async$self._async_evaluate$_moduleConfigurations.$index(0, url);
  67642. t3 = t2.__originalConfiguration;
  67643. t2 = t3 == null ? t2 : t3;
  67644. t3 = currentConfiguration.__originalConfiguration;
  67645. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  67646. if (namesInErrors) {
  67647. t2 = $.$get$context();
  67648. url.toString;
  67649. message = t2.prettyUri$1(url) + string$.x20was_a;
  67650. } else
  67651. message = string$.This_mw;
  67652. t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
  67653. existingSpan = t2 == null ? null : t2.get$span(t2);
  67654. if (t1) {
  67655. t1 = currentConfiguration.nodeWithSpan;
  67656. configurationSpan = t1.get$span(t1);
  67657. } else
  67658. configurationSpan = null;
  67659. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  67660. if (existingSpan != null)
  67661. t1.$indexSet(0, existingSpan, "original load");
  67662. if (configurationSpan != null)
  67663. t1.$indexSet(0, configurationSpan, "configuration");
  67664. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
  67665. }
  67666. $async$returnValue = _0_0;
  67667. // goto return
  67668. $async$goto = 1;
  67669. break;
  67670. }
  67671. environment = A.AsyncEnvironment$();
  67672. css = A._Cell$();
  67673. preModuleComments = A._Cell$();
  67674. extensionStore = A.ExtensionStore$();
  67675. $async$goto = 3;
  67676. 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);
  67677. case 3:
  67678. // returning from await.
  67679. t2 = css._readLocal$0();
  67680. t3 = preModuleComments._readLocal$0();
  67681. module = environment.toModule$3(t2, t3 == null ? B.Map_empty8 : t3, extensionStore);
  67682. if (url != null) {
  67683. t1.$indexSet(0, url, module);
  67684. $async$self._async_evaluate$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate$_configuration);
  67685. if (nodeWithSpan != null)
  67686. $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  67687. }
  67688. $async$returnValue = module;
  67689. // goto return
  67690. $async$goto = 1;
  67691. break;
  67692. case 1:
  67693. // return
  67694. return A._asyncReturn($async$returnValue, $async$completer);
  67695. }
  67696. });
  67697. return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  67698. },
  67699. _async_evaluate$_addOutOfOrderImports$0() {
  67700. var t1, t2, _this = this, _s5_ = "_root",
  67701. _s13_ = "_endOfImports",
  67702. _0_0 = _this._async_evaluate$_outOfOrderImports;
  67703. $label0$0: {
  67704. if (_0_0 == null) {
  67705. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  67706. break $label0$0;
  67707. }
  67708. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  67709. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), true, type$.ModifiableCssNode);
  67710. B.JSArray_methods.addAll$1(t1, _0_0);
  67711. t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  67712. 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")));
  67713. break $label0$0;
  67714. }
  67715. return t1;
  67716. },
  67717. _async_evaluate$_combineCss$2$clone(root, clone) {
  67718. var selectors, _0_0, t1, imports, css, sorted, t2;
  67719. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure1())) {
  67720. selectors = root.get$extensionStore().get$simpleSelectors();
  67721. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure2(selectors)));
  67722. if (_0_0 != null)
  67723. this._async_evaluate$_throwForUnsatisfiedExtension$1(_0_0);
  67724. return root.get$css(root);
  67725. }
  67726. t1 = type$.JSArray_CssNode;
  67727. imports = A._setArrayType([], t1);
  67728. css = A._setArrayType([], t1);
  67729. t1 = type$.Module_AsyncCallable;
  67730. sorted = A.ListQueue$(t1);
  67731. new A._EvaluateVisitor__combineCss_visitModule0(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  67732. if (root.get$transitivelyContainsExtensions())
  67733. this._async_evaluate$_extendModules$1(sorted);
  67734. t1 = B.JSArray_methods.$add(imports, css);
  67735. t2 = root.get$css(root);
  67736. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  67737. },
  67738. _async_evaluate$_combineCss$1(root) {
  67739. return this._async_evaluate$_combineCss$2$clone(root, false);
  67740. },
  67741. _async_evaluate$_extendModules$1(sortedModules) {
  67742. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  67743. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  67744. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  67745. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  67746. t3 = t1._collection$_current;
  67747. if (t3 == null)
  67748. t3 = t2._as(t3);
  67749. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  67750. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
  67751. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  67752. t4 = t3.get$extensionStore().get$addExtensions();
  67753. if ($self != null)
  67754. t4.call$1($self);
  67755. t4 = t3.get$extensionStore();
  67756. if (t4.get$isEmpty(t4))
  67757. continue;
  67758. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  67759. upstream = t4[_i];
  67760. _0_0 = upstream.get$url(upstream);
  67761. if (_0_0 != null)
  67762. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure2()), t3.get$extensionStore());
  67763. }
  67764. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  67765. }
  67766. if (unsatisfiedExtensions._collection$_length !== 0)
  67767. this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  67768. },
  67769. _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
  67770. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  67771. },
  67772. _async_evaluate$_indexAfterImports$1(statements) {
  67773. var t1, lastImport, i, _0_0;
  67774. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  67775. $label0$0: {
  67776. _0_0 = t1.$index(statements, i);
  67777. if (_0_0 instanceof A.ModifiableCssImport)
  67778. break $label0$0;
  67779. if (_0_0 instanceof A.ModifiableCssComment)
  67780. continue;
  67781. break;
  67782. }
  67783. lastImport = i;
  67784. }
  67785. return lastImport + 1;
  67786. },
  67787. visitStylesheet$1(_, node) {
  67788. return this.visitStylesheet$body$_EvaluateVisitor(0, node);
  67789. },
  67790. visitStylesheet$body$_EvaluateVisitor(_, node) {
  67791. var $async$goto = 0,
  67792. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  67793. $async$returnValue, $async$self = this, t1, t2, warning, _i, $name, span;
  67794. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67795. if ($async$errorCode === 1)
  67796. return A._asyncRethrow($async$result, $async$completer);
  67797. while (true)
  67798. switch ($async$goto) {
  67799. case 0:
  67800. // Function start
  67801. 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();) {
  67802. warning = t1.__internal$_current;
  67803. if (warning == null)
  67804. warning = t2._as(warning);
  67805. $async$self._async_evaluate$_warn$3(warning._1, warning._2, warning._0);
  67806. }
  67807. t1 = node.children, t2 = t1.length, _i = 0;
  67808. case 3:
  67809. // for condition
  67810. if (!(_i < t2)) {
  67811. // goto after for
  67812. $async$goto = 5;
  67813. break;
  67814. }
  67815. $async$goto = 6;
  67816. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  67817. case 6:
  67818. // returning from await.
  67819. case 4:
  67820. // for update
  67821. ++_i;
  67822. // goto for condition
  67823. $async$goto = 3;
  67824. break;
  67825. case 5:
  67826. // after for
  67827. for (t1 = A.MapExtensions_get_pairs(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  67828. t2 = t1.get$current(t1);
  67829. $name = t2._0;
  67830. span = t2._1;
  67831. $async$self.visitVariableDeclaration$1(0, new A.VariableDeclaration(null, $name, new A.NullExpression(span), true, false, span));
  67832. }
  67833. $async$returnValue = null;
  67834. // goto return
  67835. $async$goto = 1;
  67836. break;
  67837. case 1:
  67838. // return
  67839. return A._asyncReturn($async$returnValue, $async$completer);
  67840. }
  67841. });
  67842. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  67843. },
  67844. visitAtRootRule$1(_, node) {
  67845. return this.visitAtRootRule$body$_EvaluateVisitor(0, node);
  67846. },
  67847. visitAtRootRule$body$_EvaluateVisitor(_, node) {
  67848. var $async$goto = 0,
  67849. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  67850. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  67851. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67852. if ($async$errorCode === 1)
  67853. return A._asyncRethrow($async$result, $async$completer);
  67854. while (true)
  67855. switch ($async$goto) {
  67856. case 0:
  67857. // Function start
  67858. _0_0 = node.query;
  67859. $async$goto = _0_0 != null ? 3 : 5;
  67860. break;
  67861. case 3:
  67862. // then
  67863. $async$goto = 6;
  67864. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  67865. case 6:
  67866. // returning from await.
  67867. _1_0 = $async$result;
  67868. resolved = _1_0._0;
  67869. _1_0._1;
  67870. query = new A.AtRootQueryParser(A.SpanScanner$(resolved, null), null).parse$0(0);
  67871. // goto join
  67872. $async$goto = 4;
  67873. break;
  67874. case 5:
  67875. // else
  67876. query = B.AtRootQuery_bfj;
  67877. case 4:
  67878. // join
  67879. $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  67880. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  67881. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  67882. if (!query.excludes$1($parent))
  67883. included.push($parent);
  67884. _2_0 = $parent._parent;
  67885. if (_2_0 == null)
  67886. throw A.wrapException(A.StateError$(string$.CssNod));
  67887. }
  67888. root = $async$self._async_evaluate$_trimIncluded$1(included);
  67889. $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
  67890. break;
  67891. case 7:
  67892. // then
  67893. $async$goto = 9;
  67894. 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);
  67895. case 9:
  67896. // returning from await.
  67897. $async$returnValue = null;
  67898. // goto return
  67899. $async$goto = 1;
  67900. break;
  67901. case 8:
  67902. // join
  67903. if (included.length >= 1) {
  67904. first = included[0];
  67905. rest = B.JSArray_methods.sublist$1(included, 1);
  67906. innerCopy = first.copyWithoutChildren$0();
  67907. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  67908. copy = rest[_i].copyWithoutChildren$0();
  67909. copy.addChild$1(outerCopy);
  67910. }
  67911. root.addChild$1(outerCopy);
  67912. } else
  67913. innerCopy = root;
  67914. $async$goto = 10;
  67915. 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);
  67916. case 10:
  67917. // returning from await.
  67918. $async$returnValue = null;
  67919. // goto return
  67920. $async$goto = 1;
  67921. break;
  67922. case 1:
  67923. // return
  67924. return A._asyncReturn($async$returnValue, $async$completer);
  67925. }
  67926. });
  67927. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  67928. },
  67929. _async_evaluate$_trimIncluded$1(nodes) {
  67930. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  67931. _s22_ = " to be an ancestor of ";
  67932. if (nodes.length === 0)
  67933. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  67934. $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
  67935. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  67936. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  67937. _0_0 = $parent._parent;
  67938. if (_0_0 == null)
  67939. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  67940. }
  67941. if (innermostContiguous == null)
  67942. innermostContiguous = i;
  67943. _1_0 = $parent._parent;
  67944. if (_1_0 == null)
  67945. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  67946. }
  67947. if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
  67948. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  67949. innermostContiguous.toString;
  67950. root = nodes[innermostContiguous];
  67951. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  67952. return root;
  67953. },
  67954. _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
  67955. var _this = this,
  67956. scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
  67957. t1 = query._all || query._at_root_query$_rule;
  67958. if (t1 !== query.include)
  67959. scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
  67960. if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
  67961. scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
  67962. if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
  67963. scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
  67964. return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
  67965. },
  67966. visitContentBlock$1(_, node) {
  67967. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  67968. },
  67969. visitContentRule$1(_, node) {
  67970. return this.visitContentRule$body$_EvaluateVisitor(0, node);
  67971. },
  67972. visitContentRule$body$_EvaluateVisitor(_, node) {
  67973. var $async$goto = 0,
  67974. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  67975. $async$returnValue, $async$self = this, $content;
  67976. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67977. if ($async$errorCode === 1)
  67978. return A._asyncRethrow($async$result, $async$completer);
  67979. while (true)
  67980. switch ($async$goto) {
  67981. case 0:
  67982. // Function start
  67983. $content = $async$self._async_evaluate$_environment._async_environment$_content;
  67984. if ($content == null) {
  67985. $async$returnValue = null;
  67986. // goto return
  67987. $async$goto = 1;
  67988. break;
  67989. }
  67990. $async$goto = 3;
  67991. 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);
  67992. case 3:
  67993. // returning from await.
  67994. $async$returnValue = null;
  67995. // goto return
  67996. $async$goto = 1;
  67997. break;
  67998. case 1:
  67999. // return
  68000. return A._asyncReturn($async$returnValue, $async$completer);
  68001. }
  68002. });
  68003. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  68004. },
  68005. visitDebugRule$1(_, node) {
  68006. return this.visitDebugRule$body$_EvaluateVisitor(0, node);
  68007. },
  68008. visitDebugRule$body$_EvaluateVisitor(_, node) {
  68009. var $async$goto = 0,
  68010. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68011. $async$returnValue, $async$self = this, value, t1;
  68012. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68013. if ($async$errorCode === 1)
  68014. return A._asyncRethrow($async$result, $async$completer);
  68015. while (true)
  68016. switch ($async$goto) {
  68017. case 0:
  68018. // Function start
  68019. $async$goto = 3;
  68020. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  68021. case 3:
  68022. // returning from await.
  68023. value = $async$result;
  68024. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  68025. $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
  68026. $async$returnValue = null;
  68027. // goto return
  68028. $async$goto = 1;
  68029. break;
  68030. case 1:
  68031. // return
  68032. return A._asyncReturn($async$returnValue, $async$completer);
  68033. }
  68034. });
  68035. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  68036. },
  68037. visitDeclaration$1(_, node) {
  68038. return this.visitDeclaration$body$_EvaluateVisitor(0, node);
  68039. },
  68040. visitDeclaration$body$_EvaluateVisitor(_, node) {
  68041. var $async$goto = 0,
  68042. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68043. $async$returnValue, $async$self = this, siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName;
  68044. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68045. if ($async$errorCode === 1)
  68046. return A._asyncRethrow($async$result, $async$completer);
  68047. while (true)
  68048. switch ($async$goto) {
  68049. case 0:
  68050. // Function start
  68051. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
  68052. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
  68053. if ($async$self._async_evaluate$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  68054. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarw, node.span));
  68055. siblings = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent")._parent.children;
  68056. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule);
  68057. if (siblings.get$last(siblings) !== $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent"))
  68058. t1 = !($async$self._async_evaluate$_quietDeps && $async$self._async_evaluate$_inDependency);
  68059. else
  68060. t1 = false;
  68061. if (t1)
  68062. 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();) {
  68063. t6 = t1.__internal$_current;
  68064. rule = t6 == null ? t2._as(t6) : t6;
  68065. $label0$1: {
  68066. if (rule instanceof A.ModifiableCssComment)
  68067. continue;
  68068. t6 = rule instanceof A.ModifiableCssStyleRule;
  68069. rule0 = t6 ? rule : null;
  68070. if (t6) {
  68071. interleavedRules.push(rule0);
  68072. break $label0$1;
  68073. }
  68074. $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);
  68075. B.JSArray_methods.clear$0(interleavedRules);
  68076. break $label0$1;
  68077. }
  68078. }
  68079. t1 = node.name;
  68080. $async$goto = 3;
  68081. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  68082. case 3:
  68083. // returning from await.
  68084. $name = $async$result;
  68085. _1_0 = $async$self._async_evaluate$_declarationName;
  68086. if (_1_0 != null)
  68087. $name = new A.CssValue(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  68088. _2_0 = node.value;
  68089. $async$goto = _2_0 != null ? 4 : 5;
  68090. break;
  68091. case 4:
  68092. // then
  68093. $async$goto = 6;
  68094. return A._asyncAwait(_2_0.accept$1($async$self), $async$visitDeclaration$1);
  68095. case 6:
  68096. // returning from await.
  68097. value = $async$result;
  68098. if (!value.get$isBlank() || value.get$asList().length === 0) {
  68099. t2 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  68100. t3 = _2_0.get$span(_2_0);
  68101. t4 = node.span;
  68102. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  68103. t5 = interleavedRules.length === 0 ? null : $async$self._async_evaluate$_stackTrace$1(t4);
  68104. if ($async$self._async_evaluate$_sourceMap) {
  68105. t6 = A.NullableExtension_andThen(_2_0, $async$self.get$_async_evaluate$_expressionNode());
  68106. t6 = t6 == null ? null : J.get$span$z(t6);
  68107. } else
  68108. t6 = null;
  68109. t2.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t3, type$.CssValue_Value), t4, interleavedRules, t1, t5, t6));
  68110. } else if (J.startsWith$1$s($name.value, "--"))
  68111. throw A.wrapException($async$self._async_evaluate$_exception$2("Custom property values may not be empty.", _2_0.get$span(_2_0)));
  68112. case 5:
  68113. // join
  68114. _3_0 = node.children;
  68115. t1 = {};
  68116. t1.children = null;
  68117. $async$goto = _3_0 != null ? 7 : 8;
  68118. break;
  68119. case 7:
  68120. // then
  68121. t1.children = _3_0;
  68122. oldDeclarationName = $async$self._async_evaluate$_declarationName;
  68123. $async$self._async_evaluate$_declarationName = $name.value;
  68124. $async$goto = 9;
  68125. 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);
  68126. case 9:
  68127. // returning from await.
  68128. $async$self._async_evaluate$_declarationName = oldDeclarationName;
  68129. case 8:
  68130. // join
  68131. $async$returnValue = null;
  68132. // goto return
  68133. $async$goto = 1;
  68134. break;
  68135. case 1:
  68136. // return
  68137. return A._asyncReturn($async$returnValue, $async$completer);
  68138. }
  68139. });
  68140. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  68141. },
  68142. visitEachRule$1(_, node) {
  68143. return this.visitEachRule$body$_EvaluateVisitor(0, node);
  68144. },
  68145. visitEachRule$body$_EvaluateVisitor(_, node) {
  68146. var $async$goto = 0,
  68147. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68148. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, _0_0;
  68149. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68150. if ($async$errorCode === 1)
  68151. return A._asyncRethrow($async$result, $async$completer);
  68152. while (true)
  68153. switch ($async$goto) {
  68154. case 0:
  68155. // Function start
  68156. t1 = node.list;
  68157. $async$goto = 3;
  68158. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  68159. case 3:
  68160. // returning from await.
  68161. list = $async$result;
  68162. nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
  68163. _0_0 = node.variables;
  68164. $label0$0: {
  68165. t1 = {};
  68166. t1.variable = null;
  68167. if (_0_0.length === 1) {
  68168. t1.variable = _0_0[0];
  68169. t1 = new A._EvaluateVisitor_visitEachRule_closure2(t1, $async$self, nodeWithSpan);
  68170. break $label0$0;
  68171. }
  68172. t1 = {};
  68173. t1.variables = null;
  68174. t1.variables = _0_0;
  68175. t1 = new A._EvaluateVisitor_visitEachRule_closure3(t1, $async$self, nodeWithSpan);
  68176. break $label0$0;
  68177. }
  68178. $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);
  68179. // goto return
  68180. $async$goto = 1;
  68181. break;
  68182. case 1:
  68183. // return
  68184. return A._asyncReturn($async$returnValue, $async$completer);
  68185. }
  68186. });
  68187. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  68188. },
  68189. _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  68190. var i,
  68191. list = value.get$asList(),
  68192. t1 = variables.length,
  68193. minLength = Math.min(t1, list.length);
  68194. for (i = 0; i < minLength; ++i)
  68195. this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  68196. for (i = minLength; i < t1; ++i)
  68197. this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  68198. },
  68199. visitErrorRule$1(_, node) {
  68200. return this.visitErrorRule$body$_EvaluateVisitor(0, node);
  68201. },
  68202. visitErrorRule$body$_EvaluateVisitor(_, node) {
  68203. var $async$goto = 0,
  68204. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  68205. $async$self = this, $async$temp1, $async$temp2;
  68206. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68207. if ($async$errorCode === 1)
  68208. return A._asyncRethrow($async$result, $async$completer);
  68209. while (true)
  68210. switch ($async$goto) {
  68211. case 0:
  68212. // Function start
  68213. $async$temp1 = A;
  68214. $async$temp2 = J;
  68215. $async$goto = 2;
  68216. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  68217. case 2:
  68218. // returning from await.
  68219. throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
  68220. // implicit return
  68221. return A._asyncReturn(null, $async$completer);
  68222. }
  68223. });
  68224. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  68225. },
  68226. visitExtendRule$1(_, node) {
  68227. return this.visitExtendRule$body$_EvaluateVisitor(0, node);
  68228. },
  68229. visitExtendRule$body$_EvaluateVisitor(_, node) {
  68230. var $async$goto = 0,
  68231. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68232. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, styleRule;
  68233. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68234. if ($async$errorCode === 1)
  68235. return A._asyncRethrow($async$result, $async$completer);
  68236. while (true)
  68237. switch ($async$goto) {
  68238. case 0:
  68239. // Function start
  68240. styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  68241. if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
  68242. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
  68243. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  68244. complex = t1[_i];
  68245. if (!complex.accept$1(B._IsBogusVisitor_true))
  68246. continue;
  68247. visitor = A._SerializeVisitor$(null, true, null, null, true, false, null, true);
  68248. complex.accept$1(visitor);
  68249. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  68250. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  68251. $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);
  68252. }
  68253. $async$goto = 3;
  68254. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  68255. case 3:
  68256. // returning from await.
  68257. _0_0 = $async$result;
  68258. targetText = _0_0._0;
  68259. targetMap = _0_0._1;
  68260. 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) {
  68261. complex = t1[_i];
  68262. compound = complex.get$singleCompound();
  68263. if (compound == null)
  68264. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, null));
  68265. t4 = compound.components;
  68266. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  68267. if (t5 == null)
  68268. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  68269. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate$_mediaQueries);
  68270. }
  68271. $async$returnValue = null;
  68272. // goto return
  68273. $async$goto = 1;
  68274. break;
  68275. case 1:
  68276. // return
  68277. return A._asyncReturn($async$returnValue, $async$completer);
  68278. }
  68279. });
  68280. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  68281. },
  68282. visitAtRule$1(_, node) {
  68283. return this.visitAtRule$body$_EvaluateVisitor(0, node);
  68284. },
  68285. visitAtRule$body$_EvaluateVisitor(_, node) {
  68286. var $async$goto = 0,
  68287. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68288. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  68289. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68290. if ($async$errorCode === 1)
  68291. return A._asyncRethrow($async$result, $async$completer);
  68292. while (true)
  68293. switch ($async$goto) {
  68294. case 0:
  68295. // Function start
  68296. if ($async$self._async_evaluate$_declarationName != null)
  68297. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  68298. $async$goto = 3;
  68299. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  68300. case 3:
  68301. // returning from await.
  68302. $name = $async$result;
  68303. t1 = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self));
  68304. $async$goto = 4;
  68305. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String), $async$visitAtRule$1);
  68306. case 4:
  68307. // returning from await.
  68308. value = $async$result;
  68309. children = node.children;
  68310. if (children == null) {
  68311. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  68312. $async$returnValue = null;
  68313. // goto return
  68314. $async$goto = 1;
  68315. break;
  68316. }
  68317. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  68318. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  68319. if (A.unvendor($name.value) === "keyframes")
  68320. $async$self._async_evaluate$_inKeyframes = true;
  68321. else
  68322. $async$self._async_evaluate$_inUnknownAtRule = true;
  68323. $async$goto = 5;
  68324. 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);
  68325. case 5:
  68326. // returning from await.
  68327. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  68328. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  68329. $async$returnValue = null;
  68330. // goto return
  68331. $async$goto = 1;
  68332. break;
  68333. case 1:
  68334. // return
  68335. return A._asyncReturn($async$returnValue, $async$completer);
  68336. }
  68337. });
  68338. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  68339. },
  68340. visitForRule$1(_, node) {
  68341. return this.visitForRule$body$_EvaluateVisitor(0, node);
  68342. },
  68343. visitForRule$body$_EvaluateVisitor(_, node) {
  68344. var $async$goto = 0,
  68345. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68346. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  68347. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68348. if ($async$errorCode === 1)
  68349. return A._asyncRethrow($async$result, $async$completer);
  68350. while (true)
  68351. switch ($async$goto) {
  68352. case 0:
  68353. // Function start
  68354. t1 = {};
  68355. t2 = node.from;
  68356. t3 = type$.SassNumber;
  68357. $async$goto = 3;
  68358. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
  68359. case 3:
  68360. // returning from await.
  68361. fromNumber = $async$result;
  68362. t4 = node.to;
  68363. $async$goto = 4;
  68364. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
  68365. case 4:
  68366. // returning from await.
  68367. toNumber = $async$result;
  68368. from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
  68369. to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
  68370. direction = from > to ? -1 : 1;
  68371. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  68372. $async$returnValue = null;
  68373. // goto return
  68374. $async$goto = 1;
  68375. break;
  68376. }
  68377. $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);
  68378. // goto return
  68379. $async$goto = 1;
  68380. break;
  68381. case 1:
  68382. // return
  68383. return A._asyncReturn($async$returnValue, $async$completer);
  68384. }
  68385. });
  68386. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  68387. },
  68388. visitForwardRule$1(_, node) {
  68389. return this.visitForwardRule$body$_EvaluateVisitor(0, node);
  68390. },
  68391. visitForwardRule$body$_EvaluateVisitor(_, node) {
  68392. var $async$goto = 0,
  68393. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68394. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  68395. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68396. if ($async$errorCode === 1)
  68397. return A._asyncRethrow($async$result, $async$completer);
  68398. while (true)
  68399. switch ($async$goto) {
  68400. case 0:
  68401. // Function start
  68402. oldConfiguration = $async$self._async_evaluate$_configuration;
  68403. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  68404. t1 = node.configuration;
  68405. t2 = t1.length;
  68406. t3 = node.url;
  68407. $async$goto = t2 !== 0 ? 3 : 5;
  68408. break;
  68409. case 3:
  68410. // then
  68411. $async$goto = 6;
  68412. return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  68413. case 6:
  68414. // returning from await.
  68415. newConfiguration = $async$result;
  68416. $async$goto = 7;
  68417. 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);
  68418. case 7:
  68419. // returning from await.
  68420. t3 = type$.String;
  68421. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  68422. for (_i = 0; _i < t2; ++_i) {
  68423. variable = t1[_i];
  68424. if (!variable.isGuarded)
  68425. t4.add$1(0, variable.name);
  68426. }
  68427. $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  68428. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  68429. for (_i = 0; _i < t2; ++_i)
  68430. t3.add$1(0, t1[_i].name);
  68431. for (t1 = newConfiguration._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  68432. $name = t2[_i];
  68433. if (!t3.contains$1(0, $name))
  68434. if (!t1.get$isEmpty(t1))
  68435. t1.remove$1(0, $name);
  68436. }
  68437. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
  68438. // goto join
  68439. $async$goto = 4;
  68440. break;
  68441. case 5:
  68442. // else
  68443. $async$self._async_evaluate$_configuration = adjustedConfiguration;
  68444. $async$goto = 8;
  68445. return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
  68446. case 8:
  68447. // returning from await.
  68448. $async$self._async_evaluate$_configuration = oldConfiguration;
  68449. case 4:
  68450. // join
  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$visitForwardRule$1, $async$completer);
  68461. },
  68462. _async_evaluate$_addForwardConfiguration$2(configuration, node) {
  68463. return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
  68464. },
  68465. _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
  68466. var $async$goto = 0,
  68467. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
  68468. $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;
  68469. var $async$_async_evaluate$_addForwardConfiguration$2 = 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 = configuration._configuration$_values;
  68477. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  68478. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value, t5 = type$.Future_Value, _i = 0;
  68479. case 3:
  68480. // for condition
  68481. if (!(_i < t3)) {
  68482. // goto after for
  68483. $async$goto = 5;
  68484. break;
  68485. }
  68486. variable = t2[_i];
  68487. if (variable.isGuarded) {
  68488. t6 = variable.name;
  68489. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  68490. if (_0_0 != null) {
  68491. t7 = !_0_0.value.$eq(0, B.C__SassNull);
  68492. oldValue = _0_0;
  68493. } else {
  68494. oldValue = null;
  68495. t7 = false;
  68496. }
  68497. if (t7) {
  68498. newValues.$indexSet(0, t6, oldValue);
  68499. // goto for update
  68500. $async$goto = 4;
  68501. break;
  68502. }
  68503. }
  68504. t6 = variable.expression;
  68505. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t6);
  68506. t6 = t6.accept$1($async$self);
  68507. if (!t5._is(t6)) {
  68508. t7 = new A._Future($.Zone__current, t4);
  68509. t7._state = 8;
  68510. t7._resultOrListeners = t6;
  68511. t6 = t7;
  68512. }
  68513. $async$temp1 = newValues;
  68514. $async$temp2 = variable.name;
  68515. $async$temp3 = A;
  68516. $async$goto = 6;
  68517. return A._asyncAwait(t6, $async$_async_evaluate$_addForwardConfiguration$2);
  68518. case 6:
  68519. // returning from await.
  68520. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  68521. case 4:
  68522. // for update
  68523. ++_i;
  68524. // goto for condition
  68525. $async$goto = 3;
  68526. break;
  68527. case 5:
  68528. // after for
  68529. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
  68530. $async$returnValue = new A.ExplicitConfiguration(node, newValues, null);
  68531. // goto return
  68532. $async$goto = 1;
  68533. break;
  68534. } else {
  68535. $async$returnValue = new A.Configuration(newValues, null);
  68536. // goto return
  68537. $async$goto = 1;
  68538. break;
  68539. }
  68540. case 1:
  68541. // return
  68542. return A._asyncReturn($async$returnValue, $async$completer);
  68543. }
  68544. });
  68545. return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
  68546. },
  68547. _async_evaluate$_registerCommentsForModule$1(module) {
  68548. var _this = this, _s5_ = "_root",
  68549. t1 = _this._async_evaluate$__root;
  68550. if (t1 == null)
  68551. return;
  68552. if (_this._async_evaluate$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  68553. return;
  68554. t1 = _this._async_evaluate$_preModuleComments;
  68555. if (t1 == null)
  68556. t1 = _this._async_evaluate$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.List_CssComment);
  68557. 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));
  68558. _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).clearChildren$0();
  68559. _this._async_evaluate$__endOfImports = 0;
  68560. },
  68561. _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  68562. var t1, t2, t3, t4, _i, $name;
  68563. for (t1 = upstream._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._configuration$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  68564. $name = t2[_i];
  68565. if (except.contains$1(0, $name))
  68566. continue;
  68567. if (!t4.containsKey$1($name))
  68568. if (!t1.get$isEmpty(t1))
  68569. t1.remove$1(0, $name);
  68570. }
  68571. },
  68572. _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  68573. var t1, _0_0, $name, value;
  68574. if (!(configuration instanceof A.ExplicitConfiguration))
  68575. return;
  68576. t1 = configuration._configuration$_values;
  68577. if (t1.get$isEmpty(t1))
  68578. return;
  68579. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  68580. _0_0 = t1.get$first(t1);
  68581. $name = _0_0._0;
  68582. value = _0_0._1;
  68583. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  68584. throw A.wrapException(this._async_evaluate$_exception$2(t1, value.configurationSpan));
  68585. },
  68586. _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
  68587. return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  68588. },
  68589. visitFunctionRule$1(_, node) {
  68590. return this.visitFunctionRule$body$_EvaluateVisitor(0, node);
  68591. },
  68592. visitFunctionRule$body$_EvaluateVisitor(_, node) {
  68593. var $async$goto = 0,
  68594. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68595. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  68596. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68597. if ($async$errorCode === 1)
  68598. return A._asyncRethrow($async$result, $async$completer);
  68599. while (true)
  68600. switch ($async$goto) {
  68601. case 0:
  68602. // Function start
  68603. t1 = $async$self._async_evaluate$_environment;
  68604. t2 = t1.closure$0();
  68605. t3 = $async$self._async_evaluate$_inDependency;
  68606. t4 = t1._async_environment$_functions;
  68607. index = t4.length - 1;
  68608. t5 = node.name;
  68609. t1._async_environment$_functionIndices.$indexSet(0, t5, index);
  68610. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  68611. $async$returnValue = null;
  68612. // goto return
  68613. $async$goto = 1;
  68614. break;
  68615. case 1:
  68616. // return
  68617. return A._asyncReturn($async$returnValue, $async$completer);
  68618. }
  68619. });
  68620. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  68621. },
  68622. visitIfRule$1(_, node) {
  68623. return this.visitIfRule$body$_EvaluateVisitor(0, node);
  68624. },
  68625. visitIfRule$body$_EvaluateVisitor(_, node) {
  68626. var $async$goto = 0,
  68627. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68628. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  68629. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68630. if ($async$errorCode === 1)
  68631. return A._asyncRethrow($async$result, $async$completer);
  68632. while (true)
  68633. switch ($async$goto) {
  68634. case 0:
  68635. // Function start
  68636. clause = node.lastClause;
  68637. t1 = node.clauses, t2 = t1.length, _i = 0;
  68638. case 3:
  68639. // for condition
  68640. if (!(_i < t2)) {
  68641. // goto after for
  68642. $async$goto = 5;
  68643. break;
  68644. }
  68645. clauseToCheck = t1[_i];
  68646. $async$goto = 6;
  68647. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  68648. case 6:
  68649. // returning from await.
  68650. if ($async$result.get$isTruthy()) {
  68651. clause = clauseToCheck;
  68652. // goto after for
  68653. $async$goto = 5;
  68654. break;
  68655. }
  68656. case 4:
  68657. // for update
  68658. ++_i;
  68659. // goto for condition
  68660. $async$goto = 3;
  68661. break;
  68662. case 5:
  68663. // after for
  68664. t1 = A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure0($async$self));
  68665. $async$goto = 7;
  68666. return A._asyncAwait(type$.Future_nullable_Value._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value), $async$visitIfRule$1);
  68667. case 7:
  68668. // returning from await.
  68669. $async$returnValue = $async$result;
  68670. // goto return
  68671. $async$goto = 1;
  68672. break;
  68673. case 1:
  68674. // return
  68675. return A._asyncReturn($async$returnValue, $async$completer);
  68676. }
  68677. });
  68678. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  68679. },
  68680. visitImportRule$1(_, node) {
  68681. return this.visitImportRule$body$_EvaluateVisitor(0, node);
  68682. },
  68683. visitImportRule$body$_EvaluateVisitor(_, node) {
  68684. var $async$goto = 0,
  68685. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68686. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  68687. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68688. if ($async$errorCode === 1)
  68689. return A._asyncRethrow($async$result, $async$completer);
  68690. while (true)
  68691. switch ($async$goto) {
  68692. case 0:
  68693. // Function start
  68694. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
  68695. case 3:
  68696. // for condition
  68697. if (!(_i < t2)) {
  68698. // goto after for
  68699. $async$goto = 5;
  68700. break;
  68701. }
  68702. $import = t1[_i];
  68703. $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
  68704. break;
  68705. case 6:
  68706. // then
  68707. $async$goto = 9;
  68708. return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
  68709. case 9:
  68710. // returning from await.
  68711. // goto join
  68712. $async$goto = 7;
  68713. break;
  68714. case 8:
  68715. // else
  68716. $async$goto = 10;
  68717. return A._asyncAwait($async$self._visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  68718. case 10:
  68719. // returning from await.
  68720. case 7:
  68721. // join
  68722. case 4:
  68723. // for update
  68724. ++_i;
  68725. // goto for condition
  68726. $async$goto = 3;
  68727. break;
  68728. case 5:
  68729. // after for
  68730. $async$returnValue = null;
  68731. // goto return
  68732. $async$goto = 1;
  68733. break;
  68734. case 1:
  68735. // return
  68736. return A._asyncReturn($async$returnValue, $async$completer);
  68737. }
  68738. });
  68739. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  68740. },
  68741. _async_evaluate$_visitDynamicImport$1($import) {
  68742. return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
  68743. },
  68744. _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  68745. return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
  68746. },
  68747. _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  68748. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  68749. },
  68750. _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
  68751. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  68752. },
  68753. _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
  68754. var $async$goto = 0,
  68755. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  68756. $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;
  68757. var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68758. if ($async$errorCode === 1) {
  68759. $async$errorStack.push($async$result);
  68760. $async$goto = $async$handler;
  68761. }
  68762. while (true)
  68763. switch ($async$goto) {
  68764. case 0:
  68765. // Function start
  68766. baseUrl = baseUrl;
  68767. $async$handler = 4;
  68768. $async$self._async_evaluate$_importSpan = span;
  68769. _0_0 = $async$self._async_evaluate$_importCache;
  68770. importCache = null;
  68771. $async$goto = _0_0 != null ? 7 : 8;
  68772. break;
  68773. case 7:
  68774. // then
  68775. importCache = _0_0;
  68776. if (baseUrl == null) {
  68777. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  68778. baseUrl = t1.get$sourceUrl(t1);
  68779. }
  68780. $async$goto = 9;
  68781. 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);
  68782. case 9:
  68783. // returning from await.
  68784. _1_0 = $async$result;
  68785. importer = null;
  68786. canonicalUrl = null;
  68787. originalUrl = null;
  68788. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  68789. break;
  68790. case 10:
  68791. // then
  68792. importer = _1_0._0;
  68793. canonicalUrl = _1_0._1;
  68794. originalUrl = _1_0._2;
  68795. if (canonicalUrl.get$scheme() === "")
  68796. 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);
  68797. $async$self._async_evaluate$_loadedUrls.add$1(0, canonicalUrl);
  68798. isDependency = $async$self._async_evaluate$_inDependency || !J.$eq$(importer, $async$self._async_evaluate$_importer);
  68799. $async$goto = 12;
  68800. return A._asyncAwait(importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  68801. case 12:
  68802. // returning from await.
  68803. _2_0 = $async$result;
  68804. stylesheet = null;
  68805. if (_2_0 != null) {
  68806. stylesheet = _2_0;
  68807. t1 = stylesheet;
  68808. t2 = importer;
  68809. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  68810. $async$next = [1];
  68811. // goto finally
  68812. $async$goto = 5;
  68813. break;
  68814. }
  68815. case 11:
  68816. // join
  68817. case 8:
  68818. // join
  68819. t1 = B.JSString_methods.startsWith$1(url, "package:");
  68820. if (t1)
  68821. throw A.wrapException(string$.x22packa);
  68822. else
  68823. throw A.wrapException("Can't find stylesheet to import.");
  68824. $async$next.push(6);
  68825. // goto finally
  68826. $async$goto = 5;
  68827. break;
  68828. case 4:
  68829. // catch
  68830. $async$handler = 3;
  68831. $async$exception = $async$errorStack.pop();
  68832. t1 = A.unwrapException($async$exception);
  68833. if (t1 instanceof A.SassException)
  68834. throw $async$exception;
  68835. else if (t1 instanceof A.ArgumentError) {
  68836. error = t1;
  68837. stackTrace = A.getTraceFromException($async$exception);
  68838. A.throwWithTrace($async$self._async_evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  68839. } else {
  68840. error0 = t1;
  68841. stackTrace0 = A.getTraceFromException($async$exception);
  68842. A.throwWithTrace($async$self._async_evaluate$_exception$1($async$self._async_evaluate$_getErrorMessage$1(error0)), error0, stackTrace0);
  68843. }
  68844. $async$next.push(6);
  68845. // goto finally
  68846. $async$goto = 5;
  68847. break;
  68848. case 3:
  68849. // uncaught
  68850. $async$next = [2];
  68851. case 5:
  68852. // finally
  68853. $async$handler = 2;
  68854. $async$self._async_evaluate$_importSpan = null;
  68855. // goto the next finally handler
  68856. $async$goto = $async$next.pop();
  68857. break;
  68858. case 6:
  68859. // after finally
  68860. case 1:
  68861. // return
  68862. return A._asyncReturn($async$returnValue, $async$completer);
  68863. case 2:
  68864. // rethrow
  68865. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  68866. }
  68867. });
  68868. return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  68869. },
  68870. _visitStaticImport$1($import) {
  68871. return this._visitStaticImport$body$_EvaluateVisitor($import);
  68872. },
  68873. _visitStaticImport$body$_EvaluateVisitor($import) {
  68874. var $async$goto = 0,
  68875. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68876. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  68877. var $async$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68878. if ($async$errorCode === 1)
  68879. return A._asyncRethrow($async$result, $async$completer);
  68880. while (true)
  68881. switch ($async$goto) {
  68882. case 0:
  68883. // Function start
  68884. $async$goto = 2;
  68885. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_visitStaticImport$1);
  68886. case 2:
  68887. // returning from await.
  68888. t1 = $async$result;
  68889. t2 = A.NullableExtension_andThen($import.modifiers, $async$self.get$_async_evaluate$_interpolationToValue());
  68890. $async$temp1 = A;
  68891. $async$temp2 = t1;
  68892. $async$goto = 3;
  68893. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t2) ? t2 : A._Future$value(t2, type$.nullable_CssValue_String), $async$_visitStaticImport$1);
  68894. case 3:
  68895. // returning from await.
  68896. node = new $async$temp1.ModifiableCssImport($async$temp2, $async$result, $import.span);
  68897. 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"))
  68898. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
  68899. 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)) {
  68900. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
  68901. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  68902. } else {
  68903. t1 = $async$self._async_evaluate$_outOfOrderImports;
  68904. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
  68905. }
  68906. // implicit return
  68907. return A._asyncReturn(null, $async$completer);
  68908. }
  68909. });
  68910. return A._asyncStartSync($async$_visitStaticImport$1, $async$completer);
  68911. },
  68912. _async_evaluate$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  68913. return this._applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  68914. },
  68915. _applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  68916. var $async$goto = 0,
  68917. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68918. $async$self = this, t1, _0_0, t2, _1_8;
  68919. var $async$_async_evaluate$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68920. if ($async$errorCode === 1)
  68921. return A._asyncRethrow($async$result, $async$completer);
  68922. while (true)
  68923. switch ($async$goto) {
  68924. case 0:
  68925. // Function start
  68926. if (mixin == null)
  68927. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  68928. t1 = type$.AsyncBuiltInCallable._is(mixin);
  68929. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  68930. break;
  68931. case 3:
  68932. // then
  68933. $async$goto = 5;
  68934. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_applyMixin$5);
  68935. case 5:
  68936. // returning from await.
  68937. t1 = $async$result._values;
  68938. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  68939. 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));
  68940. case 4:
  68941. // join
  68942. $async$goto = t1 ? 6 : 7;
  68943. break;
  68944. case 6:
  68945. // then
  68946. $async$goto = 8;
  68947. 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);
  68948. case 8:
  68949. // returning from await.
  68950. // goto break $label0$0
  68951. $async$goto = 2;
  68952. break;
  68953. case 7:
  68954. // join
  68955. t1 = type$.UserDefinedCallable_AsyncEnvironment._is(mixin);
  68956. t2 = false;
  68957. if (t1) {
  68958. _1_8 = mixin.declaration;
  68959. if (_1_8 instanceof A.MixinRule)
  68960. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  68961. }
  68962. if (t2)
  68963. 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));
  68964. $async$goto = t1 ? 9 : 10;
  68965. break;
  68966. case 9:
  68967. // then
  68968. $async$goto = 11;
  68969. 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);
  68970. case 11:
  68971. // returning from await.
  68972. // goto break $label0$0
  68973. $async$goto = 2;
  68974. break;
  68975. case 10:
  68976. // join
  68977. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  68978. case 2:
  68979. // break $label0$0
  68980. // implicit return
  68981. return A._asyncReturn(null, $async$completer);
  68982. }
  68983. });
  68984. return A._asyncStartSync($async$_async_evaluate$_applyMixin$5, $async$completer);
  68985. },
  68986. visitIncludeRule$1(_, node) {
  68987. return this.visitIncludeRule$body$_EvaluateVisitor(0, node);
  68988. },
  68989. visitIncludeRule$body$_EvaluateVisitor(_, node) {
  68990. var $async$goto = 0,
  68991. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68992. $async$returnValue, $async$self = this, mixin;
  68993. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68994. if ($async$errorCode === 1)
  68995. return A._asyncRethrow($async$result, $async$completer);
  68996. while (true)
  68997. switch ($async$goto) {
  68998. case 0:
  68999. // Function start
  69000. mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure2($async$self, node));
  69001. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  69002. $async$self._async_evaluate$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_Kg6);
  69003. $async$goto = 3;
  69004. 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);
  69005. case 3:
  69006. // returning from await.
  69007. $async$returnValue = null;
  69008. // goto return
  69009. $async$goto = 1;
  69010. break;
  69011. case 1:
  69012. // return
  69013. return A._asyncReturn($async$returnValue, $async$completer);
  69014. }
  69015. });
  69016. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  69017. },
  69018. visitMixinRule$1(_, node) {
  69019. return this.visitMixinRule$body$_EvaluateVisitor(0, node);
  69020. },
  69021. visitMixinRule$body$_EvaluateVisitor(_, node) {
  69022. var $async$goto = 0,
  69023. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69024. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  69025. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69026. if ($async$errorCode === 1)
  69027. return A._asyncRethrow($async$result, $async$completer);
  69028. while (true)
  69029. switch ($async$goto) {
  69030. case 0:
  69031. // Function start
  69032. t1 = $async$self._async_evaluate$_environment;
  69033. t2 = t1.closure$0();
  69034. t3 = $async$self._async_evaluate$_inDependency;
  69035. t4 = t1._async_environment$_mixins;
  69036. index = t4.length - 1;
  69037. t5 = node.name;
  69038. t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
  69039. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  69040. $async$returnValue = null;
  69041. // goto return
  69042. $async$goto = 1;
  69043. break;
  69044. case 1:
  69045. // return
  69046. return A._asyncReturn($async$returnValue, $async$completer);
  69047. }
  69048. });
  69049. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  69050. },
  69051. visitLoudComment$1(_, node) {
  69052. return this.visitLoudComment$body$_EvaluateVisitor(0, node);
  69053. },
  69054. visitLoudComment$body$_EvaluateVisitor(_, node) {
  69055. var $async$goto = 0,
  69056. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69057. $async$returnValue, $async$self = this, t1, text;
  69058. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69059. if ($async$errorCode === 1)
  69060. return A._asyncRethrow($async$result, $async$completer);
  69061. while (true)
  69062. switch ($async$goto) {
  69063. case 0:
  69064. // Function start
  69065. if ($async$self._async_evaluate$_inFunction) {
  69066. $async$returnValue = null;
  69067. // goto return
  69068. $async$goto = 1;
  69069. break;
  69070. }
  69071. 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))
  69072. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  69073. t1 = node.text;
  69074. $async$goto = 3;
  69075. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
  69076. case 3:
  69077. // returning from await.
  69078. text = $async$result;
  69079. if (!B.JSString_methods.endsWith$1(text, "*/"))
  69080. text += " */";
  69081. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(text, t1.span));
  69082. $async$returnValue = null;
  69083. // goto return
  69084. $async$goto = 1;
  69085. break;
  69086. case 1:
  69087. // return
  69088. return A._asyncReturn($async$returnValue, $async$completer);
  69089. }
  69090. });
  69091. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  69092. },
  69093. visitMediaRule$1(_, node) {
  69094. return this.visitMediaRule$body$_EvaluateVisitor(0, node);
  69095. },
  69096. visitMediaRule$body$_EvaluateVisitor(_, node) {
  69097. var $async$goto = 0,
  69098. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69099. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  69100. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69101. if ($async$errorCode === 1)
  69102. return A._asyncRethrow($async$result, $async$completer);
  69103. while (true)
  69104. switch ($async$goto) {
  69105. case 0:
  69106. // Function start
  69107. if ($async$self._async_evaluate$_declarationName != null)
  69108. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  69109. $async$goto = 3;
  69110. return A._asyncAwait($async$self._visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  69111. case 3:
  69112. // returning from await.
  69113. queries = $async$result;
  69114. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
  69115. t1 = mergedQueries == null;
  69116. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  69117. $async$returnValue = null;
  69118. // goto return
  69119. $async$goto = 1;
  69120. break;
  69121. }
  69122. if (t1)
  69123. mergedSources = B.Set_empty1;
  69124. else {
  69125. t2 = $async$self._async_evaluate$_mediaQuerySources;
  69126. t2.toString;
  69127. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  69128. t3 = $async$self._async_evaluate$_mediaQueries;
  69129. t3.toString;
  69130. t2.addAll$1(0, t3);
  69131. t2.addAll$1(0, queries);
  69132. mergedSources = t2;
  69133. }
  69134. t1 = t1 ? queries : mergedQueries;
  69135. $async$goto = 4;
  69136. 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);
  69137. case 4:
  69138. // returning from await.
  69139. $async$returnValue = null;
  69140. // goto return
  69141. $async$goto = 1;
  69142. break;
  69143. case 1:
  69144. // return
  69145. return A._asyncReturn($async$returnValue, $async$completer);
  69146. }
  69147. });
  69148. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  69149. },
  69150. _visitMediaQueries$1(interpolation) {
  69151. return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
  69152. },
  69153. _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
  69154. var $async$goto = 0,
  69155. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
  69156. $async$returnValue, $async$self = this, _0_0, resolved, map;
  69157. var $async$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69158. if ($async$errorCode === 1)
  69159. return A._asyncRethrow($async$result, $async$completer);
  69160. while (true)
  69161. switch ($async$goto) {
  69162. case 0:
  69163. // Function start
  69164. $async$goto = 3;
  69165. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_visitMediaQueries$1);
  69166. case 3:
  69167. // returning from await.
  69168. _0_0 = $async$result;
  69169. resolved = _0_0._0;
  69170. map = _0_0._1;
  69171. $async$returnValue = new A.MediaQueryParser(A.SpanScanner$(resolved, null), map).parse$0(0);
  69172. // goto return
  69173. $async$goto = 1;
  69174. break;
  69175. case 1:
  69176. // return
  69177. return A._asyncReturn($async$returnValue, $async$completer);
  69178. }
  69179. });
  69180. return A._asyncStartSync($async$_visitMediaQueries$1, $async$completer);
  69181. },
  69182. _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
  69183. var t1, t2, t3, t4, _0_0, t5, result,
  69184. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  69185. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  69186. t3 = t1.get$current(t1);
  69187. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  69188. _0_0 = t3.merge$1(t4.get$current(t4));
  69189. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  69190. continue;
  69191. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  69192. return null;
  69193. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult;
  69194. result = t5 ? _0_0 : null;
  69195. if (t5)
  69196. queries.push(result.query);
  69197. }
  69198. }
  69199. return queries;
  69200. },
  69201. visitReturnRule$1(_, node) {
  69202. return this.visitReturnRule$body$_EvaluateVisitor(0, node);
  69203. },
  69204. visitReturnRule$body$_EvaluateVisitor(_, node) {
  69205. var $async$goto = 0,
  69206. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  69207. $async$returnValue, $async$self = this, t1, t2;
  69208. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69209. if ($async$errorCode === 1)
  69210. return A._asyncRethrow($async$result, $async$completer);
  69211. while (true)
  69212. switch ($async$goto) {
  69213. case 0:
  69214. // Function start
  69215. t1 = node.expression;
  69216. t2 = t1.accept$1($async$self);
  69217. $async$goto = 3;
  69218. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitReturnRule$1);
  69219. case 3:
  69220. // returning from await.
  69221. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
  69222. // goto return
  69223. $async$goto = 1;
  69224. break;
  69225. case 1:
  69226. // return
  69227. return A._asyncReturn($async$returnValue, $async$completer);
  69228. }
  69229. });
  69230. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  69231. },
  69232. visitSilentComment$1(_, node) {
  69233. return this.visitSilentComment$body$_EvaluateVisitor(0, node);
  69234. },
  69235. visitSilentComment$body$_EvaluateVisitor(_, node) {
  69236. var $async$goto = 0,
  69237. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69238. $async$returnValue;
  69239. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69240. if ($async$errorCode === 1)
  69241. return A._asyncRethrow($async$result, $async$completer);
  69242. while (true)
  69243. switch ($async$goto) {
  69244. case 0:
  69245. // Function start
  69246. $async$returnValue = null;
  69247. // goto return
  69248. $async$goto = 1;
  69249. break;
  69250. case 1:
  69251. // return
  69252. return A._asyncReturn($async$returnValue, $async$completer);
  69253. }
  69254. });
  69255. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  69256. },
  69257. visitStyleRule$1(_, node) {
  69258. return this.visitStyleRule$body$_EvaluateVisitor(0, node);
  69259. },
  69260. visitStyleRule$body$_EvaluateVisitor(_, node) {
  69261. var $async$goto = 0,
  69262. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69263. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, parsedSelector, nest, t2, _i, _1_0, first, t3, rule, oldAtRootExcludingStyleRule;
  69264. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69265. if ($async$errorCode === 1)
  69266. return A._asyncRethrow($async$result, $async$completer);
  69267. while (true)
  69268. switch ($async$goto) {
  69269. case 0:
  69270. // Function start
  69271. if ($async$self._async_evaluate$_declarationName != null)
  69272. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_n, node.span));
  69273. else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
  69274. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_k, node.span));
  69275. t1 = node.selector;
  69276. $async$goto = 3;
  69277. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  69278. case 3:
  69279. // returning from await.
  69280. _0_0 = $async$result;
  69281. selectorText = _0_0._0;
  69282. selectorMap = _0_0._1;
  69283. $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
  69284. break;
  69285. case 4:
  69286. // then
  69287. $async$goto = 6;
  69288. 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);
  69289. case 6:
  69290. // returning from await.
  69291. $async$returnValue = null;
  69292. // goto return
  69293. $async$goto = 1;
  69294. break;
  69295. case 5:
  69296. // join
  69297. parsedSelector = A.SelectorList_SelectorList$parse(selectorText, true, selectorMap, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss);
  69298. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  69299. t1 = t1 == null ? null : t1.fromPlainCss;
  69300. nest = t1 !== true;
  69301. if (nest) {
  69302. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss)
  69303. for (t1 = parsedSelector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  69304. _1_0 = t1[_i].leadingCombinators;
  69305. if (_1_0.length >= 1) {
  69306. first = _1_0[0];
  69307. t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss;
  69308. } else {
  69309. first = null;
  69310. t3 = false;
  69311. }
  69312. if (t3)
  69313. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Top_lel, first.span));
  69314. }
  69315. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  69316. t1 = t1 == null ? null : t1.originalSelector;
  69317. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t1, !$async$self._async_evaluate$_atRootExcludingStyleRule, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss);
  69318. }
  69319. 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);
  69320. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  69321. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  69322. t2 = nest ? new A._EvaluateVisitor_visitStyleRule_closure5() : null;
  69323. $async$goto = 7;
  69324. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure6($async$self, rule, node), node.hasDeclarations, t2, type$.ModifiableCssStyleRule, type$.Null), $async$visitStyleRule$1);
  69325. case 7:
  69326. // returning from await.
  69327. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  69328. $async$self._async_evaluate$_warnForBogusCombinators$1(rule);
  69329. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
  69330. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  69331. t1 = !t1.get$isEmpty(t1);
  69332. }
  69333. if (t1) {
  69334. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  69335. t1.get$last(t1).isGroupEnd = true;
  69336. }
  69337. $async$returnValue = null;
  69338. // goto return
  69339. $async$goto = 1;
  69340. break;
  69341. case 1:
  69342. // return
  69343. return A._asyncReturn($async$returnValue, $async$completer);
  69344. }
  69345. });
  69346. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  69347. },
  69348. _async_evaluate$_warnForBogusCombinators$1(rule) {
  69349. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  69350. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  69351. 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) {
  69352. complex = t1[_i];
  69353. if (!complex.accept$1(B._IsBogusVisitor_true))
  69354. continue;
  69355. if (complex.accept$1(B.C__IsUselessVisitor)) {
  69356. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69357. complex.accept$1(visitor);
  69358. _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);
  69359. } else if (complex.leadingCombinators.length !== 0) {
  69360. if (!_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  69361. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69362. complex.accept$1(visitor);
  69363. _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);
  69364. }
  69365. } else {
  69366. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69367. complex.accept$1(visitor);
  69368. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  69369. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  69370. t8 = A.SpanExtensions_trimRight(complex.span);
  69371. if (t5.get$length(0) === 0)
  69372. A.throwExpression(A.IterableElementError_noElement());
  69373. t9 = J.get$span$z(t5.$index(0, 0));
  69374. _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);
  69375. }
  69376. }
  69377. },
  69378. visitSupportsRule$1(_, node) {
  69379. return this.visitSupportsRule$body$_EvaluateVisitor(0, node);
  69380. },
  69381. visitSupportsRule$body$_EvaluateVisitor(_, node) {
  69382. var $async$goto = 0,
  69383. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69384. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  69385. var $async$visitSupportsRule$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$.Suppor, node.span));
  69394. t1 = node.condition;
  69395. $async$temp1 = A;
  69396. $async$temp2 = A;
  69397. $async$goto = 4;
  69398. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  69399. case 4:
  69400. // returning from await.
  69401. $async$goto = 3;
  69402. 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);
  69403. case 3:
  69404. // returning from await.
  69405. $async$returnValue = null;
  69406. // goto return
  69407. $async$goto = 1;
  69408. break;
  69409. case 1:
  69410. // return
  69411. return A._asyncReturn($async$returnValue, $async$completer);
  69412. }
  69413. });
  69414. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  69415. },
  69416. _async_evaluate$_visitSupportsCondition$1(condition) {
  69417. return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
  69418. },
  69419. _visitSupportsCondition$body$_EvaluateVisitor(condition) {
  69420. var $async$goto = 0,
  69421. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  69422. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  69423. var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69424. if ($async$errorCode === 1)
  69425. return A._asyncRethrow($async$result, $async$completer);
  69426. while (true)
  69427. switch ($async$goto) {
  69428. case 0:
  69429. // Function start
  69430. $async$goto = condition instanceof A.SupportsOperation ? 4 : 5;
  69431. break;
  69432. case 4:
  69433. // then
  69434. t1 = condition.operator;
  69435. $async$temp1 = A;
  69436. $async$goto = 6;
  69437. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  69438. case 6:
  69439. // returning from await.
  69440. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  69441. $async$temp2 = A;
  69442. $async$goto = 7;
  69443. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  69444. case 7:
  69445. // returning from await.
  69446. t1 = $async$temp1 + $async$temp2.S($async$result);
  69447. // goto break $label0$0
  69448. $async$goto = 3;
  69449. break;
  69450. case 5:
  69451. // join
  69452. $async$goto = condition instanceof A.SupportsNegation ? 8 : 9;
  69453. break;
  69454. case 8:
  69455. // then
  69456. $async$temp1 = A;
  69457. $async$goto = 10;
  69458. return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
  69459. case 10:
  69460. // returning from await.
  69461. t1 = "not " + $async$temp1.S($async$result);
  69462. // goto break $label0$0
  69463. $async$goto = 3;
  69464. break;
  69465. case 9:
  69466. // join
  69467. $async$goto = condition instanceof A.SupportsInterpolation ? 11 : 12;
  69468. break;
  69469. case 11:
  69470. // then
  69471. $async$goto = 13;
  69472. return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
  69473. case 13:
  69474. // returning from await.
  69475. t1 = $async$result;
  69476. // goto break $label0$0
  69477. $async$goto = 3;
  69478. break;
  69479. case 12:
  69480. // join
  69481. t1 = {};
  69482. t1.declaration = null;
  69483. $async$goto = condition instanceof A.SupportsDeclaration ? 14 : 15;
  69484. break;
  69485. case 14:
  69486. // then
  69487. t1.declaration = condition;
  69488. $async$goto = 16;
  69489. 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);
  69490. case 16:
  69491. // returning from await.
  69492. t1 = $async$result;
  69493. // goto break $label0$0
  69494. $async$goto = 3;
  69495. break;
  69496. case 15:
  69497. // join
  69498. $async$goto = condition instanceof A.SupportsFunction ? 17 : 18;
  69499. break;
  69500. case 17:
  69501. // then
  69502. $async$temp1 = A;
  69503. $async$goto = 19;
  69504. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  69505. case 19:
  69506. // returning from await.
  69507. $async$temp1 = $async$temp1.S($async$result) + "(";
  69508. $async$temp2 = A;
  69509. $async$goto = 20;
  69510. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
  69511. case 20:
  69512. // returning from await.
  69513. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  69514. // goto break $label0$0
  69515. $async$goto = 3;
  69516. break;
  69517. case 18:
  69518. // join
  69519. $async$goto = condition instanceof A.SupportsAnything ? 21 : 22;
  69520. break;
  69521. case 21:
  69522. // then
  69523. $async$temp1 = A;
  69524. $async$goto = 23;
  69525. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
  69526. case 23:
  69527. // returning from await.
  69528. t1 = "(" + $async$temp1.S($async$result) + ")";
  69529. // goto break $label0$0
  69530. $async$goto = 3;
  69531. break;
  69532. case 22:
  69533. // join
  69534. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  69535. case 3:
  69536. // break $label0$0
  69537. $async$returnValue = t1;
  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$_async_evaluate$_visitSupportsCondition$1, $async$completer);
  69547. },
  69548. _async_evaluate$_withSupportsDeclaration$1$1(callback, $T) {
  69549. return this._withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $T);
  69550. },
  69551. _withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $async$type) {
  69552. var $async$goto = 0,
  69553. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  69554. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  69555. var $async$_async_evaluate$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69556. if ($async$errorCode === 1) {
  69557. $async$errorStack.push($async$result);
  69558. $async$goto = $async$handler;
  69559. }
  69560. while (true)
  69561. switch ($async$goto) {
  69562. case 0:
  69563. // Function start
  69564. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  69565. $async$self._async_evaluate$_inSupportsDeclaration = true;
  69566. $async$handler = 3;
  69567. t1 = callback.call$0();
  69568. $async$goto = 6;
  69569. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_withSupportsDeclaration$1$1);
  69570. case 6:
  69571. // returning from await.
  69572. t1 = $async$result;
  69573. $async$returnValue = t1;
  69574. $async$next = [1];
  69575. // goto finally
  69576. $async$goto = 4;
  69577. break;
  69578. $async$next.push(5);
  69579. // goto finally
  69580. $async$goto = 4;
  69581. break;
  69582. case 3:
  69583. // uncaught
  69584. $async$next = [2];
  69585. case 4:
  69586. // finally
  69587. $async$handler = 2;
  69588. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  69589. // goto the next finally handler
  69590. $async$goto = $async$next.pop();
  69591. break;
  69592. case 5:
  69593. // after finally
  69594. case 1:
  69595. // return
  69596. return A._asyncReturn($async$returnValue, $async$completer);
  69597. case 2:
  69598. // rethrow
  69599. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  69600. }
  69601. });
  69602. return A._asyncStartSync($async$_async_evaluate$_withSupportsDeclaration$1$1, $async$completer);
  69603. },
  69604. _async_evaluate$_parenthesize$2(condition, operator) {
  69605. return this._parenthesize$body$_EvaluateVisitor(condition, operator);
  69606. },
  69607. _async_evaluate$_parenthesize$1(condition) {
  69608. return this._async_evaluate$_parenthesize$2(condition, null);
  69609. },
  69610. _parenthesize$body$_EvaluateVisitor(condition, operator) {
  69611. var $async$goto = 0,
  69612. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  69613. $async$returnValue, $async$self = this, t1, $async$temp1;
  69614. var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69615. if ($async$errorCode === 1)
  69616. return A._asyncRethrow($async$result, $async$completer);
  69617. while (true)
  69618. switch ($async$goto) {
  69619. case 0:
  69620. // Function start
  69621. if (!(condition instanceof A.SupportsNegation))
  69622. if (condition instanceof A.SupportsOperation)
  69623. t1 = operator == null || operator !== condition.operator;
  69624. else
  69625. t1 = false;
  69626. else
  69627. t1 = true;
  69628. $async$goto = t1 ? 3 : 4;
  69629. break;
  69630. case 3:
  69631. // then
  69632. $async$temp1 = A;
  69633. $async$goto = 5;
  69634. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  69635. case 5:
  69636. // returning from await.
  69637. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  69638. // goto return
  69639. $async$goto = 1;
  69640. break;
  69641. case 4:
  69642. // join
  69643. $async$goto = 6;
  69644. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  69645. case 6:
  69646. // returning from await.
  69647. $async$returnValue = $async$result;
  69648. // goto return
  69649. $async$goto = 1;
  69650. break;
  69651. case 1:
  69652. // return
  69653. return A._asyncReturn($async$returnValue, $async$completer);
  69654. }
  69655. });
  69656. return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
  69657. },
  69658. visitVariableDeclaration$1(_, node) {
  69659. return this.visitVariableDeclaration$body$_EvaluateVisitor(0, node);
  69660. },
  69661. visitVariableDeclaration$body$_EvaluateVisitor(_, node) {
  69662. var $async$goto = 0,
  69663. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69664. $async$returnValue, $async$self = this, t1, _0_0, t2, value, $async$temp1, $async$temp2, $async$temp3;
  69665. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69666. if ($async$errorCode === 1)
  69667. return A._asyncRethrow($async$result, $async$completer);
  69668. while (true)
  69669. switch ($async$goto) {
  69670. case 0:
  69671. // Function start
  69672. if (node.isGuarded) {
  69673. if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
  69674. t1 = $async$self._async_evaluate$_configuration._configuration$_values;
  69675. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
  69676. t1 = {};
  69677. t1.override = null;
  69678. if (_0_0 != null) {
  69679. t1.override = _0_0;
  69680. t2 = !_0_0.value.$eq(0, B.C__SassNull);
  69681. } else
  69682. t2 = false;
  69683. if (t2) {
  69684. $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2(t1, $async$self, node));
  69685. $async$returnValue = null;
  69686. // goto return
  69687. $async$goto = 1;
  69688. break;
  69689. }
  69690. }
  69691. value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
  69692. if (value != null && !value.$eq(0, B.C__SassNull)) {
  69693. $async$returnValue = null;
  69694. // goto return
  69695. $async$goto = 1;
  69696. break;
  69697. }
  69698. }
  69699. if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
  69700. 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.";
  69701. $async$self._async_evaluate$_warn$3(t1, node.span, B.Deprecation_Rg0);
  69702. }
  69703. t1 = node.expression;
  69704. t2 = t1.accept$1($async$self);
  69705. $async$temp1 = node;
  69706. $async$temp2 = A;
  69707. $async$temp3 = node;
  69708. $async$goto = 3;
  69709. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitVariableDeclaration$1);
  69710. case 3:
  69711. // returning from await.
  69712. $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)));
  69713. $async$returnValue = null;
  69714. // goto return
  69715. $async$goto = 1;
  69716. break;
  69717. case 1:
  69718. // return
  69719. return A._asyncReturn($async$returnValue, $async$completer);
  69720. }
  69721. });
  69722. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  69723. },
  69724. visitUseRule$1(_, node) {
  69725. return this.visitUseRule$body$_EvaluateVisitor(0, node);
  69726. },
  69727. visitUseRule$body$_EvaluateVisitor(_, node) {
  69728. var $async$goto = 0,
  69729. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69730. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  69731. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69732. if ($async$errorCode === 1)
  69733. return A._asyncRethrow($async$result, $async$completer);
  69734. while (true)
  69735. switch ($async$goto) {
  69736. case 0:
  69737. // Function start
  69738. t1 = node.configuration;
  69739. t2 = t1.length;
  69740. $async$goto = t2 !== 0 ? 3 : 5;
  69741. break;
  69742. case 3:
  69743. // then
  69744. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  69745. t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  69746. case 6:
  69747. // for condition
  69748. if (!(_i < t2)) {
  69749. // goto after for
  69750. $async$goto = 8;
  69751. break;
  69752. }
  69753. variable = t1[_i];
  69754. t5 = variable.expression;
  69755. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t5);
  69756. t5 = t5.accept$1($async$self);
  69757. if (!t4._is(t5)) {
  69758. t6 = new A._Future($.Zone__current, t3);
  69759. t6._state = 8;
  69760. t6._resultOrListeners = t5;
  69761. t5 = t6;
  69762. }
  69763. $async$temp1 = values;
  69764. $async$temp2 = variable.name;
  69765. $async$temp3 = A;
  69766. $async$goto = 9;
  69767. return A._asyncAwait(t5, $async$visitUseRule$1);
  69768. case 9:
  69769. // returning from await.
  69770. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  69771. case 7:
  69772. // for update
  69773. ++_i;
  69774. // goto for condition
  69775. $async$goto = 6;
  69776. break;
  69777. case 8:
  69778. // after for
  69779. configuration = new A.ExplicitConfiguration(node, values, null);
  69780. // goto join
  69781. $async$goto = 4;
  69782. break;
  69783. case 5:
  69784. // else
  69785. configuration = B.Configuration_Map_empty_null;
  69786. case 4:
  69787. // join
  69788. $async$goto = 10;
  69789. 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);
  69790. case 10:
  69791. // returning from await.
  69792. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
  69793. $async$returnValue = null;
  69794. // goto return
  69795. $async$goto = 1;
  69796. break;
  69797. case 1:
  69798. // return
  69799. return A._asyncReturn($async$returnValue, $async$completer);
  69800. }
  69801. });
  69802. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  69803. },
  69804. visitWarnRule$1(_, node) {
  69805. return this.visitWarnRule$body$_EvaluateVisitor(0, node);
  69806. },
  69807. visitWarnRule$body$_EvaluateVisitor(_, node) {
  69808. var $async$goto = 0,
  69809. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69810. $async$returnValue, $async$self = this, value, t1, t2;
  69811. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69812. if ($async$errorCode === 1)
  69813. return A._asyncRethrow($async$result, $async$completer);
  69814. while (true)
  69815. switch ($async$goto) {
  69816. case 0:
  69817. // Function start
  69818. $async$goto = 3;
  69819. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
  69820. case 3:
  69821. // returning from await.
  69822. value = $async$result;
  69823. t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
  69824. t2 = $async$self._async_evaluate$_stackTrace$1(node.span);
  69825. $async$self._async_evaluate$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  69826. $async$returnValue = null;
  69827. // goto return
  69828. $async$goto = 1;
  69829. break;
  69830. case 1:
  69831. // return
  69832. return A._asyncReturn($async$returnValue, $async$completer);
  69833. }
  69834. });
  69835. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  69836. },
  69837. visitWhileRule$1(_, node) {
  69838. return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
  69839. },
  69840. visitBinaryOperationExpression$1(_, node) {
  69841. var t1, _this = this;
  69842. if (_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  69843. t1 = node.operator;
  69844. t1 = t1 !== B.BinaryOperator_Kyq && t1 !== B.BinaryOperator_Mh5;
  69845. } else
  69846. t1 = false;
  69847. if (t1)
  69848. throw A.wrapException(_this._async_evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  69849. return _this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(_this, node), type$.Value);
  69850. },
  69851. _async_evaluate$_slash$3(left, right, node) {
  69852. var t2, _1_1,
  69853. result = left.dividedBy$1(right),
  69854. _1_2_isSet = left instanceof A.SassNumber,
  69855. _1_2 = null, right0 = null,
  69856. t1 = false;
  69857. if (_1_2_isSet) {
  69858. t2 = type$.SassNumber;
  69859. t2._as(left);
  69860. if (right instanceof A.SassNumber) {
  69861. t2._as(right);
  69862. t1 = node.allowsSlash && this._async_evaluate$_operandAllowsSlash$1(node.left) && this._async_evaluate$_operandAllowsSlash$1(node.right);
  69863. right0 = right;
  69864. _1_2 = right0;
  69865. } else
  69866. _1_2 = right;
  69867. _1_1 = left;
  69868. } else {
  69869. _1_1 = left;
  69870. left = null;
  69871. }
  69872. if (t1)
  69873. return type$.SassNumber._as(result).withSlash$2(left, right0);
  69874. if (_1_1 instanceof A.SassNumber)
  69875. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  69876. else
  69877. t1 = false;
  69878. if (t1) {
  69879. 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);
  69880. return result;
  69881. }
  69882. return result;
  69883. },
  69884. _async_evaluate$_operandAllowsSlash$1(node) {
  69885. var t1;
  69886. if (node instanceof A.FunctionExpression)
  69887. if (node.namespace == null) {
  69888. t1 = node.name;
  69889. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._async_evaluate$_environment.getFunction$1(t1) == null;
  69890. } else
  69891. t1 = false;
  69892. else
  69893. t1 = true;
  69894. return t1;
  69895. },
  69896. visitValueExpression$1(_, node) {
  69897. return this.visitValueExpression$body$_EvaluateVisitor(0, node);
  69898. },
  69899. visitValueExpression$body$_EvaluateVisitor(_, node) {
  69900. var $async$goto = 0,
  69901. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  69902. $async$returnValue;
  69903. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69904. if ($async$errorCode === 1)
  69905. return A._asyncRethrow($async$result, $async$completer);
  69906. while (true)
  69907. switch ($async$goto) {
  69908. case 0:
  69909. // Function start
  69910. $async$returnValue = node.value;
  69911. // goto return
  69912. $async$goto = 1;
  69913. break;
  69914. case 1:
  69915. // return
  69916. return A._asyncReturn($async$returnValue, $async$completer);
  69917. }
  69918. });
  69919. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  69920. },
  69921. visitVariableExpression$1(_, node) {
  69922. return this.visitVariableExpression$body$_EvaluateVisitor(0, node);
  69923. },
  69924. visitVariableExpression$body$_EvaluateVisitor(_, node) {
  69925. var $async$goto = 0,
  69926. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  69927. $async$returnValue, $async$self = this, result;
  69928. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69929. if ($async$errorCode === 1)
  69930. return A._asyncRethrow($async$result, $async$completer);
  69931. while (true)
  69932. switch ($async$goto) {
  69933. case 0:
  69934. // Function start
  69935. result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
  69936. if (result != null) {
  69937. $async$returnValue = result;
  69938. // goto return
  69939. $async$goto = 1;
  69940. break;
  69941. }
  69942. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
  69943. case 1:
  69944. // return
  69945. return A._asyncReturn($async$returnValue, $async$completer);
  69946. }
  69947. });
  69948. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  69949. },
  69950. visitUnaryOperationExpression$1(_, node) {
  69951. return this.visitUnaryOperationExpression$body$_EvaluateVisitor(0, node);
  69952. },
  69953. visitUnaryOperationExpression$body$_EvaluateVisitor(_, node) {
  69954. var $async$goto = 0,
  69955. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  69956. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  69957. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69958. if ($async$errorCode === 1)
  69959. return A._asyncRethrow($async$result, $async$completer);
  69960. while (true)
  69961. switch ($async$goto) {
  69962. case 0:
  69963. // Function start
  69964. $async$temp1 = node;
  69965. $async$temp2 = A;
  69966. $async$temp3 = node;
  69967. $async$goto = 3;
  69968. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  69969. case 3:
  69970. // returning from await.
  69971. $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
  69972. // goto return
  69973. $async$goto = 1;
  69974. break;
  69975. case 1:
  69976. // return
  69977. return A._asyncReturn($async$returnValue, $async$completer);
  69978. }
  69979. });
  69980. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  69981. },
  69982. visitBooleanExpression$1(_, node) {
  69983. return this.visitBooleanExpression$body$_EvaluateVisitor(0, node);
  69984. },
  69985. visitBooleanExpression$body$_EvaluateVisitor(_, node) {
  69986. var $async$goto = 0,
  69987. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
  69988. $async$returnValue;
  69989. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69990. if ($async$errorCode === 1)
  69991. return A._asyncRethrow($async$result, $async$completer);
  69992. while (true)
  69993. switch ($async$goto) {
  69994. case 0:
  69995. // Function start
  69996. $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
  69997. // goto return
  69998. $async$goto = 1;
  69999. break;
  70000. case 1:
  70001. // return
  70002. return A._asyncReturn($async$returnValue, $async$completer);
  70003. }
  70004. });
  70005. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  70006. },
  70007. visitIfExpression$1(_, node) {
  70008. return this.visitIfExpression$body$_EvaluateVisitor(0, node);
  70009. },
  70010. visitIfExpression$body$_EvaluateVisitor(_, node) {
  70011. var $async$goto = 0,
  70012. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70013. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  70014. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70015. if ($async$errorCode === 1)
  70016. return A._asyncRethrow($async$result, $async$completer);
  70017. while (true)
  70018. switch ($async$goto) {
  70019. case 0:
  70020. // Function start
  70021. $async$goto = 3;
  70022. return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  70023. case 3:
  70024. // returning from await.
  70025. _0_0 = $async$result;
  70026. positional = _0_0._0;
  70027. named = _0_0._1;
  70028. $async$self._async_evaluate$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration(), node);
  70029. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  70030. if (condition == null) {
  70031. t1 = named.$index(0, "condition");
  70032. t1.toString;
  70033. condition = t1;
  70034. }
  70035. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  70036. if (ifTrue == null) {
  70037. t1 = named.$index(0, "if-true");
  70038. t1.toString;
  70039. ifTrue = t1;
  70040. }
  70041. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  70042. if (ifFalse == null) {
  70043. t1 = named.$index(0, "if-false");
  70044. t1.toString;
  70045. ifFalse = t1;
  70046. }
  70047. $async$goto = 4;
  70048. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  70049. case 4:
  70050. // returning from await.
  70051. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  70052. t1 = result.accept$1($async$self);
  70053. $async$goto = 5;
  70054. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$visitIfExpression$1);
  70055. case 5:
  70056. // returning from await.
  70057. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
  70058. // goto return
  70059. $async$goto = 1;
  70060. break;
  70061. case 1:
  70062. // return
  70063. return A._asyncReturn($async$returnValue, $async$completer);
  70064. }
  70065. });
  70066. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  70067. },
  70068. visitNullExpression$1(_, node) {
  70069. return this.visitNullExpression$body$_EvaluateVisitor(0, node);
  70070. },
  70071. visitNullExpression$body$_EvaluateVisitor(_, node) {
  70072. var $async$goto = 0,
  70073. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70074. $async$returnValue;
  70075. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70076. if ($async$errorCode === 1)
  70077. return A._asyncRethrow($async$result, $async$completer);
  70078. while (true)
  70079. switch ($async$goto) {
  70080. case 0:
  70081. // Function start
  70082. $async$returnValue = B.C__SassNull;
  70083. // goto return
  70084. $async$goto = 1;
  70085. break;
  70086. case 1:
  70087. // return
  70088. return A._asyncReturn($async$returnValue, $async$completer);
  70089. }
  70090. });
  70091. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  70092. },
  70093. visitNumberExpression$1(_, node) {
  70094. return this.visitNumberExpression$body$_EvaluateVisitor(0, node);
  70095. },
  70096. visitNumberExpression$body$_EvaluateVisitor(_, node) {
  70097. var $async$goto = 0,
  70098. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  70099. $async$returnValue;
  70100. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70101. if ($async$errorCode === 1)
  70102. return A._asyncRethrow($async$result, $async$completer);
  70103. while (true)
  70104. switch ($async$goto) {
  70105. case 0:
  70106. // Function start
  70107. $async$returnValue = A.SassNumber_SassNumber(node.value, node.unit);
  70108. // goto return
  70109. $async$goto = 1;
  70110. break;
  70111. case 1:
  70112. // return
  70113. return A._asyncReturn($async$returnValue, $async$completer);
  70114. }
  70115. });
  70116. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  70117. },
  70118. visitParenthesizedExpression$1(_, node) {
  70119. var _this = this;
  70120. 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);
  70121. },
  70122. visitColorExpression$1(_, node) {
  70123. return this.visitColorExpression$body$_EvaluateVisitor(0, node);
  70124. },
  70125. visitColorExpression$body$_EvaluateVisitor(_, node) {
  70126. var $async$goto = 0,
  70127. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
  70128. $async$returnValue;
  70129. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70130. if ($async$errorCode === 1)
  70131. return A._asyncRethrow($async$result, $async$completer);
  70132. while (true)
  70133. switch ($async$goto) {
  70134. case 0:
  70135. // Function start
  70136. $async$returnValue = node.value;
  70137. // goto return
  70138. $async$goto = 1;
  70139. break;
  70140. case 1:
  70141. // return
  70142. return A._asyncReturn($async$returnValue, $async$completer);
  70143. }
  70144. });
  70145. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  70146. },
  70147. visitListExpression$1(_, node) {
  70148. return this.visitListExpression$body$_EvaluateVisitor(0, node);
  70149. },
  70150. visitListExpression$body$_EvaluateVisitor(_, node) {
  70151. var $async$goto = 0,
  70152. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
  70153. $async$returnValue, $async$self = this, $async$temp1;
  70154. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70155. if ($async$errorCode === 1)
  70156. return A._asyncRethrow($async$result, $async$completer);
  70157. while (true)
  70158. switch ($async$goto) {
  70159. case 0:
  70160. // Function start
  70161. $async$temp1 = A;
  70162. $async$goto = 3;
  70163. return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
  70164. case 3:
  70165. // returning from await.
  70166. $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
  70167. // goto return
  70168. $async$goto = 1;
  70169. break;
  70170. case 1:
  70171. // return
  70172. return A._asyncReturn($async$returnValue, $async$completer);
  70173. }
  70174. });
  70175. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  70176. },
  70177. visitMapExpression$1(_, node) {
  70178. return this.visitMapExpression$body$_EvaluateVisitor(0, node);
  70179. },
  70180. visitMapExpression$body$_EvaluateVisitor(_, node) {
  70181. var $async$goto = 0,
  70182. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
  70183. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  70184. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70185. if ($async$errorCode === 1)
  70186. return A._asyncRethrow($async$result, $async$completer);
  70187. while (true)
  70188. switch ($async$goto) {
  70189. case 0:
  70190. // Function start
  70191. t1 = type$.Value;
  70192. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  70193. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  70194. t2 = node.pairs, t3 = t2.length, _i = 0;
  70195. case 3:
  70196. // for condition
  70197. if (!(_i < t3)) {
  70198. // goto after for
  70199. $async$goto = 5;
  70200. break;
  70201. }
  70202. t4 = t2[_i];
  70203. key = t4._0;
  70204. $async$goto = 6;
  70205. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  70206. case 6:
  70207. // returning from await.
  70208. keyValue = $async$result;
  70209. $async$goto = 7;
  70210. return A._asyncAwait(t4._1.accept$1($async$self), $async$visitMapExpression$1);
  70211. case 7:
  70212. // returning from await.
  70213. valueValue = $async$result;
  70214. if (map.containsKey$1(keyValue)) {
  70215. t1 = keyNodes.$index(0, keyValue);
  70216. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  70217. t1 = key.get$span(key);
  70218. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  70219. if (oldValueSpan != null)
  70220. t2.$indexSet(0, oldValueSpan, "first key");
  70221. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate$_stackTrace$1(key.get$span(key)), null));
  70222. }
  70223. map.$indexSet(0, keyValue, valueValue);
  70224. keyNodes.$indexSet(0, keyValue, key);
  70225. case 4:
  70226. // for update
  70227. ++_i;
  70228. // goto for condition
  70229. $async$goto = 3;
  70230. break;
  70231. case 5:
  70232. // after for
  70233. $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  70234. // goto return
  70235. $async$goto = 1;
  70236. break;
  70237. case 1:
  70238. // return
  70239. return A._asyncReturn($async$returnValue, $async$completer);
  70240. }
  70241. });
  70242. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  70243. },
  70244. visitFunctionExpression$1(_, node) {
  70245. return this.visitFunctionExpression$body$_EvaluateVisitor(0, node);
  70246. },
  70247. visitFunctionExpression$body$_EvaluateVisitor(_, node) {
  70248. var $async$goto = 0,
  70249. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70250. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, $name, oldInFunction, result, t1, $function;
  70251. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70252. if ($async$errorCode === 1)
  70253. return A._asyncRethrow($async$result, $async$completer);
  70254. while (true)
  70255. switch ($async$goto) {
  70256. case 0:
  70257. // Function start
  70258. t1 = {};
  70259. $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));
  70260. t1.$function = $function;
  70261. $async$goto = $function == null ? 3 : 5;
  70262. break;
  70263. case 3:
  70264. // then
  70265. if (node.namespace != null)
  70266. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
  70267. t2 = node.name;
  70268. _0_0 = t2.toLowerCase();
  70269. t3 = false;
  70270. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  70271. t3 = node.$arguments;
  70272. t4 = t3.named;
  70273. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure3());
  70274. $name = _0_0;
  70275. } else
  70276. $name = null;
  70277. $async$goto = t3 ? 6 : 7;
  70278. break;
  70279. case 6:
  70280. // then
  70281. $async$goto = 8;
  70282. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, $name), $async$visitFunctionExpression$1);
  70283. case 8:
  70284. // returning from await.
  70285. $async$returnValue = $async$result;
  70286. // goto return
  70287. $async$goto = 1;
  70288. break;
  70289. case 7:
  70290. // join
  70291. $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;
  70292. break;
  70293. case 9:
  70294. // then
  70295. $async$goto = 11;
  70296. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  70297. case 11:
  70298. // returning from await.
  70299. $async$returnValue = $async$result;
  70300. // goto return
  70301. $async$goto = 1;
  70302. break;
  70303. case 10:
  70304. // join
  70305. $function = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate$_builtInFunctions.$index(0, t2);
  70306. t2 = t1.$function = $function == null ? new A.PlainCssCallable(node.originalName) : $function;
  70307. // goto join
  70308. $async$goto = 4;
  70309. break;
  70310. case 5:
  70311. // else
  70312. t2 = $function;
  70313. case 4:
  70314. // join
  70315. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  70316. $async$self._async_evaluate$_warn$3(string$.Sassx20_ff, node.get$nameSpan(), B.Deprecation_Kg6);
  70317. oldInFunction = $async$self._async_evaluate$_inFunction;
  70318. $async$self._async_evaluate$_inFunction = true;
  70319. $async$goto = 12;
  70320. 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);
  70321. case 12:
  70322. // returning from await.
  70323. result = $async$result;
  70324. $async$self._async_evaluate$_inFunction = oldInFunction;
  70325. $async$returnValue = result;
  70326. // goto return
  70327. $async$goto = 1;
  70328. break;
  70329. case 1:
  70330. // return
  70331. return A._asyncReturn($async$returnValue, $async$completer);
  70332. }
  70333. });
  70334. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  70335. },
  70336. _async_evaluate$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  70337. return this._visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction);
  70338. },
  70339. _async_evaluate$_visitCalculation$1(node) {
  70340. return this._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, null);
  70341. },
  70342. _visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction) {
  70343. var $async$goto = 0,
  70344. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70345. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  70346. var $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70347. if ($async$errorCode === 1)
  70348. return A._asyncRethrow($async$result, $async$completer);
  70349. while (true)
  70350. switch ($async$goto) {
  70351. case 0:
  70352. // Function start
  70353. t2 = node.$arguments;
  70354. t3 = t2.named;
  70355. if (t3.get$isNotEmpty(t3))
  70356. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Keywor, node.span));
  70357. else if (t2.rest != null)
  70358. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Rest_a, node.span));
  70359. $async$self._async_evaluate$_checkCalculationArguments$1(node);
  70360. t3 = A._setArrayType([], type$.JSArray_Object);
  70361. t2 = t2.positional, t4 = t2.length, _i = 0;
  70362. case 3:
  70363. // for condition
  70364. if (!(_i < t4)) {
  70365. // goto after for
  70366. $async$goto = 5;
  70367. break;
  70368. }
  70369. $async$temp1 = t3;
  70370. $async$goto = 6;
  70371. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction);
  70372. case 6:
  70373. // returning from await.
  70374. $async$temp1.push($async$result);
  70375. case 4:
  70376. // for update
  70377. ++_i;
  70378. // goto for condition
  70379. $async$goto = 3;
  70380. break;
  70381. case 5:
  70382. // after for
  70383. $arguments = t3;
  70384. if ($async$self._async_evaluate$_inSupportsDeclaration) {
  70385. $async$returnValue = new A.SassCalculation(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  70386. // goto return
  70387. $async$goto = 1;
  70388. break;
  70389. }
  70390. oldCallableNode = $async$self._async_evaluate$_callableNode;
  70391. $async$self._async_evaluate$_callableNode = node;
  70392. try {
  70393. t1 = null;
  70394. t3 = node.name;
  70395. _0_0 = t3.toLowerCase();
  70396. $label0$0: {
  70397. if ("calc" === _0_0) {
  70398. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  70399. break $label0$0;
  70400. }
  70401. if ("sqrt" === _0_0) {
  70402. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  70403. break $label0$0;
  70404. }
  70405. if ("sin" === _0_0) {
  70406. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  70407. break $label0$0;
  70408. }
  70409. if ("cos" === _0_0) {
  70410. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  70411. break $label0$0;
  70412. }
  70413. if ("tan" === _0_0) {
  70414. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  70415. break $label0$0;
  70416. }
  70417. if ("asin" === _0_0) {
  70418. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  70419. break $label0$0;
  70420. }
  70421. if ("acos" === _0_0) {
  70422. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  70423. break $label0$0;
  70424. }
  70425. if ("atan" === _0_0) {
  70426. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  70427. break $label0$0;
  70428. }
  70429. if ("abs" === _0_0) {
  70430. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  70431. break $label0$0;
  70432. }
  70433. if ("exp" === _0_0) {
  70434. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  70435. break $label0$0;
  70436. }
  70437. if ("sign" === _0_0) {
  70438. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  70439. break $label0$0;
  70440. }
  70441. if ("min" === _0_0) {
  70442. t1 = A.SassCalculation_min($arguments);
  70443. break $label0$0;
  70444. }
  70445. if ("max" === _0_0) {
  70446. t1 = A.SassCalculation_max($arguments);
  70447. break $label0$0;
  70448. }
  70449. if ("hypot" === _0_0) {
  70450. t1 = A.SassCalculation_hypot($arguments);
  70451. break $label0$0;
  70452. }
  70453. if ("pow" === _0_0) {
  70454. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70455. break $label0$0;
  70456. }
  70457. if ("atan2" === _0_0) {
  70458. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70459. break $label0$0;
  70460. }
  70461. if ("log" === _0_0) {
  70462. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70463. break $label0$0;
  70464. }
  70465. if ("mod" === _0_0) {
  70466. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70467. break $label0$0;
  70468. }
  70469. if ("rem" === _0_0) {
  70470. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70471. break $label0$0;
  70472. }
  70473. if ("round" === _0_0) {
  70474. 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));
  70475. break $label0$0;
  70476. }
  70477. if ("clamp" === _0_0) {
  70478. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  70479. break $label0$0;
  70480. }
  70481. if ("calc-size" === _0_0) {
  70482. t1 = A.SassCalculation_calcSize(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70483. break $label0$0;
  70484. }
  70485. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  70486. t1 = A.throwExpression(t3);
  70487. }
  70488. t1 = t1;
  70489. $async$returnValue = t1;
  70490. // goto return
  70491. $async$goto = 1;
  70492. break;
  70493. } catch (exception) {
  70494. t1 = A.unwrapException(exception);
  70495. if (t1 instanceof A.SassScriptException) {
  70496. error = t1;
  70497. stackTrace = A.getTraceFromException(exception);
  70498. if (B.JSString_methods.contains$1(error.message, "compatible"))
  70499. $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
  70500. A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), error, stackTrace);
  70501. } else
  70502. throw exception;
  70503. } finally {
  70504. $async$self._async_evaluate$_callableNode = oldCallableNode;
  70505. }
  70506. case 1:
  70507. // return
  70508. return A._asyncReturn($async$returnValue, $async$completer);
  70509. }
  70510. });
  70511. return A._asyncStartSync($async$_async_evaluate$_visitCalculation$2$inLegacySassFunction, $async$completer);
  70512. },
  70513. _async_evaluate$_checkCalculationArguments$1(node) {
  70514. var t1, _0_0,
  70515. check = new A._EvaluateVisitor__checkCalculationArguments_check0(this, node);
  70516. $label0$0: {
  70517. t1 = node.name;
  70518. _0_0 = t1.toLowerCase();
  70519. 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) {
  70520. check.call$1(1);
  70521. break $label0$0;
  70522. }
  70523. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  70524. check.call$0();
  70525. break $label0$0;
  70526. }
  70527. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  70528. check.call$1(2);
  70529. break $label0$0;
  70530. }
  70531. if ("round" === _0_0 || "clamp" === _0_0) {
  70532. check.call$1(3);
  70533. break $label0$0;
  70534. }
  70535. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  70536. }
  70537. },
  70538. _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  70539. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  70540. for (i = 0; t1 = args.length, i < t1; ++i) {
  70541. _0_0 = args[i];
  70542. if (_0_0 instanceof A.SassNumber) {
  70543. t1 = _0_0.get$hasComplexUnits();
  70544. arg = _0_0;
  70545. } else {
  70546. arg = null;
  70547. t1 = false;
  70548. }
  70549. if (t1) {
  70550. t1 = A.S(arg);
  70551. t2 = nodesWithSpans[i];
  70552. throw A.wrapException(this._async_evaluate$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  70553. }
  70554. }
  70555. for (i = 0; i < t1 - 1; ++i) {
  70556. number1 = args[i];
  70557. if (!(number1 instanceof A.SassNumber))
  70558. continue;
  70559. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  70560. number2 = args[j];
  70561. if (!(number2 instanceof A.SassNumber))
  70562. continue;
  70563. if (number1.hasPossiblyCompatibleUnits$1(number2))
  70564. continue;
  70565. t1 = number1.toString$0(0);
  70566. t2 = number2.toString$0(0);
  70567. t3 = nodesWithSpans[i];
  70568. t3 = t3.get$span(t3);
  70569. t4 = number1.toString$0(0);
  70570. t5 = nodesWithSpans[j];
  70571. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  70572. t6 = nodesWithSpans[i];
  70573. throw A.wrapException(A.MultiSpanSassRuntimeException$(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._async_evaluate$_stackTrace$1(t6.get$span(t6)), null));
  70574. }
  70575. }
  70576. },
  70577. _async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  70578. return this._visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction);
  70579. },
  70580. _visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction) {
  70581. var $async$goto = 0,
  70582. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  70583. $async$returnValue, $async$self = this, result, t2, _0_0, _box_0, _1_0, t3, _i, i, t1, inner, $async$temp1;
  70584. var $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70585. if ($async$errorCode === 1)
  70586. return A._asyncRethrow($async$result, $async$completer);
  70587. while (true)
  70588. switch ($async$goto) {
  70589. case 0:
  70590. // Function start
  70591. t1 = node instanceof A.ParenthesizedExpression;
  70592. inner = t1 ? node.expression : null;
  70593. $async$goto = t1 ? 3 : 4;
  70594. break;
  70595. case 3:
  70596. // then
  70597. $async$goto = 5;
  70598. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70599. case 5:
  70600. // returning from await.
  70601. result = $async$result;
  70602. $async$returnValue = result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  70603. // goto return
  70604. $async$goto = 1;
  70605. break;
  70606. case 4:
  70607. // join
  70608. $async$goto = node instanceof A.StringExpression && node.accept$1(B.C_IsCalculationSafeVisitor) ? 6 : 7;
  70609. break;
  70610. case 6:
  70611. // then
  70612. t1 = node.text;
  70613. t2 = t1.get$asPlain();
  70614. _0_0 = t2 == null ? null : t2.toLowerCase();
  70615. if ("pi" === _0_0) {
  70616. t1 = A.SassNumber_SassNumber(3.141592653589793, null);
  70617. // goto break $label0$0
  70618. $async$goto = 8;
  70619. break;
  70620. }
  70621. if ("e" === _0_0) {
  70622. t1 = A.SassNumber_SassNumber(2.718281828459045, null);
  70623. // goto break $label0$0
  70624. $async$goto = 8;
  70625. break;
  70626. }
  70627. if ("infinity" === _0_0) {
  70628. t1 = A.SassNumber_SassNumber(1 / 0, null);
  70629. // goto break $label0$0
  70630. $async$goto = 8;
  70631. break;
  70632. }
  70633. if ("-infinity" === _0_0) {
  70634. t1 = A.SassNumber_SassNumber(-1 / 0, null);
  70635. // goto break $label0$0
  70636. $async$goto = 8;
  70637. break;
  70638. }
  70639. if ("nan" === _0_0) {
  70640. t1 = A.SassNumber_SassNumber(0 / 0, null);
  70641. // goto break $label0$0
  70642. $async$goto = 8;
  70643. break;
  70644. }
  70645. $async$temp1 = A;
  70646. $async$goto = 9;
  70647. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70648. case 9:
  70649. // returning from await.
  70650. t1 = new $async$temp1.SassString($async$result, false);
  70651. // goto break $label0$0
  70652. $async$goto = 8;
  70653. break;
  70654. case 8:
  70655. // break $label0$0
  70656. $async$returnValue = t1;
  70657. // goto return
  70658. $async$goto = 1;
  70659. break;
  70660. case 7:
  70661. // join
  70662. _box_0 = {};
  70663. _box_0.right = _box_0.left = _box_0.operator = null;
  70664. t1 = node instanceof A.BinaryOperationExpression;
  70665. if (t1) {
  70666. _box_0.operator = node.operator;
  70667. _box_0.left = node.left;
  70668. _box_0.right = node.right;
  70669. }
  70670. $async$goto = t1 ? 10 : 11;
  70671. break;
  70672. case 10:
  70673. // then
  70674. $async$self._async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node);
  70675. $async$goto = 12;
  70676. 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);
  70677. case 12:
  70678. // returning from await.
  70679. $async$returnValue = $async$result;
  70680. // goto return
  70681. $async$goto = 1;
  70682. break;
  70683. case 11:
  70684. // join
  70685. $async$goto = node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression ? 13 : 14;
  70686. break;
  70687. case 13:
  70688. // then
  70689. $async$goto = 15;
  70690. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70691. case 15:
  70692. // returning from await.
  70693. _1_0 = $async$result;
  70694. $label1$1: {
  70695. if (_1_0 instanceof A.SassNumber) {
  70696. t1 = _1_0;
  70697. break $label1$1;
  70698. }
  70699. if (_1_0 instanceof A.SassCalculation) {
  70700. t1 = _1_0;
  70701. break $label1$1;
  70702. }
  70703. if (_1_0 instanceof A.SassString) {
  70704. t1 = !_1_0._hasQuotes;
  70705. result = _1_0;
  70706. } else {
  70707. result = null;
  70708. t1 = false;
  70709. }
  70710. if (t1) {
  70711. t1 = result;
  70712. break $label1$1;
  70713. }
  70714. 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)));
  70715. }
  70716. $async$returnValue = t1;
  70717. // goto return
  70718. $async$goto = 1;
  70719. break;
  70720. case 14:
  70721. // join
  70722. $async$goto = node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_qSL === node.separator && node.contents.length >= 2 ? 16 : 17;
  70723. break;
  70724. case 16:
  70725. // then
  70726. t1 = A._setArrayType([], type$.JSArray_Object);
  70727. t2 = node.contents, t3 = t2.length, _i = 0;
  70728. case 18:
  70729. // for condition
  70730. if (!(_i < t3)) {
  70731. // goto after for
  70732. $async$goto = 20;
  70733. break;
  70734. }
  70735. $async$temp1 = t1;
  70736. $async$goto = 21;
  70737. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70738. case 21:
  70739. // returning from await.
  70740. $async$temp1.push($async$result);
  70741. case 19:
  70742. // for update
  70743. ++_i;
  70744. // goto for condition
  70745. $async$goto = 18;
  70746. break;
  70747. case 20:
  70748. // after for
  70749. $async$self._async_evaluate$_checkAdjacentCalculationValues$2(t1, node);
  70750. for (i = 0; i < t1.length; ++i) {
  70751. t3 = t1[i];
  70752. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  70753. t1[i] = new A.SassString("(" + A.S(t3) + ")", false);
  70754. }
  70755. $async$returnValue = new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  70756. // goto return
  70757. $async$goto = 1;
  70758. break;
  70759. case 17:
  70760. // join
  70761. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.This_e, node.get$span(node)));
  70762. case 1:
  70763. // return
  70764. return A._asyncReturn($async$returnValue, $async$completer);
  70765. }
  70766. });
  70767. return A._asyncStartSync($async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  70768. },
  70769. _async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node) {
  70770. var t2, t3, t4, textBetweenOperands, first, last,
  70771. t1 = node.operator;
  70772. if (t1 !== B.BinaryOperator_Swh && t1 !== B.BinaryOperator_QG1)
  70773. return;
  70774. t1 = node.left;
  70775. t2 = t1.get$span(t1);
  70776. t2 = t2.get$file(t2);
  70777. t3 = node.right;
  70778. t4 = t3.get$span(t3);
  70779. if (t2 !== t4.get$file(t4))
  70780. return;
  70781. t2 = t1.get$span(t1);
  70782. t2 = t2.get$end(t2);
  70783. t4 = t3.get$span(t3);
  70784. if (t2.offset >= t4.get$start(t4).offset)
  70785. return;
  70786. t2 = t1.get$span(t1);
  70787. t2 = t2.get$file(t2);
  70788. t1 = t1.get$span(t1);
  70789. t1 = t1.get$end(t1);
  70790. t3 = t3.get$span(t3);
  70791. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  70792. first = textBetweenOperands.charCodeAt(0);
  70793. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  70794. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  70795. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  70796. else
  70797. t1 = true;
  70798. if (t1)
  70799. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  70800. },
  70801. _async_evaluate$_binaryOperatorToCalculationOperator$2(operator, node) {
  70802. var t1;
  70803. $label0$0: {
  70804. if (B.BinaryOperator_Swh === operator) {
  70805. t1 = B.CalculationOperator_F7i;
  70806. break $label0$0;
  70807. }
  70808. if (B.BinaryOperator_QG1 === operator) {
  70809. t1 = B.CalculationOperator_oum;
  70810. break $label0$0;
  70811. }
  70812. if (B.BinaryOperator_tht === operator) {
  70813. t1 = B.CalculationOperator_kkN;
  70814. break $label0$0;
  70815. }
  70816. if (B.BinaryOperator_Mh5 === operator) {
  70817. t1 = B.CalculationOperator_bo5;
  70818. break $label0$0;
  70819. }
  70820. t1 = A.throwExpression(this._async_evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  70821. }
  70822. return t1;
  70823. },
  70824. _async_evaluate$_checkAdjacentCalculationValues$2(elements, node) {
  70825. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  70826. for (t1 = elements.length, i = 1; i < t1; ++i) {
  70827. t2 = i - 1;
  70828. previous = elements[t2];
  70829. current = elements[i];
  70830. if (previous instanceof A.SassString || current instanceof A.SassString)
  70831. continue;
  70832. t1 = node.contents;
  70833. previousNode = t1[t2];
  70834. currentNode = t1[i];
  70835. if (currentNode instanceof A.UnaryOperationExpression) {
  70836. _0_2 = currentNode.operator;
  70837. if (B.UnaryOperator_UCP !== _0_2)
  70838. t1 = B.UnaryOperator_Rbl === _0_2;
  70839. else
  70840. t1 = true;
  70841. } else
  70842. t1 = false;
  70843. if (!t1)
  70844. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  70845. else
  70846. t1 = true;
  70847. if (t1)
  70848. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  70849. else
  70850. throw A.wrapException(this._async_evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  70851. }
  70852. },
  70853. visitInterpolatedFunctionExpression$1(_, node) {
  70854. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(0, node);
  70855. },
  70856. visitInterpolatedFunctionExpression$body$_EvaluateVisitor(_, node) {
  70857. var $async$goto = 0,
  70858. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70859. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  70860. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70861. if ($async$errorCode === 1)
  70862. return A._asyncRethrow($async$result, $async$completer);
  70863. while (true)
  70864. switch ($async$goto) {
  70865. case 0:
  70866. // Function start
  70867. $async$goto = 3;
  70868. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  70869. case 3:
  70870. // returning from await.
  70871. t1 = $async$result;
  70872. oldInFunction = $async$self._async_evaluate$_inFunction;
  70873. $async$self._async_evaluate$_inFunction = true;
  70874. $async$goto = 4;
  70875. 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);
  70876. case 4:
  70877. // returning from await.
  70878. result = $async$result;
  70879. $async$self._async_evaluate$_inFunction = oldInFunction;
  70880. $async$returnValue = result;
  70881. // goto return
  70882. $async$goto = 1;
  70883. break;
  70884. case 1:
  70885. // return
  70886. return A._asyncReturn($async$returnValue, $async$completer);
  70887. }
  70888. });
  70889. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  70890. },
  70891. _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  70892. return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
  70893. },
  70894. _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  70895. var $async$goto = 0,
  70896. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  70897. $async$returnValue, $async$self = this, oldCallable, oldInDependency, result, evaluated, $name;
  70898. var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70899. if ($async$errorCode === 1)
  70900. return A._asyncRethrow($async$result, $async$completer);
  70901. while (true)
  70902. switch ($async$goto) {
  70903. case 0:
  70904. // Function start
  70905. $async$goto = 3;
  70906. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
  70907. case 3:
  70908. // returning from await.
  70909. evaluated = $async$result;
  70910. $name = callable.declaration.name;
  70911. if ($name !== "@content")
  70912. $name += "()";
  70913. oldCallable = $async$self._async_evaluate$_currentCallable;
  70914. oldInDependency = $async$self._async_evaluate$_inDependency;
  70915. $async$self._async_evaluate$_currentCallable = callable;
  70916. $async$self._async_evaluate$_inDependency = callable.inDependency;
  70917. $async$goto = 4;
  70918. 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);
  70919. case 4:
  70920. // returning from await.
  70921. result = $async$result;
  70922. $async$self._async_evaluate$_currentCallable = oldCallable;
  70923. $async$self._async_evaluate$_inDependency = oldInDependency;
  70924. $async$returnValue = result;
  70925. // goto return
  70926. $async$goto = 1;
  70927. break;
  70928. case 1:
  70929. // return
  70930. return A._asyncReturn($async$returnValue, $async$completer);
  70931. }
  70932. });
  70933. return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
  70934. },
  70935. _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  70936. return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  70937. },
  70938. _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  70939. var $async$goto = 0,
  70940. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70941. $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;
  70942. var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70943. if ($async$errorCode === 1) {
  70944. $async$errorStack.push($async$result);
  70945. $async$goto = $async$handler;
  70946. }
  70947. while (true)
  70948. switch ($async$goto) {
  70949. case 0:
  70950. // Function start
  70951. $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
  70952. break;
  70953. case 3:
  70954. // then
  70955. $async$goto = 6;
  70956. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
  70957. case 6:
  70958. // returning from await.
  70959. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
  70960. // goto return
  70961. $async$goto = 1;
  70962. break;
  70963. // goto join
  70964. $async$goto = 4;
  70965. break;
  70966. case 5:
  70967. // else
  70968. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
  70969. break;
  70970. case 7:
  70971. // then
  70972. $async$goto = 10;
  70973. 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);
  70974. case 10:
  70975. // returning from await.
  70976. $async$returnValue = $async$result;
  70977. // goto return
  70978. $async$goto = 1;
  70979. break;
  70980. // goto join
  70981. $async$goto = 8;
  70982. break;
  70983. case 9:
  70984. // else
  70985. $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
  70986. break;
  70987. case 11:
  70988. // then
  70989. t1 = $arguments.named;
  70990. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  70991. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  70992. buffer = new A.StringBuffer(callable.name + "(");
  70993. $async$handler = 15;
  70994. first = true;
  70995. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  70996. case 18:
  70997. // for condition
  70998. if (!(_i < t2)) {
  70999. // goto after for
  71000. $async$goto = 20;
  71001. break;
  71002. }
  71003. argument = t1[_i];
  71004. if (first)
  71005. first = false;
  71006. else
  71007. buffer._contents += ", ";
  71008. t3 = buffer;
  71009. $async$temp1 = A;
  71010. $async$goto = 21;
  71011. return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
  71012. case 21:
  71013. // returning from await.
  71014. t4 = $async$temp1.S($async$result);
  71015. t3._contents += t4;
  71016. case 19:
  71017. // for update
  71018. ++_i;
  71019. // goto for condition
  71020. $async$goto = 18;
  71021. break;
  71022. case 20:
  71023. // after for
  71024. restArg = $arguments.rest;
  71025. $async$goto = restArg != null ? 22 : 23;
  71026. break;
  71027. case 22:
  71028. // then
  71029. $async$goto = 24;
  71030. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
  71031. case 24:
  71032. // returning from await.
  71033. rest = $async$result;
  71034. if (!first)
  71035. buffer._contents += ", ";
  71036. t1 = buffer;
  71037. t2 = $async$self._async_evaluate$_serialize$2(rest, restArg);
  71038. t1._contents += t2;
  71039. case 23:
  71040. // join
  71041. $async$handler = 2;
  71042. // goto after finally
  71043. $async$goto = 17;
  71044. break;
  71045. case 15:
  71046. // catch
  71047. $async$handler = 14;
  71048. $async$exception = $async$errorStack.pop();
  71049. t1 = A.unwrapException($async$exception);
  71050. if (type$.SassRuntimeException._is(t1)) {
  71051. error = t1;
  71052. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  71053. throw $async$exception;
  71054. 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));
  71055. } else
  71056. throw $async$exception;
  71057. // goto after finally
  71058. $async$goto = 17;
  71059. break;
  71060. case 14:
  71061. // uncaught
  71062. // goto rethrow
  71063. $async$goto = 2;
  71064. break;
  71065. case 17:
  71066. // after finally
  71067. t1 = buffer;
  71068. t2 = A.Primitives_stringFromCharCode(41);
  71069. t1._contents += t2;
  71070. t2 = buffer._contents;
  71071. $async$returnValue = new A.SassString(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  71072. // goto return
  71073. $async$goto = 1;
  71074. break;
  71075. // goto join
  71076. $async$goto = 12;
  71077. break;
  71078. case 13:
  71079. // else
  71080. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  71081. case 12:
  71082. // join
  71083. case 8:
  71084. // join
  71085. case 4:
  71086. // join
  71087. case 1:
  71088. // return
  71089. return A._asyncReturn($async$returnValue, $async$completer);
  71090. case 2:
  71091. // rethrow
  71092. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  71093. }
  71094. });
  71095. return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
  71096. },
  71097. _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  71098. return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  71099. },
  71100. _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  71101. var $async$goto = 0,
  71102. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71103. $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;
  71104. var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71105. if ($async$errorCode === 1) {
  71106. $async$errorStack.push($async$result);
  71107. $async$goto = $async$handler;
  71108. }
  71109. while (true)
  71110. switch ($async$goto) {
  71111. case 0:
  71112. // Function start
  71113. _box_0 = {};
  71114. $async$goto = 3;
  71115. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
  71116. case 3:
  71117. // returning from await.
  71118. evaluated = $async$result;
  71119. oldCallableNode = $async$self._async_evaluate$_callableNode;
  71120. $async$self._async_evaluate$_callableNode = nodeWithSpan;
  71121. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  71122. _box_0.callback = _box_0.overload = null;
  71123. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  71124. _box_0.overload = _0_0._0;
  71125. _box_0.callback = _0_0._1;
  71126. $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure2(_box_0, evaluated, namedSet));
  71127. parameters = _box_0.overload.parameters;
  71128. i = J.get$length$asx(evaluated._values[2]), t1 = parameters.length, t2 = type$._Future_Value, t3 = type$.Future_Value;
  71129. case 4:
  71130. // for condition
  71131. if (!(i < t1)) {
  71132. // goto after for
  71133. $async$goto = 6;
  71134. break;
  71135. }
  71136. parameter = parameters[i];
  71137. t4 = evaluated._values[2];
  71138. t5 = evaluated._values[0].remove$1(0, parameter.name);
  71139. $async$goto = t5 == null ? 7 : 8;
  71140. break;
  71141. case 7:
  71142. // then
  71143. t5 = parameter.defaultValue;
  71144. t6 = t5.accept$1($async$self);
  71145. if (!t3._is(t6)) {
  71146. t7 = new A._Future($.Zone__current, t2);
  71147. t7._state = 8;
  71148. t7._resultOrListeners = t6;
  71149. t6 = t7;
  71150. }
  71151. $async$goto = 9;
  71152. return A._asyncAwait(t6, $async$_async_evaluate$_runBuiltInCallable$3);
  71153. case 9:
  71154. // returning from await.
  71155. t5 = $async$self._async_evaluate$_withoutSlash$2($async$result, t5);
  71156. case 8:
  71157. // join
  71158. J.add$1$ax(t4, t5);
  71159. case 5:
  71160. // for update
  71161. ++i;
  71162. // goto for condition
  71163. $async$goto = 4;
  71164. break;
  71165. case 6:
  71166. // after for
  71167. if (_box_0.overload.restParameter != null) {
  71168. if (J.get$length$asx(evaluated._values[2]) > t1) {
  71169. rest = J.sublist$1$ax(evaluated._values[2], t1);
  71170. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  71171. } else
  71172. rest = B.List_empty8;
  71173. t1 = evaluated._values[0];
  71174. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : evaluated._values[4]);
  71175. J.add$1$ax(evaluated._values[2], argumentList);
  71176. } else
  71177. argumentList = null;
  71178. result = null;
  71179. $async$handler = 11;
  71180. $async$goto = 14;
  71181. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(_box_0, evaluated), type$.Value), $async$_async_evaluate$_runBuiltInCallable$3);
  71182. case 14:
  71183. // returning from await.
  71184. result = $async$result;
  71185. $async$handler = 2;
  71186. // goto after finally
  71187. $async$goto = 13;
  71188. break;
  71189. case 11:
  71190. // catch
  71191. $async$handler = 10;
  71192. $async$exception = $async$errorStack.pop();
  71193. t1 = A.unwrapException($async$exception);
  71194. if (t1 instanceof A.SassException)
  71195. throw $async$exception;
  71196. else {
  71197. error = t1;
  71198. stackTrace = A.getTraceFromException($async$exception);
  71199. A.throwWithTrace($async$self._async_evaluate$_exception$2($async$self._async_evaluate$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  71200. }
  71201. // goto after finally
  71202. $async$goto = 13;
  71203. break;
  71204. case 10:
  71205. // uncaught
  71206. // goto rethrow
  71207. $async$goto = 2;
  71208. break;
  71209. case 13:
  71210. // after finally
  71211. $async$self._async_evaluate$_callableNode = oldCallableNode;
  71212. if (argumentList == null) {
  71213. $async$returnValue = result;
  71214. // goto return
  71215. $async$goto = 1;
  71216. break;
  71217. }
  71218. t1 = evaluated._values[0];
  71219. if (t1.get$isEmpty(t1)) {
  71220. $async$returnValue = result;
  71221. // goto return
  71222. $async$goto = 1;
  71223. break;
  71224. }
  71225. if (argumentList._wereKeywordsAccessed) {
  71226. $async$returnValue = result;
  71227. // goto return
  71228. $async$goto = 1;
  71229. break;
  71230. }
  71231. t1 = evaluated._values[0];
  71232. t1 = A.pluralize("parameter", J.get$length$asx(t1.get$keys(t1)), null);
  71233. t2 = evaluated._values[0];
  71234. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + t1 + " named " + A.toSentence(J.map$1$1$ax(t2.get$keys(t2), new A._EvaluateVisitor__runBuiltInCallable_closure4(), type$.Object), "or") + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_box_0.overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), null));
  71235. case 1:
  71236. // return
  71237. return A._asyncReturn($async$returnValue, $async$completer);
  71238. case 2:
  71239. // rethrow
  71240. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  71241. }
  71242. });
  71243. return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
  71244. },
  71245. _async_evaluate$_evaluateArguments$1($arguments) {
  71246. return this._evaluateArguments$body$_EvaluateVisitor($arguments);
  71247. },
  71248. _evaluateArguments$body$_EvaluateVisitor($arguments) {
  71249. var $async$goto = 0,
  71250. $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),
  71251. $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;
  71252. var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71253. if ($async$errorCode === 1)
  71254. return A._asyncRethrow($async$result, $async$completer);
  71255. while (true)
  71256. switch ($async$goto) {
  71257. case 0:
  71258. // Function start
  71259. positional = A._setArrayType([], type$.JSArray_Value);
  71260. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  71261. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  71262. case 3:
  71263. // for condition
  71264. if (!(_i < t2)) {
  71265. // goto after for
  71266. $async$goto = 5;
  71267. break;
  71268. }
  71269. expression = t1[_i];
  71270. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
  71271. t5 = expression.accept$1($async$self);
  71272. if (!t4._is(t5)) {
  71273. t6 = new A._Future($.Zone__current, t3);
  71274. t6._state = 8;
  71275. t6._resultOrListeners = t5;
  71276. t5 = t6;
  71277. }
  71278. $async$temp1 = positional;
  71279. $async$goto = 6;
  71280. return A._asyncAwait(t5, $async$_async_evaluate$_evaluateArguments$1);
  71281. case 6:
  71282. // returning from await.
  71283. $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  71284. positionalNodes.push(nodeForSpan);
  71285. case 4:
  71286. // for update
  71287. ++_i;
  71288. // goto for condition
  71289. $async$goto = 3;
  71290. break;
  71291. case 5:
  71292. // after for
  71293. t1 = type$.String;
  71294. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  71295. t2 = type$.AstNode;
  71296. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71297. t5 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t5 = t5.get$iterator(t5);
  71298. case 7:
  71299. // for condition
  71300. if (!t5.moveNext$0()) {
  71301. // goto after for
  71302. $async$goto = 8;
  71303. break;
  71304. }
  71305. t6 = t5.get$current(t5);
  71306. $name = t6._0;
  71307. value = t6._1;
  71308. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(value);
  71309. t6 = value.accept$1($async$self);
  71310. if (!t4._is(t6)) {
  71311. t7 = new A._Future($.Zone__current, t3);
  71312. t7._state = 8;
  71313. t7._resultOrListeners = t6;
  71314. t6 = t7;
  71315. }
  71316. $async$temp1 = named;
  71317. $async$temp2 = $name;
  71318. $async$goto = 9;
  71319. return A._asyncAwait(t6, $async$_async_evaluate$_evaluateArguments$1);
  71320. case 9:
  71321. // returning from await.
  71322. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  71323. namedNodes.$indexSet(0, $name, nodeForSpan);
  71324. // goto for condition
  71325. $async$goto = 7;
  71326. break;
  71327. case 8:
  71328. // after for
  71329. restArgs = $arguments.rest;
  71330. if (restArgs == null) {
  71331. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  71332. // goto return
  71333. $async$goto = 1;
  71334. break;
  71335. }
  71336. $async$goto = 10;
  71337. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  71338. case 10:
  71339. // returning from await.
  71340. rest = $async$result;
  71341. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
  71342. if (rest instanceof A.SassMap) {
  71343. $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
  71344. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71345. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  71346. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  71347. namedNodes.addAll$1(0, t3);
  71348. separator = B.ListSeparator_undecided_null_undecided;
  71349. } else if (rest instanceof A.SassList) {
  71350. t3 = rest._list$_contents;
  71351. 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>")));
  71352. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  71353. separator = rest._separator;
  71354. if (rest instanceof A.SassArgumentList) {
  71355. rest._wereKeywordsAccessed = true;
  71356. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
  71357. }
  71358. } else {
  71359. positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
  71360. positionalNodes.push(restNodeForSpan);
  71361. separator = B.ListSeparator_undecided_null_undecided;
  71362. }
  71363. keywordRestArgs = $arguments.keywordRest;
  71364. if (keywordRestArgs == null) {
  71365. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  71366. // goto return
  71367. $async$goto = 1;
  71368. break;
  71369. }
  71370. $async$goto = 11;
  71371. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  71372. case 11:
  71373. // returning from await.
  71374. keywordRest = $async$result;
  71375. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
  71376. if (keywordRest instanceof A.SassMap) {
  71377. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
  71378. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71379. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  71380. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  71381. namedNodes.addAll$1(0, t1);
  71382. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  71383. // goto return
  71384. $async$goto = 1;
  71385. break;
  71386. } else
  71387. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  71388. case 1:
  71389. // return
  71390. return A._asyncReturn($async$returnValue, $async$completer);
  71391. }
  71392. });
  71393. return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
  71394. },
  71395. _async_evaluate$_evaluateMacroArguments$1(invocation) {
  71396. return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
  71397. },
  71398. _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
  71399. var $async$goto = 0,
  71400. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression),
  71401. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  71402. var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71403. if ($async$errorCode === 1)
  71404. return A._asyncRethrow($async$result, $async$completer);
  71405. while (true)
  71406. switch ($async$goto) {
  71407. case 0:
  71408. // Function start
  71409. t1 = invocation.$arguments;
  71410. restArgs_ = t1.rest;
  71411. if (restArgs_ == null) {
  71412. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  71413. // goto return
  71414. $async$goto = 1;
  71415. break;
  71416. }
  71417. t2 = t1.positional;
  71418. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  71419. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  71420. $async$goto = 3;
  71421. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  71422. case 3:
  71423. // returning from await.
  71424. rest = $async$result;
  71425. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
  71426. if (rest instanceof A.SassMap)
  71427. $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
  71428. else if (rest instanceof A.SassList) {
  71429. t2 = rest._list$_contents;
  71430. 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>")));
  71431. if (rest instanceof A.SassArgumentList) {
  71432. rest._wereKeywordsAccessed = true;
  71433. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
  71434. }
  71435. } else
  71436. positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  71437. keywordRestArgs_ = t1.keywordRest;
  71438. if (keywordRestArgs_ == null) {
  71439. $async$returnValue = new A._Record_2(positional, named);
  71440. // goto return
  71441. $async$goto = 1;
  71442. break;
  71443. }
  71444. $async$goto = 4;
  71445. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  71446. case 4:
  71447. // returning from await.
  71448. keywordRest = $async$result;
  71449. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
  71450. if (keywordRest instanceof A.SassMap) {
  71451. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  71452. $async$returnValue = new A._Record_2(positional, named);
  71453. // goto return
  71454. $async$goto = 1;
  71455. break;
  71456. } else
  71457. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  71458. case 1:
  71459. // return
  71460. return A._asyncReturn($async$returnValue, $async$completer);
  71461. }
  71462. });
  71463. return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
  71464. },
  71465. _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  71466. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  71467. },
  71468. _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
  71469. return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  71470. },
  71471. _async_evaluate$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  71472. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0(parameters, positional, named));
  71473. },
  71474. visitSelectorExpression$1(_, node) {
  71475. return this.visitSelectorExpression$body$_EvaluateVisitor(0, node);
  71476. },
  71477. visitSelectorExpression$body$_EvaluateVisitor(_, node) {
  71478. var $async$goto = 0,
  71479. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71480. $async$returnValue, $async$self = this, t1;
  71481. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71482. if ($async$errorCode === 1)
  71483. return A._asyncRethrow($async$result, $async$completer);
  71484. while (true)
  71485. switch ($async$goto) {
  71486. case 0:
  71487. // Function start
  71488. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  71489. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  71490. $async$returnValue = t1 == null ? B.C__SassNull : t1;
  71491. // goto return
  71492. $async$goto = 1;
  71493. break;
  71494. case 1:
  71495. // return
  71496. return A._asyncReturn($async$returnValue, $async$completer);
  71497. }
  71498. });
  71499. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  71500. },
  71501. visitStringExpression$1(_, node) {
  71502. return this.visitStringExpression$body$_EvaluateVisitor(0, node);
  71503. },
  71504. visitStringExpression$body$_EvaluateVisitor(_, node) {
  71505. var $async$goto = 0,
  71506. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  71507. $async$returnValue, $async$self = this, t1, t2, t3, _i, value, t4, _0_0, text, oldInSupportsDeclaration;
  71508. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71509. if ($async$errorCode === 1)
  71510. return A._asyncRethrow($async$result, $async$completer);
  71511. while (true)
  71512. switch ($async$goto) {
  71513. case 0:
  71514. // Function start
  71515. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  71516. $async$self._async_evaluate$_inSupportsDeclaration = false;
  71517. t1 = A._setArrayType([], type$.JSArray_String);
  71518. t2 = node.text.contents, t3 = t2.length, _i = 0;
  71519. case 3:
  71520. // for condition
  71521. if (!(_i < t3)) {
  71522. // goto after for
  71523. $async$goto = 5;
  71524. break;
  71525. }
  71526. value = t2[_i];
  71527. if (typeof value == "string") {
  71528. t4 = value;
  71529. // goto break $label0$0
  71530. $async$goto = 6;
  71531. break;
  71532. }
  71533. $async$goto = value instanceof A.Expression ? 7 : 8;
  71534. break;
  71535. case 7:
  71536. // then
  71537. $async$goto = 9;
  71538. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  71539. case 9:
  71540. // returning from await.
  71541. _0_0 = $async$result;
  71542. $label1$1: {
  71543. if (_0_0 instanceof A.SassString) {
  71544. text = _0_0._string$_text;
  71545. t4 = text;
  71546. break $label1$1;
  71547. }
  71548. t4 = $async$self._async_evaluate$_serialize$3$quote(_0_0, value, false);
  71549. break $label1$1;
  71550. }
  71551. // goto break $label0$0
  71552. $async$goto = 6;
  71553. break;
  71554. case 8:
  71555. // join
  71556. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  71557. case 6:
  71558. // break $label0$0
  71559. t1.push(t4);
  71560. case 4:
  71561. // for update
  71562. ++_i;
  71563. // goto for condition
  71564. $async$goto = 3;
  71565. break;
  71566. case 5:
  71567. // after for
  71568. t1 = B.JSArray_methods.join$0(t1);
  71569. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  71570. $async$returnValue = new A.SassString(t1, node.hasQuotes);
  71571. // goto return
  71572. $async$goto = 1;
  71573. break;
  71574. case 1:
  71575. // return
  71576. return A._asyncReturn($async$returnValue, $async$completer);
  71577. }
  71578. });
  71579. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  71580. },
  71581. visitSupportsExpression$1(_, expression) {
  71582. return this.visitSupportsExpression$body$_EvaluateVisitor(0, expression);
  71583. },
  71584. visitSupportsExpression$body$_EvaluateVisitor(_, expression) {
  71585. var $async$goto = 0,
  71586. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  71587. $async$returnValue, $async$self = this, $async$temp1;
  71588. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71589. if ($async$errorCode === 1)
  71590. return A._asyncRethrow($async$result, $async$completer);
  71591. while (true)
  71592. switch ($async$goto) {
  71593. case 0:
  71594. // Function start
  71595. $async$temp1 = A;
  71596. $async$goto = 3;
  71597. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  71598. case 3:
  71599. // returning from await.
  71600. $async$returnValue = new $async$temp1.SassString($async$result, false);
  71601. // goto return
  71602. $async$goto = 1;
  71603. break;
  71604. case 1:
  71605. // return
  71606. return A._asyncReturn($async$returnValue, $async$completer);
  71607. }
  71608. });
  71609. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  71610. },
  71611. visitCssAtRule$1(node) {
  71612. return this.visitCssAtRule$body$_EvaluateVisitor(node);
  71613. },
  71614. visitCssAtRule$body$_EvaluateVisitor(node) {
  71615. var $async$goto = 0,
  71616. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71617. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  71618. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71619. if ($async$errorCode === 1)
  71620. return A._asyncRethrow($async$result, $async$completer);
  71621. while (true)
  71622. switch ($async$goto) {
  71623. case 0:
  71624. // Function start
  71625. if ($async$self._async_evaluate$_declarationName != null)
  71626. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  71627. if (node.isChildless) {
  71628. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  71629. // goto return
  71630. $async$goto = 1;
  71631. break;
  71632. }
  71633. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  71634. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  71635. t1 = node.name;
  71636. if (A.unvendor(t1.value) === "keyframes")
  71637. $async$self._async_evaluate$_inKeyframes = true;
  71638. else
  71639. $async$self._async_evaluate$_inUnknownAtRule = true;
  71640. $async$goto = 3;
  71641. 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);
  71642. case 3:
  71643. // returning from await.
  71644. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  71645. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  71646. case 1:
  71647. // return
  71648. return A._asyncReturn($async$returnValue, $async$completer);
  71649. }
  71650. });
  71651. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  71652. },
  71653. visitCssComment$1(node) {
  71654. return this.visitCssComment$body$_EvaluateVisitor(node);
  71655. },
  71656. visitCssComment$body$_EvaluateVisitor(node) {
  71657. var $async$goto = 0,
  71658. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71659. $async$self = this;
  71660. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71661. if ($async$errorCode === 1)
  71662. return A._asyncRethrow($async$result, $async$completer);
  71663. while (true)
  71664. switch ($async$goto) {
  71665. case 0:
  71666. // Function start
  71667. 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))
  71668. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  71669. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
  71670. // implicit return
  71671. return A._asyncReturn(null, $async$completer);
  71672. }
  71673. });
  71674. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  71675. },
  71676. visitCssDeclaration$1(node) {
  71677. return this.visitCssDeclaration$body$_EvaluateVisitor(node);
  71678. },
  71679. visitCssDeclaration$body$_EvaluateVisitor(node) {
  71680. var $async$goto = 0,
  71681. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71682. $async$self = this;
  71683. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71684. if ($async$errorCode === 1)
  71685. return A._asyncRethrow($async$result, $async$completer);
  71686. while (true)
  71687. switch ($async$goto) {
  71688. case 0:
  71689. // Function start
  71690. $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));
  71691. // implicit return
  71692. return A._asyncReturn(null, $async$completer);
  71693. }
  71694. });
  71695. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  71696. },
  71697. visitCssImport$1(node) {
  71698. return this.visitCssImport$body$_EvaluateVisitor(node);
  71699. },
  71700. visitCssImport$body$_EvaluateVisitor(node) {
  71701. var $async$goto = 0,
  71702. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71703. $async$self = this, t1, modifiableNode;
  71704. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71705. if ($async$errorCode === 1)
  71706. return A._asyncRethrow($async$result, $async$completer);
  71707. while (true)
  71708. switch ($async$goto) {
  71709. case 0:
  71710. // Function start
  71711. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  71712. 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"))
  71713. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
  71714. 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)) {
  71715. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
  71716. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  71717. } else {
  71718. t1 = $async$self._async_evaluate$_outOfOrderImports;
  71719. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  71720. }
  71721. // implicit return
  71722. return A._asyncReturn(null, $async$completer);
  71723. }
  71724. });
  71725. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  71726. },
  71727. visitCssKeyframeBlock$1(node) {
  71728. return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
  71729. },
  71730. visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
  71731. var $async$goto = 0,
  71732. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71733. $async$self = this;
  71734. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71735. if ($async$errorCode === 1)
  71736. return A._asyncRethrow($async$result, $async$completer);
  71737. while (true)
  71738. switch ($async$goto) {
  71739. case 0:
  71740. // Function start
  71741. $async$goto = 2;
  71742. 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);
  71743. case 2:
  71744. // returning from await.
  71745. // implicit return
  71746. return A._asyncReturn(null, $async$completer);
  71747. }
  71748. });
  71749. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  71750. },
  71751. visitCssMediaRule$1(node) {
  71752. return this.visitCssMediaRule$body$_EvaluateVisitor(node);
  71753. },
  71754. visitCssMediaRule$body$_EvaluateVisitor(node) {
  71755. var $async$goto = 0,
  71756. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71757. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  71758. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71759. if ($async$errorCode === 1)
  71760. return A._asyncRethrow($async$result, $async$completer);
  71761. while (true)
  71762. switch ($async$goto) {
  71763. case 0:
  71764. // Function start
  71765. if ($async$self._async_evaluate$_declarationName != null)
  71766. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  71767. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
  71768. t1 = mergedQueries == null;
  71769. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  71770. // goto return
  71771. $async$goto = 1;
  71772. break;
  71773. }
  71774. if (t1)
  71775. mergedSources = B.Set_empty1;
  71776. else {
  71777. t2 = $async$self._async_evaluate$_mediaQuerySources;
  71778. t2.toString;
  71779. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  71780. t3 = $async$self._async_evaluate$_mediaQueries;
  71781. t3.toString;
  71782. t2.addAll$1(0, t3);
  71783. t2.addAll$1(0, node.queries);
  71784. mergedSources = t2;
  71785. }
  71786. t1 = t1 ? node.queries : mergedQueries;
  71787. $async$goto = 3;
  71788. 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);
  71789. case 3:
  71790. // returning from await.
  71791. case 1:
  71792. // return
  71793. return A._asyncReturn($async$returnValue, $async$completer);
  71794. }
  71795. });
  71796. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  71797. },
  71798. visitCssStyleRule$1(node) {
  71799. return this.visitCssStyleRule$body$_EvaluateVisitor(node);
  71800. },
  71801. visitCssStyleRule$body$_EvaluateVisitor(node) {
  71802. var $async$goto = 0,
  71803. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71804. $async$self = this, t1, styleRule, t2, nest, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild;
  71805. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71806. if ($async$errorCode === 1)
  71807. return A._asyncRethrow($async$result, $async$completer);
  71808. while (true)
  71809. switch ($async$goto) {
  71810. case 0:
  71811. // Function start
  71812. if ($async$self._async_evaluate$_declarationName != null)
  71813. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_n, node.span));
  71814. else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
  71815. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_k, node.span));
  71816. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
  71817. styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  71818. t2 = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  71819. t2 = t2 == null ? null : t2.fromPlainCss;
  71820. nest = t2 !== true;
  71821. t2 = node._style_rule$_selector._box$_inner;
  71822. if (nest) {
  71823. t2 = t2.value;
  71824. t3 = styleRule == null ? null : styleRule.originalSelector;
  71825. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !t1, node.fromPlainCss);
  71826. } else
  71827. originalSelector = t2.value;
  71828. 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);
  71829. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  71830. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  71831. t1 = nest ? new A._EvaluateVisitor_visitCssStyleRule_closure1() : null;
  71832. $async$goto = 2;
  71833. 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);
  71834. case 2:
  71835. // returning from await.
  71836. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  71837. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children._collection$_source;
  71838. t2 = J.getInterceptor$asx(t1);
  71839. _0_1 = t2.get$length(t1);
  71840. if (_0_1 >= 1) {
  71841. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  71842. t1 = styleRule == null;
  71843. } else {
  71844. lastChild = null;
  71845. t1 = false;
  71846. }
  71847. if (t1)
  71848. lastChild.isGroupEnd = true;
  71849. // implicit return
  71850. return A._asyncReturn(null, $async$completer);
  71851. }
  71852. });
  71853. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  71854. },
  71855. visitCssStylesheet$1(node) {
  71856. return this.visitCssStylesheet$body$_EvaluateVisitor(node);
  71857. },
  71858. visitCssStylesheet$body$_EvaluateVisitor(node) {
  71859. var $async$goto = 0,
  71860. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71861. $async$self = this, t1;
  71862. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71863. if ($async$errorCode === 1)
  71864. return A._asyncRethrow($async$result, $async$completer);
  71865. while (true)
  71866. switch ($async$goto) {
  71867. case 0:
  71868. // Function start
  71869. t1 = J.get$iterator$ax(node.get$children(node));
  71870. case 2:
  71871. // for condition
  71872. if (!t1.moveNext$0()) {
  71873. // goto after for
  71874. $async$goto = 3;
  71875. break;
  71876. }
  71877. $async$goto = 4;
  71878. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  71879. case 4:
  71880. // returning from await.
  71881. // goto for condition
  71882. $async$goto = 2;
  71883. break;
  71884. case 3:
  71885. // after for
  71886. // implicit return
  71887. return A._asyncReturn(null, $async$completer);
  71888. }
  71889. });
  71890. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  71891. },
  71892. visitCssSupportsRule$1(node) {
  71893. return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
  71894. },
  71895. visitCssSupportsRule$body$_EvaluateVisitor(node) {
  71896. var $async$goto = 0,
  71897. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71898. $async$self = this;
  71899. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71900. if ($async$errorCode === 1)
  71901. return A._asyncRethrow($async$result, $async$completer);
  71902. while (true)
  71903. switch ($async$goto) {
  71904. case 0:
  71905. // Function start
  71906. if ($async$self._async_evaluate$_declarationName != null)
  71907. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  71908. $async$goto = 2;
  71909. 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);
  71910. case 2:
  71911. // returning from await.
  71912. // implicit return
  71913. return A._asyncReturn(null, $async$completer);
  71914. }
  71915. });
  71916. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  71917. },
  71918. _async_evaluate$_handleReturn$1$2(list, callback) {
  71919. return this._handleReturn$body$_EvaluateVisitor(list, callback);
  71920. },
  71921. _async_evaluate$_handleReturn$2(list, callback) {
  71922. return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
  71923. },
  71924. _handleReturn$body$_EvaluateVisitor(list, callback) {
  71925. var $async$goto = 0,
  71926. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  71927. $async$returnValue, t1, _i, _0_0;
  71928. var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71929. if ($async$errorCode === 1)
  71930. return A._asyncRethrow($async$result, $async$completer);
  71931. while (true)
  71932. switch ($async$goto) {
  71933. case 0:
  71934. // Function start
  71935. t1 = list.length, _i = 0;
  71936. case 3:
  71937. // for condition
  71938. if (!(_i < list.length)) {
  71939. // goto after for
  71940. $async$goto = 5;
  71941. break;
  71942. }
  71943. $async$goto = 6;
  71944. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
  71945. case 6:
  71946. // returning from await.
  71947. _0_0 = $async$result;
  71948. if (_0_0 != null) {
  71949. $async$returnValue = _0_0;
  71950. // goto return
  71951. $async$goto = 1;
  71952. break;
  71953. }
  71954. case 4:
  71955. // for update
  71956. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  71957. // goto for condition
  71958. $async$goto = 3;
  71959. break;
  71960. case 5:
  71961. // after for
  71962. $async$returnValue = null;
  71963. // goto return
  71964. $async$goto = 1;
  71965. break;
  71966. case 1:
  71967. // return
  71968. return A._asyncReturn($async$returnValue, $async$completer);
  71969. }
  71970. });
  71971. return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
  71972. },
  71973. _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
  71974. return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
  71975. },
  71976. _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
  71977. var $async$goto = 0,
  71978. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  71979. $async$returnValue, $async$self = this, result, oldEnvironment;
  71980. var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71981. if ($async$errorCode === 1)
  71982. return A._asyncRethrow($async$result, $async$completer);
  71983. while (true)
  71984. switch ($async$goto) {
  71985. case 0:
  71986. // Function start
  71987. oldEnvironment = $async$self._async_evaluate$_environment;
  71988. $async$self._async_evaluate$_environment = environment;
  71989. $async$goto = 3;
  71990. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
  71991. case 3:
  71992. // returning from await.
  71993. result = $async$result;
  71994. $async$self._async_evaluate$_environment = oldEnvironment;
  71995. $async$returnValue = result;
  71996. // goto return
  71997. $async$goto = 1;
  71998. break;
  71999. case 1:
  72000. // return
  72001. return A._asyncReturn($async$returnValue, $async$completer);
  72002. }
  72003. });
  72004. return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
  72005. },
  72006. _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  72007. return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
  72008. },
  72009. _async_evaluate$_interpolationToValue$1(interpolation) {
  72010. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  72011. },
  72012. _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  72013. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  72014. },
  72015. _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
  72016. var $async$goto = 0,
  72017. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
  72018. $async$returnValue, $async$self = this, result, t1;
  72019. var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72020. if ($async$errorCode === 1)
  72021. return A._asyncRethrow($async$result, $async$completer);
  72022. while (true)
  72023. switch ($async$goto) {
  72024. case 0:
  72025. // Function start
  72026. $async$goto = 3;
  72027. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
  72028. case 3:
  72029. // returning from await.
  72030. result = $async$result;
  72031. t1 = trim ? A.trimAscii(result, true) : result;
  72032. $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  72033. // goto return
  72034. $async$goto = 1;
  72035. break;
  72036. case 1:
  72037. // return
  72038. return A._asyncReturn($async$returnValue, $async$completer);
  72039. }
  72040. });
  72041. return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
  72042. },
  72043. _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  72044. return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
  72045. },
  72046. _async_evaluate$_performInterpolation$1(interpolation) {
  72047. return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
  72048. },
  72049. _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
  72050. var $async$goto = 0,
  72051. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  72052. $async$returnValue, $async$self = this;
  72053. var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72054. if ($async$errorCode === 1)
  72055. return A._asyncRethrow($async$result, $async$completer);
  72056. while (true)
  72057. switch ($async$goto) {
  72058. case 0:
  72059. // Function start
  72060. $async$goto = 3;
  72061. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate$_performInterpolation$2$warnForColor);
  72062. case 3:
  72063. // returning from await.
  72064. $async$returnValue = $async$result._0;
  72065. // goto return
  72066. $async$goto = 1;
  72067. break;
  72068. case 1:
  72069. // return
  72070. return A._asyncReturn($async$returnValue, $async$completer);
  72071. }
  72072. });
  72073. return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
  72074. },
  72075. _async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  72076. return this._performInterpolationWithMap$body$_EvaluateVisitor(interpolation, true);
  72077. },
  72078. _performInterpolationWithMap$body$_EvaluateVisitor(interpolation, warnForColor) {
  72079. var $async$goto = 0,
  72080. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap),
  72081. $async$returnValue, $async$self = this, _0_0, result, map;
  72082. var $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72083. if ($async$errorCode === 1)
  72084. return A._asyncRethrow($async$result, $async$completer);
  72085. while (true)
  72086. switch ($async$goto) {
  72087. case 0:
  72088. // Function start
  72089. $async$goto = 3;
  72090. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor);
  72091. case 3:
  72092. // returning from await.
  72093. _0_0 = $async$result;
  72094. result = _0_0._0;
  72095. map = _0_0._1;
  72096. map.toString;
  72097. $async$returnValue = new A._Record_2(result, map);
  72098. // goto return
  72099. $async$goto = 1;
  72100. break;
  72101. case 1:
  72102. // return
  72103. return A._asyncReturn($async$returnValue, $async$completer);
  72104. }
  72105. });
  72106. return A._asyncStartSync($async$_async_evaluate$_performInterpolationWithMap$2$warnForColor, $async$completer);
  72107. },
  72108. _async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  72109. return this._performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor);
  72110. },
  72111. _performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor) {
  72112. var $async$goto = 0,
  72113. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap),
  72114. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, targetLocations, oldInSupportsDeclaration;
  72115. var $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72116. if ($async$errorCode === 1)
  72117. return A._asyncRethrow($async$result, $async$completer);
  72118. while (true)
  72119. switch ($async$goto) {
  72120. case 0:
  72121. // Function start
  72122. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  72123. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  72124. $async$self._async_evaluate$_inSupportsDeclaration = false;
  72125. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression, t4 = targetLocations == null, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = "";
  72126. case 3:
  72127. // for condition
  72128. if (!(_i < t2)) {
  72129. // goto after for
  72130. $async$goto = 5;
  72131. break;
  72132. }
  72133. value = t1[_i];
  72134. if (!first)
  72135. if (!t4)
  72136. targetLocations.push(A.SourceLocation$(t7.length, null, null, null));
  72137. if (typeof value == "string") {
  72138. t7 += value;
  72139. // goto for update
  72140. $async$goto = 4;
  72141. break;
  72142. }
  72143. t3._as(value);
  72144. $async$goto = 6;
  72145. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor);
  72146. case 6:
  72147. // returning from await.
  72148. result = $async$result;
  72149. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  72150. result0 = A.List_List$from([""], false, t6);
  72151. result0.$flags = 3;
  72152. t8 = $.$get$namesByColor();
  72153. $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));
  72154. }
  72155. t7 += $async$self._async_evaluate$_serialize$3$quote(result, value, false);
  72156. case 4:
  72157. // for update
  72158. ++_i, first = false;
  72159. // goto for condition
  72160. $async$goto = 3;
  72161. break;
  72162. case 5:
  72163. // after for
  72164. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  72165. $async$returnValue = new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure0(interpolation)));
  72166. // goto return
  72167. $async$goto = 1;
  72168. break;
  72169. case 1:
  72170. // return
  72171. return A._asyncReturn($async$returnValue, $async$completer);
  72172. }
  72173. });
  72174. return A._asyncStartSync($async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  72175. },
  72176. _evaluateToCss$2$quote(expression, quote) {
  72177. return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
  72178. },
  72179. _evaluateToCss$1(expression) {
  72180. return this._evaluateToCss$2$quote(expression, true);
  72181. },
  72182. _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
  72183. var $async$goto = 0,
  72184. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  72185. $async$returnValue, $async$self = this, t1;
  72186. var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72187. if ($async$errorCode === 1)
  72188. return A._asyncRethrow($async$result, $async$completer);
  72189. while (true)
  72190. switch ($async$goto) {
  72191. case 0:
  72192. // Function start
  72193. t1 = expression.accept$1($async$self);
  72194. $async$goto = 3;
  72195. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$_evaluateToCss$2$quote);
  72196. case 3:
  72197. // returning from await.
  72198. $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
  72199. // goto return
  72200. $async$goto = 1;
  72201. break;
  72202. case 1:
  72203. // return
  72204. return A._asyncReturn($async$returnValue, $async$completer);
  72205. }
  72206. });
  72207. return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
  72208. },
  72209. _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  72210. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
  72211. },
  72212. _async_evaluate$_serialize$2(value, nodeWithSpan) {
  72213. return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  72214. },
  72215. _async_evaluate$_expressionNode$1(expression) {
  72216. var t1;
  72217. if (expression instanceof A.VariableExpression) {
  72218. t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
  72219. return t1 == null ? expression : t1;
  72220. } else
  72221. return expression;
  72222. },
  72223. _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  72224. return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
  72225. },
  72226. _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
  72227. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  72228. },
  72229. _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  72230. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  72231. },
  72232. _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
  72233. var $async$goto = 0,
  72234. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72235. $async$returnValue, $async$self = this, oldParent, result;
  72236. var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72237. if ($async$errorCode === 1)
  72238. return A._asyncRethrow($async$result, $async$completer);
  72239. while (true)
  72240. switch ($async$goto) {
  72241. case 0:
  72242. // Function start
  72243. $async$self._async_evaluate$_addChild$2$through(node, through);
  72244. oldParent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  72245. $async$self._async_evaluate$__parent = node;
  72246. $async$goto = 3;
  72247. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
  72248. case 3:
  72249. // returning from await.
  72250. result = $async$result;
  72251. $async$self._async_evaluate$__parent = oldParent;
  72252. $async$returnValue = result;
  72253. // goto return
  72254. $async$goto = 1;
  72255. break;
  72256. case 1:
  72257. // return
  72258. return A._asyncReturn($async$returnValue, $async$completer);
  72259. }
  72260. });
  72261. return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
  72262. },
  72263. _async_evaluate$_addChild$2$through(node, through) {
  72264. var _0_0, grandparent, t1,
  72265. $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
  72266. if (through != null) {
  72267. for (; through.call$1($parent); $parent = _0_0) {
  72268. _0_0 = $parent._parent;
  72269. if (_0_0 == null)
  72270. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  72271. }
  72272. if ($parent.get$hasFollowingSibling()) {
  72273. grandparent = $parent._parent;
  72274. t1 = grandparent.children;
  72275. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  72276. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  72277. else {
  72278. $parent = $parent.copyWithoutChildren$0();
  72279. grandparent.addChild$1($parent);
  72280. }
  72281. }
  72282. }
  72283. $parent.addChild$1(node);
  72284. },
  72285. _async_evaluate$_addChild$1(node) {
  72286. return this._async_evaluate$_addChild$2$through(node, null);
  72287. },
  72288. _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
  72289. return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
  72290. },
  72291. _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
  72292. var $async$goto = 0,
  72293. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72294. $async$returnValue, $async$self = this, result, oldRule;
  72295. var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72296. if ($async$errorCode === 1)
  72297. return A._asyncRethrow($async$result, $async$completer);
  72298. while (true)
  72299. switch ($async$goto) {
  72300. case 0:
  72301. // Function start
  72302. oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  72303. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
  72304. $async$goto = 3;
  72305. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
  72306. case 3:
  72307. // returning from await.
  72308. result = $async$result;
  72309. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
  72310. $async$returnValue = result;
  72311. // goto return
  72312. $async$goto = 1;
  72313. break;
  72314. case 1:
  72315. // return
  72316. return A._asyncReturn($async$returnValue, $async$completer);
  72317. }
  72318. });
  72319. return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
  72320. },
  72321. _async_evaluate$_withMediaQueries$1$3(queries, sources, callback, $T) {
  72322. return this._withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $T);
  72323. },
  72324. _withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $async$type) {
  72325. var $async$goto = 0,
  72326. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72327. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  72328. var $async$_async_evaluate$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72329. if ($async$errorCode === 1)
  72330. return A._asyncRethrow($async$result, $async$completer);
  72331. while (true)
  72332. switch ($async$goto) {
  72333. case 0:
  72334. // Function start
  72335. oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
  72336. oldSources = $async$self._async_evaluate$_mediaQuerySources;
  72337. $async$self._async_evaluate$_mediaQueries = queries;
  72338. $async$self._async_evaluate$_mediaQuerySources = sources;
  72339. $async$goto = 3;
  72340. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$3);
  72341. case 3:
  72342. // returning from await.
  72343. result = $async$result;
  72344. $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
  72345. $async$self._async_evaluate$_mediaQuerySources = oldSources;
  72346. $async$returnValue = result;
  72347. // goto return
  72348. $async$goto = 1;
  72349. break;
  72350. case 1:
  72351. // return
  72352. return A._asyncReturn($async$returnValue, $async$completer);
  72353. }
  72354. });
  72355. return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$3, $async$completer);
  72356. },
  72357. _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  72358. return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
  72359. },
  72360. _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
  72361. var $async$goto = 0,
  72362. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72363. $async$returnValue, $async$self = this, oldMember, result, t1;
  72364. var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72365. if ($async$errorCode === 1)
  72366. return A._asyncRethrow($async$result, $async$completer);
  72367. while (true)
  72368. switch ($async$goto) {
  72369. case 0:
  72370. // Function start
  72371. t1 = $async$self._async_evaluate$_stack;
  72372. t1.push(new A._Record_2($async$self._async_evaluate$_member, nodeWithSpan));
  72373. oldMember = $async$self._async_evaluate$_member;
  72374. $async$self._async_evaluate$_member = member;
  72375. $async$goto = 3;
  72376. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
  72377. case 3:
  72378. // returning from await.
  72379. result = $async$result;
  72380. $async$self._async_evaluate$_member = oldMember;
  72381. t1.pop();
  72382. $async$returnValue = result;
  72383. // goto return
  72384. $async$goto = 1;
  72385. break;
  72386. case 1:
  72387. // return
  72388. return A._asyncReturn($async$returnValue, $async$completer);
  72389. }
  72390. });
  72391. return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
  72392. },
  72393. _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
  72394. var t1;
  72395. if (value instanceof A.SassNumber)
  72396. t1 = value.asSlash != null;
  72397. else
  72398. t1 = false;
  72399. if (t1)
  72400. 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);
  72401. return value.withoutSlash$0();
  72402. },
  72403. _async_evaluate$_stackFrame$2(member, span) {
  72404. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure0(this)));
  72405. },
  72406. _async_evaluate$_stackTrace$1(span) {
  72407. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  72408. t1 = A._setArrayType([], type$.JSArray_Frame);
  72409. for (t2 = _this._async_evaluate$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  72410. t4 = t2[_i];
  72411. nodeWithSpan = t4._1;
  72412. t1.push(_this._async_evaluate$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  72413. }
  72414. if (span != null)
  72415. t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
  72416. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  72417. },
  72418. _async_evaluate$_stackTrace$0() {
  72419. return this._async_evaluate$_stackTrace$1(null);
  72420. },
  72421. _async_evaluate$_warn$3(message, span, deprecation) {
  72422. var trace, t1, _this = this;
  72423. if (_this._async_evaluate$_quietDeps && _this._async_evaluate$_inDependency)
  72424. return;
  72425. if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  72426. return;
  72427. trace = _this._async_evaluate$_stackTrace$1(span);
  72428. t1 = _this._async_evaluate$_logger;
  72429. if (deprecation == null)
  72430. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  72431. else
  72432. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  72433. },
  72434. _async_evaluate$_warn$2(message, span) {
  72435. return this._async_evaluate$_warn$3(message, span, null);
  72436. },
  72437. _async_evaluate$_exception$2(message, span) {
  72438. var t1, t2;
  72439. if (span == null) {
  72440. t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  72441. t1 = t1.get$span(t1);
  72442. } else
  72443. t1 = span;
  72444. t2 = this._async_evaluate$_stackTrace$1(span);
  72445. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  72446. },
  72447. _async_evaluate$_exception$1(message) {
  72448. return this._async_evaluate$_exception$2(message, null);
  72449. },
  72450. _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  72451. var t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  72452. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate$_stackTrace$0(), null);
  72453. },
  72454. _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  72455. var error, stackTrace, t1, exception,
  72456. addStackFrame = true;
  72457. try {
  72458. t1 = callback.call$0();
  72459. return t1;
  72460. } catch (exception) {
  72461. t1 = A.unwrapException(exception);
  72462. if (t1 instanceof A.SassScriptException) {
  72463. error = t1;
  72464. stackTrace = A.getTraceFromException(exception);
  72465. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  72466. A.throwWithTrace(t1.withTrace$1(this._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  72467. } else
  72468. throw exception;
  72469. }
  72470. },
  72471. _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
  72472. return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  72473. },
  72474. _addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  72475. return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $T);
  72476. },
  72477. _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  72478. return this._addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  72479. },
  72480. _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  72481. var $async$goto = 0,
  72482. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72483. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  72484. var $async$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72485. if ($async$errorCode === 1) {
  72486. $async$errorStack.push($async$result);
  72487. $async$goto = $async$handler;
  72488. }
  72489. while (true)
  72490. switch ($async$goto) {
  72491. case 0:
  72492. // Function start
  72493. $async$handler = 4;
  72494. t1 = callback.call$0();
  72495. $async$goto = 7;
  72496. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_addExceptionSpanAsync$1$3$addStackFrame);
  72497. case 7:
  72498. // returning from await.
  72499. t1 = $async$result;
  72500. $async$returnValue = t1;
  72501. // goto return
  72502. $async$goto = 1;
  72503. break;
  72504. $async$handler = 2;
  72505. // goto after finally
  72506. $async$goto = 6;
  72507. break;
  72508. case 4:
  72509. // catch
  72510. $async$handler = 3;
  72511. $async$exception = $async$errorStack.pop();
  72512. t1 = A.unwrapException($async$exception);
  72513. if (t1 instanceof A.SassScriptException) {
  72514. error = t1;
  72515. stackTrace = A.getTraceFromException($async$exception);
  72516. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  72517. A.throwWithTrace(t1.withTrace$1($async$self._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  72518. } else
  72519. throw $async$exception;
  72520. // goto after finally
  72521. $async$goto = 6;
  72522. break;
  72523. case 3:
  72524. // uncaught
  72525. // goto rethrow
  72526. $async$goto = 2;
  72527. break;
  72528. case 6:
  72529. // after finally
  72530. case 1:
  72531. // return
  72532. return A._asyncReturn($async$returnValue, $async$completer);
  72533. case 2:
  72534. // rethrow
  72535. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  72536. }
  72537. });
  72538. return A._asyncStartSync($async$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  72539. },
  72540. _async_evaluate$_addExceptionTrace$1$1(callback, $T) {
  72541. return this._addExceptionTrace$body$_EvaluateVisitor(callback, $T, $T);
  72542. },
  72543. _addExceptionTrace$body$_EvaluateVisitor(callback, $T, $async$type) {
  72544. var $async$goto = 0,
  72545. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72546. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  72547. var $async$_async_evaluate$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72548. if ($async$errorCode === 1) {
  72549. $async$errorStack.push($async$result);
  72550. $async$goto = $async$handler;
  72551. }
  72552. while (true)
  72553. switch ($async$goto) {
  72554. case 0:
  72555. // Function start
  72556. $async$handler = 4;
  72557. t1 = callback.call$0();
  72558. $async$goto = 7;
  72559. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_addExceptionTrace$1$1);
  72560. case 7:
  72561. // returning from await.
  72562. t1 = $async$result;
  72563. $async$returnValue = t1;
  72564. // goto return
  72565. $async$goto = 1;
  72566. break;
  72567. $async$handler = 2;
  72568. // goto after finally
  72569. $async$goto = 6;
  72570. break;
  72571. case 4:
  72572. // catch
  72573. $async$handler = 3;
  72574. $async$exception = $async$errorStack.pop();
  72575. t1 = A.unwrapException($async$exception);
  72576. if (type$.SassRuntimeException._is(t1))
  72577. throw $async$exception;
  72578. else if (t1 instanceof A.SassException) {
  72579. error = t1;
  72580. stackTrace = A.getTraceFromException($async$exception);
  72581. t1 = error;
  72582. t2 = J.getInterceptor$z(t1);
  72583. A.throwWithTrace(error.withTrace$1($async$self._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  72584. } else
  72585. throw $async$exception;
  72586. // goto after finally
  72587. $async$goto = 6;
  72588. break;
  72589. case 3:
  72590. // uncaught
  72591. // goto rethrow
  72592. $async$goto = 2;
  72593. break;
  72594. case 6:
  72595. // after finally
  72596. case 1:
  72597. // return
  72598. return A._asyncReturn($async$returnValue, $async$completer);
  72599. case 2:
  72600. // rethrow
  72601. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  72602. }
  72603. });
  72604. return A._asyncStartSync($async$_async_evaluate$_addExceptionTrace$1$1, $async$completer);
  72605. },
  72606. _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  72607. return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
  72608. },
  72609. _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
  72610. var $async$goto = 0,
  72611. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72612. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  72613. var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72614. if ($async$errorCode === 1) {
  72615. $async$errorStack.push($async$result);
  72616. $async$goto = $async$handler;
  72617. }
  72618. while (true)
  72619. switch ($async$goto) {
  72620. case 0:
  72621. // Function start
  72622. $async$handler = 4;
  72623. $async$goto = 7;
  72624. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
  72625. case 7:
  72626. // returning from await.
  72627. t1 = $async$result;
  72628. $async$returnValue = t1;
  72629. // goto return
  72630. $async$goto = 1;
  72631. break;
  72632. $async$handler = 2;
  72633. // goto after finally
  72634. $async$goto = 6;
  72635. break;
  72636. case 4:
  72637. // catch
  72638. $async$handler = 3;
  72639. $async$exception = $async$errorStack.pop();
  72640. t1 = A.unwrapException($async$exception);
  72641. if (type$.SassRuntimeException._is(t1)) {
  72642. error = t1;
  72643. stackTrace = A.getTraceFromException($async$exception);
  72644. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  72645. throw $async$exception;
  72646. t1 = error._span_exception$_message;
  72647. t2 = nodeWithSpan.get$span(nodeWithSpan);
  72648. t3 = $async$self._async_evaluate$_stackTrace$0();
  72649. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  72650. } else
  72651. throw $async$exception;
  72652. // goto after finally
  72653. $async$goto = 6;
  72654. break;
  72655. case 3:
  72656. // uncaught
  72657. // goto rethrow
  72658. $async$goto = 2;
  72659. break;
  72660. case 6:
  72661. // after finally
  72662. case 1:
  72663. // return
  72664. return A._asyncReturn($async$returnValue, $async$completer);
  72665. case 2:
  72666. // rethrow
  72667. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  72668. }
  72669. });
  72670. return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
  72671. },
  72672. _async_evaluate$_getErrorMessage$1(error) {
  72673. var t1, exception;
  72674. if (type$.Error._is(error))
  72675. return error.toString$0(0);
  72676. try {
  72677. t1 = A._asString(J.get$message$x(error));
  72678. return t1;
  72679. } catch (exception) {
  72680. t1 = J.toString$0$(error);
  72681. return t1;
  72682. }
  72683. }
  72684. };
  72685. A._EvaluateVisitor_closure12.prototype = {
  72686. call$1($arguments) {
  72687. var module, t2,
  72688. t1 = J.getInterceptor$asx($arguments),
  72689. variable = t1.$index($arguments, 0).assertString$1("name");
  72690. t1 = t1.$index($arguments, 1).get$realNull();
  72691. module = t1 == null ? null : t1.assertString$1("module");
  72692. t1 = this.$this._async_evaluate$_environment;
  72693. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  72694. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  72695. },
  72696. $signature: 12
  72697. };
  72698. A._EvaluateVisitor_closure13.prototype = {
  72699. call$1($arguments) {
  72700. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  72701. t1 = this.$this._async_evaluate$_environment;
  72702. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  72703. },
  72704. $signature: 12
  72705. };
  72706. A._EvaluateVisitor_closure14.prototype = {
  72707. call$1($arguments) {
  72708. var module, t2, t3, t4,
  72709. t1 = J.getInterceptor$asx($arguments),
  72710. variable = t1.$index($arguments, 0).assertString$1("name");
  72711. t1 = t1.$index($arguments, 1).get$realNull();
  72712. module = t1 == null ? null : t1.assertString$1("module");
  72713. t1 = this.$this;
  72714. t2 = t1._async_evaluate$_environment;
  72715. t3 = variable._string$_text;
  72716. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  72717. 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;
  72718. },
  72719. $signature: 12
  72720. };
  72721. A._EvaluateVisitor_closure15.prototype = {
  72722. call$1($arguments) {
  72723. var module, t2,
  72724. t1 = J.getInterceptor$asx($arguments),
  72725. variable = t1.$index($arguments, 0).assertString$1("name");
  72726. t1 = t1.$index($arguments, 1).get$realNull();
  72727. module = t1 == null ? null : t1.assertString$1("module");
  72728. t1 = this.$this._async_evaluate$_environment;
  72729. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  72730. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  72731. },
  72732. $signature: 12
  72733. };
  72734. A._EvaluateVisitor_closure16.prototype = {
  72735. call$1($arguments) {
  72736. var t1 = this.$this._async_evaluate$_environment;
  72737. if (!t1._async_environment$_inMixin)
  72738. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  72739. return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
  72740. },
  72741. $signature: 12
  72742. };
  72743. A._EvaluateVisitor_closure17.prototype = {
  72744. call$1($arguments) {
  72745. var t2, t3, t4,
  72746. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  72747. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  72748. if (module == null)
  72749. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  72750. t1 = type$.Value;
  72751. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  72752. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  72753. t4 = t3.get$current(t3);
  72754. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  72755. }
  72756. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  72757. },
  72758. $signature: 33
  72759. };
  72760. A._EvaluateVisitor_closure18.prototype = {
  72761. call$1($arguments) {
  72762. var t2, t3, t4,
  72763. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  72764. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  72765. if (module == null)
  72766. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  72767. t1 = type$.Value;
  72768. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  72769. for (t3 = A.MapExtensions_get_pairs(module.get$functions(module), type$.String, type$.AsyncCallable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  72770. t4 = t3.get$current(t3);
  72771. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassFunction(t4._1));
  72772. }
  72773. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  72774. },
  72775. $signature: 33
  72776. };
  72777. A._EvaluateVisitor_closure19.prototype = {
  72778. call$1($arguments) {
  72779. var t2, t3, t4,
  72780. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  72781. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  72782. if (module == null)
  72783. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  72784. t1 = type$.Value;
  72785. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  72786. for (t3 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.AsyncCallable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  72787. t4 = t3.get$current(t3);
  72788. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassMixin(t4._1));
  72789. }
  72790. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  72791. },
  72792. $signature: 33
  72793. };
  72794. A._EvaluateVisitor_closure20.prototype = {
  72795. call$1($arguments) {
  72796. var module, t2, callable,
  72797. t1 = J.getInterceptor$asx($arguments),
  72798. $name = t1.$index($arguments, 0).assertString$1("name"),
  72799. css = t1.$index($arguments, 1).get$isTruthy();
  72800. t1 = t1.$index($arguments, 2).get$realNull();
  72801. module = t1 == null ? null : t1.assertString$1("module");
  72802. if (css) {
  72803. if (module != null)
  72804. throw A.wrapException(string$.x24css_a);
  72805. return new A.SassFunction(new A.PlainCssCallable($name._string$_text));
  72806. }
  72807. t1 = this.$this;
  72808. t2 = t1._async_evaluate$_callableNode;
  72809. t2.toString;
  72810. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure6(t1, $name, module));
  72811. if (callable == null)
  72812. throw A.wrapException("Function not found: " + $name.toString$0(0));
  72813. return new A.SassFunction(callable);
  72814. },
  72815. $signature: 166
  72816. };
  72817. A._EvaluateVisitor__closure6.prototype = {
  72818. call$0() {
  72819. var local,
  72820. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  72821. t1 = this.module,
  72822. namespace = t1 == null ? null : t1._string$_text;
  72823. t1 = this.$this;
  72824. local = t1._async_evaluate$_environment.getFunction$2$namespace(normalizedName, namespace);
  72825. if (local != null || namespace != null)
  72826. return local;
  72827. return t1._async_evaluate$_builtInFunctions.$index(0, normalizedName);
  72828. },
  72829. $signature: 111
  72830. };
  72831. A._EvaluateVisitor_closure21.prototype = {
  72832. call$1($arguments) {
  72833. var module, t2, callable,
  72834. t1 = J.getInterceptor$asx($arguments),
  72835. $name = t1.$index($arguments, 0).assertString$1("name");
  72836. t1 = t1.$index($arguments, 1).get$realNull();
  72837. module = t1 == null ? null : t1.assertString$1("module");
  72838. t1 = this.$this;
  72839. t2 = t1._async_evaluate$_callableNode;
  72840. t2.toString;
  72841. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure5(t1, $name, module));
  72842. if (callable == null)
  72843. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  72844. return new A.SassMixin(callable);
  72845. },
  72846. $signature: 167
  72847. };
  72848. A._EvaluateVisitor__closure5.prototype = {
  72849. call$0() {
  72850. var t1 = this.$this._async_evaluate$_environment,
  72851. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  72852. t3 = this.module;
  72853. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  72854. },
  72855. $signature: 111
  72856. };
  72857. A._EvaluateVisitor_closure22.prototype = {
  72858. call$1($arguments) {
  72859. return this.$call$body$_EvaluateVisitor_closure1($arguments);
  72860. },
  72861. $call$body$_EvaluateVisitor_closure1($arguments) {
  72862. var $async$goto = 0,
  72863. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  72864. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  72865. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72866. if ($async$errorCode === 1)
  72867. return A._asyncRethrow($async$result, $async$completer);
  72868. while (true)
  72869. switch ($async$goto) {
  72870. case 0:
  72871. // Function start
  72872. t1 = J.getInterceptor$asx($arguments);
  72873. $function = t1.$index($arguments, 0);
  72874. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  72875. t1 = $async$self.$this;
  72876. t2 = t1._async_evaluate$_callableNode;
  72877. t2.toString;
  72878. t3 = A._setArrayType([], type$.JSArray_Expression);
  72879. t4 = type$.String;
  72880. t5 = type$.Expression;
  72881. t6 = t2.get$span(t2);
  72882. t7 = t2.get$span(t2);
  72883. args._wereKeywordsAccessed = true;
  72884. t8 = args._keywords;
  72885. if (t8.get$isEmpty(t8))
  72886. t2 = null;
  72887. else {
  72888. t9 = type$.Value;
  72889. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  72890. args._wereKeywordsAccessed = true;
  72891. t8 = A.MapExtensions_get_pairs(t8, t4, t9);
  72892. t8 = t8.get$iterator(t8);
  72893. for (; t8.moveNext$0();) {
  72894. t11 = t8.get$current(t8);
  72895. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  72896. }
  72897. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  72898. }
  72899. 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);
  72900. $async$goto = $function instanceof A.SassString ? 3 : 4;
  72901. break;
  72902. case 3:
  72903. // then
  72904. A.warnForDeprecation(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_dAn);
  72905. callableNode = t1._async_evaluate$_callableNode;
  72906. t2 = $function._string$_text;
  72907. t3 = callableNode.get$span(callableNode);
  72908. t1 = t1.visitFunctionExpression$1(0, new A.FunctionExpression(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  72909. $async$goto = 5;
  72910. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$1);
  72911. case 5:
  72912. // returning from await.
  72913. $async$returnValue = $async$result;
  72914. // goto return
  72915. $async$goto = 1;
  72916. break;
  72917. case 4:
  72918. // join
  72919. t2 = $function.assertFunction$1("function");
  72920. t3 = t1._async_evaluate$_callableNode;
  72921. t3.toString;
  72922. $async$goto = 6;
  72923. return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  72924. case 6:
  72925. // returning from await.
  72926. t3 = $async$result;
  72927. $async$returnValue = t3;
  72928. // goto return
  72929. $async$goto = 1;
  72930. break;
  72931. case 1:
  72932. // return
  72933. return A._asyncReturn($async$returnValue, $async$completer);
  72934. }
  72935. });
  72936. return A._asyncStartSync($async$call$1, $async$completer);
  72937. },
  72938. $signature: 186
  72939. };
  72940. A._EvaluateVisitor_closure23.prototype = {
  72941. call$1($arguments) {
  72942. return this.$call$body$_EvaluateVisitor_closure0($arguments);
  72943. },
  72944. $call$body$_EvaluateVisitor_closure0($arguments) {
  72945. var $async$goto = 0,
  72946. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72947. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  72948. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72949. if ($async$errorCode === 1)
  72950. return A._asyncRethrow($async$result, $async$completer);
  72951. while (true)
  72952. switch ($async$goto) {
  72953. case 0:
  72954. // Function start
  72955. t1 = J.getInterceptor$asx($arguments);
  72956. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  72957. t1 = t1.$index($arguments, 1).get$realNull();
  72958. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  72959. t1 = $async$self.$this;
  72960. t2 = t1._async_evaluate$_callableNode;
  72961. t2.toString;
  72962. if (withMap != null) {
  72963. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  72964. withMap.forEach$1(0, new A._EvaluateVisitor__closure3(values, t2.get$span(t2), t2));
  72965. configuration = new A.ExplicitConfiguration(t2, values, null);
  72966. } else
  72967. configuration = B.Configuration_Map_empty_null;
  72968. t3 = t2.get$span(t2);
  72969. $async$goto = 2;
  72970. 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);
  72971. case 2:
  72972. // returning from await.
  72973. t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  72974. // implicit return
  72975. return A._asyncReturn(null, $async$completer);
  72976. }
  72977. });
  72978. return A._asyncStartSync($async$call$1, $async$completer);
  72979. },
  72980. $signature: 168
  72981. };
  72982. A._EvaluateVisitor__closure3.prototype = {
  72983. call$2(variable, value) {
  72984. var t1 = variable.assertString$1("with key"),
  72985. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  72986. t1 = this.values;
  72987. if (t1.containsKey$1($name))
  72988. throw A.wrapException("The variable $" + $name + " was configured twice.");
  72989. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  72990. },
  72991. $signature: 100
  72992. };
  72993. A._EvaluateVisitor__closure4.prototype = {
  72994. call$2(module, _) {
  72995. var t1 = this.$this;
  72996. return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
  72997. },
  72998. $signature: 391
  72999. };
  73000. A._EvaluateVisitor_closure24.prototype = {
  73001. call$1($arguments) {
  73002. return this.$call$body$_EvaluateVisitor_closure($arguments);
  73003. },
  73004. $call$body$_EvaluateVisitor_closure($arguments) {
  73005. var $async$goto = 0,
  73006. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73007. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  73008. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73009. if ($async$errorCode === 1)
  73010. return A._asyncRethrow($async$result, $async$completer);
  73011. while (true)
  73012. switch ($async$goto) {
  73013. case 0:
  73014. // Function start
  73015. t1 = J.getInterceptor$asx($arguments);
  73016. mixin = t1.$index($arguments, 0);
  73017. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  73018. t1 = $async$self.$this;
  73019. callableNode = t1._async_evaluate$_callableNode;
  73020. t2 = callableNode.get$span(callableNode);
  73021. t3 = callableNode.get$span(callableNode);
  73022. t4 = type$.Expression;
  73023. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  73024. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty5, type$.String, t4);
  73025. $async$goto = 2;
  73026. return A._asyncAwait(t1._async_evaluate$_applyMixin$5(mixin.assertMixin$1("mixin").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);
  73027. case 2:
  73028. // returning from await.
  73029. // implicit return
  73030. return A._asyncReturn(null, $async$completer);
  73031. }
  73032. });
  73033. return A._asyncStartSync($async$call$1, $async$completer);
  73034. },
  73035. $signature: 168
  73036. };
  73037. A._EvaluateVisitor_run_closure0.prototype = {
  73038. call$0() {
  73039. var $async$goto = 0,
  73040. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  73041. $async$returnValue, $async$self = this, module, t1, t2, _0_0, url;
  73042. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73043. if ($async$errorCode === 1)
  73044. return A._asyncRethrow($async$result, $async$completer);
  73045. while (true)
  73046. switch ($async$goto) {
  73047. case 0:
  73048. // Function start
  73049. t1 = $async$self.node;
  73050. t2 = t1.span;
  73051. _0_0 = t2.get$sourceUrl(t2);
  73052. url = null;
  73053. if (_0_0 != null) {
  73054. url = _0_0;
  73055. t2 = $async$self.$this;
  73056. t2._async_evaluate$_activeModules.$indexSet(0, url, null);
  73057. t2._async_evaluate$_loadedUrls.add$1(0, url);
  73058. }
  73059. t2 = $async$self.$this;
  73060. $async$goto = 3;
  73061. 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);
  73062. case 3:
  73063. // returning from await.
  73064. module = $async$result;
  73065. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate$_loadedUrls, t2._async_evaluate$_combineCss$1(module));
  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$0, $async$completer);
  73075. },
  73076. $signature: 387
  73077. };
  73078. A._EvaluateVisitor_run__closure0.prototype = {
  73079. call$0() {
  73080. return this.$this._async_evaluate$_execute$2(this.importer, this.node);
  73081. },
  73082. $signature: 378
  73083. };
  73084. A._EvaluateVisitor__loadModule_closure1.prototype = {
  73085. call$0() {
  73086. return this.callback.call$2(this._box_0.builtInModule, false);
  73087. },
  73088. $signature: 0
  73089. };
  73090. A._EvaluateVisitor__loadModule_closure2.prototype = {
  73091. call$0() {
  73092. return this.$call$body$_EvaluateVisitor__loadModule_closure();
  73093. },
  73094. $call$body$_EvaluateVisitor__loadModule_closure() {
  73095. var $async$goto = 0,
  73096. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73097. $async$handler = 1, $async$errorStack = [], $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  73098. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73099. if ($async$errorCode === 1) {
  73100. $async$errorStack.push($async$result);
  73101. $async$goto = $async$handler;
  73102. }
  73103. while (true)
  73104. switch ($async$goto) {
  73105. case 0:
  73106. // Function start
  73107. t1 = {};
  73108. stylesheet = null;
  73109. importer = null;
  73110. t2 = $async$self.$this;
  73111. t3 = $async$self.nodeWithSpan;
  73112. $async$goto = 2;
  73113. 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);
  73114. case 2:
  73115. // returning from await.
  73116. _1_0 = $async$result;
  73117. stylesheet = _1_0._0;
  73118. importer = _1_0._1;
  73119. isDependency = _1_0._2;
  73120. t4 = stylesheet.span;
  73121. canonicalUrl = t4.get$sourceUrl(t4);
  73122. if (canonicalUrl != null) {
  73123. t4 = t2._async_evaluate$_activeModules;
  73124. if (t4.containsKey$1(canonicalUrl)) {
  73125. if ($async$self.namesInErrors) {
  73126. t1 = canonicalUrl;
  73127. t3 = $.$get$context();
  73128. t1.toString;
  73129. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  73130. } else
  73131. message = string$.Modulel;
  73132. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t2, message));
  73133. throw A.wrapException(t1 == null ? t2._async_evaluate$_exception$1(message) : t1);
  73134. } else
  73135. t4.$indexSet(0, canonicalUrl, t3);
  73136. }
  73137. t4 = t2._async_evaluate$_modules.containsKey$1(canonicalUrl);
  73138. oldInDependency = t2._async_evaluate$_inDependency;
  73139. t2._async_evaluate$_inDependency = isDependency;
  73140. t1.module = null;
  73141. $async$handler = 3;
  73142. $async$temp1 = t1;
  73143. $async$goto = 6;
  73144. return A._asyncAwait(t2._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  73145. case 6:
  73146. // returning from await.
  73147. $async$temp1.module = $async$result;
  73148. $async$next.push(5);
  73149. // goto finally
  73150. $async$goto = 4;
  73151. break;
  73152. case 3:
  73153. // uncaught
  73154. $async$next = [1];
  73155. case 4:
  73156. // finally
  73157. $async$handler = 1;
  73158. t2._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
  73159. t2._async_evaluate$_inDependency = oldInDependency;
  73160. // goto the next finally handler
  73161. $async$goto = $async$next.pop();
  73162. break;
  73163. case 5:
  73164. // after finally
  73165. $async$goto = 7;
  73166. 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);
  73167. case 7:
  73168. // returning from await.
  73169. // implicit return
  73170. return A._asyncReturn(null, $async$completer);
  73171. case 1:
  73172. // rethrow
  73173. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  73174. }
  73175. });
  73176. return A._asyncStartSync($async$call$0, $async$completer);
  73177. },
  73178. $signature: 2
  73179. };
  73180. A._EvaluateVisitor__loadModule__closure1.prototype = {
  73181. call$1(previousLoad) {
  73182. 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));
  73183. },
  73184. $signature: 104
  73185. };
  73186. A._EvaluateVisitor__loadModule__closure2.prototype = {
  73187. call$0() {
  73188. return this.callback.call$2(this._box_1.module, this.firstLoad);
  73189. },
  73190. $signature: 0
  73191. };
  73192. A._EvaluateVisitor__execute_closure0.prototype = {
  73193. call$0() {
  73194. var $async$goto = 0,
  73195. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73196. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  73197. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73198. if ($async$errorCode === 1)
  73199. return A._asyncRethrow($async$result, $async$completer);
  73200. while (true)
  73201. switch ($async$goto) {
  73202. case 0:
  73203. // Function start
  73204. t1 = $async$self.$this;
  73205. oldImporter = t1._async_evaluate$_importer;
  73206. oldStylesheet = t1._async_evaluate$__stylesheet;
  73207. oldRoot = t1._async_evaluate$__root;
  73208. oldPreModuleComments = t1._async_evaluate$_preModuleComments;
  73209. oldParent = t1._async_evaluate$__parent;
  73210. oldEndOfImports = t1._async_evaluate$__endOfImports;
  73211. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  73212. oldExtensionStore = t1._async_evaluate$__extensionStore;
  73213. t2 = t1._async_evaluate$_atRootExcludingStyleRule;
  73214. oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  73215. oldMediaQueries = t1._async_evaluate$_mediaQueries;
  73216. oldDeclarationName = t1._async_evaluate$_declarationName;
  73217. oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  73218. oldInKeyframes = t1._async_evaluate$_inKeyframes;
  73219. oldConfiguration = t1._async_evaluate$_configuration;
  73220. t1._async_evaluate$_importer = $async$self.importer;
  73221. t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  73222. t4 = t3.span;
  73223. t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
  73224. t1._async_evaluate$__endOfImports = 0;
  73225. t1._async_evaluate$_outOfOrderImports = null;
  73226. t1._async_evaluate$__extensionStore = $async$self.extensionStore;
  73227. t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
  73228. t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
  73229. t6 = $async$self.configuration;
  73230. if (t6 != null)
  73231. t1._async_evaluate$_configuration = t6;
  73232. $async$goto = 2;
  73233. return A._asyncAwait(t1.visitStylesheet$1(0, t3), $async$call$0);
  73234. case 2:
  73235. // returning from await.
  73236. t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  73237. $async$self.css.__late_helper$_value = t3;
  73238. $async$self.preModuleComments.__late_helper$_value = t1._async_evaluate$_preModuleComments;
  73239. t1._async_evaluate$_importer = oldImporter;
  73240. t1._async_evaluate$__stylesheet = oldStylesheet;
  73241. t1._async_evaluate$__root = oldRoot;
  73242. t1._async_evaluate$_preModuleComments = oldPreModuleComments;
  73243. t1._async_evaluate$__parent = oldParent;
  73244. t1._async_evaluate$__endOfImports = oldEndOfImports;
  73245. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  73246. t1._async_evaluate$__extensionStore = oldExtensionStore;
  73247. t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
  73248. t1._async_evaluate$_mediaQueries = oldMediaQueries;
  73249. t1._async_evaluate$_declarationName = oldDeclarationName;
  73250. t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
  73251. t1._async_evaluate$_atRootExcludingStyleRule = t2;
  73252. t1._async_evaluate$_inKeyframes = oldInKeyframes;
  73253. t1._async_evaluate$_configuration = oldConfiguration;
  73254. // implicit return
  73255. return A._asyncReturn(null, $async$completer);
  73256. }
  73257. });
  73258. return A._asyncStartSync($async$call$0, $async$completer);
  73259. },
  73260. $signature: 2
  73261. };
  73262. A._EvaluateVisitor__combineCss_closure1.prototype = {
  73263. call$1(module) {
  73264. return module.get$transitivelyContainsCss();
  73265. },
  73266. $signature: 130
  73267. };
  73268. A._EvaluateVisitor__combineCss_closure2.prototype = {
  73269. call$1(target) {
  73270. return !this.selectors.contains$1(0, target);
  73271. },
  73272. $signature: 13
  73273. };
  73274. A._EvaluateVisitor__combineCss_visitModule0.prototype = {
  73275. call$1(module) {
  73276. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  73277. if (!_this.seen.add$1(0, module))
  73278. return;
  73279. if (_this.clone)
  73280. module = module.cloneCss$0();
  73281. 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) {
  73282. upstream = t1[_i];
  73283. if (upstream.get$transitivelyContainsCss()) {
  73284. _1_0 = module.get$preModuleComments().$index(0, upstream);
  73285. if (_1_0 != null)
  73286. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  73287. _this.call$1(upstream);
  73288. }
  73289. }
  73290. _this.sorted.addFirst$1(module);
  73291. t1 = module.get$css(module);
  73292. statements = t1.get$children(t1);
  73293. index = _this.$this._async_evaluate$_indexAfterImports$1(statements);
  73294. t1 = J.getInterceptor$ax(statements);
  73295. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  73296. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  73297. },
  73298. $signature: 335
  73299. };
  73300. A._EvaluateVisitor__extendModules_closure1.prototype = {
  73301. call$1(target) {
  73302. return !this.originalSelectors.contains$1(0, target);
  73303. },
  73304. $signature: 13
  73305. };
  73306. A._EvaluateVisitor__extendModules_closure2.prototype = {
  73307. call$0() {
  73308. return A._setArrayType([], type$.JSArray_ExtensionStore);
  73309. },
  73310. $signature: 171
  73311. };
  73312. A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
  73313. call$0() {
  73314. var $async$goto = 0,
  73315. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73316. $async$self = this, t1, t2, t3, _i;
  73317. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73318. if ($async$errorCode === 1)
  73319. return A._asyncRethrow($async$result, $async$completer);
  73320. while (true)
  73321. switch ($async$goto) {
  73322. case 0:
  73323. // Function start
  73324. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73325. case 2:
  73326. // for condition
  73327. if (!(_i < t2)) {
  73328. // goto after for
  73329. $async$goto = 4;
  73330. break;
  73331. }
  73332. $async$goto = 5;
  73333. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73334. case 5:
  73335. // returning from await.
  73336. case 3:
  73337. // for update
  73338. ++_i;
  73339. // goto for condition
  73340. $async$goto = 2;
  73341. break;
  73342. case 4:
  73343. // after for
  73344. // implicit return
  73345. return A._asyncReturn(null, $async$completer);
  73346. }
  73347. });
  73348. return A._asyncStartSync($async$call$0, $async$completer);
  73349. },
  73350. $signature: 2
  73351. };
  73352. A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
  73353. call$0() {
  73354. var $async$goto = 0,
  73355. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73356. $async$self = this, t1, t2, t3, _i;
  73357. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73358. if ($async$errorCode === 1)
  73359. return A._asyncRethrow($async$result, $async$completer);
  73360. while (true)
  73361. switch ($async$goto) {
  73362. case 0:
  73363. // Function start
  73364. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73365. case 2:
  73366. // for condition
  73367. if (!(_i < t2)) {
  73368. // goto after for
  73369. $async$goto = 4;
  73370. break;
  73371. }
  73372. $async$goto = 5;
  73373. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73374. case 5:
  73375. // returning from await.
  73376. case 3:
  73377. // for update
  73378. ++_i;
  73379. // goto for condition
  73380. $async$goto = 2;
  73381. break;
  73382. case 4:
  73383. // after for
  73384. // implicit return
  73385. return A._asyncReturn(null, $async$completer);
  73386. }
  73387. });
  73388. return A._asyncStartSync($async$call$0, $async$completer);
  73389. },
  73390. $signature: 31
  73391. };
  73392. A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
  73393. call$1(callback) {
  73394. var $async$goto = 0,
  73395. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73396. $async$self = this, t1, oldParent;
  73397. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73398. if ($async$errorCode === 1)
  73399. return A._asyncRethrow($async$result, $async$completer);
  73400. while (true)
  73401. switch ($async$goto) {
  73402. case 0:
  73403. // Function start
  73404. t1 = $async$self.$this;
  73405. oldParent = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  73406. t1._async_evaluate$__parent = $async$self.newParent;
  73407. $async$goto = 2;
  73408. return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  73409. case 2:
  73410. // returning from await.
  73411. t1._async_evaluate$__parent = oldParent;
  73412. // implicit return
  73413. return A._asyncReturn(null, $async$completer);
  73414. }
  73415. });
  73416. return A._asyncStartSync($async$call$1, $async$completer);
  73417. },
  73418. $signature: 39
  73419. };
  73420. A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
  73421. call$1(callback) {
  73422. var $async$goto = 0,
  73423. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73424. $async$self = this, t1, oldAtRootExcludingStyleRule;
  73425. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73426. if ($async$errorCode === 1)
  73427. return A._asyncRethrow($async$result, $async$completer);
  73428. while (true)
  73429. switch ($async$goto) {
  73430. case 0:
  73431. // Function start
  73432. t1 = $async$self.$this;
  73433. oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
  73434. t1._async_evaluate$_atRootExcludingStyleRule = true;
  73435. $async$goto = 2;
  73436. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  73437. case 2:
  73438. // returning from await.
  73439. t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  73440. // implicit return
  73441. return A._asyncReturn(null, $async$completer);
  73442. }
  73443. });
  73444. return A._asyncStartSync($async$call$1, $async$completer);
  73445. },
  73446. $signature: 39
  73447. };
  73448. A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
  73449. call$1(callback) {
  73450. return this.$this._async_evaluate$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
  73451. },
  73452. $signature: 39
  73453. };
  73454. A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
  73455. call$0() {
  73456. return this.innerScope.call$1(this.callback);
  73457. },
  73458. $signature: 2
  73459. };
  73460. A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
  73461. call$1(callback) {
  73462. var $async$goto = 0,
  73463. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73464. $async$self = this, t1, wasInKeyframes;
  73465. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73466. if ($async$errorCode === 1)
  73467. return A._asyncRethrow($async$result, $async$completer);
  73468. while (true)
  73469. switch ($async$goto) {
  73470. case 0:
  73471. // Function start
  73472. t1 = $async$self.$this;
  73473. wasInKeyframes = t1._async_evaluate$_inKeyframes;
  73474. t1._async_evaluate$_inKeyframes = false;
  73475. $async$goto = 2;
  73476. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  73477. case 2:
  73478. // returning from await.
  73479. t1._async_evaluate$_inKeyframes = wasInKeyframes;
  73480. // implicit return
  73481. return A._asyncReturn(null, $async$completer);
  73482. }
  73483. });
  73484. return A._asyncStartSync($async$call$1, $async$completer);
  73485. },
  73486. $signature: 39
  73487. };
  73488. A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
  73489. call$1($parent) {
  73490. return $parent instanceof A.ModifiableCssAtRule;
  73491. },
  73492. $signature: 172
  73493. };
  73494. A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
  73495. call$1(callback) {
  73496. var $async$goto = 0,
  73497. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73498. $async$self = this, t1, wasInUnknownAtRule;
  73499. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73500. if ($async$errorCode === 1)
  73501. return A._asyncRethrow($async$result, $async$completer);
  73502. while (true)
  73503. switch ($async$goto) {
  73504. case 0:
  73505. // Function start
  73506. t1 = $async$self.$this;
  73507. wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  73508. t1._async_evaluate$_inUnknownAtRule = false;
  73509. $async$goto = 2;
  73510. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  73511. case 2:
  73512. // returning from await.
  73513. t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  73514. // implicit return
  73515. return A._asyncReturn(null, $async$completer);
  73516. }
  73517. });
  73518. return A._asyncStartSync($async$call$1, $async$completer);
  73519. },
  73520. $signature: 39
  73521. };
  73522. A._EvaluateVisitor_visitContentRule_closure0.prototype = {
  73523. call$0() {
  73524. var $async$goto = 0,
  73525. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73526. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  73527. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73528. if ($async$errorCode === 1)
  73529. return A._asyncRethrow($async$result, $async$completer);
  73530. while (true)
  73531. switch ($async$goto) {
  73532. case 0:
  73533. // Function start
  73534. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73535. case 3:
  73536. // for condition
  73537. if (!(_i < t2)) {
  73538. // goto after for
  73539. $async$goto = 5;
  73540. break;
  73541. }
  73542. $async$goto = 6;
  73543. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73544. case 6:
  73545. // returning from await.
  73546. case 4:
  73547. // for update
  73548. ++_i;
  73549. // goto for condition
  73550. $async$goto = 3;
  73551. break;
  73552. case 5:
  73553. // after for
  73554. $async$returnValue = null;
  73555. // goto return
  73556. $async$goto = 1;
  73557. break;
  73558. case 1:
  73559. // return
  73560. return A._asyncReturn($async$returnValue, $async$completer);
  73561. }
  73562. });
  73563. return A._asyncStartSync($async$call$0, $async$completer);
  73564. },
  73565. $signature: 2
  73566. };
  73567. A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
  73568. call$0() {
  73569. var $async$goto = 0,
  73570. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73571. $async$self = this, t1, t2, t3, _i;
  73572. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73573. if ($async$errorCode === 1)
  73574. return A._asyncRethrow($async$result, $async$completer);
  73575. while (true)
  73576. switch ($async$goto) {
  73577. case 0:
  73578. // Function start
  73579. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73580. case 2:
  73581. // for condition
  73582. if (!(_i < t2)) {
  73583. // goto after for
  73584. $async$goto = 4;
  73585. break;
  73586. }
  73587. $async$goto = 5;
  73588. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73589. case 5:
  73590. // returning from await.
  73591. case 3:
  73592. // for update
  73593. ++_i;
  73594. // goto for condition
  73595. $async$goto = 2;
  73596. break;
  73597. case 4:
  73598. // after for
  73599. // implicit return
  73600. return A._asyncReturn(null, $async$completer);
  73601. }
  73602. });
  73603. return A._asyncStartSync($async$call$0, $async$completer);
  73604. },
  73605. $signature: 2
  73606. };
  73607. A._EvaluateVisitor_visitEachRule_closure2.prototype = {
  73608. call$1(value) {
  73609. var t1 = this.$this,
  73610. t2 = this.nodeWithSpan;
  73611. return t1._async_evaluate$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate$_withoutSlash$2(value, t2), t2);
  73612. },
  73613. $signature: 60
  73614. };
  73615. A._EvaluateVisitor_visitEachRule_closure3.prototype = {
  73616. call$1(value) {
  73617. return this.$this._async_evaluate$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  73618. },
  73619. $signature: 60
  73620. };
  73621. A._EvaluateVisitor_visitEachRule_closure4.prototype = {
  73622. call$0() {
  73623. var _this = this,
  73624. t1 = _this.$this;
  73625. return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
  73626. },
  73627. $signature: 73
  73628. };
  73629. A._EvaluateVisitor_visitEachRule__closure0.prototype = {
  73630. call$1(element) {
  73631. var t1;
  73632. this.setVariables.call$1(element);
  73633. t1 = this.$this;
  73634. return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
  73635. },
  73636. $signature: 358
  73637. };
  73638. A._EvaluateVisitor_visitEachRule___closure0.prototype = {
  73639. call$1(child) {
  73640. return child.accept$1(this.$this);
  73641. },
  73642. $signature: 85
  73643. };
  73644. A._EvaluateVisitor_visitAtRule_closure2.prototype = {
  73645. call$1(value) {
  73646. return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
  73647. },
  73648. $signature: 355
  73649. };
  73650. A._EvaluateVisitor_visitAtRule_closure3.prototype = {
  73651. call$0() {
  73652. var $async$goto = 0,
  73653. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73654. $async$self = this, t2, t3, _i, t1, styleRule;
  73655. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73656. if ($async$errorCode === 1)
  73657. return A._asyncRethrow($async$result, $async$completer);
  73658. while (true)
  73659. switch ($async$goto) {
  73660. case 0:
  73661. // Function start
  73662. t1 = $async$self.$this;
  73663. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  73664. $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  73665. break;
  73666. case 2:
  73667. // then
  73668. t2 = $async$self.children, t3 = t2.length, _i = 0;
  73669. case 5:
  73670. // for condition
  73671. if (!(_i < t3)) {
  73672. // goto after for
  73673. $async$goto = 7;
  73674. break;
  73675. }
  73676. $async$goto = 8;
  73677. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  73678. case 8:
  73679. // returning from await.
  73680. case 6:
  73681. // for update
  73682. ++_i;
  73683. // goto for condition
  73684. $async$goto = 5;
  73685. break;
  73686. case 7:
  73687. // after for
  73688. // goto join
  73689. $async$goto = 3;
  73690. break;
  73691. case 4:
  73692. // else
  73693. $async$goto = 9;
  73694. 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);
  73695. case 9:
  73696. // returning from await.
  73697. case 3:
  73698. // join
  73699. // implicit return
  73700. return A._asyncReturn(null, $async$completer);
  73701. }
  73702. });
  73703. return A._asyncStartSync($async$call$0, $async$completer);
  73704. },
  73705. $signature: 2
  73706. };
  73707. A._EvaluateVisitor_visitAtRule__closure0.prototype = {
  73708. call$0() {
  73709. var $async$goto = 0,
  73710. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73711. $async$self = this, t1, t2, t3, _i;
  73712. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73713. if ($async$errorCode === 1)
  73714. return A._asyncRethrow($async$result, $async$completer);
  73715. while (true)
  73716. switch ($async$goto) {
  73717. case 0:
  73718. // Function start
  73719. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73720. case 2:
  73721. // for condition
  73722. if (!(_i < t2)) {
  73723. // goto after for
  73724. $async$goto = 4;
  73725. break;
  73726. }
  73727. $async$goto = 5;
  73728. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73729. case 5:
  73730. // returning from await.
  73731. case 3:
  73732. // for update
  73733. ++_i;
  73734. // goto for condition
  73735. $async$goto = 2;
  73736. break;
  73737. case 4:
  73738. // after for
  73739. // implicit return
  73740. return A._asyncReturn(null, $async$completer);
  73741. }
  73742. });
  73743. return A._asyncStartSync($async$call$0, $async$completer);
  73744. },
  73745. $signature: 2
  73746. };
  73747. A._EvaluateVisitor_visitAtRule_closure4.prototype = {
  73748. call$1(node) {
  73749. return node instanceof A.ModifiableCssStyleRule;
  73750. },
  73751. $signature: 8
  73752. };
  73753. A._EvaluateVisitor_visitForRule_closure4.prototype = {
  73754. call$0() {
  73755. var $async$goto = 0,
  73756. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  73757. $async$returnValue, $async$self = this;
  73758. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73759. if ($async$errorCode === 1)
  73760. return A._asyncRethrow($async$result, $async$completer);
  73761. while (true)
  73762. switch ($async$goto) {
  73763. case 0:
  73764. // Function start
  73765. $async$goto = 3;
  73766. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  73767. case 3:
  73768. // returning from await.
  73769. $async$returnValue = $async$result.assertNumber$0();
  73770. // goto return
  73771. $async$goto = 1;
  73772. break;
  73773. case 1:
  73774. // return
  73775. return A._asyncReturn($async$returnValue, $async$completer);
  73776. }
  73777. });
  73778. return A._asyncStartSync($async$call$0, $async$completer);
  73779. },
  73780. $signature: 175
  73781. };
  73782. A._EvaluateVisitor_visitForRule_closure5.prototype = {
  73783. call$0() {
  73784. var $async$goto = 0,
  73785. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  73786. $async$returnValue, $async$self = this;
  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. $async$goto = 3;
  73795. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  73796. case 3:
  73797. // returning from await.
  73798. $async$returnValue = $async$result.assertNumber$0();
  73799. // goto return
  73800. $async$goto = 1;
  73801. break;
  73802. case 1:
  73803. // return
  73804. return A._asyncReturn($async$returnValue, $async$completer);
  73805. }
  73806. });
  73807. return A._asyncStartSync($async$call$0, $async$completer);
  73808. },
  73809. $signature: 175
  73810. };
  73811. A._EvaluateVisitor_visitForRule_closure6.prototype = {
  73812. call$0() {
  73813. return this.fromNumber.assertInt$0();
  73814. },
  73815. $signature: 10
  73816. };
  73817. A._EvaluateVisitor_visitForRule_closure7.prototype = {
  73818. call$0() {
  73819. var t1 = this.fromNumber;
  73820. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  73821. },
  73822. $signature: 10
  73823. };
  73824. A._EvaluateVisitor_visitForRule_closure8.prototype = {
  73825. call$0() {
  73826. var $async$goto = 0,
  73827. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  73828. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  73829. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73830. if ($async$errorCode === 1)
  73831. return A._asyncRethrow($async$result, $async$completer);
  73832. while (true)
  73833. switch ($async$goto) {
  73834. case 0:
  73835. // Function start
  73836. t1 = $async$self.$this;
  73837. t2 = $async$self.node;
  73838. nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
  73839. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  73840. case 3:
  73841. // for condition
  73842. if (!(i !== t3.to)) {
  73843. // goto after for
  73844. $async$goto = 5;
  73845. break;
  73846. }
  73847. t7 = t1._async_evaluate$_environment;
  73848. t8 = t6.get$numeratorUnits(t6);
  73849. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  73850. $async$goto = 6;
  73851. return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
  73852. case 6:
  73853. // returning from await.
  73854. _0_0 = $async$result;
  73855. if (_0_0 != null) {
  73856. $async$returnValue = _0_0;
  73857. // goto return
  73858. $async$goto = 1;
  73859. break;
  73860. }
  73861. case 4:
  73862. // for update
  73863. i += t4;
  73864. // goto for condition
  73865. $async$goto = 3;
  73866. break;
  73867. case 5:
  73868. // after for
  73869. $async$returnValue = null;
  73870. // goto return
  73871. $async$goto = 1;
  73872. break;
  73873. case 1:
  73874. // return
  73875. return A._asyncReturn($async$returnValue, $async$completer);
  73876. }
  73877. });
  73878. return A._asyncStartSync($async$call$0, $async$completer);
  73879. },
  73880. $signature: 73
  73881. };
  73882. A._EvaluateVisitor_visitForRule__closure0.prototype = {
  73883. call$1(child) {
  73884. return child.accept$1(this.$this);
  73885. },
  73886. $signature: 85
  73887. };
  73888. A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
  73889. call$2(module, firstLoad) {
  73890. if (firstLoad)
  73891. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  73892. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  73893. },
  73894. $signature: 119
  73895. };
  73896. A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
  73897. call$2(module, firstLoad) {
  73898. if (firstLoad)
  73899. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  73900. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  73901. },
  73902. $signature: 119
  73903. };
  73904. A._EvaluateVisitor__registerCommentsForModule_closure0.prototype = {
  73905. call$0() {
  73906. return A._setArrayType([], type$.JSArray_CssComment);
  73907. },
  73908. $signature: 176
  73909. };
  73910. A._EvaluateVisitor_visitIfRule_closure0.prototype = {
  73911. call$1(clause) {
  73912. var t1 = this.$this;
  73913. return t1._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure0(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  73914. },
  73915. $signature: 341
  73916. };
  73917. A._EvaluateVisitor_visitIfRule__closure0.prototype = {
  73918. call$0() {
  73919. var t1 = this.$this;
  73920. return t1._async_evaluate$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure0(t1));
  73921. },
  73922. $signature: 73
  73923. };
  73924. A._EvaluateVisitor_visitIfRule___closure0.prototype = {
  73925. call$1(child) {
  73926. return child.accept$1(this.$this);
  73927. },
  73928. $signature: 85
  73929. };
  73930. A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
  73931. call$0() {
  73932. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure();
  73933. },
  73934. $call$body$_EvaluateVisitor__visitDynamicImport_closure() {
  73935. var $async$goto = 0,
  73936. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73937. $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;
  73938. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73939. if ($async$errorCode === 1)
  73940. return A._asyncRethrow($async$result, $async$completer);
  73941. while (true)
  73942. switch ($async$goto) {
  73943. case 0:
  73944. // Function start
  73945. _box_0 = {};
  73946. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  73947. t1 = $async$self.$this;
  73948. t2 = $async$self.$import;
  73949. $async$goto = 3;
  73950. return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  73951. case 3:
  73952. // returning from await.
  73953. _0_0 = $async$result;
  73954. stylesheet = _box_0.stylesheet = _0_0._0;
  73955. importer = _0_0._1;
  73956. _box_0.importer = importer;
  73957. isDependency = _0_0._2;
  73958. _box_0.isDependency = isDependency;
  73959. t3 = stylesheet.span;
  73960. url = t3.get$sourceUrl(t3);
  73961. if (url != null) {
  73962. t3 = t1._async_evaluate$_activeModules;
  73963. if (t3.containsKey$1(url)) {
  73964. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
  73965. throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
  73966. }
  73967. t3.$indexSet(0, url, t2);
  73968. }
  73969. t2 = stylesheet._uses;
  73970. t3 = type$.UnmodifiableListView_UseRule;
  73971. $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;
  73972. break;
  73973. case 4:
  73974. // then
  73975. oldImporter = t1._async_evaluate$_importer;
  73976. oldStylesheet = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  73977. oldInDependency = t1._async_evaluate$_inDependency;
  73978. t1._async_evaluate$_importer = importer;
  73979. t1._async_evaluate$__stylesheet = stylesheet;
  73980. t1._async_evaluate$_inDependency = isDependency;
  73981. $async$goto = 6;
  73982. return A._asyncAwait(t1.visitStylesheet$1(0, stylesheet), $async$call$0);
  73983. case 6:
  73984. // returning from await.
  73985. t1._async_evaluate$_importer = oldImporter;
  73986. t1._async_evaluate$__stylesheet = oldStylesheet;
  73987. t1._async_evaluate$_inDependency = oldInDependency;
  73988. t1._async_evaluate$_activeModules.remove$1(0, url);
  73989. // goto return
  73990. $async$goto = 1;
  73991. break;
  73992. case 5:
  73993. // join
  73994. t2 = new A.UnmodifiableListView(t2, t3);
  73995. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
  73996. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  73997. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
  73998. } else
  73999. loadsUserDefinedModules = true;
  74000. children = A._Cell$();
  74001. t2 = t1._async_evaluate$_environment;
  74002. t3 = type$.String;
  74003. t4 = type$.Module_AsyncCallable;
  74004. t5 = type$.AstNode;
  74005. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
  74006. t7 = t2._async_environment$_variables;
  74007. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  74008. t8 = t2._async_environment$_variableNodes;
  74009. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  74010. t9 = t2._async_environment$_functions;
  74011. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  74012. t10 = t2._async_environment$_mixins;
  74013. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  74014. 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);
  74015. $async$goto = 7;
  74016. 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);
  74017. case 7:
  74018. // returning from await.
  74019. module = environment.toDummyModule$0();
  74020. t1._async_evaluate$_environment.importForwards$1(module);
  74021. $async$goto = loadsUserDefinedModules ? 8 : 9;
  74022. break;
  74023. case 8:
  74024. // then
  74025. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  74026. break;
  74027. case 10:
  74028. // then
  74029. $async$goto = 12;
  74030. return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  74031. case 12:
  74032. // returning from await.
  74033. case 11:
  74034. // join
  74035. visitor = new A._ImportedCssVisitor0(t1);
  74036. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  74037. t2.get$current(t2).accept$1(visitor);
  74038. case 9:
  74039. // join
  74040. t1._async_evaluate$_activeModules.remove$1(0, url);
  74041. case 1:
  74042. // return
  74043. return A._asyncReturn($async$returnValue, $async$completer);
  74044. }
  74045. });
  74046. return A._asyncStartSync($async$call$0, $async$completer);
  74047. },
  74048. $signature: 31
  74049. };
  74050. A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
  74051. call$1(previousLoad) {
  74052. 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));
  74053. },
  74054. $signature: 104
  74055. };
  74056. A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
  74057. call$1(rule) {
  74058. return rule.url.get$scheme() !== "sass";
  74059. },
  74060. $signature: 177
  74061. };
  74062. A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
  74063. call$1(rule) {
  74064. return rule.url.get$scheme() !== "sass";
  74065. },
  74066. $signature: 178
  74067. };
  74068. A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
  74069. call$0() {
  74070. var $async$goto = 0,
  74071. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74072. $async$self = this, t3, t4, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldConfiguration, oldInDependency, t2;
  74073. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74074. if ($async$errorCode === 1)
  74075. return A._asyncRethrow($async$result, $async$completer);
  74076. while (true)
  74077. switch ($async$goto) {
  74078. case 0:
  74079. // Function start
  74080. t1 = $async$self.$this;
  74081. oldImporter = t1._async_evaluate$_importer;
  74082. oldStylesheet = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  74083. oldRoot = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
  74084. oldParent = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  74085. oldEndOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
  74086. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  74087. oldConfiguration = t1._async_evaluate$_configuration;
  74088. oldInDependency = t1._async_evaluate$_inDependency;
  74089. t2 = $async$self._box_0;
  74090. t1._async_evaluate$_importer = t2.importer;
  74091. t3 = t2.stylesheet;
  74092. t1._async_evaluate$__stylesheet = t3;
  74093. t4 = $async$self.loadsUserDefinedModules;
  74094. if (t4) {
  74095. t3 = A.ModifiableCssStylesheet$(t3.span);
  74096. t1._async_evaluate$__root = t3;
  74097. t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t3, "_root");
  74098. t1._async_evaluate$__endOfImports = 0;
  74099. t1._async_evaluate$_outOfOrderImports = null;
  74100. }
  74101. t1._async_evaluate$_inDependency = t2.isDependency;
  74102. t3 = new A.UnmodifiableListView(t2.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74103. if (!t3.get$isEmpty(t3))
  74104. t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
  74105. $async$goto = 2;
  74106. return A._asyncAwait(t1.visitStylesheet$1(0, t2.stylesheet), $async$call$0);
  74107. case 2:
  74108. // returning from await.
  74109. t2 = t4 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  74110. $async$self.children.__late_helper$_value = t2;
  74111. t1._async_evaluate$_importer = oldImporter;
  74112. t1._async_evaluate$__stylesheet = oldStylesheet;
  74113. if (t4) {
  74114. t1._async_evaluate$__root = oldRoot;
  74115. t1._async_evaluate$__parent = oldParent;
  74116. t1._async_evaluate$__endOfImports = oldEndOfImports;
  74117. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  74118. }
  74119. t1._async_evaluate$_configuration = oldConfiguration;
  74120. t1._async_evaluate$_inDependency = oldInDependency;
  74121. // implicit return
  74122. return A._asyncReturn(null, $async$completer);
  74123. }
  74124. });
  74125. return A._asyncStartSync($async$call$0, $async$completer);
  74126. },
  74127. $signature: 2
  74128. };
  74129. A._EvaluateVisitor__applyMixin_closure1.prototype = {
  74130. call$0() {
  74131. var $async$goto = 0,
  74132. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74133. $async$self = this, t1;
  74134. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74135. if ($async$errorCode === 1)
  74136. return A._asyncRethrow($async$result, $async$completer);
  74137. while (true)
  74138. switch ($async$goto) {
  74139. case 0:
  74140. // Function start
  74141. t1 = $async$self.$this;
  74142. $async$goto = 2;
  74143. 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);
  74144. case 2:
  74145. // returning from await.
  74146. // implicit return
  74147. return A._asyncReturn(null, $async$completer);
  74148. }
  74149. });
  74150. return A._asyncStartSync($async$call$0, $async$completer);
  74151. },
  74152. $signature: 31
  74153. };
  74154. A._EvaluateVisitor__applyMixin__closure2.prototype = {
  74155. call$0() {
  74156. var $async$goto = 0,
  74157. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74158. $async$self = this;
  74159. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74160. if ($async$errorCode === 1)
  74161. return A._asyncRethrow($async$result, $async$completer);
  74162. while (true)
  74163. switch ($async$goto) {
  74164. case 0:
  74165. // Function start
  74166. $async$goto = 2;
  74167. return A._asyncAwait($async$self.$this._async_evaluate$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  74168. case 2:
  74169. // returning from await.
  74170. // implicit return
  74171. return A._asyncReturn(null, $async$completer);
  74172. }
  74173. });
  74174. return A._asyncStartSync($async$call$0, $async$completer);
  74175. },
  74176. $signature: 31
  74177. };
  74178. A._EvaluateVisitor__applyMixin_closure2.prototype = {
  74179. call$0() {
  74180. var $async$goto = 0,
  74181. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74182. $async$self = this, t1;
  74183. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74184. if ($async$errorCode === 1)
  74185. return A._asyncRethrow($async$result, $async$completer);
  74186. while (true)
  74187. switch ($async$goto) {
  74188. case 0:
  74189. // Function start
  74190. t1 = $async$self.$this;
  74191. $async$goto = 2;
  74192. 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);
  74193. case 2:
  74194. // returning from await.
  74195. // implicit return
  74196. return A._asyncReturn(null, $async$completer);
  74197. }
  74198. });
  74199. return A._asyncStartSync($async$call$0, $async$completer);
  74200. },
  74201. $signature: 2
  74202. };
  74203. A._EvaluateVisitor__applyMixin__closure1.prototype = {
  74204. call$0() {
  74205. var $async$goto = 0,
  74206. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74207. $async$self = this, t1;
  74208. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74209. if ($async$errorCode === 1)
  74210. return A._asyncRethrow($async$result, $async$completer);
  74211. while (true)
  74212. switch ($async$goto) {
  74213. case 0:
  74214. // Function start
  74215. t1 = $async$self.$this;
  74216. $async$goto = 2;
  74217. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure0(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  74218. case 2:
  74219. // returning from await.
  74220. // implicit return
  74221. return A._asyncReturn(null, $async$completer);
  74222. }
  74223. });
  74224. return A._asyncStartSync($async$call$0, $async$completer);
  74225. },
  74226. $signature: 31
  74227. };
  74228. A._EvaluateVisitor__applyMixin___closure0.prototype = {
  74229. call$0() {
  74230. var $async$goto = 0,
  74231. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74232. $async$self = this, t1, t2, t3, t4, t5, _i;
  74233. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74234. if ($async$errorCode === 1)
  74235. return A._asyncRethrow($async$result, $async$completer);
  74236. while (true)
  74237. switch ($async$goto) {
  74238. case 0:
  74239. // Function start
  74240. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value, _i = 0;
  74241. case 2:
  74242. // for condition
  74243. if (!(_i < t2)) {
  74244. // goto after for
  74245. $async$goto = 4;
  74246. break;
  74247. }
  74248. $async$goto = 5;
  74249. return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure0(t3, t1[_i]), t5), $async$call$0);
  74250. case 5:
  74251. // returning from await.
  74252. case 3:
  74253. // for update
  74254. ++_i;
  74255. // goto for condition
  74256. $async$goto = 2;
  74257. break;
  74258. case 4:
  74259. // after for
  74260. // implicit return
  74261. return A._asyncReturn(null, $async$completer);
  74262. }
  74263. });
  74264. return A._asyncStartSync($async$call$0, $async$completer);
  74265. },
  74266. $signature: 31
  74267. };
  74268. A._EvaluateVisitor__applyMixin____closure0.prototype = {
  74269. call$0() {
  74270. return this.statement.accept$1(this.$this);
  74271. },
  74272. $signature: 73
  74273. };
  74274. A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
  74275. call$0() {
  74276. var t1 = this.node;
  74277. return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  74278. },
  74279. $signature: 111
  74280. };
  74281. A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
  74282. call$1($content) {
  74283. var t1 = this.$this;
  74284. return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
  74285. },
  74286. $signature: 339
  74287. };
  74288. A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
  74289. call$0() {
  74290. return this.node.get$spanWithoutContent();
  74291. },
  74292. $signature: 27
  74293. };
  74294. A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
  74295. call$1(mediaQueries) {
  74296. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
  74297. },
  74298. $signature: 91
  74299. };
  74300. A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
  74301. call$0() {
  74302. var $async$goto = 0,
  74303. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74304. $async$self = this, t1, t2;
  74305. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74306. if ($async$errorCode === 1)
  74307. return A._asyncRethrow($async$result, $async$completer);
  74308. while (true)
  74309. switch ($async$goto) {
  74310. case 0:
  74311. // Function start
  74312. t1 = $async$self.$this;
  74313. t2 = $async$self.mergedQueries;
  74314. if (t2 == null)
  74315. t2 = $async$self.queries;
  74316. $async$goto = 2;
  74317. 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);
  74318. case 2:
  74319. // returning from await.
  74320. // implicit return
  74321. return A._asyncReturn(null, $async$completer);
  74322. }
  74323. });
  74324. return A._asyncStartSync($async$call$0, $async$completer);
  74325. },
  74326. $signature: 2
  74327. };
  74328. A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
  74329. call$0() {
  74330. var $async$goto = 0,
  74331. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74332. $async$self = this, t2, t3, _i, t1, _0_0;
  74333. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74334. if ($async$errorCode === 1)
  74335. return A._asyncRethrow($async$result, $async$completer);
  74336. while (true)
  74337. switch ($async$goto) {
  74338. case 0:
  74339. // Function start
  74340. t1 = $async$self.$this;
  74341. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  74342. $async$goto = _0_0 != null ? 2 : 4;
  74343. break;
  74344. case 2:
  74345. // then
  74346. $async$goto = 5;
  74347. 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);
  74348. case 5:
  74349. // returning from await.
  74350. // goto join
  74351. $async$goto = 3;
  74352. break;
  74353. case 4:
  74354. // else
  74355. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  74356. case 6:
  74357. // for condition
  74358. if (!(_i < t3)) {
  74359. // goto after for
  74360. $async$goto = 8;
  74361. break;
  74362. }
  74363. $async$goto = 9;
  74364. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  74365. case 9:
  74366. // returning from await.
  74367. case 7:
  74368. // for update
  74369. ++_i;
  74370. // goto for condition
  74371. $async$goto = 6;
  74372. break;
  74373. case 8:
  74374. // after for
  74375. case 3:
  74376. // join
  74377. // implicit return
  74378. return A._asyncReturn(null, $async$completer);
  74379. }
  74380. });
  74381. return A._asyncStartSync($async$call$0, $async$completer);
  74382. },
  74383. $signature: 2
  74384. };
  74385. A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
  74386. call$0() {
  74387. var $async$goto = 0,
  74388. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74389. $async$self = this, t1, t2, t3, _i;
  74390. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74391. if ($async$errorCode === 1)
  74392. return A._asyncRethrow($async$result, $async$completer);
  74393. while (true)
  74394. switch ($async$goto) {
  74395. case 0:
  74396. // Function start
  74397. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74398. case 2:
  74399. // for condition
  74400. if (!(_i < t2)) {
  74401. // goto after for
  74402. $async$goto = 4;
  74403. break;
  74404. }
  74405. $async$goto = 5;
  74406. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74407. case 5:
  74408. // returning from await.
  74409. case 3:
  74410. // for update
  74411. ++_i;
  74412. // goto for condition
  74413. $async$goto = 2;
  74414. break;
  74415. case 4:
  74416. // after for
  74417. // implicit return
  74418. return A._asyncReturn(null, $async$completer);
  74419. }
  74420. });
  74421. return A._asyncStartSync($async$call$0, $async$completer);
  74422. },
  74423. $signature: 2
  74424. };
  74425. A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
  74426. call$1(node) {
  74427. var t1;
  74428. if (!(node instanceof A.ModifiableCssStyleRule)) {
  74429. t1 = this.mergedSources;
  74430. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  74431. } else
  74432. t1 = true;
  74433. return t1;
  74434. },
  74435. $signature: 8
  74436. };
  74437. A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
  74438. call$0() {
  74439. var $async$goto = 0,
  74440. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74441. $async$self = this, t1, t2, t3, _i;
  74442. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74443. if ($async$errorCode === 1)
  74444. return A._asyncRethrow($async$result, $async$completer);
  74445. while (true)
  74446. switch ($async$goto) {
  74447. case 0:
  74448. // Function start
  74449. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74450. case 2:
  74451. // for condition
  74452. if (!(_i < t2)) {
  74453. // goto after for
  74454. $async$goto = 4;
  74455. break;
  74456. }
  74457. $async$goto = 5;
  74458. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74459. case 5:
  74460. // returning from await.
  74461. case 3:
  74462. // for update
  74463. ++_i;
  74464. // goto for condition
  74465. $async$goto = 2;
  74466. break;
  74467. case 4:
  74468. // after for
  74469. // implicit return
  74470. return A._asyncReturn(null, $async$completer);
  74471. }
  74472. });
  74473. return A._asyncStartSync($async$call$0, $async$completer);
  74474. },
  74475. $signature: 2
  74476. };
  74477. A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
  74478. call$1(node) {
  74479. return node instanceof A.ModifiableCssStyleRule;
  74480. },
  74481. $signature: 8
  74482. };
  74483. A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
  74484. call$0() {
  74485. var $async$goto = 0,
  74486. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74487. $async$self = this, t1;
  74488. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74489. if ($async$errorCode === 1)
  74490. return A._asyncRethrow($async$result, $async$completer);
  74491. while (true)
  74492. switch ($async$goto) {
  74493. case 0:
  74494. // Function start
  74495. t1 = $async$self.$this;
  74496. $async$goto = 2;
  74497. 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);
  74498. case 2:
  74499. // returning from await.
  74500. // implicit return
  74501. return A._asyncReturn(null, $async$completer);
  74502. }
  74503. });
  74504. return A._asyncStartSync($async$call$0, $async$completer);
  74505. },
  74506. $signature: 2
  74507. };
  74508. A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
  74509. call$0() {
  74510. var $async$goto = 0,
  74511. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74512. $async$self = this, t1, t2, t3, _i;
  74513. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74514. if ($async$errorCode === 1)
  74515. return A._asyncRethrow($async$result, $async$completer);
  74516. while (true)
  74517. switch ($async$goto) {
  74518. case 0:
  74519. // Function start
  74520. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74521. case 2:
  74522. // for condition
  74523. if (!(_i < t2)) {
  74524. // goto after for
  74525. $async$goto = 4;
  74526. break;
  74527. }
  74528. $async$goto = 5;
  74529. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74530. case 5:
  74531. // returning from await.
  74532. case 3:
  74533. // for update
  74534. ++_i;
  74535. // goto for condition
  74536. $async$goto = 2;
  74537. break;
  74538. case 4:
  74539. // after for
  74540. // implicit return
  74541. return A._asyncReturn(null, $async$completer);
  74542. }
  74543. });
  74544. return A._asyncStartSync($async$call$0, $async$completer);
  74545. },
  74546. $signature: 2
  74547. };
  74548. A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
  74549. call$1(node) {
  74550. return node instanceof A.ModifiableCssStyleRule;
  74551. },
  74552. $signature: 8
  74553. };
  74554. A._EvaluateVisitor__warnForBogusCombinators_closure0.prototype = {
  74555. call$1(child) {
  74556. return child instanceof A.ModifiableCssComment;
  74557. },
  74558. $signature: 8
  74559. };
  74560. A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
  74561. call$0() {
  74562. var $async$goto = 0,
  74563. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74564. $async$self = this, t2, t3, _i, t1, _0_0;
  74565. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74566. if ($async$errorCode === 1)
  74567. return A._asyncRethrow($async$result, $async$completer);
  74568. while (true)
  74569. switch ($async$goto) {
  74570. case 0:
  74571. // Function start
  74572. t1 = $async$self.$this;
  74573. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  74574. $async$goto = _0_0 != null ? 2 : 4;
  74575. break;
  74576. case 2:
  74577. // then
  74578. $async$goto = 5;
  74579. 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);
  74580. case 5:
  74581. // returning from await.
  74582. // goto join
  74583. $async$goto = 3;
  74584. break;
  74585. case 4:
  74586. // else
  74587. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  74588. case 6:
  74589. // for condition
  74590. if (!(_i < t3)) {
  74591. // goto after for
  74592. $async$goto = 8;
  74593. break;
  74594. }
  74595. $async$goto = 9;
  74596. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  74597. case 9:
  74598. // returning from await.
  74599. case 7:
  74600. // for update
  74601. ++_i;
  74602. // goto for condition
  74603. $async$goto = 6;
  74604. break;
  74605. case 8:
  74606. // after for
  74607. case 3:
  74608. // join
  74609. // implicit return
  74610. return A._asyncReturn(null, $async$completer);
  74611. }
  74612. });
  74613. return A._asyncStartSync($async$call$0, $async$completer);
  74614. },
  74615. $signature: 2
  74616. };
  74617. A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
  74618. call$0() {
  74619. var $async$goto = 0,
  74620. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74621. $async$self = this, t1, t2, t3, _i;
  74622. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74623. if ($async$errorCode === 1)
  74624. return A._asyncRethrow($async$result, $async$completer);
  74625. while (true)
  74626. switch ($async$goto) {
  74627. case 0:
  74628. // Function start
  74629. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74630. case 2:
  74631. // for condition
  74632. if (!(_i < t2)) {
  74633. // goto after for
  74634. $async$goto = 4;
  74635. break;
  74636. }
  74637. $async$goto = 5;
  74638. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74639. case 5:
  74640. // returning from await.
  74641. case 3:
  74642. // for update
  74643. ++_i;
  74644. // goto for condition
  74645. $async$goto = 2;
  74646. break;
  74647. case 4:
  74648. // after for
  74649. // implicit return
  74650. return A._asyncReturn(null, $async$completer);
  74651. }
  74652. });
  74653. return A._asyncStartSync($async$call$0, $async$completer);
  74654. },
  74655. $signature: 2
  74656. };
  74657. A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
  74658. call$1(node) {
  74659. return node instanceof A.ModifiableCssStyleRule;
  74660. },
  74661. $signature: 8
  74662. };
  74663. A._EvaluateVisitor__visitSupportsCondition_closure0.prototype = {
  74664. call$0() {
  74665. var $async$goto = 0,
  74666. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  74667. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  74668. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74669. if ($async$errorCode === 1)
  74670. return A._asyncRethrow($async$result, $async$completer);
  74671. while (true)
  74672. switch ($async$goto) {
  74673. case 0:
  74674. // Function start
  74675. t1 = $async$self.$this;
  74676. t2 = $async$self._box_0;
  74677. $async$temp1 = A;
  74678. $async$goto = 3;
  74679. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.name), $async$call$0);
  74680. case 3:
  74681. // returning from await.
  74682. t3 = $async$temp1.S($async$result);
  74683. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  74684. $async$temp1 = "(" + t3 + ":" + t4;
  74685. $async$temp2 = A;
  74686. $async$goto = 4;
  74687. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.value), $async$call$0);
  74688. case 4:
  74689. // returning from await.
  74690. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  74691. // goto return
  74692. $async$goto = 1;
  74693. break;
  74694. case 1:
  74695. // return
  74696. return A._asyncReturn($async$returnValue, $async$completer);
  74697. }
  74698. });
  74699. return A._asyncStartSync($async$call$0, $async$completer);
  74700. },
  74701. $signature: 180
  74702. };
  74703. A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
  74704. call$0() {
  74705. var t1 = this.$this._async_evaluate$_environment,
  74706. t2 = this._box_0.override;
  74707. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  74708. },
  74709. $signature: 1
  74710. };
  74711. A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
  74712. call$0() {
  74713. var t1 = this.node;
  74714. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  74715. },
  74716. $signature: 43
  74717. };
  74718. A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
  74719. call$0() {
  74720. var t1 = this.$this,
  74721. t2 = this.node;
  74722. t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  74723. },
  74724. $signature: 1
  74725. };
  74726. A._EvaluateVisitor_visitUseRule_closure0.prototype = {
  74727. call$2(module, firstLoad) {
  74728. var t1, t2, t3, _0_0, t4, t5, span;
  74729. if (firstLoad)
  74730. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  74731. t1 = this.$this._async_evaluate$_environment;
  74732. t2 = this.node;
  74733. t3 = t2.namespace;
  74734. if (t3 == null) {
  74735. t1._async_environment$_globalModules.$indexSet(0, module, t2);
  74736. t1._async_environment$_allModules.push(module);
  74737. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._async_environment$_variables)), module.get$variables().get$containsKey());
  74738. if (_0_0 != null)
  74739. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  74740. } else {
  74741. t4 = t1._async_environment$_modules;
  74742. if (t4.containsKey$1(t3)) {
  74743. t5 = t1._async_environment$_namespaceNodes.$index(0, t3);
  74744. span = t5 == null ? null : t5.span;
  74745. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  74746. if (span != null)
  74747. t5.$indexSet(0, span, "original @use");
  74748. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  74749. }
  74750. t4.$indexSet(0, t3, module);
  74751. t1._async_environment$_namespaceNodes.$indexSet(0, t3, t2);
  74752. t1._async_environment$_allModules.push(module);
  74753. }
  74754. },
  74755. $signature: 119
  74756. };
  74757. A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
  74758. call$0() {
  74759. return this.node.expression.accept$1(this.$this);
  74760. },
  74761. $signature: 70
  74762. };
  74763. A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
  74764. call$0() {
  74765. var $async$goto = 0,
  74766. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  74767. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  74768. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74769. if ($async$errorCode === 1)
  74770. return A._asyncRethrow($async$result, $async$completer);
  74771. while (true)
  74772. switch ($async$goto) {
  74773. case 0:
  74774. // Function start
  74775. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  74776. case 3:
  74777. // for condition
  74778. $async$goto = 5;
  74779. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  74780. case 5:
  74781. // returning from await.
  74782. if (!$async$result.get$isTruthy()) {
  74783. // goto after for
  74784. $async$goto = 4;
  74785. break;
  74786. }
  74787. $async$goto = 6;
  74788. return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
  74789. case 6:
  74790. // returning from await.
  74791. _0_0 = $async$result;
  74792. if (_0_0 != null) {
  74793. $async$returnValue = _0_0;
  74794. // goto return
  74795. $async$goto = 1;
  74796. break;
  74797. }
  74798. // goto for condition
  74799. $async$goto = 3;
  74800. break;
  74801. case 4:
  74802. // after for
  74803. $async$returnValue = null;
  74804. // goto return
  74805. $async$goto = 1;
  74806. break;
  74807. case 1:
  74808. // return
  74809. return A._asyncReturn($async$returnValue, $async$completer);
  74810. }
  74811. });
  74812. return A._asyncStartSync($async$call$0, $async$completer);
  74813. },
  74814. $signature: 73
  74815. };
  74816. A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
  74817. call$1(child) {
  74818. return child.accept$1(this.$this);
  74819. },
  74820. $signature: 85
  74821. };
  74822. A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
  74823. call$0() {
  74824. var $async$goto = 0,
  74825. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  74826. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  74827. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74828. if ($async$errorCode === 1)
  74829. return A._asyncRethrow($async$result, $async$completer);
  74830. while (true)
  74831. switch ($async$goto) {
  74832. case 0:
  74833. // Function start
  74834. t1 = $async$self.node;
  74835. t2 = $async$self.$this;
  74836. $async$goto = 3;
  74837. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  74838. case 3:
  74839. // returning from await.
  74840. left = $async$result;
  74841. case 4:
  74842. // switch
  74843. switch (t1.operator) {
  74844. case B.BinaryOperator_Kyq:
  74845. // goto case
  74846. $async$goto = 6;
  74847. break;
  74848. case B.BinaryOperator_tKu:
  74849. // goto case
  74850. $async$goto = 7;
  74851. break;
  74852. case B.BinaryOperator_uke:
  74853. // goto case
  74854. $async$goto = 8;
  74855. break;
  74856. case B.BinaryOperator_r84:
  74857. // goto case
  74858. $async$goto = 9;
  74859. break;
  74860. case B.BinaryOperator_qGq:
  74861. // goto case
  74862. $async$goto = 10;
  74863. break;
  74864. case B.BinaryOperator_o8O:
  74865. // goto case
  74866. $async$goto = 11;
  74867. break;
  74868. case B.BinaryOperator_JiR:
  74869. // goto case
  74870. $async$goto = 12;
  74871. break;
  74872. case B.BinaryOperator_qHy:
  74873. // goto case
  74874. $async$goto = 13;
  74875. break;
  74876. case B.BinaryOperator_FPG:
  74877. // goto case
  74878. $async$goto = 14;
  74879. break;
  74880. case B.BinaryOperator_Swh:
  74881. // goto case
  74882. $async$goto = 15;
  74883. break;
  74884. case B.BinaryOperator_QG1:
  74885. // goto case
  74886. $async$goto = 16;
  74887. break;
  74888. case B.BinaryOperator_tht:
  74889. // goto case
  74890. $async$goto = 17;
  74891. break;
  74892. case B.BinaryOperator_Mh5:
  74893. // goto case
  74894. $async$goto = 18;
  74895. break;
  74896. case B.BinaryOperator_s7T:
  74897. // goto case
  74898. $async$goto = 19;
  74899. break;
  74900. default:
  74901. // goto default
  74902. $async$goto = 20;
  74903. break;
  74904. }
  74905. break;
  74906. case 6:
  74907. // case
  74908. t1 = t1.right.accept$1(t2);
  74909. $async$goto = 21;
  74910. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  74911. case 21:
  74912. // returning from await.
  74913. t1 = $async$result;
  74914. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  74915. // goto after switch
  74916. $async$goto = 5;
  74917. break;
  74918. case 7:
  74919. // case
  74920. $async$goto = left.get$isTruthy() ? 22 : 24;
  74921. break;
  74922. case 22:
  74923. // then
  74924. t1 = left;
  74925. // goto join
  74926. $async$goto = 23;
  74927. break;
  74928. case 24:
  74929. // else
  74930. t1 = t1.right.accept$1(t2);
  74931. $async$goto = 25;
  74932. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  74933. case 25:
  74934. // returning from await.
  74935. t1 = $async$result;
  74936. case 23:
  74937. // join
  74938. // goto after switch
  74939. $async$goto = 5;
  74940. break;
  74941. case 8:
  74942. // case
  74943. $async$goto = left.get$isTruthy() ? 26 : 28;
  74944. break;
  74945. case 26:
  74946. // then
  74947. t1 = t1.right.accept$1(t2);
  74948. $async$goto = 29;
  74949. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  74950. case 29:
  74951. // returning from await.
  74952. t1 = $async$result;
  74953. // goto join
  74954. $async$goto = 27;
  74955. break;
  74956. case 28:
  74957. // else
  74958. t1 = left;
  74959. case 27:
  74960. // join
  74961. // goto after switch
  74962. $async$goto = 5;
  74963. break;
  74964. case 9:
  74965. // case
  74966. $async$temp1 = left;
  74967. $async$goto = 30;
  74968. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  74969. case 30:
  74970. // returning from await.
  74971. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  74972. // goto after switch
  74973. $async$goto = 5;
  74974. break;
  74975. case 10:
  74976. // case
  74977. $async$temp1 = left;
  74978. $async$goto = 31;
  74979. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  74980. case 31:
  74981. // returning from await.
  74982. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  74983. // goto after switch
  74984. $async$goto = 5;
  74985. break;
  74986. case 11:
  74987. // case
  74988. t1 = t1.right.accept$1(t2);
  74989. $async$temp1 = left;
  74990. $async$goto = 32;
  74991. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  74992. case 32:
  74993. // returning from await.
  74994. t1 = $async$temp1.greaterThan$1($async$result);
  74995. // goto after switch
  74996. $async$goto = 5;
  74997. break;
  74998. case 12:
  74999. // case
  75000. t1 = t1.right.accept$1(t2);
  75001. $async$temp1 = left;
  75002. $async$goto = 33;
  75003. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75004. case 33:
  75005. // returning from await.
  75006. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  75007. // goto after switch
  75008. $async$goto = 5;
  75009. break;
  75010. case 13:
  75011. // case
  75012. t1 = t1.right.accept$1(t2);
  75013. $async$temp1 = left;
  75014. $async$goto = 34;
  75015. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75016. case 34:
  75017. // returning from await.
  75018. t1 = $async$temp1.lessThan$1($async$result);
  75019. // goto after switch
  75020. $async$goto = 5;
  75021. break;
  75022. case 14:
  75023. // case
  75024. t1 = t1.right.accept$1(t2);
  75025. $async$temp1 = left;
  75026. $async$goto = 35;
  75027. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75028. case 35:
  75029. // returning from await.
  75030. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  75031. // goto after switch
  75032. $async$goto = 5;
  75033. break;
  75034. case 15:
  75035. // case
  75036. t1 = t1.right.accept$1(t2);
  75037. $async$temp1 = left;
  75038. $async$goto = 36;
  75039. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75040. case 36:
  75041. // returning from await.
  75042. t1 = $async$temp1.plus$1($async$result);
  75043. // goto after switch
  75044. $async$goto = 5;
  75045. break;
  75046. case 16:
  75047. // case
  75048. t1 = t1.right.accept$1(t2);
  75049. $async$temp1 = left;
  75050. $async$goto = 37;
  75051. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75052. case 37:
  75053. // returning from await.
  75054. t1 = $async$temp1.minus$1($async$result);
  75055. // goto after switch
  75056. $async$goto = 5;
  75057. break;
  75058. case 17:
  75059. // case
  75060. t1 = t1.right.accept$1(t2);
  75061. $async$temp1 = left;
  75062. $async$goto = 38;
  75063. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75064. case 38:
  75065. // returning from await.
  75066. t1 = $async$temp1.times$1($async$result);
  75067. // goto after switch
  75068. $async$goto = 5;
  75069. break;
  75070. case 18:
  75071. // case
  75072. t3 = t1.right.accept$1(t2);
  75073. $async$temp1 = t2;
  75074. $async$temp2 = left;
  75075. $async$goto = 39;
  75076. return A._asyncAwait(type$.Future_Value._is(t3) ? t3 : A._Future$value(t3, type$.Value), $async$call$0);
  75077. case 39:
  75078. // returning from await.
  75079. t1 = $async$temp1._async_evaluate$_slash$3($async$temp2, $async$result, t1);
  75080. // goto after switch
  75081. $async$goto = 5;
  75082. break;
  75083. case 19:
  75084. // case
  75085. t1 = t1.right.accept$1(t2);
  75086. $async$temp1 = left;
  75087. $async$goto = 40;
  75088. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75089. case 40:
  75090. // returning from await.
  75091. t1 = $async$temp1.modulo$1($async$result);
  75092. // goto after switch
  75093. $async$goto = 5;
  75094. break;
  75095. case 20:
  75096. // default
  75097. t1 = null;
  75098. case 5:
  75099. // after switch
  75100. $async$returnValue = t1;
  75101. // goto return
  75102. $async$goto = 1;
  75103. break;
  75104. case 1:
  75105. // return
  75106. return A._asyncReturn($async$returnValue, $async$completer);
  75107. }
  75108. });
  75109. return A._asyncStartSync($async$call$0, $async$completer);
  75110. },
  75111. $signature: 70
  75112. };
  75113. A._EvaluateVisitor__slash_recommendation0.prototype = {
  75114. call$1(expression) {
  75115. var t1;
  75116. $label0$0: {
  75117. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_Mh5 === expression.operator) {
  75118. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  75119. break $label0$0;
  75120. }
  75121. if (expression instanceof A.ParenthesizedExpression) {
  75122. t1 = expression.expression.toString$0(0);
  75123. break $label0$0;
  75124. }
  75125. t1 = expression.toString$0(0);
  75126. break $label0$0;
  75127. }
  75128. return t1;
  75129. },
  75130. $signature: 133
  75131. };
  75132. A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
  75133. call$0() {
  75134. var t1 = this.node;
  75135. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  75136. },
  75137. $signature: 43
  75138. };
  75139. A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
  75140. call$0() {
  75141. var t1, _this = this;
  75142. switch (_this.node.operator) {
  75143. case B.UnaryOperator_Rbl:
  75144. t1 = _this.operand.unaryPlus$0();
  75145. break;
  75146. case B.UnaryOperator_UCP:
  75147. t1 = _this.operand.unaryMinus$0();
  75148. break;
  75149. case B.UnaryOperator_lZV:
  75150. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  75151. break;
  75152. case B.UnaryOperator_not_not_not:
  75153. t1 = _this.operand.unaryNot$0();
  75154. break;
  75155. default:
  75156. t1 = null;
  75157. }
  75158. return t1;
  75159. },
  75160. $signature: 36
  75161. };
  75162. A._EvaluateVisitor_visitListExpression_closure0.prototype = {
  75163. call$1(expression) {
  75164. return expression.accept$1(this.$this);
  75165. },
  75166. $signature: 331
  75167. };
  75168. A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
  75169. call$0() {
  75170. var t1 = this.node;
  75171. return this.$this._async_evaluate$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  75172. },
  75173. $signature: 111
  75174. };
  75175. A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
  75176. call$1(argument) {
  75177. return argument.accept$1(B.C_IsCalculationSafeVisitor);
  75178. },
  75179. $signature: 118
  75180. };
  75181. A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
  75182. call$0() {
  75183. var t1 = this.node;
  75184. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  75185. },
  75186. $signature: 70
  75187. };
  75188. A._EvaluateVisitor__visitCalculation_closure0.prototype = {
  75189. call$2(message, deprecation) {
  75190. return this.$this._async_evaluate$_warn$3(message, this.node.span, deprecation);
  75191. },
  75192. call$1(message) {
  75193. return this.call$2(message, null);
  75194. },
  75195. $signature: 101
  75196. };
  75197. A._EvaluateVisitor__checkCalculationArguments_check0.prototype = {
  75198. call$1(maxArgs) {
  75199. var t1 = this.node,
  75200. t2 = t1.$arguments.positional.length;
  75201. if (t2 === 0)
  75202. throw A.wrapException(this.$this._async_evaluate$_exception$2("Missing argument.", t1.span));
  75203. else if (maxArgs != null && t2 > maxArgs)
  75204. 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));
  75205. },
  75206. call$0() {
  75207. return this.call$1(null);
  75208. },
  75209. $signature: 107
  75210. };
  75211. A._EvaluateVisitor__visitCalculationExpression_closure0.prototype = {
  75212. call$0() {
  75213. var $async$goto = 0,
  75214. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  75215. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2, $async$temp3;
  75216. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75217. if ($async$errorCode === 1)
  75218. return A._asyncRethrow($async$result, $async$completer);
  75219. while (true)
  75220. switch ($async$goto) {
  75221. case 0:
  75222. // Function start
  75223. t1 = $async$self.$this;
  75224. t2 = $async$self._box_0;
  75225. t3 = $async$self.node;
  75226. t4 = $async$self.inLegacySassFunction;
  75227. $async$temp1 = A;
  75228. $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$2(t2.operator, t3);
  75229. $async$goto = 3;
  75230. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t4), $async$call$0);
  75231. case 3:
  75232. // returning from await.
  75233. $async$temp3 = $async$result;
  75234. $async$goto = 4;
  75235. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t4), $async$call$0);
  75236. case 4:
  75237. // returning from await.
  75238. $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t4, !t1._async_evaluate$_inSupportsDeclaration, new A._EvaluateVisitor__visitCalculationExpression__closure0(t1, t3));
  75239. // goto return
  75240. $async$goto = 1;
  75241. break;
  75242. case 1:
  75243. // return
  75244. return A._asyncReturn($async$returnValue, $async$completer);
  75245. }
  75246. });
  75247. return A._asyncStartSync($async$call$0, $async$completer);
  75248. },
  75249. $signature: 182
  75250. };
  75251. A._EvaluateVisitor__visitCalculationExpression__closure0.prototype = {
  75252. call$2(message, deprecation) {
  75253. return this.$this._async_evaluate$_warn$3(message, this.node.get$span(0), deprecation);
  75254. },
  75255. call$1(message) {
  75256. return this.call$2(message, null);
  75257. },
  75258. $signature: 101
  75259. };
  75260. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
  75261. call$0() {
  75262. var t1 = this.node;
  75263. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  75264. },
  75265. $signature: 70
  75266. };
  75267. A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
  75268. call$0() {
  75269. var _this = this,
  75270. t1 = _this.$this,
  75271. t2 = _this.callable,
  75272. t3 = _this.V;
  75273. 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);
  75274. },
  75275. $signature() {
  75276. return this.V._eval$1("Future<0>()");
  75277. }
  75278. };
  75279. A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
  75280. call$0() {
  75281. var _this = this,
  75282. t1 = _this.$this,
  75283. t2 = _this.V;
  75284. return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  75285. },
  75286. $signature() {
  75287. return this.V._eval$1("Future<0>()");
  75288. }
  75289. };
  75290. A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
  75291. call$0() {
  75292. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
  75293. },
  75294. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
  75295. var $async$goto = 0,
  75296. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75297. $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;
  75298. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75299. if ($async$errorCode === 1)
  75300. return A._asyncRethrow($async$result, $async$completer);
  75301. while (true)
  75302. switch ($async$goto) {
  75303. case 0:
  75304. // Function start
  75305. t1 = $async$self.$this;
  75306. t2 = $async$self.evaluated._values;
  75307. t3 = $async$self.callable.declaration.parameters;
  75308. t4 = $async$self.nodeWithSpan;
  75309. t1._async_evaluate$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  75310. parameters = t3.parameters;
  75311. t5 = parameters.length;
  75312. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  75313. for (i = 0; i < minLength; ++i)
  75314. t1._async_evaluate$_environment.setLocalVariable$3(parameters[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  75315. i = J.get$length$asx(t2[2]);
  75316. case 3:
  75317. // for condition
  75318. if (!(i < t5)) {
  75319. // goto after for
  75320. $async$goto = 5;
  75321. break;
  75322. }
  75323. parameter = parameters[i];
  75324. t6 = parameter.name;
  75325. value = t2[0].remove$1(0, t6);
  75326. $async$goto = value == null ? 6 : 7;
  75327. break;
  75328. case 6:
  75329. // then
  75330. t7 = parameter.defaultValue;
  75331. $async$temp1 = t1;
  75332. $async$goto = 8;
  75333. return A._asyncAwait(t7.accept$1(t1), $async$call$0);
  75334. case 8:
  75335. // returning from await.
  75336. value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t7));
  75337. case 7:
  75338. // join
  75339. t7 = t1._async_evaluate$_environment;
  75340. t8 = t2[1].$index(0, t6);
  75341. if (t8 == null) {
  75342. t8 = parameter.defaultValue;
  75343. t8.toString;
  75344. t8 = t1._async_evaluate$_expressionNode$1(t8);
  75345. }
  75346. t7.setLocalVariable$3(t6, value, t8);
  75347. case 4:
  75348. // for update
  75349. ++i;
  75350. // goto for condition
  75351. $async$goto = 3;
  75352. break;
  75353. case 5:
  75354. // after for
  75355. restParameter = t3.restParameter;
  75356. if (restParameter != null) {
  75357. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty8;
  75358. t5 = t2[0];
  75359. t6 = t2[4];
  75360. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : t6);
  75361. t1._async_evaluate$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  75362. } else
  75363. argumentList = null;
  75364. $async$goto = 9;
  75365. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  75366. case 9:
  75367. // returning from await.
  75368. result = $async$result;
  75369. if (argumentList == null) {
  75370. $async$returnValue = result;
  75371. // goto return
  75372. $async$goto = 1;
  75373. break;
  75374. }
  75375. t5 = t2[0];
  75376. if (t5.get$isEmpty(t5)) {
  75377. $async$returnValue = result;
  75378. // goto return
  75379. $async$goto = 1;
  75380. break;
  75381. }
  75382. if (argumentList._wereKeywordsAccessed) {
  75383. $async$returnValue = result;
  75384. // goto return
  75385. $async$goto = 1;
  75386. break;
  75387. }
  75388. t5 = t2[0];
  75389. parameterWord = A.pluralize("parameter", J.get$length$asx(t5.get$keys(t5)), null);
  75390. t2 = t2[0];
  75391. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + parameterWord + " named " + A.toSentence(J.map$1$1$ax(t2.get$keys(t2), new A._EvaluateVisitor__runUserDefinedCallable____closure0(), type$.Object), "or") + ".", t4.get$span(t4), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t3.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._async_evaluate$_stackTrace$1(t4.get$span(t4)), null));
  75392. case 1:
  75393. // return
  75394. return A._asyncReturn($async$returnValue, $async$completer);
  75395. }
  75396. });
  75397. return A._asyncStartSync($async$call$0, $async$completer);
  75398. },
  75399. $signature() {
  75400. return this.V._eval$1("Future<0>()");
  75401. }
  75402. };
  75403. A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
  75404. call$1($name) {
  75405. return "$" + $name;
  75406. },
  75407. $signature: 6
  75408. };
  75409. A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
  75410. call$0() {
  75411. var $async$goto = 0,
  75412. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  75413. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  75414. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75415. if ($async$errorCode === 1)
  75416. return A._asyncRethrow($async$result, $async$completer);
  75417. while (true)
  75418. switch ($async$goto) {
  75419. case 0:
  75420. // Function start
  75421. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  75422. case 3:
  75423. // for condition
  75424. if (!(_i < t3)) {
  75425. // goto after for
  75426. $async$goto = 5;
  75427. break;
  75428. }
  75429. $async$goto = 6;
  75430. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  75431. case 6:
  75432. // returning from await.
  75433. $returnValue = $async$result;
  75434. if ($returnValue instanceof A.Value) {
  75435. $async$returnValue = $returnValue;
  75436. // goto return
  75437. $async$goto = 1;
  75438. break;
  75439. }
  75440. case 4:
  75441. // for update
  75442. ++_i;
  75443. // goto for condition
  75444. $async$goto = 3;
  75445. break;
  75446. case 5:
  75447. // after for
  75448. throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
  75449. case 1:
  75450. // return
  75451. return A._asyncReturn($async$returnValue, $async$completer);
  75452. }
  75453. });
  75454. return A._asyncStartSync($async$call$0, $async$completer);
  75455. },
  75456. $signature: 70
  75457. };
  75458. A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
  75459. call$0() {
  75460. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  75461. },
  75462. $signature: 0
  75463. };
  75464. A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
  75465. call$0() {
  75466. return this._box_0.callback.call$1(this.evaluated._values[2]);
  75467. },
  75468. $signature: 321
  75469. };
  75470. A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
  75471. call$1($name) {
  75472. return "$" + $name;
  75473. },
  75474. $signature: 6
  75475. };
  75476. A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
  75477. call$1(value) {
  75478. return value;
  75479. },
  75480. $signature: 41
  75481. };
  75482. A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
  75483. call$1(value) {
  75484. return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
  75485. },
  75486. $signature: 41
  75487. };
  75488. A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
  75489. call$2(key, value) {
  75490. var _this = this,
  75491. t1 = _this.restNodeForSpan;
  75492. _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
  75493. _this.namedNodes.$indexSet(0, key, t1);
  75494. },
  75495. $signature: 109
  75496. };
  75497. A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
  75498. call$1(value) {
  75499. return value;
  75500. },
  75501. $signature: 41
  75502. };
  75503. A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
  75504. call$1(value) {
  75505. var t1 = this.restArgs;
  75506. return new A.ValueExpression(value, t1.get$span(t1));
  75507. },
  75508. $signature: 66
  75509. };
  75510. A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
  75511. call$1(value) {
  75512. var t1 = this.restArgs;
  75513. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  75514. },
  75515. $signature: 66
  75516. };
  75517. A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
  75518. call$2(key, value) {
  75519. var _this = this,
  75520. t1 = _this.restArgs;
  75521. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  75522. },
  75523. $signature: 109
  75524. };
  75525. A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
  75526. call$1(value) {
  75527. var t1 = this.keywordRestArgs;
  75528. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  75529. },
  75530. $signature: 66
  75531. };
  75532. A._EvaluateVisitor__addRestMap_closure0.prototype = {
  75533. call$2(key, value) {
  75534. var t2, _this = this,
  75535. t1 = _this.$this;
  75536. if (key instanceof A.SassString)
  75537. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
  75538. else {
  75539. t2 = _this.nodeWithSpan;
  75540. 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)));
  75541. }
  75542. },
  75543. $signature: 100
  75544. };
  75545. A._EvaluateVisitor__verifyArguments_closure0.prototype = {
  75546. call$0() {
  75547. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  75548. },
  75549. $signature: 0
  75550. };
  75551. A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
  75552. call$0() {
  75553. var $async$goto = 0,
  75554. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75555. $async$self = this, t1, t2, t3, t4;
  75556. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75557. if ($async$errorCode === 1)
  75558. return A._asyncRethrow($async$result, $async$completer);
  75559. while (true)
  75560. switch ($async$goto) {
  75561. case 0:
  75562. // Function start
  75563. 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");
  75564. case 2:
  75565. // for condition
  75566. if (!t1.moveNext$0()) {
  75567. // goto after for
  75568. $async$goto = 3;
  75569. break;
  75570. }
  75571. t4 = t1.__internal$_current;
  75572. $async$goto = 4;
  75573. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75574. case 4:
  75575. // returning from await.
  75576. // goto for condition
  75577. $async$goto = 2;
  75578. break;
  75579. case 3:
  75580. // after for
  75581. // implicit return
  75582. return A._asyncReturn(null, $async$completer);
  75583. }
  75584. });
  75585. return A._asyncStartSync($async$call$0, $async$completer);
  75586. },
  75587. $signature: 2
  75588. };
  75589. A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
  75590. call$1(node) {
  75591. return node instanceof A.ModifiableCssStyleRule;
  75592. },
  75593. $signature: 8
  75594. };
  75595. A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
  75596. call$0() {
  75597. var $async$goto = 0,
  75598. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75599. $async$self = this, t1, t2, t3, t4;
  75600. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75601. if ($async$errorCode === 1)
  75602. return A._asyncRethrow($async$result, $async$completer);
  75603. while (true)
  75604. switch ($async$goto) {
  75605. case 0:
  75606. // Function start
  75607. 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");
  75608. case 2:
  75609. // for condition
  75610. if (!t1.moveNext$0()) {
  75611. // goto after for
  75612. $async$goto = 3;
  75613. break;
  75614. }
  75615. t4 = t1.__internal$_current;
  75616. $async$goto = 4;
  75617. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75618. case 4:
  75619. // returning from await.
  75620. // goto for condition
  75621. $async$goto = 2;
  75622. break;
  75623. case 3:
  75624. // after for
  75625. // implicit return
  75626. return A._asyncReturn(null, $async$completer);
  75627. }
  75628. });
  75629. return A._asyncStartSync($async$call$0, $async$completer);
  75630. },
  75631. $signature: 2
  75632. };
  75633. A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
  75634. call$1(node) {
  75635. return node instanceof A.ModifiableCssStyleRule;
  75636. },
  75637. $signature: 8
  75638. };
  75639. A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
  75640. call$1(mediaQueries) {
  75641. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  75642. },
  75643. $signature: 91
  75644. };
  75645. A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
  75646. call$0() {
  75647. var $async$goto = 0,
  75648. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75649. $async$self = this, t1, t2;
  75650. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75651. if ($async$errorCode === 1)
  75652. return A._asyncRethrow($async$result, $async$completer);
  75653. while (true)
  75654. switch ($async$goto) {
  75655. case 0:
  75656. // Function start
  75657. t1 = $async$self.$this;
  75658. t2 = $async$self.mergedQueries;
  75659. if (t2 == null)
  75660. t2 = $async$self.node.queries;
  75661. $async$goto = 2;
  75662. 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);
  75663. case 2:
  75664. // returning from await.
  75665. // implicit return
  75666. return A._asyncReturn(null, $async$completer);
  75667. }
  75668. });
  75669. return A._asyncStartSync($async$call$0, $async$completer);
  75670. },
  75671. $signature: 2
  75672. };
  75673. A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
  75674. call$0() {
  75675. var $async$goto = 0,
  75676. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75677. $async$self = this, t2, t3, t4, t1, _0_0;
  75678. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75679. if ($async$errorCode === 1)
  75680. return A._asyncRethrow($async$result, $async$completer);
  75681. while (true)
  75682. switch ($async$goto) {
  75683. case 0:
  75684. // Function start
  75685. t1 = $async$self.$this;
  75686. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  75687. $async$goto = _0_0 != null ? 2 : 4;
  75688. break;
  75689. case 2:
  75690. // then
  75691. $async$goto = 5;
  75692. 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);
  75693. case 5:
  75694. // returning from await.
  75695. // goto join
  75696. $async$goto = 3;
  75697. break;
  75698. case 4:
  75699. // else
  75700. 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");
  75701. case 6:
  75702. // for condition
  75703. if (!t2.moveNext$0()) {
  75704. // goto after for
  75705. $async$goto = 7;
  75706. break;
  75707. }
  75708. t4 = t2.__internal$_current;
  75709. $async$goto = 8;
  75710. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  75711. case 8:
  75712. // returning from await.
  75713. // goto for condition
  75714. $async$goto = 6;
  75715. break;
  75716. case 7:
  75717. // after for
  75718. case 3:
  75719. // join
  75720. // implicit return
  75721. return A._asyncReturn(null, $async$completer);
  75722. }
  75723. });
  75724. return A._asyncStartSync($async$call$0, $async$completer);
  75725. },
  75726. $signature: 2
  75727. };
  75728. A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
  75729. call$0() {
  75730. var $async$goto = 0,
  75731. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75732. $async$self = this, t1, t2, t3, t4;
  75733. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75734. if ($async$errorCode === 1)
  75735. return A._asyncRethrow($async$result, $async$completer);
  75736. while (true)
  75737. switch ($async$goto) {
  75738. case 0:
  75739. // Function start
  75740. 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");
  75741. case 2:
  75742. // for condition
  75743. if (!t1.moveNext$0()) {
  75744. // goto after for
  75745. $async$goto = 3;
  75746. break;
  75747. }
  75748. t4 = t1.__internal$_current;
  75749. $async$goto = 4;
  75750. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75751. case 4:
  75752. // returning from await.
  75753. // goto for condition
  75754. $async$goto = 2;
  75755. break;
  75756. case 3:
  75757. // after for
  75758. // implicit return
  75759. return A._asyncReturn(null, $async$completer);
  75760. }
  75761. });
  75762. return A._asyncStartSync($async$call$0, $async$completer);
  75763. },
  75764. $signature: 2
  75765. };
  75766. A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
  75767. call$1(node) {
  75768. var t1;
  75769. if (!(node instanceof A.ModifiableCssStyleRule)) {
  75770. t1 = this.mergedSources;
  75771. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  75772. } else
  75773. t1 = true;
  75774. return t1;
  75775. },
  75776. $signature: 8
  75777. };
  75778. A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
  75779. call$0() {
  75780. var $async$goto = 0,
  75781. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75782. $async$self = this, t1;
  75783. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75784. if ($async$errorCode === 1)
  75785. return A._asyncRethrow($async$result, $async$completer);
  75786. while (true)
  75787. switch ($async$goto) {
  75788. case 0:
  75789. // Function start
  75790. t1 = $async$self.$this;
  75791. $async$goto = 2;
  75792. 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);
  75793. case 2:
  75794. // returning from await.
  75795. // implicit return
  75796. return A._asyncReturn(null, $async$completer);
  75797. }
  75798. });
  75799. return A._asyncStartSync($async$call$0, $async$completer);
  75800. },
  75801. $signature: 2
  75802. };
  75803. A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
  75804. call$0() {
  75805. var $async$goto = 0,
  75806. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75807. $async$self = this, t1, t2, t3, t4;
  75808. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75809. if ($async$errorCode === 1)
  75810. return A._asyncRethrow($async$result, $async$completer);
  75811. while (true)
  75812. switch ($async$goto) {
  75813. case 0:
  75814. // Function start
  75815. 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");
  75816. case 2:
  75817. // for condition
  75818. if (!t1.moveNext$0()) {
  75819. // goto after for
  75820. $async$goto = 3;
  75821. break;
  75822. }
  75823. t4 = t1.__internal$_current;
  75824. $async$goto = 4;
  75825. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75826. case 4:
  75827. // returning from await.
  75828. // goto for condition
  75829. $async$goto = 2;
  75830. break;
  75831. case 3:
  75832. // after for
  75833. // implicit return
  75834. return A._asyncReturn(null, $async$completer);
  75835. }
  75836. });
  75837. return A._asyncStartSync($async$call$0, $async$completer);
  75838. },
  75839. $signature: 2
  75840. };
  75841. A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
  75842. call$1(node) {
  75843. return node instanceof A.ModifiableCssStyleRule;
  75844. },
  75845. $signature: 8
  75846. };
  75847. A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
  75848. call$0() {
  75849. var $async$goto = 0,
  75850. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75851. $async$self = this, t2, t3, t4, t1, _0_0;
  75852. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75853. if ($async$errorCode === 1)
  75854. return A._asyncRethrow($async$result, $async$completer);
  75855. while (true)
  75856. switch ($async$goto) {
  75857. case 0:
  75858. // Function start
  75859. t1 = $async$self.$this;
  75860. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  75861. $async$goto = _0_0 != null ? 2 : 4;
  75862. break;
  75863. case 2:
  75864. // then
  75865. $async$goto = 5;
  75866. 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);
  75867. case 5:
  75868. // returning from await.
  75869. // goto join
  75870. $async$goto = 3;
  75871. break;
  75872. case 4:
  75873. // else
  75874. 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");
  75875. case 6:
  75876. // for condition
  75877. if (!t2.moveNext$0()) {
  75878. // goto after for
  75879. $async$goto = 7;
  75880. break;
  75881. }
  75882. t4 = t2.__internal$_current;
  75883. $async$goto = 8;
  75884. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  75885. case 8:
  75886. // returning from await.
  75887. // goto for condition
  75888. $async$goto = 6;
  75889. break;
  75890. case 7:
  75891. // after for
  75892. case 3:
  75893. // join
  75894. // implicit return
  75895. return A._asyncReturn(null, $async$completer);
  75896. }
  75897. });
  75898. return A._asyncStartSync($async$call$0, $async$completer);
  75899. },
  75900. $signature: 2
  75901. };
  75902. A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
  75903. call$0() {
  75904. var $async$goto = 0,
  75905. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75906. $async$self = this, t1, t2, t3, t4;
  75907. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75908. if ($async$errorCode === 1)
  75909. return A._asyncRethrow($async$result, $async$completer);
  75910. while (true)
  75911. switch ($async$goto) {
  75912. case 0:
  75913. // Function start
  75914. 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");
  75915. case 2:
  75916. // for condition
  75917. if (!t1.moveNext$0()) {
  75918. // goto after for
  75919. $async$goto = 3;
  75920. break;
  75921. }
  75922. t4 = t1.__internal$_current;
  75923. $async$goto = 4;
  75924. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75925. case 4:
  75926. // returning from await.
  75927. // goto for condition
  75928. $async$goto = 2;
  75929. break;
  75930. case 3:
  75931. // after for
  75932. // implicit return
  75933. return A._asyncReturn(null, $async$completer);
  75934. }
  75935. });
  75936. return A._asyncStartSync($async$call$0, $async$completer);
  75937. },
  75938. $signature: 2
  75939. };
  75940. A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
  75941. call$1(node) {
  75942. return node instanceof A.ModifiableCssStyleRule;
  75943. },
  75944. $signature: 8
  75945. };
  75946. A._EvaluateVisitor__performInterpolationHelper_closure0.prototype = {
  75947. call$1(targetLocations) {
  75948. return A.InterpolationMap$(this.interpolation, targetLocations);
  75949. },
  75950. $signature: 183
  75951. };
  75952. A._EvaluateVisitor__serialize_closure0.prototype = {
  75953. call$0() {
  75954. return A.serializeValue(this.value, false, this.quote);
  75955. },
  75956. $signature: 32
  75957. };
  75958. A._EvaluateVisitor__expressionNode_closure0.prototype = {
  75959. call$0() {
  75960. var t1 = this.expression;
  75961. return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  75962. },
  75963. $signature: 184
  75964. };
  75965. A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
  75966. call$1(number) {
  75967. var before, after, t1,
  75968. _1_0 = number.asSlash;
  75969. $label0$0: {
  75970. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  75971. before = _1_0._0;
  75972. after = _1_0._1;
  75973. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  75974. break $label0$0;
  75975. }
  75976. t1 = A.serializeValue(number, true, true);
  75977. break $label0$0;
  75978. }
  75979. return t1;
  75980. },
  75981. $signature: 185
  75982. };
  75983. A._EvaluateVisitor__stackFrame_closure0.prototype = {
  75984. call$1(url) {
  75985. var t1 = this.$this._async_evaluate$_importCache;
  75986. t1 = t1 == null ? null : t1.humanize$1(url);
  75987. return t1 == null ? url : t1;
  75988. },
  75989. $signature: 51
  75990. };
  75991. A._ImportedCssVisitor0.prototype = {
  75992. visitCssAtRule$1(node) {
  75993. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
  75994. this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
  75995. },
  75996. visitCssComment$1(node) {
  75997. return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
  75998. },
  75999. visitCssDeclaration$1(node) {
  76000. },
  76001. visitCssImport$1(node) {
  76002. var t2,
  76003. _s13_ = "_endOfImports",
  76004. t1 = this._async_evaluate$_visitor;
  76005. if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
  76006. t1._async_evaluate$_addChild$1(node);
  76007. 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)) {
  76008. t1._async_evaluate$_addChild$1(node);
  76009. t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
  76010. } else {
  76011. t2 = t1._async_evaluate$_outOfOrderImports;
  76012. (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  76013. }
  76014. },
  76015. visitCssKeyframeBlock$1(node) {
  76016. },
  76017. visitCssMediaRule$1(node) {
  76018. var t1 = this._async_evaluate$_visitor,
  76019. mediaQueries = t1._async_evaluate$_mediaQueries;
  76020. t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  76021. },
  76022. visitCssStyleRule$1(node) {
  76023. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
  76024. },
  76025. visitCssStylesheet$1(node) {
  76026. var t1, t2, t3;
  76027. 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();) {
  76028. t3 = t1.__internal$_current;
  76029. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  76030. }
  76031. },
  76032. visitCssSupportsRule$1(node) {
  76033. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
  76034. }
  76035. };
  76036. A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
  76037. call$1(node) {
  76038. return node instanceof A.ModifiableCssStyleRule;
  76039. },
  76040. $signature: 8
  76041. };
  76042. A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
  76043. call$1(node) {
  76044. var t1;
  76045. if (!(node instanceof A.ModifiableCssStyleRule))
  76046. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  76047. else
  76048. t1 = true;
  76049. return t1;
  76050. },
  76051. $signature: 8
  76052. };
  76053. A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
  76054. call$1(node) {
  76055. return node instanceof A.ModifiableCssStyleRule;
  76056. },
  76057. $signature: 8
  76058. };
  76059. A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
  76060. call$1(node) {
  76061. return node instanceof A.ModifiableCssStyleRule;
  76062. },
  76063. $signature: 8
  76064. };
  76065. A._EvaluationContext0.prototype = {
  76066. get$currentCallableSpan() {
  76067. var _0_0 = this._async_evaluate$_visitor._async_evaluate$_callableNode;
  76068. if (_0_0 != null)
  76069. return _0_0.get$span(_0_0);
  76070. throw A.wrapException(A.StateError$(string$.No_Sasc));
  76071. },
  76072. warn$2(_, message, deprecation) {
  76073. var t1 = this._async_evaluate$_visitor,
  76074. t2 = t1._async_evaluate$_importSpan;
  76075. if (t2 == null) {
  76076. t2 = t1._async_evaluate$_callableNode;
  76077. t2 = t2 == null ? null : t2.get$span(t2);
  76078. }
  76079. t1._async_evaluate$_warn$3(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
  76080. },
  76081. $isEvaluationContext: 1
  76082. };
  76083. A._CloneCssVisitor.prototype = {
  76084. visitCssAtRule$1(node) {
  76085. var t1 = node.isChildless,
  76086. rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
  76087. return t1 ? rule : this._visitChildren$2(rule, node);
  76088. },
  76089. visitCssComment$1(node) {
  76090. return new A.ModifiableCssComment(node.text, node.span);
  76091. },
  76092. visitCssDeclaration$1(node) {
  76093. return A.ModifiableCssDeclaration$(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap);
  76094. },
  76095. visitCssImport$1(node) {
  76096. return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  76097. },
  76098. visitCssKeyframeBlock$1(node) {
  76099. return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
  76100. },
  76101. visitCssMediaRule$1(node) {
  76102. return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
  76103. },
  76104. visitCssStyleRule$1(node) {
  76105. var _0_0 = this._oldToNewSelectors.$index(0, node._style_rule$_selector._box$_inner.value);
  76106. if (_0_0 != null)
  76107. return this._visitChildren$2(A.ModifiableCssStyleRule$(_0_0, node.span, false, node.originalSelector), node);
  76108. else
  76109. throw A.wrapException(A.StateError$(string$.The_Ex));
  76110. },
  76111. visitCssStylesheet$1(node) {
  76112. return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
  76113. },
  76114. visitCssSupportsRule$1(node) {
  76115. return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
  76116. },
  76117. _visitChildren$1$2(newParent, oldParent) {
  76118. var t1, t2, newChild;
  76119. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  76120. t2 = t1.get$current(t1);
  76121. newChild = t2.accept$1(this);
  76122. newChild.isGroupEnd = t2.get$isGroupEnd();
  76123. newParent.addChild$1(newChild);
  76124. }
  76125. return newParent;
  76126. },
  76127. _visitChildren$2(newParent, oldParent) {
  76128. return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
  76129. }
  76130. };
  76131. A.Evaluator.prototype = {};
  76132. A._EvaluateVisitor.prototype = {
  76133. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  76134. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  76135. _s20_ = "$name, $module: null",
  76136. _s9_ = "sass:meta",
  76137. _s7_ = "$module",
  76138. t1 = type$.JSArray_BuiltInCallable,
  76139. 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),
  76140. 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);
  76141. t1 = type$.BuiltInCallable;
  76142. t2 = A.List_List$of($.$get$moduleFunctions(), true, t1);
  76143. B.JSArray_methods.addAll$1(t2, metaFunctions);
  76144. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  76145. for (t1 = A.List_List$of($.$get$coreModules(), true, type$.BuiltInModule_Callable), t1.push(metaModule), t2 = t1.length, t3 = _this._builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  76146. module = t1[_i];
  76147. t3.$indexSet(0, module.url, module);
  76148. }
  76149. t1 = type$.JSArray_Callable;
  76150. t2 = A._setArrayType([], t1);
  76151. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions());
  76152. t1 = A._setArrayType([], t1);
  76153. for (_i = 0; _i < 11; ++_i)
  76154. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  76155. B.JSArray_methods.addAll$1(t2, t1);
  76156. for (t1 = t2.length, t3 = _this._builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  76157. $function = t2[_i];
  76158. t4 = $function.get$name($function);
  76159. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  76160. }
  76161. },
  76162. run$2(_, importer, node) {
  76163. var error, stackTrace, t1, exception;
  76164. try {
  76165. t1 = type$.nullable_Object;
  76166. 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);
  76167. return t1;
  76168. } catch (exception) {
  76169. t1 = A.unwrapException(exception);
  76170. if (t1 instanceof A.SassException) {
  76171. error = t1;
  76172. stackTrace = A.getTraceFromException(exception);
  76173. A.throwWithTrace(error.withLoadedUrls$1(this._loadedUrls), error, stackTrace);
  76174. } else
  76175. throw exception;
  76176. }
  76177. },
  76178. runExpression$2(importer, expression) {
  76179. var t1 = type$.nullable_Object;
  76180. 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);
  76181. },
  76182. runStatement$2(importer, statement) {
  76183. var t1 = type$.nullable_Object;
  76184. 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);
  76185. },
  76186. _assertInModule$1$2(value, $name) {
  76187. if (value != null)
  76188. return value;
  76189. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  76190. },
  76191. _assertInModule$2(value, $name) {
  76192. return this._assertInModule$1$2(value, $name, type$.dynamic);
  76193. },
  76194. _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
  76195. var t1, _this = this,
  76196. oldImporter = _this._importer;
  76197. _this._importer = importer;
  76198. _this.__stylesheet = A.Stylesheet$(B.List_empty13, nodeWithSpan.get$span(nodeWithSpan));
  76199. try {
  76200. t1 = callback.call$0();
  76201. return t1;
  76202. } finally {
  76203. _this._importer = oldImporter;
  76204. _this.__stylesheet = null;
  76205. }
  76206. },
  76207. _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
  76208. return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
  76209. },
  76210. _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  76211. var t2, _this = this,
  76212. _0_0 = _this._builtInModules.$index(0, url),
  76213. t1 = {};
  76214. t1.builtInModule = null;
  76215. if (_0_0 != null) {
  76216. t1.builtInModule = _0_0;
  76217. if (configuration instanceof A.ExplicitConfiguration) {
  76218. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  76219. t2 = configuration.nodeWithSpan;
  76220. throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
  76221. }
  76222. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(t1, callback));
  76223. return;
  76224. }
  76225. _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  76226. },
  76227. _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  76228. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  76229. },
  76230. _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  76231. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  76232. },
  76233. _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  76234. var _0_0, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  76235. t1 = stylesheet.span,
  76236. url = t1.get$sourceUrl(t1);
  76237. t1 = _this._modules;
  76238. _0_0 = t1.$index(0, url);
  76239. if (_0_0 != null) {
  76240. t1 = configuration == null;
  76241. currentConfiguration = t1 ? _this._configuration : configuration;
  76242. t2 = _this._moduleConfigurations.$index(0, url);
  76243. t3 = t2.__originalConfiguration;
  76244. t2 = t3 == null ? t2 : t3;
  76245. t3 = currentConfiguration.__originalConfiguration;
  76246. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  76247. if (namesInErrors) {
  76248. t2 = $.$get$context();
  76249. url.toString;
  76250. message = t2.prettyUri$1(url) + string$.x20was_a;
  76251. } else
  76252. message = string$.This_mw;
  76253. t2 = _this._moduleNodes.$index(0, url);
  76254. existingSpan = t2 == null ? null : t2.get$span(t2);
  76255. if (t1) {
  76256. t1 = currentConfiguration.nodeWithSpan;
  76257. configurationSpan = t1.get$span(t1);
  76258. } else
  76259. configurationSpan = null;
  76260. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  76261. if (existingSpan != null)
  76262. t1.$indexSet(0, existingSpan, "original load");
  76263. if (configurationSpan != null)
  76264. t1.$indexSet(0, configurationSpan, "configuration");
  76265. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
  76266. }
  76267. return _0_0;
  76268. }
  76269. environment = A.Environment$();
  76270. css = A._Cell$();
  76271. preModuleComments = A._Cell$();
  76272. extensionStore = A.ExtensionStore$();
  76273. _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  76274. t2 = css._readLocal$0();
  76275. t3 = preModuleComments._readLocal$0();
  76276. module = environment.toModule$3(t2, t3 == null ? B.Map_empty0 : t3, extensionStore);
  76277. if (url != null) {
  76278. t1.$indexSet(0, url, module);
  76279. _this._moduleConfigurations.$indexSet(0, url, _this._configuration);
  76280. if (nodeWithSpan != null)
  76281. _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
  76282. }
  76283. return module;
  76284. },
  76285. _execute$2(importer, stylesheet) {
  76286. return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  76287. },
  76288. _addOutOfOrderImports$0() {
  76289. var t1, t2, _this = this, _s5_ = "_root",
  76290. _s13_ = "_endOfImports",
  76291. _0_0 = _this._outOfOrderImports;
  76292. $label0$0: {
  76293. if (_0_0 == null) {
  76294. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  76295. break $label0$0;
  76296. }
  76297. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  76298. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._assertInModule$2(_this.__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), true, type$.ModifiableCssNode);
  76299. B.JSArray_methods.addAll$1(t1, _0_0);
  76300. t2 = _this._assertInModule$2(_this.__root, _s5_).children;
  76301. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  76302. break $label0$0;
  76303. }
  76304. return t1;
  76305. },
  76306. _combineCss$2$clone(root, clone) {
  76307. var selectors, _0_0, t1, imports, css, sorted, t2;
  76308. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
  76309. selectors = root.get$extensionStore().get$simpleSelectors();
  76310. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
  76311. if (_0_0 != null)
  76312. this._throwForUnsatisfiedExtension$1(_0_0);
  76313. return root.get$css(root);
  76314. }
  76315. t1 = type$.JSArray_CssNode;
  76316. imports = A._setArrayType([], t1);
  76317. css = A._setArrayType([], t1);
  76318. t1 = type$.Module_Callable;
  76319. sorted = A.ListQueue$(t1);
  76320. new A._EvaluateVisitor__combineCss_visitModule(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  76321. if (root.get$transitivelyContainsExtensions())
  76322. this._extendModules$1(sorted);
  76323. t1 = B.JSArray_methods.$add(imports, css);
  76324. t2 = root.get$css(root);
  76325. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  76326. },
  76327. _combineCss$1(root) {
  76328. return this._combineCss$2$clone(root, false);
  76329. },
  76330. _extendModules$1(sortedModules) {
  76331. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  76332. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  76333. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  76334. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  76335. t3 = t1._collection$_current;
  76336. if (t3 == null)
  76337. t3 = t2._as(t3);
  76338. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  76339. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
  76340. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  76341. t4 = t3.get$extensionStore().get$addExtensions();
  76342. if ($self != null)
  76343. t4.call$1($self);
  76344. t4 = t3.get$extensionStore();
  76345. if (t4.get$isEmpty(t4))
  76346. continue;
  76347. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  76348. upstream = t4[_i];
  76349. _0_0 = upstream.get$url(upstream);
  76350. if (_0_0 != null)
  76351. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure0()), t3.get$extensionStore());
  76352. }
  76353. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  76354. }
  76355. if (unsatisfiedExtensions._collection$_length !== 0)
  76356. this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  76357. },
  76358. _throwForUnsatisfiedExtension$1(extension) {
  76359. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  76360. },
  76361. _indexAfterImports$1(statements) {
  76362. var t1, lastImport, i, _0_0;
  76363. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  76364. $label0$0: {
  76365. _0_0 = t1.$index(statements, i);
  76366. if (_0_0 instanceof A.ModifiableCssImport)
  76367. break $label0$0;
  76368. if (_0_0 instanceof A.ModifiableCssComment)
  76369. continue;
  76370. break;
  76371. }
  76372. lastImport = i;
  76373. }
  76374. return lastImport + 1;
  76375. },
  76376. visitStylesheet$1(_, node) {
  76377. var t1, t2, warning, _i, $name, span;
  76378. 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();) {
  76379. warning = t1.__internal$_current;
  76380. if (warning == null)
  76381. warning = t2._as(warning);
  76382. this._warn$3(warning._1, warning._2, warning._0);
  76383. }
  76384. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  76385. t1[_i].accept$1(this);
  76386. for (t1 = A.MapExtensions_get_pairs(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  76387. t2 = t1.get$current(t1);
  76388. $name = t2._0;
  76389. span = t2._1;
  76390. this.visitVariableDeclaration$1(0, new A.VariableDeclaration(null, $name, new A.NullExpression(span), true, false, span));
  76391. }
  76392. return null;
  76393. },
  76394. visitAtRootRule$1(_, node) {
  76395. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this, _null = null,
  76396. _s8_ = "__parent",
  76397. _0_0 = node.query,
  76398. 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,
  76399. $parent = _this._assertInModule$2(_this.__parent, _s8_),
  76400. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  76401. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  76402. if (!query.excludes$1($parent))
  76403. included.push($parent);
  76404. _2_0 = $parent._parent;
  76405. if (_2_0 == null)
  76406. throw A.wrapException(A.StateError$(string$.CssNod));
  76407. }
  76408. root = _this._trimIncluded$1(included);
  76409. if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
  76410. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure(_this, node), node.hasDeclarations, type$.Null);
  76411. return _null;
  76412. }
  76413. if (included.length >= 1) {
  76414. first = included[0];
  76415. rest = B.JSArray_methods.sublist$1(included, 1);
  76416. innerCopy = first.copyWithoutChildren$0();
  76417. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  76418. copy = rest[_i].copyWithoutChildren$0();
  76419. copy.addChild$1(outerCopy);
  76420. }
  76421. root.addChild$1(outerCopy);
  76422. } else
  76423. innerCopy = root;
  76424. _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node));
  76425. return _null;
  76426. },
  76427. _trimIncluded$1(nodes) {
  76428. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  76429. _s22_ = " to be an ancestor of ";
  76430. if (nodes.length === 0)
  76431. return _this._assertInModule$2(_this.__root, _s5_);
  76432. $parent = _this._assertInModule$2(_this.__parent, "__parent");
  76433. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  76434. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  76435. _0_0 = $parent._parent;
  76436. if (_0_0 == null)
  76437. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  76438. }
  76439. if (innermostContiguous == null)
  76440. innermostContiguous = i;
  76441. _1_0 = $parent._parent;
  76442. if (_1_0 == null)
  76443. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  76444. }
  76445. if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
  76446. return _this._assertInModule$2(_this.__root, _s5_);
  76447. innermostContiguous.toString;
  76448. root = nodes[innermostContiguous];
  76449. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  76450. return root;
  76451. },
  76452. _scopeForAtRoot$4(node, newParent, query, included) {
  76453. var _this = this,
  76454. scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
  76455. t1 = query._all || query._at_root_query$_rule;
  76456. if (t1 !== query.include)
  76457. scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
  76458. if (_this._mediaQueries != null && query.excludesName$1("media"))
  76459. scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
  76460. if (_this._inKeyframes && query.excludesName$1("keyframes"))
  76461. scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
  76462. return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
  76463. },
  76464. visitContentBlock$1(_, node) {
  76465. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  76466. },
  76467. visitContentRule$1(_, node) {
  76468. var $content = this._environment._content;
  76469. if ($content == null)
  76470. return null;
  76471. this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
  76472. return null;
  76473. },
  76474. visitDebugRule$1(_, node) {
  76475. var value = node.expression.accept$1(this),
  76476. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  76477. this._logger.debug$2(0, t1, node.span);
  76478. return null;
  76479. },
  76480. visitDeclaration$1(_, node) {
  76481. var siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName, _this = this, _null = null,
  76482. _s8_ = "__parent";
  76483. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
  76484. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
  76485. if (_this._declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  76486. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarw, node.span));
  76487. siblings = _this._assertInModule$2(_this.__parent, _s8_)._parent.children;
  76488. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule);
  76489. if (siblings.get$last(siblings) !== _this._assertInModule$2(_this.__parent, _s8_))
  76490. t1 = !(_this._quietDeps && _this._inDependency);
  76491. else
  76492. t1 = false;
  76493. if (t1)
  76494. 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();) {
  76495. t6 = t1.__internal$_current;
  76496. rule = t6 == null ? t2._as(t6) : t6;
  76497. $label0$1: {
  76498. if (rule instanceof A.ModifiableCssComment)
  76499. continue;
  76500. t6 = rule instanceof A.ModifiableCssStyleRule;
  76501. rule0 = t6 ? rule : _null;
  76502. if (t6) {
  76503. interleavedRules.push(rule0);
  76504. break $label0$1;
  76505. }
  76506. _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);
  76507. B.JSArray_methods.clear$0(interleavedRules);
  76508. break $label0$1;
  76509. }
  76510. }
  76511. t1 = node.name;
  76512. $name = _this._interpolationToValue$2$warnForColor(t1, true);
  76513. _1_0 = _this._declarationName;
  76514. if (_1_0 != null)
  76515. $name = new A.CssValue(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  76516. _2_0 = node.value;
  76517. if (_2_0 != null) {
  76518. value = _2_0.accept$1(_this);
  76519. if (!value.get$isBlank() || value.get$asList().length === 0) {
  76520. t2 = _this._assertInModule$2(_this.__parent, _s8_);
  76521. t3 = _2_0.get$span(_2_0);
  76522. t4 = node.span;
  76523. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  76524. t5 = interleavedRules.length === 0 ? _null : _this._evaluate$_stackTrace$1(t4);
  76525. if (_this._sourceMap) {
  76526. t6 = A.NullableExtension_andThen(_2_0, _this.get$_expressionNode());
  76527. t6 = t6 == null ? _null : J.get$span$z(t6);
  76528. } else
  76529. t6 = _null;
  76530. t2.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t3, type$.CssValue_Value), t4, interleavedRules, t1, t5, t6));
  76531. } else if (J.startsWith$1$s($name.value, "--"))
  76532. throw A.wrapException(_this._evaluate$_exception$2("Custom property values may not be empty.", _2_0.get$span(_2_0)));
  76533. }
  76534. _3_0 = node.children;
  76535. t1 = {};
  76536. t1.children = null;
  76537. if (_3_0 != null) {
  76538. t1.children = _3_0;
  76539. oldDeclarationName = _this._declarationName;
  76540. _this._declarationName = $name.value;
  76541. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure(t1, _this), node.hasDeclarations, type$.Null);
  76542. _this._declarationName = oldDeclarationName;
  76543. }
  76544. return _null;
  76545. },
  76546. visitEachRule$1(_, node) {
  76547. var _this = this,
  76548. t1 = node.list,
  76549. list = t1.accept$1(_this),
  76550. nodeWithSpan = _this._expressionNode$1(t1),
  76551. _0_0 = node.variables;
  76552. $label0$0: {
  76553. t1 = {};
  76554. t1.variable = null;
  76555. if (_0_0.length === 1) {
  76556. t1.variable = _0_0[0];
  76557. t1 = new A._EvaluateVisitor_visitEachRule_closure(t1, _this, nodeWithSpan);
  76558. break $label0$0;
  76559. }
  76560. t1 = {};
  76561. t1.variables = null;
  76562. t1.variables = _0_0;
  76563. t1 = new A._EvaluateVisitor_visitEachRule_closure0(t1, _this, nodeWithSpan);
  76564. break $label0$0;
  76565. }
  76566. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, t1, node), true, type$.nullable_Value);
  76567. },
  76568. _setMultipleVariables$3(variables, value, nodeWithSpan) {
  76569. var i,
  76570. list = value.get$asList(),
  76571. t1 = variables.length,
  76572. minLength = Math.min(t1, list.length);
  76573. for (i = 0; i < minLength; ++i)
  76574. this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  76575. for (i = minLength; i < t1; ++i)
  76576. this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  76577. },
  76578. visitErrorRule$1(_, node) {
  76579. throw A.wrapException(this._evaluate$_exception$2(node.expression.accept$1(this).toString$0(0), node.span));
  76580. },
  76581. visitExtendRule$1(_, node) {
  76582. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, _this = this, _null = null,
  76583. styleRule = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  76584. if (styleRule == null || _this._declarationName != null)
  76585. throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
  76586. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  76587. complex = t1[_i];
  76588. if (!complex.accept$1(B._IsBogusVisitor_true))
  76589. continue;
  76590. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  76591. complex.accept$1(visitor);
  76592. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  76593. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  76594. _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);
  76595. }
  76596. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.selector, true);
  76597. 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) {
  76598. complex = t1[_i];
  76599. compound = complex.get$singleCompound();
  76600. if (compound == null)
  76601. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, _null));
  76602. t4 = compound.components;
  76603. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  76604. if (t5 == null)
  76605. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  76606. _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._mediaQueries);
  76607. }
  76608. return _null;
  76609. },
  76610. visitAtRule$1(_, node) {
  76611. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  76612. if (_this._declarationName != null)
  76613. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  76614. $name = _this._interpolationToValue$1(node.name);
  76615. value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
  76616. children = node.children;
  76617. if (children == null) {
  76618. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  76619. return null;
  76620. }
  76621. wasInKeyframes = _this._inKeyframes;
  76622. wasInUnknownAtRule = _this._inUnknownAtRule;
  76623. if (A.unvendor($name.value) === "keyframes")
  76624. _this._inKeyframes = true;
  76625. else
  76626. _this._inUnknownAtRule = true;
  76627. _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);
  76628. _this._inUnknownAtRule = wasInUnknownAtRule;
  76629. _this._inKeyframes = wasInKeyframes;
  76630. return null;
  76631. },
  76632. visitForRule$1(_, node) {
  76633. var _this = this, t1 = {},
  76634. t2 = node.from,
  76635. fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
  76636. t3 = node.to,
  76637. toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
  76638. from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
  76639. to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
  76640. direction = from > to ? -1 : 1;
  76641. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  76642. return null;
  76643. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
  76644. },
  76645. visitForwardRule$1(_, node) {
  76646. var newConfiguration, t4, _i, variable, $name, _this = this,
  76647. _s8_ = "@forward",
  76648. oldConfiguration = _this._configuration,
  76649. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  76650. t1 = node.configuration,
  76651. t2 = t1.length,
  76652. t3 = node.url;
  76653. if (t2 !== 0) {
  76654. newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
  76655. _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
  76656. t3 = type$.String;
  76657. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  76658. for (_i = 0; _i < t2; ++_i) {
  76659. variable = t1[_i];
  76660. if (!variable.isGuarded)
  76661. t4.add$1(0, variable.name);
  76662. }
  76663. _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  76664. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  76665. for (_i = 0; _i < t2; ++_i)
  76666. t3.add$1(0, t1[_i].name);
  76667. for (t1 = newConfiguration._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  76668. $name = t2[_i];
  76669. if (!t3.contains$1(0, $name))
  76670. if (!t1.get$isEmpty(t1))
  76671. t1.remove$1(0, $name);
  76672. }
  76673. _this._assertConfigurationIsEmpty$1(newConfiguration);
  76674. } else {
  76675. _this._configuration = adjustedConfiguration;
  76676. _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
  76677. _this._configuration = oldConfiguration;
  76678. }
  76679. return null;
  76680. },
  76681. _addForwardConfiguration$2(configuration, node) {
  76682. var t2, t3, _i, variable, t4, _0_0, t5, oldValue, variableNodeWithSpan, _null = null,
  76683. t1 = configuration._configuration$_values,
  76684. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  76685. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  76686. variable = t2[_i];
  76687. if (variable.isGuarded) {
  76688. t4 = variable.name;
  76689. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  76690. if (_0_0 != null) {
  76691. t5 = !_0_0.value.$eq(0, B.C__SassNull);
  76692. oldValue = _0_0;
  76693. } else {
  76694. oldValue = _null;
  76695. t5 = false;
  76696. }
  76697. if (t5) {
  76698. newValues.$indexSet(0, t4, oldValue);
  76699. continue;
  76700. }
  76701. }
  76702. t4 = variable.expression;
  76703. variableNodeWithSpan = this._expressionNode$1(t4);
  76704. newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  76705. }
  76706. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
  76707. return new A.ExplicitConfiguration(node, newValues, _null);
  76708. else
  76709. return new A.Configuration(newValues, _null);
  76710. },
  76711. _registerCommentsForModule$1(module) {
  76712. var _this = this, _s5_ = "_root",
  76713. t1 = _this.__root;
  76714. if (t1 == null)
  76715. return;
  76716. if (_this._assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  76717. return;
  76718. t1 = _this._preModuleComments;
  76719. if (t1 == null)
  76720. t1 = _this._preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.List_CssComment);
  76721. 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));
  76722. _this._assertInModule$2(_this.__root, _s5_).clearChildren$0();
  76723. _this.__endOfImports = 0;
  76724. },
  76725. _removeUsedConfiguration$3$except(upstream, downstream, except) {
  76726. var t1, t2, t3, t4, _i, $name;
  76727. for (t1 = upstream._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._configuration$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  76728. $name = t2[_i];
  76729. if (except.contains$1(0, $name))
  76730. continue;
  76731. if (!t4.containsKey$1($name))
  76732. if (!t1.get$isEmpty(t1))
  76733. t1.remove$1(0, $name);
  76734. }
  76735. },
  76736. _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  76737. var t1, _0_0, $name, value;
  76738. if (!(configuration instanceof A.ExplicitConfiguration))
  76739. return;
  76740. t1 = configuration._configuration$_values;
  76741. if (t1.get$isEmpty(t1))
  76742. return;
  76743. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  76744. _0_0 = t1.get$first(t1);
  76745. $name = _0_0._0;
  76746. value = _0_0._1;
  76747. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  76748. throw A.wrapException(this._evaluate$_exception$2(t1, value.configurationSpan));
  76749. },
  76750. _assertConfigurationIsEmpty$1(configuration) {
  76751. return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
  76752. },
  76753. visitFunctionRule$1(_, node) {
  76754. var t1 = this._environment,
  76755. t2 = t1.closure$0(),
  76756. t3 = this._inDependency,
  76757. t4 = t1._functions,
  76758. index = t4.length - 1,
  76759. t5 = node.name;
  76760. t1._functionIndices.$indexSet(0, t5, index);
  76761. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  76762. return null;
  76763. },
  76764. visitIfRule$1(_, node) {
  76765. var t1, t2, _i, clauseToCheck,
  76766. clause = node.lastClause;
  76767. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  76768. clauseToCheck = t1[_i];
  76769. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  76770. clause = clauseToCheck;
  76771. break;
  76772. }
  76773. }
  76774. return A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure(this));
  76775. },
  76776. visitImportRule$1(_, node) {
  76777. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  76778. _s8_ = "__parent",
  76779. _s5_ = "_root",
  76780. _s13_ = "_endOfImports";
  76781. 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) {
  76782. $import = t1[_i];
  76783. if ($import instanceof A.DynamicImport)
  76784. _this._visitDynamicImport$1($import);
  76785. else {
  76786. t5._as($import);
  76787. t7 = $import.url;
  76788. _0_0 = _this._performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  76789. $self = $import.modifiers;
  76790. t8 = $self == null ? null : t4.call$1($self);
  76791. node = new A.ModifiableCssImport(new A.CssValue(_0_0._0, t7.span, t3), t8, $import.span);
  76792. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  76793. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
  76794. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  76795. t7 = _this._assertInModule$2(_this.__root, _s5_);
  76796. node._parent = t7;
  76797. t7 = t7._children;
  76798. node._indexInParent = t7.length;
  76799. t7.push(node);
  76800. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  76801. } else {
  76802. t7 = _this._outOfOrderImports;
  76803. (t7 == null ? _this._outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  76804. }
  76805. }
  76806. }
  76807. return null;
  76808. },
  76809. _visitDynamicImport$1($import) {
  76810. return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
  76811. },
  76812. _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  76813. var _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  76814. baseUrl = baseUrl;
  76815. try {
  76816. _this._importSpan = span;
  76817. _0_0 = _this._evaluate$_importCache;
  76818. importCache = null;
  76819. if (_0_0 != null) {
  76820. importCache = _0_0;
  76821. if (baseUrl == null) {
  76822. t1 = _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span;
  76823. baseUrl = t1.get$sourceUrl(t1);
  76824. }
  76825. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
  76826. importer = null;
  76827. canonicalUrl = null;
  76828. originalUrl = null;
  76829. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  76830. importer = _1_0._0;
  76831. canonicalUrl = _1_0._1;
  76832. originalUrl = _1_0._2;
  76833. if (canonicalUrl.get$scheme() === "")
  76834. A.WarnForDeprecation_warnForDeprecation(_this._logger, B.Deprecation_746, "Importer " + A.S(importer) + " canonicalized " + url + " to " + A.S(canonicalUrl) + string$.x2e_Rela, null, null);
  76835. _this._loadedUrls.add$1(0, canonicalUrl);
  76836. isDependency = _this._inDependency || !J.$eq$(importer, _this._importer);
  76837. _2_0 = importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl);
  76838. stylesheet = null;
  76839. if (_2_0 != null) {
  76840. stylesheet = _2_0;
  76841. t1 = stylesheet;
  76842. t2 = importer;
  76843. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  76844. }
  76845. }
  76846. }
  76847. t1 = B.JSString_methods.startsWith$1(url, "package:");
  76848. if (t1)
  76849. throw A.wrapException(string$.x22packa);
  76850. else
  76851. throw A.wrapException("Can't find stylesheet to import.");
  76852. } catch (exception) {
  76853. t1 = A.unwrapException(exception);
  76854. if (t1 instanceof A.SassException)
  76855. throw exception;
  76856. else if (t1 instanceof A.ArgumentError) {
  76857. error = t1;
  76858. stackTrace = A.getTraceFromException(exception);
  76859. A.throwWithTrace(_this._evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  76860. } else {
  76861. error0 = t1;
  76862. stackTrace0 = A.getTraceFromException(exception);
  76863. A.throwWithTrace(_this._evaluate$_exception$1(_this._getErrorMessage$1(error0)), error0, stackTrace0);
  76864. }
  76865. } finally {
  76866. _this._importSpan = null;
  76867. }
  76868. },
  76869. _loadStylesheet$3$baseUrl(url, span, baseUrl) {
  76870. return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  76871. },
  76872. _loadStylesheet$3$forImport(url, span, forImport) {
  76873. return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  76874. },
  76875. _applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  76876. var t1, _0_0, t2, _1_8, _this = this,
  76877. _s37_ = "Mixin doesn't accept a content block.",
  76878. _s10_ = "invocation";
  76879. $label0$0: {
  76880. if (mixin == null)
  76881. throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  76882. t1 = mixin instanceof A.BuiltInCallable;
  76883. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  76884. t1 = _this._evaluateArguments$1($arguments)._values;
  76885. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  76886. 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));
  76887. }
  76888. if (t1) {
  76889. _this._environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  76890. break $label0$0;
  76891. }
  76892. t1 = type$.UserDefinedCallable_Environment._is(mixin);
  76893. t2 = false;
  76894. if (t1) {
  76895. _1_8 = mixin.declaration;
  76896. if (_1_8 instanceof A.MixinRule)
  76897. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  76898. }
  76899. if (t2)
  76900. 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));
  76901. if (t1) {
  76902. _this._runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure0(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  76903. break $label0$0;
  76904. }
  76905. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  76906. }
  76907. },
  76908. visitIncludeRule$1(_, node) {
  76909. var _this = this,
  76910. mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
  76911. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  76912. _this._warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_Kg6);
  76913. _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)));
  76914. return null;
  76915. },
  76916. visitMixinRule$1(_, node) {
  76917. var t1 = this._environment,
  76918. t2 = t1.closure$0(),
  76919. t3 = this._inDependency,
  76920. t4 = t1._mixins,
  76921. index = t4.length - 1,
  76922. t5 = node.name;
  76923. t1._mixinIndices.$indexSet(0, t5, index);
  76924. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  76925. return null;
  76926. },
  76927. visitLoudComment$1(_, node) {
  76928. var t1, text, _this = this,
  76929. _s8_ = "__parent",
  76930. _s13_ = "_endOfImports";
  76931. if (_this._inFunction)
  76932. return null;
  76933. 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))
  76934. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  76935. t1 = node.text;
  76936. text = _this._performInterpolation$1(t1);
  76937. if (!B.JSString_methods.endsWith$1(text, "*/"))
  76938. text += " */";
  76939. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(text, t1.span));
  76940. return null;
  76941. },
  76942. visitMediaRule$1(_, node) {
  76943. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  76944. if (_this._declarationName != null)
  76945. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  76946. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.query, true);
  76947. queries = new A.MediaQueryParser(A.SpanScanner$(_0_0._0, null), _0_0._1).parse$0(0);
  76948. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
  76949. t1 = mergedQueries == null;
  76950. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  76951. return null;
  76952. if (t1)
  76953. mergedSources = B.Set_empty1;
  76954. else {
  76955. t2 = _this._mediaQuerySources;
  76956. t2.toString;
  76957. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  76958. t3 = _this._mediaQueries;
  76959. t3.toString;
  76960. t2.addAll$1(0, t3);
  76961. t2.addAll$1(0, queries);
  76962. mergedSources = t2;
  76963. }
  76964. t1 = t1 ? queries : mergedQueries;
  76965. _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);
  76966. return null;
  76967. },
  76968. _mergeMediaQueries$2(queries1, queries2) {
  76969. var t1, t2, t3, t4, _0_0, t5, result,
  76970. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  76971. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  76972. t3 = t1.get$current(t1);
  76973. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  76974. _0_0 = t3.merge$1(t4.get$current(t4));
  76975. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  76976. continue;
  76977. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  76978. return null;
  76979. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult;
  76980. result = t5 ? _0_0 : null;
  76981. if (t5)
  76982. queries.push(result.query);
  76983. }
  76984. }
  76985. return queries;
  76986. },
  76987. visitReturnRule$1(_, node) {
  76988. var t1 = node.expression;
  76989. return this._withoutSlash$2(t1.accept$1(this), t1);
  76990. },
  76991. visitSilentComment$1(_, node) {
  76992. return null;
  76993. },
  76994. visitStyleRule$1(_, node) {
  76995. var t1, _0_0, selectorText, selectorMap, parsedSelector, nest, t2, _i, _1_0, first, t3, rule, oldAtRootExcludingStyleRule, _this = this, _null = null,
  76996. _s8_ = "__parent",
  76997. _s11_ = "_stylesheet";
  76998. if (_this._declarationName != null)
  76999. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_n, node.span));
  77000. else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
  77001. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_k, node.span));
  77002. t1 = node.selector;
  77003. _0_0 = _this._performInterpolationWithMap$2$warnForColor(t1, true);
  77004. selectorText = _0_0._0;
  77005. selectorMap = _0_0._1;
  77006. if (_this._inKeyframes) {
  77007. _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);
  77008. return _null;
  77009. }
  77010. parsedSelector = A.SelectorList_SelectorList$parse(selectorText, true, selectorMap, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss);
  77011. t1 = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  77012. t1 = t1 == null ? _null : t1.fromPlainCss;
  77013. nest = t1 !== true;
  77014. if (nest) {
  77015. if (_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss)
  77016. for (t1 = parsedSelector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  77017. _1_0 = t1[_i].leadingCombinators;
  77018. if (_1_0.length >= 1) {
  77019. first = _1_0[0];
  77020. t3 = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss;
  77021. } else {
  77022. first = _null;
  77023. t3 = false;
  77024. }
  77025. if (t3)
  77026. throw A.wrapException(_this._evaluate$_exception$2(string$.Top_lel, first.span));
  77027. }
  77028. t1 = _this._styleRuleIgnoringAtRoot;
  77029. t1 = t1 == null ? _null : t1.originalSelector;
  77030. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t1, !_this._atRootExcludingStyleRule, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss);
  77031. }
  77032. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._mediaQueries), node.span, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss, parsedSelector);
  77033. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  77034. t1 = _this._atRootExcludingStyleRule = false;
  77035. t2 = nest ? new A._EvaluateVisitor_visitStyleRule_closure1() : _null;
  77036. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure2(_this, rule, node), node.hasDeclarations, t2, type$.ModifiableCssStyleRule, type$.Null);
  77037. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  77038. _this._warnForBogusCombinators$1(rule);
  77039. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null) {
  77040. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  77041. t1 = !t1.get$isEmpty(t1);
  77042. }
  77043. if (t1) {
  77044. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  77045. t1.get$last(t1).isGroupEnd = true;
  77046. }
  77047. return _null;
  77048. },
  77049. _warnForBogusCombinators$1(rule) {
  77050. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  77051. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  77052. 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) {
  77053. complex = t1[_i];
  77054. if (!complex.accept$1(B._IsBogusVisitor_true))
  77055. continue;
  77056. if (complex.accept$1(B.C__IsUselessVisitor)) {
  77057. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77058. complex.accept$1(visitor);
  77059. _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);
  77060. } else if (complex.leadingCombinators.length !== 0) {
  77061. if (!_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  77062. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77063. complex.accept$1(visitor);
  77064. _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);
  77065. }
  77066. } else {
  77067. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77068. complex.accept$1(visitor);
  77069. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  77070. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  77071. t8 = A.SpanExtensions_trimRight(complex.span);
  77072. if (t5.get$length(0) === 0)
  77073. A.throwExpression(A.IterableElementError_noElement());
  77074. t9 = J.get$span$z(t5.$index(0, 0));
  77075. _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);
  77076. }
  77077. }
  77078. },
  77079. visitSupportsRule$1(_, node) {
  77080. var t1, _this = this;
  77081. if (_this._declarationName != null)
  77082. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  77083. t1 = node.condition;
  77084. _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);
  77085. return null;
  77086. },
  77087. _visitSupportsCondition$1(condition) {
  77088. var t1, _this = this;
  77089. $label0$0: {
  77090. if (condition instanceof A.SupportsOperation) {
  77091. t1 = condition.operator;
  77092. t1 = _this._evaluate$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate$_parenthesize$2(condition.right, t1);
  77093. break $label0$0;
  77094. }
  77095. if (condition instanceof A.SupportsNegation) {
  77096. t1 = "not " + _this._evaluate$_parenthesize$1(condition.condition);
  77097. break $label0$0;
  77098. }
  77099. if (condition instanceof A.SupportsInterpolation) {
  77100. t1 = condition.expression;
  77101. t1 = _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
  77102. break $label0$0;
  77103. }
  77104. t1 = {};
  77105. t1.declaration = null;
  77106. if (condition instanceof A.SupportsDeclaration) {
  77107. t1.declaration = condition;
  77108. t1 = _this._withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure(t1, _this));
  77109. break $label0$0;
  77110. }
  77111. if (condition instanceof A.SupportsFunction) {
  77112. t1 = _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
  77113. break $label0$0;
  77114. }
  77115. if (condition instanceof A.SupportsAnything) {
  77116. t1 = "(" + _this._performInterpolation$1(condition.contents) + ")";
  77117. break $label0$0;
  77118. }
  77119. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  77120. }
  77121. return t1;
  77122. },
  77123. _withSupportsDeclaration$1$1(callback) {
  77124. var t1,
  77125. oldInSupportsDeclaration = this._inSupportsDeclaration;
  77126. this._inSupportsDeclaration = true;
  77127. try {
  77128. t1 = callback.call$0();
  77129. return t1;
  77130. } finally {
  77131. this._inSupportsDeclaration = oldInSupportsDeclaration;
  77132. }
  77133. },
  77134. _withSupportsDeclaration$1(callback) {
  77135. return this._withSupportsDeclaration$1$1(callback, type$.dynamic);
  77136. },
  77137. _evaluate$_parenthesize$2(condition, operator) {
  77138. var t1;
  77139. if (!(condition instanceof A.SupportsNegation))
  77140. if (condition instanceof A.SupportsOperation)
  77141. t1 = operator == null || operator !== condition.operator;
  77142. else
  77143. t1 = false;
  77144. else
  77145. t1 = true;
  77146. if (t1)
  77147. return "(" + this._visitSupportsCondition$1(condition) + ")";
  77148. return this._visitSupportsCondition$1(condition);
  77149. },
  77150. _evaluate$_parenthesize$1(condition) {
  77151. return this._evaluate$_parenthesize$2(condition, null);
  77152. },
  77153. visitVariableDeclaration$1(_, node) {
  77154. var t1, _0_0, t2, value, _this = this, _null = null;
  77155. if (node.isGuarded) {
  77156. if (node.namespace == null && _this._environment._variables.length === 1) {
  77157. t1 = _this._configuration._configuration$_values;
  77158. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
  77159. t1 = {};
  77160. t1.override = null;
  77161. if (_0_0 != null) {
  77162. t1.override = _0_0;
  77163. t2 = !_0_0.value.$eq(0, B.C__SassNull);
  77164. } else
  77165. t2 = false;
  77166. if (t2) {
  77167. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(t1, _this, node));
  77168. return _null;
  77169. }
  77170. }
  77171. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
  77172. if (value != null && !value.$eq(0, B.C__SassNull))
  77173. return _null;
  77174. }
  77175. if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
  77176. t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
  77177. _this._warn$3(t1, node.span, B.Deprecation_Rg0);
  77178. }
  77179. t1 = node.expression;
  77180. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
  77181. return _null;
  77182. },
  77183. visitUseRule$1(_, node) {
  77184. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  77185. t1 = node.configuration,
  77186. t2 = t1.length;
  77187. if (t2 !== 0) {
  77188. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  77189. for (_i = 0; _i < t2; ++_i) {
  77190. variable = t1[_i];
  77191. t3 = variable.expression;
  77192. variableNodeWithSpan = _this._expressionNode$1(t3);
  77193. values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  77194. }
  77195. configuration = new A.ExplicitConfiguration(node, values, null);
  77196. } else
  77197. configuration = B.Configuration_Map_empty_null;
  77198. _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
  77199. _this._assertConfigurationIsEmpty$1(configuration);
  77200. return null;
  77201. },
  77202. visitWarnRule$1(_, node) {
  77203. var _this = this,
  77204. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
  77205. t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression),
  77206. t2 = _this._evaluate$_stackTrace$1(node.span);
  77207. _this._logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  77208. return null;
  77209. },
  77210. visitWhileRule$1(_, node) {
  77211. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
  77212. },
  77213. visitBinaryOperationExpression$1(_, node) {
  77214. var t1, _this = this;
  77215. if (_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  77216. t1 = node.operator;
  77217. t1 = t1 !== B.BinaryOperator_Kyq && t1 !== B.BinaryOperator_Mh5;
  77218. } else
  77219. t1 = false;
  77220. if (t1)
  77221. throw A.wrapException(_this._evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  77222. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(_this, node));
  77223. },
  77224. _slash$3(left, right, node) {
  77225. var t2, _1_1,
  77226. result = left.dividedBy$1(right),
  77227. _1_2_isSet = left instanceof A.SassNumber,
  77228. _1_2 = null, right0 = null,
  77229. t1 = false;
  77230. if (_1_2_isSet) {
  77231. t2 = type$.SassNumber;
  77232. t2._as(left);
  77233. if (right instanceof A.SassNumber) {
  77234. t2._as(right);
  77235. t1 = node.allowsSlash && this._operandAllowsSlash$1(node.left) && this._operandAllowsSlash$1(node.right);
  77236. right0 = right;
  77237. _1_2 = right0;
  77238. } else
  77239. _1_2 = right;
  77240. _1_1 = left;
  77241. } else {
  77242. _1_1 = left;
  77243. left = null;
  77244. }
  77245. if (t1)
  77246. return type$.SassNumber._as(result).withSlash$2(left, right0);
  77247. if (_1_1 instanceof A.SassNumber)
  77248. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  77249. else
  77250. t1 = false;
  77251. if (t1) {
  77252. 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);
  77253. return result;
  77254. }
  77255. return result;
  77256. },
  77257. _operandAllowsSlash$1(node) {
  77258. var t1;
  77259. if (node instanceof A.FunctionExpression)
  77260. if (node.namespace == null) {
  77261. t1 = node.name;
  77262. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._environment.getFunction$1(t1) == null;
  77263. } else
  77264. t1 = false;
  77265. else
  77266. t1 = true;
  77267. return t1;
  77268. },
  77269. visitValueExpression$1(_, node) {
  77270. return node.value;
  77271. },
  77272. visitVariableExpression$1(_, node) {
  77273. var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
  77274. if (result != null)
  77275. return result;
  77276. throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
  77277. },
  77278. visitUnaryOperationExpression$1(_, node) {
  77279. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
  77280. },
  77281. visitBooleanExpression$1(_, node) {
  77282. return node.value ? B.SassBoolean_true : B.SassBoolean_false;
  77283. },
  77284. visitIfExpression$1(_, node) {
  77285. var condition, t1, ifTrue, ifFalse, result, _this = this,
  77286. _0_0 = _this._evaluateMacroArguments$1(node),
  77287. positional = _0_0._0,
  77288. named = _0_0._1;
  77289. _this._verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration(), node);
  77290. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  77291. if (condition == null) {
  77292. t1 = named.$index(0, "condition");
  77293. t1.toString;
  77294. condition = t1;
  77295. }
  77296. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  77297. if (ifTrue == null) {
  77298. t1 = named.$index(0, "if-true");
  77299. t1.toString;
  77300. ifTrue = t1;
  77301. }
  77302. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  77303. if (ifFalse == null) {
  77304. t1 = named.$index(0, "if-false");
  77305. t1.toString;
  77306. ifFalse = t1;
  77307. }
  77308. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  77309. return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
  77310. },
  77311. visitNullExpression$1(_, node) {
  77312. return B.C__SassNull;
  77313. },
  77314. visitNumberExpression$1(_, node) {
  77315. return A.SassNumber_SassNumber(node.value, node.unit);
  77316. },
  77317. visitParenthesizedExpression$1(_, node) {
  77318. var _this = this;
  77319. 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);
  77320. },
  77321. visitColorExpression$1(_, node) {
  77322. return node.value;
  77323. },
  77324. visitListExpression$1(_, node) {
  77325. var t1 = node.contents;
  77326. 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);
  77327. },
  77328. visitMapExpression$1(_, node) {
  77329. var t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan,
  77330. t1 = type$.Value,
  77331. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  77332. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  77333. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  77334. t4 = t2[_i];
  77335. key = t4._0;
  77336. keyValue = key.accept$1(this);
  77337. valueValue = t4._1.accept$1(this);
  77338. if (map.containsKey$1(keyValue)) {
  77339. t1 = keyNodes.$index(0, keyValue);
  77340. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  77341. t1 = key.get$span(key);
  77342. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  77343. if (oldValueSpan != null)
  77344. t2.$indexSet(0, oldValueSpan, "first key");
  77345. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, this._evaluate$_stackTrace$1(key.get$span(key)), null));
  77346. }
  77347. map.$indexSet(0, keyValue, valueValue);
  77348. keyNodes.$indexSet(0, keyValue, key);
  77349. }
  77350. return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  77351. },
  77352. visitFunctionExpression$1(_, node) {
  77353. var t2, _0_0, t3, t4, $name, oldInFunction, result, _this = this,
  77354. _s11_ = "_stylesheet",
  77355. t1 = {},
  77356. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
  77357. t1.$function = $function;
  77358. if ($function == null) {
  77359. if (node.namespace != null)
  77360. throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
  77361. t2 = node.name;
  77362. _0_0 = t2.toLowerCase();
  77363. t3 = false;
  77364. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  77365. t3 = node.$arguments;
  77366. t4 = t3.named;
  77367. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure0());
  77368. $name = _0_0;
  77369. } else
  77370. $name = null;
  77371. if (t3)
  77372. return _this._visitCalculation$2$inLegacySassFunction(node, $name);
  77373. 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)
  77374. return _this._visitCalculation$1(node);
  77375. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._builtInFunctions.$index(0, t2);
  77376. t2 = t1.$function = $function == null ? new A.PlainCssCallable(node.originalName) : $function;
  77377. } else
  77378. t2 = $function;
  77379. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  77380. _this._warn$3(string$.Sassx20_ff, node.get$nameSpan(), B.Deprecation_Kg6);
  77381. oldInFunction = _this._inFunction;
  77382. _this._inFunction = true;
  77383. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1(t1, _this, node));
  77384. _this._inFunction = oldInFunction;
  77385. return result;
  77386. },
  77387. _visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  77388. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  77389. t2 = node.$arguments,
  77390. t3 = t2.named;
  77391. if (t3.get$isNotEmpty(t3))
  77392. throw A.wrapException(_this._evaluate$_exception$2(string$.Keywor, node.span));
  77393. else if (t2.rest != null)
  77394. throw A.wrapException(_this._evaluate$_exception$2(string$.Rest_a, node.span));
  77395. _this._checkCalculationArguments$1(node);
  77396. t3 = A._setArrayType([], type$.JSArray_Object);
  77397. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  77398. t3.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  77399. $arguments = t3;
  77400. if (_this._inSupportsDeclaration)
  77401. return new A.SassCalculation(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  77402. oldCallableNode = _this._callableNode;
  77403. _this._callableNode = node;
  77404. try {
  77405. t1 = null;
  77406. t3 = node.name;
  77407. _0_0 = t3.toLowerCase();
  77408. $label0$0: {
  77409. if ("calc" === _0_0) {
  77410. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  77411. break $label0$0;
  77412. }
  77413. if ("sqrt" === _0_0) {
  77414. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  77415. break $label0$0;
  77416. }
  77417. if ("sin" === _0_0) {
  77418. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  77419. break $label0$0;
  77420. }
  77421. if ("cos" === _0_0) {
  77422. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  77423. break $label0$0;
  77424. }
  77425. if ("tan" === _0_0) {
  77426. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  77427. break $label0$0;
  77428. }
  77429. if ("asin" === _0_0) {
  77430. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  77431. break $label0$0;
  77432. }
  77433. if ("acos" === _0_0) {
  77434. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  77435. break $label0$0;
  77436. }
  77437. if ("atan" === _0_0) {
  77438. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  77439. break $label0$0;
  77440. }
  77441. if ("abs" === _0_0) {
  77442. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  77443. break $label0$0;
  77444. }
  77445. if ("exp" === _0_0) {
  77446. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  77447. break $label0$0;
  77448. }
  77449. if ("sign" === _0_0) {
  77450. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  77451. break $label0$0;
  77452. }
  77453. if ("min" === _0_0) {
  77454. t1 = A.SassCalculation_min($arguments);
  77455. break $label0$0;
  77456. }
  77457. if ("max" === _0_0) {
  77458. t1 = A.SassCalculation_max($arguments);
  77459. break $label0$0;
  77460. }
  77461. if ("hypot" === _0_0) {
  77462. t1 = A.SassCalculation_hypot($arguments);
  77463. break $label0$0;
  77464. }
  77465. if ("pow" === _0_0) {
  77466. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77467. break $label0$0;
  77468. }
  77469. if ("atan2" === _0_0) {
  77470. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77471. break $label0$0;
  77472. }
  77473. if ("log" === _0_0) {
  77474. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77475. break $label0$0;
  77476. }
  77477. if ("mod" === _0_0) {
  77478. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77479. break $label0$0;
  77480. }
  77481. if ("rem" === _0_0) {
  77482. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77483. break $label0$0;
  77484. }
  77485. if ("round" === _0_0) {
  77486. 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));
  77487. break $label0$0;
  77488. }
  77489. if ("clamp" === _0_0) {
  77490. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  77491. break $label0$0;
  77492. }
  77493. if ("calc-size" === _0_0) {
  77494. t1 = A.SassCalculation_calcSize(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77495. break $label0$0;
  77496. }
  77497. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  77498. t1 = A.throwExpression(t3);
  77499. }
  77500. t1 = t1;
  77501. return t1;
  77502. } catch (exception) {
  77503. t1 = A.unwrapException(exception);
  77504. if (t1 instanceof A.SassScriptException) {
  77505. error = t1;
  77506. stackTrace = A.getTraceFromException(exception);
  77507. if (B.JSString_methods.contains$1(error.message, "compatible"))
  77508. _this._verifyCompatibleNumbers$2($arguments, t2);
  77509. A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), error, stackTrace);
  77510. } else
  77511. throw exception;
  77512. } finally {
  77513. _this._callableNode = oldCallableNode;
  77514. }
  77515. },
  77516. _visitCalculation$1(node) {
  77517. return this._visitCalculation$2$inLegacySassFunction(node, null);
  77518. },
  77519. _checkCalculationArguments$1(node) {
  77520. var t1, _0_0,
  77521. check = new A._EvaluateVisitor__checkCalculationArguments_check(this, node);
  77522. $label0$0: {
  77523. t1 = node.name;
  77524. _0_0 = t1.toLowerCase();
  77525. 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) {
  77526. check.call$1(1);
  77527. break $label0$0;
  77528. }
  77529. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  77530. check.call$0();
  77531. break $label0$0;
  77532. }
  77533. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  77534. check.call$1(2);
  77535. break $label0$0;
  77536. }
  77537. if ("round" === _0_0 || "clamp" === _0_0) {
  77538. check.call$1(3);
  77539. break $label0$0;
  77540. }
  77541. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  77542. }
  77543. },
  77544. _verifyCompatibleNumbers$2(args, nodesWithSpans) {
  77545. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  77546. for (i = 0; t1 = args.length, i < t1; ++i) {
  77547. _0_0 = args[i];
  77548. if (_0_0 instanceof A.SassNumber) {
  77549. t1 = _0_0.get$hasComplexUnits();
  77550. arg = _0_0;
  77551. } else {
  77552. arg = null;
  77553. t1 = false;
  77554. }
  77555. if (t1) {
  77556. t1 = A.S(arg);
  77557. t2 = nodesWithSpans[i];
  77558. throw A.wrapException(this._evaluate$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  77559. }
  77560. }
  77561. for (i = 0; i < t1 - 1; ++i) {
  77562. number1 = args[i];
  77563. if (!(number1 instanceof A.SassNumber))
  77564. continue;
  77565. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  77566. number2 = args[j];
  77567. if (!(number2 instanceof A.SassNumber))
  77568. continue;
  77569. if (number1.hasPossiblyCompatibleUnits$1(number2))
  77570. continue;
  77571. t1 = number1.toString$0(0);
  77572. t2 = number2.toString$0(0);
  77573. t3 = nodesWithSpans[i];
  77574. t3 = t3.get$span(t3);
  77575. t4 = number1.toString$0(0);
  77576. t5 = nodesWithSpans[j];
  77577. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  77578. t6 = nodesWithSpans[i];
  77579. throw A.wrapException(A.MultiSpanSassRuntimeException$(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._evaluate$_stackTrace$1(t6.get$span(t6)), null));
  77580. }
  77581. }
  77582. },
  77583. _visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  77584. var result, t2, _0_0, _box_0, _1_0, t3, _i, i, _this = this, _null = null,
  77585. t1 = node instanceof A.ParenthesizedExpression,
  77586. inner = t1 ? node.expression : _null;
  77587. if (t1) {
  77588. result = _this._visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  77589. return result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  77590. }
  77591. if (node instanceof A.StringExpression && node.accept$1(B.C_IsCalculationSafeVisitor)) {
  77592. t1 = node.text;
  77593. t2 = t1.get$asPlain();
  77594. _0_0 = t2 == null ? _null : t2.toLowerCase();
  77595. $label0$0: {
  77596. if ("pi" === _0_0) {
  77597. t1 = A.SassNumber_SassNumber(3.141592653589793, _null);
  77598. break $label0$0;
  77599. }
  77600. if ("e" === _0_0) {
  77601. t1 = A.SassNumber_SassNumber(2.718281828459045, _null);
  77602. break $label0$0;
  77603. }
  77604. if ("infinity" === _0_0) {
  77605. t1 = A.SassNumber_SassNumber(1 / 0, _null);
  77606. break $label0$0;
  77607. }
  77608. if ("-infinity" === _0_0) {
  77609. t1 = A.SassNumber_SassNumber(-1 / 0, _null);
  77610. break $label0$0;
  77611. }
  77612. if ("nan" === _0_0) {
  77613. t1 = A.SassNumber_SassNumber(0 / 0, _null);
  77614. break $label0$0;
  77615. }
  77616. t1 = new A.SassString(_this._performInterpolation$1(t1), false);
  77617. break $label0$0;
  77618. }
  77619. return t1;
  77620. }
  77621. _box_0 = {};
  77622. _box_0.right = _box_0.left = _box_0.operator = null;
  77623. t1 = node instanceof A.BinaryOperationExpression;
  77624. if (t1) {
  77625. _box_0.operator = node.operator;
  77626. _box_0.left = node.left;
  77627. _box_0.right = node.right;
  77628. }
  77629. if (t1) {
  77630. _this._checkWhitespaceAroundCalculationOperator$1(node);
  77631. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure(_box_0, _this, node, inLegacySassFunction));
  77632. }
  77633. if (node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression) {
  77634. _1_0 = node.accept$1(_this);
  77635. $label1$1: {
  77636. if (_1_0 instanceof A.SassNumber) {
  77637. t1 = _1_0;
  77638. break $label1$1;
  77639. }
  77640. if (_1_0 instanceof A.SassCalculation) {
  77641. t1 = _1_0;
  77642. break $label1$1;
  77643. }
  77644. if (_1_0 instanceof A.SassString) {
  77645. t1 = !_1_0._hasQuotes;
  77646. result = _1_0;
  77647. } else {
  77648. result = _null;
  77649. t1 = false;
  77650. }
  77651. if (t1) {
  77652. t1 = result;
  77653. break $label1$1;
  77654. }
  77655. t1 = A.throwExpression(_this._evaluate$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  77656. }
  77657. return t1;
  77658. }
  77659. if (node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_qSL === node.separator && node.contents.length >= 2) {
  77660. t1 = A._setArrayType([], type$.JSArray_Object);
  77661. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  77662. t1.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  77663. _this._checkAdjacentCalculationValues$2(t1, node);
  77664. for (i = 0; i < t1.length; ++i) {
  77665. t3 = t1[i];
  77666. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  77667. t1[i] = new A.SassString("(" + A.S(t3) + ")", false);
  77668. }
  77669. return new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  77670. }
  77671. throw A.wrapException(_this._evaluate$_exception$2(string$.This_e, node.get$span(node)));
  77672. },
  77673. _checkWhitespaceAroundCalculationOperator$1(node) {
  77674. var t2, t3, t4, textBetweenOperands, first, last,
  77675. t1 = node.operator;
  77676. if (t1 !== B.BinaryOperator_Swh && t1 !== B.BinaryOperator_QG1)
  77677. return;
  77678. t1 = node.left;
  77679. t2 = t1.get$span(t1);
  77680. t2 = t2.get$file(t2);
  77681. t3 = node.right;
  77682. t4 = t3.get$span(t3);
  77683. if (t2 !== t4.get$file(t4))
  77684. return;
  77685. t2 = t1.get$span(t1);
  77686. t2 = t2.get$end(t2);
  77687. t4 = t3.get$span(t3);
  77688. if (t2.offset >= t4.get$start(t4).offset)
  77689. return;
  77690. t2 = t1.get$span(t1);
  77691. t2 = t2.get$file(t2);
  77692. t1 = t1.get$span(t1);
  77693. t1 = t1.get$end(t1);
  77694. t3 = t3.get$span(t3);
  77695. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  77696. first = textBetweenOperands.charCodeAt(0);
  77697. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  77698. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  77699. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  77700. else
  77701. t1 = true;
  77702. if (t1)
  77703. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  77704. },
  77705. _binaryOperatorToCalculationOperator$2(operator, node) {
  77706. var t1;
  77707. $label0$0: {
  77708. if (B.BinaryOperator_Swh === operator) {
  77709. t1 = B.CalculationOperator_F7i;
  77710. break $label0$0;
  77711. }
  77712. if (B.BinaryOperator_QG1 === operator) {
  77713. t1 = B.CalculationOperator_oum;
  77714. break $label0$0;
  77715. }
  77716. if (B.BinaryOperator_tht === operator) {
  77717. t1 = B.CalculationOperator_kkN;
  77718. break $label0$0;
  77719. }
  77720. if (B.BinaryOperator_Mh5 === operator) {
  77721. t1 = B.CalculationOperator_bo5;
  77722. break $label0$0;
  77723. }
  77724. t1 = A.throwExpression(this._evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  77725. }
  77726. return t1;
  77727. },
  77728. _checkAdjacentCalculationValues$2(elements, node) {
  77729. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  77730. for (t1 = elements.length, i = 1; i < t1; ++i) {
  77731. t2 = i - 1;
  77732. previous = elements[t2];
  77733. current = elements[i];
  77734. if (previous instanceof A.SassString || current instanceof A.SassString)
  77735. continue;
  77736. t1 = node.contents;
  77737. previousNode = t1[t2];
  77738. currentNode = t1[i];
  77739. if (currentNode instanceof A.UnaryOperationExpression) {
  77740. _0_2 = currentNode.operator;
  77741. if (B.UnaryOperator_UCP !== _0_2)
  77742. t1 = B.UnaryOperator_Rbl === _0_2;
  77743. else
  77744. t1 = true;
  77745. } else
  77746. t1 = false;
  77747. if (!t1)
  77748. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  77749. else
  77750. t1 = true;
  77751. if (t1)
  77752. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  77753. else
  77754. throw A.wrapException(this._evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  77755. }
  77756. },
  77757. visitInterpolatedFunctionExpression$1(_, node) {
  77758. var result, _this = this,
  77759. t1 = _this._performInterpolation$1(node.name),
  77760. oldInFunction = _this._inFunction;
  77761. _this._inFunction = true;
  77762. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
  77763. _this._inFunction = oldInFunction;
  77764. return result;
  77765. },
  77766. _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  77767. var oldCallable, oldInDependency, result, _this = this,
  77768. evaluated = _this._evaluateArguments$1($arguments),
  77769. $name = callable.declaration.name;
  77770. if ($name !== "@content")
  77771. $name += "()";
  77772. oldCallable = _this._currentCallable;
  77773. oldInDependency = _this._inDependency;
  77774. _this._currentCallable = callable;
  77775. _this._inDependency = callable.inDependency;
  77776. result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
  77777. _this._currentCallable = oldCallable;
  77778. _this._inDependency = oldInDependency;
  77779. return result;
  77780. },
  77781. _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  77782. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, _this = this;
  77783. if (callable instanceof A.BuiltInCallable)
  77784. return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  77785. else if (type$.UserDefinedCallable_Environment._is(callable))
  77786. return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
  77787. else if (callable instanceof A.PlainCssCallable) {
  77788. t1 = $arguments.named;
  77789. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  77790. throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  77791. buffer = new A.StringBuffer(callable.name + "(");
  77792. try {
  77793. first = true;
  77794. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  77795. argument = t1[_i];
  77796. if (first)
  77797. first = false;
  77798. else
  77799. buffer._contents += ", ";
  77800. t3 = buffer;
  77801. t4 = argument;
  77802. t4 = _this._evaluate$_serialize$3$quote(t4.accept$1(_this), t4, true);
  77803. t3._contents += t4;
  77804. }
  77805. restArg = $arguments.rest;
  77806. if (restArg != null) {
  77807. rest = restArg.accept$1(_this);
  77808. if (!first)
  77809. buffer._contents += ", ";
  77810. t1 = buffer;
  77811. t2 = _this._evaluate$_serialize$2(rest, restArg);
  77812. t1._contents += t2;
  77813. }
  77814. } catch (exception) {
  77815. t1 = A.unwrapException(exception);
  77816. if (type$.SassRuntimeException._is(t1)) {
  77817. error = t1;
  77818. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  77819. throw exception;
  77820. 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));
  77821. } else
  77822. throw exception;
  77823. }
  77824. t1 = buffer;
  77825. t2 = A.Primitives_stringFromCharCode(41);
  77826. t1._contents += t2;
  77827. t2 = buffer._contents;
  77828. return new A.SassString(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  77829. } else
  77830. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  77831. },
  77832. _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  77833. var result, error, stackTrace, namedSet, _0_0, parameters, i, t1, parameter, t2, t3, rest, argumentList, exception, _this = this, _box_0 = {},
  77834. evaluated = _this._evaluateArguments$1($arguments),
  77835. oldCallableNode = _this._callableNode;
  77836. _this._callableNode = nodeWithSpan;
  77837. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  77838. _box_0.callback = _box_0.overload = null;
  77839. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  77840. _box_0.overload = _0_0._0;
  77841. _box_0.callback = _0_0._1;
  77842. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(_box_0, evaluated, namedSet));
  77843. parameters = _box_0.overload.parameters;
  77844. for (i = evaluated._values[2].length, t1 = parameters.length; i < t1; ++i) {
  77845. parameter = parameters[i];
  77846. t2 = evaluated._values[2];
  77847. t3 = evaluated._values[0].remove$1(0, parameter.name);
  77848. if (t3 == null) {
  77849. t3 = parameter.defaultValue;
  77850. t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
  77851. }
  77852. t2.push(t3);
  77853. }
  77854. if (_box_0.overload.restParameter != null) {
  77855. if (evaluated._values[2].length > t1) {
  77856. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  77857. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  77858. } else
  77859. rest = B.List_empty8;
  77860. t1 = evaluated._values[0];
  77861. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : evaluated._values[4]);
  77862. evaluated._values[2].push(argumentList);
  77863. } else
  77864. argumentList = null;
  77865. result = null;
  77866. try {
  77867. result = _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure0(_box_0, evaluated));
  77868. } catch (exception) {
  77869. t1 = A.unwrapException(exception);
  77870. if (t1 instanceof A.SassException)
  77871. throw exception;
  77872. else {
  77873. error = t1;
  77874. stackTrace = A.getTraceFromException(exception);
  77875. A.throwWithTrace(_this._evaluate$_exception$2(_this._getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  77876. }
  77877. }
  77878. _this._callableNode = oldCallableNode;
  77879. if (argumentList == null)
  77880. return result;
  77881. if (evaluated._values[0].__js_helper$_length === 0)
  77882. return result;
  77883. if (argumentList._wereKeywordsAccessed)
  77884. return result;
  77885. 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));
  77886. },
  77887. _evaluateArguments$1($arguments) {
  77888. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  77889. positional = A._setArrayType([], type$.JSArray_Value),
  77890. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  77891. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  77892. expression = t1[_i];
  77893. nodeForSpan = _this._expressionNode$1(expression);
  77894. positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  77895. positionalNodes.push(nodeForSpan);
  77896. }
  77897. t1 = type$.String;
  77898. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  77899. t2 = type$.AstNode;
  77900. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  77901. for (t3 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  77902. t4 = t3.get$current(t3);
  77903. $name = t4._0;
  77904. value = t4._1;
  77905. nodeForSpan = _this._expressionNode$1(value);
  77906. named.$indexSet(0, $name, _this._withoutSlash$2(value.accept$1(_this), nodeForSpan));
  77907. namedNodes.$indexSet(0, $name, nodeForSpan);
  77908. }
  77909. restArgs = $arguments.rest;
  77910. if (restArgs == null)
  77911. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  77912. rest = restArgs.accept$1(_this);
  77913. restNodeForSpan = _this._expressionNode$1(restArgs);
  77914. if (rest instanceof A.SassMap) {
  77915. _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
  77916. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  77917. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  77918. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  77919. namedNodes.addAll$1(0, t3);
  77920. separator = B.ListSeparator_undecided_null_undecided;
  77921. } else if (rest instanceof A.SassList) {
  77922. t3 = rest._list$_contents;
  77923. 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>")));
  77924. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  77925. separator = rest._separator;
  77926. if (rest instanceof A.SassArgumentList) {
  77927. rest._wereKeywordsAccessed = true;
  77928. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
  77929. }
  77930. } else {
  77931. positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
  77932. positionalNodes.push(restNodeForSpan);
  77933. separator = B.ListSeparator_undecided_null_undecided;
  77934. }
  77935. keywordRestArgs = $arguments.keywordRest;
  77936. if (keywordRestArgs == null)
  77937. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  77938. keywordRest = keywordRestArgs.accept$1(_this);
  77939. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
  77940. if (keywordRest instanceof A.SassMap) {
  77941. _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
  77942. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  77943. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  77944. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  77945. namedNodes.addAll$1(0, t1);
  77946. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  77947. } else
  77948. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  77949. },
  77950. _evaluateMacroArguments$1(invocation) {
  77951. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  77952. t1 = invocation.$arguments,
  77953. restArgs_ = t1.rest;
  77954. if (restArgs_ == null)
  77955. return new A._Record_2(t1.positional, t1.named);
  77956. t2 = t1.positional;
  77957. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  77958. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  77959. rest = restArgs_.accept$1(_this);
  77960. restNodeForSpan = _this._expressionNode$1(restArgs_);
  77961. if (rest instanceof A.SassMap)
  77962. _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
  77963. else if (rest instanceof A.SassList) {
  77964. t2 = rest._list$_contents;
  77965. 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>")));
  77966. if (rest instanceof A.SassArgumentList) {
  77967. rest._wereKeywordsAccessed = true;
  77968. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
  77969. }
  77970. } else
  77971. positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  77972. keywordRestArgs_ = t1.keywordRest;
  77973. if (keywordRestArgs_ == null)
  77974. return new A._Record_2(positional, named);
  77975. keywordRest = keywordRestArgs_.accept$1(_this);
  77976. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
  77977. if (keywordRest instanceof A.SassMap) {
  77978. _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
  77979. return new A._Record_2(positional, named);
  77980. } else
  77981. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  77982. },
  77983. _addRestMap$1$4(values, map, nodeWithSpan, convert) {
  77984. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  77985. },
  77986. _addRestMap$4(values, map, nodeWithSpan, convert) {
  77987. return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  77988. },
  77989. _verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  77990. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure(parameters, positional, named));
  77991. },
  77992. visitSelectorExpression$1(_, node) {
  77993. var t1 = this._styleRuleIgnoringAtRoot;
  77994. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  77995. return t1 == null ? B.C__SassNull : t1;
  77996. },
  77997. visitStringExpression$1(_, node) {
  77998. var t1, t2, t3, _i, value, t4, _0_0, text, _this = this,
  77999. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  78000. _this._inSupportsDeclaration = false;
  78001. t1 = A._setArrayType([], type$.JSArray_String);
  78002. for (t2 = node.text.contents, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  78003. value = t2[_i];
  78004. $label0$0: {
  78005. if (typeof value == "string") {
  78006. t4 = value;
  78007. break $label0$0;
  78008. }
  78009. if (value instanceof A.Expression) {
  78010. _0_0 = value.accept$1(_this);
  78011. $label1$1: {
  78012. if (_0_0 instanceof A.SassString) {
  78013. text = _0_0._string$_text;
  78014. t4 = text;
  78015. break $label1$1;
  78016. }
  78017. t4 = _this._evaluate$_serialize$3$quote(_0_0, value, false);
  78018. break $label1$1;
  78019. }
  78020. break $label0$0;
  78021. }
  78022. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  78023. }
  78024. t1.push(t4);
  78025. }
  78026. t1 = B.JSArray_methods.join$0(t1);
  78027. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  78028. return new A.SassString(t1, node.hasQuotes);
  78029. },
  78030. visitSupportsExpression$1(_, expression) {
  78031. return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
  78032. },
  78033. visitCssAtRule$1(node) {
  78034. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  78035. if (_this._declarationName != null)
  78036. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  78037. if (node.isChildless) {
  78038. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  78039. return;
  78040. }
  78041. wasInKeyframes = _this._inKeyframes;
  78042. wasInUnknownAtRule = _this._inUnknownAtRule;
  78043. t1 = node.name;
  78044. if (A.unvendor(t1.value) === "keyframes")
  78045. _this._inKeyframes = true;
  78046. else
  78047. _this._inUnknownAtRule = true;
  78048. _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);
  78049. _this._inUnknownAtRule = wasInUnknownAtRule;
  78050. _this._inKeyframes = wasInKeyframes;
  78051. },
  78052. visitCssComment$1(node) {
  78053. var _this = this,
  78054. _s8_ = "__parent",
  78055. _s13_ = "_endOfImports";
  78056. 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))
  78057. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  78058. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
  78059. },
  78060. visitCssDeclaration$1(node) {
  78061. this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap));
  78062. },
  78063. visitCssImport$1(node) {
  78064. var t1, _this = this,
  78065. _s8_ = "__parent",
  78066. _s5_ = "_root",
  78067. _s13_ = "_endOfImports",
  78068. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  78069. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  78070. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
  78071. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  78072. _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
  78073. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  78074. } else {
  78075. t1 = _this._outOfOrderImports;
  78076. (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  78077. }
  78078. },
  78079. visitCssKeyframeBlock$1(node) {
  78080. 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);
  78081. },
  78082. visitCssMediaRule$1(node) {
  78083. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  78084. if (_this._declarationName != null)
  78085. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  78086. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
  78087. t1 = mergedQueries == null;
  78088. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  78089. return;
  78090. if (t1)
  78091. mergedSources = B.Set_empty1;
  78092. else {
  78093. t2 = _this._mediaQuerySources;
  78094. t2.toString;
  78095. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  78096. t3 = _this._mediaQueries;
  78097. t3.toString;
  78098. t2.addAll$1(0, t3);
  78099. t2.addAll$1(0, node.queries);
  78100. mergedSources = t2;
  78101. }
  78102. t1 = t1 ? node.queries : mergedQueries;
  78103. _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);
  78104. },
  78105. visitCssStyleRule$1(node) {
  78106. var t1, styleRule, t2, nest, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild, _this = this, _null = null,
  78107. _s8_ = "__parent";
  78108. if (_this._declarationName != null)
  78109. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_n, node.span));
  78110. else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
  78111. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_k, node.span));
  78112. t1 = _this._atRootExcludingStyleRule;
  78113. styleRule = t1 ? _null : _this._styleRuleIgnoringAtRoot;
  78114. t2 = t1 ? _null : _this._styleRuleIgnoringAtRoot;
  78115. t2 = t2 == null ? _null : t2.fromPlainCss;
  78116. nest = t2 !== true;
  78117. t2 = node._style_rule$_selector._box$_inner;
  78118. if (nest) {
  78119. t2 = t2.value;
  78120. t3 = styleRule == null ? _null : styleRule.originalSelector;
  78121. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !t1, node.fromPlainCss);
  78122. } else
  78123. originalSelector = t2.value;
  78124. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._mediaQueries), node.span, node.fromPlainCss, originalSelector);
  78125. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  78126. _this._atRootExcludingStyleRule = false;
  78127. t1 = nest ? new A._EvaluateVisitor_visitCssStyleRule_closure() : _null;
  78128. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure0(_this, rule, node), false, t1, type$.ModifiableCssStyleRule, type$.Null);
  78129. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  78130. t1 = _this._assertInModule$2(_this.__parent, _s8_).children._collection$_source;
  78131. t2 = J.getInterceptor$asx(t1);
  78132. _0_1 = t2.get$length(t1);
  78133. if (_0_1 >= 1) {
  78134. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  78135. t1 = styleRule == null;
  78136. } else {
  78137. lastChild = _null;
  78138. t1 = false;
  78139. }
  78140. if (t1)
  78141. lastChild.isGroupEnd = true;
  78142. },
  78143. visitCssStylesheet$1(node) {
  78144. var t1;
  78145. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  78146. t1.get$current(t1).accept$1(this);
  78147. },
  78148. visitCssSupportsRule$1(node) {
  78149. var _this = this;
  78150. if (_this._declarationName != null)
  78151. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  78152. _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);
  78153. },
  78154. _handleReturn$1$2(list, callback) {
  78155. var t1, _i, _0_0;
  78156. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  78157. _0_0 = callback.call$1(list[_i]);
  78158. if (_0_0 != null)
  78159. return _0_0;
  78160. }
  78161. return null;
  78162. },
  78163. _handleReturn$2(list, callback) {
  78164. return this._handleReturn$1$2(list, callback, type$.dynamic);
  78165. },
  78166. _withEnvironment$1$2(environment, callback) {
  78167. var result,
  78168. oldEnvironment = this._environment;
  78169. this._environment = environment;
  78170. result = callback.call$0();
  78171. this._environment = oldEnvironment;
  78172. return result;
  78173. },
  78174. _withEnvironment$2(environment, callback) {
  78175. return this._withEnvironment$1$2(environment, callback, type$.dynamic);
  78176. },
  78177. _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  78178. var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
  78179. t1 = trim ? A.trimAscii(result, true) : result;
  78180. return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  78181. },
  78182. _interpolationToValue$1(interpolation) {
  78183. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  78184. },
  78185. _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  78186. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  78187. },
  78188. _performInterpolation$2$warnForColor(interpolation, warnForColor) {
  78189. return this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  78190. },
  78191. _performInterpolation$1(interpolation) {
  78192. return this._performInterpolation$2$warnForColor(interpolation, false);
  78193. },
  78194. _performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  78195. var _0_0 = this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  78196. map = _0_0._1;
  78197. map.toString;
  78198. return new A._Record_2(_0_0._0, map);
  78199. },
  78200. _performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  78201. var t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, _this = this, _null = null,
  78202. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  78203. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  78204. _this._inSupportsDeclaration = false;
  78205. 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) {
  78206. value = t1[_i];
  78207. if (!first)
  78208. if (!t4)
  78209. targetLocations.push(A.SourceLocation$(t7.length, _null, _null, _null));
  78210. if (typeof value == "string") {
  78211. t7 += value;
  78212. continue;
  78213. }
  78214. t3._as(value);
  78215. result = value.accept$1(_this);
  78216. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  78217. result0 = A.List_List$from([""], false, t6);
  78218. result0.$flags = 3;
  78219. t8 = $.$get$namesByColor();
  78220. _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));
  78221. }
  78222. t7 += _this._evaluate$_serialize$3$quote(result, value, false);
  78223. }
  78224. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  78225. return new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure(interpolation)));
  78226. },
  78227. _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  78228. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
  78229. },
  78230. _evaluate$_serialize$2(value, nodeWithSpan) {
  78231. return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  78232. },
  78233. _expressionNode$1(expression) {
  78234. var t1;
  78235. if (expression instanceof A.VariableExpression) {
  78236. t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
  78237. return t1 == null ? expression : t1;
  78238. } else
  78239. return expression;
  78240. },
  78241. _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  78242. var oldParent, result, _this = this;
  78243. _this._addChild$2$through(node, through);
  78244. oldParent = _this._assertInModule$2(_this.__parent, "__parent");
  78245. _this.__parent = node;
  78246. result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
  78247. _this.__parent = oldParent;
  78248. return result;
  78249. },
  78250. _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  78251. return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  78252. },
  78253. _withParent$2$2(node, callback, $S, $T) {
  78254. return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  78255. },
  78256. _addChild$2$through(node, through) {
  78257. var _0_0, grandparent, t1,
  78258. $parent = this._assertInModule$2(this.__parent, "__parent");
  78259. if (through != null) {
  78260. for (; through.call$1($parent); $parent = _0_0) {
  78261. _0_0 = $parent._parent;
  78262. if (_0_0 == null)
  78263. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  78264. }
  78265. if ($parent.get$hasFollowingSibling()) {
  78266. grandparent = $parent._parent;
  78267. t1 = grandparent.children;
  78268. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  78269. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  78270. else {
  78271. $parent = $parent.copyWithoutChildren$0();
  78272. grandparent.addChild$1($parent);
  78273. }
  78274. }
  78275. }
  78276. $parent.addChild$1(node);
  78277. },
  78278. _addChild$1(node) {
  78279. return this._addChild$2$through(node, null);
  78280. },
  78281. _withStyleRule$1$2(rule, callback) {
  78282. var result,
  78283. oldRule = this._styleRuleIgnoringAtRoot;
  78284. this._styleRuleIgnoringAtRoot = rule;
  78285. result = callback.call$0();
  78286. this._styleRuleIgnoringAtRoot = oldRule;
  78287. return result;
  78288. },
  78289. _withStyleRule$2(rule, callback) {
  78290. return this._withStyleRule$1$2(rule, callback, type$.dynamic);
  78291. },
  78292. _withMediaQueries$1$3(queries, sources, callback) {
  78293. var result, _this = this,
  78294. oldMediaQueries = _this._mediaQueries,
  78295. oldSources = _this._mediaQuerySources;
  78296. _this._mediaQueries = queries;
  78297. _this._mediaQuerySources = sources;
  78298. result = callback.call$0();
  78299. _this._mediaQueries = oldMediaQueries;
  78300. _this._mediaQuerySources = oldSources;
  78301. return result;
  78302. },
  78303. _withMediaQueries$3(queries, sources, callback) {
  78304. return this._withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  78305. },
  78306. _withStackFrame$1$3(member, nodeWithSpan, callback) {
  78307. var oldMember, result, _this = this,
  78308. t1 = _this._stack;
  78309. t1.push(new A._Record_2(_this._member, nodeWithSpan));
  78310. oldMember = _this._member;
  78311. _this._member = member;
  78312. result = callback.call$0();
  78313. _this._member = oldMember;
  78314. t1.pop();
  78315. return result;
  78316. },
  78317. _withStackFrame$3(member, nodeWithSpan, callback) {
  78318. return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  78319. },
  78320. _withoutSlash$2(value, nodeForSpan) {
  78321. var t1;
  78322. if (value instanceof A.SassNumber)
  78323. t1 = value.asSlash != null;
  78324. else
  78325. t1 = false;
  78326. if (t1)
  78327. 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);
  78328. return value.withoutSlash$0();
  78329. },
  78330. _stackFrame$2(member, span) {
  78331. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure(this)));
  78332. },
  78333. _evaluate$_stackTrace$1(span) {
  78334. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  78335. t1 = A._setArrayType([], type$.JSArray_Frame);
  78336. for (t2 = _this._stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  78337. t4 = t2[_i];
  78338. nodeWithSpan = t4._1;
  78339. t1.push(_this._stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  78340. }
  78341. if (span != null)
  78342. t1.push(_this._stackFrame$2(_this._member, span));
  78343. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  78344. },
  78345. _evaluate$_stackTrace$0() {
  78346. return this._evaluate$_stackTrace$1(null);
  78347. },
  78348. _warn$3(message, span, deprecation) {
  78349. var trace, t1, _this = this;
  78350. if (_this._quietDeps && _this._inDependency)
  78351. return;
  78352. if (!_this._warningsEmitted.add$1(0, new A._Record_2(message, span)))
  78353. return;
  78354. trace = _this._evaluate$_stackTrace$1(span);
  78355. t1 = _this._logger;
  78356. if (deprecation == null)
  78357. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  78358. else
  78359. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  78360. },
  78361. _warn$2(message, span) {
  78362. return this._warn$3(message, span, null);
  78363. },
  78364. _evaluate$_exception$2(message, span) {
  78365. var t1, t2;
  78366. if (span == null) {
  78367. t1 = B.JSArray_methods.get$last(this._stack)._1;
  78368. t1 = t1.get$span(t1);
  78369. } else
  78370. t1 = span;
  78371. t2 = this._evaluate$_stackTrace$1(span);
  78372. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  78373. },
  78374. _evaluate$_exception$1(message) {
  78375. return this._evaluate$_exception$2(message, null);
  78376. },
  78377. _multiSpanException$3(message, primaryLabel, secondaryLabels) {
  78378. var t1 = B.JSArray_methods.get$last(this._stack)._1;
  78379. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate$_stackTrace$0(), null);
  78380. },
  78381. _addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  78382. var error, stackTrace, t1, exception;
  78383. try {
  78384. t1 = callback.call$0();
  78385. return t1;
  78386. } catch (exception) {
  78387. t1 = A.unwrapException(exception);
  78388. if (t1 instanceof A.SassScriptException) {
  78389. error = t1;
  78390. stackTrace = A.getTraceFromException(exception);
  78391. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  78392. A.throwWithTrace(t1.withTrace$1(this._evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  78393. } else
  78394. throw exception;
  78395. }
  78396. },
  78397. _addExceptionSpan$2(nodeWithSpan, callback) {
  78398. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  78399. },
  78400. _addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  78401. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  78402. },
  78403. _addExceptionTrace$1$1(callback) {
  78404. var error, stackTrace, t1, exception, t2;
  78405. try {
  78406. t1 = callback.call$0();
  78407. return t1;
  78408. } catch (exception) {
  78409. t1 = A.unwrapException(exception);
  78410. if (type$.SassRuntimeException._is(t1))
  78411. throw exception;
  78412. else if (t1 instanceof A.SassException) {
  78413. error = t1;
  78414. stackTrace = A.getTraceFromException(exception);
  78415. t1 = error;
  78416. t2 = J.getInterceptor$z(t1);
  78417. A.throwWithTrace(error.withTrace$1(this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  78418. } else
  78419. throw exception;
  78420. }
  78421. },
  78422. _addExceptionTrace$1(callback) {
  78423. return this._addExceptionTrace$1$1(callback, type$.dynamic);
  78424. },
  78425. _addErrorSpan$1$2(nodeWithSpan, callback) {
  78426. var error, stackTrace, t1, exception, t2, t3;
  78427. try {
  78428. t1 = callback.call$0();
  78429. return t1;
  78430. } catch (exception) {
  78431. t1 = A.unwrapException(exception);
  78432. if (type$.SassRuntimeException._is(t1)) {
  78433. error = t1;
  78434. stackTrace = A.getTraceFromException(exception);
  78435. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  78436. throw exception;
  78437. t1 = error._span_exception$_message;
  78438. t2 = nodeWithSpan.get$span(nodeWithSpan);
  78439. t3 = this._evaluate$_stackTrace$0();
  78440. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  78441. } else
  78442. throw exception;
  78443. }
  78444. },
  78445. _addErrorSpan$2(nodeWithSpan, callback) {
  78446. return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  78447. },
  78448. _getErrorMessage$1(error) {
  78449. var t1, exception;
  78450. if (type$.Error._is(error))
  78451. return error.toString$0(0);
  78452. try {
  78453. t1 = A._asString(J.get$message$x(error));
  78454. return t1;
  78455. } catch (exception) {
  78456. t1 = J.toString$0$(error);
  78457. return t1;
  78458. }
  78459. }
  78460. };
  78461. A._EvaluateVisitor_closure.prototype = {
  78462. call$1($arguments) {
  78463. var module, t2,
  78464. t1 = J.getInterceptor$asx($arguments),
  78465. variable = t1.$index($arguments, 0).assertString$1("name");
  78466. t1 = t1.$index($arguments, 1).get$realNull();
  78467. module = t1 == null ? null : t1.assertString$1("module");
  78468. t1 = this.$this._environment;
  78469. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  78470. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  78471. },
  78472. $signature: 12
  78473. };
  78474. A._EvaluateVisitor_closure0.prototype = {
  78475. call$1($arguments) {
  78476. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  78477. t1 = this.$this._environment;
  78478. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  78479. },
  78480. $signature: 12
  78481. };
  78482. A._EvaluateVisitor_closure1.prototype = {
  78483. call$1($arguments) {
  78484. var module, t2, t3, t4,
  78485. t1 = J.getInterceptor$asx($arguments),
  78486. variable = t1.$index($arguments, 0).assertString$1("name");
  78487. t1 = t1.$index($arguments, 1).get$realNull();
  78488. module = t1 == null ? null : t1.assertString$1("module");
  78489. t1 = this.$this;
  78490. t2 = t1._environment;
  78491. t3 = variable._string$_text;
  78492. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  78493. return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
  78494. },
  78495. $signature: 12
  78496. };
  78497. A._EvaluateVisitor_closure2.prototype = {
  78498. call$1($arguments) {
  78499. var module, t2,
  78500. t1 = J.getInterceptor$asx($arguments),
  78501. variable = t1.$index($arguments, 0).assertString$1("name");
  78502. t1 = t1.$index($arguments, 1).get$realNull();
  78503. module = t1 == null ? null : t1.assertString$1("module");
  78504. t1 = this.$this._environment;
  78505. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  78506. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  78507. },
  78508. $signature: 12
  78509. };
  78510. A._EvaluateVisitor_closure3.prototype = {
  78511. call$1($arguments) {
  78512. var t1 = this.$this._environment;
  78513. if (!t1._inMixin)
  78514. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  78515. return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
  78516. },
  78517. $signature: 12
  78518. };
  78519. A._EvaluateVisitor_closure4.prototype = {
  78520. call$1($arguments) {
  78521. var t2, t3, t4,
  78522. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  78523. module = this.$this._environment._environment$_modules.$index(0, t1);
  78524. if (module == null)
  78525. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  78526. t1 = type$.Value;
  78527. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  78528. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  78529. t4 = t3.get$current(t3);
  78530. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  78531. }
  78532. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  78533. },
  78534. $signature: 33
  78535. };
  78536. A._EvaluateVisitor_closure5.prototype = {
  78537. call$1($arguments) {
  78538. var t2, t3, t4,
  78539. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  78540. module = this.$this._environment._environment$_modules.$index(0, t1);
  78541. if (module == null)
  78542. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  78543. t1 = type$.Value;
  78544. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  78545. for (t3 = A.MapExtensions_get_pairs(module.get$functions(module), type$.String, type$.Callable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  78546. t4 = t3.get$current(t3);
  78547. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassFunction(t4._1));
  78548. }
  78549. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  78550. },
  78551. $signature: 33
  78552. };
  78553. A._EvaluateVisitor_closure6.prototype = {
  78554. call$1($arguments) {
  78555. var t2, t3, t4,
  78556. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  78557. module = this.$this._environment._environment$_modules.$index(0, t1);
  78558. if (module == null)
  78559. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  78560. t1 = type$.Value;
  78561. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  78562. for (t3 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.Callable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  78563. t4 = t3.get$current(t3);
  78564. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassMixin(t4._1));
  78565. }
  78566. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  78567. },
  78568. $signature: 33
  78569. };
  78570. A._EvaluateVisitor_closure7.prototype = {
  78571. call$1($arguments) {
  78572. var module, t2, callable,
  78573. t1 = J.getInterceptor$asx($arguments),
  78574. $name = t1.$index($arguments, 0).assertString$1("name"),
  78575. css = t1.$index($arguments, 1).get$isTruthy();
  78576. t1 = t1.$index($arguments, 2).get$realNull();
  78577. module = t1 == null ? null : t1.assertString$1("module");
  78578. if (css) {
  78579. if (module != null)
  78580. throw A.wrapException(string$.x24css_a);
  78581. return new A.SassFunction(new A.PlainCssCallable($name._string$_text));
  78582. }
  78583. t1 = this.$this;
  78584. t2 = t1._callableNode;
  78585. t2.toString;
  78586. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure2(t1, $name, module));
  78587. if (callable == null)
  78588. throw A.wrapException("Function not found: " + $name.toString$0(0));
  78589. return new A.SassFunction(callable);
  78590. },
  78591. $signature: 166
  78592. };
  78593. A._EvaluateVisitor__closure2.prototype = {
  78594. call$0() {
  78595. var local,
  78596. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  78597. t1 = this.module,
  78598. namespace = t1 == null ? null : t1._string$_text;
  78599. t1 = this.$this;
  78600. local = t1._environment.getFunction$2$namespace(normalizedName, namespace);
  78601. if (local != null || namespace != null)
  78602. return local;
  78603. return t1._builtInFunctions.$index(0, normalizedName);
  78604. },
  78605. $signature: 81
  78606. };
  78607. A._EvaluateVisitor_closure8.prototype = {
  78608. call$1($arguments) {
  78609. var module, t2, callable,
  78610. t1 = J.getInterceptor$asx($arguments),
  78611. $name = t1.$index($arguments, 0).assertString$1("name");
  78612. t1 = t1.$index($arguments, 1).get$realNull();
  78613. module = t1 == null ? null : t1.assertString$1("module");
  78614. t1 = this.$this;
  78615. t2 = t1._callableNode;
  78616. t2.toString;
  78617. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
  78618. if (callable == null)
  78619. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  78620. return new A.SassMixin(callable);
  78621. },
  78622. $signature: 167
  78623. };
  78624. A._EvaluateVisitor__closure1.prototype = {
  78625. call$0() {
  78626. var t1 = this.$this._environment,
  78627. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  78628. t3 = this.module;
  78629. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  78630. },
  78631. $signature: 81
  78632. };
  78633. A._EvaluateVisitor_closure9.prototype = {
  78634. call$1($arguments) {
  78635. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  78636. t1 = J.getInterceptor$asx($arguments),
  78637. $function = t1.$index($arguments, 0),
  78638. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  78639. t1 = this.$this;
  78640. t2 = t1._callableNode;
  78641. t2.toString;
  78642. t3 = A._setArrayType([], type$.JSArray_Expression);
  78643. t4 = type$.String;
  78644. t5 = type$.Expression;
  78645. t6 = t2.get$span(t2);
  78646. t7 = t2.get$span(t2);
  78647. args._wereKeywordsAccessed = true;
  78648. t8 = args._keywords;
  78649. if (t8.get$isEmpty(t8))
  78650. t2 = null;
  78651. else {
  78652. t9 = type$.Value;
  78653. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  78654. args._wereKeywordsAccessed = true;
  78655. t8 = A.MapExtensions_get_pairs(t8, t4, t9);
  78656. t8 = t8.get$iterator(t8);
  78657. for (; t8.moveNext$0();) {
  78658. t11 = t8.get$current(t8);
  78659. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  78660. }
  78661. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  78662. }
  78663. 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);
  78664. if ($function instanceof A.SassString) {
  78665. A.warnForDeprecation(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_dAn);
  78666. callableNode = t1._callableNode;
  78667. t2 = $function._string$_text;
  78668. t3 = callableNode.get$span(callableNode);
  78669. return t1.visitFunctionExpression$1(0, new A.FunctionExpression(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  78670. }
  78671. callable = $function.assertFunction$1("function").callable;
  78672. if (type$.Callable._is(callable)) {
  78673. t2 = t1._callableNode;
  78674. t2.toString;
  78675. return t1._runFunctionCallable$3(invocation, callable, t2);
  78676. } else
  78677. throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as, null));
  78678. },
  78679. $signature: 4
  78680. };
  78681. A._EvaluateVisitor_closure10.prototype = {
  78682. call$1($arguments) {
  78683. var withMap, t2, values, configuration, t3,
  78684. t1 = J.getInterceptor$asx($arguments),
  78685. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  78686. t1 = t1.$index($arguments, 1).get$realNull();
  78687. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  78688. t1 = this.$this;
  78689. t2 = t1._callableNode;
  78690. t2.toString;
  78691. if (withMap != null) {
  78692. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  78693. withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
  78694. configuration = new A.ExplicitConfiguration(t2, values, null);
  78695. } else
  78696. configuration = B.Configuration_Map_empty_null;
  78697. t3 = t2.get$span(t2);
  78698. t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t3.get$sourceUrl(t3), configuration, true);
  78699. t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
  78700. },
  78701. $signature: 187
  78702. };
  78703. A._EvaluateVisitor__closure.prototype = {
  78704. call$2(variable, value) {
  78705. var t1 = variable.assertString$1("with key"),
  78706. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  78707. t1 = this.values;
  78708. if (t1.containsKey$1($name))
  78709. throw A.wrapException("The variable $" + $name + " was configured twice.");
  78710. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  78711. },
  78712. $signature: 100
  78713. };
  78714. A._EvaluateVisitor__closure0.prototype = {
  78715. call$2(module, _) {
  78716. var t1 = this.$this;
  78717. return t1._combineCss$2$clone(module, true).accept$1(t1);
  78718. },
  78719. $signature: 80
  78720. };
  78721. A._EvaluateVisitor_closure11.prototype = {
  78722. call$1($arguments) {
  78723. var callableNode, t2, t3, t4, t5, callable, $content,
  78724. t1 = J.getInterceptor$asx($arguments),
  78725. mixin = t1.$index($arguments, 0),
  78726. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  78727. t1 = this.$this;
  78728. callableNode = t1._callableNode;
  78729. t2 = callableNode.get$span(callableNode);
  78730. t3 = callableNode.get$span(callableNode);
  78731. t4 = type$.Expression;
  78732. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  78733. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty5, type$.String, t4);
  78734. callable = mixin.assertMixin$1("mixin").callable;
  78735. $content = t1._environment._content;
  78736. if (type$.Callable._is(callable))
  78737. t1._applyMixin$5(callable, $content, new A.ArgumentList(t5, t4, new A.ValueExpression(args, t3), null, t2), callableNode, callableNode);
  78738. else
  78739. throw A.wrapException(A.SassScriptException$("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  78740. },
  78741. $signature: 187
  78742. };
  78743. A._EvaluateVisitor_run_closure.prototype = {
  78744. call$0() {
  78745. var module, _this = this,
  78746. t1 = _this.node,
  78747. t2 = t1.span,
  78748. _0_0 = t2.get$sourceUrl(t2),
  78749. url = null;
  78750. if (_0_0 != null) {
  78751. url = _0_0;
  78752. t2 = _this.$this;
  78753. t2._activeModules.$indexSet(0, url, null);
  78754. t2._loadedUrls.add$1(0, url);
  78755. }
  78756. t2 = _this.$this;
  78757. module = t2._addExceptionTrace$1(new A._EvaluateVisitor_run__closure(t2, _this.importer, t1));
  78758. return new A._Record_2_loadedUrls_stylesheet(t2._loadedUrls, t2._combineCss$1(module));
  78759. },
  78760. $signature: 306
  78761. };
  78762. A._EvaluateVisitor_run__closure.prototype = {
  78763. call$0() {
  78764. return this.$this._execute$2(this.importer, this.node);
  78765. },
  78766. $signature: 303
  78767. };
  78768. A._EvaluateVisitor_runExpression_closure.prototype = {
  78769. call$0() {
  78770. var t1 = this.$this,
  78771. t2 = this.expression;
  78772. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
  78773. },
  78774. $signature: 36
  78775. };
  78776. A._EvaluateVisitor_runExpression__closure.prototype = {
  78777. call$0() {
  78778. var t1 = this.$this;
  78779. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runExpression___closure(t1, this.expression));
  78780. },
  78781. $signature: 36
  78782. };
  78783. A._EvaluateVisitor_runExpression___closure.prototype = {
  78784. call$0() {
  78785. return this.expression.accept$1(this.$this);
  78786. },
  78787. $signature: 36
  78788. };
  78789. A._EvaluateVisitor_runStatement_closure.prototype = {
  78790. call$0() {
  78791. var t1 = this.$this,
  78792. t2 = this.statement;
  78793. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
  78794. },
  78795. $signature: 0
  78796. };
  78797. A._EvaluateVisitor_runStatement__closure.prototype = {
  78798. call$0() {
  78799. var t1 = this.$this;
  78800. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runStatement___closure(t1, this.statement));
  78801. },
  78802. $signature: 0
  78803. };
  78804. A._EvaluateVisitor_runStatement___closure.prototype = {
  78805. call$0() {
  78806. return this.statement.accept$1(this.$this);
  78807. },
  78808. $signature: 0
  78809. };
  78810. A._EvaluateVisitor__loadModule_closure.prototype = {
  78811. call$0() {
  78812. return this.callback.call$2(this._box_0.builtInModule, false);
  78813. },
  78814. $signature: 0
  78815. };
  78816. A._EvaluateVisitor__loadModule_closure0.prototype = {
  78817. call$0() {
  78818. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  78819. t2 = _this.$this,
  78820. t3 = _this.nodeWithSpan,
  78821. _1_0 = t2._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  78822. stylesheet = _1_0._0;
  78823. importer = _1_0._1;
  78824. t4 = stylesheet.span;
  78825. canonicalUrl = t4.get$sourceUrl(t4);
  78826. if (canonicalUrl != null) {
  78827. t4 = t2._activeModules;
  78828. if (t4.containsKey$1(canonicalUrl)) {
  78829. if (_this.namesInErrors) {
  78830. t1 = canonicalUrl;
  78831. t3 = $.$get$context();
  78832. t1.toString;
  78833. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  78834. } else
  78835. message = string$.Modulel;
  78836. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t2, message));
  78837. throw A.wrapException(t1 == null ? t2._evaluate$_exception$1(message) : t1);
  78838. } else
  78839. t4.$indexSet(0, canonicalUrl, t3);
  78840. }
  78841. t4 = t2._modules.containsKey$1(canonicalUrl);
  78842. oldInDependency = t2._inDependency;
  78843. t2._inDependency = _1_0._2;
  78844. t1.module = null;
  78845. try {
  78846. t1.module = t2._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  78847. } finally {
  78848. t2._activeModules.remove$1(0, canonicalUrl);
  78849. t2._inDependency = oldInDependency;
  78850. }
  78851. t2._addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure0(t1, _this.callback, !t4), false);
  78852. },
  78853. $signature: 1
  78854. };
  78855. A._EvaluateVisitor__loadModule__closure.prototype = {
  78856. call$1(previousLoad) {
  78857. return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  78858. },
  78859. $signature: 104
  78860. };
  78861. A._EvaluateVisitor__loadModule__closure0.prototype = {
  78862. call$0() {
  78863. return this.callback.call$2(this._box_1.module, this.firstLoad);
  78864. },
  78865. $signature: 0
  78866. };
  78867. A._EvaluateVisitor__execute_closure.prototype = {
  78868. call$0() {
  78869. var t3, t4, t5, t6, _this = this,
  78870. t1 = _this.$this,
  78871. oldImporter = t1._importer,
  78872. oldStylesheet = t1.__stylesheet,
  78873. oldRoot = t1.__root,
  78874. oldPreModuleComments = t1._preModuleComments,
  78875. oldParent = t1.__parent,
  78876. oldEndOfImports = t1.__endOfImports,
  78877. oldOutOfOrderImports = t1._outOfOrderImports,
  78878. oldExtensionStore = t1.__extensionStore,
  78879. t2 = t1._atRootExcludingStyleRule,
  78880. oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
  78881. oldMediaQueries = t1._mediaQueries,
  78882. oldDeclarationName = t1._declarationName,
  78883. oldInUnknownAtRule = t1._inUnknownAtRule,
  78884. oldInKeyframes = t1._inKeyframes,
  78885. oldConfiguration = t1._configuration;
  78886. t1._importer = _this.importer;
  78887. t3 = t1.__stylesheet = _this.stylesheet;
  78888. t4 = t3.span;
  78889. t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
  78890. t1.__endOfImports = 0;
  78891. t1._outOfOrderImports = null;
  78892. t1.__extensionStore = _this.extensionStore;
  78893. t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
  78894. t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
  78895. t6 = _this.configuration;
  78896. if (t6 != null)
  78897. t1._configuration = t6;
  78898. t1.visitStylesheet$1(0, t3);
  78899. t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  78900. _this.css.__late_helper$_value = t3;
  78901. _this.preModuleComments.__late_helper$_value = t1._preModuleComments;
  78902. t1._importer = oldImporter;
  78903. t1.__stylesheet = oldStylesheet;
  78904. t1.__root = oldRoot;
  78905. t1._preModuleComments = oldPreModuleComments;
  78906. t1.__parent = oldParent;
  78907. t1.__endOfImports = oldEndOfImports;
  78908. t1._outOfOrderImports = oldOutOfOrderImports;
  78909. t1.__extensionStore = oldExtensionStore;
  78910. t1._styleRuleIgnoringAtRoot = oldStyleRule;
  78911. t1._mediaQueries = oldMediaQueries;
  78912. t1._declarationName = oldDeclarationName;
  78913. t1._inUnknownAtRule = oldInUnknownAtRule;
  78914. t1._atRootExcludingStyleRule = t2;
  78915. t1._inKeyframes = oldInKeyframes;
  78916. t1._configuration = oldConfiguration;
  78917. },
  78918. $signature: 1
  78919. };
  78920. A._EvaluateVisitor__combineCss_closure.prototype = {
  78921. call$1(module) {
  78922. return module.get$transitivelyContainsCss();
  78923. },
  78924. $signature: 129
  78925. };
  78926. A._EvaluateVisitor__combineCss_closure0.prototype = {
  78927. call$1(target) {
  78928. return !this.selectors.contains$1(0, target);
  78929. },
  78930. $signature: 13
  78931. };
  78932. A._EvaluateVisitor__combineCss_visitModule.prototype = {
  78933. call$1(module) {
  78934. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  78935. if (!_this.seen.add$1(0, module))
  78936. return;
  78937. if (_this.clone)
  78938. module = module.cloneCss$0();
  78939. 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) {
  78940. upstream = t1[_i];
  78941. if (upstream.get$transitivelyContainsCss()) {
  78942. _1_0 = module.get$preModuleComments().$index(0, upstream);
  78943. if (_1_0 != null)
  78944. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  78945. _this.call$1(upstream);
  78946. }
  78947. }
  78948. _this.sorted.addFirst$1(module);
  78949. t1 = module.get$css(module);
  78950. statements = t1.get$children(t1);
  78951. index = _this.$this._indexAfterImports$1(statements);
  78952. t1 = J.getInterceptor$ax(statements);
  78953. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  78954. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  78955. },
  78956. $signature: 300
  78957. };
  78958. A._EvaluateVisitor__extendModules_closure.prototype = {
  78959. call$1(target) {
  78960. return !this.originalSelectors.contains$1(0, target);
  78961. },
  78962. $signature: 13
  78963. };
  78964. A._EvaluateVisitor__extendModules_closure0.prototype = {
  78965. call$0() {
  78966. return A._setArrayType([], type$.JSArray_ExtensionStore);
  78967. },
  78968. $signature: 171
  78969. };
  78970. A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
  78971. call$0() {
  78972. var t1, t2, t3, _i;
  78973. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  78974. t1[_i].accept$1(t3);
  78975. },
  78976. $signature: 1
  78977. };
  78978. A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
  78979. call$0() {
  78980. var t1, t2, t3, _i;
  78981. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  78982. t1[_i].accept$1(t3);
  78983. },
  78984. $signature: 0
  78985. };
  78986. A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
  78987. call$1(callback) {
  78988. var t1 = this.$this,
  78989. oldParent = t1._assertInModule$2(t1.__parent, "__parent");
  78990. t1.__parent = this.newParent;
  78991. t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  78992. t1.__parent = oldParent;
  78993. },
  78994. $signature: 35
  78995. };
  78996. A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
  78997. call$1(callback) {
  78998. var t1 = this.$this,
  78999. oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
  79000. t1._atRootExcludingStyleRule = true;
  79001. this.innerScope.call$1(callback);
  79002. t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  79003. },
  79004. $signature: 35
  79005. };
  79006. A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
  79007. call$1(callback) {
  79008. return this.$this._withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
  79009. },
  79010. $signature: 35
  79011. };
  79012. A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
  79013. call$0() {
  79014. return this.innerScope.call$1(this.callback);
  79015. },
  79016. $signature: 1
  79017. };
  79018. A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
  79019. call$1(callback) {
  79020. var t1 = this.$this,
  79021. wasInKeyframes = t1._inKeyframes;
  79022. t1._inKeyframes = false;
  79023. this.innerScope.call$1(callback);
  79024. t1._inKeyframes = wasInKeyframes;
  79025. },
  79026. $signature: 35
  79027. };
  79028. A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
  79029. call$1($parent) {
  79030. return $parent instanceof A.ModifiableCssAtRule;
  79031. },
  79032. $signature: 172
  79033. };
  79034. A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
  79035. call$1(callback) {
  79036. var t1 = this.$this,
  79037. wasInUnknownAtRule = t1._inUnknownAtRule;
  79038. t1._inUnknownAtRule = false;
  79039. this.innerScope.call$1(callback);
  79040. t1._inUnknownAtRule = wasInUnknownAtRule;
  79041. },
  79042. $signature: 35
  79043. };
  79044. A._EvaluateVisitor_visitContentRule_closure.prototype = {
  79045. call$0() {
  79046. var t1, t2, t3, _i;
  79047. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79048. t1[_i].accept$1(t3);
  79049. return null;
  79050. },
  79051. $signature: 1
  79052. };
  79053. A._EvaluateVisitor_visitDeclaration_closure.prototype = {
  79054. call$0() {
  79055. var t1, t2, t3, _i;
  79056. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79057. t1[_i].accept$1(t3);
  79058. },
  79059. $signature: 1
  79060. };
  79061. A._EvaluateVisitor_visitEachRule_closure.prototype = {
  79062. call$1(value) {
  79063. var t1 = this.$this,
  79064. t2 = this.nodeWithSpan;
  79065. return t1._environment.setLocalVariable$3(this._box_0.variable, t1._withoutSlash$2(value, t2), t2);
  79066. },
  79067. $signature: 60
  79068. };
  79069. A._EvaluateVisitor_visitEachRule_closure0.prototype = {
  79070. call$1(value) {
  79071. return this.$this._setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  79072. },
  79073. $signature: 60
  79074. };
  79075. A._EvaluateVisitor_visitEachRule_closure1.prototype = {
  79076. call$0() {
  79077. var _this = this,
  79078. t1 = _this.$this;
  79079. return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
  79080. },
  79081. $signature: 43
  79082. };
  79083. A._EvaluateVisitor_visitEachRule__closure.prototype = {
  79084. call$1(element) {
  79085. var t1;
  79086. this.setVariables.call$1(element);
  79087. t1 = this.$this;
  79088. return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
  79089. },
  79090. $signature: 298
  79091. };
  79092. A._EvaluateVisitor_visitEachRule___closure.prototype = {
  79093. call$1(child) {
  79094. return child.accept$1(this.$this);
  79095. },
  79096. $signature: 83
  79097. };
  79098. A._EvaluateVisitor_visitAtRule_closure.prototype = {
  79099. call$1(value) {
  79100. return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
  79101. },
  79102. $signature: 295
  79103. };
  79104. A._EvaluateVisitor_visitAtRule_closure0.prototype = {
  79105. call$0() {
  79106. var t2, t3, _i, _this = this,
  79107. t1 = _this.$this,
  79108. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  79109. if (styleRule == null || t1._inKeyframes || J.$eq$(_this.name.value, "font-face"))
  79110. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79111. t2[_i].accept$1(t1);
  79112. else
  79113. 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);
  79114. },
  79115. $signature: 1
  79116. };
  79117. A._EvaluateVisitor_visitAtRule__closure.prototype = {
  79118. call$0() {
  79119. var t1, t2, t3, _i;
  79120. for (t1 = this.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_visitAtRule_closure1.prototype = {
  79126. call$1(node) {
  79127. return node instanceof A.ModifiableCssStyleRule;
  79128. },
  79129. $signature: 8
  79130. };
  79131. A._EvaluateVisitor_visitForRule_closure.prototype = {
  79132. call$0() {
  79133. return this.node.from.accept$1(this.$this).assertNumber$0();
  79134. },
  79135. $signature: 188
  79136. };
  79137. A._EvaluateVisitor_visitForRule_closure0.prototype = {
  79138. call$0() {
  79139. return this.node.to.accept$1(this.$this).assertNumber$0();
  79140. },
  79141. $signature: 188
  79142. };
  79143. A._EvaluateVisitor_visitForRule_closure1.prototype = {
  79144. call$0() {
  79145. return this.fromNumber.assertInt$0();
  79146. },
  79147. $signature: 10
  79148. };
  79149. A._EvaluateVisitor_visitForRule_closure2.prototype = {
  79150. call$0() {
  79151. var t1 = this.fromNumber;
  79152. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  79153. },
  79154. $signature: 10
  79155. };
  79156. A._EvaluateVisitor_visitForRule_closure3.prototype = {
  79157. call$0() {
  79158. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  79159. t1 = _this.$this,
  79160. t2 = _this.node,
  79161. nodeWithSpan = t1._expressionNode$1(t2.from);
  79162. 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) {
  79163. t7 = t1._environment;
  79164. t8 = t6.get$numeratorUnits(t6);
  79165. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  79166. _0_0 = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
  79167. if (_0_0 != null)
  79168. return _0_0;
  79169. }
  79170. return null;
  79171. },
  79172. $signature: 43
  79173. };
  79174. A._EvaluateVisitor_visitForRule__closure.prototype = {
  79175. call$1(child) {
  79176. return child.accept$1(this.$this);
  79177. },
  79178. $signature: 83
  79179. };
  79180. A._EvaluateVisitor_visitForwardRule_closure.prototype = {
  79181. call$2(module, firstLoad) {
  79182. if (firstLoad)
  79183. this.$this._registerCommentsForModule$1(module);
  79184. this.$this._environment.forwardModule$2(module, this.node);
  79185. },
  79186. $signature: 80
  79187. };
  79188. A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
  79189. call$2(module, firstLoad) {
  79190. if (firstLoad)
  79191. this.$this._registerCommentsForModule$1(module);
  79192. this.$this._environment.forwardModule$2(module, this.node);
  79193. },
  79194. $signature: 80
  79195. };
  79196. A._EvaluateVisitor__registerCommentsForModule_closure.prototype = {
  79197. call$0() {
  79198. return A._setArrayType([], type$.JSArray_CssComment);
  79199. },
  79200. $signature: 176
  79201. };
  79202. A._EvaluateVisitor_visitIfRule_closure.prototype = {
  79203. call$1(clause) {
  79204. var t1 = this.$this;
  79205. return t1._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  79206. },
  79207. $signature: 294
  79208. };
  79209. A._EvaluateVisitor_visitIfRule__closure.prototype = {
  79210. call$0() {
  79211. var t1 = this.$this;
  79212. return t1._handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure(t1));
  79213. },
  79214. $signature: 43
  79215. };
  79216. A._EvaluateVisitor_visitIfRule___closure.prototype = {
  79217. call$1(child) {
  79218. return child.accept$1(this.$this);
  79219. },
  79220. $signature: 83
  79221. };
  79222. A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
  79223. call$0() {
  79224. 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 = {};
  79225. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  79226. t1 = this.$this;
  79227. t2 = this.$import;
  79228. _0_0 = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  79229. stylesheet = _box_0.stylesheet = _0_0._0;
  79230. importer = _0_0._1;
  79231. _box_0.importer = importer;
  79232. isDependency = _0_0._2;
  79233. _box_0.isDependency = isDependency;
  79234. t3 = stylesheet.span;
  79235. url = t3.get$sourceUrl(t3);
  79236. if (url != null) {
  79237. t3 = t1._activeModules;
  79238. if (t3.containsKey$1(url)) {
  79239. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
  79240. throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
  79241. }
  79242. t3.$indexSet(0, url, t2);
  79243. }
  79244. t2 = stylesheet._uses;
  79245. t3 = type$.UnmodifiableListView_UseRule;
  79246. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule).get$length(0) === 0) {
  79247. oldImporter = t1._importer;
  79248. oldStylesheet = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
  79249. oldInDependency = t1._inDependency;
  79250. t1._importer = importer;
  79251. t1.__stylesheet = stylesheet;
  79252. t1._inDependency = isDependency;
  79253. t1.visitStylesheet$1(0, stylesheet);
  79254. t1._importer = oldImporter;
  79255. t1.__stylesheet = oldStylesheet;
  79256. t1._inDependency = oldInDependency;
  79257. t1._activeModules.remove$1(0, url);
  79258. return;
  79259. }
  79260. t2 = new A.UnmodifiableListView(t2, t3);
  79261. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
  79262. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  79263. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
  79264. } else
  79265. loadsUserDefinedModules = true;
  79266. children = A._Cell$();
  79267. t2 = t1._environment;
  79268. t3 = type$.String;
  79269. t4 = type$.Module_Callable;
  79270. t5 = type$.AstNode;
  79271. t6 = A._setArrayType([], type$.JSArray_Module_Callable);
  79272. t7 = t2._variables;
  79273. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  79274. t8 = t2._variableNodes;
  79275. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  79276. t9 = t2._functions;
  79277. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  79278. t10 = t2._mixins;
  79279. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  79280. 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);
  79281. t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(_box_0, t1, loadsUserDefinedModules, environment, children));
  79282. module = environment.toDummyModule$0();
  79283. t1._environment.importForwards$1(module);
  79284. if (loadsUserDefinedModules) {
  79285. if (module.transitivelyContainsCss)
  79286. t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  79287. visitor = new A._ImportedCssVisitor(t1);
  79288. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  79289. t2.get$current(t2).accept$1(visitor);
  79290. }
  79291. t1._activeModules.remove$1(0, url);
  79292. },
  79293. $signature: 0
  79294. };
  79295. A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
  79296. call$1(previousLoad) {
  79297. 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));
  79298. },
  79299. $signature: 104
  79300. };
  79301. A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
  79302. call$1(rule) {
  79303. return rule.url.get$scheme() !== "sass";
  79304. },
  79305. $signature: 177
  79306. };
  79307. A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
  79308. call$1(rule) {
  79309. return rule.url.get$scheme() !== "sass";
  79310. },
  79311. $signature: 178
  79312. };
  79313. A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
  79314. call$0() {
  79315. var t3, t4, _this = this,
  79316. t1 = _this.$this,
  79317. oldImporter = t1._importer,
  79318. oldStylesheet = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
  79319. oldRoot = t1._assertInModule$2(t1.__root, "_root"),
  79320. oldParent = t1._assertInModule$2(t1.__parent, "__parent"),
  79321. oldEndOfImports = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
  79322. oldOutOfOrderImports = t1._outOfOrderImports,
  79323. oldConfiguration = t1._configuration,
  79324. oldInDependency = t1._inDependency,
  79325. t2 = _this._box_0;
  79326. t1._importer = t2.importer;
  79327. t3 = t2.stylesheet;
  79328. t1.__stylesheet = t3;
  79329. t4 = _this.loadsUserDefinedModules;
  79330. if (t4) {
  79331. t3 = A.ModifiableCssStylesheet$(t3.span);
  79332. t1.__root = t3;
  79333. t1.__parent = t1._assertInModule$2(t3, "_root");
  79334. t1.__endOfImports = 0;
  79335. t1._outOfOrderImports = null;
  79336. }
  79337. t1._inDependency = t2.isDependency;
  79338. t3 = new A.UnmodifiableListView(t2.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  79339. if (!t3.get$isEmpty(t3))
  79340. t1._configuration = _this.environment.toImplicitConfiguration$0();
  79341. t1.visitStylesheet$1(0, t2.stylesheet);
  79342. t2 = t4 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  79343. _this.children.__late_helper$_value = t2;
  79344. t1._importer = oldImporter;
  79345. t1.__stylesheet = oldStylesheet;
  79346. if (t4) {
  79347. t1.__root = oldRoot;
  79348. t1.__parent = oldParent;
  79349. t1.__endOfImports = oldEndOfImports;
  79350. t1._outOfOrderImports = oldOutOfOrderImports;
  79351. }
  79352. t1._configuration = oldConfiguration;
  79353. t1._inDependency = oldInDependency;
  79354. },
  79355. $signature: 1
  79356. };
  79357. A._EvaluateVisitor__applyMixin_closure.prototype = {
  79358. call$0() {
  79359. var _this = this,
  79360. t1 = _this.$this;
  79361. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure0(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  79362. },
  79363. $signature: 0
  79364. };
  79365. A._EvaluateVisitor__applyMixin__closure0.prototype = {
  79366. call$0() {
  79367. var _this = this;
  79368. _this.$this._runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  79369. },
  79370. $signature: 0
  79371. };
  79372. A._EvaluateVisitor__applyMixin_closure0.prototype = {
  79373. call$0() {
  79374. var _this = this,
  79375. t1 = _this.$this;
  79376. t1._environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  79377. },
  79378. $signature: 1
  79379. };
  79380. A._EvaluateVisitor__applyMixin__closure.prototype = {
  79381. call$0() {
  79382. var t1 = this.$this;
  79383. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure(t1, this.mixin, this.nodeWithSpanWithoutContent));
  79384. },
  79385. $signature: 0
  79386. };
  79387. A._EvaluateVisitor__applyMixin___closure.prototype = {
  79388. call$0() {
  79389. var t1, t2, t3, t4, _i;
  79390. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  79391. t3._addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure(t3, t1[_i]));
  79392. },
  79393. $signature: 0
  79394. };
  79395. A._EvaluateVisitor__applyMixin____closure.prototype = {
  79396. call$0() {
  79397. return this.statement.accept$1(this.$this);
  79398. },
  79399. $signature: 43
  79400. };
  79401. A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
  79402. call$0() {
  79403. var t1 = this.node;
  79404. return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
  79405. },
  79406. $signature: 81
  79407. };
  79408. A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
  79409. call$1($content) {
  79410. var t1 = this.$this;
  79411. return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
  79412. },
  79413. $signature: 292
  79414. };
  79415. A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
  79416. call$0() {
  79417. return this.node.get$spanWithoutContent();
  79418. },
  79419. $signature: 27
  79420. };
  79421. A._EvaluateVisitor_visitMediaRule_closure.prototype = {
  79422. call$1(mediaQueries) {
  79423. return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
  79424. },
  79425. $signature: 91
  79426. };
  79427. A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
  79428. call$0() {
  79429. var _this = this,
  79430. t1 = _this.$this,
  79431. t2 = _this.mergedQueries;
  79432. if (t2 == null)
  79433. t2 = _this.queries;
  79434. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
  79435. },
  79436. $signature: 1
  79437. };
  79438. A._EvaluateVisitor_visitMediaRule__closure.prototype = {
  79439. call$0() {
  79440. var t2, t3, _i,
  79441. t1 = this.$this,
  79442. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  79443. if (_0_0 != null)
  79444. 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);
  79445. else
  79446. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79447. t2[_i].accept$1(t1);
  79448. },
  79449. $signature: 1
  79450. };
  79451. A._EvaluateVisitor_visitMediaRule___closure.prototype = {
  79452. call$0() {
  79453. var t1, t2, t3, _i;
  79454. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79455. t1[_i].accept$1(t3);
  79456. },
  79457. $signature: 1
  79458. };
  79459. A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
  79460. call$1(node) {
  79461. var t1;
  79462. if (!(node instanceof A.ModifiableCssStyleRule)) {
  79463. t1 = this.mergedSources;
  79464. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  79465. } else
  79466. t1 = true;
  79467. return t1;
  79468. },
  79469. $signature: 8
  79470. };
  79471. A._EvaluateVisitor_visitStyleRule_closure.prototype = {
  79472. call$0() {
  79473. var t1, t2, t3, _i;
  79474. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79475. t1[_i].accept$1(t3);
  79476. },
  79477. $signature: 1
  79478. };
  79479. A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
  79480. call$1(node) {
  79481. return node instanceof A.ModifiableCssStyleRule;
  79482. },
  79483. $signature: 8
  79484. };
  79485. A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
  79486. call$0() {
  79487. var t1 = this.$this;
  79488. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
  79489. },
  79490. $signature: 1
  79491. };
  79492. A._EvaluateVisitor_visitStyleRule__closure.prototype = {
  79493. call$0() {
  79494. var t1, t2, t3, _i;
  79495. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79496. t1[_i].accept$1(t3);
  79497. },
  79498. $signature: 1
  79499. };
  79500. A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
  79501. call$1(node) {
  79502. return node instanceof A.ModifiableCssStyleRule;
  79503. },
  79504. $signature: 8
  79505. };
  79506. A._EvaluateVisitor__warnForBogusCombinators_closure.prototype = {
  79507. call$1(child) {
  79508. return child instanceof A.ModifiableCssComment;
  79509. },
  79510. $signature: 8
  79511. };
  79512. A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
  79513. call$0() {
  79514. var t2, t3, _i,
  79515. t1 = this.$this,
  79516. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  79517. if (_0_0 != null)
  79518. 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);
  79519. else
  79520. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79521. t2[_i].accept$1(t1);
  79522. },
  79523. $signature: 1
  79524. };
  79525. A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
  79526. call$0() {
  79527. var t1, t2, t3, _i;
  79528. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79529. t1[_i].accept$1(t3);
  79530. },
  79531. $signature: 1
  79532. };
  79533. A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
  79534. call$1(node) {
  79535. return node instanceof A.ModifiableCssStyleRule;
  79536. },
  79537. $signature: 8
  79538. };
  79539. A._EvaluateVisitor__visitSupportsCondition_closure.prototype = {
  79540. call$0() {
  79541. var t4,
  79542. t1 = this.$this,
  79543. t2 = this._box_0,
  79544. t3 = t2.declaration.name;
  79545. t3 = t1._evaluate$_serialize$3$quote(t3.accept$1(t1), t3, true);
  79546. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  79547. t2 = t2.declaration.value;
  79548. return "(" + t3 + ":" + t4 + t1._evaluate$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  79549. },
  79550. $signature: 32
  79551. };
  79552. A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
  79553. call$0() {
  79554. var t1 = this.$this._environment,
  79555. t2 = this._box_0.override;
  79556. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  79557. },
  79558. $signature: 1
  79559. };
  79560. A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
  79561. call$0() {
  79562. var t1 = this.node;
  79563. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  79564. },
  79565. $signature: 43
  79566. };
  79567. A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
  79568. call$0() {
  79569. var t1 = this.$this,
  79570. t2 = this.node;
  79571. t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  79572. },
  79573. $signature: 1
  79574. };
  79575. A._EvaluateVisitor_visitUseRule_closure.prototype = {
  79576. call$2(module, firstLoad) {
  79577. var t1, t2, t3, _0_0, t4, t5, span;
  79578. if (firstLoad)
  79579. this.$this._registerCommentsForModule$1(module);
  79580. t1 = this.$this._environment;
  79581. t2 = this.node;
  79582. t3 = t2.namespace;
  79583. if (t3 == null) {
  79584. t1._globalModules.$indexSet(0, module, t2);
  79585. t1._allModules.push(module);
  79586. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._variables)), module.get$variables().get$containsKey());
  79587. if (_0_0 != null)
  79588. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  79589. } else {
  79590. t4 = t1._environment$_modules;
  79591. if (t4.containsKey$1(t3)) {
  79592. t5 = t1._namespaceNodes.$index(0, t3);
  79593. span = t5 == null ? null : t5.span;
  79594. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  79595. if (span != null)
  79596. t5.$indexSet(0, span, "original @use");
  79597. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  79598. }
  79599. t4.$indexSet(0, t3, module);
  79600. t1._namespaceNodes.$indexSet(0, t3, t2);
  79601. t1._allModules.push(module);
  79602. }
  79603. },
  79604. $signature: 80
  79605. };
  79606. A._EvaluateVisitor_visitWarnRule_closure.prototype = {
  79607. call$0() {
  79608. return this.node.expression.accept$1(this.$this);
  79609. },
  79610. $signature: 36
  79611. };
  79612. A._EvaluateVisitor_visitWhileRule_closure.prototype = {
  79613. call$0() {
  79614. var t1, t2, t3, _0_0;
  79615. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  79616. _0_0 = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
  79617. if (_0_0 != null)
  79618. return _0_0;
  79619. }
  79620. return null;
  79621. },
  79622. $signature: 43
  79623. };
  79624. A._EvaluateVisitor_visitWhileRule__closure.prototype = {
  79625. call$1(child) {
  79626. return child.accept$1(this.$this);
  79627. },
  79628. $signature: 83
  79629. };
  79630. A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
  79631. call$0() {
  79632. var t1 = this.node,
  79633. t2 = this.$this,
  79634. left = t1.left.accept$1(t2);
  79635. switch (t1.operator) {
  79636. case B.BinaryOperator_Kyq:
  79637. t1 = t1.right.accept$1(t2);
  79638. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  79639. break;
  79640. case B.BinaryOperator_tKu:
  79641. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  79642. break;
  79643. case B.BinaryOperator_uke:
  79644. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  79645. break;
  79646. case B.BinaryOperator_r84:
  79647. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  79648. break;
  79649. case B.BinaryOperator_qGq:
  79650. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  79651. break;
  79652. case B.BinaryOperator_o8O:
  79653. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  79654. break;
  79655. case B.BinaryOperator_JiR:
  79656. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  79657. break;
  79658. case B.BinaryOperator_qHy:
  79659. t1 = left.lessThan$1(t1.right.accept$1(t2));
  79660. break;
  79661. case B.BinaryOperator_FPG:
  79662. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  79663. break;
  79664. case B.BinaryOperator_Swh:
  79665. t1 = left.plus$1(t1.right.accept$1(t2));
  79666. break;
  79667. case B.BinaryOperator_QG1:
  79668. t1 = left.minus$1(t1.right.accept$1(t2));
  79669. break;
  79670. case B.BinaryOperator_tht:
  79671. t1 = left.times$1(t1.right.accept$1(t2));
  79672. break;
  79673. case B.BinaryOperator_Mh5:
  79674. t1 = t2._slash$3(left, t1.right.accept$1(t2), t1);
  79675. break;
  79676. case B.BinaryOperator_s7T:
  79677. t1 = left.modulo$1(t1.right.accept$1(t2));
  79678. break;
  79679. default:
  79680. t1 = null;
  79681. }
  79682. return t1;
  79683. },
  79684. $signature: 36
  79685. };
  79686. A._EvaluateVisitor__slash_recommendation.prototype = {
  79687. call$1(expression) {
  79688. var t1;
  79689. $label0$0: {
  79690. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_Mh5 === expression.operator) {
  79691. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  79692. break $label0$0;
  79693. }
  79694. if (expression instanceof A.ParenthesizedExpression) {
  79695. t1 = expression.expression.toString$0(0);
  79696. break $label0$0;
  79697. }
  79698. t1 = expression.toString$0(0);
  79699. break $label0$0;
  79700. }
  79701. return t1;
  79702. },
  79703. $signature: 133
  79704. };
  79705. A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
  79706. call$0() {
  79707. var t1 = this.node;
  79708. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  79709. },
  79710. $signature: 43
  79711. };
  79712. A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
  79713. call$0() {
  79714. var t1, _this = this;
  79715. switch (_this.node.operator) {
  79716. case B.UnaryOperator_Rbl:
  79717. t1 = _this.operand.unaryPlus$0();
  79718. break;
  79719. case B.UnaryOperator_UCP:
  79720. t1 = _this.operand.unaryMinus$0();
  79721. break;
  79722. case B.UnaryOperator_lZV:
  79723. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  79724. break;
  79725. case B.UnaryOperator_not_not_not:
  79726. t1 = _this.operand.unaryNot$0();
  79727. break;
  79728. default:
  79729. t1 = null;
  79730. }
  79731. return t1;
  79732. },
  79733. $signature: 36
  79734. };
  79735. A._EvaluateVisitor_visitListExpression_closure.prototype = {
  79736. call$1(expression) {
  79737. return expression.accept$1(this.$this);
  79738. },
  79739. $signature: 277
  79740. };
  79741. A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
  79742. call$0() {
  79743. var t1 = this.node;
  79744. return this.$this._environment.getFunction$2$namespace(t1.name, t1.namespace);
  79745. },
  79746. $signature: 81
  79747. };
  79748. A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
  79749. call$1(argument) {
  79750. return argument.accept$1(B.C_IsCalculationSafeVisitor);
  79751. },
  79752. $signature: 118
  79753. };
  79754. A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
  79755. call$0() {
  79756. var t1 = this.node;
  79757. return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  79758. },
  79759. $signature: 36
  79760. };
  79761. A._EvaluateVisitor__visitCalculation_closure.prototype = {
  79762. call$2(message, deprecation) {
  79763. return this.$this._warn$3(message, this.node.span, deprecation);
  79764. },
  79765. call$1(message) {
  79766. return this.call$2(message, null);
  79767. },
  79768. $signature: 101
  79769. };
  79770. A._EvaluateVisitor__checkCalculationArguments_check.prototype = {
  79771. call$1(maxArgs) {
  79772. var t1 = this.node,
  79773. t2 = t1.$arguments.positional.length;
  79774. if (t2 === 0)
  79775. throw A.wrapException(this.$this._evaluate$_exception$2("Missing argument.", t1.span));
  79776. else if (maxArgs != null && t2 > maxArgs)
  79777. 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));
  79778. },
  79779. call$0() {
  79780. return this.call$1(null);
  79781. },
  79782. $signature: 107
  79783. };
  79784. A._EvaluateVisitor__visitCalculationExpression_closure.prototype = {
  79785. call$0() {
  79786. var _this = this,
  79787. t1 = _this.$this,
  79788. t2 = _this._box_0,
  79789. t3 = _this.node,
  79790. t4 = _this.inLegacySassFunction;
  79791. 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));
  79792. },
  79793. $signature: 84
  79794. };
  79795. A._EvaluateVisitor__visitCalculationExpression__closure.prototype = {
  79796. call$2(message, deprecation) {
  79797. return this.$this._warn$3(message, this.node.get$span(0), deprecation);
  79798. },
  79799. call$1(message) {
  79800. return this.call$2(message, null);
  79801. },
  79802. $signature: 101
  79803. };
  79804. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
  79805. call$0() {
  79806. var t1 = this.node;
  79807. return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
  79808. },
  79809. $signature: 36
  79810. };
  79811. A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
  79812. call$0() {
  79813. var _this = this,
  79814. t1 = _this.$this,
  79815. t2 = _this.callable;
  79816. return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  79817. },
  79818. $signature() {
  79819. return this.V._eval$1("0()");
  79820. }
  79821. };
  79822. A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
  79823. call$0() {
  79824. var _this = this,
  79825. t1 = _this.$this,
  79826. t2 = _this.V;
  79827. return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  79828. },
  79829. $signature() {
  79830. return this.V._eval$1("0()");
  79831. }
  79832. };
  79833. A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
  79834. call$0() {
  79835. var parameters, t5, minLength, i, parameter, t6, value, t7, t8, restParameter, rest, argumentList, result, parameterWord, _this = this,
  79836. t1 = _this.$this,
  79837. t2 = _this.evaluated._values,
  79838. t3 = _this.callable.declaration.parameters,
  79839. t4 = _this.nodeWithSpan;
  79840. t1._verifyArguments$4(t2[2].length, t2[0], t3, t4);
  79841. parameters = t3.parameters;
  79842. t5 = parameters.length;
  79843. minLength = Math.min(t2[2].length, t5);
  79844. for (i = 0; i < minLength; ++i)
  79845. t1._environment.setLocalVariable$3(parameters[i].name, t2[2][i], t2[3][i]);
  79846. for (i = t2[2].length; i < t5; ++i) {
  79847. parameter = parameters[i];
  79848. t6 = parameter.name;
  79849. value = t2[0].remove$1(0, t6);
  79850. if (value == null) {
  79851. t7 = parameter.defaultValue;
  79852. value = t1._withoutSlash$2(t7.accept$1(t1), t1._expressionNode$1(t7));
  79853. }
  79854. t7 = t1._environment;
  79855. t8 = t2[1].$index(0, t6);
  79856. if (t8 == null) {
  79857. t8 = parameter.defaultValue;
  79858. t8.toString;
  79859. t8 = t1._expressionNode$1(t8);
  79860. }
  79861. t7.setLocalVariable$3(t6, value, t8);
  79862. }
  79863. restParameter = t3.restParameter;
  79864. if (restParameter != null) {
  79865. t6 = t2[2];
  79866. rest = t6.length > t5 ? B.JSArray_methods.sublist$1(t6, t5) : B.List_empty8;
  79867. t5 = t2[0];
  79868. t6 = t2[4];
  79869. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : t6);
  79870. t1._environment.setLocalVariable$3(restParameter, argumentList, t4);
  79871. } else
  79872. argumentList = null;
  79873. result = _this.run.call$0();
  79874. if (argumentList == null)
  79875. return result;
  79876. t5 = t2[0].__js_helper$_length;
  79877. if (t5 === 0)
  79878. return result;
  79879. if (argumentList._wereKeywordsAccessed)
  79880. return result;
  79881. parameterWord = A.pluralize("parameter", t5, null);
  79882. t2 = t2[0];
  79883. t5 = A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>");
  79884. 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));
  79885. },
  79886. $signature() {
  79887. return this.V._eval$1("0()");
  79888. }
  79889. };
  79890. A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
  79891. call$1($name) {
  79892. return "$" + $name;
  79893. },
  79894. $signature: 6
  79895. };
  79896. A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
  79897. call$0() {
  79898. var t1, t2, t3, t4, _i, $returnValue;
  79899. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  79900. $returnValue = t2[_i].accept$1(t4);
  79901. if ($returnValue instanceof A.Value)
  79902. return $returnValue;
  79903. }
  79904. throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
  79905. },
  79906. $signature: 36
  79907. };
  79908. A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
  79909. call$0() {
  79910. return this._box_0.overload.verify$2(this.evaluated._values[2].length, this.namedSet);
  79911. },
  79912. $signature: 0
  79913. };
  79914. A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
  79915. call$0() {
  79916. return this._box_0.callback.call$1(this.evaluated._values[2]);
  79917. },
  79918. $signature: 36
  79919. };
  79920. A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
  79921. call$1($name) {
  79922. return "$" + $name;
  79923. },
  79924. $signature: 6
  79925. };
  79926. A._EvaluateVisitor__evaluateArguments_closure.prototype = {
  79927. call$1(value) {
  79928. return value;
  79929. },
  79930. $signature: 41
  79931. };
  79932. A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
  79933. call$1(value) {
  79934. return this.$this._withoutSlash$2(value, this.restNodeForSpan);
  79935. },
  79936. $signature: 41
  79937. };
  79938. A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
  79939. call$2(key, value) {
  79940. var _this = this,
  79941. t1 = _this.restNodeForSpan;
  79942. _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
  79943. _this.namedNodes.$indexSet(0, key, t1);
  79944. },
  79945. $signature: 109
  79946. };
  79947. A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
  79948. call$1(value) {
  79949. return value;
  79950. },
  79951. $signature: 41
  79952. };
  79953. A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
  79954. call$1(value) {
  79955. var t1 = this.restArgs;
  79956. return new A.ValueExpression(value, t1.get$span(t1));
  79957. },
  79958. $signature: 66
  79959. };
  79960. A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
  79961. call$1(value) {
  79962. var t1 = this.restArgs;
  79963. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  79964. },
  79965. $signature: 66
  79966. };
  79967. A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
  79968. call$2(key, value) {
  79969. var _this = this,
  79970. t1 = _this.restArgs;
  79971. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  79972. },
  79973. $signature: 109
  79974. };
  79975. A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
  79976. call$1(value) {
  79977. var t1 = this.keywordRestArgs;
  79978. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  79979. },
  79980. $signature: 66
  79981. };
  79982. A._EvaluateVisitor__addRestMap_closure.prototype = {
  79983. call$2(key, value) {
  79984. var t2, _this = this,
  79985. t1 = _this.$this;
  79986. if (key instanceof A.SassString)
  79987. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
  79988. else {
  79989. t2 = _this.nodeWithSpan;
  79990. 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)));
  79991. }
  79992. },
  79993. $signature: 100
  79994. };
  79995. A._EvaluateVisitor__verifyArguments_closure.prototype = {
  79996. call$0() {
  79997. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  79998. },
  79999. $signature: 0
  80000. };
  80001. A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
  80002. call$0() {
  80003. var t1, t2, t3, t4;
  80004. 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();) {
  80005. t4 = t1.__internal$_current;
  80006. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80007. }
  80008. },
  80009. $signature: 1
  80010. };
  80011. A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
  80012. call$1(node) {
  80013. return node instanceof A.ModifiableCssStyleRule;
  80014. },
  80015. $signature: 8
  80016. };
  80017. A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
  80018. call$0() {
  80019. var t1, t2, t3, t4;
  80020. 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();) {
  80021. t4 = t1.__internal$_current;
  80022. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80023. }
  80024. },
  80025. $signature: 1
  80026. };
  80027. A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
  80028. call$1(node) {
  80029. return node instanceof A.ModifiableCssStyleRule;
  80030. },
  80031. $signature: 8
  80032. };
  80033. A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
  80034. call$1(mediaQueries) {
  80035. return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
  80036. },
  80037. $signature: 91
  80038. };
  80039. A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
  80040. call$0() {
  80041. var _this = this,
  80042. t1 = _this.$this,
  80043. t2 = _this.mergedQueries;
  80044. if (t2 == null)
  80045. t2 = _this.node.queries;
  80046. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
  80047. },
  80048. $signature: 1
  80049. };
  80050. A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
  80051. call$0() {
  80052. var t2, t3, t4,
  80053. t1 = this.$this,
  80054. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  80055. if (_0_0 != null)
  80056. 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);
  80057. else
  80058. 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();) {
  80059. t4 = t2.__internal$_current;
  80060. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  80061. }
  80062. },
  80063. $signature: 1
  80064. };
  80065. A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
  80066. call$0() {
  80067. var t1, t2, t3, t4;
  80068. 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();) {
  80069. t4 = t1.__internal$_current;
  80070. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80071. }
  80072. },
  80073. $signature: 1
  80074. };
  80075. A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
  80076. call$1(node) {
  80077. var t1;
  80078. if (!(node instanceof A.ModifiableCssStyleRule)) {
  80079. t1 = this.mergedSources;
  80080. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  80081. } else
  80082. t1 = true;
  80083. return t1;
  80084. },
  80085. $signature: 8
  80086. };
  80087. A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
  80088. call$0() {
  80089. var t1 = this.$this;
  80090. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
  80091. },
  80092. $signature: 1
  80093. };
  80094. A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
  80095. call$0() {
  80096. var t1, t2, t3, t4;
  80097. 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();) {
  80098. t4 = t1.__internal$_current;
  80099. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80100. }
  80101. },
  80102. $signature: 1
  80103. };
  80104. A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
  80105. call$1(node) {
  80106. return node instanceof A.ModifiableCssStyleRule;
  80107. },
  80108. $signature: 8
  80109. };
  80110. A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
  80111. call$0() {
  80112. var t2, t3, t4,
  80113. t1 = this.$this,
  80114. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  80115. if (_0_0 != null)
  80116. 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);
  80117. else
  80118. 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();) {
  80119. t4 = t2.__internal$_current;
  80120. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  80121. }
  80122. },
  80123. $signature: 1
  80124. };
  80125. A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
  80126. call$0() {
  80127. var t1, t2, t3, t4;
  80128. 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();) {
  80129. t4 = t1.__internal$_current;
  80130. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80131. }
  80132. },
  80133. $signature: 1
  80134. };
  80135. A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
  80136. call$1(node) {
  80137. return node instanceof A.ModifiableCssStyleRule;
  80138. },
  80139. $signature: 8
  80140. };
  80141. A._EvaluateVisitor__performInterpolationHelper_closure.prototype = {
  80142. call$1(targetLocations) {
  80143. return A.InterpolationMap$(this.interpolation, targetLocations);
  80144. },
  80145. $signature: 183
  80146. };
  80147. A._EvaluateVisitor__serialize_closure.prototype = {
  80148. call$0() {
  80149. return A.serializeValue(this.value, false, this.quote);
  80150. },
  80151. $signature: 32
  80152. };
  80153. A._EvaluateVisitor__expressionNode_closure.prototype = {
  80154. call$0() {
  80155. var t1 = this.expression;
  80156. return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  80157. },
  80158. $signature: 184
  80159. };
  80160. A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
  80161. call$1(number) {
  80162. var before, after, t1,
  80163. _1_0 = number.asSlash;
  80164. $label0$0: {
  80165. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  80166. before = _1_0._0;
  80167. after = _1_0._1;
  80168. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  80169. break $label0$0;
  80170. }
  80171. t1 = A.serializeValue(number, true, true);
  80172. break $label0$0;
  80173. }
  80174. return t1;
  80175. },
  80176. $signature: 185
  80177. };
  80178. A._EvaluateVisitor__stackFrame_closure.prototype = {
  80179. call$1(url) {
  80180. var t1 = this.$this._evaluate$_importCache;
  80181. t1 = t1 == null ? null : t1.humanize$1(url);
  80182. return t1 == null ? url : t1;
  80183. },
  80184. $signature: 51
  80185. };
  80186. A._ImportedCssVisitor.prototype = {
  80187. visitCssAtRule$1(node) {
  80188. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
  80189. this._visitor._addChild$2$through(node, t1);
  80190. },
  80191. visitCssComment$1(node) {
  80192. return this._visitor._addChild$1(node);
  80193. },
  80194. visitCssDeclaration$1(node) {
  80195. },
  80196. visitCssImport$1(node) {
  80197. var t2,
  80198. _s13_ = "_endOfImports",
  80199. t1 = this._visitor;
  80200. if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
  80201. t1._addChild$1(node);
  80202. else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
  80203. t1._addChild$1(node);
  80204. t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
  80205. } else {
  80206. t2 = t1._outOfOrderImports;
  80207. (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  80208. }
  80209. },
  80210. visitCssKeyframeBlock$1(node) {
  80211. },
  80212. visitCssMediaRule$1(node) {
  80213. var t1 = this._visitor,
  80214. mediaQueries = t1._mediaQueries;
  80215. t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
  80216. },
  80217. visitCssStyleRule$1(node) {
  80218. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
  80219. },
  80220. visitCssStylesheet$1(node) {
  80221. var t1, t2, t3;
  80222. 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();) {
  80223. t3 = t1.__internal$_current;
  80224. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  80225. }
  80226. },
  80227. visitCssSupportsRule$1(node) {
  80228. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
  80229. }
  80230. };
  80231. A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
  80232. call$1(node) {
  80233. return node instanceof A.ModifiableCssStyleRule;
  80234. },
  80235. $signature: 8
  80236. };
  80237. A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
  80238. call$1(node) {
  80239. var t1;
  80240. if (!(node instanceof A.ModifiableCssStyleRule))
  80241. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  80242. else
  80243. t1 = true;
  80244. return t1;
  80245. },
  80246. $signature: 8
  80247. };
  80248. A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
  80249. call$1(node) {
  80250. return node instanceof A.ModifiableCssStyleRule;
  80251. },
  80252. $signature: 8
  80253. };
  80254. A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
  80255. call$1(node) {
  80256. return node instanceof A.ModifiableCssStyleRule;
  80257. },
  80258. $signature: 8
  80259. };
  80260. A._EvaluationContext.prototype = {
  80261. get$currentCallableSpan() {
  80262. var _0_0 = this._visitor._callableNode;
  80263. if (_0_0 != null)
  80264. return _0_0.get$span(_0_0);
  80265. throw A.wrapException(A.StateError$(string$.No_Sasc));
  80266. },
  80267. warn$2(_, message, deprecation) {
  80268. var t1 = this._visitor,
  80269. t2 = t1._importSpan;
  80270. if (t2 == null) {
  80271. t2 = t1._callableNode;
  80272. t2 = t2 == null ? null : t2.get$span(t2);
  80273. }
  80274. if (t2 == null) {
  80275. t2 = this._defaultWarnNodeWithSpan;
  80276. t2 = t2.get$span(t2);
  80277. }
  80278. t1._warn$3(message, t2, deprecation);
  80279. },
  80280. $isEvaluationContext: 1
  80281. };
  80282. A.EveryCssVisitor.prototype = {
  80283. visitCssAtRule$1(node) {
  80284. var t1 = node.children;
  80285. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure(this));
  80286. },
  80287. visitCssComment$1(node) {
  80288. return false;
  80289. },
  80290. visitCssDeclaration$1(node) {
  80291. return false;
  80292. },
  80293. visitCssImport$1(node) {
  80294. return false;
  80295. },
  80296. visitCssKeyframeBlock$1(node) {
  80297. var t1 = node.children;
  80298. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure(this));
  80299. },
  80300. visitCssMediaRule$1(node) {
  80301. var t1 = node.children;
  80302. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure(this));
  80303. },
  80304. visitCssStyleRule$1(node) {
  80305. var t1 = node.children;
  80306. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure(this));
  80307. },
  80308. visitCssStylesheet$1(node) {
  80309. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure(this));
  80310. },
  80311. visitCssSupportsRule$1(node) {
  80312. var t1 = node.children;
  80313. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure(this));
  80314. }
  80315. };
  80316. A.EveryCssVisitor_visitCssAtRule_closure.prototype = {
  80317. call$1(child) {
  80318. return child.accept$1(this.$this);
  80319. },
  80320. $signature: 8
  80321. };
  80322. A.EveryCssVisitor_visitCssKeyframeBlock_closure.prototype = {
  80323. call$1(child) {
  80324. return child.accept$1(this.$this);
  80325. },
  80326. $signature: 8
  80327. };
  80328. A.EveryCssVisitor_visitCssMediaRule_closure.prototype = {
  80329. call$1(child) {
  80330. return child.accept$1(this.$this);
  80331. },
  80332. $signature: 8
  80333. };
  80334. A.EveryCssVisitor_visitCssStyleRule_closure.prototype = {
  80335. call$1(child) {
  80336. return child.accept$1(this.$this);
  80337. },
  80338. $signature: 8
  80339. };
  80340. A.EveryCssVisitor_visitCssStylesheet_closure.prototype = {
  80341. call$1(child) {
  80342. return child.accept$1(this.$this);
  80343. },
  80344. $signature: 8
  80345. };
  80346. A.EveryCssVisitor_visitCssSupportsRule_closure.prototype = {
  80347. call$1(child) {
  80348. return child.accept$1(this.$this);
  80349. },
  80350. $signature: 8
  80351. };
  80352. A._MakeExpressionCalculationSafe.prototype = {
  80353. visitBinaryOperationExpression$1(_, node) {
  80354. var t1, t2, t3, t4;
  80355. if (node.operator === B.BinaryOperator_s7T) {
  80356. t1 = A._setArrayType([node], type$.JSArray_Expression);
  80357. t2 = node.get$span(0);
  80358. t3 = type$.Expression;
  80359. t1 = A.List_List$unmodifiable(t1, t3);
  80360. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty5, type$.String, t3);
  80361. t4 = node.get$span(0);
  80362. t1 = new A.FunctionExpression("math", A.stringReplaceAllUnchecked("max", "_", "-"), "max", new A.ArgumentList(t1, t3, null, null, t2), t4);
  80363. } else
  80364. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression(0, node);
  80365. return t1;
  80366. },
  80367. visitInterpolatedFunctionExpression$1(_, node) {
  80368. return node;
  80369. },
  80370. visitUnaryOperationExpression$1(_, node) {
  80371. var t1,
  80372. _0_0 = node.operator;
  80373. $label0$0: {
  80374. if (B.UnaryOperator_Rbl === _0_0) {
  80375. t1 = node.operand;
  80376. break $label0$0;
  80377. }
  80378. if (B.UnaryOperator_UCP === _0_0) {
  80379. t1 = new A.BinaryOperationExpression(B.BinaryOperator_tht, new A.NumberExpression(-1, null, node.span), node.operand, false);
  80380. break $label0$0;
  80381. }
  80382. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression(0, node);
  80383. break $label0$0;
  80384. }
  80385. return t1;
  80386. }
  80387. };
  80388. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor.prototype = {};
  80389. A._FindDependenciesVisitor.prototype = {
  80390. visitEachRule$1(_, node) {
  80391. },
  80392. visitForRule$1(_, node) {
  80393. },
  80394. visitIfRule$1(_, node) {
  80395. },
  80396. visitWhileRule$1(_, node) {
  80397. },
  80398. visitUseRule$1(_, node) {
  80399. var t1 = node.url;
  80400. if (t1.get$scheme() !== "sass")
  80401. this._find_dependencies$_uses.add$1(0, t1);
  80402. else if (t1.toString$0(0) === "sass:meta")
  80403. this._metaNamespaces.add$1(0, node.namespace);
  80404. },
  80405. visitForwardRule$1(_, node) {
  80406. var t1 = node.url;
  80407. if (t1.get$scheme() !== "sass")
  80408. this._find_dependencies$_forwards.add$1(0, t1);
  80409. },
  80410. visitImportRule$1(_, node) {
  80411. var t1, t2, t3, _i, $import;
  80412. for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
  80413. $import = t1[_i];
  80414. if ($import instanceof A.DynamicImport)
  80415. t3.add$1(0, A.Uri_parse($import.urlString));
  80416. }
  80417. },
  80418. visitIncludeRule$1(_, node) {
  80419. var url, _0_0, _0_4_isSet, _0_7, t1, _0_4, _0_7_isSet, url0, exception;
  80420. if (node.name !== "load-css")
  80421. return;
  80422. if (!this._metaNamespaces.contains$1(0, node.namespace))
  80423. return;
  80424. _0_0 = node.$arguments.positional;
  80425. url = null;
  80426. _0_4_isSet = _0_0.length === 1;
  80427. _0_7 = null;
  80428. t1 = false;
  80429. if (_0_4_isSet) {
  80430. _0_4 = _0_0[0];
  80431. _0_7_isSet = _0_4 instanceof A.StringExpression;
  80432. if (_0_7_isSet) {
  80433. type$.StringExpression._as(_0_4);
  80434. _0_7 = _0_4.text.get$asPlain();
  80435. t1 = _0_7;
  80436. t1 = t1 != null;
  80437. }
  80438. } else {
  80439. _0_4 = null;
  80440. _0_7_isSet = false;
  80441. }
  80442. if (t1) {
  80443. if (_0_7_isSet)
  80444. url0 = _0_7;
  80445. else {
  80446. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  80447. _0_7 = type$.StringExpression._as(t1).text.get$asPlain();
  80448. url0 = _0_7;
  80449. }
  80450. url = url0 == null ? A._asString(url0) : url0;
  80451. try {
  80452. this._metaLoadCss.add$1(0, A.Uri_parse(url));
  80453. } catch (exception) {
  80454. if (!type$.FormatException._is(A.unwrapException(exception)))
  80455. throw exception;
  80456. }
  80457. }
  80458. }
  80459. };
  80460. A.DependencyReport.prototype = {};
  80461. A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor.prototype = {};
  80462. A.IsCalculationSafeVisitor.prototype = {
  80463. visitBinaryOperationExpression$1(_, node) {
  80464. var t1;
  80465. if (B.Set_oQTdo.contains$1(0, node.operator))
  80466. t1 = node.left.accept$1(this) || node.right.accept$1(this);
  80467. else
  80468. t1 = false;
  80469. return t1;
  80470. },
  80471. visitBooleanExpression$1(_, node) {
  80472. return false;
  80473. },
  80474. visitColorExpression$1(_, node) {
  80475. return false;
  80476. },
  80477. visitFunctionExpression$1(_, node) {
  80478. return true;
  80479. },
  80480. visitInterpolatedFunctionExpression$1(_, node) {
  80481. return true;
  80482. },
  80483. visitIfExpression$1(_, node) {
  80484. return true;
  80485. },
  80486. visitListExpression$1(_, node) {
  80487. var t1 = false;
  80488. if (node.separator === B.ListSeparator_qSL)
  80489. if (!node.hasBrackets) {
  80490. t1 = node.contents;
  80491. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A.IsCalculationSafeVisitor_visitListExpression_closure(this));
  80492. }
  80493. return t1;
  80494. },
  80495. visitMapExpression$1(_, node) {
  80496. return false;
  80497. },
  80498. visitNullExpression$1(_, node) {
  80499. return false;
  80500. },
  80501. visitNumberExpression$1(_, node) {
  80502. return true;
  80503. },
  80504. visitParenthesizedExpression$1(_, node) {
  80505. return node.expression.accept$1(this);
  80506. },
  80507. visitSelectorExpression$1(_, node) {
  80508. return false;
  80509. },
  80510. visitStringExpression$1(_, node) {
  80511. var text, t1, t2;
  80512. if (node.hasQuotes)
  80513. return false;
  80514. text = node.text.get$initialPlain();
  80515. t1 = false;
  80516. if (!B.JSString_methods.startsWith$1(text, "!"))
  80517. if (!B.JSString_methods.startsWith$1(text, "#")) {
  80518. t2 = text.length;
  80519. if ((1 >= t2 ? null : text.charCodeAt(1)) !== 43)
  80520. t1 = (3 >= t2 ? null : text.charCodeAt(3)) !== 40;
  80521. }
  80522. return t1;
  80523. },
  80524. visitSupportsExpression$1(_, node) {
  80525. return false;
  80526. },
  80527. visitUnaryOperationExpression$1(_, node) {
  80528. return false;
  80529. },
  80530. visitValueExpression$1(_, node) {
  80531. return false;
  80532. },
  80533. visitVariableExpression$1(_, node) {
  80534. return true;
  80535. }
  80536. };
  80537. A.IsCalculationSafeVisitor_visitListExpression_closure.prototype = {
  80538. call$1(expression) {
  80539. return expression.accept$1(this.$this);
  80540. },
  80541. $signature: 118
  80542. };
  80543. A.RecursiveStatementVisitor.prototype = {
  80544. visitAtRootRule$1(_, node) {
  80545. this.visitChildren$1(node.children);
  80546. },
  80547. visitAtRule$1(_, node) {
  80548. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  80549. },
  80550. visitContentBlock$1(_, node) {
  80551. return null;
  80552. },
  80553. visitContentRule$1(_, node) {
  80554. },
  80555. visitDebugRule$1(_, node) {
  80556. },
  80557. visitDeclaration$1(_, node) {
  80558. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  80559. },
  80560. visitEachRule$1(_, node) {
  80561. return this.visitChildren$1(node.children);
  80562. },
  80563. visitErrorRule$1(_, node) {
  80564. },
  80565. visitExtendRule$1(_, node) {
  80566. },
  80567. visitForRule$1(_, node) {
  80568. return this.visitChildren$1(node.children);
  80569. },
  80570. visitForwardRule$1(_, node) {
  80571. },
  80572. visitFunctionRule$1(_, node) {
  80573. return null;
  80574. },
  80575. visitIfRule$1(_, node) {
  80576. var t1, t2, _i, t3, t4, _i0, _0_0;
  80577. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i)
  80578. for (t3 = t1[_i].children, t4 = t3.length, _i0 = 0; _i0 < t4; ++_i0)
  80579. t3[_i0].accept$1(this);
  80580. _0_0 = node.lastClause;
  80581. if (_0_0 != null)
  80582. for (t1 = _0_0.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  80583. t1[_i].accept$1(this);
  80584. },
  80585. visitImportRule$1(_, node) {
  80586. },
  80587. visitIncludeRule$1(_, node) {
  80588. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock(this));
  80589. },
  80590. visitLoudComment$1(_, node) {
  80591. },
  80592. visitMediaRule$1(_, node) {
  80593. return this.visitChildren$1(node.children);
  80594. },
  80595. visitMixinRule$1(_, node) {
  80596. return null;
  80597. },
  80598. visitReturnRule$1(_, node) {
  80599. },
  80600. visitSilentComment$1(_, node) {
  80601. },
  80602. visitStyleRule$1(_, node) {
  80603. return this.visitChildren$1(node.children);
  80604. },
  80605. visitStylesheet$1(_, node) {
  80606. return this.visitChildren$1(node.children);
  80607. },
  80608. visitSupportsRule$1(_, node) {
  80609. return this.visitChildren$1(node.children);
  80610. },
  80611. visitUseRule$1(_, node) {
  80612. },
  80613. visitVariableDeclaration$1(_, node) {
  80614. },
  80615. visitWarnRule$1(_, node) {
  80616. },
  80617. visitWhileRule$1(_, node) {
  80618. return this.visitChildren$1(node.children);
  80619. },
  80620. visitChildren$1(children) {
  80621. var t1;
  80622. for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
  80623. t1.get$current(t1).accept$1(this);
  80624. }
  80625. };
  80626. A.ReplaceExpressionVisitor.prototype = {
  80627. visitBinaryOperationExpression$1(_, node) {
  80628. return new A.BinaryOperationExpression(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  80629. },
  80630. visitBooleanExpression$1(_, node) {
  80631. return node;
  80632. },
  80633. visitColorExpression$1(_, node) {
  80634. return node;
  80635. },
  80636. visitFunctionExpression$1(_, node) {
  80637. var t1 = node.originalName,
  80638. t2 = this.visitArgumentList$1(node.$arguments);
  80639. return new A.FunctionExpression(node.namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, node.span);
  80640. },
  80641. visitInterpolatedFunctionExpression$1(_, node) {
  80642. return new A.InterpolatedFunctionExpression(this.visitInterpolation$1(node.name), this.visitArgumentList$1(node.$arguments), node.span);
  80643. },
  80644. visitIfExpression$1(_, node) {
  80645. return new A.IfExpression(this.visitArgumentList$1(node.$arguments), node.span);
  80646. },
  80647. visitListExpression$1(_, node) {
  80648. var t1 = node.contents;
  80649. 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);
  80650. },
  80651. visitMapExpression$1(_, node) {
  80652. var t2, t3, _i, t4,
  80653. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression);
  80654. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  80655. t4 = t2[_i];
  80656. t1.push(new A._Record_2(t4._0.accept$1(this), t4._1.accept$1(this)));
  80657. }
  80658. return new A.MapExpression(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression), node.span);
  80659. },
  80660. visitNullExpression$1(_, node) {
  80661. return node;
  80662. },
  80663. visitNumberExpression$1(_, node) {
  80664. return node;
  80665. },
  80666. visitParenthesizedExpression$1(_, node) {
  80667. return new A.ParenthesizedExpression(node.expression.accept$1(this), node.span);
  80668. },
  80669. visitSelectorExpression$1(_, node) {
  80670. return node;
  80671. },
  80672. visitStringExpression$1(_, node) {
  80673. return new A.StringExpression(this.visitInterpolation$1(node.text), node.hasQuotes);
  80674. },
  80675. visitSupportsExpression$1(_, node) {
  80676. return new A.SupportsExpression(this.visitSupportsCondition$1(node.condition));
  80677. },
  80678. visitUnaryOperationExpression$1(_, node) {
  80679. return new A.UnaryOperationExpression(node.operator, node.operand.accept$1(this), node.span);
  80680. },
  80681. visitValueExpression$1(_, node) {
  80682. return node;
  80683. },
  80684. visitVariableExpression$1(_, node) {
  80685. return node;
  80686. },
  80687. visitArgumentList$1(invocation) {
  80688. var t5, t6, _this = this,
  80689. t1 = invocation.positional,
  80690. t2 = type$.String,
  80691. t3 = type$.Expression,
  80692. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  80693. for (t5 = A.MapExtensions_get_pairs(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  80694. t6 = t5.get$current(t5);
  80695. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  80696. }
  80697. t5 = invocation.rest;
  80698. t5 = t5 == null ? null : t5.accept$1(_this);
  80699. t6 = invocation.keywordRest;
  80700. t6 = t6 == null ? null : t6.accept$1(_this);
  80701. 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);
  80702. },
  80703. visitSupportsCondition$1(condition) {
  80704. var _this = this;
  80705. if (condition instanceof A.SupportsOperation)
  80706. return A.SupportsOperation$(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  80707. else if (condition instanceof A.SupportsNegation)
  80708. return new A.SupportsNegation(_this.visitSupportsCondition$1(condition.condition), condition.span);
  80709. else if (condition instanceof A.SupportsInterpolation)
  80710. return new A.SupportsInterpolation(condition.expression.accept$1(_this), condition.span);
  80711. else if (condition instanceof A.SupportsDeclaration)
  80712. return new A.SupportsDeclaration(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  80713. else
  80714. throw A.wrapException(A.SassException$("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  80715. },
  80716. visitInterpolation$1(interpolation) {
  80717. var t1 = interpolation.contents;
  80718. 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);
  80719. }
  80720. };
  80721. A.ReplaceExpressionVisitor_visitListExpression_closure.prototype = {
  80722. call$1(item) {
  80723. return item.accept$1(this.$this);
  80724. },
  80725. $signature: 242
  80726. };
  80727. A.ReplaceExpressionVisitor_visitArgumentList_closure.prototype = {
  80728. call$1(expression) {
  80729. return expression.accept$1(this.$this);
  80730. },
  80731. $signature: 242
  80732. };
  80733. A.ReplaceExpressionVisitor_visitInterpolation_closure.prototype = {
  80734. call$1(node) {
  80735. return node instanceof A.Expression ? node.accept$1(this.$this) : node;
  80736. },
  80737. $signature: 74
  80738. };
  80739. A.SelectorSearchVisitor.prototype = {
  80740. visitAttributeSelector$1(attribute) {
  80741. return null;
  80742. },
  80743. visitClassSelector$1(klass) {
  80744. return null;
  80745. },
  80746. visitIDSelector$1(id) {
  80747. return null;
  80748. },
  80749. visitParentSelector$1(placeholder) {
  80750. return null;
  80751. },
  80752. visitPlaceholderSelector$1(placeholder) {
  80753. return null;
  80754. },
  80755. visitTypeSelector$1(type) {
  80756. return null;
  80757. },
  80758. visitUniversalSelector$1(universal) {
  80759. return null;
  80760. },
  80761. visitComplexSelector$1(complex) {
  80762. return A.IterableExtension_search(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure(this));
  80763. },
  80764. visitCompoundSelector$1(compound) {
  80765. return A.IterableExtension_search(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure(this));
  80766. },
  80767. visitPseudoSelector$1(pseudo) {
  80768. return A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  80769. },
  80770. visitSelectorList$1(list) {
  80771. return A.IterableExtension_search(list.components, this.get$visitComplexSelector());
  80772. }
  80773. };
  80774. A.SelectorSearchVisitor_visitComplexSelector_closure.prototype = {
  80775. call$1(component) {
  80776. return this.$this.visitCompoundSelector$1(component.selector);
  80777. },
  80778. $signature() {
  80779. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(ComplexSelectorComponent)");
  80780. }
  80781. };
  80782. A.SelectorSearchVisitor_visitCompoundSelector_closure.prototype = {
  80783. call$1(simple) {
  80784. return simple.accept$1(this.$this);
  80785. },
  80786. $signature() {
  80787. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(SimpleSelector)");
  80788. }
  80789. };
  80790. A.serialize_closure.prototype = {
  80791. call$1(codeUnit) {
  80792. return codeUnit > 127;
  80793. },
  80794. $signature: 48
  80795. };
  80796. A._SerializeVisitor.prototype = {
  80797. visitCssStylesheet$1(node) {
  80798. var t1, t2, t3, t4, t5, t6, previous, previous0, t7, _this = this;
  80799. 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();) {
  80800. previous0 = t1.get$current(t1);
  80801. if (t2)
  80802. t7 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  80803. else
  80804. t7 = false;
  80805. if (t7)
  80806. continue;
  80807. if (previous != null) {
  80808. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment))
  80809. t6.writeCharCode$1(59);
  80810. if (_this._isTrailingComment$2(previous0, previous)) {
  80811. if (t4)
  80812. t6.writeCharCode$1(32);
  80813. } else {
  80814. if (t4)
  80815. t6.write$1(0, "\n");
  80816. if (previous.get$isGroupEnd())
  80817. if (t4)
  80818. t6.write$1(0, "\n");
  80819. }
  80820. }
  80821. previous0.accept$1(_this);
  80822. previous = previous0;
  80823. }
  80824. if (previous != null)
  80825. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t4;
  80826. else
  80827. t1 = false;
  80828. if (t1)
  80829. t6.writeCharCode$1(59);
  80830. },
  80831. visitCssComment$1(node) {
  80832. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
  80833. },
  80834. visitCssAtRule$1(node) {
  80835. var t1, _this = this;
  80836. _this._writeIndentation$0();
  80837. t1 = _this._serialize$_buffer;
  80838. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
  80839. if (!node.isChildless) {
  80840. if (_this._style !== B.OutputStyle_1)
  80841. t1.writeCharCode$1(32);
  80842. _this._serialize$_visitChildren$1(node);
  80843. }
  80844. },
  80845. visitCssMediaRule$1(node) {
  80846. var t1, _this = this;
  80847. _this._writeIndentation$0();
  80848. t1 = _this._serialize$_buffer;
  80849. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
  80850. if (_this._style !== B.OutputStyle_1)
  80851. t1.writeCharCode$1(32);
  80852. _this._serialize$_visitChildren$1(node);
  80853. },
  80854. visitCssImport$1(node) {
  80855. this._writeIndentation$0();
  80856. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
  80857. },
  80858. _writeImportUrl$1(url) {
  80859. var urlContents, maybeQuote, _this = this;
  80860. if (_this._style !== B.OutputStyle_1 || url.charCodeAt(0) !== 117) {
  80861. _this._serialize$_buffer.write$1(0, url);
  80862. return;
  80863. }
  80864. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  80865. maybeQuote = urlContents.charCodeAt(0);
  80866. if (maybeQuote === 39 || maybeQuote === 34)
  80867. _this._serialize$_buffer.write$1(0, urlContents);
  80868. else
  80869. _this._visitQuotedString$1(urlContents);
  80870. },
  80871. visitCssKeyframeBlock$1(node) {
  80872. var t1, _this = this;
  80873. _this._writeIndentation$0();
  80874. t1 = _this._serialize$_buffer;
  80875. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
  80876. if (_this._style !== B.OutputStyle_1)
  80877. t1.writeCharCode$1(32);
  80878. _this._serialize$_visitChildren$1(node);
  80879. },
  80880. _visitMediaQuery$1(query) {
  80881. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  80882. _0_0 = query.modifier;
  80883. if (_0_0 != null) {
  80884. t1 = _this._serialize$_buffer;
  80885. t1.write$1(0, _0_0);
  80886. t1.writeCharCode$1(32);
  80887. }
  80888. _1_0 = query.type;
  80889. if (_1_0 != null) {
  80890. t1 = _this._serialize$_buffer;
  80891. t1.write$1(0, _1_0);
  80892. if (query.conditions.length !== 0)
  80893. t1.write$1(0, " and ");
  80894. }
  80895. _2_0 = query.conditions;
  80896. if (_2_0.length === 1)
  80897. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  80898. else
  80899. t1 = false;
  80900. if (t1) {
  80901. t1 = _this._serialize$_buffer;
  80902. t1.write$1(0, "not ");
  80903. condition = B.JSArray_methods.get$first(_2_0);
  80904. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  80905. } else {
  80906. operator = query.conjunction ? "and" : "or";
  80907. t1 = _this._style === B.OutputStyle_1 ? operator + " " : " " + operator + " ";
  80908. t2 = _this._serialize$_buffer;
  80909. _this._writeBetween$3(_2_0, t1, t2.get$write(t2));
  80910. }
  80911. },
  80912. visitCssStyleRule$1(node) {
  80913. var t1, _this = this;
  80914. _this._writeIndentation$0();
  80915. t1 = _this._serialize$_buffer;
  80916. t1.forSpan$2(node._style_rule$_selector._box$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
  80917. if (_this._style !== B.OutputStyle_1)
  80918. t1.writeCharCode$1(32);
  80919. _this._serialize$_visitChildren$1(node);
  80920. },
  80921. visitCssSupportsRule$1(node) {
  80922. var t1, _this = this;
  80923. _this._writeIndentation$0();
  80924. t1 = _this._serialize$_buffer;
  80925. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
  80926. if (_this._style !== B.OutputStyle_1)
  80927. t1.writeCharCode$1(32);
  80928. _this._serialize$_visitChildren$1(node);
  80929. },
  80930. visitCssDeclaration$1(node) {
  80931. var error, stackTrace, error0, stackTrace0, t3, declSpecificities, t4, t5, t6, t7, _i, rule, ruleSpecificities, exception, _this = this,
  80932. t1 = node.interleavedRules,
  80933. t2 = t1.length;
  80934. if (t2 !== 0) {
  80935. t3 = node._parent;
  80936. t3.toString;
  80937. declSpecificities = _this._specificities$1(t3);
  80938. for (t3 = _this._serialize$_logger, t4 = node.span, t5 = type$.SourceSpan, t6 = type$.String, t7 = node.trace, _i = 0; _i < t2; ++_i) {
  80939. rule = t1[_i];
  80940. ruleSpecificities = _this._specificities$1(rule);
  80941. if (!declSpecificities.any$1(0, ruleSpecificities.get$contains(ruleSpecificities)))
  80942. continue;
  80943. 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);
  80944. }
  80945. }
  80946. _this._writeIndentation$0();
  80947. t1 = node.name;
  80948. _this._serialize$_write$1(t1);
  80949. t2 = _this._serialize$_buffer;
  80950. t2.writeCharCode$1(58);
  80951. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  80952. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
  80953. else {
  80954. if (_this._style !== B.OutputStyle_1)
  80955. t2.writeCharCode$1(32);
  80956. try {
  80957. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
  80958. } catch (exception) {
  80959. t1 = A.unwrapException(exception);
  80960. if (t1 instanceof A.MultiSpanSassScriptException) {
  80961. error = t1;
  80962. stackTrace = A.getTraceFromException(exception);
  80963. A.throwWithTrace(A.MultiSpanSassException$(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  80964. } else if (t1 instanceof A.SassScriptException) {
  80965. error0 = t1;
  80966. stackTrace0 = A.getTraceFromException(exception);
  80967. t1 = error0.message;
  80968. A.throwWithTrace(new A.SassException(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  80969. } else
  80970. throw exception;
  80971. }
  80972. }
  80973. },
  80974. _specificities$1(node) {
  80975. var $parent, t2, t3, _i,
  80976. t1 = this.get$_specificities();
  80977. if (node instanceof A.ModifiableCssStyleRule) {
  80978. t1 = A.NullableExtension_andThen(node._parent, t1);
  80979. $parent = t1 == null ? null : A.IterableIntegerExtension_get_max(t1);
  80980. if ($parent == null)
  80981. $parent = 0;
  80982. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.int);
  80983. for (t2 = node._style_rule$_selector._box$_inner.value.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  80984. t1.add$1(0, $parent + t2[_i].get$specificity());
  80985. return t1;
  80986. } else {
  80987. t1 = A.NullableExtension_andThen(node.get$parent(node), t1);
  80988. return t1 == null ? B.Set_WDSXk : t1;
  80989. }
  80990. },
  80991. _writeFoldedValue$1(node) {
  80992. var t1, t2, next, t3,
  80993. scanner = A.StringScanner$(type$.SassString._as(node.value.value)._string$_text, null, null);
  80994. for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
  80995. next = scanner.readChar$0();
  80996. if (next !== 10) {
  80997. t2.writeCharCode$1(next);
  80998. continue;
  80999. }
  81000. t2.writeCharCode$1(32);
  81001. while (true) {
  81002. t3 = scanner.peekChar$0();
  81003. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  81004. break;
  81005. scanner.readChar$0();
  81006. }
  81007. }
  81008. },
  81009. _writeReindentedValue$1(node) {
  81010. var _0_0, t1, _this = this,
  81011. value = type$.SassString._as(node.value.value)._string$_text;
  81012. $label0$0: {
  81013. _0_0 = _this._minimumIndentation$1(value);
  81014. if (_0_0 == null) {
  81015. _this._serialize$_buffer.write$1(0, value);
  81016. break $label0$0;
  81017. }
  81018. if (-1 === _0_0) {
  81019. t1 = _this._serialize$_buffer;
  81020. t1.write$1(0, A.trimAsciiRight(value, true));
  81021. t1.writeCharCode$1(32);
  81022. break $label0$0;
  81023. }
  81024. t1 = node.name.span;
  81025. t1 = t1.get$start(t1);
  81026. _this._writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  81027. }
  81028. },
  81029. _minimumIndentation$1(text) {
  81030. var character, t2, min, next, min0,
  81031. scanner = A.LineScanner$(text),
  81032. t1 = scanner.string.length;
  81033. while (true) {
  81034. if (scanner._string_scanner$_position !== t1) {
  81035. character = scanner.super$StringScanner$readChar();
  81036. scanner._adjustLineAndColumn$1(character);
  81037. t2 = character !== 10;
  81038. } else
  81039. t2 = false;
  81040. if (!t2)
  81041. break;
  81042. }
  81043. if (scanner._string_scanner$_position === t1)
  81044. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  81045. for (min = null; scanner._string_scanner$_position !== t1;) {
  81046. for (; scanner._string_scanner$_position !== t1;) {
  81047. next = scanner.peekChar$0();
  81048. if (next !== 32 && next !== 9)
  81049. break;
  81050. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  81051. }
  81052. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  81053. continue;
  81054. min0 = scanner._line_scanner$_column;
  81055. min = min == null ? min0 : Math.min(min, min0);
  81056. while (true) {
  81057. if (scanner._string_scanner$_position !== t1) {
  81058. character = scanner.super$StringScanner$readChar();
  81059. scanner._adjustLineAndColumn$1(character);
  81060. t2 = character !== 10;
  81061. } else
  81062. t2 = false;
  81063. if (!t2)
  81064. break;
  81065. }
  81066. }
  81067. return min == null ? -1 : min;
  81068. },
  81069. _writeWithIndent$2(text, minimumIndentation) {
  81070. var t1, t2, t3, character, lineStart, newlines, end,
  81071. scanner = A.LineScanner$(text);
  81072. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
  81073. character = scanner.super$StringScanner$readChar();
  81074. scanner._adjustLineAndColumn$1(character);
  81075. if (character === 10)
  81076. break;
  81077. t3.writeCharCode$1(character);
  81078. }
  81079. for (; true;) {
  81080. lineStart = scanner._string_scanner$_position;
  81081. for (newlines = 1; true;) {
  81082. if (scanner._string_scanner$_position === t2) {
  81083. t3.writeCharCode$1(32);
  81084. return;
  81085. }
  81086. $label0$2: {
  81087. character = scanner.super$StringScanner$readChar();
  81088. scanner._adjustLineAndColumn$1(character);
  81089. if (32 === character || 9 === character)
  81090. continue;
  81091. if (10 === character) {
  81092. lineStart = scanner._string_scanner$_position;
  81093. ++newlines;
  81094. break $label0$2;
  81095. }
  81096. break;
  81097. }
  81098. }
  81099. this._writeTimes$2(10, newlines);
  81100. this._writeIndentation$0();
  81101. end = scanner._string_scanner$_position;
  81102. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  81103. for (; true;) {
  81104. if (scanner._string_scanner$_position === t2)
  81105. return;
  81106. character = scanner.super$StringScanner$readChar();
  81107. scanner._adjustLineAndColumn$1(character);
  81108. if (character === 10)
  81109. break;
  81110. t3.writeCharCode$1(character);
  81111. }
  81112. }
  81113. },
  81114. visitCalculation$1(value) {
  81115. var t2, _this = this,
  81116. t1 = _this._serialize$_buffer;
  81117. t1.write$1(0, value.name);
  81118. t1.writeCharCode$1(40);
  81119. t2 = _this._style === B.OutputStyle_1 ? "," : ", ";
  81120. _this._writeBetween$3(value.$arguments, t2, _this.get$_writeCalculationValue());
  81121. t1.writeCharCode$1(41);
  81122. },
  81123. _writeCalculationValue$1(value) {
  81124. var _2_4_isSet, _2_4, t1, _0_0, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, t2, _this = this, _null = null;
  81125. $label1$1: {
  81126. _2_4_isSet = value instanceof A.SassNumber;
  81127. if (_2_4_isSet) {
  81128. _2_4 = value.get$hasComplexUnits();
  81129. t1 = _2_4 && !_this._inspect;
  81130. } else {
  81131. _2_4 = _null;
  81132. t1 = false;
  81133. }
  81134. if (t1)
  81135. throw A.wrapException(A.SassScriptException$(A.S(value) + " isn't a valid CSS value.", _null));
  81136. if (_2_4_isSet && !isFinite(value._number$_value)) {
  81137. $label0$0: {
  81138. _0_0 = value._number$_value;
  81139. if (1 / 0 === _0_0) {
  81140. _this._serialize$_buffer.write$1(0, "infinity");
  81141. break $label0$0;
  81142. }
  81143. if (-1 / 0 === _0_0) {
  81144. _this._serialize$_buffer.write$1(0, "-infinity");
  81145. break $label0$0;
  81146. }
  81147. if (isNaN(_0_0))
  81148. _this._serialize$_buffer.write$1(0, "NaN");
  81149. }
  81150. t1 = J.getInterceptor$x(value);
  81151. _this._writeCalculationUnits$2(t1.get$numeratorUnits(value), t1.get$denominatorUnits(value));
  81152. break $label1$1;
  81153. }
  81154. if (_2_4_isSet)
  81155. t1 = _2_4;
  81156. else
  81157. t1 = false;
  81158. if (t1) {
  81159. _this._writeNumber$1(value._number$_value);
  81160. t1 = J.getInterceptor$x(value);
  81161. _1_0 = t1.get$numeratorUnits(value);
  81162. if (_1_0.length >= 1) {
  81163. first = _1_0[0];
  81164. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  81165. _this._serialize$_buffer.write$1(0, first);
  81166. _this._writeCalculationUnits$2(rest, t1.get$denominatorUnits(value));
  81167. } else
  81168. _this._writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), t1.get$denominatorUnits(value));
  81169. break $label1$1;
  81170. }
  81171. if (value instanceof A.Value) {
  81172. value.accept$1(_this);
  81173. break $label1$1;
  81174. }
  81175. t1 = value instanceof A.CalculationOperation;
  81176. left = _null;
  81177. right = _null;
  81178. if (t1) {
  81179. operator = value._operator;
  81180. left = value._left;
  81181. right = value._right;
  81182. right = right;
  81183. } else
  81184. operator = _null;
  81185. if (t1) {
  81186. parenthesizeLeft = left instanceof A.CalculationOperation && left._operator.precedence < operator.precedence;
  81187. if (parenthesizeLeft)
  81188. _this._serialize$_buffer.writeCharCode$1(40);
  81189. _this._writeCalculationValue$1(left);
  81190. if (parenthesizeLeft)
  81191. _this._serialize$_buffer.writeCharCode$1(41);
  81192. operatorWhitespace = _this._style !== B.OutputStyle_1 || operator.precedence === 1;
  81193. if (operatorWhitespace)
  81194. _this._serialize$_buffer.writeCharCode$1(32);
  81195. t1 = _this._serialize$_buffer;
  81196. t1.write$1(0, operator.operator);
  81197. if (operatorWhitespace)
  81198. t1.writeCharCode$1(32);
  81199. if (!(right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(operator, right._operator))) {
  81200. parenthesizeRight = false;
  81201. if (operator === B.CalculationOperator_bo5) {
  81202. if (right instanceof A.SassNumber)
  81203. t2 = isFinite(right._number$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  81204. else
  81205. t2 = parenthesizeRight;
  81206. parenthesizeRight = t2;
  81207. }
  81208. } else
  81209. parenthesizeRight = true;
  81210. if (parenthesizeRight)
  81211. t1.writeCharCode$1(40);
  81212. _this._writeCalculationValue$1(right);
  81213. if (parenthesizeRight)
  81214. t1.writeCharCode$1(41);
  81215. }
  81216. }
  81217. },
  81218. _writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  81219. var t1, t2, t3, t4;
  81220. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize$_buffer, t3 = this._style !== B.OutputStyle_1; t1.moveNext$0();) {
  81221. t4 = t1.get$current(t1);
  81222. if (t3)
  81223. t2.writeCharCode$1(32);
  81224. t2.writeCharCode$1(42);
  81225. if (t3)
  81226. t2.writeCharCode$1(32);
  81227. t2.writeCharCode$1(49);
  81228. t2.write$1(0, t4);
  81229. }
  81230. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  81231. t4 = t1.get$current(t1);
  81232. if (t3)
  81233. t2.writeCharCode$1(32);
  81234. t2.writeCharCode$1(47);
  81235. if (t3)
  81236. t2.writeCharCode$1(32);
  81237. t2.writeCharCode$1(49);
  81238. t2.write$1(0, t4);
  81239. }
  81240. },
  81241. _parenthesizeCalculationRhs$2(outer, right) {
  81242. var t1;
  81243. $label0$0: {
  81244. if (B.CalculationOperator_bo5 === outer) {
  81245. t1 = true;
  81246. break $label0$0;
  81247. }
  81248. if (B.CalculationOperator_F7i === outer) {
  81249. t1 = false;
  81250. break $label0$0;
  81251. }
  81252. t1 = right === B.CalculationOperator_F7i || right === B.CalculationOperator_oum;
  81253. break $label0$0;
  81254. }
  81255. return t1;
  81256. },
  81257. visitColor$1(value) {
  81258. 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;
  81259. $label0$0: {
  81260. _0_0 = value._space;
  81261. _0_2 = B.RgbColorSpace_i0P === _0_0;
  81262. _0_6 = _null;
  81263. t1 = true;
  81264. if (!_0_2) {
  81265. _0_4 = B.HslColorSpace_JQ2 === _0_0;
  81266. _0_6_isSet = !_0_4;
  81267. if (_0_6_isSet) {
  81268. _0_6 = B.HwbColorSpace_guQ === _0_0;
  81269. t1 = _0_6;
  81270. }
  81271. } else {
  81272. _0_4 = _null;
  81273. _0_6_isSet = false;
  81274. }
  81275. if (t1 && value.channel0OrNull != null && value.channel1OrNull != null && value.channel2OrNull != null && value.alphaOrNull != null) {
  81276. _this._writeLegacyColor$1(value);
  81277. break $label0$0;
  81278. }
  81279. if (_0_2) {
  81280. t1 = _this._serialize$_buffer;
  81281. t1.write$1(0, "rgb(");
  81282. _this._writeChannel$1(value.channel0OrNull);
  81283. t1.writeCharCode$1(32);
  81284. _this._writeChannel$1(value.channel1OrNull);
  81285. t1.writeCharCode$1(32);
  81286. _this._writeChannel$1(value.channel2OrNull);
  81287. _this._maybeWriteSlashAlpha$1(value);
  81288. t1.writeCharCode$1(41);
  81289. break $label0$0;
  81290. }
  81291. if (!_0_4)
  81292. t1 = _0_6_isSet ? _0_6 : B.HwbColorSpace_guQ === _0_0;
  81293. else
  81294. t1 = true;
  81295. if (t1) {
  81296. t1 = _this._serialize$_buffer;
  81297. t1.write$1(0, _0_0);
  81298. t1.writeCharCode$1(40);
  81299. t2 = _this._style === B.OutputStyle_1 ? _null : "deg";
  81300. _this._writeChannel$2(value.channel0OrNull, t2);
  81301. t1.writeCharCode$1(32);
  81302. _this._writeChannel$2(value.channel1OrNull, "%");
  81303. t1.writeCharCode$1(32);
  81304. _this._writeChannel$2(value.channel2OrNull, "%");
  81305. _this._maybeWriteSlashAlpha$1(value);
  81306. t1.writeCharCode$1(41);
  81307. break $label0$0;
  81308. }
  81309. _0_10_isSet = B.LabColorSpace_2nT !== _0_0;
  81310. if (_0_10_isSet) {
  81311. _0_10 = B.LchColorSpace_Bpv === _0_0;
  81312. t1 = _0_10;
  81313. } else {
  81314. _0_10 = _null;
  81315. t1 = true;
  81316. }
  81317. t2 = false;
  81318. if (t1)
  81319. if (!_this._inspect) {
  81320. t1 = value.channel0OrNull;
  81321. if (t1 == null)
  81322. t1 = 0;
  81323. if (t1 > 0 || A.fuzzyEquals(t1, 0))
  81324. t1 = t1 < 100 || A.fuzzyEquals(t1, 100);
  81325. else
  81326. t1 = false;
  81327. t1 = !t1 && value.channel1OrNull != null && value.channel2OrNull != null;
  81328. } else
  81329. t1 = t2;
  81330. else
  81331. t1 = t2;
  81332. _0_12_isSet = !t1;
  81333. _0_14 = _null;
  81334. if (_0_12_isSet) {
  81335. _0_12 = B.OklabColorSpace_540 === _0_0;
  81336. t1 = false;
  81337. _0_14_isSet = !_0_12;
  81338. if (_0_14_isSet) {
  81339. _0_14 = B.OklchColorSpace_9Gj === _0_0;
  81340. t2 = _0_14;
  81341. } else
  81342. t2 = true;
  81343. t3 = false;
  81344. if (t2)
  81345. if (!_this._inspect) {
  81346. t2 = value.channel0OrNull;
  81347. if (t2 == null)
  81348. t2 = 0;
  81349. if (t2 > 0 || A.fuzzyEquals(t2, 0))
  81350. t2 = t2 < 1 || A.fuzzyEquals(t2, 1);
  81351. else
  81352. t2 = false;
  81353. t2 = !t2 && value.channel1OrNull != null && value.channel2OrNull != null;
  81354. } else
  81355. t2 = t3;
  81356. else
  81357. t2 = t3;
  81358. if (!t2) {
  81359. if (_0_10_isSet) {
  81360. t2 = _0_10;
  81361. _0_10_isSet0 = _0_10_isSet;
  81362. } else {
  81363. _0_10 = B.LchColorSpace_Bpv === _0_0;
  81364. t2 = _0_10;
  81365. _0_10_isSet0 = true;
  81366. }
  81367. if (!t2)
  81368. if (_0_14_isSet)
  81369. t2 = _0_14;
  81370. else {
  81371. _0_14 = B.OklchColorSpace_9Gj === _0_0;
  81372. t2 = _0_14;
  81373. _0_14_isSet = true;
  81374. }
  81375. else
  81376. t2 = true;
  81377. if (t2)
  81378. if (!_this._inspect) {
  81379. t1 = value.channel1OrNull;
  81380. t2 = t1 == null;
  81381. if (t2)
  81382. t1 = 0;
  81383. t1 = t1 < 0 && !A.fuzzyEquals(t1, 0) && value.channel0OrNull != null && !t2;
  81384. }
  81385. } else {
  81386. _0_10_isSet0 = _0_10_isSet;
  81387. t1 = true;
  81388. }
  81389. } else {
  81390. _0_12 = _null;
  81391. _0_10_isSet0 = _0_10_isSet;
  81392. _0_14_isSet = false;
  81393. t1 = true;
  81394. }
  81395. if (t1) {
  81396. t1 = _this._serialize$_buffer;
  81397. t1.write$1(0, "color-mix(in ");
  81398. t1.write$1(0, _0_0);
  81399. t2 = _this._style === B.OutputStyle_1;
  81400. t1.write$1(0, t2 ? "," : ", ");
  81401. _this._writeColorFunction$1(value.toSpace$1(B.XyzD65ColorSpace_WiJ));
  81402. if (!t2)
  81403. t1.writeCharCode$1(32);
  81404. t1.write$1(0, "100%");
  81405. t1.write$1(0, t2 ? "," : ", ");
  81406. t1.write$1(0, t2 ? "red" : "black");
  81407. t1.writeCharCode$1(41);
  81408. break $label0$0;
  81409. }
  81410. t1 = true;
  81411. if (_0_10_isSet)
  81412. if (!(_0_12_isSet ? _0_12 : B.OklabColorSpace_540 === _0_0))
  81413. if (!(_0_10_isSet0 ? _0_10 : B.LchColorSpace_Bpv === _0_0))
  81414. t1 = _0_14_isSet ? _0_14 : B.OklchColorSpace_9Gj === _0_0;
  81415. if (t1) {
  81416. t1 = _this._serialize$_buffer;
  81417. t1.write$1(0, _0_0);
  81418. t1.writeCharCode$1(40);
  81419. t2 = _0_0._channels;
  81420. polar = t2[2].isPolarAngle;
  81421. t3 = false;
  81422. if (!_this._inspect) {
  81423. t4 = value.channel0OrNull;
  81424. if (t4 == null)
  81425. t4 = 0;
  81426. if (t4 > 0 || A.fuzzyEquals(t4, 0))
  81427. t4 = t4 < 100 || A.fuzzyEquals(t4, 100);
  81428. else
  81429. t4 = false;
  81430. if (t4) {
  81431. if (polar) {
  81432. t3 = value.channel1OrNull;
  81433. if (t3 == null)
  81434. t3 = 0;
  81435. t3 = t3 < 0 && !A.fuzzyEquals(t3, 0);
  81436. }
  81437. } else
  81438. t3 = true;
  81439. }
  81440. if (t3) {
  81441. t1.write$1(0, "from ");
  81442. t1.write$1(0, _this._style === B.OutputStyle_1 ? "red" : "black");
  81443. t1.writeCharCode$1(32);
  81444. }
  81445. t3 = _this._style !== B.OutputStyle_1;
  81446. t4 = t3 && value.channel0OrNull != null;
  81447. t5 = value.channel0OrNull;
  81448. if (t4) {
  81449. t2 = type$.LinearChannel._as(t2[0]);
  81450. _this._writeNumber$1((t5 == null ? 0 : t5) * 100 / t2.max);
  81451. t1.writeCharCode$1(37);
  81452. } else
  81453. _this._writeChannel$1(t5);
  81454. t1.writeCharCode$1(32);
  81455. _this._writeChannel$1(value.channel1OrNull);
  81456. t1.writeCharCode$1(32);
  81457. t2 = polar && t3 ? "deg" : _null;
  81458. _this._writeChannel$2(value.channel2OrNull, t2);
  81459. _this._maybeWriteSlashAlpha$1(value);
  81460. t1.writeCharCode$1(41);
  81461. break $label0$0;
  81462. }
  81463. _this._writeColorFunction$1(value);
  81464. }
  81465. },
  81466. _writeChannel$2(channel, unit) {
  81467. var _this = this;
  81468. if (channel == null)
  81469. _this._serialize$_buffer.write$1(0, "none");
  81470. else if (isFinite(channel)) {
  81471. _this._writeNumber$1(channel);
  81472. if (unit != null)
  81473. _this._serialize$_buffer.write$1(0, unit);
  81474. } else
  81475. _this.visitNumber$1(A.SassNumber_SassNumber(channel, unit));
  81476. },
  81477. _writeChannel$1(channel) {
  81478. return this._writeChannel$2(channel, null);
  81479. },
  81480. _writeLegacyColor$1(color) {
  81481. var rgb, t3, red, green, blue, hsl, hue, saturation, lightness, hwb, _0_0, format, _1_0, _this = this,
  81482. t1 = color.alphaOrNull,
  81483. t2 = t1 == null,
  81484. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1);
  81485. if (!color.get$isInGamut() && !_this._inspect) {
  81486. _this._writeHsl$1(color);
  81487. return;
  81488. }
  81489. if (_this._style === B.OutputStyle_1) {
  81490. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  81491. if (opaque && _this._tryIntegerRgb$1(rgb))
  81492. return;
  81493. t3 = rgb.channel0OrNull;
  81494. red = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81495. t3 = rgb.channel1OrNull;
  81496. green = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81497. t3 = rgb.channel2OrNull;
  81498. blue = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81499. hsl = color.toSpace$1(B.HslColorSpace_JQ2);
  81500. t3 = hsl.channel0OrNull;
  81501. hue = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81502. t3 = hsl.channel1OrNull;
  81503. saturation = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81504. t3 = hsl.channel2OrNull;
  81505. lightness = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81506. t3 = _this._serialize$_buffer;
  81507. if (red.length + green.length + blue.length <= hue.length + saturation.length + lightness.length + 2) {
  81508. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  81509. t3.write$1(0, red);
  81510. t3.writeCharCode$1(44);
  81511. t3.write$1(0, green);
  81512. t3.writeCharCode$1(44);
  81513. t3.write$1(0, blue);
  81514. } else {
  81515. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  81516. t3.write$1(0, hue);
  81517. t3.writeCharCode$1(44);
  81518. t3.write$1(0, saturation);
  81519. t3.write$1(0, "%,");
  81520. t3.write$1(0, lightness);
  81521. t3.writeCharCode$1(37);
  81522. }
  81523. if (!opaque) {
  81524. t3.writeCharCode$1(44);
  81525. _this._writeNumber$1(t2 ? 0 : t1);
  81526. }
  81527. t3.writeCharCode$1(41);
  81528. return;
  81529. }
  81530. t3 = color._space;
  81531. if (t3 === B.HslColorSpace_JQ2) {
  81532. _this._writeHsl$1(color);
  81533. return;
  81534. } else if (_this._inspect && t3 === B.HwbColorSpace_guQ) {
  81535. t3 = _this._serialize$_buffer;
  81536. t3.write$1(0, "hwb(");
  81537. hwb = color.toSpace$1(B.HwbColorSpace_guQ);
  81538. _this._writeNumber$1(hwb.channel$1(0, "hue"));
  81539. t3.writeCharCode$1(32);
  81540. _this._writeNumber$1(hwb.channel$1(0, "whiteness"));
  81541. t3.writeCharCode$1(37);
  81542. t3.writeCharCode$1(32);
  81543. _this._writeNumber$1(hwb.channel$1(0, "blackness"));
  81544. t3.writeCharCode$1(37);
  81545. if (!A.fuzzyEquals(t2 ? 0 : t1, 1)) {
  81546. t3.write$1(0, " / ");
  81547. _this._writeNumber$1(t2 ? 0 : t1);
  81548. }
  81549. t3.writeCharCode$1(41);
  81550. return;
  81551. }
  81552. _0_0 = color.format;
  81553. if (B.C__ColorFormatEnum === _0_0) {
  81554. _this._writeRgb$1(color);
  81555. return;
  81556. }
  81557. t1 = _0_0 instanceof A.SpanColorFormat;
  81558. format = t1 ? _0_0 : null;
  81559. if (t1) {
  81560. t1 = format._color$_span;
  81561. _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));
  81562. return;
  81563. }
  81564. if (opaque) {
  81565. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  81566. _1_0 = $.$get$namesByColor().$index(0, rgb);
  81567. if (_1_0 != null) {
  81568. _this._serialize$_buffer.write$1(0, _1_0);
  81569. return;
  81570. }
  81571. if (_this._canUseHex$1(rgb)) {
  81572. _this._serialize$_buffer.writeCharCode$1(35);
  81573. t1 = rgb.channel0OrNull;
  81574. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  81575. t1 = rgb.channel1OrNull;
  81576. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  81577. t1 = rgb.channel2OrNull;
  81578. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  81579. return;
  81580. }
  81581. }
  81582. if (t3 === B.HwbColorSpace_guQ)
  81583. _this._writeHsl$1(color);
  81584. else
  81585. _this._writeRgb$1(color);
  81586. },
  81587. _tryIntegerRgb$1(rgb) {
  81588. var t1, redInt, greenInt, blueInt, shortHex, _0_0, t2, t3, $name, _this = this;
  81589. if (!_this._canUseHex$1(rgb))
  81590. return false;
  81591. t1 = rgb.channel0OrNull;
  81592. redInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  81593. t1 = rgb.channel1OrNull;
  81594. greenInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  81595. t1 = rgb.channel2OrNull;
  81596. blueInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  81597. t1 = redInt & 15;
  81598. 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);
  81599. _0_0 = $.$get$namesByColor().$index(0, rgb);
  81600. t2 = false;
  81601. if (_0_0 != null) {
  81602. t3 = _0_0.length;
  81603. t2 = t3 <= (shortHex ? 4 : 7);
  81604. $name = _0_0;
  81605. } else
  81606. $name = null;
  81607. if (t2)
  81608. _this._serialize$_buffer.write$1(0, $name);
  81609. else {
  81610. t2 = _this._serialize$_buffer;
  81611. if (shortHex) {
  81612. t2.writeCharCode$1(35);
  81613. t2.writeCharCode$1(A.hexCharFor(t1));
  81614. t2.writeCharCode$1(A.hexCharFor(greenInt & 15));
  81615. t2.writeCharCode$1(A.hexCharFor(blueInt & 15));
  81616. } else {
  81617. t2.writeCharCode$1(35);
  81618. _this._writeHexComponent$1(redInt);
  81619. _this._writeHexComponent$1(greenInt);
  81620. _this._writeHexComponent$1(blueInt);
  81621. }
  81622. }
  81623. return true;
  81624. },
  81625. _canUseHex$1(rgb) {
  81626. var t2,
  81627. t1 = rgb.channel0OrNull;
  81628. if (t1 == null)
  81629. t1 = 0;
  81630. if (A.fuzzyIsInt(t1))
  81631. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  81632. else
  81633. t1 = false;
  81634. t2 = false;
  81635. if (t1) {
  81636. t1 = rgb.channel1OrNull;
  81637. if (t1 == null)
  81638. t1 = 0;
  81639. if (A.fuzzyIsInt(t1))
  81640. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  81641. else
  81642. t1 = false;
  81643. if (t1) {
  81644. t1 = rgb.channel2OrNull;
  81645. if (t1 == null)
  81646. t1 = 0;
  81647. if (A.fuzzyIsInt(t1))
  81648. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  81649. else
  81650. t1 = t2;
  81651. } else
  81652. t1 = t2;
  81653. } else
  81654. t1 = t2;
  81655. return t1;
  81656. },
  81657. _writeRgb$1(color) {
  81658. var t4, _this = this,
  81659. t1 = color.alphaOrNull,
  81660. t2 = t1 == null,
  81661. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1),
  81662. rgb = color.toSpace$1(B.RgbColorSpace_i0P),
  81663. t3 = _this._serialize$_buffer;
  81664. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  81665. _this._writeNumber$1(rgb.channel$1(0, "red"));
  81666. t4 = _this._style === B.OutputStyle_1;
  81667. t3.write$1(0, t4 ? "," : ", ");
  81668. _this._writeNumber$1(rgb.channel$1(0, "green"));
  81669. t3.write$1(0, t4 ? "," : ", ");
  81670. _this._writeNumber$1(rgb.channel$1(0, "blue"));
  81671. if (!opaque) {
  81672. t3.write$1(0, t4 ? "," : ", ");
  81673. _this._writeNumber$1(t2 ? 0 : t1);
  81674. }
  81675. t3.writeCharCode$1(41);
  81676. },
  81677. _writeHsl$1(color) {
  81678. var t4, _this = this,
  81679. t1 = color.alphaOrNull,
  81680. t2 = t1 == null,
  81681. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1),
  81682. hsl = color.toSpace$1(B.HslColorSpace_JQ2),
  81683. t3 = _this._serialize$_buffer;
  81684. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  81685. _this._writeChannel$1(hsl.channel$1(0, "hue"));
  81686. t4 = _this._style === B.OutputStyle_1;
  81687. t3.write$1(0, t4 ? "," : ", ");
  81688. _this._writeChannel$2(hsl.channel$1(0, "saturation"), "%");
  81689. t3.write$1(0, t4 ? "," : ", ");
  81690. _this._writeChannel$2(hsl.channel$1(0, "lightness"), "%");
  81691. if (!opaque) {
  81692. t3.write$1(0, t4 ? "," : ", ");
  81693. _this._writeNumber$1(t2 ? 0 : t1);
  81694. }
  81695. t3.writeCharCode$1(41);
  81696. },
  81697. _writeColorFunction$1(color) {
  81698. var _this = this,
  81699. t1 = _this._serialize$_buffer;
  81700. t1.write$1(0, "color(");
  81701. t1.write$1(0, color._space);
  81702. t1.writeCharCode$1(32);
  81703. _this._writeBetween$3(color.get$channelsOrNull(), " ", _this.get$_writeChannel());
  81704. _this._maybeWriteSlashAlpha$1(color);
  81705. t1.writeCharCode$1(41);
  81706. },
  81707. _writeHexComponent$1(color) {
  81708. var t1 = this._serialize$_buffer;
  81709. t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  81710. t1.writeCharCode$1(A.hexCharFor(color & 15));
  81711. },
  81712. _maybeWriteSlashAlpha$1(color) {
  81713. var t2, t3, _this = this,
  81714. t1 = color.alphaOrNull;
  81715. if (A.fuzzyEquals(t1 == null ? 0 : t1, 1))
  81716. return;
  81717. t2 = _this._style !== B.OutputStyle_1;
  81718. if (t2)
  81719. _this._serialize$_buffer.writeCharCode$1(32);
  81720. t3 = _this._serialize$_buffer;
  81721. t3.writeCharCode$1(47);
  81722. if (t2)
  81723. t3.writeCharCode$1(32);
  81724. _this._writeChannel$1(t1);
  81725. },
  81726. visitList$1(value) {
  81727. var t2, singleton, t3, t4, t5, _this = this,
  81728. t1 = value._hasBrackets;
  81729. if (t1)
  81730. _this._serialize$_buffer.writeCharCode$1(91);
  81731. else if (value._list$_contents.length === 0) {
  81732. if (!_this._inspect)
  81733. throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value.", null));
  81734. _this._serialize$_buffer.write$1(0, "()");
  81735. return;
  81736. }
  81737. t2 = _this._inspect;
  81738. singleton = false;
  81739. if (t2)
  81740. if (value._list$_contents.length === 1) {
  81741. t3 = value._separator;
  81742. t3 = t3 === B.ListSeparator_qVN || t3 === B.ListSeparator_bRz;
  81743. singleton = t3;
  81744. }
  81745. if (singleton && !t1)
  81746. _this._serialize$_buffer.writeCharCode$1(40);
  81747. t3 = value._list$_contents;
  81748. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  81749. t4 = value._separator;
  81750. t5 = _this._separatorString$1(t4);
  81751. _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
  81752. if (singleton) {
  81753. t2 = _this._serialize$_buffer;
  81754. t2.write$1(0, t4.separator);
  81755. if (!t1)
  81756. t2.writeCharCode$1(41);
  81757. }
  81758. if (t1)
  81759. _this._serialize$_buffer.writeCharCode$1(93);
  81760. },
  81761. _separatorString$1(separator) {
  81762. var t1;
  81763. $label0$0: {
  81764. if (B.ListSeparator_qVN === separator) {
  81765. t1 = this._style === B.OutputStyle_1 ? "," : ", ";
  81766. break $label0$0;
  81767. }
  81768. if (B.ListSeparator_bRz === separator) {
  81769. t1 = this._style === B.OutputStyle_1 ? "/" : " / ";
  81770. break $label0$0;
  81771. }
  81772. if (B.ListSeparator_qSL === separator) {
  81773. t1 = " ";
  81774. break $label0$0;
  81775. }
  81776. t1 = "";
  81777. break $label0$0;
  81778. }
  81779. return t1;
  81780. },
  81781. _elementNeedsParens$2(separator, value) {
  81782. var t1;
  81783. $label1$1: {
  81784. if (value instanceof A.SassList && value._list$_contents.length > 1 && !value._hasBrackets) {
  81785. $label0$0: {
  81786. if (B.ListSeparator_qVN === separator) {
  81787. t1 = value._separator === B.ListSeparator_qVN;
  81788. break $label0$0;
  81789. }
  81790. if (B.ListSeparator_bRz === separator) {
  81791. t1 = value._separator;
  81792. t1 = t1 === B.ListSeparator_qVN || t1 === B.ListSeparator_bRz;
  81793. break $label0$0;
  81794. }
  81795. t1 = value._separator !== B.ListSeparator_undecided_null_undecided;
  81796. break $label0$0;
  81797. }
  81798. break $label1$1;
  81799. }
  81800. t1 = false;
  81801. break $label1$1;
  81802. }
  81803. return t1;
  81804. },
  81805. visitMap$1(map) {
  81806. var t1, t2, _this = this;
  81807. if (!_this._inspect)
  81808. throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value.", null));
  81809. t1 = _this._serialize$_buffer;
  81810. t1.writeCharCode$1(40);
  81811. t2 = map._map$_contents;
  81812. _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
  81813. t1.writeCharCode$1(41);
  81814. },
  81815. _writeMapElement$1(value) {
  81816. var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_qVN && !value._hasBrackets;
  81817. if (needsParens)
  81818. this._serialize$_buffer.writeCharCode$1(40);
  81819. value.accept$1(this);
  81820. if (needsParens)
  81821. this._serialize$_buffer.writeCharCode$1(41);
  81822. },
  81823. visitNumber$1(value) {
  81824. var before, after, t1, _1_0, _this = this,
  81825. _0_0 = value.asSlash;
  81826. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  81827. before = _0_0._0;
  81828. after = _0_0._1;
  81829. _this.visitNumber$1(before);
  81830. _this._serialize$_buffer.writeCharCode$1(47);
  81831. _this.visitNumber$1(after);
  81832. return;
  81833. }
  81834. t1 = value._number$_value;
  81835. if (!isFinite(t1)) {
  81836. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  81837. return;
  81838. }
  81839. if (value.get$hasComplexUnits()) {
  81840. if (!_this._inspect)
  81841. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", null));
  81842. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  81843. } else {
  81844. _this._writeNumber$1(t1);
  81845. _1_0 = value.get$numeratorUnits(value);
  81846. if (_1_0.length === 1)
  81847. _this._serialize$_buffer.write$1(0, _1_0[0]);
  81848. }
  81849. },
  81850. _writeNumberToString$1(number) {
  81851. var t1 = new A.StringBuffer("");
  81852. this._writeNumber$2(number, new A.NoSourceMapBuffer(t1));
  81853. t1 = t1._contents;
  81854. return t1.charCodeAt(0) == 0 ? t1 : t1;
  81855. },
  81856. _writeNumber$2(number, buffer) {
  81857. var _0_0, text, _this = this;
  81858. if (buffer == null)
  81859. buffer = _this._serialize$_buffer;
  81860. _0_0 = A.fuzzyAsInt(number);
  81861. if (_0_0 != null) {
  81862. buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(_0_0)));
  81863. return;
  81864. }
  81865. text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
  81866. if (text.length < 12) {
  81867. buffer.write$1(0, _this._style === B.OutputStyle_1 && text.charCodeAt(0) === 48 ? B.JSString_methods.substring$1(text, 1) : text);
  81868. return;
  81869. }
  81870. _this._writeRounded$2(text, buffer);
  81871. },
  81872. _writeNumber$1(number) {
  81873. return this._writeNumber$2(number, null);
  81874. },
  81875. _removeExponent$1(text) {
  81876. var buffer, t2, t3, additionalZeroes,
  81877. negative = text.charCodeAt(0) === 45,
  81878. exponent = A._Cell$(),
  81879. t1 = text.length,
  81880. i = 0;
  81881. while (true) {
  81882. if (!(i < t1)) {
  81883. buffer = null;
  81884. break;
  81885. }
  81886. c$0: {
  81887. if (text.charCodeAt(i) !== 101)
  81888. break c$0;
  81889. buffer = new A.StringBuffer("");
  81890. t2 = buffer._contents = "" + A.Primitives_stringFromCharCode(text.charCodeAt(0));
  81891. if (negative) {
  81892. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  81893. buffer._contents = t2;
  81894. if (i > 3)
  81895. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  81896. } else if (i > 2)
  81897. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  81898. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  81899. break;
  81900. }
  81901. ++i;
  81902. }
  81903. if (buffer == null)
  81904. return text;
  81905. if (exponent._readLocal$0() > 0) {
  81906. t1 = exponent._readLocal$0();
  81907. t2 = buffer._contents;
  81908. t3 = negative ? 1 : 0;
  81909. additionalZeroes = t1 - (t2.length - 1 - t3);
  81910. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  81911. t1 = A.Primitives_stringFromCharCode(48);
  81912. t1 = buffer._contents += t1;
  81913. }
  81914. return t1.charCodeAt(0) == 0 ? t1 : t1;
  81915. } else {
  81916. negative = text.charCodeAt(0) === 45;
  81917. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  81918. i = -1;
  81919. while (true) {
  81920. t2 = exponent.__late_helper$_value;
  81921. if (t2 === exponent)
  81922. A.throwExpression(A.LateError$localNI(""));
  81923. if (!(i > t2))
  81924. break;
  81925. t1 += A.Primitives_stringFromCharCode(48);
  81926. --i;
  81927. }
  81928. if (negative) {
  81929. t2 = buffer._contents;
  81930. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  81931. } else
  81932. t2 = buffer;
  81933. t2 = t1 + A.S(t2);
  81934. return t2.charCodeAt(0) == 0 ? t2 : t2;
  81935. }
  81936. },
  81937. _writeRounded$2(text, buffer) {
  81938. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex;
  81939. if (B.JSString_methods.endsWith$1(text, ".0")) {
  81940. buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  81941. return;
  81942. }
  81943. t1 = text.length;
  81944. digits = new Uint8Array(t1 + 1);
  81945. negative = text.charCodeAt(0) === 45;
  81946. textIndex = negative ? 1 : 0;
  81947. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  81948. if (textIndex === t1) {
  81949. buffer.write$1(0, text);
  81950. return;
  81951. }
  81952. textIndex0 = textIndex + 1;
  81953. codeUnit = text.charCodeAt(textIndex);
  81954. if (codeUnit === 46) {
  81955. textIndex = textIndex0;
  81956. break;
  81957. }
  81958. digitsIndex0 = digitsIndex + 1;
  81959. digits[digitsIndex] = codeUnit - 48;
  81960. }
  81961. indexAfterPrecision = textIndex + 10;
  81962. if (indexAfterPrecision >= t1) {
  81963. buffer.write$1(0, text);
  81964. return;
  81965. }
  81966. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  81967. digitsIndex1 = digitsIndex0 + 1;
  81968. textIndex0 = textIndex + 1;
  81969. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  81970. }
  81971. if (text.charCodeAt(textIndex) - 48 >= 5)
  81972. for (; true; digitsIndex0 = digitsIndex1) {
  81973. digitsIndex1 = digitsIndex0 - 1;
  81974. newDigit = digits[digitsIndex1] + 1;
  81975. digits[digitsIndex1] = newDigit;
  81976. if (newDigit !== 10)
  81977. break;
  81978. }
  81979. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  81980. digits[digitsIndex0] = 0;
  81981. while (true) {
  81982. t1 = digitsIndex0 > digitsIndex;
  81983. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  81984. break;
  81985. --digitsIndex0;
  81986. }
  81987. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  81988. buffer.writeCharCode$1(48);
  81989. return;
  81990. }
  81991. if (negative)
  81992. buffer.writeCharCode$1(45);
  81993. if (digits[0] === 0)
  81994. writtenIndex = this._style === B.OutputStyle_1 && digits[1] === 0 ? 2 : 1;
  81995. else
  81996. writtenIndex = 0;
  81997. for (; writtenIndex < digitsIndex; ++writtenIndex)
  81998. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  81999. if (t1) {
  82000. buffer.writeCharCode$1(46);
  82001. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  82002. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  82003. }
  82004. },
  82005. _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  82006. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  82007. buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
  82008. if (forceDoubleQuote)
  82009. buffer.writeCharCode$1(34);
  82010. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  82011. char = string.charCodeAt(i);
  82012. _1_2 = 39 === char;
  82013. if (_1_2 && forceDoubleQuote) {
  82014. buffer.writeCharCode$1(39);
  82015. continue;
  82016. }
  82017. if (_1_2 && includesDoubleQuote) {
  82018. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  82019. return;
  82020. }
  82021. if (_1_2) {
  82022. buffer.writeCharCode$1(39);
  82023. includesSingleQuote = true;
  82024. continue;
  82025. }
  82026. _1_4 = 34 === char;
  82027. if (_1_4 && forceDoubleQuote) {
  82028. buffer.writeCharCode$1(92);
  82029. buffer.writeCharCode$1(34);
  82030. continue;
  82031. }
  82032. if (_1_4 && includesSingleQuote) {
  82033. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  82034. return;
  82035. }
  82036. if (_1_4) {
  82037. buffer.writeCharCode$1(34);
  82038. includesDoubleQuote = true;
  82039. continue;
  82040. }
  82041. 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) {
  82042. _this._writeEscape$4(buffer, char, string, i);
  82043. continue;
  82044. }
  82045. if (92 === char) {
  82046. buffer.writeCharCode$1(92);
  82047. buffer.writeCharCode$1(92);
  82048. continue;
  82049. }
  82050. _0_0 = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
  82051. if (_0_0 != null)
  82052. i = _0_0;
  82053. else
  82054. buffer.writeCharCode$1(char);
  82055. }
  82056. if (forceDoubleQuote)
  82057. buffer.writeCharCode$1(34);
  82058. else {
  82059. quote = includesDoubleQuote ? 39 : 34;
  82060. t1 = _this._serialize$_buffer;
  82061. t1.writeCharCode$1(quote);
  82062. t1.write$1(0, buffer);
  82063. t1.writeCharCode$1(quote);
  82064. }
  82065. },
  82066. _visitQuotedString$1(string) {
  82067. return this._visitQuotedString$2$forceDoubleQuote(string, false);
  82068. },
  82069. _visitUnquotedString$1(string) {
  82070. var t1, t2, afterNewline, i, _1_0, _0_0;
  82071. for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  82072. _1_0 = string.charCodeAt(i);
  82073. if (10 === _1_0) {
  82074. t2.writeCharCode$1(32);
  82075. afterNewline = true;
  82076. continue;
  82077. }
  82078. if (32 === _1_0) {
  82079. if (!afterNewline)
  82080. t2.writeCharCode$1(32);
  82081. continue;
  82082. }
  82083. _0_0 = this._tryPrivateUseCharacter$4(t2, _1_0, string, i);
  82084. if (_0_0 != null)
  82085. i = _0_0;
  82086. else
  82087. t2.writeCharCode$1(_1_0);
  82088. afterNewline = false;
  82089. }
  82090. },
  82091. _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  82092. var t1;
  82093. if (this._style === B.OutputStyle_1)
  82094. return null;
  82095. if (codeUnit >= 57344 && codeUnit <= 63743) {
  82096. this._writeEscape$4(buffer, codeUnit, string, i);
  82097. return i;
  82098. }
  82099. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  82100. t1 = i + 1;
  82101. this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (string.charCodeAt(t1) & 1023), string, t1);
  82102. return t1;
  82103. }
  82104. return null;
  82105. },
  82106. _writeEscape$4(buffer, character, string, i) {
  82107. var t1, next;
  82108. buffer.writeCharCode$1(92);
  82109. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  82110. t1 = i + 1;
  82111. if (string.length === t1)
  82112. return;
  82113. next = string.charCodeAt(t1);
  82114. if (A.CharacterExtension_get_isHex(next) || 32 === next || 9 === next)
  82115. buffer.writeCharCode$1(32);
  82116. },
  82117. visitAttributeSelector$1(attribute) {
  82118. var _0_0, t2,
  82119. t1 = this._serialize$_buffer;
  82120. t1.writeCharCode$1(91);
  82121. t1.write$1(0, attribute.name);
  82122. _0_0 = attribute.value;
  82123. if (_0_0 != null) {
  82124. t1.write$1(0, attribute.op);
  82125. if (A.Parser_isIdentifier(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  82126. t1.write$1(0, _0_0);
  82127. t2 = attribute.modifier;
  82128. if (t2 != null)
  82129. t1.writeCharCode$1(32);
  82130. } else {
  82131. this._visitQuotedString$1(_0_0);
  82132. t2 = attribute.modifier;
  82133. if (t2 != null)
  82134. if (this._style !== B.OutputStyle_1)
  82135. t1.writeCharCode$1(32);
  82136. }
  82137. A.NullableExtension_andThen(t2, t1.get$write(t1));
  82138. }
  82139. t1.writeCharCode$1(93);
  82140. },
  82141. visitClassSelector$1(klass) {
  82142. var t1 = this._serialize$_buffer;
  82143. t1.writeCharCode$1(46);
  82144. t1.write$1(0, klass.name);
  82145. },
  82146. visitComplexSelector$1(complex) {
  82147. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  82148. t1 = complex.leadingCombinators;
  82149. _this._writeCombinators$1(t1);
  82150. if (t1.length >= 1 && complex.components.length >= 1)
  82151. if (_this._style !== B.OutputStyle_1)
  82152. _this._serialize$_buffer.writeCharCode$1(32);
  82153. 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) {
  82154. component = t1[i];
  82155. _this.visitCompoundSelector$1(component.selector);
  82156. t7 = component.combinators;
  82157. t8 = t7.length === 0;
  82158. if (!t8)
  82159. if (t6)
  82160. t4.writeCharCode$1(32);
  82161. t9 = t5 ? "" : " ";
  82162. _this._writeBetween$3(t7, t9, t4.get$write(t4));
  82163. if (i !== t3)
  82164. t7 = !t5 || t8;
  82165. else
  82166. t7 = false;
  82167. if (t7)
  82168. t4.writeCharCode$1(32);
  82169. }
  82170. },
  82171. _writeCombinators$1(combinators) {
  82172. var t1 = this._style === B.OutputStyle_1 ? "" : " ",
  82173. t2 = this._serialize$_buffer;
  82174. return this._writeBetween$3(combinators, t1, t2.get$write(t2));
  82175. },
  82176. visitCompoundSelector$1(compound) {
  82177. var t2, t3, _i,
  82178. t1 = this._serialize$_buffer,
  82179. start = t1.get$length(t1);
  82180. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  82181. t2[_i].accept$1(this);
  82182. if (t1.get$length(t1) === start)
  82183. t1.writeCharCode$1(42);
  82184. },
  82185. visitIDSelector$1(id) {
  82186. var t1 = this._serialize$_buffer;
  82187. t1.writeCharCode$1(35);
  82188. t1.write$1(0, id.name);
  82189. },
  82190. visitSelectorList$1(list) {
  82191. var t1, t2, t3, first, t4, _this = this,
  82192. complexes = list.components;
  82193. 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();) {
  82194. t4 = t1.get$current(t1);
  82195. if (first)
  82196. first = false;
  82197. else {
  82198. t3.writeCharCode$1(44);
  82199. if (t4.lineBreak) {
  82200. if (t2)
  82201. t3.write$1(0, "\n");
  82202. _this._writeIndentation$0();
  82203. } else if (t2)
  82204. t3.writeCharCode$1(32);
  82205. }
  82206. _this.visitComplexSelector$1(t4);
  82207. }
  82208. },
  82209. visitParentSelector$1($parent) {
  82210. var t1 = this._serialize$_buffer;
  82211. t1.writeCharCode$1(38);
  82212. A.NullableExtension_andThen($parent.suffix, t1.get$write(t1));
  82213. },
  82214. visitPlaceholderSelector$1(placeholder) {
  82215. var t1 = this._serialize$_buffer;
  82216. t1.writeCharCode$1(37);
  82217. t1.write$1(0, placeholder.name);
  82218. },
  82219. visitPseudoSelector$1(pseudo) {
  82220. var _0_4, t3,
  82221. t1 = pseudo.name,
  82222. t2 = false;
  82223. if ("not" === t1) {
  82224. _0_4 = pseudo.selector;
  82225. if (_0_4 instanceof A.SelectorList)
  82226. t2 = (_0_4 == null ? type$.SelectorList._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true);
  82227. }
  82228. if (t2)
  82229. return;
  82230. t2 = this._serialize$_buffer;
  82231. t2.writeCharCode$1(58);
  82232. if (!pseudo.isSyntacticClass)
  82233. t2.writeCharCode$1(58);
  82234. t2.write$1(0, t1);
  82235. t1 = pseudo.argument;
  82236. t3 = t1 == null;
  82237. if (t3 && pseudo.selector == null)
  82238. return;
  82239. t2.writeCharCode$1(40);
  82240. if (!t3) {
  82241. t2.write$1(0, t1);
  82242. if (pseudo.selector != null)
  82243. t2.writeCharCode$1(32);
  82244. }
  82245. A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  82246. t2.writeCharCode$1(41);
  82247. },
  82248. visitTypeSelector$1(type) {
  82249. this._serialize$_buffer.write$1(0, type.name);
  82250. },
  82251. visitUniversalSelector$1(universal) {
  82252. var t2,
  82253. t1 = universal.namespace;
  82254. if (t1 != null) {
  82255. t2 = this._serialize$_buffer;
  82256. t2.write$1(0, t1);
  82257. t2.writeCharCode$1(124);
  82258. }
  82259. this._serialize$_buffer.writeCharCode$1(42);
  82260. },
  82261. _serialize$_write$1(value) {
  82262. return this._serialize$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure(this, value));
  82263. },
  82264. _serialize$_visitChildren$1($parent) {
  82265. var t2, t3, t4, t5, t6, t7, prePrevious, previous, t8, previous0, t9, savedIndentation, _this = this,
  82266. t1 = _this._serialize$_buffer;
  82267. t1.writeCharCode$1(123);
  82268. 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();) {
  82269. t8 = t2.__internal$_current;
  82270. previous0 = t8 == null ? t3._as(t8) : t8;
  82271. if (t7)
  82272. t8 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  82273. else
  82274. t8 = false;
  82275. if (t8)
  82276. continue;
  82277. t8 = previous == null;
  82278. t9 = t8 ? null : t6.call$1(previous);
  82279. if (t9 == null ? false : t9)
  82280. t1.writeCharCode$1(59);
  82281. if (_this._isTrailingComment$2(previous0, t8 ? $parent : previous)) {
  82282. if (t5)
  82283. t1.writeCharCode$1(32);
  82284. savedIndentation = _this._indentation;
  82285. _this._indentation = 0;
  82286. new A._SerializeVisitor__visitChildren_closure(_this, previous0).call$0();
  82287. _this._indentation = savedIndentation;
  82288. } else {
  82289. if (t5)
  82290. t1.write$1(0, "\n");
  82291. ++_this._indentation;
  82292. new A._SerializeVisitor__visitChildren_closure0(_this, previous0).call$0();
  82293. --_this._indentation;
  82294. }
  82295. prePrevious = previous;
  82296. previous = previous0;
  82297. }
  82298. if (previous != null) {
  82299. if ((type$.CssParentNode._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t5)
  82300. t1.writeCharCode$1(59);
  82301. if (prePrevious == null && _this._isTrailingComment$2(previous, $parent)) {
  82302. if (t5)
  82303. t1.writeCharCode$1(32);
  82304. } else {
  82305. _this._writeLineFeed$0();
  82306. _this._writeIndentation$0();
  82307. }
  82308. }
  82309. t1.writeCharCode$1(125);
  82310. },
  82311. _requiresSemicolon$1(node) {
  82312. return type$.CssParentNode._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment);
  82313. },
  82314. _isTrailingComment$2(node, previous) {
  82315. var t1, t2, t3, t4, searchFrom, endOffset, t5, span;
  82316. if (this._style === B.OutputStyle_1)
  82317. return false;
  82318. if (!(node instanceof A.ModifiableCssComment))
  82319. return false;
  82320. t1 = node.span;
  82321. t2 = t1.file;
  82322. t3 = t2.url;
  82323. t4 = previous.get$span(previous);
  82324. if (!J.$eq$(t3, t4.get$sourceUrl(t4)))
  82325. return false;
  82326. t4 = previous.get$span(previous);
  82327. 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)) {
  82328. t1 = A.FileLocation$_(t2, t1._file$_start);
  82329. t1 = t1.file.getLine$1(t1.offset);
  82330. t2 = previous.get$span(previous);
  82331. t2 = t2.get$end(t2);
  82332. return t1 === t2.file.getLine$1(t2.offset);
  82333. }
  82334. t1 = t1._file$_start;
  82335. t3 = A.FileLocation$_(t2, t1);
  82336. t4 = previous.get$span(previous);
  82337. searchFrom = t3.offset - t4.get$start(t4).offset - 1;
  82338. if (searchFrom < 0)
  82339. return false;
  82340. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  82341. t3 = previous.get$span(previous);
  82342. t3 = t3.get$file(t3);
  82343. t4 = previous.get$span(previous);
  82344. t4 = t4.get$start(t4);
  82345. t5 = previous.get$span(previous);
  82346. span = t3.span$2(0, t4.offset, t5.get$start(t5).offset + endOffset);
  82347. t1 = A.FileLocation$_(t2, t1);
  82348. t1 = t1.file.getLine$1(t1.offset);
  82349. t2 = A.FileLocation$_(span.file, span._end);
  82350. return t1 === t2.file.getLine$1(t2.offset);
  82351. },
  82352. _writeLineFeed$0() {
  82353. if (this._style !== B.OutputStyle_1)
  82354. this._serialize$_buffer.write$1(0, "\n");
  82355. },
  82356. _writeIndentation$0() {
  82357. var _this = this;
  82358. if (_this._style === B.OutputStyle_1)
  82359. return;
  82360. _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
  82361. },
  82362. _writeTimes$2(char, times) {
  82363. var t1, i;
  82364. for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
  82365. t1.writeCharCode$1(char);
  82366. },
  82367. _writeBetween$1$3(iterable, text, callback) {
  82368. var t1, t2, first, value;
  82369. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
  82370. value = t1.get$current(t1);
  82371. if (first)
  82372. first = false;
  82373. else
  82374. t2.write$1(0, text);
  82375. callback.call$1(value);
  82376. }
  82377. },
  82378. _writeBetween$3(iterable, text, callback) {
  82379. return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
  82380. }
  82381. };
  82382. A._SerializeVisitor_visitCssComment_closure.prototype = {
  82383. call$0() {
  82384. var t2, t3, _0_0, minimumIndentation,
  82385. t1 = this.$this;
  82386. if (t1._style === B.OutputStyle_1 && this.node.text.charCodeAt(2) !== 33)
  82387. return;
  82388. t2 = this.node;
  82389. t3 = t2.text;
  82390. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  82391. return;
  82392. _0_0 = t1._minimumIndentation$1(t3);
  82393. if (_0_0 != null) {
  82394. t2 = t2.span;
  82395. t2 = A.FileLocation$_(t2.file, t2._file$_start);
  82396. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  82397. t1._writeIndentation$0();
  82398. t1._writeWithIndent$2(t3, minimumIndentation);
  82399. } else {
  82400. t1._writeIndentation$0();
  82401. t1._serialize$_buffer.write$1(0, t3);
  82402. }
  82403. },
  82404. $signature: 1
  82405. };
  82406. A._SerializeVisitor_visitCssAtRule_closure.prototype = {
  82407. call$0() {
  82408. var t3, _0_0,
  82409. t1 = this.$this,
  82410. t2 = t1._serialize$_buffer;
  82411. t2.writeCharCode$1(64);
  82412. t3 = this.node;
  82413. t1._serialize$_write$1(t3.name);
  82414. _0_0 = t3.value;
  82415. if (_0_0 != null) {
  82416. t2.writeCharCode$1(32);
  82417. t1._serialize$_write$1(_0_0);
  82418. }
  82419. },
  82420. $signature: 1
  82421. };
  82422. A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
  82423. call$0() {
  82424. var t3, firstQuery, t4, t5,
  82425. t1 = this.$this,
  82426. t2 = t1._serialize$_buffer;
  82427. t2.write$1(0, "@media");
  82428. t3 = this.node.queries;
  82429. firstQuery = B.JSArray_methods.get$first(t3);
  82430. t4 = t1._style === B.OutputStyle_1;
  82431. t5 = true;
  82432. if (t4)
  82433. if (firstQuery.modifier == null)
  82434. if (firstQuery.type == null) {
  82435. t5 = firstQuery.conditions;
  82436. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  82437. }
  82438. if (t5)
  82439. t2.writeCharCode$1(32);
  82440. t2 = t4 ? "," : ", ";
  82441. t1._writeBetween$3(t3, t2, t1.get$_visitMediaQuery());
  82442. },
  82443. $signature: 1
  82444. };
  82445. A._SerializeVisitor_visitCssImport_closure.prototype = {
  82446. call$0() {
  82447. var t3, t4, _0_0,
  82448. t1 = this.$this,
  82449. t2 = t1._serialize$_buffer;
  82450. t2.write$1(0, "@import");
  82451. t3 = t1._style !== B.OutputStyle_1;
  82452. if (t3)
  82453. t2.writeCharCode$1(32);
  82454. t4 = this.node;
  82455. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure(t1, t4));
  82456. _0_0 = t4.modifiers;
  82457. if (_0_0 != null) {
  82458. if (t3)
  82459. t2.writeCharCode$1(32);
  82460. t2.write$1(0, _0_0);
  82461. }
  82462. },
  82463. $signature: 1
  82464. };
  82465. A._SerializeVisitor_visitCssImport__closure.prototype = {
  82466. call$0() {
  82467. return this.$this._writeImportUrl$1(this.node.url.value);
  82468. },
  82469. $signature: 0
  82470. };
  82471. A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
  82472. call$0() {
  82473. var t1 = this.$this,
  82474. t2 = t1._style === B.OutputStyle_1 ? "," : ", ",
  82475. t3 = t1._serialize$_buffer;
  82476. return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  82477. },
  82478. $signature: 0
  82479. };
  82480. A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
  82481. call$0() {
  82482. return this.$this.visitSelectorList$1(this.node._style_rule$_selector._box$_inner.value);
  82483. },
  82484. $signature: 0
  82485. };
  82486. A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
  82487. call$0() {
  82488. var t1 = this.$this,
  82489. t2 = t1._serialize$_buffer;
  82490. t2.write$1(0, "@supports");
  82491. if (!(t1._style === B.OutputStyle_1 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  82492. t2.writeCharCode$1(32);
  82493. t1._serialize$_write$1(this.node.condition);
  82494. },
  82495. $signature: 1
  82496. };
  82497. A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
  82498. call$0() {
  82499. var t1 = this.$this,
  82500. t2 = this.node;
  82501. if (t1._style === B.OutputStyle_1)
  82502. t1._writeFoldedValue$1(t2);
  82503. else
  82504. t1._writeReindentedValue$1(t2);
  82505. },
  82506. $signature: 1
  82507. };
  82508. A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
  82509. call$0() {
  82510. return this.node.value.value.accept$1(this.$this);
  82511. },
  82512. $signature: 0
  82513. };
  82514. A._SerializeVisitor_visitList_closure.prototype = {
  82515. call$1(element) {
  82516. return !element.get$isBlank();
  82517. },
  82518. $signature: 72
  82519. };
  82520. A._SerializeVisitor_visitList_closure0.prototype = {
  82521. call$1(element) {
  82522. var t1 = this.$this,
  82523. needsParens = t1._elementNeedsParens$2(this.value._separator, element);
  82524. if (needsParens)
  82525. t1._serialize$_buffer.writeCharCode$1(40);
  82526. element.accept$1(t1);
  82527. if (needsParens)
  82528. t1._serialize$_buffer.writeCharCode$1(41);
  82529. },
  82530. $signature: 60
  82531. };
  82532. A._SerializeVisitor_visitList_closure1.prototype = {
  82533. call$1(element) {
  82534. element.accept$1(this.$this);
  82535. },
  82536. $signature: 60
  82537. };
  82538. A._SerializeVisitor_visitMap_closure.prototype = {
  82539. call$1(entry) {
  82540. var t1 = this.$this;
  82541. t1._writeMapElement$1(entry.key);
  82542. t1._serialize$_buffer.write$1(0, ": ");
  82543. t1._writeMapElement$1(entry.value);
  82544. },
  82545. $signature: 279
  82546. };
  82547. A._SerializeVisitor_visitSelectorList_closure.prototype = {
  82548. call$1(complex) {
  82549. return !complex.accept$1(B._IsInvisibleVisitor_true);
  82550. },
  82551. $signature: 19
  82552. };
  82553. A._SerializeVisitor__write_closure.prototype = {
  82554. call$0() {
  82555. return this.$this._serialize$_buffer.write$1(0, this.value.value);
  82556. },
  82557. $signature: 0
  82558. };
  82559. A._SerializeVisitor__visitChildren_closure.prototype = {
  82560. call$0() {
  82561. return this.child.accept$1(this.$this);
  82562. },
  82563. $signature: 0
  82564. };
  82565. A._SerializeVisitor__visitChildren_closure0.prototype = {
  82566. call$0() {
  82567. this.child.accept$1(this.$this);
  82568. },
  82569. $signature: 0
  82570. };
  82571. A.OutputStyle.prototype = {
  82572. _enumToString$0() {
  82573. return "OutputStyle." + this._name;
  82574. }
  82575. };
  82576. A.LineFeed.prototype = {
  82577. _enumToString$0() {
  82578. return "LineFeed." + this._name;
  82579. },
  82580. toString$0(_) {
  82581. return "lf";
  82582. }
  82583. };
  82584. A.StatementSearchVisitor.prototype = {
  82585. visitAtRootRule$1(_, node) {
  82586. return this.visitChildren$1(node.children);
  82587. },
  82588. visitAtRule$1(_, node) {
  82589. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  82590. },
  82591. visitContentBlock$1(_, node) {
  82592. return this.visitChildren$1(node.children);
  82593. },
  82594. visitContentRule$1(_, node) {
  82595. return null;
  82596. },
  82597. visitDebugRule$1(_, node) {
  82598. return null;
  82599. },
  82600. visitDeclaration$1(_, node) {
  82601. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  82602. },
  82603. visitEachRule$1(_, node) {
  82604. return this.visitChildren$1(node.children);
  82605. },
  82606. visitErrorRule$1(_, node) {
  82607. return null;
  82608. },
  82609. visitExtendRule$1(_, node) {
  82610. return null;
  82611. },
  82612. visitForRule$1(_, node) {
  82613. return this.visitChildren$1(node.children);
  82614. },
  82615. visitForwardRule$1(_, node) {
  82616. return null;
  82617. },
  82618. visitFunctionRule$1(_, node) {
  82619. return this.visitChildren$1(node.children);
  82620. },
  82621. visitIfRule$1(_, node) {
  82622. var t1 = A.IterableExtension_search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
  82623. return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
  82624. },
  82625. visitImportRule$1(_, node) {
  82626. return null;
  82627. },
  82628. visitIncludeRule$1(_, node) {
  82629. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock(this));
  82630. },
  82631. visitLoudComment$1(_, node) {
  82632. return null;
  82633. },
  82634. visitMediaRule$1(_, node) {
  82635. return this.visitChildren$1(node.children);
  82636. },
  82637. visitMixinRule$1(_, node) {
  82638. return this.visitChildren$1(node.children);
  82639. },
  82640. visitReturnRule$1(_, node) {
  82641. return null;
  82642. },
  82643. visitSilentComment$1(_, node) {
  82644. return null;
  82645. },
  82646. visitStyleRule$1(_, node) {
  82647. return this.visitChildren$1(node.children);
  82648. },
  82649. visitStylesheet$1(_, node) {
  82650. return this.visitChildren$1(node.children);
  82651. },
  82652. visitSupportsRule$1(_, node) {
  82653. return this.visitChildren$1(node.children);
  82654. },
  82655. visitUseRule$1(_, node) {
  82656. return null;
  82657. },
  82658. visitVariableDeclaration$1(_, node) {
  82659. return null;
  82660. },
  82661. visitWarnRule$1(_, node) {
  82662. return null;
  82663. },
  82664. visitWhileRule$1(_, node) {
  82665. return this.visitChildren$1(node.children);
  82666. },
  82667. visitChildren$1(children) {
  82668. return A.IterableExtension_search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
  82669. }
  82670. };
  82671. A.StatementSearchVisitor_visitIfRule_closure.prototype = {
  82672. call$1(clause) {
  82673. return A.IterableExtension_search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
  82674. },
  82675. $signature() {
  82676. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
  82677. }
  82678. };
  82679. A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
  82680. call$1(child) {
  82681. return child.accept$1(this.$this);
  82682. },
  82683. $signature() {
  82684. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  82685. }
  82686. };
  82687. A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
  82688. call$1(lastClause) {
  82689. return A.IterableExtension_search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
  82690. },
  82691. $signature() {
  82692. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
  82693. }
  82694. };
  82695. A.StatementSearchVisitor_visitIfRule__closure.prototype = {
  82696. call$1(child) {
  82697. return child.accept$1(this.$this);
  82698. },
  82699. $signature() {
  82700. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  82701. }
  82702. };
  82703. A.StatementSearchVisitor_visitChildren_closure.prototype = {
  82704. call$1(child) {
  82705. return child.accept$1(this.$this);
  82706. },
  82707. $signature() {
  82708. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  82709. }
  82710. };
  82711. A.Entry.prototype = {
  82712. compareTo$1(_, other) {
  82713. var t1, t2,
  82714. res = this.target.compareTo$1(0, other.target);
  82715. if (res !== 0)
  82716. return res;
  82717. t1 = this.source;
  82718. t2 = other.source;
  82719. res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
  82720. if (res !== 0)
  82721. return res;
  82722. return t1.compareTo$1(0, t2);
  82723. },
  82724. $isComparable: 1
  82725. };
  82726. A.Mapping.prototype = {};
  82727. A.SingleMapping.prototype = {
  82728. toJson$1$includeSourceContents(includeSourceContents) {
  82729. 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,
  82730. buff = new A.StringBuffer("");
  82731. 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) {
  82732. entry = t1[_i];
  82733. nextLine = entry.line;
  82734. if (nextLine > line) {
  82735. for (i = line; i < nextLine; ++i)
  82736. buff._contents += ";";
  82737. line = nextLine;
  82738. column = 0;
  82739. first = true;
  82740. }
  82741. for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
  82742. t4 = t3.get$current(t3);
  82743. if (!first)
  82744. buff._contents += ",";
  82745. column0 = t4.column;
  82746. t5 = A.encodeVlq(column0 - column);
  82747. t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
  82748. buff._contents = t5;
  82749. newUrlId = t4.sourceUrlId;
  82750. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
  82751. buff._contents = t5;
  82752. srcLine0 = t4.sourceLine;
  82753. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
  82754. buff._contents = t5;
  82755. srcColumn0 = t4.sourceColumn;
  82756. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
  82757. buff._contents = t5;
  82758. srcNameId0 = t4.sourceNameId;
  82759. if (srcNameId0 == null) {
  82760. srcUrlId = newUrlId;
  82761. srcColumn = srcColumn0;
  82762. srcLine = srcLine0;
  82763. continue;
  82764. }
  82765. buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
  82766. srcNameId = srcNameId0;
  82767. srcUrlId = newUrlId;
  82768. srcColumn = srcColumn0;
  82769. srcLine = srcLine0;
  82770. }
  82771. }
  82772. t1 = _this.sourceRoot;
  82773. if (t1 == null)
  82774. t1 = "";
  82775. t2 = buff._contents;
  82776. 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);
  82777. t1 = _this.targetUrl;
  82778. if (t1 != null)
  82779. result.$indexSet(0, "file", t1);
  82780. if (includeSourceContents) {
  82781. t1 = _this.files;
  82782. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
  82783. result.$indexSet(0, "sourcesContent", A.List_List$of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), true, t2._eval$1("ListIterable.E")));
  82784. }
  82785. _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
  82786. return result;
  82787. },
  82788. toJson$0() {
  82789. return this.toJson$1$includeSourceContents(false);
  82790. },
  82791. toString$0(_) {
  82792. var _this = this,
  82793. 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) + "]";
  82794. return t1.charCodeAt(0) == 0 ? t1 : t1;
  82795. }
  82796. };
  82797. A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
  82798. call$0() {
  82799. return this.urls.__js_helper$_length;
  82800. },
  82801. $signature: 10
  82802. };
  82803. A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
  82804. call$0() {
  82805. return this.sourceEntry.source.file;
  82806. },
  82807. $signature: 280
  82808. };
  82809. A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
  82810. call$1(i) {
  82811. return this.files.$index(0, i);
  82812. },
  82813. $signature: 281
  82814. };
  82815. A.SingleMapping_toJson_closure.prototype = {
  82816. call$1(file) {
  82817. return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
  82818. },
  82819. $signature: 282
  82820. };
  82821. A.SingleMapping_toJson_closure0.prototype = {
  82822. call$2($name, value) {
  82823. this.result.$indexSet(0, $name, value);
  82824. return value;
  82825. },
  82826. $signature: 139
  82827. };
  82828. A.TargetLineEntry.prototype = {
  82829. toString$0(_) {
  82830. return A.getRuntimeTypeOfDartObject(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
  82831. }
  82832. };
  82833. A.TargetEntry.prototype = {
  82834. toString$0(_) {
  82835. var _this = this;
  82836. return A.getRuntimeTypeOfDartObject(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
  82837. }
  82838. };
  82839. A.SourceFile.prototype = {
  82840. get$length(_) {
  82841. return this._decodedChars.length;
  82842. },
  82843. get$lines() {
  82844. return this._lineStarts.length;
  82845. },
  82846. SourceFile$decoded$2$url(decodedChars, url) {
  82847. var t1, t2, t3, i, c, j;
  82848. for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
  82849. c = t1[i];
  82850. if (c === 13) {
  82851. j = i + 1;
  82852. if (j >= t2 || t1[j] !== 10)
  82853. c = 10;
  82854. }
  82855. if (c === 10)
  82856. t3.push(i + 1);
  82857. }
  82858. },
  82859. span$2(_, start, end) {
  82860. return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
  82861. },
  82862. span$1(_, start) {
  82863. return this.span$2(0, start, null);
  82864. },
  82865. getLine$1(offset) {
  82866. var t1, _this = this;
  82867. if (offset < 0)
  82868. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  82869. else if (offset > _this._decodedChars.length)
  82870. throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_n + _this.get$length(0) + "."));
  82871. t1 = _this._lineStarts;
  82872. if (offset < B.JSArray_methods.get$first(t1))
  82873. return -1;
  82874. if (offset >= B.JSArray_methods.get$last(t1))
  82875. return t1.length - 1;
  82876. if (_this._isNearCachedLine$1(offset)) {
  82877. t1 = _this._cachedLine;
  82878. t1.toString;
  82879. return t1;
  82880. }
  82881. return _this._cachedLine = _this._binarySearch$1(offset) - 1;
  82882. },
  82883. _isNearCachedLine$1(offset) {
  82884. var t2, t3,
  82885. t1 = this._cachedLine;
  82886. if (t1 == null)
  82887. return false;
  82888. t2 = this._lineStarts;
  82889. if (offset < t2[t1])
  82890. return false;
  82891. t3 = t2.length;
  82892. if (t1 >= t3 - 1 || offset < t2[t1 + 1])
  82893. return true;
  82894. if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
  82895. this._cachedLine = t1 + 1;
  82896. return true;
  82897. }
  82898. return false;
  82899. },
  82900. _binarySearch$1(offset) {
  82901. var min, half,
  82902. t1 = this._lineStarts,
  82903. max = t1.length - 1;
  82904. for (min = 0; min < max;) {
  82905. half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
  82906. if (t1[half] > offset)
  82907. max = half;
  82908. else
  82909. min = half + 1;
  82910. }
  82911. return max;
  82912. },
  82913. getColumn$1(offset) {
  82914. var line, lineStart, _this = this;
  82915. if (offset < 0)
  82916. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  82917. else if (offset > _this._decodedChars.length)
  82918. throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(0) + "."));
  82919. line = _this.getLine$1(offset);
  82920. lineStart = _this._lineStarts[line];
  82921. if (lineStart > offset)
  82922. throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
  82923. return offset - lineStart;
  82924. },
  82925. getOffset$1(line) {
  82926. var t1, t2, result, t3;
  82927. if (line < 0)
  82928. throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
  82929. else {
  82930. t1 = this._lineStarts;
  82931. t2 = t1.length;
  82932. if (line >= t2)
  82933. throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
  82934. }
  82935. result = t1[line];
  82936. if (result <= this._decodedChars.length) {
  82937. t3 = line + 1;
  82938. t1 = t3 < t2 && result >= t1[t3];
  82939. } else
  82940. t1 = true;
  82941. if (t1)
  82942. throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
  82943. return result;
  82944. }
  82945. };
  82946. A.FileLocation.prototype = {
  82947. get$sourceUrl(_) {
  82948. return this.file.url;
  82949. },
  82950. get$line() {
  82951. return this.file.getLine$1(this.offset);
  82952. },
  82953. get$column() {
  82954. return this.file.getColumn$1(this.offset);
  82955. },
  82956. FileLocation$_$2(file, offset) {
  82957. var t2,
  82958. t1 = this.offset;
  82959. if (t1 < 0)
  82960. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + t1 + "."));
  82961. else {
  82962. t2 = this.file;
  82963. if (t1 > t2._decodedChars.length)
  82964. throw A.wrapException(A.RangeError$("Offset " + t1 + string$.x20must_n + t2.get$length(0) + "."));
  82965. }
  82966. },
  82967. pointSpan$0() {
  82968. var t1 = this.offset;
  82969. return A._FileSpan$(this.file, t1, t1);
  82970. },
  82971. get$offset() {
  82972. return this.offset;
  82973. }
  82974. };
  82975. A._FileSpan.prototype = {
  82976. get$sourceUrl(_) {
  82977. return this.file.url;
  82978. },
  82979. get$length(_) {
  82980. return this._end - this._file$_start;
  82981. },
  82982. get$start(_) {
  82983. return A.FileLocation$_(this.file, this._file$_start);
  82984. },
  82985. get$end(_) {
  82986. return A.FileLocation$_(this.file, this._end);
  82987. },
  82988. get$text() {
  82989. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
  82990. },
  82991. get$context(_) {
  82992. var _this = this,
  82993. t1 = _this.file,
  82994. endOffset = _this._end,
  82995. endLine = t1.getLine$1(endOffset);
  82996. if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
  82997. if (endOffset - _this._file$_start === 0)
  82998. 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);
  82999. } else
  83000. endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
  83001. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
  83002. },
  83003. _FileSpan$3(file, _start, _end) {
  83004. var t3,
  83005. t1 = this._end,
  83006. t2 = this._file$_start;
  83007. if (t1 < t2)
  83008. throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
  83009. else {
  83010. t3 = this.file;
  83011. if (t1 > t3._decodedChars.length)
  83012. throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_n + t3.get$length(0) + "."));
  83013. else if (t2 < 0)
  83014. throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
  83015. }
  83016. },
  83017. compareTo$1(_, other) {
  83018. var result;
  83019. if (!(other instanceof A._FileSpan))
  83020. return this.super$SourceSpanMixin$compareTo(0, other);
  83021. result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
  83022. return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
  83023. },
  83024. $eq(_, other) {
  83025. var _this = this;
  83026. if (other == null)
  83027. return false;
  83028. if (!type$.FileSpan._is(other))
  83029. return _this.super$SourceSpanMixin$$eq(0, other);
  83030. if (!(other instanceof A._FileSpan))
  83031. return _this.super$SourceSpanMixin$$eq(0, other) && J.$eq$(_this.file.url, other.get$sourceUrl(other));
  83032. return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
  83033. },
  83034. get$hashCode(_) {
  83035. return A.Object_hash(this._file$_start, this._end, this.file.url, B.C_SentinelValue);
  83036. },
  83037. expand$1(_, other) {
  83038. var t2, t3, _this = this,
  83039. t1 = _this.file;
  83040. if (!J.$eq$(t1.url, other.get$sourceUrl(other)))
  83041. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83042. t2 = _this._file$_start;
  83043. t3 = _this._end;
  83044. if (other instanceof A._FileSpan)
  83045. return A._FileSpan$(t1, Math.min(t2, other._file$_start), Math.max(t3, other._end));
  83046. else
  83047. return A._FileSpan$(t1, Math.min(t2, other.get$start(other).offset), Math.max(t3, other.get$end(other).offset));
  83048. },
  83049. $isFileSpan: 1,
  83050. $isSourceSpanWithContext: 1,
  83051. get$file(receiver) {
  83052. return this.file;
  83053. }
  83054. };
  83055. A.Highlighter.prototype = {
  83056. highlight$0() {
  83057. var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
  83058. t1 = _this._lines;
  83059. _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
  83060. t2 = _this._maxMultilineSpans;
  83061. highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
  83062. for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
  83063. line = t1[i];
  83064. if (i > 0) {
  83065. lastLine = t1[i - 1];
  83066. t5 = line.url;
  83067. if (!J.$eq$(lastLine.url, t5)) {
  83068. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  83069. t3._contents += "\n";
  83070. _this._writeFileStart$1(t5);
  83071. } else if (lastLine.number + 1 !== line.number) {
  83072. _this._writeSidebar$1$text("...");
  83073. t3._contents += "\n";
  83074. }
  83075. }
  83076. 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();) {
  83077. t10 = t7.__internal$_current;
  83078. if (t10 == null)
  83079. t10 = t6._as(t10);
  83080. t11 = t10.span;
  83081. 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()))) {
  83082. index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
  83083. if (index < 0)
  83084. A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
  83085. highlightsByColumn[index] = t10;
  83086. }
  83087. }
  83088. _this._writeSidebar$1$line(t8);
  83089. t3._contents += " ";
  83090. _this._writeMultilineHighlights$2(line, highlightsByColumn);
  83091. if (t2)
  83092. t3._contents += " ";
  83093. primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
  83094. primary = primaryIdx === -1 ? _null : t5[primaryIdx];
  83095. t6 = primary != null;
  83096. if (t6) {
  83097. t7 = primary.span;
  83098. t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
  83099. _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
  83100. } else
  83101. _this._writeText$1(t9);
  83102. t3._contents += "\n";
  83103. if (t6)
  83104. _this._writeIndicator$3(line, primary, highlightsByColumn);
  83105. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
  83106. highlight = t5[_i];
  83107. if (highlight.isPrimary)
  83108. continue;
  83109. _this._writeIndicator$3(line, highlight, highlightsByColumn);
  83110. }
  83111. }
  83112. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  83113. t1 = t3._contents;
  83114. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83115. },
  83116. _writeFileStart$1(url) {
  83117. var _this = this,
  83118. t1 = !_this._multipleFiles || !type$.Uri._is(url),
  83119. t2 = $._glyphs;
  83120. if (t1)
  83121. _this._writeSidebar$1$end(t2.get$downEnd());
  83122. else {
  83123. _this._writeSidebar$1$end(t2.get$topLeftCorner());
  83124. _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
  83125. t1 = _this._highlighter$_buffer;
  83126. t2 = " " + $.$get$context().prettyUri$1(url);
  83127. t1._contents += t2;
  83128. }
  83129. _this._highlighter$_buffer._contents += "\n";
  83130. },
  83131. _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
  83132. var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
  83133. _box_0.openedOnThisLine = false;
  83134. _box_0.openedOnThisLineColor = null;
  83135. t1 = current == null;
  83136. if (t1)
  83137. currentColor = null;
  83138. else
  83139. currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
  83140. for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
  83141. highlight = highlightsByColumn[_i];
  83142. t6 = highlight == null;
  83143. if (t6)
  83144. startLine = null;
  83145. else {
  83146. t7 = highlight.span;
  83147. startLine = t7.get$start(t7).get$line();
  83148. }
  83149. if (t6)
  83150. endLine = null;
  83151. else {
  83152. t7 = highlight.span;
  83153. endLine = t7.get$end(t7).get$line();
  83154. }
  83155. if (t1 && highlight === current) {
  83156. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
  83157. foundCurrent = true;
  83158. } else if (foundCurrent)
  83159. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
  83160. else if (t6)
  83161. if (_box_0.openedOnThisLine)
  83162. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
  83163. else
  83164. t5._contents += " ";
  83165. else {
  83166. t6 = highlight.isPrimary ? t4 : t3;
  83167. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
  83168. }
  83169. }
  83170. },
  83171. _writeMultilineHighlights$2(line, highlightsByColumn) {
  83172. return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
  83173. },
  83174. _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
  83175. var _this = this;
  83176. _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
  83177. _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
  83178. _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
  83179. },
  83180. _writeIndicator$3(line, highlight, highlightsByColumn) {
  83181. var t2, coversWholeLine, _this = this,
  83182. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
  83183. t1 = highlight.span;
  83184. if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
  83185. _this._writeSidebar$0();
  83186. t1 = _this._highlighter$_buffer;
  83187. t1._contents += " ";
  83188. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83189. if (highlightsByColumn.length !== 0)
  83190. t1._contents += " ";
  83191. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color));
  83192. } else {
  83193. t2 = line.number;
  83194. if (t1.get$start(t1).get$line() === t2) {
  83195. if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
  83196. return;
  83197. A.replaceFirstNull(highlightsByColumn, highlight);
  83198. _this._writeSidebar$0();
  83199. t1 = _this._highlighter$_buffer;
  83200. t1._contents += " ";
  83201. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83202. _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
  83203. t1._contents += "\n";
  83204. } else if (t1.get$end(t1).get$line() === t2) {
  83205. coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
  83206. if (coversWholeLine && highlight.label == null) {
  83207. A.replaceWithNull(highlightsByColumn, highlight);
  83208. return;
  83209. }
  83210. _this._writeSidebar$0();
  83211. _this._highlighter$_buffer._contents += " ";
  83212. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83213. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color));
  83214. A.replaceWithNull(highlightsByColumn, highlight);
  83215. }
  83216. }
  83217. },
  83218. _writeArrow$3$beginning(line, column, beginning) {
  83219. var t2,
  83220. t1 = beginning ? 0 : 1,
  83221. tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
  83222. t1 = this._highlighter$_buffer;
  83223. t2 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
  83224. t2 = t1._contents += t2;
  83225. t1._contents = t2 + "^";
  83226. },
  83227. _writeArrow$2(line, column) {
  83228. return this._writeArrow$3$beginning(line, column, true);
  83229. },
  83230. _writeLabel$3(highlight, highlightsByColumn, underlineLength) {
  83231. var lines, color, t1, t2, t3, t4, t5, t6, _i, columnHighlight, _this = this,
  83232. label = highlight.label;
  83233. if (label == null) {
  83234. _this._highlighter$_buffer._contents += "\n";
  83235. return;
  83236. }
  83237. lines = A._setArrayType(label.split("\n"), type$.JSArray_String);
  83238. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor;
  83239. _this._colorize$2$color(new A.Highlighter__writeLabel_closure(_this, lines), color);
  83240. t1 = _this._highlighter$_buffer;
  83241. t1._contents += "\n";
  83242. 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();) {
  83243. t5 = t2.__internal$_current;
  83244. if (t5 == null)
  83245. t5 = t3._as(t5);
  83246. _this._writeSidebar$0();
  83247. t6 = t1._contents += " ";
  83248. for (_i = 0; _i < t4; ++_i) {
  83249. columnHighlight = highlightsByColumn[_i];
  83250. if (columnHighlight == null || columnHighlight === highlight) {
  83251. t6 += " ";
  83252. t1._contents = t6;
  83253. } else {
  83254. t6 = $._glyphs.get$verticalLine();
  83255. t6 = t1._contents += t6;
  83256. }
  83257. }
  83258. t6 = B.JSString_methods.$mul(" ", underlineLength);
  83259. t1._contents += t6;
  83260. _this._colorize$2$color(new A.Highlighter__writeLabel_closure0(_this, t5), color);
  83261. t1._contents += "\n";
  83262. }
  83263. },
  83264. _writeText$1(text) {
  83265. var t1, t2, t3, t4;
  83266. 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();) {
  83267. t4 = t1.__internal$_current;
  83268. if (t4 == null)
  83269. t4 = t2._as(t4);
  83270. if (t4 === 9) {
  83271. t4 = B.JSString_methods.$mul(" ", 4);
  83272. t3._contents += t4;
  83273. } else {
  83274. t4 = A.Primitives_stringFromCharCode(t4);
  83275. t3._contents += t4;
  83276. }
  83277. }
  83278. },
  83279. _writeSidebar$3$end$line$text(end, line, text) {
  83280. var t1 = {};
  83281. t1.text = text;
  83282. if (line != null)
  83283. t1.text = B.JSInt_methods.toString$0(line + 1);
  83284. this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
  83285. },
  83286. _writeSidebar$1$end(end) {
  83287. return this._writeSidebar$3$end$line$text(end, null, null);
  83288. },
  83289. _writeSidebar$1$text(text) {
  83290. return this._writeSidebar$3$end$line$text(null, null, text);
  83291. },
  83292. _writeSidebar$1$line(line) {
  83293. return this._writeSidebar$3$end$line$text(null, line, null);
  83294. },
  83295. _writeSidebar$0() {
  83296. return this._writeSidebar$3$end$line$text(null, null, null);
  83297. },
  83298. _countTabs$1(text) {
  83299. var t1, t2, count, t3;
  83300. 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();) {
  83301. t3 = t1.__internal$_current;
  83302. if ((t3 == null ? t2._as(t3) : t3) === 9)
  83303. ++count;
  83304. }
  83305. return count;
  83306. },
  83307. _isOnlyWhitespace$1(text) {
  83308. var t1, t2, t3;
  83309. 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();) {
  83310. t3 = t1.__internal$_current;
  83311. if (t3 == null)
  83312. t3 = t2._as(t3);
  83313. if (t3 !== 32 && t3 !== 9)
  83314. return false;
  83315. }
  83316. return true;
  83317. },
  83318. _colorize$1$2$color(callback, color) {
  83319. var result,
  83320. t1 = this._primaryColor != null;
  83321. if (t1 && color != null)
  83322. this._highlighter$_buffer._contents += color;
  83323. result = callback.call$0();
  83324. if (t1 && color != null)
  83325. this._highlighter$_buffer._contents += "\x1b[0m";
  83326. return result;
  83327. },
  83328. _colorize$2$color(callback, color) {
  83329. return this._colorize$1$2$color(callback, color, type$.dynamic);
  83330. }
  83331. };
  83332. A.Highlighter_closure.prototype = {
  83333. call$0() {
  83334. var t1 = this.color,
  83335. t2 = J.getInterceptor$(t1);
  83336. if (t2.$eq(t1, true))
  83337. return "\x1b[31m";
  83338. if (t2.$eq(t1, false))
  83339. return null;
  83340. return A._asStringQ(t1);
  83341. },
  83342. $signature: 47
  83343. };
  83344. A.Highlighter$__closure.prototype = {
  83345. call$1(line) {
  83346. var t1 = line.highlights;
  83347. return new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")).get$length(0);
  83348. },
  83349. $signature: 283
  83350. };
  83351. A.Highlighter$___closure.prototype = {
  83352. call$1(highlight) {
  83353. var t1 = highlight.span;
  83354. return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
  83355. },
  83356. $signature: 117
  83357. };
  83358. A.Highlighter$__closure0.prototype = {
  83359. call$1(line) {
  83360. return line.url;
  83361. },
  83362. $signature: 285
  83363. };
  83364. A.Highlighter__collateLines_closure.prototype = {
  83365. call$1(highlight) {
  83366. var t1 = highlight.span;
  83367. t1 = t1.get$sourceUrl(t1);
  83368. return t1 == null ? new A.Object() : t1;
  83369. },
  83370. $signature: 286
  83371. };
  83372. A.Highlighter__collateLines_closure0.prototype = {
  83373. call$2(highlight1, highlight2) {
  83374. return highlight1.span.compareTo$1(0, highlight2.span);
  83375. },
  83376. $signature: 287
  83377. };
  83378. A.Highlighter__collateLines_closure1.prototype = {
  83379. call$1(entry) {
  83380. var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, flags, highlightIndex, oldHighlightLength, t6, t7,
  83381. url = entry.key,
  83382. highlightsForFile = entry.value,
  83383. lines = A._setArrayType([], type$.JSArray__Line);
  83384. for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
  83385. t4 = t2.get$current(t2).span;
  83386. context = t4.get$context(t4);
  83387. t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
  83388. t5.toString;
  83389. linesBeforeSpan = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5)).get$length(0);
  83390. lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
  83391. for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
  83392. line = t4[_i];
  83393. if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
  83394. lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
  83395. ++lineNumber;
  83396. }
  83397. }
  83398. activeHighlights = A._setArrayType([], t3);
  83399. for (t2 = lines.length, flags = activeHighlights.$flags | 0, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
  83400. line = lines[_i];
  83401. flags & 1 && A.throwUnsupportedOperation(activeHighlights, 16);
  83402. B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
  83403. oldHighlightLength = activeHighlights.length;
  83404. 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();) {
  83405. t6 = t3.__internal$_current;
  83406. if (t6 == null)
  83407. t6 = t4._as(t6);
  83408. t7 = t6.span;
  83409. if (t7.get$start(t7).get$line() > t5)
  83410. break;
  83411. activeHighlights.push(t6);
  83412. }
  83413. highlightIndex += activeHighlights.length - oldHighlightLength;
  83414. B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
  83415. }
  83416. return lines;
  83417. },
  83418. $signature: 288
  83419. };
  83420. A.Highlighter__collateLines__closure.prototype = {
  83421. call$1(highlight) {
  83422. var t1 = highlight.span;
  83423. return t1.get$end(t1).get$line() < this.line.number;
  83424. },
  83425. $signature: 117
  83426. };
  83427. A.Highlighter_highlight_closure.prototype = {
  83428. call$1(highlight) {
  83429. return highlight.isPrimary;
  83430. },
  83431. $signature: 117
  83432. };
  83433. A.Highlighter__writeFileStart_closure.prototype = {
  83434. call$0() {
  83435. var t1 = this.$this._highlighter$_buffer,
  83436. t2 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
  83437. t1._contents += t2;
  83438. return null;
  83439. },
  83440. $signature: 0
  83441. };
  83442. A.Highlighter__writeMultilineHighlights_closure.prototype = {
  83443. call$0() {
  83444. var t1 = this.$this._highlighter$_buffer,
  83445. t2 = $._glyphs;
  83446. t2 = this.startLine === this.line.number ? t2.get$topLeftCorner() : t2.get$bottomLeftCorner();
  83447. t1._contents += t2;
  83448. },
  83449. $signature: 1
  83450. };
  83451. A.Highlighter__writeMultilineHighlights_closure0.prototype = {
  83452. call$0() {
  83453. var t1 = this.$this._highlighter$_buffer,
  83454. t2 = $._glyphs;
  83455. t2 = this.highlight == null ? t2.get$horizontalLine() : t2.get$cross();
  83456. t1._contents += t2;
  83457. },
  83458. $signature: 1
  83459. };
  83460. A.Highlighter__writeMultilineHighlights_closure1.prototype = {
  83461. call$0() {
  83462. var t1 = this.$this._highlighter$_buffer,
  83463. t2 = $._glyphs.get$horizontalLine();
  83464. t1._contents += t2;
  83465. return null;
  83466. },
  83467. $signature: 0
  83468. };
  83469. A.Highlighter__writeMultilineHighlights_closure2.prototype = {
  83470. call$0() {
  83471. var _this = this,
  83472. t1 = _this._box_0,
  83473. t2 = t1.openedOnThisLine,
  83474. t3 = $._glyphs,
  83475. vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
  83476. if (_this.current != null)
  83477. _this.$this._highlighter$_buffer._contents += vertical;
  83478. else {
  83479. t2 = _this.line;
  83480. t3 = t2.number;
  83481. if (_this.startLine === t3) {
  83482. t2 = _this.$this;
  83483. t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
  83484. t1.openedOnThisLine = true;
  83485. if (t1.openedOnThisLineColor == null)
  83486. t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
  83487. } else {
  83488. if (_this.endLine === t3) {
  83489. t3 = _this.highlight.span;
  83490. t2 = t3.get$end(t3).get$column() === t2.text.length;
  83491. } else
  83492. t2 = false;
  83493. t3 = _this.$this;
  83494. if (t2) {
  83495. t1 = t3._highlighter$_buffer;
  83496. t2 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
  83497. t1._contents += t2;
  83498. } else
  83499. t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
  83500. }
  83501. }
  83502. },
  83503. $signature: 1
  83504. };
  83505. A.Highlighter__writeMultilineHighlights__closure.prototype = {
  83506. call$0() {
  83507. var t1 = this.$this._highlighter$_buffer,
  83508. t2 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
  83509. t2 = $._glyphs.glyphOrAscii$2(t2, "/");
  83510. t1._contents += t2;
  83511. },
  83512. $signature: 1
  83513. };
  83514. A.Highlighter__writeMultilineHighlights__closure0.prototype = {
  83515. call$0() {
  83516. this.$this._highlighter$_buffer._contents += this.vertical;
  83517. },
  83518. $signature: 1
  83519. };
  83520. A.Highlighter__writeHighlightedText_closure.prototype = {
  83521. call$0() {
  83522. var _this = this;
  83523. return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
  83524. },
  83525. $signature: 0
  83526. };
  83527. A.Highlighter__writeIndicator_closure.prototype = {
  83528. call$0() {
  83529. var startColumn, endColumn, tabsBefore, tabsInside,
  83530. t1 = this.$this,
  83531. t2 = t1._highlighter$_buffer,
  83532. t3 = t2._contents,
  83533. t4 = this.highlight,
  83534. t5 = t4.span;
  83535. t4 = t4.isPrimary ? "^" : $._glyphs.get$horizontalLineBold();
  83536. startColumn = t5.get$start(t5).get$column();
  83537. endColumn = t5.get$end(t5).get$column();
  83538. t5 = this.line.text;
  83539. tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t5, 0, startColumn));
  83540. tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t5, startColumn, endColumn));
  83541. startColumn += tabsBefore * 3;
  83542. t5 = B.JSString_methods.$mul(" ", startColumn);
  83543. t2._contents += t5;
  83544. t4 = B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
  83545. t4 = t2._contents += t4;
  83546. return t4.length - t3.length;
  83547. },
  83548. $signature: 10
  83549. };
  83550. A.Highlighter__writeIndicator_closure0.prototype = {
  83551. call$0() {
  83552. var t1 = this.highlight.span;
  83553. return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
  83554. },
  83555. $signature: 0
  83556. };
  83557. A.Highlighter__writeIndicator_closure1.prototype = {
  83558. call$0() {
  83559. var t4, _this = this,
  83560. t1 = _this.$this,
  83561. t2 = t1._highlighter$_buffer,
  83562. t3 = t2._contents;
  83563. if (_this.coversWholeLine) {
  83564. t1 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
  83565. t2._contents += t1;
  83566. } else {
  83567. t4 = _this.highlight.span;
  83568. t1._writeArrow$3$beginning(_this.line, Math.max(t4.get$end(t4).get$column() - 1, 0), false);
  83569. }
  83570. return t2._contents.length - t3.length;
  83571. },
  83572. $signature: 10
  83573. };
  83574. A.Highlighter__writeLabel_closure.prototype = {
  83575. call$0() {
  83576. var t1 = this.$this._highlighter$_buffer,
  83577. t2 = " " + A.S(B.JSArray_methods.get$first(this.lines));
  83578. t1._contents += t2;
  83579. return null;
  83580. },
  83581. $signature: 0
  83582. };
  83583. A.Highlighter__writeLabel_closure0.prototype = {
  83584. call$0() {
  83585. this.$this._highlighter$_buffer._contents += " " + this.text;
  83586. return null;
  83587. },
  83588. $signature: 0
  83589. };
  83590. A.Highlighter__writeSidebar_closure.prototype = {
  83591. call$0() {
  83592. var t1 = this.$this,
  83593. t2 = t1._highlighter$_buffer,
  83594. t3 = this._box_0.text;
  83595. if (t3 == null)
  83596. t3 = "";
  83597. t1 = B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
  83598. t2._contents += t1;
  83599. t1 = this.end;
  83600. if (t1 == null)
  83601. t1 = $._glyphs.get$verticalLine();
  83602. t2._contents += t1;
  83603. },
  83604. $signature: 1
  83605. };
  83606. A._Highlight.prototype = {
  83607. toString$0(_) {
  83608. var t1 = this.isPrimary ? "" + "primary " : "",
  83609. t2 = this.span;
  83610. 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());
  83611. t1 = this.label;
  83612. t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
  83613. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83614. }
  83615. };
  83616. A._Highlight_closure.prototype = {
  83617. call$0() {
  83618. var t2, t3, t4, t5,
  83619. t1 = this.span;
  83620. if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(), t1.get$start(t1).get$column()) != null)) {
  83621. t2 = A.SourceLocation$(t1.get$start(t1).get$offset(), 0, 0, t1.get$sourceUrl(t1));
  83622. t3 = t1.get$end(t1).get$offset();
  83623. t4 = t1.get$sourceUrl(t1);
  83624. t5 = A.countCodeUnits(t1.get$text(), 10);
  83625. t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text()), t5, t4), t1.get$text(), t1.get$text());
  83626. }
  83627. return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1)));
  83628. },
  83629. $signature: 289
  83630. };
  83631. A._Line.prototype = {
  83632. toString$0(_) {
  83633. return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
  83634. }
  83635. };
  83636. A.SourceLocation.prototype = {
  83637. distance$1(other) {
  83638. var t1 = this.sourceUrl;
  83639. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  83640. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83641. return Math.abs(this.offset - other.get$offset());
  83642. },
  83643. compareTo$1(_, other) {
  83644. var t1 = this.sourceUrl;
  83645. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  83646. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83647. return this.offset - other.get$offset();
  83648. },
  83649. $eq(_, other) {
  83650. if (other == null)
  83651. return false;
  83652. return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  83653. },
  83654. get$hashCode(_) {
  83655. var t1 = this.sourceUrl;
  83656. t1 = t1 == null ? null : t1.get$hashCode(t1);
  83657. if (t1 == null)
  83658. t1 = 0;
  83659. return t1 + this.offset;
  83660. },
  83661. toString$0(_) {
  83662. var _this = this,
  83663. t1 = A.getRuntimeTypeOfDartObject(_this).toString$0(0),
  83664. source = _this.sourceUrl;
  83665. return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
  83666. },
  83667. $isComparable: 1,
  83668. get$sourceUrl(receiver) {
  83669. return this.sourceUrl;
  83670. },
  83671. get$offset() {
  83672. return this.offset;
  83673. },
  83674. get$line() {
  83675. return this.line;
  83676. },
  83677. get$column() {
  83678. return this.column;
  83679. }
  83680. };
  83681. A.SourceLocationMixin.prototype = {
  83682. distance$1(other) {
  83683. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  83684. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83685. return Math.abs(this.offset - other.get$offset());
  83686. },
  83687. compareTo$1(_, other) {
  83688. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  83689. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83690. return this.offset - other.get$offset();
  83691. },
  83692. $eq(_, other) {
  83693. if (other == null)
  83694. return false;
  83695. return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  83696. },
  83697. get$hashCode(_) {
  83698. var t1 = this.file.url;
  83699. t1 = t1 == null ? null : t1.get$hashCode(t1);
  83700. if (t1 == null)
  83701. t1 = 0;
  83702. return t1 + this.offset;
  83703. },
  83704. toString$0(_) {
  83705. var t1 = A.getRuntimeTypeOfDartObject(this).toString$0(0),
  83706. t2 = this.offset,
  83707. t3 = this.file,
  83708. source = t3.url;
  83709. return "<" + t1 + ": " + t2 + " " + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t2) + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">";
  83710. },
  83711. $isComparable: 1,
  83712. $isSourceLocation: 1
  83713. };
  83714. A.SourceSpanBase.prototype = {
  83715. SourceSpanBase$3(start, end, text) {
  83716. var t3,
  83717. t1 = this.end,
  83718. t2 = this.start;
  83719. if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
  83720. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
  83721. else if (t1.get$offset() < t2.get$offset())
  83722. throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
  83723. else {
  83724. t3 = this.text;
  83725. if (t3.length !== t2.distance$1(t1))
  83726. throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
  83727. }
  83728. },
  83729. get$start(receiver) {
  83730. return this.start;
  83731. },
  83732. get$end(receiver) {
  83733. return this.end;
  83734. },
  83735. get$text() {
  83736. return this.text;
  83737. }
  83738. };
  83739. A.SourceSpanException.prototype = {
  83740. get$message(_) {
  83741. return this._span_exception$_message;
  83742. },
  83743. get$span(_) {
  83744. return this._span;
  83745. },
  83746. toString$1$color(_, color) {
  83747. var _this = this;
  83748. _this.get$span(_this);
  83749. return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
  83750. },
  83751. toString$0(_) {
  83752. return this.toString$1$color(0, null);
  83753. },
  83754. $isException: 1
  83755. };
  83756. A.SourceSpanFormatException.prototype = {$isFormatException: 1,
  83757. get$source() {
  83758. return this.source;
  83759. }
  83760. };
  83761. A.MultiSourceSpanException.prototype = {
  83762. toString$0(_) {
  83763. var _this = this;
  83764. return "Error on " + A.SourceSpanExtension_messageMultiple(_this._span, _this._span_exception$_message, _this.primaryLabel, _this.secondarySpans, false, null, null);
  83765. },
  83766. get$primaryLabel() {
  83767. return this.primaryLabel;
  83768. },
  83769. get$secondarySpans() {
  83770. return this.secondarySpans;
  83771. }
  83772. };
  83773. A.MultiSourceSpanFormatException.prototype = {$isFormatException: 1};
  83774. A.SourceSpanMixin.prototype = {
  83775. get$sourceUrl(_) {
  83776. var t1 = this.get$start(this);
  83777. return t1.get$sourceUrl(t1);
  83778. },
  83779. get$length(_) {
  83780. var _this = this;
  83781. return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
  83782. },
  83783. compareTo$1(_, other) {
  83784. var _this = this,
  83785. result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
  83786. return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
  83787. },
  83788. message$2$color(_, message, color) {
  83789. var t2, t3, highlight, _this = this,
  83790. t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
  83791. if (_this.get$sourceUrl(_this) != null) {
  83792. t2 = _this.get$sourceUrl(_this);
  83793. t3 = $.$get$context();
  83794. t2.toString;
  83795. t2 = t1 + (" of " + t3.prettyUri$1(t2));
  83796. t1 = t2;
  83797. }
  83798. t1 += ": " + message;
  83799. highlight = _this.highlight$1$color(color);
  83800. if (highlight.length !== 0)
  83801. t1 = t1 + "\n" + highlight;
  83802. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83803. },
  83804. message$1(_, message) {
  83805. return this.message$2$color(0, message, null);
  83806. },
  83807. highlight$1$color(color) {
  83808. var _this = this;
  83809. if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
  83810. return "";
  83811. return A.Highlighter$(_this, color).highlight$0();
  83812. },
  83813. $eq(_, other) {
  83814. var _this = this;
  83815. if (other == null)
  83816. return false;
  83817. 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));
  83818. },
  83819. get$hashCode(_) {
  83820. var _this = this;
  83821. return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue, B.C_SentinelValue);
  83822. },
  83823. toString$0(_) {
  83824. var _this = this;
  83825. 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() + '">';
  83826. },
  83827. $isComparable: 1,
  83828. $isSourceSpan: 1
  83829. };
  83830. A.SourceSpanWithContext.prototype = {
  83831. get$context(_) {
  83832. return this._context;
  83833. }
  83834. };
  83835. A.Chain.prototype = {
  83836. toTrace$0() {
  83837. var t1 = this.traces;
  83838. return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
  83839. },
  83840. toString$0(_) {
  83841. var t1 = this.traces,
  83842. t2 = A._arrayInstanceType(t1);
  83843. 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_____);
  83844. },
  83845. $isStackTrace: 1
  83846. };
  83847. A.Chain_Chain$parse_closure.prototype = {
  83848. call$1(line) {
  83849. return line.length !== 0;
  83850. },
  83851. $signature: 5
  83852. };
  83853. A.Chain_toTrace_closure.prototype = {
  83854. call$1(trace) {
  83855. return trace.get$frames();
  83856. },
  83857. $signature: 290
  83858. };
  83859. A.Chain_toString_closure0.prototype = {
  83860. call$1(trace) {
  83861. var t1 = trace.get$frames();
  83862. return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
  83863. },
  83864. $signature: 291
  83865. };
  83866. A.Chain_toString__closure0.prototype = {
  83867. call$1(frame) {
  83868. return frame.get$location().length;
  83869. },
  83870. $signature: 268
  83871. };
  83872. A.Chain_toString_closure.prototype = {
  83873. call$1(trace) {
  83874. var t1 = trace.get$frames();
  83875. return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  83876. },
  83877. $signature: 293
  83878. };
  83879. A.Chain_toString__closure.prototype = {
  83880. call$1(frame) {
  83881. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  83882. },
  83883. $signature: 267
  83884. };
  83885. A.Frame.prototype = {
  83886. get$isCore() {
  83887. return this.uri.get$scheme() === "dart";
  83888. },
  83889. get$library() {
  83890. var t1 = this.uri;
  83891. if (t1.get$scheme() === "data")
  83892. return "data:...";
  83893. return $.$get$context().prettyUri$1(t1);
  83894. },
  83895. get$$package() {
  83896. var t1 = this.uri;
  83897. if (t1.get$scheme() !== "package")
  83898. return null;
  83899. return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
  83900. },
  83901. get$location() {
  83902. var t2, _this = this,
  83903. t1 = _this.line;
  83904. if (t1 == null)
  83905. return _this.get$library();
  83906. t2 = _this.column;
  83907. if (t2 == null)
  83908. return _this.get$library() + " " + A.S(t1);
  83909. return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
  83910. },
  83911. toString$0(_) {
  83912. return this.get$location() + " in " + A.S(this.member);
  83913. },
  83914. get$uri() {
  83915. return this.uri;
  83916. },
  83917. get$line() {
  83918. return this.line;
  83919. },
  83920. get$column() {
  83921. return this.column;
  83922. },
  83923. get$member() {
  83924. return this.member;
  83925. }
  83926. };
  83927. A.Frame_Frame$parseVM_closure.prototype = {
  83928. call$0() {
  83929. var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
  83930. t1 = this.frame;
  83931. if (t1 === "...")
  83932. return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
  83933. match = $.$get$_vmFrame().firstMatch$1(t1);
  83934. if (match == null)
  83935. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  83936. t1 = match._match;
  83937. t2 = t1[1];
  83938. t2.toString;
  83939. t3 = $.$get$_asyncBody();
  83940. t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
  83941. member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
  83942. t2 = t1[2];
  83943. t3 = t2;
  83944. t3.toString;
  83945. if (B.JSString_methods.startsWith$1(t3, "<data:"))
  83946. uri = A.Uri_Uri$dataFromString("", _null, _null);
  83947. else {
  83948. t2 = t2;
  83949. t2.toString;
  83950. uri = A.Uri_parse(t2);
  83951. }
  83952. lineAndColumn = t1[3].split(":");
  83953. t1 = lineAndColumn.length;
  83954. line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
  83955. return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
  83956. },
  83957. $signature: 75
  83958. };
  83959. A.Frame_Frame$parseV8_closure.prototype = {
  83960. call$0() {
  83961. var member, uri, t2, functionOffset, t3, _s4_ = "<fn>",
  83962. t1 = this.frame,
  83963. match = $.$get$_v8WasmFrame().firstMatch$1(t1);
  83964. if (match != null) {
  83965. member = match.namedGroup$1("member");
  83966. t1 = match.namedGroup$1("uri");
  83967. t1.toString;
  83968. uri = A.Frame__uriOrPathToUri(t1);
  83969. t1 = match.namedGroup$1("index");
  83970. t1.toString;
  83971. t2 = match.namedGroup$1("offset");
  83972. t2.toString;
  83973. functionOffset = A.int_parse(t2, 16);
  83974. if (!(member == null))
  83975. t1 = member;
  83976. return new A.Frame(uri, 1, functionOffset + 1, t1);
  83977. }
  83978. match = $.$get$_v8JsFrame().firstMatch$1(t1);
  83979. if (match != null) {
  83980. t1 = new A.Frame_Frame$parseV8_closure_parseJsLocation(t1);
  83981. t2 = match._match;
  83982. t3 = t2[2];
  83983. if (t3 != null) {
  83984. t3 = t3;
  83985. t3.toString;
  83986. t2 = t2[1];
  83987. t2.toString;
  83988. t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
  83989. t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
  83990. return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
  83991. } else {
  83992. t2 = t2[3];
  83993. t2.toString;
  83994. return t1.call$2(t2, _s4_);
  83995. }
  83996. }
  83997. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
  83998. },
  83999. $signature: 75
  84000. };
  84001. A.Frame_Frame$parseV8_closure_parseJsLocation.prototype = {
  84002. call$2($location, member) {
  84003. var t2, urlMatch, uri, line, columnMatch, _null = null,
  84004. t1 = $.$get$_v8EvalLocation(),
  84005. evalMatch = t1.firstMatch$1($location);
  84006. for (; evalMatch != null; $location = t2) {
  84007. t2 = evalMatch._match[1];
  84008. t2.toString;
  84009. evalMatch = t1.firstMatch$1(t2);
  84010. }
  84011. if ($location === "native")
  84012. return new A.Frame(A.Uri_parse("native"), _null, _null, member);
  84013. urlMatch = $.$get$_v8JsUrlLocation().firstMatch$1($location);
  84014. if (urlMatch == null)
  84015. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
  84016. t1 = urlMatch._match;
  84017. t2 = t1[1];
  84018. t2.toString;
  84019. uri = A.Frame__uriOrPathToUri(t2);
  84020. t2 = t1[2];
  84021. t2.toString;
  84022. line = A.int_parse(t2, _null);
  84023. columnMatch = t1[3];
  84024. return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
  84025. },
  84026. $signature: 296
  84027. };
  84028. A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
  84029. call$0() {
  84030. var t2, member, uri, line, _null = null,
  84031. t1 = this.frame,
  84032. match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
  84033. if (match == null)
  84034. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  84035. t1 = match._match;
  84036. t2 = t1[1];
  84037. t2.toString;
  84038. member = A.stringReplaceAllUnchecked(t2, "/<", "");
  84039. t2 = t1[2];
  84040. t2.toString;
  84041. uri = A.Frame__uriOrPathToUri(t2);
  84042. t1 = t1[3];
  84043. t1.toString;
  84044. line = A.int_parse(t1, _null);
  84045. return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
  84046. },
  84047. $signature: 75
  84048. };
  84049. A.Frame_Frame$parseFirefox_closure.prototype = {
  84050. call$0() {
  84051. var t2, t3, t4, uri, member, line, column, functionOffset, _null = null,
  84052. t1 = this.frame,
  84053. match = $.$get$_firefoxSafariJSFrame().firstMatch$1(t1);
  84054. if (match != null) {
  84055. t2 = match._match;
  84056. t3 = t2[3];
  84057. t4 = t3;
  84058. t4.toString;
  84059. if (B.JSString_methods.contains$1(t4, " line "))
  84060. return A.Frame_Frame$_parseFirefoxEval(t1);
  84061. t1 = t3;
  84062. t1.toString;
  84063. uri = A.Frame__uriOrPathToUri(t1);
  84064. member = t2[1];
  84065. if (member != null) {
  84066. t1 = t2[2];
  84067. t1.toString;
  84068. member += B.JSArray_methods.join$0(A.List_List$filled(B.JSString_methods.allMatches$1("/", t1).get$length(0), ".<fn>", false, type$.String));
  84069. if (member === "")
  84070. member = "<fn>";
  84071. member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
  84072. } else
  84073. member = "<fn>";
  84074. t1 = t2[4];
  84075. if (t1 === "")
  84076. line = _null;
  84077. else {
  84078. t1 = t1;
  84079. t1.toString;
  84080. line = A.int_parse(t1, _null);
  84081. }
  84082. t1 = t2[5];
  84083. if (t1 == null || t1 === "")
  84084. column = _null;
  84085. else {
  84086. t1 = t1;
  84087. t1.toString;
  84088. column = A.int_parse(t1, _null);
  84089. }
  84090. return new A.Frame(uri, line, column, member);
  84091. }
  84092. match = $.$get$_firefoxWasmFrame().firstMatch$1(t1);
  84093. if (match != null) {
  84094. t1 = match.namedGroup$1("member");
  84095. t1.toString;
  84096. t2 = match.namedGroup$1("uri");
  84097. t2.toString;
  84098. uri = A.Frame__uriOrPathToUri(t2);
  84099. t2 = match.namedGroup$1("index");
  84100. t2.toString;
  84101. t3 = match.namedGroup$1("offset");
  84102. t3.toString;
  84103. functionOffset = A.int_parse(t3, 16);
  84104. if (!(t1.length !== 0))
  84105. t1 = t2;
  84106. return new A.Frame(uri, 1, functionOffset + 1, t1);
  84107. }
  84108. match = $.$get$_safariWasmFrame().firstMatch$1(t1);
  84109. if (match != null) {
  84110. t1 = match.namedGroup$1("member");
  84111. t1.toString;
  84112. return new A.Frame(A._Uri__Uri(_null, "wasm code", _null, _null), _null, _null, t1);
  84113. }
  84114. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  84115. },
  84116. $signature: 75
  84117. };
  84118. A.Frame_Frame$parseFriendly_closure.prototype = {
  84119. call$0() {
  84120. var t2, uri, line, column, _null = null,
  84121. t1 = this.frame,
  84122. match = $.$get$_friendlyFrame().firstMatch$1(t1);
  84123. if (match == null)
  84124. throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
  84125. t1 = match._match;
  84126. t2 = t1[1];
  84127. if (t2 === "data:...")
  84128. uri = A.Uri_Uri$dataFromString("", _null, _null);
  84129. else {
  84130. t2 = t2;
  84131. t2.toString;
  84132. uri = A.Uri_parse(t2);
  84133. }
  84134. if (uri.get$scheme() === "") {
  84135. t2 = $.$get$context();
  84136. 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));
  84137. }
  84138. t2 = t1[2];
  84139. if (t2 == null)
  84140. line = _null;
  84141. else {
  84142. t2 = t2;
  84143. t2.toString;
  84144. line = A.int_parse(t2, _null);
  84145. }
  84146. t2 = t1[3];
  84147. if (t2 == null)
  84148. column = _null;
  84149. else {
  84150. t2 = t2;
  84151. t2.toString;
  84152. column = A.int_parse(t2, _null);
  84153. }
  84154. return new A.Frame(uri, line, column, t1[4]);
  84155. },
  84156. $signature: 75
  84157. };
  84158. A.LazyTrace.prototype = {
  84159. get$_lazy_trace$_trace() {
  84160. var result, _this = this,
  84161. value = _this.__LazyTrace__trace_FI;
  84162. if (value === $) {
  84163. result = _this._thunk.call$0();
  84164. _this.__LazyTrace__trace_FI !== $ && A.throwUnnamedLateFieldADI();
  84165. _this.__LazyTrace__trace_FI = result;
  84166. value = result;
  84167. }
  84168. return value;
  84169. },
  84170. get$frames() {
  84171. return this.get$_lazy_trace$_trace().get$frames();
  84172. },
  84173. get$terse() {
  84174. return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
  84175. },
  84176. toString$0(_) {
  84177. return this.get$_lazy_trace$_trace().toString$0(0);
  84178. },
  84179. $isStackTrace: 1,
  84180. $isTrace: 1
  84181. };
  84182. A.LazyTrace_terse_closure.prototype = {
  84183. call$0() {
  84184. return this.$this.get$_lazy_trace$_trace().get$terse();
  84185. },
  84186. $signature: 264
  84187. };
  84188. A.Trace.prototype = {
  84189. get$terse() {
  84190. return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
  84191. },
  84192. foldFrames$2$terse(predicate, terse) {
  84193. var newFrames, t1, t2, t3, _box_0 = {};
  84194. _box_0.predicate = predicate;
  84195. _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
  84196. newFrames = A._setArrayType([], type$.JSArray_Frame);
  84197. 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();) {
  84198. t3 = t1.__internal$_current;
  84199. if (t3 == null)
  84200. t3 = t2._as(t3);
  84201. if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
  84202. newFrames.push(t3);
  84203. else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
  84204. newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
  84205. }
  84206. t1 = type$.MappedListIterable_Frame_Frame;
  84207. newFrames = A.List_List$of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), true, t1._eval$1("ListIterable.E"));
  84208. if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
  84209. B.JSArray_methods.removeAt$1(newFrames, 0);
  84210. return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
  84211. },
  84212. toString$0(_) {
  84213. var t1 = this.frames,
  84214. t2 = A._arrayInstanceType(t1);
  84215. 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);
  84216. },
  84217. $isStackTrace: 1,
  84218. get$frames() {
  84219. return this.frames;
  84220. }
  84221. };
  84222. A.Trace_Trace$from_closure.prototype = {
  84223. call$0() {
  84224. return A.Trace_Trace$parse(this.trace.toString$0(0));
  84225. },
  84226. $signature: 264
  84227. };
  84228. A.Trace__parseVM_closure.prototype = {
  84229. call$1(line) {
  84230. return line.length !== 0;
  84231. },
  84232. $signature: 5
  84233. };
  84234. A.Trace$parseV8_closure.prototype = {
  84235. call$1(line) {
  84236. return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
  84237. },
  84238. $signature: 5
  84239. };
  84240. A.Trace$parseJSCore_closure.prototype = {
  84241. call$1(line) {
  84242. return line !== "\tat ";
  84243. },
  84244. $signature: 5
  84245. };
  84246. A.Trace$parseFirefox_closure.prototype = {
  84247. call$1(line) {
  84248. return line.length !== 0 && line !== "[native code]";
  84249. },
  84250. $signature: 5
  84251. };
  84252. A.Trace$parseFriendly_closure.prototype = {
  84253. call$1(line) {
  84254. return !B.JSString_methods.startsWith$1(line, "=====");
  84255. },
  84256. $signature: 5
  84257. };
  84258. A.Trace_terse_closure.prototype = {
  84259. call$1(_) {
  84260. return false;
  84261. },
  84262. $signature: 263
  84263. };
  84264. A.Trace_foldFrames_closure.prototype = {
  84265. call$1(frame) {
  84266. var t1;
  84267. if (this.oldPredicate.call$1(frame))
  84268. return true;
  84269. if (frame.get$isCore())
  84270. return true;
  84271. if (frame.get$$package() === "stack_trace")
  84272. return true;
  84273. t1 = frame.get$member();
  84274. t1.toString;
  84275. if (!B.JSString_methods.contains$1(t1, "<async>"))
  84276. return false;
  84277. return frame.get$line() == null;
  84278. },
  84279. $signature: 263
  84280. };
  84281. A.Trace_foldFrames_closure0.prototype = {
  84282. call$1(frame) {
  84283. var t1, t2;
  84284. if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
  84285. return frame;
  84286. t1 = frame.get$library();
  84287. t2 = $.$get$_terseRegExp();
  84288. return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
  84289. },
  84290. $signature: 299
  84291. };
  84292. A.Trace_toString_closure0.prototype = {
  84293. call$1(frame) {
  84294. return frame.get$location().length;
  84295. },
  84296. $signature: 268
  84297. };
  84298. A.Trace_toString_closure.prototype = {
  84299. call$1(frame) {
  84300. if (frame instanceof A.UnparsedFrame)
  84301. return frame.toString$0(0) + "\n";
  84302. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  84303. },
  84304. $signature: 267
  84305. };
  84306. A.UnparsedFrame.prototype = {
  84307. toString$0(_) {
  84308. return this.member;
  84309. },
  84310. $isFrame: 1,
  84311. get$uri() {
  84312. return this.uri;
  84313. },
  84314. get$line() {
  84315. return null;
  84316. },
  84317. get$column() {
  84318. return null;
  84319. },
  84320. get$isCore() {
  84321. return false;
  84322. },
  84323. get$library() {
  84324. return "unparsed";
  84325. },
  84326. get$$package() {
  84327. return null;
  84328. },
  84329. get$location() {
  84330. return "unparsed";
  84331. },
  84332. get$member() {
  84333. return this.member;
  84334. }
  84335. };
  84336. A.TransformByHandlers_transformByHandlers_closure.prototype = {
  84337. call$0() {
  84338. var t2, subscription, t3, t4, _this = this, t1 = {};
  84339. t1.valuesDone = false;
  84340. t2 = _this.controller;
  84341. 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));
  84342. t3 = _this._box_1;
  84343. t3.subscription = subscription;
  84344. t2.set$onPause(subscription.get$pause(subscription));
  84345. t4 = t3.subscription;
  84346. t2.set$onResume(t4.get$resume(t4));
  84347. t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
  84348. },
  84349. $signature: 0
  84350. };
  84351. A.TransformByHandlers_transformByHandlers__closure.prototype = {
  84352. call$1(value) {
  84353. return this.onData.call$2(value, this.controller);
  84354. },
  84355. $signature() {
  84356. return this.S._eval$1("~(0)");
  84357. }
  84358. };
  84359. A.TransformByHandlers_transformByHandlers__closure1.prototype = {
  84360. call$2(error, stackTrace) {
  84361. this.handleError.call$3(error, stackTrace, this.controller);
  84362. },
  84363. $signature: 46
  84364. };
  84365. A.TransformByHandlers_transformByHandlers__closure0.prototype = {
  84366. call$0() {
  84367. this._box_0.valuesDone = true;
  84368. this.handleDone.call$1(this.controller);
  84369. },
  84370. $signature: 0
  84371. };
  84372. A.TransformByHandlers_transformByHandlers__closure2.prototype = {
  84373. call$0() {
  84374. var t1 = this._box_1,
  84375. toCancel = t1.subscription;
  84376. t1.subscription = null;
  84377. if (!this._box_0.valuesDone)
  84378. return toCancel.cancel$0();
  84379. return null;
  84380. },
  84381. $signature: 219
  84382. };
  84383. A.RateLimit__debounceAggregate_closure.prototype = {
  84384. call$2(value, sink) {
  84385. var _this = this,
  84386. t1 = _this._box_0,
  84387. t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
  84388. t3 = t1.timer;
  84389. if (t3 != null)
  84390. t3.cancel$0();
  84391. t1.soFar = _this.collect.call$2(value, t1.soFar);
  84392. t1.hasPending = true;
  84393. if (t1.timer == null && _this.leading) {
  84394. t1.emittedLatestAsLeading = true;
  84395. t2.call$0();
  84396. } else
  84397. t1.emittedLatestAsLeading = false;
  84398. t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
  84399. },
  84400. $signature() {
  84401. return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
  84402. }
  84403. };
  84404. A.RateLimit__debounceAggregate_closure_emit.prototype = {
  84405. call$0() {
  84406. var t1 = this._box_0,
  84407. t2 = t1.soFar;
  84408. if (t2 == null)
  84409. t2 = this.S._as(t2);
  84410. this.sink.add$1(0, t2);
  84411. t1.soFar = null;
  84412. t1.hasPending = false;
  84413. },
  84414. $signature: 0
  84415. };
  84416. A.RateLimit__debounceAggregate__closure.prototype = {
  84417. call$0() {
  84418. var t1 = this._box_0,
  84419. t2 = t1.emittedLatestAsLeading;
  84420. if (!t2)
  84421. this.emit.call$0();
  84422. if (t1.shouldClose)
  84423. this.sink.close$0(0);
  84424. t1.timer = null;
  84425. },
  84426. $signature: 0
  84427. };
  84428. A.RateLimit__debounceAggregate_closure0.prototype = {
  84429. call$1(sink) {
  84430. var t1 = this._box_0;
  84431. if (t1.hasPending && this.trailing)
  84432. t1.shouldClose = true;
  84433. else {
  84434. t1 = t1.timer;
  84435. if (t1 != null)
  84436. t1.cancel$0();
  84437. sink.close$0(0);
  84438. }
  84439. },
  84440. $signature() {
  84441. return this.S._eval$1("~(EventSink<0>)");
  84442. }
  84443. };
  84444. A.StringScannerException.prototype = {
  84445. get$source() {
  84446. return A._asString(this.source);
  84447. }
  84448. };
  84449. A.LineScanner.prototype = {
  84450. scanChar$1(character) {
  84451. if (!this.super$StringScanner$scanChar(character))
  84452. return false;
  84453. this._adjustLineAndColumn$1(character);
  84454. return true;
  84455. },
  84456. readChar$0() {
  84457. var character = this.super$StringScanner$readChar();
  84458. this._adjustLineAndColumn$1(character);
  84459. return character;
  84460. },
  84461. _adjustLineAndColumn$1(character) {
  84462. var t1, _this = this;
  84463. if (character !== 10)
  84464. t1 = character === 13 && _this.peekChar$0() !== 10;
  84465. else
  84466. t1 = true;
  84467. if (t1) {
  84468. ++_this._line_scanner$_line;
  84469. _this._line_scanner$_column = 0;
  84470. } else {
  84471. t1 = _this._line_scanner$_column;
  84472. _this._line_scanner$_column = t1 + (character >= 65536 && character <= 1114111 ? 2 : 1);
  84473. }
  84474. },
  84475. scan$1(pattern) {
  84476. var t1, newlines, t2, _this = this;
  84477. if (!_this.super$StringScanner$scan(pattern))
  84478. return false;
  84479. t1 = _this.get$lastMatch();
  84480. newlines = _this._newlinesIn$2$endPosition(t1.pattern, _this._string_scanner$_position);
  84481. t1 = _this._line_scanner$_line;
  84482. t2 = newlines.length;
  84483. _this._line_scanner$_line = t1 + t2;
  84484. if (t2 === 0) {
  84485. t1 = _this._line_scanner$_column;
  84486. t2 = _this.get$lastMatch();
  84487. _this._line_scanner$_column = t1 + t2.pattern.length;
  84488. } else {
  84489. t1 = _this.get$lastMatch();
  84490. _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
  84491. }
  84492. return true;
  84493. },
  84494. _newlinesIn$2$endPosition(text, endPosition) {
  84495. var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
  84496. newlines = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  84497. t1 = this.string;
  84498. if (endPosition < t1.length && B.JSString_methods.endsWith$1(text, "\r") && t1[endPosition] === "\n")
  84499. B.JSArray_methods.removeLast$0(newlines);
  84500. return newlines;
  84501. }
  84502. };
  84503. A.SpanScanner.prototype = {
  84504. set$state(state) {
  84505. if (state._scanner !== this)
  84506. throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
  84507. this.set$position(state.position);
  84508. },
  84509. spanFrom$2(startState, endState) {
  84510. var endPosition = endState == null ? this._string_scanner$_position : endState.position;
  84511. return this._sourceFile.span$2(0, startState.position, endPosition);
  84512. },
  84513. spanFrom$1(startState) {
  84514. return this.spanFrom$2(startState, null);
  84515. },
  84516. matches$1(pattern) {
  84517. var t1, t2, _this = this;
  84518. if (!_this.super$StringScanner$matches(pattern))
  84519. return false;
  84520. t1 = _this._string_scanner$_position;
  84521. t2 = _this.get$lastMatch();
  84522. _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
  84523. return true;
  84524. },
  84525. error$3$length$position(_, message, $length, position) {
  84526. var match, t2, _this = this,
  84527. t1 = _this.string;
  84528. A.validateErrorArgs(t1, null, position, $length);
  84529. match = position == null && $length == null ? _this.get$lastMatch() : null;
  84530. if (position == null)
  84531. position = match == null ? _this._string_scanner$_position : match.start;
  84532. if ($length == null)
  84533. if (match == null)
  84534. $length = 0;
  84535. else {
  84536. t2 = match.start;
  84537. $length = t2 + match.pattern.length - t2;
  84538. }
  84539. throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
  84540. },
  84541. error$1(_, message) {
  84542. return this.error$3$length$position(0, message, null, null);
  84543. },
  84544. error$2$position(_, message, position) {
  84545. return this.error$3$length$position(0, message, null, position);
  84546. },
  84547. error$2$length(_, message, $length) {
  84548. return this.error$3$length$position(0, message, $length, null);
  84549. }
  84550. };
  84551. A._SpanScannerState.prototype = {};
  84552. A.StringScanner.prototype = {
  84553. set$position(position) {
  84554. if (B.JSInt_methods.get$isNegative(position) || position > this.string.length)
  84555. throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
  84556. this._string_scanner$_position = position;
  84557. this._lastMatch = null;
  84558. },
  84559. get$lastMatch() {
  84560. var _this = this;
  84561. if (_this._string_scanner$_position !== _this._lastMatchPosition)
  84562. _this._lastMatch = null;
  84563. return _this._lastMatch;
  84564. },
  84565. readChar$0() {
  84566. var _this = this,
  84567. t1 = _this.string;
  84568. if (_this._string_scanner$_position === t1.length)
  84569. _this._fail$1("more input");
  84570. return t1.charCodeAt(_this._string_scanner$_position++);
  84571. },
  84572. peekChar$1(offset) {
  84573. var index;
  84574. if (offset == null)
  84575. offset = 0;
  84576. index = this._string_scanner$_position + offset;
  84577. if (index < 0 || index >= this.string.length)
  84578. return null;
  84579. return this.string.charCodeAt(index);
  84580. },
  84581. peekChar$0() {
  84582. return this.peekChar$1(null);
  84583. },
  84584. scanChar$1(character) {
  84585. var t1, t2, t3, t4, _this = this;
  84586. if (character >= 65536 && character <= 1114111) {
  84587. t1 = _this._string_scanner$_position;
  84588. t2 = t1 + 1;
  84589. t3 = _this.string;
  84590. if (t2 < t3.length) {
  84591. t4 = character - 65536;
  84592. t2 = t3.charCodeAt(t1) !== B.JSInt_methods._shrOtherPositive$1(t4, 10) + 55296 || t3.charCodeAt(t2) !== (t4 & 1023) + 56320;
  84593. } else
  84594. t2 = true;
  84595. if (t2)
  84596. return false;
  84597. else {
  84598. _this._string_scanner$_position = t1 + 2;
  84599. return true;
  84600. }
  84601. } else {
  84602. t1 = _this._string_scanner$_position;
  84603. t2 = _this.string;
  84604. if (t1 === t2.length)
  84605. return false;
  84606. if (t2.charCodeAt(t1) !== character)
  84607. return false;
  84608. _this._string_scanner$_position = t1 + 1;
  84609. return true;
  84610. }
  84611. },
  84612. expectChar$2$name(character, $name) {
  84613. if (this.scanChar$1(character))
  84614. return;
  84615. if ($name == null)
  84616. if (character === 92)
  84617. $name = '"\\"';
  84618. else
  84619. $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
  84620. this._fail$1($name);
  84621. },
  84622. expectChar$1(character) {
  84623. return this.expectChar$2$name(character, null);
  84624. },
  84625. scan$1(pattern) {
  84626. var t1, _this = this,
  84627. success = _this.matches$1(pattern);
  84628. if (success) {
  84629. t1 = _this._lastMatch;
  84630. _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
  84631. }
  84632. return success;
  84633. },
  84634. expect$1(pattern) {
  84635. var t1, $name;
  84636. if (this.scan$1(pattern))
  84637. return;
  84638. t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
  84639. $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
  84640. this._fail$1($name);
  84641. },
  84642. expectDone$0() {
  84643. if (this._string_scanner$_position === this.string.length)
  84644. return;
  84645. this._fail$1("no more input");
  84646. },
  84647. matches$1(pattern) {
  84648. var _this = this,
  84649. t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
  84650. _this._lastMatch = t1;
  84651. _this._lastMatchPosition = _this._string_scanner$_position;
  84652. return t1 != null;
  84653. },
  84654. substring$1(_, start) {
  84655. var end = this._string_scanner$_position;
  84656. return B.JSString_methods.substring$2(this.string, start, end);
  84657. },
  84658. error$3$length$position(_, message, $length, position) {
  84659. var match, t2, _this = this,
  84660. t1 = _this.string;
  84661. A.validateErrorArgs(t1, null, position, $length);
  84662. match = position == null && $length == null ? _this.get$lastMatch() : null;
  84663. if (position == null)
  84664. position = match == null ? _this._string_scanner$_position : match.start;
  84665. if ($length == null)
  84666. if (match == null)
  84667. $length = 0;
  84668. else {
  84669. t2 = match.start;
  84670. $length = t2 + match.pattern.length - t2;
  84671. }
  84672. throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, _this.sourceUrl).span$2(0, position, position + $length), t1));
  84673. },
  84674. error$1(_, message) {
  84675. return this.error$3$length$position(0, message, null, null);
  84676. },
  84677. _fail$1($name) {
  84678. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  84679. }
  84680. };
  84681. A.AsciiGlyphSet.prototype = {
  84682. glyphOrAscii$2(glyph, alternative) {
  84683. return alternative;
  84684. },
  84685. get$horizontalLine() {
  84686. return "-";
  84687. },
  84688. get$verticalLine() {
  84689. return "|";
  84690. },
  84691. get$topLeftCorner() {
  84692. return ",";
  84693. },
  84694. get$bottomLeftCorner() {
  84695. return "'";
  84696. },
  84697. get$cross() {
  84698. return "+";
  84699. },
  84700. get$upEnd() {
  84701. return "'";
  84702. },
  84703. get$downEnd() {
  84704. return ",";
  84705. },
  84706. get$horizontalLineBold() {
  84707. return "=";
  84708. }
  84709. };
  84710. A.UnicodeGlyphSet.prototype = {
  84711. glyphOrAscii$2(glyph, alternative) {
  84712. return glyph;
  84713. },
  84714. get$horizontalLine() {
  84715. return "\u2500";
  84716. },
  84717. get$verticalLine() {
  84718. return "\u2502";
  84719. },
  84720. get$topLeftCorner() {
  84721. return "\u250c";
  84722. },
  84723. get$bottomLeftCorner() {
  84724. return "\u2514";
  84725. },
  84726. get$cross() {
  84727. return "\u253c";
  84728. },
  84729. get$upEnd() {
  84730. return "\u2575";
  84731. },
  84732. get$downEnd() {
  84733. return "\u2577";
  84734. },
  84735. get$horizontalLineBold() {
  84736. return "\u2501";
  84737. }
  84738. };
  84739. A.WatchEvent.prototype = {
  84740. toString$0(_) {
  84741. return this.type.toString$0(0) + " " + this.path;
  84742. }
  84743. };
  84744. A.ChangeType.prototype = {
  84745. toString$0(_) {
  84746. return this._watch_event$_name;
  84747. }
  84748. };
  84749. A.A98RgbColorSpace0.prototype = {
  84750. get$isBoundedInternal() {
  84751. return true;
  84752. },
  84753. toLinear$1(channel) {
  84754. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 2.19921875);
  84755. },
  84756. fromLinear$1(channel) {
  84757. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 0.4547069271758437);
  84758. },
  84759. transformationMatrix$1(dest) {
  84760. var t1;
  84761. $label0$0: {
  84762. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  84763. t1 = $.$get$linearA98RgbToLinearSrgb0();
  84764. break $label0$0;
  84765. }
  84766. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  84767. t1 = $.$get$linearA98RgbToLinearDisplayP30();
  84768. break $label0$0;
  84769. }
  84770. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  84771. t1 = $.$get$linearA98RgbToLinearProphotoRgb0();
  84772. break $label0$0;
  84773. }
  84774. if (B.Rec2020ColorSpace_6oo0 === dest) {
  84775. t1 = $.$get$linearA98RgbToLinearRec20200();
  84776. break $label0$0;
  84777. }
  84778. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  84779. t1 = $.$get$linearA98RgbToXyzD650();
  84780. break $label0$0;
  84781. }
  84782. if (B.XyzD50ColorSpace_2OB0 === dest) {
  84783. t1 = $.$get$linearA98RgbToXyzD500();
  84784. break $label0$0;
  84785. }
  84786. if (B.LmsColorSpace_Os30 === dest) {
  84787. t1 = $.$get$linearA98RgbToLms0();
  84788. break $label0$0;
  84789. }
  84790. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  84791. break $label0$0;
  84792. }
  84793. return t1;
  84794. }
  84795. };
  84796. A.AnySelectorVisitor0.prototype = {
  84797. visitComplexSelector$1(complex) {
  84798. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure0(this));
  84799. },
  84800. visitCompoundSelector$1(compound) {
  84801. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure0(this));
  84802. },
  84803. visitPseudoSelector$1(pseudo) {
  84804. var selector = pseudo.selector;
  84805. return selector == null ? false : this.visitSelectorList$1(selector);
  84806. },
  84807. visitSelectorList$1(list) {
  84808. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  84809. },
  84810. visitAttributeSelector$1(attribute) {
  84811. return false;
  84812. },
  84813. visitClassSelector$1(klass) {
  84814. return false;
  84815. },
  84816. visitIDSelector$1(id) {
  84817. return false;
  84818. },
  84819. visitParentSelector$1($parent) {
  84820. return false;
  84821. },
  84822. visitPlaceholderSelector$1(placeholder) {
  84823. return false;
  84824. },
  84825. visitTypeSelector$1(type) {
  84826. return false;
  84827. },
  84828. visitUniversalSelector$1(universal) {
  84829. return false;
  84830. }
  84831. };
  84832. A.AnySelectorVisitor_visitComplexSelector_closure0.prototype = {
  84833. call$1(component) {
  84834. return this.$this.visitCompoundSelector$1(component.selector);
  84835. },
  84836. $signature: 56
  84837. };
  84838. A.AnySelectorVisitor_visitCompoundSelector_closure0.prototype = {
  84839. call$1(simple) {
  84840. return simple.accept$1(this.$this);
  84841. },
  84842. $signature: 14
  84843. };
  84844. A.SupportsAnything0.prototype = {
  84845. toInterpolation$0() {
  84846. var t1 = new A.StringBuffer(""),
  84847. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  84848. t3 = this.span,
  84849. t4 = this.contents,
  84850. t5 = t4.span,
  84851. t6 = A.SpanExtensions_before(t3, t5);
  84852. t6 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t6.file._decodedChars, t6._file$_start, t6._end), 0, null);
  84853. t1._contents += t6;
  84854. t2.addInterpolation$1(t4);
  84855. t5 = A.SpanExtensions_after(t3, t5);
  84856. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  84857. t1._contents += t5;
  84858. return t2.interpolation$1(t3);
  84859. },
  84860. withSpan$1(span) {
  84861. return new A.SupportsAnything0(this.contents, span);
  84862. },
  84863. toString$0(_) {
  84864. return "(" + this.contents.toString$0(0) + ")";
  84865. },
  84866. $isAstNode0: 1,
  84867. $isSassNode: 1,
  84868. $isSupportsCondition: 1,
  84869. get$span(receiver) {
  84870. return this.span;
  84871. }
  84872. };
  84873. A.ArgumentList0.prototype = {
  84874. get$isEmpty(_) {
  84875. var t1;
  84876. if (this.positional.length === 0) {
  84877. t1 = this.named;
  84878. t1 = t1.get$isEmpty(t1) && this.rest == null;
  84879. } else
  84880. t1 = false;
  84881. return t1;
  84882. },
  84883. toString$0(_) {
  84884. var t2, t3, _i, _1_0, _2_0, _this = this,
  84885. t1 = A._setArrayType([], type$.JSArray_String);
  84886. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  84887. t1.push(_this._argument_list0$_parenthesizeArgument$1(t2[_i]));
  84888. for (t2 = A.MapExtensions_get_pairs0(_this.named, type$.String, type$.Expression_2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  84889. t3 = t2.get$current(t2);
  84890. t1.push("$" + t3._0 + ": " + _this._argument_list0$_parenthesizeArgument$1(t3._1));
  84891. }
  84892. _1_0 = _this.rest;
  84893. if (_1_0 != null)
  84894. t1.push(_this._argument_list0$_parenthesizeArgument$1(_1_0) + "...");
  84895. _2_0 = _this.keywordRest;
  84896. if (_2_0 != null)
  84897. t1.push(_this._argument_list0$_parenthesizeArgument$1(_2_0) + "...");
  84898. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  84899. },
  84900. _argument_list0$_parenthesizeArgument$1(argument) {
  84901. var t1;
  84902. $label0$0: {
  84903. if (argument instanceof A.ListExpression0 && B.ListSeparator_qVN0 === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  84904. t1 = "(" + argument.toString$0(0) + ")";
  84905. break $label0$0;
  84906. }
  84907. t1 = argument.toString$0(0);
  84908. break $label0$0;
  84909. }
  84910. return t1;
  84911. },
  84912. $isAstNode0: 1,
  84913. $isSassNode: 1,
  84914. get$span(receiver) {
  84915. return this.span;
  84916. }
  84917. };
  84918. A.argumentListClass_closure.prototype = {
  84919. call$0() {
  84920. var t1 = type$.JSClass,
  84921. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
  84922. A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
  84923. 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);
  84924. return jsClass;
  84925. },
  84926. $signature: 15
  84927. };
  84928. A.argumentListClass__closure.prototype = {
  84929. call$4($self, contents, keywords, separator) {
  84930. var t3,
  84931. t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
  84932. t2 = type$.Value_2;
  84933. t1 = J.cast$1$0$ax(t1, t2);
  84934. t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
  84935. return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
  84936. },
  84937. call$3($self, contents, keywords) {
  84938. return this.call$4($self, contents, keywords, ",");
  84939. },
  84940. "call*": "call$4",
  84941. $requiredArgCount: 3,
  84942. $defaultValues() {
  84943. return [","];
  84944. },
  84945. $signature: 304
  84946. };
  84947. A.argumentListClass__closure0.prototype = {
  84948. call$1($self) {
  84949. $self._argument_list$_wereKeywordsAccessed = true;
  84950. return A.dartMapToImmutableMap($self._argument_list$_keywords);
  84951. },
  84952. $signature: 305
  84953. };
  84954. A.SassArgumentList0.prototype = {};
  84955. A.JSArray1.prototype = {};
  84956. A.AsyncImporter0.prototype = {
  84957. isNonCanonicalScheme$1(scheme) {
  84958. return false;
  84959. }
  84960. };
  84961. A.JSToDartAsyncImporter.prototype = {
  84962. canonicalize$1(_, url) {
  84963. return this.canonicalize$body$JSToDartAsyncImporter(0, url);
  84964. },
  84965. canonicalize$body$JSToDartAsyncImporter(_, url) {
  84966. var $async$goto = 0,
  84967. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  84968. $async$returnValue, $async$self = this, t1, result;
  84969. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84970. if ($async$errorCode === 1)
  84971. return A._asyncRethrow($async$result, $async$completer);
  84972. while (true)
  84973. switch ($async$goto) {
  84974. case 0:
  84975. // Function start
  84976. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_canonicalize_closure($async$self, url));
  84977. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  84978. break;
  84979. case 3:
  84980. // then
  84981. $async$goto = 5;
  84982. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  84983. case 5:
  84984. // returning from await.
  84985. result = $async$result;
  84986. case 4:
  84987. // join
  84988. if (result == null) {
  84989. $async$returnValue = null;
  84990. // goto return
  84991. $async$goto = 1;
  84992. break;
  84993. }
  84994. t1 = self.URL;
  84995. if (result instanceof t1) {
  84996. $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  84997. // goto return
  84998. $async$goto = 1;
  84999. break;
  85000. }
  85001. A.jsThrow(new self.Error(string$.The_ca));
  85002. case 1:
  85003. // return
  85004. return A._asyncReturn($async$returnValue, $async$completer);
  85005. }
  85006. });
  85007. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  85008. },
  85009. load$1(_, url) {
  85010. return this.load$body$JSToDartAsyncImporter(0, url);
  85011. },
  85012. load$body$JSToDartAsyncImporter(_, url) {
  85013. var $async$goto = 0,
  85014. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult_2),
  85015. $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
  85016. var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85017. if ($async$errorCode === 1)
  85018. return A._asyncRethrow($async$result, $async$completer);
  85019. while (true)
  85020. switch ($async$goto) {
  85021. case 0:
  85022. // Function start
  85023. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_load_closure($async$self, url));
  85024. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  85025. break;
  85026. case 3:
  85027. // then
  85028. $async$goto = 5;
  85029. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
  85030. case 5:
  85031. // returning from await.
  85032. result = $async$result;
  85033. case 4:
  85034. // join
  85035. if (result == null) {
  85036. $async$returnValue = null;
  85037. // goto return
  85038. $async$goto = 1;
  85039. break;
  85040. }
  85041. type$.JSImporterResult._as(result);
  85042. t1 = J.getInterceptor$x(result);
  85043. contents = t1.get$contents(result);
  85044. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  85045. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  85046. syntax = t1.get$syntax(result);
  85047. if (contents == null || syntax == null)
  85048. A.jsThrow(new self.Error(string$.The_lo));
  85049. t2 = A.parseSyntax(syntax);
  85050. $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils3__jsToDartUrl$closure()), t2);
  85051. // goto return
  85052. $async$goto = 1;
  85053. break;
  85054. case 1:
  85055. // return
  85056. return A._asyncReturn($async$returnValue, $async$completer);
  85057. }
  85058. });
  85059. return A._asyncStartSync($async$load$1, $async$completer);
  85060. },
  85061. isNonCanonicalScheme$1(scheme) {
  85062. return this._nonCanonicalSchemes.contains$1(0, scheme);
  85063. }
  85064. };
  85065. A.JSToDartAsyncImporter_canonicalize_closure.prototype = {
  85066. call$0() {
  85067. return this.$this._async0$_canonicalize.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  85068. },
  85069. $signature: 37
  85070. };
  85071. A.JSToDartAsyncImporter_load_closure.prototype = {
  85072. call$0() {
  85073. return this.$this._load.call$1(new self.URL(this.url.toString$0(0)));
  85074. },
  85075. $signature: 37
  85076. };
  85077. A.AsyncBuiltInCallable0.prototype = {
  85078. callbackFor$2(positional, names) {
  85079. return new A._Record_2(this._async_built_in0$_parameters, this._async_built_in0$_callback);
  85080. },
  85081. withDeprecationWarning$1(module) {
  85082. return new A.AsyncBuiltInCallable0(this.name, this._async_built_in0$_parameters, new A.AsyncBuiltInCallable_withDeprecationWarning_closure0(this, module, null), false);
  85083. },
  85084. $isAsyncCallable0: 1,
  85085. get$name(receiver) {
  85086. return this.name;
  85087. },
  85088. get$acceptsContent() {
  85089. return this.acceptsContent;
  85090. }
  85091. };
  85092. A.AsyncBuiltInCallable$mixin_closure0.prototype = {
  85093. call$1($arguments) {
  85094. return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
  85095. },
  85096. $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
  85097. var $async$goto = 0,
  85098. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  85099. $async$returnValue, $async$self = this, t1;
  85100. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85101. if ($async$errorCode === 1)
  85102. return A._asyncRethrow($async$result, $async$completer);
  85103. while (true)
  85104. switch ($async$goto) {
  85105. case 0:
  85106. // Function start
  85107. t1 = $async$self.callback.call$1($arguments);
  85108. $async$goto = 3;
  85109. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  85110. case 3:
  85111. // returning from await.
  85112. $async$returnValue = B.C__SassNull0;
  85113. // goto return
  85114. $async$goto = 1;
  85115. break;
  85116. case 1:
  85117. // return
  85118. return A._asyncReturn($async$returnValue, $async$completer);
  85119. }
  85120. });
  85121. return A._asyncStartSync($async$call$1, $async$completer);
  85122. },
  85123. $signature: 86
  85124. };
  85125. A.AsyncBuiltInCallable_withDeprecationWarning_closure0.prototype = {
  85126. call$1(args) {
  85127. var t1 = this.$this;
  85128. A.warnForDeprecation0(string$.Global + this.module + "." + t1.name + string$.x20inste, B.Deprecation_ZDV);
  85129. return t1._async_built_in0$_callback.call$1(args);
  85130. },
  85131. $signature: 308
  85132. };
  85133. A._compileStylesheet_closure2.prototype = {
  85134. call$1(url) {
  85135. 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);
  85136. },
  85137. $signature: 6
  85138. };
  85139. A.AsyncEnvironment0.prototype = {
  85140. closure$0() {
  85141. var t4, t5, t6, _this = this,
  85142. t1 = _this._async_environment0$_forwardedModules,
  85143. t2 = _this._async_environment0$_nestedForwardedModules,
  85144. t3 = _this._async_environment0$_variables;
  85145. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  85146. t4 = _this._async_environment0$_variableNodes;
  85147. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  85148. t5 = _this._async_environment0$_functions;
  85149. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  85150. t6 = _this._async_environment0$_mixins;
  85151. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  85152. 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);
  85153. },
  85154. forwardModule$2(module, rule) {
  85155. var view, t1, t2, _this = this,
  85156. forwardedModules = _this._async_environment0$_forwardedModules;
  85157. if (forwardedModules == null)
  85158. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  85159. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
  85160. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules.__js_helper$_modifications, forwardedModules.__js_helper$_first); t1.moveNext$0();) {
  85161. t2 = t1.__js_helper$_current;
  85162. _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  85163. _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  85164. _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  85165. }
  85166. _this._async_environment0$_allModules.push(module);
  85167. forwardedModules.$indexSet(0, view, rule);
  85168. },
  85169. _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  85170. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  85171. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  85172. larger = oldMembers;
  85173. smaller = newMembers;
  85174. } else {
  85175. larger = newMembers;
  85176. smaller = oldMembers;
  85177. }
  85178. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  85179. t4 = t2.get$current(t2);
  85180. $name = t4._0;
  85181. small = t4._1;
  85182. large = larger.$index(0, $name);
  85183. if (large == null)
  85184. continue;
  85185. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  85186. continue;
  85187. if (t3)
  85188. $name = "$" + $name;
  85189. t2 = this._async_environment0$_forwardedModules;
  85190. if (t2 == null)
  85191. span = null;
  85192. else {
  85193. t2 = t2.$index(0, oldModule);
  85194. span = t2 == null ? null : t2.get$span(t2);
  85195. }
  85196. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  85197. if (span != null)
  85198. t2.$indexSet(0, span, "original @forward");
  85199. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  85200. }
  85201. },
  85202. importForwards$1(module) {
  85203. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  85204. forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
  85205. if (forwarded == null)
  85206. return;
  85207. forwardedModules = _this._async_environment0$_forwardedModules;
  85208. if (forwardedModules != null) {
  85209. t1 = type$.Module_AsyncCallable_2;
  85210. t2 = type$.AstNode_2;
  85211. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  85212. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment0$_globalModules; t1.moveNext$0();) {
  85213. t4 = t1.get$current(t1);
  85214. module = t4._0;
  85215. node = t4._1;
  85216. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  85217. t3.$indexSet(0, module, node);
  85218. }
  85219. forwarded = t3;
  85220. } else
  85221. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  85222. t1 = type$.String;
  85223. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85224. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t3.moveNext$0();)
  85225. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  85226. t2.add$1(0, t4.get$current(t4));
  85227. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85228. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t4.moveNext$0();) {
  85229. t5 = t4.__js_helper$_current;
  85230. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  85231. t3.add$1(0, t5.get$current(t5));
  85232. }
  85233. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85234. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t4.moveNext$0();)
  85235. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  85236. t1.add$1(0, t5.get$current(t5));
  85237. t4 = _this._async_environment0$_variables;
  85238. t5 = t4.length;
  85239. if (t5 === 1) {
  85240. 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) {
  85241. t11 = t8[_i];
  85242. module = t11._0;
  85243. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  85244. if (shadowed != null) {
  85245. t5.remove$1(0, module);
  85246. t12 = shadowed.variables;
  85247. t13 = false;
  85248. if (t12.get$isEmpty(t12)) {
  85249. t12 = shadowed.functions;
  85250. if (t12.get$isEmpty(t12)) {
  85251. t12 = shadowed.mixins;
  85252. if (t12.get$isEmpty(t12)) {
  85253. t12 = shadowed._shadowed_view0$_inner;
  85254. t12 = t12.get$css(t12);
  85255. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  85256. } else
  85257. t12 = t13;
  85258. } else
  85259. t12 = t13;
  85260. } else
  85261. t12 = t13;
  85262. if (!t12)
  85263. t5.$indexSet(0, shadowed, t11._1);
  85264. }
  85265. }
  85266. 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) {
  85267. t8 = t6[_i];
  85268. module = t8._0;
  85269. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  85270. if (shadowed != null) {
  85271. forwardedModules.remove$1(0, module);
  85272. t9 = shadowed.variables;
  85273. t11 = false;
  85274. if (t9.get$isEmpty(t9)) {
  85275. t9 = shadowed.functions;
  85276. if (t9.get$isEmpty(t9)) {
  85277. t9 = shadowed.mixins;
  85278. if (t9.get$isEmpty(t9)) {
  85279. t9 = shadowed._shadowed_view0$_inner;
  85280. t9 = t9.get$css(t9);
  85281. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  85282. } else
  85283. t9 = t11;
  85284. } else
  85285. t9 = t11;
  85286. } else
  85287. t9 = t11;
  85288. if (!t9)
  85289. forwardedModules.$indexSet(0, shadowed, t8._1);
  85290. }
  85291. }
  85292. t5.addAll$1(0, forwarded);
  85293. forwardedModules.addAll$1(0, forwarded);
  85294. } else {
  85295. t6 = _this._async_environment0$_nestedForwardedModules;
  85296. if (t6 == null) {
  85297. _length = t5 - 1;
  85298. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
  85299. for (t5 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
  85300. _list[_i] = A._setArrayType([], t5);
  85301. _this._async_environment0$_nestedForwardedModules = _list;
  85302. t5 = _list;
  85303. } else
  85304. t5 = t6;
  85305. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  85306. }
  85307. for (t2 = A._LinkedHashSetIterator$(t2, t2._modifications, t2.$ti._precomputed1), t5 = _this._async_environment0$_variableIndices, t6 = _this._async_environment0$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  85308. t8 = t2._collection$_current;
  85309. if (t8 == null)
  85310. t8 = t7._as(t8);
  85311. t5.remove$1(0, t8);
  85312. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  85313. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  85314. }
  85315. for (t2 = A._LinkedHashSetIterator$(t3, t3._modifications, t3.$ti._precomputed1), t3 = _this._async_environment0$_functionIndices, t4 = _this._async_environment0$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  85316. t6 = t2._collection$_current;
  85317. if (t6 == null)
  85318. t6 = t5._as(t6);
  85319. t3.remove$1(0, t6);
  85320. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  85321. }
  85322. for (t1 = A._LinkedHashSetIterator$(t1, t1._modifications, t1.$ti._precomputed1), t2 = _this._async_environment0$_mixinIndices, t3 = _this._async_environment0$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  85323. t5 = t1._collection$_current;
  85324. if (t5 == null)
  85325. t5 = t4._as(t5);
  85326. t2.remove$1(0, t5);
  85327. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  85328. }
  85329. },
  85330. getVariable$2$namespace($name, namespace) {
  85331. var t1, _0_0, _1_0, _this = this;
  85332. if (namespace != null)
  85333. return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  85334. if (_this._async_environment0$_lastVariableName === $name) {
  85335. t1 = _this._async_environment0$_lastVariableIndex;
  85336. t1.toString;
  85337. t1 = _this._async_environment0$_variables[t1].$index(0, $name);
  85338. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85339. }
  85340. t1 = _this._async_environment0$_variableIndices;
  85341. _0_0 = t1.$index(0, $name);
  85342. if (_0_0 != null) {
  85343. _this._async_environment0$_lastVariableName = $name;
  85344. _this._async_environment0$_lastVariableIndex = _0_0;
  85345. t1 = _this._async_environment0$_variables[_0_0].$index(0, $name);
  85346. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85347. } else {
  85348. _1_0 = _this._async_environment0$_variableIndex$1($name);
  85349. if (_1_0 != null) {
  85350. _this._async_environment0$_lastVariableName = $name;
  85351. _this._async_environment0$_lastVariableIndex = _1_0;
  85352. t1.$indexSet(0, $name, _1_0);
  85353. t1 = _this._async_environment0$_variables[_1_0].$index(0, $name);
  85354. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85355. } else
  85356. return _this._async_environment0$_getVariableFromGlobalModule$1($name);
  85357. }
  85358. },
  85359. getVariable$1($name) {
  85360. return this.getVariable$2$namespace($name, null);
  85361. },
  85362. _async_environment0$_getVariableFromGlobalModule$1($name) {
  85363. return this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name));
  85364. },
  85365. getVariableNode$2$namespace($name, namespace) {
  85366. var t1, _0_0, _1_0, _this = this;
  85367. if (namespace != null)
  85368. return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  85369. if (_this._async_environment0$_lastVariableName === $name) {
  85370. t1 = _this._async_environment0$_lastVariableIndex;
  85371. t1.toString;
  85372. t1 = _this._async_environment0$_variableNodes[t1].$index(0, $name);
  85373. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  85374. }
  85375. t1 = _this._async_environment0$_variableIndices;
  85376. _0_0 = t1.$index(0, $name);
  85377. if (_0_0 != null) {
  85378. _this._async_environment0$_lastVariableName = $name;
  85379. _this._async_environment0$_lastVariableIndex = _0_0;
  85380. t1 = _this._async_environment0$_variableNodes[_0_0].$index(0, $name);
  85381. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  85382. } else {
  85383. _1_0 = _this._async_environment0$_variableIndex$1($name);
  85384. if (_1_0 != null) {
  85385. _this._async_environment0$_lastVariableName = $name;
  85386. _this._async_environment0$_lastVariableIndex = _1_0;
  85387. t1.$indexSet(0, $name, _1_0);
  85388. t1 = _this._async_environment0$_variableNodes[_1_0].$index(0, $name);
  85389. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  85390. } else
  85391. return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
  85392. }
  85393. },
  85394. _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
  85395. var t1, t2, _0_0;
  85396. 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();) {
  85397. t1 = t2._currentIterator;
  85398. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  85399. if (_0_0 != null)
  85400. return _0_0;
  85401. }
  85402. return null;
  85403. },
  85404. globalVariableExists$2$namespace($name, namespace) {
  85405. if (namespace != null)
  85406. return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  85407. if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
  85408. return true;
  85409. return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
  85410. },
  85411. globalVariableExists$1($name) {
  85412. return this.globalVariableExists$2$namespace($name, null);
  85413. },
  85414. _async_environment0$_variableIndex$1($name) {
  85415. var t1, i;
  85416. for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
  85417. if (t1[i].containsKey$1($name))
  85418. return i;
  85419. return null;
  85420. },
  85421. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  85422. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  85423. if (namespace != null) {
  85424. _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  85425. return;
  85426. }
  85427. if (global || _this._async_environment0$_variables.length === 1) {
  85428. _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
  85429. t1 = _this._async_environment0$_variables;
  85430. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  85431. moduleWithName = _this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name));
  85432. if (moduleWithName != null) {
  85433. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  85434. return;
  85435. }
  85436. }
  85437. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  85438. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
  85439. return;
  85440. }
  85441. nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
  85442. if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
  85443. 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();) {
  85444. t3 = t2.__internal$_current;
  85445. 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();) {
  85446. t5 = t3.__internal$_current;
  85447. if (t5 == null)
  85448. t5 = t4._as(t5);
  85449. if (t5.get$variables().containsKey$1($name)) {
  85450. t5.setVariable$3($name, value, nodeWithSpan);
  85451. return;
  85452. }
  85453. }
  85454. }
  85455. if (_this._async_environment0$_lastVariableName === $name) {
  85456. t1 = _this._async_environment0$_lastVariableIndex;
  85457. t1.toString;
  85458. index = t1;
  85459. } else
  85460. index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
  85461. if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
  85462. index = _this._async_environment0$_variables.length - 1;
  85463. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  85464. }
  85465. _this._async_environment0$_lastVariableName = $name;
  85466. _this._async_environment0$_lastVariableIndex = index;
  85467. _this._async_environment0$_variables[index].$indexSet(0, $name, value);
  85468. _this._async_environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  85469. },
  85470. setVariable$4$global($name, value, nodeWithSpan, global) {
  85471. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  85472. },
  85473. setLocalVariable$3($name, value, nodeWithSpan) {
  85474. var index, _this = this,
  85475. t1 = _this._async_environment0$_variables,
  85476. t2 = t1.length;
  85477. _this._async_environment0$_lastVariableName = $name;
  85478. index = _this._async_environment0$_lastVariableIndex = t2 - 1;
  85479. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  85480. t1[index].$indexSet(0, $name, value);
  85481. _this._async_environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  85482. },
  85483. getFunction$2$namespace($name, namespace) {
  85484. var t1, _0_0, _1_0, _this = this;
  85485. if (namespace != null) {
  85486. t1 = _this._async_environment0$_getModule$1(namespace);
  85487. return t1.get$functions(t1).$index(0, $name);
  85488. }
  85489. t1 = _this._async_environment0$_functionIndices;
  85490. _0_0 = t1.$index(0, $name);
  85491. if (_0_0 != null) {
  85492. t1 = _this._async_environment0$_functions[_0_0].$index(0, $name);
  85493. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  85494. } else {
  85495. _1_0 = _this._async_environment0$_functionIndex$1($name);
  85496. if (_1_0 != null) {
  85497. t1.$indexSet(0, $name, _1_0);
  85498. t1 = _this._async_environment0$_functions[_1_0].$index(0, $name);
  85499. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  85500. } else
  85501. return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
  85502. }
  85503. },
  85504. getFunction$1($name) {
  85505. return this.getFunction$2$namespace($name, null);
  85506. },
  85507. _async_environment0$_getFunctionFromGlobalModule$1($name) {
  85508. return this._async_environment0$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name));
  85509. },
  85510. _async_environment0$_functionIndex$1($name) {
  85511. var t1, i;
  85512. for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
  85513. if (t1[i].containsKey$1($name))
  85514. return i;
  85515. return null;
  85516. },
  85517. getMixin$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$mixins().$index(0, $name);
  85521. t1 = _this._async_environment0$_mixinIndices;
  85522. _0_0 = t1.$index(0, $name);
  85523. if (_0_0 != null) {
  85524. t1 = _this._async_environment0$_mixins[_0_0].$index(0, $name);
  85525. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  85526. } else {
  85527. _1_0 = _this._async_environment0$_mixinIndex$1($name);
  85528. if (_1_0 != null) {
  85529. t1.$indexSet(0, $name, _1_0);
  85530. t1 = _this._async_environment0$_mixins[_1_0].$index(0, $name);
  85531. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  85532. } else
  85533. return _this._async_environment0$_getMixinFromGlobalModule$1($name);
  85534. }
  85535. },
  85536. _async_environment0$_getMixinFromGlobalModule$1($name) {
  85537. return this._async_environment0$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name));
  85538. },
  85539. _async_environment0$_mixinIndex$1($name) {
  85540. var t1, i;
  85541. for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  85542. if (t1[i].containsKey$1($name))
  85543. return i;
  85544. return null;
  85545. },
  85546. withContent$2($content, callback) {
  85547. return this.withContent$body$AsyncEnvironment0($content, callback);
  85548. },
  85549. withContent$body$AsyncEnvironment0($content, callback) {
  85550. var $async$goto = 0,
  85551. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85552. $async$self = this, oldContent;
  85553. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85554. if ($async$errorCode === 1)
  85555. return A._asyncRethrow($async$result, $async$completer);
  85556. while (true)
  85557. switch ($async$goto) {
  85558. case 0:
  85559. // Function start
  85560. oldContent = $async$self._async_environment0$_content;
  85561. $async$self._async_environment0$_content = $content;
  85562. $async$goto = 2;
  85563. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  85564. case 2:
  85565. // returning from await.
  85566. $async$self._async_environment0$_content = oldContent;
  85567. // implicit return
  85568. return A._asyncReturn(null, $async$completer);
  85569. }
  85570. });
  85571. return A._asyncStartSync($async$withContent$2, $async$completer);
  85572. },
  85573. asMixin$1(callback) {
  85574. var $async$goto = 0,
  85575. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85576. $async$self = this, oldInMixin;
  85577. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85578. if ($async$errorCode === 1)
  85579. return A._asyncRethrow($async$result, $async$completer);
  85580. while (true)
  85581. switch ($async$goto) {
  85582. case 0:
  85583. // Function start
  85584. oldInMixin = $async$self._async_environment0$_inMixin;
  85585. $async$self._async_environment0$_inMixin = true;
  85586. $async$goto = 2;
  85587. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  85588. case 2:
  85589. // returning from await.
  85590. $async$self._async_environment0$_inMixin = oldInMixin;
  85591. // implicit return
  85592. return A._asyncReturn(null, $async$completer);
  85593. }
  85594. });
  85595. return A._asyncStartSync($async$asMixin$1, $async$completer);
  85596. },
  85597. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  85598. return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
  85599. },
  85600. scope$1$1(callback, $T) {
  85601. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  85602. },
  85603. scope$1$2$when(callback, when, $T) {
  85604. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  85605. },
  85606. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  85607. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  85608. },
  85609. scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
  85610. var $async$goto = 0,
  85611. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85612. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  85613. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85614. if ($async$errorCode === 1) {
  85615. $async$errorStack.push($async$result);
  85616. $async$goto = $async$handler;
  85617. }
  85618. while (true)
  85619. switch ($async$goto) {
  85620. case 0:
  85621. // Function start
  85622. semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
  85623. wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
  85624. $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
  85625. $async$goto = !when ? 3 : 4;
  85626. break;
  85627. case 3:
  85628. // then
  85629. $async$handler = 5;
  85630. $async$goto = 8;
  85631. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  85632. case 8:
  85633. // returning from await.
  85634. t1 = $async$result;
  85635. $async$returnValue = t1;
  85636. $async$next = [1];
  85637. // goto finally
  85638. $async$goto = 6;
  85639. break;
  85640. $async$next.push(7);
  85641. // goto finally
  85642. $async$goto = 6;
  85643. break;
  85644. case 5:
  85645. // uncaught
  85646. $async$next = [2];
  85647. case 6:
  85648. // finally
  85649. $async$handler = 2;
  85650. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  85651. // goto the next finally handler
  85652. $async$goto = $async$next.pop();
  85653. break;
  85654. case 7:
  85655. // after finally
  85656. case 4:
  85657. // join
  85658. t1 = $async$self._async_environment0$_variables;
  85659. t2 = type$.String;
  85660. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  85661. t3 = $async$self._async_environment0$_variableNodes;
  85662. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  85663. t4 = $async$self._async_environment0$_functions;
  85664. t5 = type$.AsyncCallable_2;
  85665. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  85666. t6 = $async$self._async_environment0$_mixins;
  85667. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  85668. t5 = $async$self._async_environment0$_nestedForwardedModules;
  85669. if (t5 != null)
  85670. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
  85671. $async$handler = 9;
  85672. $async$goto = 12;
  85673. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  85674. case 12:
  85675. // returning from await.
  85676. t2 = $async$result;
  85677. $async$returnValue = t2;
  85678. $async$next = [1];
  85679. // goto finally
  85680. $async$goto = 10;
  85681. break;
  85682. $async$next.push(11);
  85683. // goto finally
  85684. $async$goto = 10;
  85685. break;
  85686. case 9:
  85687. // uncaught
  85688. $async$next = [2];
  85689. case 10:
  85690. // finally
  85691. $async$handler = 2;
  85692. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  85693. $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
  85694. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = $async$self._async_environment0$_variableIndices; t1.moveNext$0();) {
  85695. $name = t1.get$current(t1);
  85696. t2.remove$1(0, $name);
  85697. }
  85698. B.JSArray_methods.removeLast$0(t3);
  85699. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = $async$self._async_environment0$_functionIndices; t1.moveNext$0();) {
  85700. name0 = t1.get$current(t1);
  85701. t2.remove$1(0, name0);
  85702. }
  85703. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = $async$self._async_environment0$_mixinIndices; t1.moveNext$0();) {
  85704. name1 = t1.get$current(t1);
  85705. t2.remove$1(0, name1);
  85706. }
  85707. t1 = $async$self._async_environment0$_nestedForwardedModules;
  85708. if (t1 != null)
  85709. t1.pop();
  85710. // goto the next finally handler
  85711. $async$goto = $async$next.pop();
  85712. break;
  85713. case 11:
  85714. // after finally
  85715. case 1:
  85716. // return
  85717. return A._asyncReturn($async$returnValue, $async$completer);
  85718. case 2:
  85719. // rethrow
  85720. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  85721. }
  85722. });
  85723. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  85724. },
  85725. toImplicitConfiguration$0() {
  85726. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  85727. t1 = type$.String,
  85728. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  85729. for (t2 = this._async_environment0$_variables, t3 = type$.Value_2, t4 = this._async_environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  85730. values = t2[i];
  85731. nodes = t4[i];
  85732. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  85733. t6 = t5.get$current(t5);
  85734. $name = t6._0;
  85735. value = t6._1;
  85736. t6 = nodes.$index(0, $name);
  85737. t6.toString;
  85738. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  85739. }
  85740. }
  85741. return new A.Configuration0(configuration, null);
  85742. },
  85743. toModule$3(css, preModuleComments, extensionStore) {
  85744. return A._EnvironmentModule__EnvironmentModule2(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
  85745. },
  85746. toDummyModule$0() {
  85747. return A._EnvironmentModule__EnvironmentModule2(this, new A.CssStylesheet0(new A.UnmodifiableListView(B.List_empty17, 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()));
  85748. },
  85749. _async_environment0$_getModule$1(namespace) {
  85750. var _0_0 = this._async_environment0$_modules.$index(0, namespace);
  85751. if (_0_0 != null)
  85752. return _0_0;
  85753. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  85754. },
  85755. _async_environment0$_fromOneModule$1$3($name, type, callback) {
  85756. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  85757. _0_0 = this._async_environment0$_nestedForwardedModules;
  85758. if (_0_0 != null)
  85759. 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();) {
  85760. t3 = t2.__internal$_current;
  85761. 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();) {
  85762. t5 = t3.__internal$_current;
  85763. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  85764. if (_1_0 != null)
  85765. return _1_0;
  85766. }
  85767. }
  85768. for (t1 = this._async_environment0$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first); t1.moveNext$0();) {
  85769. _2_0 = callback.call$1(t1.__js_helper$_current);
  85770. if (_2_0 != null)
  85771. return _2_0;
  85772. }
  85773. for (t1 = this._async_environment0$_globalModules, t2 = new A.LinkedHashMapKeyIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first), t3 = type$.AsyncCallable_2, value = null, identity = null; t2.moveNext$0();) {
  85774. t4 = t2.__js_helper$_current;
  85775. valueInModule = callback.call$1(t4);
  85776. if (valueInModule == null)
  85777. continue;
  85778. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  85779. if (identityFromModule.$eq(0, identity))
  85780. continue;
  85781. if (value != null) {
  85782. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  85783. 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();) {
  85784. t1 = t3.get$current(t3);
  85785. module = t1._0;
  85786. node = t1._1;
  85787. if (callback.call$1(module) != null)
  85788. t2.$indexSet(0, node.get$span(node), t4);
  85789. }
  85790. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  85791. }
  85792. identity = identityFromModule;
  85793. value = valueInModule;
  85794. }
  85795. return value;
  85796. },
  85797. _async_environment0$_fromOneModule$3($name, type, callback) {
  85798. return this._async_environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  85799. }
  85800. };
  85801. A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
  85802. call$1(module) {
  85803. return module.get$variables().$index(0, this.name);
  85804. },
  85805. $signature: 309
  85806. };
  85807. A.AsyncEnvironment_setVariable_closure2.prototype = {
  85808. call$0() {
  85809. var t1 = this.$this;
  85810. t1._async_environment0$_lastVariableName = this.name;
  85811. return t1._async_environment0$_lastVariableIndex = 0;
  85812. },
  85813. $signature: 10
  85814. };
  85815. A.AsyncEnvironment_setVariable_closure3.prototype = {
  85816. call$1(module) {
  85817. return module.get$variables().containsKey$1(this.name) ? module : null;
  85818. },
  85819. $signature: 310
  85820. };
  85821. A.AsyncEnvironment_setVariable_closure4.prototype = {
  85822. call$0() {
  85823. var t1 = this.$this,
  85824. t2 = t1._async_environment0$_variableIndex$1(this.name);
  85825. return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
  85826. },
  85827. $signature: 10
  85828. };
  85829. A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
  85830. call$1(module) {
  85831. return module.get$functions(module).$index(0, this.name);
  85832. },
  85833. $signature: 259
  85834. };
  85835. A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
  85836. call$1(module) {
  85837. return module.get$mixins().$index(0, this.name);
  85838. },
  85839. $signature: 259
  85840. };
  85841. A.AsyncEnvironment_toModule_closure0.prototype = {
  85842. call$1(modules) {
  85843. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  85844. },
  85845. $signature: 256
  85846. };
  85847. A.AsyncEnvironment_toDummyModule_closure0.prototype = {
  85848. call$1(modules) {
  85849. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  85850. },
  85851. $signature: 256
  85852. };
  85853. A._EnvironmentModule2.prototype = {
  85854. get$url(_) {
  85855. var t1 = this.css;
  85856. return t1.get$span(t1).file.url;
  85857. },
  85858. setVariable$3($name, value, nodeWithSpan) {
  85859. var t1, t2,
  85860. _0_0 = this._async_environment0$_modulesByVariable.$index(0, $name);
  85861. if (_0_0 != null) {
  85862. _0_0.setVariable$3($name, value, nodeWithSpan);
  85863. return;
  85864. }
  85865. t1 = this._async_environment0$_environment;
  85866. t2 = t1._async_environment0$_variables;
  85867. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  85868. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  85869. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  85870. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
  85871. return;
  85872. },
  85873. variableIdentity$1($name) {
  85874. var module = this._async_environment0$_modulesByVariable.$index(0, $name);
  85875. return module == null ? this : module.variableIdentity$1($name);
  85876. },
  85877. cloneCss$0() {
  85878. var _0_0, _this = this;
  85879. if (!_this.transitivelyContainsCss)
  85880. return _this;
  85881. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  85882. 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);
  85883. },
  85884. toString$0(_) {
  85885. var t2,
  85886. t1 = this.css;
  85887. if (t1.get$span(t1).file.url == null)
  85888. t1 = "<unknown url>";
  85889. else {
  85890. t1 = t1.get$span(t1).file.url;
  85891. t2 = $.$get$context();
  85892. t1.toString;
  85893. t1 = t2.prettyUri$1(t1);
  85894. }
  85895. return t1;
  85896. },
  85897. $isModule1: 1,
  85898. get$upstream() {
  85899. return this.upstream;
  85900. },
  85901. get$variables() {
  85902. return this.variables;
  85903. },
  85904. get$variableNodes() {
  85905. return this.variableNodes;
  85906. },
  85907. get$functions(receiver) {
  85908. return this.functions;
  85909. },
  85910. get$mixins() {
  85911. return this.mixins;
  85912. },
  85913. get$extensionStore() {
  85914. return this.extensionStore;
  85915. },
  85916. get$css(receiver) {
  85917. return this.css;
  85918. },
  85919. get$preModuleComments() {
  85920. return this.preModuleComments;
  85921. },
  85922. get$transitivelyContainsCss() {
  85923. return this.transitivelyContainsCss;
  85924. },
  85925. get$transitivelyContainsExtensions() {
  85926. return this.transitivelyContainsExtensions;
  85927. }
  85928. };
  85929. A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
  85930. call$1(module) {
  85931. return module.get$variables();
  85932. },
  85933. $signature: 313
  85934. };
  85935. A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
  85936. call$1(module) {
  85937. return module.get$variableNodes();
  85938. },
  85939. $signature: 314
  85940. };
  85941. A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
  85942. call$1(module) {
  85943. return module.get$functions(module);
  85944. },
  85945. $signature: 252
  85946. };
  85947. A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
  85948. call$1(module) {
  85949. return module.get$mixins();
  85950. },
  85951. $signature: 252
  85952. };
  85953. A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
  85954. call$1(module) {
  85955. return module.get$transitivelyContainsCss();
  85956. },
  85957. $signature: 115
  85958. };
  85959. A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
  85960. call$1(module) {
  85961. return module.get$transitivelyContainsExtensions();
  85962. },
  85963. $signature: 115
  85964. };
  85965. A._EvaluateVisitor2.prototype = {
  85966. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  85967. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  85968. _s20_ = "$name, $module: null",
  85969. _s9_ = "sass:meta",
  85970. _s7_ = "$module",
  85971. t1 = type$.JSArray_AsyncBuiltInCallable_2,
  85972. 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),
  85973. 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);
  85974. t1 = type$.AsyncBuiltInCallable_2;
  85975. t2 = A.List_List$of($.$get$moduleFunctions0(), true, t1);
  85976. B.JSArray_methods.addAll$1(t2, metaFunctions);
  85977. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  85978. for (t1 = A.List_List$of($.$get$coreModules0(), true, type$.BuiltInModule_AsyncCallable_2), t1.push(metaModule), t2 = t1.length, t3 = _this._async_evaluate0$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  85979. module = t1[_i];
  85980. t3.$indexSet(0, module.url, module);
  85981. }
  85982. t1 = type$.JSArray_AsyncCallable_2;
  85983. t2 = A._setArrayType([], t1);
  85984. B.JSArray_methods.addAll$1(t2, functions);
  85985. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions0());
  85986. t1 = A._setArrayType([], t1);
  85987. for (_i = 0; _i < 11; ++_i)
  85988. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  85989. B.JSArray_methods.addAll$1(t2, t1);
  85990. for (t1 = t2.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  85991. $function = t2[_i];
  85992. t4 = $function.get$name($function);
  85993. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  85994. }
  85995. },
  85996. run$2(_, importer, node) {
  85997. return this.run$body$_EvaluateVisitor0(0, importer, node);
  85998. },
  85999. run$body$_EvaluateVisitor0(_, importer, node) {
  86000. var $async$goto = 0,
  86001. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  86002. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  86003. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86004. if ($async$errorCode === 1) {
  86005. $async$errorStack.push($async$result);
  86006. $async$goto = $async$handler;
  86007. }
  86008. while (true)
  86009. switch ($async$goto) {
  86010. case 0:
  86011. // Function start
  86012. $async$handler = 4;
  86013. t1 = type$.nullable_Object;
  86014. 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);
  86015. $async$goto = 7;
  86016. 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);
  86017. case 7:
  86018. // returning from await.
  86019. t1 = $async$result;
  86020. $async$returnValue = t1;
  86021. // goto return
  86022. $async$goto = 1;
  86023. break;
  86024. $async$handler = 2;
  86025. // goto after finally
  86026. $async$goto = 6;
  86027. break;
  86028. case 4:
  86029. // catch
  86030. $async$handler = 3;
  86031. $async$exception = $async$errorStack.pop();
  86032. t1 = A.unwrapException($async$exception);
  86033. if (t1 instanceof A.SassException0) {
  86034. error = t1;
  86035. stackTrace = A.getTraceFromException($async$exception);
  86036. A.throwWithTrace0(error.withLoadedUrls$1($async$self._async_evaluate0$_loadedUrls), error, stackTrace);
  86037. } else
  86038. throw $async$exception;
  86039. // goto after finally
  86040. $async$goto = 6;
  86041. break;
  86042. case 3:
  86043. // uncaught
  86044. // goto rethrow
  86045. $async$goto = 2;
  86046. break;
  86047. case 6:
  86048. // after finally
  86049. case 1:
  86050. // return
  86051. return A._asyncReturn($async$returnValue, $async$completer);
  86052. case 2:
  86053. // rethrow
  86054. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  86055. }
  86056. });
  86057. return A._asyncStartSync($async$run$2, $async$completer);
  86058. },
  86059. _async_evaluate0$_assertInModule$1$2(value, $name) {
  86060. if (value != null)
  86061. return value;
  86062. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  86063. },
  86064. _async_evaluate0$_assertInModule$2(value, $name) {
  86065. return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  86066. },
  86067. _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  86068. return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  86069. },
  86070. _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  86071. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  86072. },
  86073. _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  86074. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  86075. },
  86076. _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  86077. var $async$goto = 0,
  86078. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86079. $async$returnValue, $async$self = this, t2, _0_0, t1;
  86080. var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86081. if ($async$errorCode === 1)
  86082. return A._asyncRethrow($async$result, $async$completer);
  86083. while (true)
  86084. switch ($async$goto) {
  86085. case 0:
  86086. // Function start
  86087. _0_0 = $async$self._async_evaluate0$_builtInModules.$index(0, url);
  86088. t1 = {};
  86089. t1.builtInModule = null;
  86090. $async$goto = _0_0 != null ? 3 : 4;
  86091. break;
  86092. case 3:
  86093. // then
  86094. t1.builtInModule = _0_0;
  86095. if (configuration instanceof A.ExplicitConfiguration0) {
  86096. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  86097. t2 = configuration.nodeWithSpan;
  86098. throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
  86099. }
  86100. $async$goto = 5;
  86101. 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);
  86102. case 5:
  86103. // returning from await.
  86104. // goto return
  86105. $async$goto = 1;
  86106. break;
  86107. case 4:
  86108. // join
  86109. $async$goto = 6;
  86110. 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);
  86111. case 6:
  86112. // returning from await.
  86113. case 1:
  86114. // return
  86115. return A._asyncReturn($async$returnValue, $async$completer);
  86116. }
  86117. });
  86118. return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  86119. },
  86120. _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  86121. return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  86122. },
  86123. _async_evaluate0$_execute$2(importer, stylesheet) {
  86124. return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  86125. },
  86126. _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  86127. var $async$goto = 0,
  86128. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
  86129. $async$returnValue, $async$self = this, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, url, t1, _0_0;
  86130. var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86131. if ($async$errorCode === 1)
  86132. return A._asyncRethrow($async$result, $async$completer);
  86133. while (true)
  86134. switch ($async$goto) {
  86135. case 0:
  86136. // Function start
  86137. url = stylesheet.span.file.url;
  86138. t1 = $async$self._async_evaluate0$_modules;
  86139. _0_0 = t1.$index(0, url);
  86140. if (_0_0 != null) {
  86141. t1 = configuration == null;
  86142. currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
  86143. t2 = $async$self._async_evaluate0$_moduleConfigurations.$index(0, url);
  86144. t3 = t2._configuration0$__originalConfiguration;
  86145. t2 = t3 == null ? t2 : t3;
  86146. t3 = currentConfiguration._configuration0$__originalConfiguration;
  86147. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  86148. if (namesInErrors) {
  86149. t2 = $.$get$context();
  86150. url.toString;
  86151. message = t2.prettyUri$1(url) + string$.x20was_a;
  86152. } else
  86153. message = string$.This_mw;
  86154. t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
  86155. existingSpan = t2 == null ? null : t2.get$span(t2);
  86156. if (t1) {
  86157. t1 = currentConfiguration.nodeWithSpan;
  86158. configurationSpan = t1.get$span(t1);
  86159. } else
  86160. configurationSpan = null;
  86161. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  86162. if (existingSpan != null)
  86163. t1.$indexSet(0, existingSpan, "original load");
  86164. if (configurationSpan != null)
  86165. t1.$indexSet(0, configurationSpan, "configuration");
  86166. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
  86167. }
  86168. $async$returnValue = _0_0;
  86169. // goto return
  86170. $async$goto = 1;
  86171. break;
  86172. }
  86173. environment = A.AsyncEnvironment$0();
  86174. css = A._Cell$();
  86175. preModuleComments = A._Cell$();
  86176. extensionStore = A.ExtensionStore$0();
  86177. $async$goto = 3;
  86178. 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);
  86179. case 3:
  86180. // returning from await.
  86181. t2 = css._readLocal$0();
  86182. t3 = preModuleComments._readLocal$0();
  86183. module = environment.toModule$3(t2, t3 == null ? B.Map_empty16 : t3, extensionStore);
  86184. if (url != null) {
  86185. t1.$indexSet(0, url, module);
  86186. $async$self._async_evaluate0$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate0$_configuration);
  86187. if (nodeWithSpan != null)
  86188. $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  86189. }
  86190. $async$returnValue = module;
  86191. // goto return
  86192. $async$goto = 1;
  86193. break;
  86194. case 1:
  86195. // return
  86196. return A._asyncReturn($async$returnValue, $async$completer);
  86197. }
  86198. });
  86199. return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  86200. },
  86201. _async_evaluate0$_addOutOfOrderImports$0() {
  86202. var t1, t2, _this = this, _s5_ = "_root",
  86203. _s13_ = "_endOfImports",
  86204. _0_0 = _this._async_evaluate0$_outOfOrderImports;
  86205. $label0$0: {
  86206. if (_0_0 == null) {
  86207. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86208. break $label0$0;
  86209. }
  86210. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86211. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), true, type$.ModifiableCssNode_2);
  86212. B.JSArray_methods.addAll$1(t1, _0_0);
  86213. t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86214. 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")));
  86215. break $label0$0;
  86216. }
  86217. return t1;
  86218. },
  86219. _async_evaluate0$_combineCss$2$clone(root, clone) {
  86220. var selectors, _0_0, t1, imports, css, sorted, t2;
  86221. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
  86222. selectors = root.get$extensionStore().get$simpleSelectors();
  86223. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
  86224. if (_0_0 != null)
  86225. this._async_evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  86226. return root.get$css(root);
  86227. }
  86228. t1 = type$.JSArray_CssNode_2;
  86229. imports = A._setArrayType([], t1);
  86230. css = A._setArrayType([], t1);
  86231. t1 = type$.Module_AsyncCallable_2;
  86232. sorted = A.ListQueue$(t1);
  86233. new A._EvaluateVisitor__combineCss_visitModule2(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  86234. if (root.get$transitivelyContainsExtensions())
  86235. this._async_evaluate0$_extendModules$1(sorted);
  86236. t1 = B.JSArray_methods.$add(imports, css);
  86237. t2 = root.get$css(root);
  86238. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  86239. },
  86240. _async_evaluate0$_combineCss$1(root) {
  86241. return this._async_evaluate0$_combineCss$2$clone(root, false);
  86242. },
  86243. _async_evaluate0$_extendModules$1(sortedModules) {
  86244. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  86245. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  86246. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  86247. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  86248. t3 = t1._collection$_current;
  86249. if (t3 == null)
  86250. t3 = t2._as(t3);
  86251. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  86252. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
  86253. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  86254. t4 = t3.get$extensionStore().get$addExtensions();
  86255. if ($self != null)
  86256. t4.call$1($self);
  86257. t4 = t3.get$extensionStore();
  86258. if (t4.get$isEmpty(t4))
  86259. continue;
  86260. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  86261. upstream = t4[_i];
  86262. _0_0 = upstream.get$url(upstream);
  86263. if (_0_0 != null)
  86264. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure6()), t3.get$extensionStore());
  86265. }
  86266. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  86267. }
  86268. if (unsatisfiedExtensions._collection$_length !== 0)
  86269. this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  86270. },
  86271. _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  86272. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  86273. },
  86274. _async_evaluate0$_indexAfterImports$1(statements) {
  86275. var t1, lastImport, i, _0_0;
  86276. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  86277. $label0$0: {
  86278. _0_0 = t1.$index(statements, i);
  86279. if (_0_0 instanceof A.ModifiableCssImport0)
  86280. break $label0$0;
  86281. if (_0_0 instanceof A.ModifiableCssComment0)
  86282. continue;
  86283. break;
  86284. }
  86285. lastImport = i;
  86286. }
  86287. return lastImport + 1;
  86288. },
  86289. visitStylesheet$1(_, node) {
  86290. return this.visitStylesheet$body$_EvaluateVisitor0(0, node);
  86291. },
  86292. visitStylesheet$body$_EvaluateVisitor0(_, node) {
  86293. var $async$goto = 0,
  86294. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86295. $async$returnValue, $async$self = this, t1, t2, warning, _i, $name, span;
  86296. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86297. if ($async$errorCode === 1)
  86298. return A._asyncRethrow($async$result, $async$completer);
  86299. while (true)
  86300. switch ($async$goto) {
  86301. case 0:
  86302. // Function start
  86303. 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();) {
  86304. warning = t1.__internal$_current;
  86305. if (warning == null)
  86306. warning = t2._as(warning);
  86307. $async$self._async_evaluate0$_warn$3(warning._1, warning._2, warning._0);
  86308. }
  86309. t1 = node.children, t2 = t1.length, _i = 0;
  86310. case 3:
  86311. // for condition
  86312. if (!(_i < t2)) {
  86313. // goto after for
  86314. $async$goto = 5;
  86315. break;
  86316. }
  86317. $async$goto = 6;
  86318. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  86319. case 6:
  86320. // returning from await.
  86321. case 4:
  86322. // for update
  86323. ++_i;
  86324. // goto for condition
  86325. $async$goto = 3;
  86326. break;
  86327. case 5:
  86328. // after for
  86329. for (t1 = A.MapExtensions_get_pairs0(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  86330. t2 = t1.get$current(t1);
  86331. $name = t2._0;
  86332. span = t2._1;
  86333. $async$self.visitVariableDeclaration$1(0, new A.VariableDeclaration0(null, $name, new A.NullExpression0(span), true, false, span));
  86334. }
  86335. $async$returnValue = null;
  86336. // goto return
  86337. $async$goto = 1;
  86338. break;
  86339. case 1:
  86340. // return
  86341. return A._asyncReturn($async$returnValue, $async$completer);
  86342. }
  86343. });
  86344. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  86345. },
  86346. visitAtRootRule$1(_, node) {
  86347. return this.visitAtRootRule$body$_EvaluateVisitor0(0, node);
  86348. },
  86349. visitAtRootRule$body$_EvaluateVisitor0(_, node) {
  86350. var $async$goto = 0,
  86351. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86352. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  86353. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86354. if ($async$errorCode === 1)
  86355. return A._asyncRethrow($async$result, $async$completer);
  86356. while (true)
  86357. switch ($async$goto) {
  86358. case 0:
  86359. // Function start
  86360. _0_0 = node.query;
  86361. $async$goto = _0_0 != null ? 3 : 5;
  86362. break;
  86363. case 3:
  86364. // then
  86365. $async$goto = 6;
  86366. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  86367. case 6:
  86368. // returning from await.
  86369. _1_0 = $async$result;
  86370. resolved = _1_0._0;
  86371. _1_0._1;
  86372. query = new A.AtRootQueryParser0(A.SpanScanner$(resolved, null), null).parse$0(0);
  86373. // goto join
  86374. $async$goto = 4;
  86375. break;
  86376. case 5:
  86377. // else
  86378. query = B.AtRootQuery_bfj0;
  86379. case 4:
  86380. // join
  86381. $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  86382. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  86383. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  86384. if (!query.excludes$1($parent))
  86385. included.push($parent);
  86386. _2_0 = $parent._node$_parent;
  86387. if (_2_0 == null)
  86388. throw A.wrapException(A.StateError$(string$.CssNod));
  86389. }
  86390. root = $async$self._async_evaluate0$_trimIncluded$1(included);
  86391. $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
  86392. break;
  86393. case 7:
  86394. // then
  86395. $async$goto = 9;
  86396. 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);
  86397. case 9:
  86398. // returning from await.
  86399. $async$returnValue = null;
  86400. // goto return
  86401. $async$goto = 1;
  86402. break;
  86403. case 8:
  86404. // join
  86405. if (included.length >= 1) {
  86406. first = included[0];
  86407. rest = B.JSArray_methods.sublist$1(included, 1);
  86408. innerCopy = first.copyWithoutChildren$0();
  86409. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  86410. copy = rest[_i].copyWithoutChildren$0();
  86411. copy.addChild$1(outerCopy);
  86412. }
  86413. root.addChild$1(outerCopy);
  86414. } else
  86415. innerCopy = root;
  86416. $async$goto = 10;
  86417. 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);
  86418. case 10:
  86419. // returning from await.
  86420. $async$returnValue = null;
  86421. // goto return
  86422. $async$goto = 1;
  86423. break;
  86424. case 1:
  86425. // return
  86426. return A._asyncReturn($async$returnValue, $async$completer);
  86427. }
  86428. });
  86429. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  86430. },
  86431. _async_evaluate0$_trimIncluded$1(nodes) {
  86432. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  86433. _s22_ = " to be an ancestor of ";
  86434. if (nodes.length === 0)
  86435. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  86436. $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
  86437. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  86438. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  86439. _0_0 = $parent._node$_parent;
  86440. if (_0_0 == null)
  86441. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  86442. }
  86443. if (innermostContiguous == null)
  86444. innermostContiguous = i;
  86445. _1_0 = $parent._node$_parent;
  86446. if (_1_0 == null)
  86447. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  86448. }
  86449. if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
  86450. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  86451. innermostContiguous.toString;
  86452. root = nodes[innermostContiguous];
  86453. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  86454. return root;
  86455. },
  86456. _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  86457. var _this = this,
  86458. scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
  86459. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  86460. if (t1 !== query.include)
  86461. scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
  86462. if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  86463. scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
  86464. if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  86465. scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
  86466. return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
  86467. },
  86468. visitContentBlock$1(_, node) {
  86469. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  86470. },
  86471. visitContentRule$1(_, node) {
  86472. return this.visitContentRule$body$_EvaluateVisitor0(0, node);
  86473. },
  86474. visitContentRule$body$_EvaluateVisitor0(_, node) {
  86475. var $async$goto = 0,
  86476. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86477. $async$returnValue, $async$self = this, $content;
  86478. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86479. if ($async$errorCode === 1)
  86480. return A._asyncRethrow($async$result, $async$completer);
  86481. while (true)
  86482. switch ($async$goto) {
  86483. case 0:
  86484. // Function start
  86485. $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
  86486. if ($content == null) {
  86487. $async$returnValue = null;
  86488. // goto return
  86489. $async$goto = 1;
  86490. break;
  86491. }
  86492. $async$goto = 3;
  86493. 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);
  86494. case 3:
  86495. // returning from await.
  86496. $async$returnValue = null;
  86497. // goto return
  86498. $async$goto = 1;
  86499. break;
  86500. case 1:
  86501. // return
  86502. return A._asyncReturn($async$returnValue, $async$completer);
  86503. }
  86504. });
  86505. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  86506. },
  86507. visitDebugRule$1(_, node) {
  86508. return this.visitDebugRule$body$_EvaluateVisitor0(0, node);
  86509. },
  86510. visitDebugRule$body$_EvaluateVisitor0(_, node) {
  86511. var $async$goto = 0,
  86512. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86513. $async$returnValue, $async$self = this, value, t1;
  86514. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86515. if ($async$errorCode === 1)
  86516. return A._asyncRethrow($async$result, $async$completer);
  86517. while (true)
  86518. switch ($async$goto) {
  86519. case 0:
  86520. // Function start
  86521. $async$goto = 3;
  86522. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  86523. case 3:
  86524. // returning from await.
  86525. value = $async$result;
  86526. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  86527. $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
  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$visitDebugRule$1, $async$completer);
  86538. },
  86539. visitDeclaration$1(_, node) {
  86540. return this.visitDeclaration$body$_EvaluateVisitor0(0, node);
  86541. },
  86542. visitDeclaration$body$_EvaluateVisitor0(_, node) {
  86543. var $async$goto = 0,
  86544. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86545. $async$returnValue, $async$self = this, siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName;
  86546. var $async$visitDeclaration$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. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
  86554. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
  86555. if ($async$self._async_evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  86556. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarw, node.span));
  86557. siblings = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent")._node$_parent.children;
  86558. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule_2);
  86559. if (siblings.get$last(siblings) !== $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent"))
  86560. t1 = !($async$self._async_evaluate0$_quietDeps && $async$self._async_evaluate0$_inDependency);
  86561. else
  86562. t1 = false;
  86563. if (t1)
  86564. 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();) {
  86565. t6 = t1.__internal$_current;
  86566. rule = t6 == null ? t2._as(t6) : t6;
  86567. $label0$1: {
  86568. if (rule instanceof A.ModifiableCssComment0)
  86569. continue;
  86570. t6 = rule instanceof A.ModifiableCssStyleRule0;
  86571. rule0 = t6 ? rule : null;
  86572. if (t6) {
  86573. interleavedRules.push(rule0);
  86574. break $label0$1;
  86575. }
  86576. $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);
  86577. B.JSArray_methods.clear$0(interleavedRules);
  86578. break $label0$1;
  86579. }
  86580. }
  86581. t1 = node.name;
  86582. $async$goto = 3;
  86583. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  86584. case 3:
  86585. // returning from await.
  86586. $name = $async$result;
  86587. _1_0 = $async$self._async_evaluate0$_declarationName;
  86588. if (_1_0 != null)
  86589. $name = new A.CssValue0(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  86590. _2_0 = node.value;
  86591. $async$goto = _2_0 != null ? 4 : 5;
  86592. break;
  86593. case 4:
  86594. // then
  86595. $async$goto = 6;
  86596. return A._asyncAwait(_2_0.accept$1($async$self), $async$visitDeclaration$1);
  86597. case 6:
  86598. // returning from await.
  86599. value = $async$result;
  86600. if (!value.get$isBlank() || value.get$asList().length === 0) {
  86601. t2 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  86602. t3 = _2_0.get$span(_2_0);
  86603. t4 = node.span;
  86604. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  86605. t5 = interleavedRules.length === 0 ? null : $async$self._async_evaluate0$_stackTrace$1(t4);
  86606. if ($async$self._async_evaluate0$_sourceMap) {
  86607. t6 = A.NullableExtension_andThen0(_2_0, $async$self.get$_async_evaluate0$_expressionNode());
  86608. t6 = t6 == null ? null : J.get$span$z(t6);
  86609. } else
  86610. t6 = null;
  86611. t2.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t3, type$.CssValue_Value_2), t4, interleavedRules, t1, t5, t6));
  86612. } else if (J.startsWith$1$s($name.value, "--"))
  86613. throw A.wrapException($async$self._async_evaluate0$_exception$2("Custom property values may not be empty.", _2_0.get$span(_2_0)));
  86614. case 5:
  86615. // join
  86616. _3_0 = node.children;
  86617. t1 = {};
  86618. t1.children = null;
  86619. $async$goto = _3_0 != null ? 7 : 8;
  86620. break;
  86621. case 7:
  86622. // then
  86623. t1.children = _3_0;
  86624. oldDeclarationName = $async$self._async_evaluate0$_declarationName;
  86625. $async$self._async_evaluate0$_declarationName = $name.value;
  86626. $async$goto = 9;
  86627. 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);
  86628. case 9:
  86629. // returning from await.
  86630. $async$self._async_evaluate0$_declarationName = oldDeclarationName;
  86631. case 8:
  86632. // join
  86633. $async$returnValue = null;
  86634. // goto return
  86635. $async$goto = 1;
  86636. break;
  86637. case 1:
  86638. // return
  86639. return A._asyncReturn($async$returnValue, $async$completer);
  86640. }
  86641. });
  86642. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  86643. },
  86644. visitEachRule$1(_, node) {
  86645. return this.visitEachRule$body$_EvaluateVisitor0(0, node);
  86646. },
  86647. visitEachRule$body$_EvaluateVisitor0(_, node) {
  86648. var $async$goto = 0,
  86649. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86650. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, _0_0;
  86651. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86652. if ($async$errorCode === 1)
  86653. return A._asyncRethrow($async$result, $async$completer);
  86654. while (true)
  86655. switch ($async$goto) {
  86656. case 0:
  86657. // Function start
  86658. t1 = node.list;
  86659. $async$goto = 3;
  86660. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  86661. case 3:
  86662. // returning from await.
  86663. list = $async$result;
  86664. nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
  86665. _0_0 = node.variables;
  86666. $label0$0: {
  86667. t1 = {};
  86668. t1.variable = null;
  86669. if (_0_0.length === 1) {
  86670. t1.variable = _0_0[0];
  86671. t1 = new A._EvaluateVisitor_visitEachRule_closure8(t1, $async$self, nodeWithSpan);
  86672. break $label0$0;
  86673. }
  86674. t1 = {};
  86675. t1.variables = null;
  86676. t1.variables = _0_0;
  86677. t1 = new A._EvaluateVisitor_visitEachRule_closure9(t1, $async$self, nodeWithSpan);
  86678. break $label0$0;
  86679. }
  86680. $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);
  86681. // goto return
  86682. $async$goto = 1;
  86683. break;
  86684. case 1:
  86685. // return
  86686. return A._asyncReturn($async$returnValue, $async$completer);
  86687. }
  86688. });
  86689. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  86690. },
  86691. _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  86692. var i,
  86693. list = value.get$asList(),
  86694. t1 = variables.length,
  86695. minLength = Math.min(t1, list.length);
  86696. for (i = 0; i < minLength; ++i)
  86697. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  86698. for (i = minLength; i < t1; ++i)
  86699. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  86700. },
  86701. visitErrorRule$1(_, node) {
  86702. return this.visitErrorRule$body$_EvaluateVisitor0(0, node);
  86703. },
  86704. visitErrorRule$body$_EvaluateVisitor0(_, node) {
  86705. var $async$goto = 0,
  86706. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  86707. $async$self = this, $async$temp1, $async$temp2;
  86708. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86709. if ($async$errorCode === 1)
  86710. return A._asyncRethrow($async$result, $async$completer);
  86711. while (true)
  86712. switch ($async$goto) {
  86713. case 0:
  86714. // Function start
  86715. $async$temp1 = A;
  86716. $async$temp2 = J;
  86717. $async$goto = 2;
  86718. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  86719. case 2:
  86720. // returning from await.
  86721. throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
  86722. // implicit return
  86723. return A._asyncReturn(null, $async$completer);
  86724. }
  86725. });
  86726. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  86727. },
  86728. visitExtendRule$1(_, node) {
  86729. return this.visitExtendRule$body$_EvaluateVisitor0(0, node);
  86730. },
  86731. visitExtendRule$body$_EvaluateVisitor0(_, node) {
  86732. var $async$goto = 0,
  86733. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86734. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, styleRule;
  86735. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86736. if ($async$errorCode === 1)
  86737. return A._asyncRethrow($async$result, $async$completer);
  86738. while (true)
  86739. switch ($async$goto) {
  86740. case 0:
  86741. // Function start
  86742. styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  86743. if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
  86744. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
  86745. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  86746. complex = t1[_i];
  86747. if (!complex.accept$1(B._IsBogusVisitor_true0))
  86748. continue;
  86749. visitor = A._SerializeVisitor$0(null, true, null, null, true, false, null, true);
  86750. complex.accept$1(visitor);
  86751. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  86752. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  86753. $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);
  86754. }
  86755. $async$goto = 3;
  86756. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  86757. case 3:
  86758. // returning from await.
  86759. _0_0 = $async$result;
  86760. targetText = _0_0._0;
  86761. targetMap = _0_0._1;
  86762. 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) {
  86763. complex = t1[_i];
  86764. compound = complex.get$singleCompound();
  86765. if (compound == null)
  86766. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, null));
  86767. t4 = compound.components;
  86768. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  86769. if (t5 == null)
  86770. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  86771. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate0$_mediaQueries);
  86772. }
  86773. $async$returnValue = null;
  86774. // goto return
  86775. $async$goto = 1;
  86776. break;
  86777. case 1:
  86778. // return
  86779. return A._asyncReturn($async$returnValue, $async$completer);
  86780. }
  86781. });
  86782. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  86783. },
  86784. visitAtRule$1(_, node) {
  86785. return this.visitAtRule$body$_EvaluateVisitor0(0, node);
  86786. },
  86787. visitAtRule$body$_EvaluateVisitor0(_, node) {
  86788. var $async$goto = 0,
  86789. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86790. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  86791. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86792. if ($async$errorCode === 1)
  86793. return A._asyncRethrow($async$result, $async$completer);
  86794. while (true)
  86795. switch ($async$goto) {
  86796. case 0:
  86797. // Function start
  86798. if ($async$self._async_evaluate0$_declarationName != null)
  86799. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  86800. $async$goto = 3;
  86801. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  86802. case 3:
  86803. // returning from await.
  86804. $name = $async$result;
  86805. t1 = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self));
  86806. $async$goto = 4;
  86807. return A._asyncAwait(type$.Future_nullable_CssValue_String_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String_2), $async$visitAtRule$1);
  86808. case 4:
  86809. // returning from await.
  86810. value = $async$result;
  86811. children = node.children;
  86812. if (children == null) {
  86813. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  86814. $async$returnValue = null;
  86815. // goto return
  86816. $async$goto = 1;
  86817. break;
  86818. }
  86819. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  86820. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  86821. if (A.unvendor0($name.value) === "keyframes")
  86822. $async$self._async_evaluate0$_inKeyframes = true;
  86823. else
  86824. $async$self._async_evaluate0$_inUnknownAtRule = true;
  86825. $async$goto = 5;
  86826. 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);
  86827. case 5:
  86828. // returning from await.
  86829. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  86830. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  86831. $async$returnValue = null;
  86832. // goto return
  86833. $async$goto = 1;
  86834. break;
  86835. case 1:
  86836. // return
  86837. return A._asyncReturn($async$returnValue, $async$completer);
  86838. }
  86839. });
  86840. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  86841. },
  86842. visitForRule$1(_, node) {
  86843. return this.visitForRule$body$_EvaluateVisitor0(0, node);
  86844. },
  86845. visitForRule$body$_EvaluateVisitor0(_, node) {
  86846. var $async$goto = 0,
  86847. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86848. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  86849. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86850. if ($async$errorCode === 1)
  86851. return A._asyncRethrow($async$result, $async$completer);
  86852. while (true)
  86853. switch ($async$goto) {
  86854. case 0:
  86855. // Function start
  86856. t1 = {};
  86857. t2 = node.from;
  86858. t3 = type$.SassNumber_2;
  86859. $async$goto = 3;
  86860. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
  86861. case 3:
  86862. // returning from await.
  86863. fromNumber = $async$result;
  86864. t4 = node.to;
  86865. $async$goto = 4;
  86866. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
  86867. case 4:
  86868. // returning from await.
  86869. toNumber = $async$result;
  86870. from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
  86871. to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
  86872. direction = from > to ? -1 : 1;
  86873. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  86874. $async$returnValue = null;
  86875. // goto return
  86876. $async$goto = 1;
  86877. break;
  86878. }
  86879. $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);
  86880. // goto return
  86881. $async$goto = 1;
  86882. break;
  86883. case 1:
  86884. // return
  86885. return A._asyncReturn($async$returnValue, $async$completer);
  86886. }
  86887. });
  86888. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  86889. },
  86890. visitForwardRule$1(_, node) {
  86891. return this.visitForwardRule$body$_EvaluateVisitor0(0, node);
  86892. },
  86893. visitForwardRule$body$_EvaluateVisitor0(_, node) {
  86894. var $async$goto = 0,
  86895. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86896. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  86897. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86898. if ($async$errorCode === 1)
  86899. return A._asyncRethrow($async$result, $async$completer);
  86900. while (true)
  86901. switch ($async$goto) {
  86902. case 0:
  86903. // Function start
  86904. oldConfiguration = $async$self._async_evaluate0$_configuration;
  86905. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  86906. t1 = node.configuration;
  86907. t2 = t1.length;
  86908. t3 = node.url;
  86909. $async$goto = t2 !== 0 ? 3 : 5;
  86910. break;
  86911. case 3:
  86912. // then
  86913. $async$goto = 6;
  86914. return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  86915. case 6:
  86916. // returning from await.
  86917. newConfiguration = $async$result;
  86918. $async$goto = 7;
  86919. 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);
  86920. case 7:
  86921. // returning from await.
  86922. t3 = type$.String;
  86923. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  86924. for (_i = 0; _i < t2; ++_i) {
  86925. variable = t1[_i];
  86926. if (!variable.isGuarded)
  86927. t4.add$1(0, variable.name);
  86928. }
  86929. $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  86930. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  86931. for (_i = 0; _i < t2; ++_i)
  86932. t3.add$1(0, t1[_i].name);
  86933. for (t1 = newConfiguration._configuration0$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  86934. $name = t2[_i];
  86935. if (!t3.contains$1(0, $name))
  86936. if (!t1.get$isEmpty(t1))
  86937. t1.remove$1(0, $name);
  86938. }
  86939. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  86940. // goto join
  86941. $async$goto = 4;
  86942. break;
  86943. case 5:
  86944. // else
  86945. $async$self._async_evaluate0$_configuration = adjustedConfiguration;
  86946. $async$goto = 8;
  86947. return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
  86948. case 8:
  86949. // returning from await.
  86950. $async$self._async_evaluate0$_configuration = oldConfiguration;
  86951. case 4:
  86952. // join
  86953. $async$returnValue = null;
  86954. // goto return
  86955. $async$goto = 1;
  86956. break;
  86957. case 1:
  86958. // return
  86959. return A._asyncReturn($async$returnValue, $async$completer);
  86960. }
  86961. });
  86962. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  86963. },
  86964. _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
  86965. return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
  86966. },
  86967. _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
  86968. var $async$goto = 0,
  86969. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
  86970. $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;
  86971. var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86972. if ($async$errorCode === 1)
  86973. return A._asyncRethrow($async$result, $async$completer);
  86974. while (true)
  86975. switch ($async$goto) {
  86976. case 0:
  86977. // Function start
  86978. t1 = configuration._configuration0$_values;
  86979. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  86980. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value_2, t5 = type$.Future_Value_2, _i = 0;
  86981. case 3:
  86982. // for condition
  86983. if (!(_i < t3)) {
  86984. // goto after for
  86985. $async$goto = 5;
  86986. break;
  86987. }
  86988. variable = t2[_i];
  86989. if (variable.isGuarded) {
  86990. t6 = variable.name;
  86991. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  86992. if (_0_0 != null) {
  86993. t7 = !_0_0.value.$eq(0, B.C__SassNull0);
  86994. oldValue = _0_0;
  86995. } else {
  86996. oldValue = null;
  86997. t7 = false;
  86998. }
  86999. if (t7) {
  87000. newValues.$indexSet(0, t6, oldValue);
  87001. // goto for update
  87002. $async$goto = 4;
  87003. break;
  87004. }
  87005. }
  87006. t6 = variable.expression;
  87007. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t6);
  87008. t6 = t6.accept$1($async$self);
  87009. if (!t5._is(t6)) {
  87010. t7 = new A._Future($.Zone__current, t4);
  87011. t7._state = 8;
  87012. t7._resultOrListeners = t6;
  87013. t6 = t7;
  87014. }
  87015. $async$temp1 = newValues;
  87016. $async$temp2 = variable.name;
  87017. $async$temp3 = A;
  87018. $async$goto = 6;
  87019. return A._asyncAwait(t6, $async$_async_evaluate0$_addForwardConfiguration$2);
  87020. case 6:
  87021. // returning from await.
  87022. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  87023. case 4:
  87024. // for update
  87025. ++_i;
  87026. // goto for condition
  87027. $async$goto = 3;
  87028. break;
  87029. case 5:
  87030. // after for
  87031. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
  87032. $async$returnValue = new A.ExplicitConfiguration0(node, newValues, null);
  87033. // goto return
  87034. $async$goto = 1;
  87035. break;
  87036. } else {
  87037. $async$returnValue = new A.Configuration0(newValues, null);
  87038. // goto return
  87039. $async$goto = 1;
  87040. break;
  87041. }
  87042. case 1:
  87043. // return
  87044. return A._asyncReturn($async$returnValue, $async$completer);
  87045. }
  87046. });
  87047. return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
  87048. },
  87049. _async_evaluate0$_registerCommentsForModule$1(module) {
  87050. var _this = this, _s5_ = "_root",
  87051. t1 = _this._async_evaluate0$__root;
  87052. if (t1 == null)
  87053. return;
  87054. if (_this._async_evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  87055. return;
  87056. t1 = _this._async_evaluate0$_preModuleComments;
  87057. if (t1 == null)
  87058. t1 = _this._async_evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.List_CssComment_2);
  87059. 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));
  87060. _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).clearChildren$0();
  87061. _this._async_evaluate0$__endOfImports = 0;
  87062. },
  87063. _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  87064. var t1, t2, t3, t4, _i, $name;
  87065. for (t1 = upstream._configuration0$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._configuration0$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  87066. $name = t2[_i];
  87067. if (except.contains$1(0, $name))
  87068. continue;
  87069. if (!t4.containsKey$1($name))
  87070. if (!t1.get$isEmpty(t1))
  87071. t1.remove$1(0, $name);
  87072. }
  87073. },
  87074. _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  87075. var t1, _0_0, $name, value;
  87076. if (!(configuration instanceof A.ExplicitConfiguration0))
  87077. return;
  87078. t1 = configuration._configuration0$_values;
  87079. if (t1.get$isEmpty(t1))
  87080. return;
  87081. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  87082. _0_0 = t1.get$first(t1);
  87083. $name = _0_0._0;
  87084. value = _0_0._1;
  87085. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  87086. throw A.wrapException(this._async_evaluate0$_exception$2(t1, value.configurationSpan));
  87087. },
  87088. _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  87089. return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  87090. },
  87091. visitFunctionRule$1(_, node) {
  87092. return this.visitFunctionRule$body$_EvaluateVisitor0(0, node);
  87093. },
  87094. visitFunctionRule$body$_EvaluateVisitor0(_, node) {
  87095. var $async$goto = 0,
  87096. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87097. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  87098. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87099. if ($async$errorCode === 1)
  87100. return A._asyncRethrow($async$result, $async$completer);
  87101. while (true)
  87102. switch ($async$goto) {
  87103. case 0:
  87104. // Function start
  87105. t1 = $async$self._async_evaluate0$_environment;
  87106. t2 = t1.closure$0();
  87107. t3 = $async$self._async_evaluate0$_inDependency;
  87108. t4 = t1._async_environment0$_functions;
  87109. index = t4.length - 1;
  87110. t5 = node.name;
  87111. t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
  87112. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  87113. $async$returnValue = null;
  87114. // goto return
  87115. $async$goto = 1;
  87116. break;
  87117. case 1:
  87118. // return
  87119. return A._asyncReturn($async$returnValue, $async$completer);
  87120. }
  87121. });
  87122. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  87123. },
  87124. visitIfRule$1(_, node) {
  87125. return this.visitIfRule$body$_EvaluateVisitor0(0, node);
  87126. },
  87127. visitIfRule$body$_EvaluateVisitor0(_, node) {
  87128. var $async$goto = 0,
  87129. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87130. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  87131. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87132. if ($async$errorCode === 1)
  87133. return A._asyncRethrow($async$result, $async$completer);
  87134. while (true)
  87135. switch ($async$goto) {
  87136. case 0:
  87137. // Function start
  87138. clause = node.lastClause;
  87139. t1 = node.clauses, t2 = t1.length, _i = 0;
  87140. case 3:
  87141. // for condition
  87142. if (!(_i < t2)) {
  87143. // goto after for
  87144. $async$goto = 5;
  87145. break;
  87146. }
  87147. clauseToCheck = t1[_i];
  87148. $async$goto = 6;
  87149. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  87150. case 6:
  87151. // returning from await.
  87152. if ($async$result.get$isTruthy()) {
  87153. clause = clauseToCheck;
  87154. // goto after for
  87155. $async$goto = 5;
  87156. break;
  87157. }
  87158. case 4:
  87159. // for update
  87160. ++_i;
  87161. // goto for condition
  87162. $async$goto = 3;
  87163. break;
  87164. case 5:
  87165. // after for
  87166. t1 = A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure2($async$self));
  87167. $async$goto = 7;
  87168. return A._asyncAwait(type$.Future_nullable_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value_2), $async$visitIfRule$1);
  87169. case 7:
  87170. // returning from await.
  87171. $async$returnValue = $async$result;
  87172. // goto return
  87173. $async$goto = 1;
  87174. break;
  87175. case 1:
  87176. // return
  87177. return A._asyncReturn($async$returnValue, $async$completer);
  87178. }
  87179. });
  87180. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  87181. },
  87182. visitImportRule$1(_, node) {
  87183. return this.visitImportRule$body$_EvaluateVisitor0(0, node);
  87184. },
  87185. visitImportRule$body$_EvaluateVisitor0(_, node) {
  87186. var $async$goto = 0,
  87187. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87188. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  87189. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87190. if ($async$errorCode === 1)
  87191. return A._asyncRethrow($async$result, $async$completer);
  87192. while (true)
  87193. switch ($async$goto) {
  87194. case 0:
  87195. // Function start
  87196. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
  87197. case 3:
  87198. // for condition
  87199. if (!(_i < t2)) {
  87200. // goto after for
  87201. $async$goto = 5;
  87202. break;
  87203. }
  87204. $import = t1[_i];
  87205. $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
  87206. break;
  87207. case 6:
  87208. // then
  87209. $async$goto = 9;
  87210. return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
  87211. case 9:
  87212. // returning from await.
  87213. // goto join
  87214. $async$goto = 7;
  87215. break;
  87216. case 8:
  87217. // else
  87218. $async$goto = 10;
  87219. return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  87220. case 10:
  87221. // returning from await.
  87222. case 7:
  87223. // join
  87224. case 4:
  87225. // for update
  87226. ++_i;
  87227. // goto for condition
  87228. $async$goto = 3;
  87229. break;
  87230. case 5:
  87231. // after for
  87232. $async$returnValue = null;
  87233. // goto return
  87234. $async$goto = 1;
  87235. break;
  87236. case 1:
  87237. // return
  87238. return A._asyncReturn($async$returnValue, $async$completer);
  87239. }
  87240. });
  87241. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  87242. },
  87243. _async_evaluate0$_visitDynamicImport$1($import) {
  87244. return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
  87245. },
  87246. _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  87247. return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
  87248. },
  87249. _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  87250. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  87251. },
  87252. _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  87253. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  87254. },
  87255. _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
  87256. var $async$goto = 0,
  87257. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2),
  87258. $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;
  87259. var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87260. if ($async$errorCode === 1) {
  87261. $async$errorStack.push($async$result);
  87262. $async$goto = $async$handler;
  87263. }
  87264. while (true)
  87265. switch ($async$goto) {
  87266. case 0:
  87267. // Function start
  87268. baseUrl = baseUrl;
  87269. $async$handler = 4;
  87270. $async$self._async_evaluate0$_importSpan = span;
  87271. _0_0 = $async$self._async_evaluate0$_importCache;
  87272. importCache = null;
  87273. $async$goto = _0_0 != null ? 7 : 8;
  87274. break;
  87275. case 7:
  87276. // then
  87277. importCache = _0_0;
  87278. if (baseUrl == null)
  87279. baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
  87280. $async$goto = 9;
  87281. 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);
  87282. case 9:
  87283. // returning from await.
  87284. _1_0 = $async$result;
  87285. importer = null;
  87286. canonicalUrl = null;
  87287. originalUrl = null;
  87288. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  87289. break;
  87290. case 10:
  87291. // then
  87292. importer = _1_0._0;
  87293. canonicalUrl = _1_0._1;
  87294. originalUrl = _1_0._2;
  87295. if (canonicalUrl.get$scheme() === "")
  87296. 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);
  87297. $async$self._async_evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  87298. isDependency = $async$self._async_evaluate0$_inDependency || !J.$eq$(importer, $async$self._async_evaluate0$_importer);
  87299. $async$goto = 12;
  87300. return A._asyncAwait(importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  87301. case 12:
  87302. // returning from await.
  87303. _2_0 = $async$result;
  87304. stylesheet = null;
  87305. if (_2_0 != null) {
  87306. stylesheet = _2_0;
  87307. t1 = stylesheet;
  87308. t2 = importer;
  87309. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  87310. $async$next = [1];
  87311. // goto finally
  87312. $async$goto = 5;
  87313. break;
  87314. }
  87315. case 11:
  87316. // join
  87317. case 8:
  87318. // join
  87319. $async$goto = $async$self._async_evaluate0$_nodeImporter != null ? 13 : 14;
  87320. break;
  87321. case 13:
  87322. // then
  87323. t1 = baseUrl;
  87324. $async$goto = 15;
  87325. 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);
  87326. case 15:
  87327. // returning from await.
  87328. _3_0 = $async$result;
  87329. result = null;
  87330. if (_3_0 != null) {
  87331. result = _3_0;
  87332. t1 = $async$self._async_evaluate0$_loadedUrls;
  87333. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  87334. t1 = result;
  87335. $async$returnValue = t1;
  87336. $async$next = [1];
  87337. // goto finally
  87338. $async$goto = 5;
  87339. break;
  87340. }
  87341. case 14:
  87342. // join
  87343. t1 = B.JSString_methods.startsWith$1(url, "package:");
  87344. if (t1)
  87345. throw A.wrapException(string$.x22packa);
  87346. else
  87347. throw A.wrapException("Can't find stylesheet to import.");
  87348. $async$next.push(6);
  87349. // goto finally
  87350. $async$goto = 5;
  87351. break;
  87352. case 4:
  87353. // catch
  87354. $async$handler = 3;
  87355. $async$exception = $async$errorStack.pop();
  87356. t1 = A.unwrapException($async$exception);
  87357. if (t1 instanceof A.SassException0)
  87358. throw $async$exception;
  87359. else if (t1 instanceof A.ArgumentError) {
  87360. error = t1;
  87361. stackTrace = A.getTraceFromException($async$exception);
  87362. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  87363. } else {
  87364. error0 = t1;
  87365. stackTrace0 = A.getTraceFromException($async$exception);
  87366. A.throwWithTrace0($async$self._async_evaluate0$_exception$1($async$self._async_evaluate0$_getErrorMessage$1(error0)), error0, stackTrace0);
  87367. }
  87368. $async$next.push(6);
  87369. // goto finally
  87370. $async$goto = 5;
  87371. break;
  87372. case 3:
  87373. // uncaught
  87374. $async$next = [2];
  87375. case 5:
  87376. // finally
  87377. $async$handler = 2;
  87378. $async$self._async_evaluate0$_importSpan = null;
  87379. // goto the next finally handler
  87380. $async$goto = $async$next.pop();
  87381. break;
  87382. case 6:
  87383. // after finally
  87384. case 1:
  87385. // return
  87386. return A._asyncReturn($async$returnValue, $async$completer);
  87387. case 2:
  87388. // rethrow
  87389. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  87390. }
  87391. });
  87392. return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  87393. },
  87394. _async_evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  87395. return this._importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport);
  87396. },
  87397. _importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport) {
  87398. var $async$goto = 0,
  87399. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  87400. $async$returnValue, $async$self = this, isDependency, url, t1, result;
  87401. var $async$_async_evaluate0$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87402. if ($async$errorCode === 1)
  87403. return A._asyncRethrow($async$result, $async$completer);
  87404. while (true)
  87405. switch ($async$goto) {
  87406. case 0:
  87407. // Function start
  87408. t1 = $async$self._async_evaluate0$_nodeImporter;
  87409. result = t1.loadRelative$3(originalUrl, previous, forImport);
  87410. $async$goto = result != null ? 3 : 5;
  87411. break;
  87412. case 3:
  87413. // then
  87414. isDependency = $async$self._async_evaluate0$_inDependency;
  87415. // goto join
  87416. $async$goto = 4;
  87417. break;
  87418. case 5:
  87419. // else
  87420. $async$goto = 6;
  87421. return A._asyncAwait(t1.loadAsync$3(originalUrl, previous, forImport), $async$_async_evaluate0$_importLikeNode$3);
  87422. case 6:
  87423. // returning from await.
  87424. result = $async$result;
  87425. if (result == null) {
  87426. $async$returnValue = null;
  87427. // goto return
  87428. $async$goto = 1;
  87429. break;
  87430. }
  87431. isDependency = true;
  87432. case 4:
  87433. // join
  87434. url = result._1;
  87435. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  87436. $async$returnValue = new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, url), null, isDependency);
  87437. // goto return
  87438. $async$goto = 1;
  87439. break;
  87440. case 1:
  87441. // return
  87442. return A._asyncReturn($async$returnValue, $async$completer);
  87443. }
  87444. });
  87445. return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$3, $async$completer);
  87446. },
  87447. _async_evaluate0$_visitStaticImport$1($import) {
  87448. return this._visitStaticImport$body$_EvaluateVisitor0($import);
  87449. },
  87450. _visitStaticImport$body$_EvaluateVisitor0($import) {
  87451. var $async$goto = 0,
  87452. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87453. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  87454. var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87455. if ($async$errorCode === 1)
  87456. return A._asyncRethrow($async$result, $async$completer);
  87457. while (true)
  87458. switch ($async$goto) {
  87459. case 0:
  87460. // Function start
  87461. $async$goto = 2;
  87462. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
  87463. case 2:
  87464. // returning from await.
  87465. t1 = $async$result;
  87466. t2 = A.NullableExtension_andThen0($import.modifiers, $async$self.get$_async_evaluate0$_interpolationToValue());
  87467. $async$temp1 = A;
  87468. $async$temp2 = t1;
  87469. $async$goto = 3;
  87470. 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);
  87471. case 3:
  87472. // returning from await.
  87473. node = new $async$temp1.ModifiableCssImport0($async$temp2, $async$result, $import.span);
  87474. 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"))
  87475. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
  87476. 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)) {
  87477. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
  87478. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  87479. } else {
  87480. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  87481. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
  87482. }
  87483. // implicit return
  87484. return A._asyncReturn(null, $async$completer);
  87485. }
  87486. });
  87487. return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
  87488. },
  87489. _async_evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  87490. return this._applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  87491. },
  87492. _applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  87493. var $async$goto = 0,
  87494. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87495. $async$self = this, t1, _0_0, t2, _1_8;
  87496. var $async$_async_evaluate0$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87497. if ($async$errorCode === 1)
  87498. return A._asyncRethrow($async$result, $async$completer);
  87499. while (true)
  87500. switch ($async$goto) {
  87501. case 0:
  87502. // Function start
  87503. if (mixin == null)
  87504. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  87505. t1 = type$.AsyncBuiltInCallable_2._is(mixin);
  87506. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  87507. break;
  87508. case 3:
  87509. // then
  87510. $async$goto = 5;
  87511. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_applyMixin$5);
  87512. case 5:
  87513. // returning from await.
  87514. t1 = $async$result._values;
  87515. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  87516. 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));
  87517. case 4:
  87518. // join
  87519. $async$goto = t1 ? 6 : 7;
  87520. break;
  87521. case 6:
  87522. // then
  87523. $async$goto = 8;
  87524. 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);
  87525. case 8:
  87526. // returning from await.
  87527. // goto break $label0$0
  87528. $async$goto = 2;
  87529. break;
  87530. case 7:
  87531. // join
  87532. t1 = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin);
  87533. t2 = false;
  87534. if (t1) {
  87535. _1_8 = mixin.declaration;
  87536. if (_1_8 instanceof A.MixinRule0)
  87537. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  87538. }
  87539. if (t2)
  87540. 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));
  87541. $async$goto = t1 ? 9 : 10;
  87542. break;
  87543. case 9:
  87544. // then
  87545. $async$goto = 11;
  87546. 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);
  87547. case 11:
  87548. // returning from await.
  87549. // goto break $label0$0
  87550. $async$goto = 2;
  87551. break;
  87552. case 10:
  87553. // join
  87554. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  87555. case 2:
  87556. // break $label0$0
  87557. // implicit return
  87558. return A._asyncReturn(null, $async$completer);
  87559. }
  87560. });
  87561. return A._asyncStartSync($async$_async_evaluate0$_applyMixin$5, $async$completer);
  87562. },
  87563. visitIncludeRule$1(_, node) {
  87564. return this.visitIncludeRule$body$_EvaluateVisitor0(0, node);
  87565. },
  87566. visitIncludeRule$body$_EvaluateVisitor0(_, node) {
  87567. var $async$goto = 0,
  87568. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87569. $async$returnValue, $async$self = this, mixin;
  87570. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87571. if ($async$errorCode === 1)
  87572. return A._asyncRethrow($async$result, $async$completer);
  87573. while (true)
  87574. switch ($async$goto) {
  87575. case 0:
  87576. // Function start
  87577. mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure8($async$self, node));
  87578. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  87579. $async$self._async_evaluate0$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_d4j);
  87580. $async$goto = 3;
  87581. 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);
  87582. case 3:
  87583. // returning from await.
  87584. $async$returnValue = null;
  87585. // goto return
  87586. $async$goto = 1;
  87587. break;
  87588. case 1:
  87589. // return
  87590. return A._asyncReturn($async$returnValue, $async$completer);
  87591. }
  87592. });
  87593. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  87594. },
  87595. visitMixinRule$1(_, node) {
  87596. return this.visitMixinRule$body$_EvaluateVisitor0(0, node);
  87597. },
  87598. visitMixinRule$body$_EvaluateVisitor0(_, node) {
  87599. var $async$goto = 0,
  87600. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87601. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  87602. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87603. if ($async$errorCode === 1)
  87604. return A._asyncRethrow($async$result, $async$completer);
  87605. while (true)
  87606. switch ($async$goto) {
  87607. case 0:
  87608. // Function start
  87609. t1 = $async$self._async_evaluate0$_environment;
  87610. t2 = t1.closure$0();
  87611. t3 = $async$self._async_evaluate0$_inDependency;
  87612. t4 = t1._async_environment0$_mixins;
  87613. index = t4.length - 1;
  87614. t5 = node.name;
  87615. t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
  87616. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  87617. $async$returnValue = null;
  87618. // goto return
  87619. $async$goto = 1;
  87620. break;
  87621. case 1:
  87622. // return
  87623. return A._asyncReturn($async$returnValue, $async$completer);
  87624. }
  87625. });
  87626. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  87627. },
  87628. visitLoudComment$1(_, node) {
  87629. return this.visitLoudComment$body$_EvaluateVisitor0(0, node);
  87630. },
  87631. visitLoudComment$body$_EvaluateVisitor0(_, node) {
  87632. var $async$goto = 0,
  87633. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87634. $async$returnValue, $async$self = this, t1, text;
  87635. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87636. if ($async$errorCode === 1)
  87637. return A._asyncRethrow($async$result, $async$completer);
  87638. while (true)
  87639. switch ($async$goto) {
  87640. case 0:
  87641. // Function start
  87642. if ($async$self._async_evaluate0$_inFunction) {
  87643. $async$returnValue = null;
  87644. // goto return
  87645. $async$goto = 1;
  87646. break;
  87647. }
  87648. 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))
  87649. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  87650. t1 = node.text;
  87651. $async$goto = 3;
  87652. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
  87653. case 3:
  87654. // returning from await.
  87655. text = $async$result;
  87656. if (!B.JSString_methods.endsWith$1(text, "*/"))
  87657. text += " */";
  87658. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(text, t1.span));
  87659. $async$returnValue = null;
  87660. // goto return
  87661. $async$goto = 1;
  87662. break;
  87663. case 1:
  87664. // return
  87665. return A._asyncReturn($async$returnValue, $async$completer);
  87666. }
  87667. });
  87668. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  87669. },
  87670. visitMediaRule$1(_, node) {
  87671. return this.visitMediaRule$body$_EvaluateVisitor0(0, node);
  87672. },
  87673. visitMediaRule$body$_EvaluateVisitor0(_, node) {
  87674. var $async$goto = 0,
  87675. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87676. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  87677. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87678. if ($async$errorCode === 1)
  87679. return A._asyncRethrow($async$result, $async$completer);
  87680. while (true)
  87681. switch ($async$goto) {
  87682. case 0:
  87683. // Function start
  87684. if ($async$self._async_evaluate0$_declarationName != null)
  87685. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  87686. $async$goto = 3;
  87687. return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  87688. case 3:
  87689. // returning from await.
  87690. queries = $async$result;
  87691. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
  87692. t1 = mergedQueries == null;
  87693. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  87694. $async$returnValue = null;
  87695. // goto return
  87696. $async$goto = 1;
  87697. break;
  87698. }
  87699. if (t1)
  87700. mergedSources = B.Set_empty5;
  87701. else {
  87702. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  87703. t2.toString;
  87704. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  87705. t3 = $async$self._async_evaluate0$_mediaQueries;
  87706. t3.toString;
  87707. t2.addAll$1(0, t3);
  87708. t2.addAll$1(0, queries);
  87709. mergedSources = t2;
  87710. }
  87711. t1 = t1 ? queries : mergedQueries;
  87712. $async$goto = 4;
  87713. 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);
  87714. case 4:
  87715. // returning from await.
  87716. $async$returnValue = null;
  87717. // goto return
  87718. $async$goto = 1;
  87719. break;
  87720. case 1:
  87721. // return
  87722. return A._asyncReturn($async$returnValue, $async$completer);
  87723. }
  87724. });
  87725. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  87726. },
  87727. _async_evaluate0$_visitMediaQueries$1(interpolation) {
  87728. return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
  87729. },
  87730. _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
  87731. var $async$goto = 0,
  87732. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
  87733. $async$returnValue, $async$self = this, _0_0, resolved, map;
  87734. var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87735. if ($async$errorCode === 1)
  87736. return A._asyncRethrow($async$result, $async$completer);
  87737. while (true)
  87738. switch ($async$goto) {
  87739. case 0:
  87740. // Function start
  87741. $async$goto = 3;
  87742. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
  87743. case 3:
  87744. // returning from await.
  87745. _0_0 = $async$result;
  87746. resolved = _0_0._0;
  87747. map = _0_0._1;
  87748. $async$returnValue = new A.MediaQueryParser0(A.SpanScanner$(resolved, null), map).parse$0(0);
  87749. // goto return
  87750. $async$goto = 1;
  87751. break;
  87752. case 1:
  87753. // return
  87754. return A._asyncReturn($async$returnValue, $async$completer);
  87755. }
  87756. });
  87757. return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
  87758. },
  87759. _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  87760. var t1, t2, t3, t4, _0_0, t5, result,
  87761. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  87762. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  87763. t3 = t1.get$current(t1);
  87764. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  87765. _0_0 = t3.merge$1(t4.get$current(t4));
  87766. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  87767. continue;
  87768. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  87769. return null;
  87770. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult0;
  87771. result = t5 ? _0_0 : null;
  87772. if (t5)
  87773. queries.push(result.query);
  87774. }
  87775. }
  87776. return queries;
  87777. },
  87778. visitReturnRule$1(_, node) {
  87779. return this.visitReturnRule$body$_EvaluateVisitor0(0, node);
  87780. },
  87781. visitReturnRule$body$_EvaluateVisitor0(_, node) {
  87782. var $async$goto = 0,
  87783. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  87784. $async$returnValue, $async$self = this, t1, t2;
  87785. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87786. if ($async$errorCode === 1)
  87787. return A._asyncRethrow($async$result, $async$completer);
  87788. while (true)
  87789. switch ($async$goto) {
  87790. case 0:
  87791. // Function start
  87792. t1 = node.expression;
  87793. t2 = t1.accept$1($async$self);
  87794. $async$goto = 3;
  87795. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitReturnRule$1);
  87796. case 3:
  87797. // returning from await.
  87798. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
  87799. // goto return
  87800. $async$goto = 1;
  87801. break;
  87802. case 1:
  87803. // return
  87804. return A._asyncReturn($async$returnValue, $async$completer);
  87805. }
  87806. });
  87807. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  87808. },
  87809. visitSilentComment$1(_, node) {
  87810. return this.visitSilentComment$body$_EvaluateVisitor0(0, node);
  87811. },
  87812. visitSilentComment$body$_EvaluateVisitor0(_, node) {
  87813. var $async$goto = 0,
  87814. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87815. $async$returnValue;
  87816. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87817. if ($async$errorCode === 1)
  87818. return A._asyncRethrow($async$result, $async$completer);
  87819. while (true)
  87820. switch ($async$goto) {
  87821. case 0:
  87822. // Function start
  87823. $async$returnValue = null;
  87824. // goto return
  87825. $async$goto = 1;
  87826. break;
  87827. case 1:
  87828. // return
  87829. return A._asyncReturn($async$returnValue, $async$completer);
  87830. }
  87831. });
  87832. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  87833. },
  87834. visitStyleRule$1(_, node) {
  87835. return this.visitStyleRule$body$_EvaluateVisitor0(0, node);
  87836. },
  87837. visitStyleRule$body$_EvaluateVisitor0(_, node) {
  87838. var $async$goto = 0,
  87839. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87840. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, parsedSelector, nest, t2, _i, _1_0, first, t3, rule, oldAtRootExcludingStyleRule;
  87841. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87842. if ($async$errorCode === 1)
  87843. return A._asyncRethrow($async$result, $async$completer);
  87844. while (true)
  87845. switch ($async$goto) {
  87846. case 0:
  87847. // Function start
  87848. if ($async$self._async_evaluate0$_declarationName != null)
  87849. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_n, node.span));
  87850. else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
  87851. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_k, node.span));
  87852. t1 = node.selector;
  87853. $async$goto = 3;
  87854. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  87855. case 3:
  87856. // returning from await.
  87857. _0_0 = $async$result;
  87858. selectorText = _0_0._0;
  87859. selectorMap = _0_0._1;
  87860. $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
  87861. break;
  87862. case 4:
  87863. // then
  87864. $async$goto = 6;
  87865. 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);
  87866. case 6:
  87867. // returning from await.
  87868. $async$returnValue = null;
  87869. // goto return
  87870. $async$goto = 1;
  87871. break;
  87872. case 5:
  87873. // join
  87874. parsedSelector = A.SelectorList_SelectorList$parse0(selectorText, true, selectorMap, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss);
  87875. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  87876. t1 = t1 == null ? null : t1.fromPlainCss;
  87877. nest = t1 !== true;
  87878. if (nest) {
  87879. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss)
  87880. for (t1 = parsedSelector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  87881. _1_0 = t1[_i].leadingCombinators;
  87882. if (_1_0.length >= 1) {
  87883. first = _1_0[0];
  87884. t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss;
  87885. } else {
  87886. first = null;
  87887. t3 = false;
  87888. }
  87889. if (t3)
  87890. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Top_lel, first.span));
  87891. }
  87892. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  87893. t1 = t1 == null ? null : t1.originalSelector;
  87894. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t1, !$async$self._async_evaluate0$_atRootExcludingStyleRule, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss);
  87895. }
  87896. 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);
  87897. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  87898. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  87899. t2 = nest ? new A._EvaluateVisitor_visitStyleRule_closure13() : null;
  87900. $async$goto = 7;
  87901. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure14($async$self, rule, node), node.hasDeclarations, t2, type$.ModifiableCssStyleRule_2, type$.Null), $async$visitStyleRule$1);
  87902. case 7:
  87903. // returning from await.
  87904. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  87905. $async$self._async_evaluate0$_warnForBogusCombinators$1(rule);
  87906. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
  87907. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  87908. t1 = !t1.get$isEmpty(t1);
  87909. }
  87910. if (t1) {
  87911. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  87912. t1.get$last(t1).isGroupEnd = true;
  87913. }
  87914. $async$returnValue = null;
  87915. // goto return
  87916. $async$goto = 1;
  87917. break;
  87918. case 1:
  87919. // return
  87920. return A._asyncReturn($async$returnValue, $async$completer);
  87921. }
  87922. });
  87923. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  87924. },
  87925. _async_evaluate0$_warnForBogusCombinators$1(rule) {
  87926. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  87927. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  87928. 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) {
  87929. complex = t1[_i];
  87930. if (!complex.accept$1(B._IsBogusVisitor_true0))
  87931. continue;
  87932. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  87933. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  87934. complex.accept$1(visitor);
  87935. _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);
  87936. } else if (complex.leadingCombinators.length !== 0) {
  87937. if (!_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  87938. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  87939. complex.accept$1(visitor);
  87940. _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);
  87941. }
  87942. } else {
  87943. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  87944. complex.accept$1(visitor);
  87945. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  87946. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  87947. t8 = A.SpanExtensions_trimRight0(complex.span);
  87948. if (t5.get$length(0) === 0)
  87949. A.throwExpression(A.IterableElementError_noElement());
  87950. t9 = J.get$span$z(t5.$index(0, 0));
  87951. _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);
  87952. }
  87953. }
  87954. },
  87955. visitSupportsRule$1(_, node) {
  87956. return this.visitSupportsRule$body$_EvaluateVisitor0(0, node);
  87957. },
  87958. visitSupportsRule$body$_EvaluateVisitor0(_, node) {
  87959. var $async$goto = 0,
  87960. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87961. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  87962. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87963. if ($async$errorCode === 1)
  87964. return A._asyncRethrow($async$result, $async$completer);
  87965. while (true)
  87966. switch ($async$goto) {
  87967. case 0:
  87968. // Function start
  87969. if ($async$self._async_evaluate0$_declarationName != null)
  87970. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  87971. t1 = node.condition;
  87972. $async$temp1 = A;
  87973. $async$temp2 = A;
  87974. $async$goto = 4;
  87975. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  87976. case 4:
  87977. // returning from await.
  87978. $async$goto = 3;
  87979. 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);
  87980. case 3:
  87981. // returning from await.
  87982. $async$returnValue = null;
  87983. // goto return
  87984. $async$goto = 1;
  87985. break;
  87986. case 1:
  87987. // return
  87988. return A._asyncReturn($async$returnValue, $async$completer);
  87989. }
  87990. });
  87991. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  87992. },
  87993. _async_evaluate0$_visitSupportsCondition$1(condition) {
  87994. return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
  87995. },
  87996. _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
  87997. var $async$goto = 0,
  87998. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  87999. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  88000. var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88001. if ($async$errorCode === 1)
  88002. return A._asyncRethrow($async$result, $async$completer);
  88003. while (true)
  88004. switch ($async$goto) {
  88005. case 0:
  88006. // Function start
  88007. $async$goto = condition instanceof A.SupportsOperation0 ? 4 : 5;
  88008. break;
  88009. case 4:
  88010. // then
  88011. t1 = condition.operator;
  88012. $async$temp1 = A;
  88013. $async$goto = 6;
  88014. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  88015. case 6:
  88016. // returning from await.
  88017. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  88018. $async$temp2 = A;
  88019. $async$goto = 7;
  88020. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  88021. case 7:
  88022. // returning from await.
  88023. t1 = $async$temp1 + $async$temp2.S($async$result);
  88024. // goto break $label0$0
  88025. $async$goto = 3;
  88026. break;
  88027. case 5:
  88028. // join
  88029. $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 9;
  88030. break;
  88031. case 8:
  88032. // then
  88033. $async$temp1 = A;
  88034. $async$goto = 10;
  88035. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
  88036. case 10:
  88037. // returning from await.
  88038. t1 = "not " + $async$temp1.S($async$result);
  88039. // goto break $label0$0
  88040. $async$goto = 3;
  88041. break;
  88042. case 9:
  88043. // join
  88044. $async$goto = condition instanceof A.SupportsInterpolation0 ? 11 : 12;
  88045. break;
  88046. case 11:
  88047. // then
  88048. $async$goto = 13;
  88049. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
  88050. case 13:
  88051. // returning from await.
  88052. t1 = $async$result;
  88053. // goto break $label0$0
  88054. $async$goto = 3;
  88055. break;
  88056. case 12:
  88057. // join
  88058. t1 = {};
  88059. t1.declaration = null;
  88060. $async$goto = condition instanceof A.SupportsDeclaration0 ? 14 : 15;
  88061. break;
  88062. case 14:
  88063. // then
  88064. t1.declaration = condition;
  88065. $async$goto = 16;
  88066. 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);
  88067. case 16:
  88068. // returning from await.
  88069. t1 = $async$result;
  88070. // goto break $label0$0
  88071. $async$goto = 3;
  88072. break;
  88073. case 15:
  88074. // join
  88075. $async$goto = condition instanceof A.SupportsFunction0 ? 17 : 18;
  88076. break;
  88077. case 17:
  88078. // then
  88079. $async$temp1 = A;
  88080. $async$goto = 19;
  88081. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  88082. case 19:
  88083. // returning from await.
  88084. $async$temp1 = $async$temp1.S($async$result) + "(";
  88085. $async$temp2 = A;
  88086. $async$goto = 20;
  88087. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
  88088. case 20:
  88089. // returning from await.
  88090. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  88091. // goto break $label0$0
  88092. $async$goto = 3;
  88093. break;
  88094. case 18:
  88095. // join
  88096. $async$goto = condition instanceof A.SupportsAnything0 ? 21 : 22;
  88097. break;
  88098. case 21:
  88099. // then
  88100. $async$temp1 = A;
  88101. $async$goto = 23;
  88102. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
  88103. case 23:
  88104. // returning from await.
  88105. t1 = "(" + $async$temp1.S($async$result) + ")";
  88106. // goto break $label0$0
  88107. $async$goto = 3;
  88108. break;
  88109. case 22:
  88110. // join
  88111. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  88112. case 3:
  88113. // break $label0$0
  88114. $async$returnValue = t1;
  88115. // goto return
  88116. $async$goto = 1;
  88117. break;
  88118. case 1:
  88119. // return
  88120. return A._asyncReturn($async$returnValue, $async$completer);
  88121. }
  88122. });
  88123. return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
  88124. },
  88125. _async_evaluate0$_withSupportsDeclaration$1$1(callback, $T) {
  88126. return this._withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $T);
  88127. },
  88128. _withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $async$type) {
  88129. var $async$goto = 0,
  88130. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  88131. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  88132. var $async$_async_evaluate0$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88133. if ($async$errorCode === 1) {
  88134. $async$errorStack.push($async$result);
  88135. $async$goto = $async$handler;
  88136. }
  88137. while (true)
  88138. switch ($async$goto) {
  88139. case 0:
  88140. // Function start
  88141. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  88142. $async$self._async_evaluate0$_inSupportsDeclaration = true;
  88143. $async$handler = 3;
  88144. t1 = callback.call$0();
  88145. $async$goto = 6;
  88146. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_withSupportsDeclaration$1$1);
  88147. case 6:
  88148. // returning from await.
  88149. t1 = $async$result;
  88150. $async$returnValue = t1;
  88151. $async$next = [1];
  88152. // goto finally
  88153. $async$goto = 4;
  88154. break;
  88155. $async$next.push(5);
  88156. // goto finally
  88157. $async$goto = 4;
  88158. break;
  88159. case 3:
  88160. // uncaught
  88161. $async$next = [2];
  88162. case 4:
  88163. // finally
  88164. $async$handler = 2;
  88165. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  88166. // goto the next finally handler
  88167. $async$goto = $async$next.pop();
  88168. break;
  88169. case 5:
  88170. // after finally
  88171. case 1:
  88172. // return
  88173. return A._asyncReturn($async$returnValue, $async$completer);
  88174. case 2:
  88175. // rethrow
  88176. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  88177. }
  88178. });
  88179. return A._asyncStartSync($async$_async_evaluate0$_withSupportsDeclaration$1$1, $async$completer);
  88180. },
  88181. _async_evaluate0$_parenthesize$2(condition, operator) {
  88182. return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
  88183. },
  88184. _async_evaluate0$_parenthesize$1(condition) {
  88185. return this._async_evaluate0$_parenthesize$2(condition, null);
  88186. },
  88187. _parenthesize$body$_EvaluateVisitor0(condition, operator) {
  88188. var $async$goto = 0,
  88189. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  88190. $async$returnValue, $async$self = this, t1, $async$temp1;
  88191. var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88192. if ($async$errorCode === 1)
  88193. return A._asyncRethrow($async$result, $async$completer);
  88194. while (true)
  88195. switch ($async$goto) {
  88196. case 0:
  88197. // Function start
  88198. if (!(condition instanceof A.SupportsNegation0))
  88199. if (condition instanceof A.SupportsOperation0)
  88200. t1 = operator == null || operator !== condition.operator;
  88201. else
  88202. t1 = false;
  88203. else
  88204. t1 = true;
  88205. $async$goto = t1 ? 3 : 4;
  88206. break;
  88207. case 3:
  88208. // then
  88209. $async$temp1 = A;
  88210. $async$goto = 5;
  88211. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  88212. case 5:
  88213. // returning from await.
  88214. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  88215. // goto return
  88216. $async$goto = 1;
  88217. break;
  88218. case 4:
  88219. // join
  88220. $async$goto = 6;
  88221. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  88222. case 6:
  88223. // returning from await.
  88224. $async$returnValue = $async$result;
  88225. // goto return
  88226. $async$goto = 1;
  88227. break;
  88228. case 1:
  88229. // return
  88230. return A._asyncReturn($async$returnValue, $async$completer);
  88231. }
  88232. });
  88233. return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
  88234. },
  88235. visitVariableDeclaration$1(_, node) {
  88236. return this.visitVariableDeclaration$body$_EvaluateVisitor0(0, node);
  88237. },
  88238. visitVariableDeclaration$body$_EvaluateVisitor0(_, node) {
  88239. var $async$goto = 0,
  88240. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88241. $async$returnValue, $async$self = this, t1, _0_0, t2, value, $async$temp1, $async$temp2, $async$temp3;
  88242. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88243. if ($async$errorCode === 1)
  88244. return A._asyncRethrow($async$result, $async$completer);
  88245. while (true)
  88246. switch ($async$goto) {
  88247. case 0:
  88248. // Function start
  88249. if (node.isGuarded) {
  88250. if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
  88251. t1 = $async$self._async_evaluate0$_configuration._configuration0$_values;
  88252. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
  88253. t1 = {};
  88254. t1.override = null;
  88255. if (_0_0 != null) {
  88256. t1.override = _0_0;
  88257. t2 = !_0_0.value.$eq(0, B.C__SassNull0);
  88258. } else
  88259. t2 = false;
  88260. if (t2) {
  88261. $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8(t1, $async$self, node));
  88262. $async$returnValue = null;
  88263. // goto return
  88264. $async$goto = 1;
  88265. break;
  88266. }
  88267. }
  88268. value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
  88269. if (value != null && !value.$eq(0, B.C__SassNull0)) {
  88270. $async$returnValue = null;
  88271. // goto return
  88272. $async$goto = 1;
  88273. break;
  88274. }
  88275. }
  88276. if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
  88277. 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.";
  88278. $async$self._async_evaluate0$_warn$3(t1, node.span, B.Deprecation_mSy);
  88279. }
  88280. t1 = node.expression;
  88281. t2 = t1.accept$1($async$self);
  88282. $async$temp1 = node;
  88283. $async$temp2 = A;
  88284. $async$temp3 = node;
  88285. $async$goto = 3;
  88286. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitVariableDeclaration$1);
  88287. case 3:
  88288. // returning from await.
  88289. $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)));
  88290. $async$returnValue = null;
  88291. // goto return
  88292. $async$goto = 1;
  88293. break;
  88294. case 1:
  88295. // return
  88296. return A._asyncReturn($async$returnValue, $async$completer);
  88297. }
  88298. });
  88299. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  88300. },
  88301. visitUseRule$1(_, node) {
  88302. return this.visitUseRule$body$_EvaluateVisitor0(0, node);
  88303. },
  88304. visitUseRule$body$_EvaluateVisitor0(_, node) {
  88305. var $async$goto = 0,
  88306. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88307. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  88308. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88309. if ($async$errorCode === 1)
  88310. return A._asyncRethrow($async$result, $async$completer);
  88311. while (true)
  88312. switch ($async$goto) {
  88313. case 0:
  88314. // Function start
  88315. t1 = node.configuration;
  88316. t2 = t1.length;
  88317. $async$goto = t2 !== 0 ? 3 : 5;
  88318. break;
  88319. case 3:
  88320. // then
  88321. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  88322. t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  88323. case 6:
  88324. // for condition
  88325. if (!(_i < t2)) {
  88326. // goto after for
  88327. $async$goto = 8;
  88328. break;
  88329. }
  88330. variable = t1[_i];
  88331. t5 = variable.expression;
  88332. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
  88333. t5 = t5.accept$1($async$self);
  88334. if (!t4._is(t5)) {
  88335. t6 = new A._Future($.Zone__current, t3);
  88336. t6._state = 8;
  88337. t6._resultOrListeners = t5;
  88338. t5 = t6;
  88339. }
  88340. $async$temp1 = values;
  88341. $async$temp2 = variable.name;
  88342. $async$temp3 = A;
  88343. $async$goto = 9;
  88344. return A._asyncAwait(t5, $async$visitUseRule$1);
  88345. case 9:
  88346. // returning from await.
  88347. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  88348. case 7:
  88349. // for update
  88350. ++_i;
  88351. // goto for condition
  88352. $async$goto = 6;
  88353. break;
  88354. case 8:
  88355. // after for
  88356. configuration = new A.ExplicitConfiguration0(node, values, null);
  88357. // goto join
  88358. $async$goto = 4;
  88359. break;
  88360. case 5:
  88361. // else
  88362. configuration = B.Configuration_Map_empty_null0;
  88363. case 4:
  88364. // join
  88365. $async$goto = 10;
  88366. 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);
  88367. case 10:
  88368. // returning from await.
  88369. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
  88370. $async$returnValue = null;
  88371. // goto return
  88372. $async$goto = 1;
  88373. break;
  88374. case 1:
  88375. // return
  88376. return A._asyncReturn($async$returnValue, $async$completer);
  88377. }
  88378. });
  88379. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  88380. },
  88381. visitWarnRule$1(_, node) {
  88382. return this.visitWarnRule$body$_EvaluateVisitor0(0, node);
  88383. },
  88384. visitWarnRule$body$_EvaluateVisitor0(_, node) {
  88385. var $async$goto = 0,
  88386. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88387. $async$returnValue, $async$self = this, value, t1, t2;
  88388. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88389. if ($async$errorCode === 1)
  88390. return A._asyncRethrow($async$result, $async$completer);
  88391. while (true)
  88392. switch ($async$goto) {
  88393. case 0:
  88394. // Function start
  88395. $async$goto = 3;
  88396. 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);
  88397. case 3:
  88398. // returning from await.
  88399. value = $async$result;
  88400. t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
  88401. t2 = $async$self._async_evaluate0$_stackTrace$1(node.span);
  88402. $async$self._async_evaluate0$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  88403. $async$returnValue = null;
  88404. // goto return
  88405. $async$goto = 1;
  88406. break;
  88407. case 1:
  88408. // return
  88409. return A._asyncReturn($async$returnValue, $async$completer);
  88410. }
  88411. });
  88412. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  88413. },
  88414. visitWhileRule$1(_, node) {
  88415. return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  88416. },
  88417. visitBinaryOperationExpression$1(_, node) {
  88418. var t1, _this = this;
  88419. if (_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  88420. t1 = node.operator;
  88421. t1 = t1 !== B.BinaryOperator_Kyq0 && t1 !== B.BinaryOperator_Mh50;
  88422. } else
  88423. t1 = false;
  88424. if (t1)
  88425. throw A.wrapException(_this._async_evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  88426. return _this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(_this, node), type$.Value_2);
  88427. },
  88428. _async_evaluate0$_slash$3(left, right, node) {
  88429. var t2, _1_1,
  88430. result = left.dividedBy$1(right),
  88431. _1_2_isSet = left instanceof A.SassNumber0,
  88432. _1_2 = null, right0 = null,
  88433. t1 = false;
  88434. if (_1_2_isSet) {
  88435. t2 = type$.SassNumber_2;
  88436. t2._as(left);
  88437. if (right instanceof A.SassNumber0) {
  88438. t2._as(right);
  88439. t1 = node.allowsSlash && this._async_evaluate0$_operandAllowsSlash$1(node.left) && this._async_evaluate0$_operandAllowsSlash$1(node.right);
  88440. right0 = right;
  88441. _1_2 = right0;
  88442. } else
  88443. _1_2 = right;
  88444. _1_1 = left;
  88445. } else {
  88446. _1_1 = left;
  88447. left = null;
  88448. }
  88449. if (t1)
  88450. return type$.SassNumber_2._as(result).withSlash$2(left, right0);
  88451. if (_1_1 instanceof A.SassNumber0)
  88452. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  88453. else
  88454. t1 = false;
  88455. if (t1) {
  88456. 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);
  88457. return result;
  88458. }
  88459. return result;
  88460. },
  88461. _async_evaluate0$_operandAllowsSlash$1(node) {
  88462. var t1;
  88463. if (node instanceof A.FunctionExpression0)
  88464. if (node.namespace == null) {
  88465. t1 = node.name;
  88466. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._async_evaluate0$_environment.getFunction$1(t1) == null;
  88467. } else
  88468. t1 = false;
  88469. else
  88470. t1 = true;
  88471. return t1;
  88472. },
  88473. visitValueExpression$1(_, node) {
  88474. return this.visitValueExpression$body$_EvaluateVisitor0(0, node);
  88475. },
  88476. visitValueExpression$body$_EvaluateVisitor0(_, node) {
  88477. var $async$goto = 0,
  88478. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88479. $async$returnValue;
  88480. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88481. if ($async$errorCode === 1)
  88482. return A._asyncRethrow($async$result, $async$completer);
  88483. while (true)
  88484. switch ($async$goto) {
  88485. case 0:
  88486. // Function start
  88487. $async$returnValue = node.value;
  88488. // goto return
  88489. $async$goto = 1;
  88490. break;
  88491. case 1:
  88492. // return
  88493. return A._asyncReturn($async$returnValue, $async$completer);
  88494. }
  88495. });
  88496. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  88497. },
  88498. visitVariableExpression$1(_, node) {
  88499. return this.visitVariableExpression$body$_EvaluateVisitor0(0, node);
  88500. },
  88501. visitVariableExpression$body$_EvaluateVisitor0(_, node) {
  88502. var $async$goto = 0,
  88503. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88504. $async$returnValue, $async$self = this, result;
  88505. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88506. if ($async$errorCode === 1)
  88507. return A._asyncRethrow($async$result, $async$completer);
  88508. while (true)
  88509. switch ($async$goto) {
  88510. case 0:
  88511. // Function start
  88512. result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
  88513. if (result != null) {
  88514. $async$returnValue = result;
  88515. // goto return
  88516. $async$goto = 1;
  88517. break;
  88518. }
  88519. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
  88520. case 1:
  88521. // return
  88522. return A._asyncReturn($async$returnValue, $async$completer);
  88523. }
  88524. });
  88525. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  88526. },
  88527. visitUnaryOperationExpression$1(_, node) {
  88528. return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(0, node);
  88529. },
  88530. visitUnaryOperationExpression$body$_EvaluateVisitor0(_, node) {
  88531. var $async$goto = 0,
  88532. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88533. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  88534. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88535. if ($async$errorCode === 1)
  88536. return A._asyncRethrow($async$result, $async$completer);
  88537. while (true)
  88538. switch ($async$goto) {
  88539. case 0:
  88540. // Function start
  88541. $async$temp1 = node;
  88542. $async$temp2 = A;
  88543. $async$temp3 = node;
  88544. $async$goto = 3;
  88545. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  88546. case 3:
  88547. // returning from await.
  88548. $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
  88549. // goto return
  88550. $async$goto = 1;
  88551. break;
  88552. case 1:
  88553. // return
  88554. return A._asyncReturn($async$returnValue, $async$completer);
  88555. }
  88556. });
  88557. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  88558. },
  88559. visitBooleanExpression$1(_, node) {
  88560. return this.visitBooleanExpression$body$_EvaluateVisitor0(0, node);
  88561. },
  88562. visitBooleanExpression$body$_EvaluateVisitor0(_, node) {
  88563. var $async$goto = 0,
  88564. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
  88565. $async$returnValue;
  88566. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88567. if ($async$errorCode === 1)
  88568. return A._asyncRethrow($async$result, $async$completer);
  88569. while (true)
  88570. switch ($async$goto) {
  88571. case 0:
  88572. // Function start
  88573. $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  88574. // goto return
  88575. $async$goto = 1;
  88576. break;
  88577. case 1:
  88578. // return
  88579. return A._asyncReturn($async$returnValue, $async$completer);
  88580. }
  88581. });
  88582. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  88583. },
  88584. visitIfExpression$1(_, node) {
  88585. return this.visitIfExpression$body$_EvaluateVisitor0(0, node);
  88586. },
  88587. visitIfExpression$body$_EvaluateVisitor0(_, node) {
  88588. var $async$goto = 0,
  88589. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88590. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  88591. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88592. if ($async$errorCode === 1)
  88593. return A._asyncRethrow($async$result, $async$completer);
  88594. while (true)
  88595. switch ($async$goto) {
  88596. case 0:
  88597. // Function start
  88598. $async$goto = 3;
  88599. return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  88600. case 3:
  88601. // returning from await.
  88602. _0_0 = $async$result;
  88603. positional = _0_0._0;
  88604. named = _0_0._1;
  88605. $async$self._async_evaluate0$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration0(), node);
  88606. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  88607. if (condition == null) {
  88608. t1 = named.$index(0, "condition");
  88609. t1.toString;
  88610. condition = t1;
  88611. }
  88612. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  88613. if (ifTrue == null) {
  88614. t1 = named.$index(0, "if-true");
  88615. t1.toString;
  88616. ifTrue = t1;
  88617. }
  88618. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  88619. if (ifFalse == null) {
  88620. t1 = named.$index(0, "if-false");
  88621. t1.toString;
  88622. ifFalse = t1;
  88623. }
  88624. $async$goto = 4;
  88625. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  88626. case 4:
  88627. // returning from await.
  88628. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  88629. t1 = result.accept$1($async$self);
  88630. $async$goto = 5;
  88631. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$visitIfExpression$1);
  88632. case 5:
  88633. // returning from await.
  88634. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
  88635. // goto return
  88636. $async$goto = 1;
  88637. break;
  88638. case 1:
  88639. // return
  88640. return A._asyncReturn($async$returnValue, $async$completer);
  88641. }
  88642. });
  88643. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  88644. },
  88645. visitNullExpression$1(_, node) {
  88646. return this.visitNullExpression$body$_EvaluateVisitor0(0, node);
  88647. },
  88648. visitNullExpression$body$_EvaluateVisitor0(_, node) {
  88649. var $async$goto = 0,
  88650. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88651. $async$returnValue;
  88652. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88653. if ($async$errorCode === 1)
  88654. return A._asyncRethrow($async$result, $async$completer);
  88655. while (true)
  88656. switch ($async$goto) {
  88657. case 0:
  88658. // Function start
  88659. $async$returnValue = B.C__SassNull0;
  88660. // goto return
  88661. $async$goto = 1;
  88662. break;
  88663. case 1:
  88664. // return
  88665. return A._asyncReturn($async$returnValue, $async$completer);
  88666. }
  88667. });
  88668. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  88669. },
  88670. visitNumberExpression$1(_, node) {
  88671. return this.visitNumberExpression$body$_EvaluateVisitor0(0, node);
  88672. },
  88673. visitNumberExpression$body$_EvaluateVisitor0(_, node) {
  88674. var $async$goto = 0,
  88675. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  88676. $async$returnValue;
  88677. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88678. if ($async$errorCode === 1)
  88679. return A._asyncRethrow($async$result, $async$completer);
  88680. while (true)
  88681. switch ($async$goto) {
  88682. case 0:
  88683. // Function start
  88684. $async$returnValue = A.SassNumber_SassNumber0(node.value, node.unit);
  88685. // goto return
  88686. $async$goto = 1;
  88687. break;
  88688. case 1:
  88689. // return
  88690. return A._asyncReturn($async$returnValue, $async$completer);
  88691. }
  88692. });
  88693. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  88694. },
  88695. visitParenthesizedExpression$1(_, node) {
  88696. var _this = this;
  88697. 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);
  88698. },
  88699. visitColorExpression$1(_, node) {
  88700. return this.visitColorExpression$body$_EvaluateVisitor0(0, node);
  88701. },
  88702. visitColorExpression$body$_EvaluateVisitor0(_, node) {
  88703. var $async$goto = 0,
  88704. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
  88705. $async$returnValue;
  88706. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88707. if ($async$errorCode === 1)
  88708. return A._asyncRethrow($async$result, $async$completer);
  88709. while (true)
  88710. switch ($async$goto) {
  88711. case 0:
  88712. // Function start
  88713. $async$returnValue = node.value;
  88714. // goto return
  88715. $async$goto = 1;
  88716. break;
  88717. case 1:
  88718. // return
  88719. return A._asyncReturn($async$returnValue, $async$completer);
  88720. }
  88721. });
  88722. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  88723. },
  88724. visitListExpression$1(_, node) {
  88725. return this.visitListExpression$body$_EvaluateVisitor0(0, node);
  88726. },
  88727. visitListExpression$body$_EvaluateVisitor0(_, node) {
  88728. var $async$goto = 0,
  88729. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
  88730. $async$returnValue, $async$self = this, $async$temp1;
  88731. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88732. if ($async$errorCode === 1)
  88733. return A._asyncRethrow($async$result, $async$completer);
  88734. while (true)
  88735. switch ($async$goto) {
  88736. case 0:
  88737. // Function start
  88738. $async$temp1 = A;
  88739. $async$goto = 3;
  88740. return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
  88741. case 3:
  88742. // returning from await.
  88743. $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
  88744. // goto return
  88745. $async$goto = 1;
  88746. break;
  88747. case 1:
  88748. // return
  88749. return A._asyncReturn($async$returnValue, $async$completer);
  88750. }
  88751. });
  88752. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  88753. },
  88754. visitMapExpression$1(_, node) {
  88755. return this.visitMapExpression$body$_EvaluateVisitor0(0, node);
  88756. },
  88757. visitMapExpression$body$_EvaluateVisitor0(_, node) {
  88758. var $async$goto = 0,
  88759. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
  88760. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  88761. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88762. if ($async$errorCode === 1)
  88763. return A._asyncRethrow($async$result, $async$completer);
  88764. while (true)
  88765. switch ($async$goto) {
  88766. case 0:
  88767. // Function start
  88768. t1 = type$.Value_2;
  88769. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  88770. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  88771. t2 = node.pairs, t3 = t2.length, _i = 0;
  88772. case 3:
  88773. // for condition
  88774. if (!(_i < t3)) {
  88775. // goto after for
  88776. $async$goto = 5;
  88777. break;
  88778. }
  88779. t4 = t2[_i];
  88780. key = t4._0;
  88781. $async$goto = 6;
  88782. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  88783. case 6:
  88784. // returning from await.
  88785. keyValue = $async$result;
  88786. $async$goto = 7;
  88787. return A._asyncAwait(t4._1.accept$1($async$self), $async$visitMapExpression$1);
  88788. case 7:
  88789. // returning from await.
  88790. valueValue = $async$result;
  88791. if (map.containsKey$1(keyValue)) {
  88792. t1 = keyNodes.$index(0, keyValue);
  88793. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  88794. t1 = key.get$span(key);
  88795. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  88796. if (oldValueSpan != null)
  88797. t2.$indexSet(0, oldValueSpan, "first key");
  88798. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate0$_stackTrace$1(key.get$span(key)), null));
  88799. }
  88800. map.$indexSet(0, keyValue, valueValue);
  88801. keyNodes.$indexSet(0, keyValue, key);
  88802. case 4:
  88803. // for update
  88804. ++_i;
  88805. // goto for condition
  88806. $async$goto = 3;
  88807. break;
  88808. case 5:
  88809. // after for
  88810. $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  88811. // goto return
  88812. $async$goto = 1;
  88813. break;
  88814. case 1:
  88815. // return
  88816. return A._asyncReturn($async$returnValue, $async$completer);
  88817. }
  88818. });
  88819. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  88820. },
  88821. visitFunctionExpression$1(_, node) {
  88822. return this.visitFunctionExpression$body$_EvaluateVisitor0(0, node);
  88823. },
  88824. visitFunctionExpression$body$_EvaluateVisitor0(_, node) {
  88825. var $async$goto = 0,
  88826. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88827. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, $name, oldInFunction, result, t1, $function;
  88828. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88829. if ($async$errorCode === 1)
  88830. return A._asyncRethrow($async$result, $async$completer);
  88831. while (true)
  88832. switch ($async$goto) {
  88833. case 0:
  88834. // Function start
  88835. t1 = {};
  88836. $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));
  88837. t1.$function = $function;
  88838. $async$goto = $function == null ? 3 : 5;
  88839. break;
  88840. case 3:
  88841. // then
  88842. if (node.namespace != null)
  88843. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
  88844. t2 = node.name;
  88845. _0_0 = t2.toLowerCase();
  88846. t3 = false;
  88847. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  88848. t3 = node.$arguments;
  88849. t4 = t3.named;
  88850. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure9());
  88851. $name = _0_0;
  88852. } else
  88853. $name = null;
  88854. $async$goto = t3 ? 6 : 7;
  88855. break;
  88856. case 6:
  88857. // then
  88858. $async$goto = 8;
  88859. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, $name), $async$visitFunctionExpression$1);
  88860. case 8:
  88861. // returning from await.
  88862. $async$returnValue = $async$result;
  88863. // goto return
  88864. $async$goto = 1;
  88865. break;
  88866. case 7:
  88867. // join
  88868. $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;
  88869. break;
  88870. case 9:
  88871. // then
  88872. $async$goto = 11;
  88873. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  88874. case 11:
  88875. // returning from await.
  88876. $async$returnValue = $async$result;
  88877. // goto return
  88878. $async$goto = 1;
  88879. break;
  88880. case 10:
  88881. // join
  88882. $function = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate0$_builtInFunctions.$index(0, t2);
  88883. t2 = t1.$function = $function == null ? new A.PlainCssCallable0(node.originalName) : $function;
  88884. // goto join
  88885. $async$goto = 4;
  88886. break;
  88887. case 5:
  88888. // else
  88889. t2 = $function;
  88890. case 4:
  88891. // join
  88892. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  88893. $async$self._async_evaluate0$_warn$3(string$.Sassx20_ff, node.get$nameSpan(), B.Deprecation_d4j);
  88894. oldInFunction = $async$self._async_evaluate0$_inFunction;
  88895. $async$self._async_evaluate0$_inFunction = true;
  88896. $async$goto = 12;
  88897. 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);
  88898. case 12:
  88899. // returning from await.
  88900. result = $async$result;
  88901. $async$self._async_evaluate0$_inFunction = oldInFunction;
  88902. $async$returnValue = result;
  88903. // goto return
  88904. $async$goto = 1;
  88905. break;
  88906. case 1:
  88907. // return
  88908. return A._asyncReturn($async$returnValue, $async$completer);
  88909. }
  88910. });
  88911. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  88912. },
  88913. _async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  88914. return this._visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction);
  88915. },
  88916. _async_evaluate0$_visitCalculation$1(node) {
  88917. return this._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, null);
  88918. },
  88919. _visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  88920. var $async$goto = 0,
  88921. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88922. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  88923. var $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88924. if ($async$errorCode === 1)
  88925. return A._asyncRethrow($async$result, $async$completer);
  88926. while (true)
  88927. switch ($async$goto) {
  88928. case 0:
  88929. // Function start
  88930. t2 = node.$arguments;
  88931. t3 = t2.named;
  88932. if (t3.get$isNotEmpty(t3))
  88933. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Keywor, node.span));
  88934. else if (t2.rest != null)
  88935. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Rest_a, node.span));
  88936. $async$self._async_evaluate0$_checkCalculationArguments$1(node);
  88937. t3 = A._setArrayType([], type$.JSArray_Object);
  88938. t2 = t2.positional, t4 = t2.length, _i = 0;
  88939. case 3:
  88940. // for condition
  88941. if (!(_i < t4)) {
  88942. // goto after for
  88943. $async$goto = 5;
  88944. break;
  88945. }
  88946. $async$temp1 = t3;
  88947. $async$goto = 6;
  88948. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction);
  88949. case 6:
  88950. // returning from await.
  88951. $async$temp1.push($async$result);
  88952. case 4:
  88953. // for update
  88954. ++_i;
  88955. // goto for condition
  88956. $async$goto = 3;
  88957. break;
  88958. case 5:
  88959. // after for
  88960. $arguments = t3;
  88961. if ($async$self._async_evaluate0$_inSupportsDeclaration) {
  88962. $async$returnValue = new A.SassCalculation0(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  88963. // goto return
  88964. $async$goto = 1;
  88965. break;
  88966. }
  88967. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  88968. $async$self._async_evaluate0$_callableNode = node;
  88969. try {
  88970. t1 = null;
  88971. t3 = node.name;
  88972. _0_0 = t3.toLowerCase();
  88973. $label0$0: {
  88974. if ("calc" === _0_0) {
  88975. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  88976. break $label0$0;
  88977. }
  88978. if ("sqrt" === _0_0) {
  88979. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  88980. break $label0$0;
  88981. }
  88982. if ("sin" === _0_0) {
  88983. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  88984. break $label0$0;
  88985. }
  88986. if ("cos" === _0_0) {
  88987. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  88988. break $label0$0;
  88989. }
  88990. if ("tan" === _0_0) {
  88991. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  88992. break $label0$0;
  88993. }
  88994. if ("asin" === _0_0) {
  88995. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  88996. break $label0$0;
  88997. }
  88998. if ("acos" === _0_0) {
  88999. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  89000. break $label0$0;
  89001. }
  89002. if ("atan" === _0_0) {
  89003. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  89004. break $label0$0;
  89005. }
  89006. if ("abs" === _0_0) {
  89007. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  89008. break $label0$0;
  89009. }
  89010. if ("exp" === _0_0) {
  89011. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  89012. break $label0$0;
  89013. }
  89014. if ("sign" === _0_0) {
  89015. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  89016. break $label0$0;
  89017. }
  89018. if ("min" === _0_0) {
  89019. t1 = A.SassCalculation_min0($arguments);
  89020. break $label0$0;
  89021. }
  89022. if ("max" === _0_0) {
  89023. t1 = A.SassCalculation_max0($arguments);
  89024. break $label0$0;
  89025. }
  89026. if ("hypot" === _0_0) {
  89027. t1 = A.SassCalculation_hypot0($arguments);
  89028. break $label0$0;
  89029. }
  89030. if ("pow" === _0_0) {
  89031. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89032. break $label0$0;
  89033. }
  89034. if ("atan2" === _0_0) {
  89035. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89036. break $label0$0;
  89037. }
  89038. if ("log" === _0_0) {
  89039. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89040. break $label0$0;
  89041. }
  89042. if ("mod" === _0_0) {
  89043. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89044. break $label0$0;
  89045. }
  89046. if ("rem" === _0_0) {
  89047. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89048. break $label0$0;
  89049. }
  89050. if ("round" === _0_0) {
  89051. 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));
  89052. break $label0$0;
  89053. }
  89054. if ("clamp" === _0_0) {
  89055. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  89056. break $label0$0;
  89057. }
  89058. if ("calc-size" === _0_0) {
  89059. t1 = A.SassCalculation_calcSize0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89060. break $label0$0;
  89061. }
  89062. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  89063. t1 = A.throwExpression(t3);
  89064. }
  89065. t1 = t1;
  89066. $async$returnValue = t1;
  89067. // goto return
  89068. $async$goto = 1;
  89069. break;
  89070. } catch (exception) {
  89071. t1 = A.unwrapException(exception);
  89072. if (t1 instanceof A.SassScriptException0) {
  89073. error = t1;
  89074. stackTrace = A.getTraceFromException(exception);
  89075. if (B.JSString_methods.contains$1(error.message, "compatible"))
  89076. $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  89077. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  89078. } else
  89079. throw exception;
  89080. } finally {
  89081. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  89082. }
  89083. case 1:
  89084. // return
  89085. return A._asyncReturn($async$returnValue, $async$completer);
  89086. }
  89087. });
  89088. return A._asyncStartSync($async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction, $async$completer);
  89089. },
  89090. _async_evaluate0$_checkCalculationArguments$1(node) {
  89091. var t1, _0_0,
  89092. check = new A._EvaluateVisitor__checkCalculationArguments_check2(this, node);
  89093. $label0$0: {
  89094. t1 = node.name;
  89095. _0_0 = t1.toLowerCase();
  89096. 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) {
  89097. check.call$1(1);
  89098. break $label0$0;
  89099. }
  89100. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  89101. check.call$0();
  89102. break $label0$0;
  89103. }
  89104. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  89105. check.call$1(2);
  89106. break $label0$0;
  89107. }
  89108. if ("round" === _0_0 || "clamp" === _0_0) {
  89109. check.call$1(3);
  89110. break $label0$0;
  89111. }
  89112. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  89113. }
  89114. },
  89115. _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  89116. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  89117. for (i = 0; t1 = args.length, i < t1; ++i) {
  89118. _0_0 = args[i];
  89119. if (_0_0 instanceof A.SassNumber0) {
  89120. t1 = _0_0.get$hasComplexUnits();
  89121. arg = _0_0;
  89122. } else {
  89123. arg = null;
  89124. t1 = false;
  89125. }
  89126. if (t1) {
  89127. t1 = A.S(arg);
  89128. t2 = nodesWithSpans[i];
  89129. throw A.wrapException(this._async_evaluate0$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  89130. }
  89131. }
  89132. for (i = 0; i < t1 - 1; ++i) {
  89133. number1 = args[i];
  89134. if (!(number1 instanceof A.SassNumber0))
  89135. continue;
  89136. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  89137. number2 = args[j];
  89138. if (!(number2 instanceof A.SassNumber0))
  89139. continue;
  89140. if (number1.hasPossiblyCompatibleUnits$1(number2))
  89141. continue;
  89142. t1 = number1.toString$0(0);
  89143. t2 = number2.toString$0(0);
  89144. t3 = nodesWithSpans[i];
  89145. t3 = t3.get$span(t3);
  89146. t4 = number1.toString$0(0);
  89147. t5 = nodesWithSpans[j];
  89148. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  89149. t6 = nodesWithSpans[i];
  89150. throw A.wrapException(A.MultiSpanSassRuntimeException$0(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._async_evaluate0$_stackTrace$1(t6.get$span(t6)), null));
  89151. }
  89152. }
  89153. },
  89154. _async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  89155. return this._visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction);
  89156. },
  89157. _visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  89158. var $async$goto = 0,
  89159. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  89160. $async$returnValue, $async$self = this, result, t2, _0_0, _box_0, _1_0, t3, _i, i, t1, inner, $async$temp1;
  89161. var $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89162. if ($async$errorCode === 1)
  89163. return A._asyncRethrow($async$result, $async$completer);
  89164. while (true)
  89165. switch ($async$goto) {
  89166. case 0:
  89167. // Function start
  89168. t1 = node instanceof A.ParenthesizedExpression0;
  89169. inner = t1 ? node.expression : null;
  89170. $async$goto = t1 ? 3 : 4;
  89171. break;
  89172. case 3:
  89173. // then
  89174. $async$goto = 5;
  89175. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89176. case 5:
  89177. // returning from await.
  89178. result = $async$result;
  89179. $async$returnValue = result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  89180. // goto return
  89181. $async$goto = 1;
  89182. break;
  89183. case 4:
  89184. // join
  89185. $async$goto = node instanceof A.StringExpression0 && node.accept$1(B.C_IsCalculationSafeVisitor0) ? 6 : 7;
  89186. break;
  89187. case 6:
  89188. // then
  89189. t1 = node.text;
  89190. t2 = t1.get$asPlain();
  89191. _0_0 = t2 == null ? null : t2.toLowerCase();
  89192. if ("pi" === _0_0) {
  89193. t1 = A.SassNumber_SassNumber0(3.141592653589793, null);
  89194. // goto break $label0$0
  89195. $async$goto = 8;
  89196. break;
  89197. }
  89198. if ("e" === _0_0) {
  89199. t1 = A.SassNumber_SassNumber0(2.718281828459045, null);
  89200. // goto break $label0$0
  89201. $async$goto = 8;
  89202. break;
  89203. }
  89204. if ("infinity" === _0_0) {
  89205. t1 = A.SassNumber_SassNumber0(1 / 0, null);
  89206. // goto break $label0$0
  89207. $async$goto = 8;
  89208. break;
  89209. }
  89210. if ("-infinity" === _0_0) {
  89211. t1 = A.SassNumber_SassNumber0(-1 / 0, null);
  89212. // goto break $label0$0
  89213. $async$goto = 8;
  89214. break;
  89215. }
  89216. if ("nan" === _0_0) {
  89217. t1 = A.SassNumber_SassNumber0(0 / 0, null);
  89218. // goto break $label0$0
  89219. $async$goto = 8;
  89220. break;
  89221. }
  89222. $async$temp1 = A;
  89223. $async$goto = 9;
  89224. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89225. case 9:
  89226. // returning from await.
  89227. t1 = new $async$temp1.SassString0($async$result, false);
  89228. // goto break $label0$0
  89229. $async$goto = 8;
  89230. break;
  89231. case 8:
  89232. // break $label0$0
  89233. $async$returnValue = t1;
  89234. // goto return
  89235. $async$goto = 1;
  89236. break;
  89237. case 7:
  89238. // join
  89239. _box_0 = {};
  89240. _box_0.right = _box_0.left = _box_0.operator = null;
  89241. t1 = node instanceof A.BinaryOperationExpression0;
  89242. if (t1) {
  89243. _box_0.operator = node.operator;
  89244. _box_0.left = node.left;
  89245. _box_0.right = node.right;
  89246. }
  89247. $async$goto = t1 ? 10 : 11;
  89248. break;
  89249. case 10:
  89250. // then
  89251. $async$self._async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  89252. $async$goto = 12;
  89253. 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);
  89254. case 12:
  89255. // returning from await.
  89256. $async$returnValue = $async$result;
  89257. // goto return
  89258. $async$goto = 1;
  89259. break;
  89260. case 11:
  89261. // join
  89262. $async$goto = node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0 ? 13 : 14;
  89263. break;
  89264. case 13:
  89265. // then
  89266. $async$goto = 15;
  89267. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89268. case 15:
  89269. // returning from await.
  89270. _1_0 = $async$result;
  89271. $label1$1: {
  89272. if (_1_0 instanceof A.SassNumber0) {
  89273. t1 = _1_0;
  89274. break $label1$1;
  89275. }
  89276. if (_1_0 instanceof A.SassCalculation0) {
  89277. t1 = _1_0;
  89278. break $label1$1;
  89279. }
  89280. if (_1_0 instanceof A.SassString0) {
  89281. t1 = !_1_0._string0$_hasQuotes;
  89282. result = _1_0;
  89283. } else {
  89284. result = null;
  89285. t1 = false;
  89286. }
  89287. if (t1) {
  89288. t1 = result;
  89289. break $label1$1;
  89290. }
  89291. 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)));
  89292. }
  89293. $async$returnValue = t1;
  89294. // goto return
  89295. $async$goto = 1;
  89296. break;
  89297. case 14:
  89298. // join
  89299. $async$goto = node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_qSL0 === node.separator && node.contents.length >= 2 ? 16 : 17;
  89300. break;
  89301. case 16:
  89302. // then
  89303. t1 = A._setArrayType([], type$.JSArray_Object);
  89304. t2 = node.contents, t3 = t2.length, _i = 0;
  89305. case 18:
  89306. // for condition
  89307. if (!(_i < t3)) {
  89308. // goto after for
  89309. $async$goto = 20;
  89310. break;
  89311. }
  89312. $async$temp1 = t1;
  89313. $async$goto = 21;
  89314. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89315. case 21:
  89316. // returning from await.
  89317. $async$temp1.push($async$result);
  89318. case 19:
  89319. // for update
  89320. ++_i;
  89321. // goto for condition
  89322. $async$goto = 18;
  89323. break;
  89324. case 20:
  89325. // after for
  89326. $async$self._async_evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  89327. for (i = 0; i < t1.length; ++i) {
  89328. t3 = t1[i];
  89329. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  89330. t1[i] = new A.SassString0("(" + A.S(t3) + ")", false);
  89331. }
  89332. $async$returnValue = new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  89333. // goto return
  89334. $async$goto = 1;
  89335. break;
  89336. case 17:
  89337. // join
  89338. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  89339. case 1:
  89340. // return
  89341. return A._asyncReturn($async$returnValue, $async$completer);
  89342. }
  89343. });
  89344. return A._asyncStartSync($async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  89345. },
  89346. _async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  89347. var t2, t3, t4, textBetweenOperands, first, last,
  89348. t1 = node.operator;
  89349. if (t1 !== B.BinaryOperator_Swh0 && t1 !== B.BinaryOperator_QG10)
  89350. return;
  89351. t1 = node.left;
  89352. t2 = t1.get$span(t1);
  89353. t2 = t2.get$file(t2);
  89354. t3 = node.right;
  89355. t4 = t3.get$span(t3);
  89356. if (t2 !== t4.get$file(t4))
  89357. return;
  89358. t2 = t1.get$span(t1);
  89359. t2 = t2.get$end(t2);
  89360. t4 = t3.get$span(t3);
  89361. if (t2.offset >= t4.get$start(t4).offset)
  89362. return;
  89363. t2 = t1.get$span(t1);
  89364. t2 = t2.get$file(t2);
  89365. t1 = t1.get$span(t1);
  89366. t1 = t1.get$end(t1);
  89367. t3 = t3.get$span(t3);
  89368. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  89369. first = textBetweenOperands.charCodeAt(0);
  89370. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  89371. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  89372. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  89373. else
  89374. t1 = true;
  89375. if (t1)
  89376. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  89377. },
  89378. _async_evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  89379. var t1;
  89380. $label0$0: {
  89381. if (B.BinaryOperator_Swh0 === operator) {
  89382. t1 = B.CalculationOperator_F7i0;
  89383. break $label0$0;
  89384. }
  89385. if (B.BinaryOperator_QG10 === operator) {
  89386. t1 = B.CalculationOperator_oum0;
  89387. break $label0$0;
  89388. }
  89389. if (B.BinaryOperator_tht0 === operator) {
  89390. t1 = B.CalculationOperator_kkN0;
  89391. break $label0$0;
  89392. }
  89393. if (B.BinaryOperator_Mh50 === operator) {
  89394. t1 = B.CalculationOperator_bo50;
  89395. break $label0$0;
  89396. }
  89397. t1 = A.throwExpression(this._async_evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  89398. }
  89399. return t1;
  89400. },
  89401. _async_evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  89402. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  89403. for (t1 = elements.length, i = 1; i < t1; ++i) {
  89404. t2 = i - 1;
  89405. previous = elements[t2];
  89406. current = elements[i];
  89407. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  89408. continue;
  89409. t1 = node.contents;
  89410. previousNode = t1[t2];
  89411. currentNode = t1[i];
  89412. if (currentNode instanceof A.UnaryOperationExpression0) {
  89413. _0_2 = currentNode.operator;
  89414. if (B.UnaryOperator_UCP0 !== _0_2)
  89415. t1 = B.UnaryOperator_Rbl0 === _0_2;
  89416. else
  89417. t1 = true;
  89418. } else
  89419. t1 = false;
  89420. if (!t1)
  89421. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  89422. else
  89423. t1 = true;
  89424. if (t1)
  89425. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  89426. else
  89427. throw A.wrapException(this._async_evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  89428. }
  89429. },
  89430. visitInterpolatedFunctionExpression$1(_, node) {
  89431. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(0, node);
  89432. },
  89433. visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(_, node) {
  89434. var $async$goto = 0,
  89435. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89436. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  89437. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89438. if ($async$errorCode === 1)
  89439. return A._asyncRethrow($async$result, $async$completer);
  89440. while (true)
  89441. switch ($async$goto) {
  89442. case 0:
  89443. // Function start
  89444. $async$goto = 3;
  89445. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  89446. case 3:
  89447. // returning from await.
  89448. t1 = $async$result;
  89449. oldInFunction = $async$self._async_evaluate0$_inFunction;
  89450. $async$self._async_evaluate0$_inFunction = true;
  89451. $async$goto = 4;
  89452. 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);
  89453. case 4:
  89454. // returning from await.
  89455. result = $async$result;
  89456. $async$self._async_evaluate0$_inFunction = oldInFunction;
  89457. $async$returnValue = result;
  89458. // goto return
  89459. $async$goto = 1;
  89460. break;
  89461. case 1:
  89462. // return
  89463. return A._asyncReturn($async$returnValue, $async$completer);
  89464. }
  89465. });
  89466. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  89467. },
  89468. _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  89469. return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
  89470. },
  89471. _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  89472. var $async$goto = 0,
  89473. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  89474. $async$returnValue, $async$self = this, oldCallable, oldInDependency, result, evaluated, $name;
  89475. var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89476. if ($async$errorCode === 1)
  89477. return A._asyncRethrow($async$result, $async$completer);
  89478. while (true)
  89479. switch ($async$goto) {
  89480. case 0:
  89481. // Function start
  89482. $async$goto = 3;
  89483. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
  89484. case 3:
  89485. // returning from await.
  89486. evaluated = $async$result;
  89487. $name = callable.declaration.name;
  89488. if ($name !== "@content")
  89489. $name += "()";
  89490. oldCallable = $async$self._async_evaluate0$_currentCallable;
  89491. oldInDependency = $async$self._async_evaluate0$_inDependency;
  89492. $async$self._async_evaluate0$_currentCallable = callable;
  89493. $async$self._async_evaluate0$_inDependency = callable.inDependency;
  89494. $async$goto = 4;
  89495. 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);
  89496. case 4:
  89497. // returning from await.
  89498. result = $async$result;
  89499. $async$self._async_evaluate0$_currentCallable = oldCallable;
  89500. $async$self._async_evaluate0$_inDependency = oldInDependency;
  89501. $async$returnValue = result;
  89502. // goto return
  89503. $async$goto = 1;
  89504. break;
  89505. case 1:
  89506. // return
  89507. return A._asyncReturn($async$returnValue, $async$completer);
  89508. }
  89509. });
  89510. return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
  89511. },
  89512. _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  89513. return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  89514. },
  89515. _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  89516. var $async$goto = 0,
  89517. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89518. $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;
  89519. var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89520. if ($async$errorCode === 1) {
  89521. $async$errorStack.push($async$result);
  89522. $async$goto = $async$handler;
  89523. }
  89524. while (true)
  89525. switch ($async$goto) {
  89526. case 0:
  89527. // Function start
  89528. $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
  89529. break;
  89530. case 3:
  89531. // then
  89532. $async$goto = 6;
  89533. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
  89534. case 6:
  89535. // returning from await.
  89536. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
  89537. // goto return
  89538. $async$goto = 1;
  89539. break;
  89540. // goto join
  89541. $async$goto = 4;
  89542. break;
  89543. case 5:
  89544. // else
  89545. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
  89546. break;
  89547. case 7:
  89548. // then
  89549. $async$goto = 10;
  89550. 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);
  89551. case 10:
  89552. // returning from await.
  89553. $async$returnValue = $async$result;
  89554. // goto return
  89555. $async$goto = 1;
  89556. break;
  89557. // goto join
  89558. $async$goto = 8;
  89559. break;
  89560. case 9:
  89561. // else
  89562. $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
  89563. break;
  89564. case 11:
  89565. // then
  89566. t1 = $arguments.named;
  89567. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  89568. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  89569. buffer = new A.StringBuffer(callable.name + "(");
  89570. $async$handler = 15;
  89571. first = true;
  89572. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  89573. case 18:
  89574. // for condition
  89575. if (!(_i < t2)) {
  89576. // goto after for
  89577. $async$goto = 20;
  89578. break;
  89579. }
  89580. argument = t1[_i];
  89581. if (first)
  89582. first = false;
  89583. else
  89584. buffer._contents += ", ";
  89585. t3 = buffer;
  89586. $async$temp1 = A;
  89587. $async$goto = 21;
  89588. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
  89589. case 21:
  89590. // returning from await.
  89591. t4 = $async$temp1.S($async$result);
  89592. t3._contents += t4;
  89593. case 19:
  89594. // for update
  89595. ++_i;
  89596. // goto for condition
  89597. $async$goto = 18;
  89598. break;
  89599. case 20:
  89600. // after for
  89601. restArg = $arguments.rest;
  89602. $async$goto = restArg != null ? 22 : 23;
  89603. break;
  89604. case 22:
  89605. // then
  89606. $async$goto = 24;
  89607. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
  89608. case 24:
  89609. // returning from await.
  89610. rest = $async$result;
  89611. if (!first)
  89612. buffer._contents += ", ";
  89613. t1 = buffer;
  89614. t2 = $async$self._async_evaluate0$_serialize$2(rest, restArg);
  89615. t1._contents += t2;
  89616. case 23:
  89617. // join
  89618. $async$handler = 2;
  89619. // goto after finally
  89620. $async$goto = 17;
  89621. break;
  89622. case 15:
  89623. // catch
  89624. $async$handler = 14;
  89625. $async$exception = $async$errorStack.pop();
  89626. t1 = A.unwrapException($async$exception);
  89627. if (type$.SassRuntimeException_2._is(t1)) {
  89628. error = t1;
  89629. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  89630. throw $async$exception;
  89631. 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));
  89632. } else
  89633. throw $async$exception;
  89634. // goto after finally
  89635. $async$goto = 17;
  89636. break;
  89637. case 14:
  89638. // uncaught
  89639. // goto rethrow
  89640. $async$goto = 2;
  89641. break;
  89642. case 17:
  89643. // after finally
  89644. t1 = buffer;
  89645. t2 = A.Primitives_stringFromCharCode(41);
  89646. t1._contents += t2;
  89647. t2 = buffer._contents;
  89648. $async$returnValue = new A.SassString0(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  89649. // goto return
  89650. $async$goto = 1;
  89651. break;
  89652. // goto join
  89653. $async$goto = 12;
  89654. break;
  89655. case 13:
  89656. // else
  89657. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  89658. case 12:
  89659. // join
  89660. case 8:
  89661. // join
  89662. case 4:
  89663. // join
  89664. case 1:
  89665. // return
  89666. return A._asyncReturn($async$returnValue, $async$completer);
  89667. case 2:
  89668. // rethrow
  89669. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  89670. }
  89671. });
  89672. return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
  89673. },
  89674. _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  89675. return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  89676. },
  89677. _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  89678. var $async$goto = 0,
  89679. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89680. $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;
  89681. var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89682. if ($async$errorCode === 1) {
  89683. $async$errorStack.push($async$result);
  89684. $async$goto = $async$handler;
  89685. }
  89686. while (true)
  89687. switch ($async$goto) {
  89688. case 0:
  89689. // Function start
  89690. _box_0 = {};
  89691. $async$goto = 3;
  89692. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
  89693. case 3:
  89694. // returning from await.
  89695. evaluated = $async$result;
  89696. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  89697. $async$self._async_evaluate0$_callableNode = nodeWithSpan;
  89698. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  89699. _box_0.callback = _box_0.overload = null;
  89700. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  89701. _box_0.overload = _0_0._0;
  89702. _box_0.callback = _0_0._1;
  89703. $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure8(_box_0, evaluated, namedSet));
  89704. parameters = _box_0.overload.parameters;
  89705. i = J.get$length$asx(evaluated._values[2]), t1 = parameters.length, t2 = type$._Future_Value_2, t3 = type$.Future_Value_2;
  89706. case 4:
  89707. // for condition
  89708. if (!(i < t1)) {
  89709. // goto after for
  89710. $async$goto = 6;
  89711. break;
  89712. }
  89713. parameter = parameters[i];
  89714. t4 = evaluated._values[2];
  89715. t5 = evaluated._values[0].remove$1(0, parameter.name);
  89716. $async$goto = t5 == null ? 7 : 8;
  89717. break;
  89718. case 7:
  89719. // then
  89720. t5 = parameter.defaultValue;
  89721. t6 = t5.accept$1($async$self);
  89722. if (!t3._is(t6)) {
  89723. t7 = new A._Future($.Zone__current, t2);
  89724. t7._state = 8;
  89725. t7._resultOrListeners = t6;
  89726. t6 = t7;
  89727. }
  89728. $async$goto = 9;
  89729. return A._asyncAwait(t6, $async$_async_evaluate0$_runBuiltInCallable$3);
  89730. case 9:
  89731. // returning from await.
  89732. t5 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t5);
  89733. case 8:
  89734. // join
  89735. J.add$1$ax(t4, t5);
  89736. case 5:
  89737. // for update
  89738. ++i;
  89739. // goto for condition
  89740. $async$goto = 4;
  89741. break;
  89742. case 6:
  89743. // after for
  89744. if (_box_0.overload.restParameter != null) {
  89745. if (J.get$length$asx(evaluated._values[2]) > t1) {
  89746. rest = J.sublist$1$ax(evaluated._values[2], t1);
  89747. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  89748. } else
  89749. rest = B.List_empty20;
  89750. t1 = evaluated._values[0];
  89751. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : evaluated._values[4]);
  89752. J.add$1$ax(evaluated._values[2], argumentList);
  89753. } else
  89754. argumentList = null;
  89755. result = null;
  89756. $async$handler = 11;
  89757. $async$goto = 14;
  89758. 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);
  89759. case 14:
  89760. // returning from await.
  89761. result = $async$result;
  89762. $async$handler = 2;
  89763. // goto after finally
  89764. $async$goto = 13;
  89765. break;
  89766. case 11:
  89767. // catch
  89768. $async$handler = 10;
  89769. $async$exception = $async$errorStack.pop();
  89770. t1 = A.unwrapException($async$exception);
  89771. if (t1 instanceof A.SassException0)
  89772. throw $async$exception;
  89773. else {
  89774. error = t1;
  89775. stackTrace = A.getTraceFromException($async$exception);
  89776. A.throwWithTrace0($async$self._async_evaluate0$_exception$2($async$self._async_evaluate0$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  89777. }
  89778. // goto after finally
  89779. $async$goto = 13;
  89780. break;
  89781. case 10:
  89782. // uncaught
  89783. // goto rethrow
  89784. $async$goto = 2;
  89785. break;
  89786. case 13:
  89787. // after finally
  89788. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  89789. if (argumentList == null) {
  89790. $async$returnValue = result;
  89791. // goto return
  89792. $async$goto = 1;
  89793. break;
  89794. }
  89795. t1 = evaluated._values[0];
  89796. if (t1.get$isEmpty(t1)) {
  89797. $async$returnValue = result;
  89798. // goto return
  89799. $async$goto = 1;
  89800. break;
  89801. }
  89802. if (argumentList._argument_list$_wereKeywordsAccessed) {
  89803. $async$returnValue = result;
  89804. // goto return
  89805. $async$goto = 1;
  89806. break;
  89807. }
  89808. t1 = evaluated._values[0];
  89809. t1 = A.pluralize0("parameter", J.get$length$asx(t1.get$keys(t1)), null);
  89810. t2 = evaluated._values[0];
  89811. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + t1 + " named " + A.toSentence0(J.map$1$1$ax(t2.get$keys(t2), new A._EvaluateVisitor__runBuiltInCallable_closure10(), type$.Object), "or") + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_box_0.overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), null));
  89812. case 1:
  89813. // return
  89814. return A._asyncReturn($async$returnValue, $async$completer);
  89815. case 2:
  89816. // rethrow
  89817. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  89818. }
  89819. });
  89820. return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
  89821. },
  89822. _async_evaluate0$_evaluateArguments$1($arguments) {
  89823. return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
  89824. },
  89825. _evaluateArguments$body$_EvaluateVisitor0($arguments) {
  89826. var $async$goto = 0,
  89827. $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),
  89828. $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;
  89829. var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89830. if ($async$errorCode === 1)
  89831. return A._asyncRethrow($async$result, $async$completer);
  89832. while (true)
  89833. switch ($async$goto) {
  89834. case 0:
  89835. // Function start
  89836. positional = A._setArrayType([], type$.JSArray_Value_2);
  89837. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  89838. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  89839. case 3:
  89840. // for condition
  89841. if (!(_i < t2)) {
  89842. // goto after for
  89843. $async$goto = 5;
  89844. break;
  89845. }
  89846. expression = t1[_i];
  89847. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
  89848. t5 = expression.accept$1($async$self);
  89849. if (!t4._is(t5)) {
  89850. t6 = new A._Future($.Zone__current, t3);
  89851. t6._state = 8;
  89852. t6._resultOrListeners = t5;
  89853. t5 = t6;
  89854. }
  89855. $async$temp1 = positional;
  89856. $async$goto = 6;
  89857. return A._asyncAwait(t5, $async$_async_evaluate0$_evaluateArguments$1);
  89858. case 6:
  89859. // returning from await.
  89860. $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  89861. positionalNodes.push(nodeForSpan);
  89862. case 4:
  89863. // for update
  89864. ++_i;
  89865. // goto for condition
  89866. $async$goto = 3;
  89867. break;
  89868. case 5:
  89869. // after for
  89870. t1 = type$.String;
  89871. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  89872. t2 = type$.AstNode_2;
  89873. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  89874. t5 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t5 = t5.get$iterator(t5);
  89875. case 7:
  89876. // for condition
  89877. if (!t5.moveNext$0()) {
  89878. // goto after for
  89879. $async$goto = 8;
  89880. break;
  89881. }
  89882. t6 = t5.get$current(t5);
  89883. $name = t6._0;
  89884. value = t6._1;
  89885. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(value);
  89886. t6 = value.accept$1($async$self);
  89887. if (!t4._is(t6)) {
  89888. t7 = new A._Future($.Zone__current, t3);
  89889. t7._state = 8;
  89890. t7._resultOrListeners = t6;
  89891. t6 = t7;
  89892. }
  89893. $async$temp1 = named;
  89894. $async$temp2 = $name;
  89895. $async$goto = 9;
  89896. return A._asyncAwait(t6, $async$_async_evaluate0$_evaluateArguments$1);
  89897. case 9:
  89898. // returning from await.
  89899. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  89900. namedNodes.$indexSet(0, $name, nodeForSpan);
  89901. // goto for condition
  89902. $async$goto = 7;
  89903. break;
  89904. case 8:
  89905. // after for
  89906. restArgs = $arguments.rest;
  89907. if (restArgs == null) {
  89908. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  89909. // goto return
  89910. $async$goto = 1;
  89911. break;
  89912. }
  89913. $async$goto = 10;
  89914. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  89915. case 10:
  89916. // returning from await.
  89917. rest = $async$result;
  89918. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
  89919. if (rest instanceof A.SassMap0) {
  89920. $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
  89921. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  89922. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  89923. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  89924. namedNodes.addAll$1(0, t3);
  89925. separator = B.ListSeparator_undecided_null_undecided0;
  89926. } else if (rest instanceof A.SassList0) {
  89927. t3 = rest._list1$_contents;
  89928. 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>")));
  89929. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  89930. separator = rest._list1$_separator;
  89931. if (rest instanceof A.SassArgumentList0) {
  89932. rest._argument_list$_wereKeywordsAccessed = true;
  89933. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
  89934. }
  89935. } else {
  89936. positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  89937. positionalNodes.push(restNodeForSpan);
  89938. separator = B.ListSeparator_undecided_null_undecided0;
  89939. }
  89940. keywordRestArgs = $arguments.keywordRest;
  89941. if (keywordRestArgs == null) {
  89942. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  89943. // goto return
  89944. $async$goto = 1;
  89945. break;
  89946. }
  89947. $async$goto = 11;
  89948. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  89949. case 11:
  89950. // returning from await.
  89951. keywordRest = $async$result;
  89952. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
  89953. if (keywordRest instanceof A.SassMap0) {
  89954. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
  89955. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  89956. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  89957. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  89958. namedNodes.addAll$1(0, t1);
  89959. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  89960. // goto return
  89961. $async$goto = 1;
  89962. break;
  89963. } else
  89964. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  89965. case 1:
  89966. // return
  89967. return A._asyncReturn($async$returnValue, $async$completer);
  89968. }
  89969. });
  89970. return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
  89971. },
  89972. _async_evaluate0$_evaluateMacroArguments$1(invocation) {
  89973. return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
  89974. },
  89975. _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
  89976. var $async$goto = 0,
  89977. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression_2),
  89978. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  89979. var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89980. if ($async$errorCode === 1)
  89981. return A._asyncRethrow($async$result, $async$completer);
  89982. while (true)
  89983. switch ($async$goto) {
  89984. case 0:
  89985. // Function start
  89986. t1 = invocation.$arguments;
  89987. restArgs_ = t1.rest;
  89988. if (restArgs_ == null) {
  89989. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  89990. // goto return
  89991. $async$goto = 1;
  89992. break;
  89993. }
  89994. t2 = t1.positional;
  89995. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  89996. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  89997. $async$goto = 3;
  89998. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  89999. case 3:
  90000. // returning from await.
  90001. rest = $async$result;
  90002. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
  90003. if (rest instanceof A.SassMap0)
  90004. $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
  90005. else if (rest instanceof A.SassList0) {
  90006. t2 = rest._list1$_contents;
  90007. 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>")));
  90008. if (rest instanceof A.SassArgumentList0) {
  90009. rest._argument_list$_wereKeywordsAccessed = true;
  90010. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
  90011. }
  90012. } else
  90013. positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  90014. keywordRestArgs_ = t1.keywordRest;
  90015. if (keywordRestArgs_ == null) {
  90016. $async$returnValue = new A._Record_2(positional, named);
  90017. // goto return
  90018. $async$goto = 1;
  90019. break;
  90020. }
  90021. $async$goto = 4;
  90022. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  90023. case 4:
  90024. // returning from await.
  90025. keywordRest = $async$result;
  90026. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
  90027. if (keywordRest instanceof A.SassMap0) {
  90028. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  90029. $async$returnValue = new A._Record_2(positional, named);
  90030. // goto return
  90031. $async$goto = 1;
  90032. break;
  90033. } else
  90034. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  90035. case 1:
  90036. // return
  90037. return A._asyncReturn($async$returnValue, $async$completer);
  90038. }
  90039. });
  90040. return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
  90041. },
  90042. _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  90043. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  90044. },
  90045. _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  90046. return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  90047. },
  90048. _async_evaluate0$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  90049. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2(parameters, positional, named));
  90050. },
  90051. visitSelectorExpression$1(_, node) {
  90052. return this.visitSelectorExpression$body$_EvaluateVisitor0(0, node);
  90053. },
  90054. visitSelectorExpression$body$_EvaluateVisitor0(_, node) {
  90055. var $async$goto = 0,
  90056. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  90057. $async$returnValue, $async$self = this, t1;
  90058. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90059. if ($async$errorCode === 1)
  90060. return A._asyncRethrow($async$result, $async$completer);
  90061. while (true)
  90062. switch ($async$goto) {
  90063. case 0:
  90064. // Function start
  90065. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90066. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  90067. $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
  90068. // goto return
  90069. $async$goto = 1;
  90070. break;
  90071. case 1:
  90072. // return
  90073. return A._asyncReturn($async$returnValue, $async$completer);
  90074. }
  90075. });
  90076. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  90077. },
  90078. visitStringExpression$1(_, node) {
  90079. return this.visitStringExpression$body$_EvaluateVisitor0(0, node);
  90080. },
  90081. visitStringExpression$body$_EvaluateVisitor0(_, node) {
  90082. var $async$goto = 0,
  90083. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  90084. $async$returnValue, $async$self = this, t1, t2, t3, _i, value, t4, _0_0, text, oldInSupportsDeclaration;
  90085. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90086. if ($async$errorCode === 1)
  90087. return A._asyncRethrow($async$result, $async$completer);
  90088. while (true)
  90089. switch ($async$goto) {
  90090. case 0:
  90091. // Function start
  90092. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  90093. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  90094. t1 = A._setArrayType([], type$.JSArray_String);
  90095. t2 = node.text.contents, t3 = t2.length, _i = 0;
  90096. case 3:
  90097. // for condition
  90098. if (!(_i < t3)) {
  90099. // goto after for
  90100. $async$goto = 5;
  90101. break;
  90102. }
  90103. value = t2[_i];
  90104. if (typeof value == "string") {
  90105. t4 = value;
  90106. // goto break $label0$0
  90107. $async$goto = 6;
  90108. break;
  90109. }
  90110. $async$goto = value instanceof A.Expression0 ? 7 : 8;
  90111. break;
  90112. case 7:
  90113. // then
  90114. $async$goto = 9;
  90115. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  90116. case 9:
  90117. // returning from await.
  90118. _0_0 = $async$result;
  90119. $label1$1: {
  90120. if (_0_0 instanceof A.SassString0) {
  90121. text = _0_0._string0$_text;
  90122. t4 = text;
  90123. break $label1$1;
  90124. }
  90125. t4 = $async$self._async_evaluate0$_serialize$3$quote(_0_0, value, false);
  90126. break $label1$1;
  90127. }
  90128. // goto break $label0$0
  90129. $async$goto = 6;
  90130. break;
  90131. case 8:
  90132. // join
  90133. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  90134. case 6:
  90135. // break $label0$0
  90136. t1.push(t4);
  90137. case 4:
  90138. // for update
  90139. ++_i;
  90140. // goto for condition
  90141. $async$goto = 3;
  90142. break;
  90143. case 5:
  90144. // after for
  90145. t1 = B.JSArray_methods.join$0(t1);
  90146. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  90147. $async$returnValue = new A.SassString0(t1, node.hasQuotes);
  90148. // goto return
  90149. $async$goto = 1;
  90150. break;
  90151. case 1:
  90152. // return
  90153. return A._asyncReturn($async$returnValue, $async$completer);
  90154. }
  90155. });
  90156. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  90157. },
  90158. visitSupportsExpression$1(_, expression) {
  90159. return this.visitSupportsExpression$body$_EvaluateVisitor0(0, expression);
  90160. },
  90161. visitSupportsExpression$body$_EvaluateVisitor0(_, expression) {
  90162. var $async$goto = 0,
  90163. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  90164. $async$returnValue, $async$self = this, $async$temp1;
  90165. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90166. if ($async$errorCode === 1)
  90167. return A._asyncRethrow($async$result, $async$completer);
  90168. while (true)
  90169. switch ($async$goto) {
  90170. case 0:
  90171. // Function start
  90172. $async$temp1 = A;
  90173. $async$goto = 3;
  90174. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  90175. case 3:
  90176. // returning from await.
  90177. $async$returnValue = new $async$temp1.SassString0($async$result, false);
  90178. // goto return
  90179. $async$goto = 1;
  90180. break;
  90181. case 1:
  90182. // return
  90183. return A._asyncReturn($async$returnValue, $async$completer);
  90184. }
  90185. });
  90186. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  90187. },
  90188. visitCssAtRule$1(node) {
  90189. return this.visitCssAtRule$body$_EvaluateVisitor0(node);
  90190. },
  90191. visitCssAtRule$body$_EvaluateVisitor0(node) {
  90192. var $async$goto = 0,
  90193. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90194. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  90195. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90196. if ($async$errorCode === 1)
  90197. return A._asyncRethrow($async$result, $async$completer);
  90198. while (true)
  90199. switch ($async$goto) {
  90200. case 0:
  90201. // Function start
  90202. if ($async$self._async_evaluate0$_declarationName != null)
  90203. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  90204. if (node.isChildless) {
  90205. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  90206. // goto return
  90207. $async$goto = 1;
  90208. break;
  90209. }
  90210. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  90211. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  90212. t1 = node.name;
  90213. if (A.unvendor0(t1.value) === "keyframes")
  90214. $async$self._async_evaluate0$_inKeyframes = true;
  90215. else
  90216. $async$self._async_evaluate0$_inUnknownAtRule = true;
  90217. $async$goto = 3;
  90218. 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);
  90219. case 3:
  90220. // returning from await.
  90221. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  90222. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  90223. case 1:
  90224. // return
  90225. return A._asyncReturn($async$returnValue, $async$completer);
  90226. }
  90227. });
  90228. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  90229. },
  90230. visitCssComment$1(node) {
  90231. return this.visitCssComment$body$_EvaluateVisitor0(node);
  90232. },
  90233. visitCssComment$body$_EvaluateVisitor0(node) {
  90234. var $async$goto = 0,
  90235. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90236. $async$self = this;
  90237. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90238. if ($async$errorCode === 1)
  90239. return A._asyncRethrow($async$result, $async$completer);
  90240. while (true)
  90241. switch ($async$goto) {
  90242. case 0:
  90243. // Function start
  90244. 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))
  90245. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  90246. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  90247. // implicit return
  90248. return A._asyncReturn(null, $async$completer);
  90249. }
  90250. });
  90251. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  90252. },
  90253. visitCssDeclaration$1(node) {
  90254. return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
  90255. },
  90256. visitCssDeclaration$body$_EvaluateVisitor0(node) {
  90257. var $async$goto = 0,
  90258. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90259. $async$self = this;
  90260. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90261. if ($async$errorCode === 1)
  90262. return A._asyncRethrow($async$result, $async$completer);
  90263. while (true)
  90264. switch ($async$goto) {
  90265. case 0:
  90266. // Function start
  90267. $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));
  90268. // implicit return
  90269. return A._asyncReturn(null, $async$completer);
  90270. }
  90271. });
  90272. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  90273. },
  90274. visitCssImport$1(node) {
  90275. return this.visitCssImport$body$_EvaluateVisitor0(node);
  90276. },
  90277. visitCssImport$body$_EvaluateVisitor0(node) {
  90278. var $async$goto = 0,
  90279. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90280. $async$self = this, t1, modifiableNode;
  90281. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90282. if ($async$errorCode === 1)
  90283. return A._asyncRethrow($async$result, $async$completer);
  90284. while (true)
  90285. switch ($async$goto) {
  90286. case 0:
  90287. // Function start
  90288. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  90289. 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"))
  90290. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
  90291. 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)) {
  90292. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
  90293. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  90294. } else {
  90295. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  90296. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  90297. }
  90298. // implicit return
  90299. return A._asyncReturn(null, $async$completer);
  90300. }
  90301. });
  90302. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  90303. },
  90304. visitCssKeyframeBlock$1(node) {
  90305. return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
  90306. },
  90307. visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
  90308. var $async$goto = 0,
  90309. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90310. $async$self = this;
  90311. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90312. if ($async$errorCode === 1)
  90313. return A._asyncRethrow($async$result, $async$completer);
  90314. while (true)
  90315. switch ($async$goto) {
  90316. case 0:
  90317. // Function start
  90318. $async$goto = 2;
  90319. 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);
  90320. case 2:
  90321. // returning from await.
  90322. // implicit return
  90323. return A._asyncReturn(null, $async$completer);
  90324. }
  90325. });
  90326. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  90327. },
  90328. visitCssMediaRule$1(node) {
  90329. return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
  90330. },
  90331. visitCssMediaRule$body$_EvaluateVisitor0(node) {
  90332. var $async$goto = 0,
  90333. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90334. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  90335. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90336. if ($async$errorCode === 1)
  90337. return A._asyncRethrow($async$result, $async$completer);
  90338. while (true)
  90339. switch ($async$goto) {
  90340. case 0:
  90341. // Function start
  90342. if ($async$self._async_evaluate0$_declarationName != null)
  90343. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  90344. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
  90345. t1 = mergedQueries == null;
  90346. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  90347. // goto return
  90348. $async$goto = 1;
  90349. break;
  90350. }
  90351. if (t1)
  90352. mergedSources = B.Set_empty5;
  90353. else {
  90354. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  90355. t2.toString;
  90356. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  90357. t3 = $async$self._async_evaluate0$_mediaQueries;
  90358. t3.toString;
  90359. t2.addAll$1(0, t3);
  90360. t2.addAll$1(0, node.queries);
  90361. mergedSources = t2;
  90362. }
  90363. t1 = t1 ? node.queries : mergedQueries;
  90364. $async$goto = 3;
  90365. 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);
  90366. case 3:
  90367. // returning from await.
  90368. case 1:
  90369. // return
  90370. return A._asyncReturn($async$returnValue, $async$completer);
  90371. }
  90372. });
  90373. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  90374. },
  90375. visitCssStyleRule$1(node) {
  90376. return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
  90377. },
  90378. visitCssStyleRule$body$_EvaluateVisitor0(node) {
  90379. var $async$goto = 0,
  90380. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90381. $async$self = this, t1, styleRule, t2, nest, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild;
  90382. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90383. if ($async$errorCode === 1)
  90384. return A._asyncRethrow($async$result, $async$completer);
  90385. while (true)
  90386. switch ($async$goto) {
  90387. case 0:
  90388. // Function start
  90389. if ($async$self._async_evaluate0$_declarationName != null)
  90390. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_n, node.span));
  90391. else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
  90392. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_k, node.span));
  90393. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  90394. styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90395. t2 = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90396. t2 = t2 == null ? null : t2.fromPlainCss;
  90397. nest = t2 !== true;
  90398. t2 = node._style_rule0$_selector._box0$_inner;
  90399. if (nest) {
  90400. t2 = t2.value;
  90401. t3 = styleRule == null ? null : styleRule.originalSelector;
  90402. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !t1, node.fromPlainCss);
  90403. } else
  90404. originalSelector = t2.value;
  90405. 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);
  90406. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  90407. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  90408. t1 = nest ? new A._EvaluateVisitor_visitCssStyleRule_closure5() : null;
  90409. $async$goto = 2;
  90410. 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);
  90411. case 2:
  90412. // returning from await.
  90413. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  90414. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children._collection$_source;
  90415. t2 = J.getInterceptor$asx(t1);
  90416. _0_1 = t2.get$length(t1);
  90417. if (_0_1 >= 1) {
  90418. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  90419. t1 = styleRule == null;
  90420. } else {
  90421. lastChild = null;
  90422. t1 = false;
  90423. }
  90424. if (t1)
  90425. lastChild.isGroupEnd = true;
  90426. // implicit return
  90427. return A._asyncReturn(null, $async$completer);
  90428. }
  90429. });
  90430. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  90431. },
  90432. visitCssStylesheet$1(node) {
  90433. return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
  90434. },
  90435. visitCssStylesheet$body$_EvaluateVisitor0(node) {
  90436. var $async$goto = 0,
  90437. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90438. $async$self = this, t1;
  90439. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90440. if ($async$errorCode === 1)
  90441. return A._asyncRethrow($async$result, $async$completer);
  90442. while (true)
  90443. switch ($async$goto) {
  90444. case 0:
  90445. // Function start
  90446. t1 = J.get$iterator$ax(node.get$children(node));
  90447. case 2:
  90448. // for condition
  90449. if (!t1.moveNext$0()) {
  90450. // goto after for
  90451. $async$goto = 3;
  90452. break;
  90453. }
  90454. $async$goto = 4;
  90455. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  90456. case 4:
  90457. // returning from await.
  90458. // goto for condition
  90459. $async$goto = 2;
  90460. break;
  90461. case 3:
  90462. // after for
  90463. // implicit return
  90464. return A._asyncReturn(null, $async$completer);
  90465. }
  90466. });
  90467. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  90468. },
  90469. visitCssSupportsRule$1(node) {
  90470. return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
  90471. },
  90472. visitCssSupportsRule$body$_EvaluateVisitor0(node) {
  90473. var $async$goto = 0,
  90474. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90475. $async$self = this;
  90476. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90477. if ($async$errorCode === 1)
  90478. return A._asyncRethrow($async$result, $async$completer);
  90479. while (true)
  90480. switch ($async$goto) {
  90481. case 0:
  90482. // Function start
  90483. if ($async$self._async_evaluate0$_declarationName != null)
  90484. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  90485. $async$goto = 2;
  90486. 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);
  90487. case 2:
  90488. // returning from await.
  90489. // implicit return
  90490. return A._asyncReturn(null, $async$completer);
  90491. }
  90492. });
  90493. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  90494. },
  90495. _async_evaluate0$_handleReturn$1$2(list, callback) {
  90496. return this._handleReturn$body$_EvaluateVisitor0(list, callback);
  90497. },
  90498. _async_evaluate0$_handleReturn$2(list, callback) {
  90499. return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  90500. },
  90501. _handleReturn$body$_EvaluateVisitor0(list, callback) {
  90502. var $async$goto = 0,
  90503. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  90504. $async$returnValue, t1, _i, _0_0;
  90505. var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90506. if ($async$errorCode === 1)
  90507. return A._asyncRethrow($async$result, $async$completer);
  90508. while (true)
  90509. switch ($async$goto) {
  90510. case 0:
  90511. // Function start
  90512. t1 = list.length, _i = 0;
  90513. case 3:
  90514. // for condition
  90515. if (!(_i < list.length)) {
  90516. // goto after for
  90517. $async$goto = 5;
  90518. break;
  90519. }
  90520. $async$goto = 6;
  90521. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
  90522. case 6:
  90523. // returning from await.
  90524. _0_0 = $async$result;
  90525. if (_0_0 != null) {
  90526. $async$returnValue = _0_0;
  90527. // goto return
  90528. $async$goto = 1;
  90529. break;
  90530. }
  90531. case 4:
  90532. // for update
  90533. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  90534. // goto for condition
  90535. $async$goto = 3;
  90536. break;
  90537. case 5:
  90538. // after for
  90539. $async$returnValue = null;
  90540. // goto return
  90541. $async$goto = 1;
  90542. break;
  90543. case 1:
  90544. // return
  90545. return A._asyncReturn($async$returnValue, $async$completer);
  90546. }
  90547. });
  90548. return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
  90549. },
  90550. _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
  90551. return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
  90552. },
  90553. _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
  90554. var $async$goto = 0,
  90555. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  90556. $async$returnValue, $async$self = this, result, oldEnvironment;
  90557. var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90558. if ($async$errorCode === 1)
  90559. return A._asyncRethrow($async$result, $async$completer);
  90560. while (true)
  90561. switch ($async$goto) {
  90562. case 0:
  90563. // Function start
  90564. oldEnvironment = $async$self._async_evaluate0$_environment;
  90565. $async$self._async_evaluate0$_environment = environment;
  90566. $async$goto = 3;
  90567. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
  90568. case 3:
  90569. // returning from await.
  90570. result = $async$result;
  90571. $async$self._async_evaluate0$_environment = oldEnvironment;
  90572. $async$returnValue = result;
  90573. // goto return
  90574. $async$goto = 1;
  90575. break;
  90576. case 1:
  90577. // return
  90578. return A._asyncReturn($async$returnValue, $async$completer);
  90579. }
  90580. });
  90581. return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
  90582. },
  90583. _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  90584. return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
  90585. },
  90586. _async_evaluate0$_interpolationToValue$1(interpolation) {
  90587. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  90588. },
  90589. _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  90590. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  90591. },
  90592. _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
  90593. var $async$goto = 0,
  90594. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
  90595. $async$returnValue, $async$self = this, result, t1;
  90596. var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90597. if ($async$errorCode === 1)
  90598. return A._asyncRethrow($async$result, $async$completer);
  90599. while (true)
  90600. switch ($async$goto) {
  90601. case 0:
  90602. // Function start
  90603. $async$goto = 3;
  90604. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
  90605. case 3:
  90606. // returning from await.
  90607. result = $async$result;
  90608. t1 = trim ? A.trimAscii0(result, true) : result;
  90609. $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  90610. // goto return
  90611. $async$goto = 1;
  90612. break;
  90613. case 1:
  90614. // return
  90615. return A._asyncReturn($async$returnValue, $async$completer);
  90616. }
  90617. });
  90618. return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
  90619. },
  90620. _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  90621. return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
  90622. },
  90623. _async_evaluate0$_performInterpolation$1(interpolation) {
  90624. return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  90625. },
  90626. _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
  90627. var $async$goto = 0,
  90628. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  90629. $async$returnValue, $async$self = this;
  90630. var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90631. if ($async$errorCode === 1)
  90632. return A._asyncRethrow($async$result, $async$completer);
  90633. while (true)
  90634. switch ($async$goto) {
  90635. case 0:
  90636. // Function start
  90637. $async$goto = 3;
  90638. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate0$_performInterpolation$2$warnForColor);
  90639. case 3:
  90640. // returning from await.
  90641. $async$returnValue = $async$result._0;
  90642. // goto return
  90643. $async$goto = 1;
  90644. break;
  90645. case 1:
  90646. // return
  90647. return A._asyncReturn($async$returnValue, $async$completer);
  90648. }
  90649. });
  90650. return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
  90651. },
  90652. _async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  90653. return this._performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, true);
  90654. },
  90655. _performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, warnForColor) {
  90656. var $async$goto = 0,
  90657. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap_2),
  90658. $async$returnValue, $async$self = this, _0_0, result, map;
  90659. var $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90660. if ($async$errorCode === 1)
  90661. return A._asyncRethrow($async$result, $async$completer);
  90662. while (true)
  90663. switch ($async$goto) {
  90664. case 0:
  90665. // Function start
  90666. $async$goto = 3;
  90667. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor);
  90668. case 3:
  90669. // returning from await.
  90670. _0_0 = $async$result;
  90671. result = _0_0._0;
  90672. map = _0_0._1;
  90673. map.toString;
  90674. $async$returnValue = new A._Record_2(result, map);
  90675. // goto return
  90676. $async$goto = 1;
  90677. break;
  90678. case 1:
  90679. // return
  90680. return A._asyncReturn($async$returnValue, $async$completer);
  90681. }
  90682. });
  90683. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor, $async$completer);
  90684. },
  90685. _async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  90686. return this._performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor);
  90687. },
  90688. _performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor) {
  90689. var $async$goto = 0,
  90690. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap_2),
  90691. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, targetLocations, oldInSupportsDeclaration;
  90692. var $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90693. if ($async$errorCode === 1)
  90694. return A._asyncRethrow($async$result, $async$completer);
  90695. while (true)
  90696. switch ($async$goto) {
  90697. case 0:
  90698. // Function start
  90699. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  90700. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  90701. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  90702. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression_2, t4 = targetLocations == null, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = "";
  90703. case 3:
  90704. // for condition
  90705. if (!(_i < t2)) {
  90706. // goto after for
  90707. $async$goto = 5;
  90708. break;
  90709. }
  90710. value = t1[_i];
  90711. if (!first)
  90712. if (!t4)
  90713. targetLocations.push(A.SourceLocation$(t7.length, null, null, null));
  90714. if (typeof value == "string") {
  90715. t7 += value;
  90716. // goto for update
  90717. $async$goto = 4;
  90718. break;
  90719. }
  90720. t3._as(value);
  90721. $async$goto = 6;
  90722. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor);
  90723. case 6:
  90724. // returning from await.
  90725. result = $async$result;
  90726. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  90727. result0 = A.List_List$from([""], false, t6);
  90728. result0.$flags = 3;
  90729. t8 = $.$get$namesByColor0();
  90730. $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));
  90731. }
  90732. t7 += $async$self._async_evaluate0$_serialize$3$quote(result, value, false);
  90733. case 4:
  90734. // for update
  90735. ++_i, first = false;
  90736. // goto for condition
  90737. $async$goto = 3;
  90738. break;
  90739. case 5:
  90740. // after for
  90741. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  90742. $async$returnValue = new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure2(interpolation)));
  90743. // goto return
  90744. $async$goto = 1;
  90745. break;
  90746. case 1:
  90747. // return
  90748. return A._asyncReturn($async$returnValue, $async$completer);
  90749. }
  90750. });
  90751. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  90752. },
  90753. _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
  90754. return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
  90755. },
  90756. _async_evaluate0$_evaluateToCss$1(expression) {
  90757. return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
  90758. },
  90759. _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
  90760. var $async$goto = 0,
  90761. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  90762. $async$returnValue, $async$self = this, t1;
  90763. var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90764. if ($async$errorCode === 1)
  90765. return A._asyncRethrow($async$result, $async$completer);
  90766. while (true)
  90767. switch ($async$goto) {
  90768. case 0:
  90769. // Function start
  90770. t1 = expression.accept$1($async$self);
  90771. $async$goto = 3;
  90772. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$_async_evaluate0$_evaluateToCss$2$quote);
  90773. case 3:
  90774. // returning from await.
  90775. $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
  90776. // goto return
  90777. $async$goto = 1;
  90778. break;
  90779. case 1:
  90780. // return
  90781. return A._asyncReturn($async$returnValue, $async$completer);
  90782. }
  90783. });
  90784. return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
  90785. },
  90786. _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  90787. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
  90788. },
  90789. _async_evaluate0$_serialize$2(value, nodeWithSpan) {
  90790. return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  90791. },
  90792. _async_evaluate0$_expressionNode$1(expression) {
  90793. var t1;
  90794. if (expression instanceof A.VariableExpression0) {
  90795. t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
  90796. return t1 == null ? expression : t1;
  90797. } else
  90798. return expression;
  90799. },
  90800. _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  90801. return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
  90802. },
  90803. _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
  90804. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  90805. },
  90806. _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  90807. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  90808. },
  90809. _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
  90810. var $async$goto = 0,
  90811. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  90812. $async$returnValue, $async$self = this, oldParent, result;
  90813. var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90814. if ($async$errorCode === 1)
  90815. return A._asyncRethrow($async$result, $async$completer);
  90816. while (true)
  90817. switch ($async$goto) {
  90818. case 0:
  90819. // Function start
  90820. $async$self._async_evaluate0$_addChild$2$through(node, through);
  90821. oldParent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  90822. $async$self._async_evaluate0$__parent = node;
  90823. $async$goto = 3;
  90824. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
  90825. case 3:
  90826. // returning from await.
  90827. result = $async$result;
  90828. $async$self._async_evaluate0$__parent = oldParent;
  90829. $async$returnValue = result;
  90830. // goto return
  90831. $async$goto = 1;
  90832. break;
  90833. case 1:
  90834. // return
  90835. return A._asyncReturn($async$returnValue, $async$completer);
  90836. }
  90837. });
  90838. return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
  90839. },
  90840. _async_evaluate0$_addChild$2$through(node, through) {
  90841. var _0_0, grandparent, t1,
  90842. $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
  90843. if (through != null) {
  90844. for (; through.call$1($parent); $parent = _0_0) {
  90845. _0_0 = $parent._node$_parent;
  90846. if (_0_0 == null)
  90847. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  90848. }
  90849. if ($parent.get$hasFollowingSibling()) {
  90850. grandparent = $parent._node$_parent;
  90851. t1 = grandparent.children;
  90852. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  90853. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  90854. else {
  90855. $parent = $parent.copyWithoutChildren$0();
  90856. grandparent.addChild$1($parent);
  90857. }
  90858. }
  90859. }
  90860. $parent.addChild$1(node);
  90861. },
  90862. _async_evaluate0$_addChild$1(node) {
  90863. return this._async_evaluate0$_addChild$2$through(node, null);
  90864. },
  90865. _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
  90866. return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
  90867. },
  90868. _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
  90869. var $async$goto = 0,
  90870. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  90871. $async$returnValue, $async$self = this, result, oldRule;
  90872. var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90873. if ($async$errorCode === 1)
  90874. return A._asyncRethrow($async$result, $async$completer);
  90875. while (true)
  90876. switch ($async$goto) {
  90877. case 0:
  90878. // Function start
  90879. oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90880. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
  90881. $async$goto = 3;
  90882. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
  90883. case 3:
  90884. // returning from await.
  90885. result = $async$result;
  90886. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  90887. $async$returnValue = result;
  90888. // goto return
  90889. $async$goto = 1;
  90890. break;
  90891. case 1:
  90892. // return
  90893. return A._asyncReturn($async$returnValue, $async$completer);
  90894. }
  90895. });
  90896. return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
  90897. },
  90898. _async_evaluate0$_withMediaQueries$1$3(queries, sources, callback, $T) {
  90899. return this._withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $T);
  90900. },
  90901. _withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $async$type) {
  90902. var $async$goto = 0,
  90903. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  90904. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  90905. var $async$_async_evaluate0$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90906. if ($async$errorCode === 1)
  90907. return A._asyncRethrow($async$result, $async$completer);
  90908. while (true)
  90909. switch ($async$goto) {
  90910. case 0:
  90911. // Function start
  90912. oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
  90913. oldSources = $async$self._async_evaluate0$_mediaQuerySources;
  90914. $async$self._async_evaluate0$_mediaQueries = queries;
  90915. $async$self._async_evaluate0$_mediaQuerySources = sources;
  90916. $async$goto = 3;
  90917. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$3);
  90918. case 3:
  90919. // returning from await.
  90920. result = $async$result;
  90921. $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
  90922. $async$self._async_evaluate0$_mediaQuerySources = oldSources;
  90923. $async$returnValue = result;
  90924. // goto return
  90925. $async$goto = 1;
  90926. break;
  90927. case 1:
  90928. // return
  90929. return A._asyncReturn($async$returnValue, $async$completer);
  90930. }
  90931. });
  90932. return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$3, $async$completer);
  90933. },
  90934. _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  90935. return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
  90936. },
  90937. _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
  90938. var $async$goto = 0,
  90939. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  90940. $async$returnValue, $async$self = this, oldMember, result, t1;
  90941. var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90942. if ($async$errorCode === 1)
  90943. return A._asyncRethrow($async$result, $async$completer);
  90944. while (true)
  90945. switch ($async$goto) {
  90946. case 0:
  90947. // Function start
  90948. t1 = $async$self._async_evaluate0$_stack;
  90949. t1.push(new A._Record_2($async$self._async_evaluate0$_member, nodeWithSpan));
  90950. oldMember = $async$self._async_evaluate0$_member;
  90951. $async$self._async_evaluate0$_member = member;
  90952. $async$goto = 3;
  90953. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
  90954. case 3:
  90955. // returning from await.
  90956. result = $async$result;
  90957. $async$self._async_evaluate0$_member = oldMember;
  90958. t1.pop();
  90959. $async$returnValue = result;
  90960. // goto return
  90961. $async$goto = 1;
  90962. break;
  90963. case 1:
  90964. // return
  90965. return A._asyncReturn($async$returnValue, $async$completer);
  90966. }
  90967. });
  90968. return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
  90969. },
  90970. _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
  90971. var t1;
  90972. if (value instanceof A.SassNumber0)
  90973. t1 = value.asSlash != null;
  90974. else
  90975. t1 = false;
  90976. if (t1)
  90977. 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);
  90978. return value.withoutSlash$0();
  90979. },
  90980. _async_evaluate0$_stackFrame$2(member, span) {
  90981. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure2(this)));
  90982. },
  90983. _async_evaluate0$_stackTrace$1(span) {
  90984. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  90985. t1 = A._setArrayType([], type$.JSArray_Frame);
  90986. for (t2 = _this._async_evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  90987. t4 = t2[_i];
  90988. nodeWithSpan = t4._1;
  90989. t1.push(_this._async_evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  90990. }
  90991. if (span != null)
  90992. t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
  90993. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  90994. },
  90995. _async_evaluate0$_stackTrace$0() {
  90996. return this._async_evaluate0$_stackTrace$1(null);
  90997. },
  90998. _async_evaluate0$_warn$3(message, span, deprecation) {
  90999. var trace, t1, _this = this;
  91000. if (_this._async_evaluate0$_quietDeps && _this._async_evaluate0$_inDependency)
  91001. return;
  91002. if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  91003. return;
  91004. trace = _this._async_evaluate0$_stackTrace$1(span);
  91005. t1 = _this._async_evaluate0$_logger;
  91006. if (deprecation == null)
  91007. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  91008. else
  91009. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  91010. },
  91011. _async_evaluate0$_warn$2(message, span) {
  91012. return this._async_evaluate0$_warn$3(message, span, null);
  91013. },
  91014. _async_evaluate0$_exception$2(message, span) {
  91015. var t1, t2;
  91016. if (span == null) {
  91017. t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  91018. t1 = t1.get$span(t1);
  91019. } else
  91020. t1 = span;
  91021. t2 = this._async_evaluate0$_stackTrace$1(span);
  91022. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  91023. },
  91024. _async_evaluate0$_exception$1(message) {
  91025. return this._async_evaluate0$_exception$2(message, null);
  91026. },
  91027. _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  91028. var t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  91029. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate0$_stackTrace$0(), null);
  91030. },
  91031. _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  91032. var error, stackTrace, t1, exception,
  91033. addStackFrame = true;
  91034. try {
  91035. t1 = callback.call$0();
  91036. return t1;
  91037. } catch (exception) {
  91038. t1 = A.unwrapException(exception);
  91039. if (t1 instanceof A.SassScriptException0) {
  91040. error = t1;
  91041. stackTrace = A.getTraceFromException(exception);
  91042. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  91043. A.throwWithTrace0(t1.withTrace$1(this._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  91044. } else
  91045. throw exception;
  91046. }
  91047. },
  91048. _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  91049. return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  91050. },
  91051. _async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  91052. return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $T);
  91053. },
  91054. _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  91055. return this._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  91056. },
  91057. _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  91058. var $async$goto = 0,
  91059. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91060. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  91061. var $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91062. if ($async$errorCode === 1) {
  91063. $async$errorStack.push($async$result);
  91064. $async$goto = $async$handler;
  91065. }
  91066. while (true)
  91067. switch ($async$goto) {
  91068. case 0:
  91069. // Function start
  91070. $async$handler = 4;
  91071. t1 = callback.call$0();
  91072. $async$goto = 7;
  91073. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame);
  91074. case 7:
  91075. // returning from await.
  91076. t1 = $async$result;
  91077. $async$returnValue = t1;
  91078. // goto return
  91079. $async$goto = 1;
  91080. break;
  91081. $async$handler = 2;
  91082. // goto after finally
  91083. $async$goto = 6;
  91084. break;
  91085. case 4:
  91086. // catch
  91087. $async$handler = 3;
  91088. $async$exception = $async$errorStack.pop();
  91089. t1 = A.unwrapException($async$exception);
  91090. if (t1 instanceof A.SassScriptException0) {
  91091. error = t1;
  91092. stackTrace = A.getTraceFromException($async$exception);
  91093. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  91094. A.throwWithTrace0(t1.withTrace$1($async$self._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  91095. } else
  91096. throw $async$exception;
  91097. // goto after finally
  91098. $async$goto = 6;
  91099. break;
  91100. case 3:
  91101. // uncaught
  91102. // goto rethrow
  91103. $async$goto = 2;
  91104. break;
  91105. case 6:
  91106. // after finally
  91107. case 1:
  91108. // return
  91109. return A._asyncReturn($async$returnValue, $async$completer);
  91110. case 2:
  91111. // rethrow
  91112. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91113. }
  91114. });
  91115. return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  91116. },
  91117. _async_evaluate0$_addExceptionTrace$1$1(callback, $T) {
  91118. return this._addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $T);
  91119. },
  91120. _addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $async$type) {
  91121. var $async$goto = 0,
  91122. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91123. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  91124. var $async$_async_evaluate0$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91125. if ($async$errorCode === 1) {
  91126. $async$errorStack.push($async$result);
  91127. $async$goto = $async$handler;
  91128. }
  91129. while (true)
  91130. switch ($async$goto) {
  91131. case 0:
  91132. // Function start
  91133. $async$handler = 4;
  91134. t1 = callback.call$0();
  91135. $async$goto = 7;
  91136. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionTrace$1$1);
  91137. case 7:
  91138. // returning from await.
  91139. t1 = $async$result;
  91140. $async$returnValue = t1;
  91141. // goto return
  91142. $async$goto = 1;
  91143. break;
  91144. $async$handler = 2;
  91145. // goto after finally
  91146. $async$goto = 6;
  91147. break;
  91148. case 4:
  91149. // catch
  91150. $async$handler = 3;
  91151. $async$exception = $async$errorStack.pop();
  91152. t1 = A.unwrapException($async$exception);
  91153. if (type$.SassRuntimeException_2._is(t1))
  91154. throw $async$exception;
  91155. else if (t1 instanceof A.SassException0) {
  91156. error = t1;
  91157. stackTrace = A.getTraceFromException($async$exception);
  91158. t1 = error;
  91159. t2 = J.getInterceptor$z(t1);
  91160. A.throwWithTrace0(error.withTrace$1($async$self._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  91161. } else
  91162. throw $async$exception;
  91163. // goto after finally
  91164. $async$goto = 6;
  91165. break;
  91166. case 3:
  91167. // uncaught
  91168. // goto rethrow
  91169. $async$goto = 2;
  91170. break;
  91171. case 6:
  91172. // after finally
  91173. case 1:
  91174. // return
  91175. return A._asyncReturn($async$returnValue, $async$completer);
  91176. case 2:
  91177. // rethrow
  91178. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91179. }
  91180. });
  91181. return A._asyncStartSync($async$_async_evaluate0$_addExceptionTrace$1$1, $async$completer);
  91182. },
  91183. _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  91184. return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
  91185. },
  91186. _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
  91187. var $async$goto = 0,
  91188. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91189. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  91190. var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91191. if ($async$errorCode === 1) {
  91192. $async$errorStack.push($async$result);
  91193. $async$goto = $async$handler;
  91194. }
  91195. while (true)
  91196. switch ($async$goto) {
  91197. case 0:
  91198. // Function start
  91199. $async$handler = 4;
  91200. $async$goto = 7;
  91201. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
  91202. case 7:
  91203. // returning from await.
  91204. t1 = $async$result;
  91205. $async$returnValue = t1;
  91206. // goto return
  91207. $async$goto = 1;
  91208. break;
  91209. $async$handler = 2;
  91210. // goto after finally
  91211. $async$goto = 6;
  91212. break;
  91213. case 4:
  91214. // catch
  91215. $async$handler = 3;
  91216. $async$exception = $async$errorStack.pop();
  91217. t1 = A.unwrapException($async$exception);
  91218. if (type$.SassRuntimeException_2._is(t1)) {
  91219. error = t1;
  91220. stackTrace = A.getTraceFromException($async$exception);
  91221. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  91222. throw $async$exception;
  91223. t1 = error._span_exception$_message;
  91224. t2 = nodeWithSpan.get$span(nodeWithSpan);
  91225. t3 = $async$self._async_evaluate0$_stackTrace$0();
  91226. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  91227. } else
  91228. throw $async$exception;
  91229. // goto after finally
  91230. $async$goto = 6;
  91231. break;
  91232. case 3:
  91233. // uncaught
  91234. // goto rethrow
  91235. $async$goto = 2;
  91236. break;
  91237. case 6:
  91238. // after finally
  91239. case 1:
  91240. // return
  91241. return A._asyncReturn($async$returnValue, $async$completer);
  91242. case 2:
  91243. // rethrow
  91244. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91245. }
  91246. });
  91247. return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
  91248. },
  91249. _async_evaluate0$_getErrorMessage$1(error) {
  91250. var t1, exception;
  91251. if (type$.Error._is(error))
  91252. return error.toString$0(0);
  91253. try {
  91254. t1 = A._asString(J.get$message$x(error));
  91255. return t1;
  91256. } catch (exception) {
  91257. t1 = J.toString$0$(error);
  91258. return t1;
  91259. }
  91260. },
  91261. $isExpressionVisitor: 1,
  91262. $isStatementVisitor: 1
  91263. };
  91264. A._EvaluateVisitor_closure38.prototype = {
  91265. call$1($arguments) {
  91266. var module, t2,
  91267. t1 = J.getInterceptor$asx($arguments),
  91268. variable = t1.$index($arguments, 0).assertString$1("name");
  91269. t1 = t1.$index($arguments, 1).get$realNull();
  91270. module = t1 == null ? null : t1.assertString$1("module");
  91271. t1 = this.$this._async_evaluate0$_environment;
  91272. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  91273. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91274. },
  91275. $signature: 11
  91276. };
  91277. A._EvaluateVisitor_closure39.prototype = {
  91278. call$1($arguments) {
  91279. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  91280. t1 = this.$this._async_evaluate0$_environment;
  91281. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91282. },
  91283. $signature: 11
  91284. };
  91285. A._EvaluateVisitor_closure40.prototype = {
  91286. call$1($arguments) {
  91287. var module, t2, t3, t4,
  91288. t1 = J.getInterceptor$asx($arguments),
  91289. variable = t1.$index($arguments, 0).assertString$1("name");
  91290. t1 = t1.$index($arguments, 1).get$realNull();
  91291. module = t1 == null ? null : t1.assertString$1("module");
  91292. t1 = this.$this;
  91293. t2 = t1._async_evaluate0$_environment;
  91294. t3 = variable._string0$_text;
  91295. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  91296. 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;
  91297. },
  91298. $signature: 11
  91299. };
  91300. A._EvaluateVisitor_closure41.prototype = {
  91301. call$1($arguments) {
  91302. var module, t2,
  91303. t1 = J.getInterceptor$asx($arguments),
  91304. variable = t1.$index($arguments, 0).assertString$1("name");
  91305. t1 = t1.$index($arguments, 1).get$realNull();
  91306. module = t1 == null ? null : t1.assertString$1("module");
  91307. t1 = this.$this._async_evaluate0$_environment;
  91308. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  91309. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91310. },
  91311. $signature: 11
  91312. };
  91313. A._EvaluateVisitor_closure42.prototype = {
  91314. call$1($arguments) {
  91315. var t1 = this.$this._async_evaluate0$_environment;
  91316. if (!t1._async_environment0$_inMixin)
  91317. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  91318. return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91319. },
  91320. $signature: 11
  91321. };
  91322. A._EvaluateVisitor_closure43.prototype = {
  91323. call$1($arguments) {
  91324. var t2, t3, t4,
  91325. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  91326. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  91327. if (module == null)
  91328. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  91329. t1 = type$.Value_2;
  91330. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  91331. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  91332. t4 = t3.get$current(t3);
  91333. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  91334. }
  91335. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  91336. },
  91337. $signature: 34
  91338. };
  91339. A._EvaluateVisitor_closure44.prototype = {
  91340. call$1($arguments) {
  91341. var t2, t3, t4,
  91342. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  91343. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  91344. if (module == null)
  91345. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  91346. t1 = type$.Value_2;
  91347. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  91348. for (t3 = A.MapExtensions_get_pairs0(module.get$functions(module), type$.String, type$.AsyncCallable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  91349. t4 = t3.get$current(t3);
  91350. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassFunction0(t4._1));
  91351. }
  91352. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  91353. },
  91354. $signature: 34
  91355. };
  91356. A._EvaluateVisitor_closure45.prototype = {
  91357. call$1($arguments) {
  91358. var t2, t3, t4,
  91359. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  91360. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  91361. if (module == null)
  91362. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  91363. t1 = type$.Value_2;
  91364. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  91365. for (t3 = A.MapExtensions_get_pairs0(module.get$mixins(), type$.String, type$.AsyncCallable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  91366. t4 = t3.get$current(t3);
  91367. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassMixin0(t4._1));
  91368. }
  91369. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  91370. },
  91371. $signature: 34
  91372. };
  91373. A._EvaluateVisitor_closure46.prototype = {
  91374. call$1($arguments) {
  91375. var module, t2, callable,
  91376. t1 = J.getInterceptor$asx($arguments),
  91377. $name = t1.$index($arguments, 0).assertString$1("name"),
  91378. css = t1.$index($arguments, 1).get$isTruthy();
  91379. t1 = t1.$index($arguments, 2).get$realNull();
  91380. module = t1 == null ? null : t1.assertString$1("module");
  91381. if (css) {
  91382. if (module != null)
  91383. throw A.wrapException(string$.x24css_a);
  91384. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text));
  91385. }
  91386. t1 = this.$this;
  91387. t2 = t1._async_evaluate0$_callableNode;
  91388. t2.toString;
  91389. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure14(t1, $name, module));
  91390. if (callable == null)
  91391. throw A.wrapException("Function not found: " + $name.toString$0(0));
  91392. return new A.SassFunction0(callable);
  91393. },
  91394. $signature: 250
  91395. };
  91396. A._EvaluateVisitor__closure14.prototype = {
  91397. call$0() {
  91398. var local,
  91399. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  91400. t1 = this.module,
  91401. namespace = t1 == null ? null : t1._string0$_text;
  91402. t1 = this.$this;
  91403. local = t1._async_evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  91404. if (local != null || namespace != null)
  91405. return local;
  91406. return t1._async_evaluate0$_builtInFunctions.$index(0, normalizedName);
  91407. },
  91408. $signature: 97
  91409. };
  91410. A._EvaluateVisitor_closure47.prototype = {
  91411. call$1($arguments) {
  91412. var module, t2, callable,
  91413. t1 = J.getInterceptor$asx($arguments),
  91414. $name = t1.$index($arguments, 0).assertString$1("name");
  91415. t1 = t1.$index($arguments, 1).get$realNull();
  91416. module = t1 == null ? null : t1.assertString$1("module");
  91417. t1 = this.$this;
  91418. t2 = t1._async_evaluate0$_callableNode;
  91419. t2.toString;
  91420. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure13(t1, $name, module));
  91421. if (callable == null)
  91422. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  91423. return new A.SassMixin0(callable);
  91424. },
  91425. $signature: 248
  91426. };
  91427. A._EvaluateVisitor__closure13.prototype = {
  91428. call$0() {
  91429. var t1 = this.$this._async_evaluate0$_environment,
  91430. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  91431. t3 = this.module;
  91432. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  91433. },
  91434. $signature: 97
  91435. };
  91436. A._EvaluateVisitor_closure48.prototype = {
  91437. call$1($arguments) {
  91438. return this.$call$body$_EvaluateVisitor_closure4($arguments);
  91439. },
  91440. $call$body$_EvaluateVisitor_closure4($arguments) {
  91441. var $async$goto = 0,
  91442. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  91443. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  91444. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91445. if ($async$errorCode === 1)
  91446. return A._asyncRethrow($async$result, $async$completer);
  91447. while (true)
  91448. switch ($async$goto) {
  91449. case 0:
  91450. // Function start
  91451. t1 = J.getInterceptor$asx($arguments);
  91452. $function = t1.$index($arguments, 0);
  91453. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  91454. t1 = $async$self.$this;
  91455. t2 = t1._async_evaluate0$_callableNode;
  91456. t2.toString;
  91457. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  91458. t4 = type$.String;
  91459. t5 = type$.Expression_2;
  91460. t6 = t2.get$span(t2);
  91461. t7 = t2.get$span(t2);
  91462. args._argument_list$_wereKeywordsAccessed = true;
  91463. t8 = args._argument_list$_keywords;
  91464. if (t8.get$isEmpty(t8))
  91465. t2 = null;
  91466. else {
  91467. t9 = type$.Value_2;
  91468. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  91469. args._argument_list$_wereKeywordsAccessed = true;
  91470. t8 = A.MapExtensions_get_pairs0(t8, t4, t9);
  91471. t8 = t8.get$iterator(t8);
  91472. for (; t8.moveNext$0();) {
  91473. t11 = t8.get$current(t8);
  91474. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  91475. }
  91476. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  91477. }
  91478. 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);
  91479. $async$goto = $function instanceof A.SassString0 ? 3 : 4;
  91480. break;
  91481. case 3:
  91482. // then
  91483. A.warnForDeprecation0(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_aM0);
  91484. callableNode = t1._async_evaluate0$_callableNode;
  91485. t2 = $function._string0$_text;
  91486. t3 = callableNode.get$span(callableNode);
  91487. t1 = t1.visitFunctionExpression$1(0, new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  91488. $async$goto = 5;
  91489. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$1);
  91490. case 5:
  91491. // returning from await.
  91492. $async$returnValue = $async$result;
  91493. // goto return
  91494. $async$goto = 1;
  91495. break;
  91496. case 4:
  91497. // join
  91498. t2 = $function.assertFunction$1("function");
  91499. t3 = t1._async_evaluate0$_callableNode;
  91500. t3.toString;
  91501. $async$goto = 6;
  91502. return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  91503. case 6:
  91504. // returning from await.
  91505. t3 = $async$result;
  91506. $async$returnValue = t3;
  91507. // goto return
  91508. $async$goto = 1;
  91509. break;
  91510. case 1:
  91511. // return
  91512. return A._asyncReturn($async$returnValue, $async$completer);
  91513. }
  91514. });
  91515. return A._asyncStartSync($async$call$1, $async$completer);
  91516. },
  91517. $signature: 86
  91518. };
  91519. A._EvaluateVisitor_closure49.prototype = {
  91520. call$1($arguments) {
  91521. return this.$call$body$_EvaluateVisitor_closure3($arguments);
  91522. },
  91523. $call$body$_EvaluateVisitor_closure3($arguments) {
  91524. var $async$goto = 0,
  91525. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  91526. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  91527. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91528. if ($async$errorCode === 1)
  91529. return A._asyncRethrow($async$result, $async$completer);
  91530. while (true)
  91531. switch ($async$goto) {
  91532. case 0:
  91533. // Function start
  91534. t1 = J.getInterceptor$asx($arguments);
  91535. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  91536. t1 = t1.$index($arguments, 1).get$realNull();
  91537. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  91538. t1 = $async$self.$this;
  91539. t2 = t1._async_evaluate0$_callableNode;
  91540. t2.toString;
  91541. if (withMap != null) {
  91542. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  91543. withMap.forEach$1(0, new A._EvaluateVisitor__closure11(values, t2.get$span(t2), t2));
  91544. configuration = new A.ExplicitConfiguration0(t2, values, null);
  91545. } else
  91546. configuration = B.Configuration_Map_empty_null0;
  91547. t3 = t2.get$span(t2);
  91548. $async$goto = 2;
  91549. 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);
  91550. case 2:
  91551. // returning from await.
  91552. t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  91553. // implicit return
  91554. return A._asyncReturn(null, $async$completer);
  91555. }
  91556. });
  91557. return A._asyncStartSync($async$call$1, $async$completer);
  91558. },
  91559. $signature: 247
  91560. };
  91561. A._EvaluateVisitor__closure11.prototype = {
  91562. call$2(variable, value) {
  91563. var t1 = variable.assertString$1("with key"),
  91564. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  91565. t1 = this.values;
  91566. if (t1.containsKey$1($name))
  91567. throw A.wrapException("The variable $" + $name + " was configured twice.");
  91568. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  91569. },
  91570. $signature: 98
  91571. };
  91572. A._EvaluateVisitor__closure12.prototype = {
  91573. call$2(module, _) {
  91574. var t1 = this.$this;
  91575. return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  91576. },
  91577. $signature: 326
  91578. };
  91579. A._EvaluateVisitor_closure50.prototype = {
  91580. call$1($arguments) {
  91581. return this.$call$body$_EvaluateVisitor_closure2($arguments);
  91582. },
  91583. $call$body$_EvaluateVisitor_closure2($arguments) {
  91584. var $async$goto = 0,
  91585. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  91586. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  91587. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91588. if ($async$errorCode === 1)
  91589. return A._asyncRethrow($async$result, $async$completer);
  91590. while (true)
  91591. switch ($async$goto) {
  91592. case 0:
  91593. // Function start
  91594. t1 = J.getInterceptor$asx($arguments);
  91595. mixin = t1.$index($arguments, 0);
  91596. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  91597. t1 = $async$self.$this;
  91598. callableNode = t1._async_evaluate0$_callableNode;
  91599. t2 = callableNode.get$span(callableNode);
  91600. t3 = callableNode.get$span(callableNode);
  91601. t4 = type$.Expression_2;
  91602. t5 = A.List_List$unmodifiable(B.List_empty21, t4);
  91603. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  91604. $async$goto = 2;
  91605. return A._asyncAwait(t1._async_evaluate0$_applyMixin$5(mixin.assertMixin$1("mixin").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);
  91606. case 2:
  91607. // returning from await.
  91608. // implicit return
  91609. return A._asyncReturn(null, $async$completer);
  91610. }
  91611. });
  91612. return A._asyncStartSync($async$call$1, $async$completer);
  91613. },
  91614. $signature: 247
  91615. };
  91616. A._EvaluateVisitor_run_closure2.prototype = {
  91617. call$0() {
  91618. var $async$goto = 0,
  91619. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  91620. $async$returnValue, $async$self = this, module, t2, t1, _0_0, url;
  91621. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91622. if ($async$errorCode === 1)
  91623. return A._asyncRethrow($async$result, $async$completer);
  91624. while (true)
  91625. switch ($async$goto) {
  91626. case 0:
  91627. // Function start
  91628. t1 = $async$self.node;
  91629. _0_0 = t1.span.file.url;
  91630. url = null;
  91631. if (_0_0 != null) {
  91632. url = _0_0;
  91633. t2 = $async$self.$this;
  91634. t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
  91635. if (!(t2._async_evaluate0$_nodeImporter != null && J.toString$0$(url) === "stdin"))
  91636. t2._async_evaluate0$_loadedUrls.add$1(0, url);
  91637. }
  91638. t2 = $async$self.$this;
  91639. $async$goto = 3;
  91640. 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);
  91641. case 3:
  91642. // returning from await.
  91643. module = $async$result;
  91644. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate0$_loadedUrls, t2._async_evaluate0$_combineCss$1(module));
  91645. // goto return
  91646. $async$goto = 1;
  91647. break;
  91648. case 1:
  91649. // return
  91650. return A._asyncReturn($async$returnValue, $async$completer);
  91651. }
  91652. });
  91653. return A._asyncStartSync($async$call$0, $async$completer);
  91654. },
  91655. $signature: 327
  91656. };
  91657. A._EvaluateVisitor_run__closure2.prototype = {
  91658. call$0() {
  91659. return this.$this._async_evaluate0$_execute$2(this.importer, this.node);
  91660. },
  91661. $signature: 328
  91662. };
  91663. A._EvaluateVisitor__loadModule_closure5.prototype = {
  91664. call$0() {
  91665. return this.callback.call$2(this._box_0.builtInModule, false);
  91666. },
  91667. $signature: 0
  91668. };
  91669. A._EvaluateVisitor__loadModule_closure6.prototype = {
  91670. call$0() {
  91671. return this.$call$body$_EvaluateVisitor__loadModule_closure0();
  91672. },
  91673. $call$body$_EvaluateVisitor__loadModule_closure0() {
  91674. var $async$goto = 0,
  91675. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  91676. $async$handler = 1, $async$errorStack = [], $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  91677. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91678. if ($async$errorCode === 1) {
  91679. $async$errorStack.push($async$result);
  91680. $async$goto = $async$handler;
  91681. }
  91682. while (true)
  91683. switch ($async$goto) {
  91684. case 0:
  91685. // Function start
  91686. t1 = {};
  91687. stylesheet = null;
  91688. importer = null;
  91689. t2 = $async$self.$this;
  91690. t3 = $async$self.nodeWithSpan;
  91691. $async$goto = 2;
  91692. 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);
  91693. case 2:
  91694. // returning from await.
  91695. _1_0 = $async$result;
  91696. stylesheet = _1_0._0;
  91697. importer = _1_0._1;
  91698. isDependency = _1_0._2;
  91699. canonicalUrl = stylesheet.span.file.url;
  91700. if (canonicalUrl != null) {
  91701. t4 = t2._async_evaluate0$_activeModules;
  91702. if (t4.containsKey$1(canonicalUrl)) {
  91703. if ($async$self.namesInErrors) {
  91704. t1 = canonicalUrl;
  91705. t3 = $.$get$context();
  91706. t1.toString;
  91707. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  91708. } else
  91709. message = string$.Modulel;
  91710. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure5(t2, message));
  91711. throw A.wrapException(t1 == null ? t2._async_evaluate0$_exception$1(message) : t1);
  91712. } else
  91713. t4.$indexSet(0, canonicalUrl, t3);
  91714. }
  91715. t4 = t2._async_evaluate0$_modules.containsKey$1(canonicalUrl);
  91716. oldInDependency = t2._async_evaluate0$_inDependency;
  91717. t2._async_evaluate0$_inDependency = isDependency;
  91718. t1.module = null;
  91719. $async$handler = 3;
  91720. $async$temp1 = t1;
  91721. $async$goto = 6;
  91722. return A._asyncAwait(t2._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  91723. case 6:
  91724. // returning from await.
  91725. $async$temp1.module = $async$result;
  91726. $async$next.push(5);
  91727. // goto finally
  91728. $async$goto = 4;
  91729. break;
  91730. case 3:
  91731. // uncaught
  91732. $async$next = [1];
  91733. case 4:
  91734. // finally
  91735. $async$handler = 1;
  91736. t2._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
  91737. t2._async_evaluate0$_inDependency = oldInDependency;
  91738. // goto the next finally handler
  91739. $async$goto = $async$next.pop();
  91740. break;
  91741. case 5:
  91742. // after finally
  91743. $async$goto = 7;
  91744. 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);
  91745. case 7:
  91746. // returning from await.
  91747. // implicit return
  91748. return A._asyncReturn(null, $async$completer);
  91749. case 1:
  91750. // rethrow
  91751. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91752. }
  91753. });
  91754. return A._asyncStartSync($async$call$0, $async$completer);
  91755. },
  91756. $signature: 2
  91757. };
  91758. A._EvaluateVisitor__loadModule__closure5.prototype = {
  91759. call$1(previousLoad) {
  91760. 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));
  91761. },
  91762. $signature: 99
  91763. };
  91764. A._EvaluateVisitor__loadModule__closure6.prototype = {
  91765. call$0() {
  91766. return this.callback.call$2(this._box_1.module, this.firstLoad);
  91767. },
  91768. $signature: 0
  91769. };
  91770. A._EvaluateVisitor__execute_closure2.prototype = {
  91771. call$0() {
  91772. var $async$goto = 0,
  91773. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  91774. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  91775. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91776. if ($async$errorCode === 1)
  91777. return A._asyncRethrow($async$result, $async$completer);
  91778. while (true)
  91779. switch ($async$goto) {
  91780. case 0:
  91781. // Function start
  91782. t1 = $async$self.$this;
  91783. oldImporter = t1._async_evaluate0$_importer;
  91784. oldStylesheet = t1._async_evaluate0$__stylesheet;
  91785. oldRoot = t1._async_evaluate0$__root;
  91786. oldPreModuleComments = t1._async_evaluate0$_preModuleComments;
  91787. oldParent = t1._async_evaluate0$__parent;
  91788. oldEndOfImports = t1._async_evaluate0$__endOfImports;
  91789. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  91790. oldExtensionStore = t1._async_evaluate0$__extensionStore;
  91791. t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
  91792. oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  91793. oldMediaQueries = t1._async_evaluate0$_mediaQueries;
  91794. oldDeclarationName = t1._async_evaluate0$_declarationName;
  91795. oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  91796. oldInKeyframes = t1._async_evaluate0$_inKeyframes;
  91797. oldConfiguration = t1._async_evaluate0$_configuration;
  91798. t1._async_evaluate0$_importer = $async$self.importer;
  91799. t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  91800. t4 = t3.span;
  91801. t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  91802. t1._async_evaluate0$__endOfImports = 0;
  91803. t1._async_evaluate0$_outOfOrderImports = null;
  91804. t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
  91805. t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  91806. t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
  91807. t6 = $async$self.configuration;
  91808. if (t6 != null)
  91809. t1._async_evaluate0$_configuration = t6;
  91810. $async$goto = 2;
  91811. return A._asyncAwait(t1.visitStylesheet$1(0, t3), $async$call$0);
  91812. case 2:
  91813. // returning from await.
  91814. t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  91815. $async$self.css.__late_helper$_value = t3;
  91816. $async$self.preModuleComments.__late_helper$_value = t1._async_evaluate0$_preModuleComments;
  91817. t1._async_evaluate0$_importer = oldImporter;
  91818. t1._async_evaluate0$__stylesheet = oldStylesheet;
  91819. t1._async_evaluate0$__root = oldRoot;
  91820. t1._async_evaluate0$_preModuleComments = oldPreModuleComments;
  91821. t1._async_evaluate0$__parent = oldParent;
  91822. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  91823. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  91824. t1._async_evaluate0$__extensionStore = oldExtensionStore;
  91825. t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  91826. t1._async_evaluate0$_mediaQueries = oldMediaQueries;
  91827. t1._async_evaluate0$_declarationName = oldDeclarationName;
  91828. t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  91829. t1._async_evaluate0$_atRootExcludingStyleRule = t2;
  91830. t1._async_evaluate0$_inKeyframes = oldInKeyframes;
  91831. t1._async_evaluate0$_configuration = oldConfiguration;
  91832. // implicit return
  91833. return A._asyncReturn(null, $async$completer);
  91834. }
  91835. });
  91836. return A._asyncStartSync($async$call$0, $async$completer);
  91837. },
  91838. $signature: 2
  91839. };
  91840. A._EvaluateVisitor__combineCss_closure5.prototype = {
  91841. call$1(module) {
  91842. return module.get$transitivelyContainsCss();
  91843. },
  91844. $signature: 115
  91845. };
  91846. A._EvaluateVisitor__combineCss_closure6.prototype = {
  91847. call$1(target) {
  91848. return !this.selectors.contains$1(0, target);
  91849. },
  91850. $signature: 14
  91851. };
  91852. A._EvaluateVisitor__combineCss_visitModule2.prototype = {
  91853. call$1(module) {
  91854. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  91855. if (!_this.seen.add$1(0, module))
  91856. return;
  91857. if (_this.clone)
  91858. module = module.cloneCss$0();
  91859. 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) {
  91860. upstream = t1[_i];
  91861. if (upstream.get$transitivelyContainsCss()) {
  91862. _1_0 = module.get$preModuleComments().$index(0, upstream);
  91863. if (_1_0 != null)
  91864. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  91865. _this.call$1(upstream);
  91866. }
  91867. }
  91868. _this.sorted.addFirst$1(module);
  91869. t1 = module.get$css(module);
  91870. statements = t1.get$children(t1);
  91871. index = _this.$this._async_evaluate0$_indexAfterImports$1(statements);
  91872. t1 = J.getInterceptor$ax(statements);
  91873. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  91874. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  91875. },
  91876. $signature: 330
  91877. };
  91878. A._EvaluateVisitor__extendModules_closure5.prototype = {
  91879. call$1(target) {
  91880. return !this.originalSelectors.contains$1(0, target);
  91881. },
  91882. $signature: 14
  91883. };
  91884. A._EvaluateVisitor__extendModules_closure6.prototype = {
  91885. call$0() {
  91886. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  91887. },
  91888. $signature: 245
  91889. };
  91890. A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
  91891. call$0() {
  91892. var $async$goto = 0,
  91893. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  91894. $async$self = this, t1, t2, t3, _i;
  91895. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91896. if ($async$errorCode === 1)
  91897. return A._asyncRethrow($async$result, $async$completer);
  91898. while (true)
  91899. switch ($async$goto) {
  91900. case 0:
  91901. // Function start
  91902. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  91903. case 2:
  91904. // for condition
  91905. if (!(_i < t2)) {
  91906. // goto after for
  91907. $async$goto = 4;
  91908. break;
  91909. }
  91910. $async$goto = 5;
  91911. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  91912. case 5:
  91913. // returning from await.
  91914. case 3:
  91915. // for update
  91916. ++_i;
  91917. // goto for condition
  91918. $async$goto = 2;
  91919. break;
  91920. case 4:
  91921. // after for
  91922. // implicit return
  91923. return A._asyncReturn(null, $async$completer);
  91924. }
  91925. });
  91926. return A._asyncStartSync($async$call$0, $async$completer);
  91927. },
  91928. $signature: 2
  91929. };
  91930. A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
  91931. call$0() {
  91932. var $async$goto = 0,
  91933. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  91934. $async$self = this, t1, t2, t3, _i;
  91935. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91936. if ($async$errorCode === 1)
  91937. return A._asyncRethrow($async$result, $async$completer);
  91938. while (true)
  91939. switch ($async$goto) {
  91940. case 0:
  91941. // Function start
  91942. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  91943. case 2:
  91944. // for condition
  91945. if (!(_i < t2)) {
  91946. // goto after for
  91947. $async$goto = 4;
  91948. break;
  91949. }
  91950. $async$goto = 5;
  91951. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  91952. case 5:
  91953. // returning from await.
  91954. case 3:
  91955. // for update
  91956. ++_i;
  91957. // goto for condition
  91958. $async$goto = 2;
  91959. break;
  91960. case 4:
  91961. // after for
  91962. // implicit return
  91963. return A._asyncReturn(null, $async$completer);
  91964. }
  91965. });
  91966. return A._asyncStartSync($async$call$0, $async$completer);
  91967. },
  91968. $signature: 31
  91969. };
  91970. A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
  91971. call$1(callback) {
  91972. var $async$goto = 0,
  91973. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  91974. $async$self = this, t1, oldParent;
  91975. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91976. if ($async$errorCode === 1)
  91977. return A._asyncRethrow($async$result, $async$completer);
  91978. while (true)
  91979. switch ($async$goto) {
  91980. case 0:
  91981. // Function start
  91982. t1 = $async$self.$this;
  91983. oldParent = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  91984. t1._async_evaluate0$__parent = $async$self.newParent;
  91985. $async$goto = 2;
  91986. return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  91987. case 2:
  91988. // returning from await.
  91989. t1._async_evaluate0$__parent = oldParent;
  91990. // implicit return
  91991. return A._asyncReturn(null, $async$completer);
  91992. }
  91993. });
  91994. return A._asyncStartSync($async$call$1, $async$completer);
  91995. },
  91996. $signature: 39
  91997. };
  91998. A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
  91999. call$1(callback) {
  92000. var $async$goto = 0,
  92001. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92002. $async$self = this, t1, oldAtRootExcludingStyleRule;
  92003. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92004. if ($async$errorCode === 1)
  92005. return A._asyncRethrow($async$result, $async$completer);
  92006. while (true)
  92007. switch ($async$goto) {
  92008. case 0:
  92009. // Function start
  92010. t1 = $async$self.$this;
  92011. oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
  92012. t1._async_evaluate0$_atRootExcludingStyleRule = true;
  92013. $async$goto = 2;
  92014. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92015. case 2:
  92016. // returning from await.
  92017. t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  92018. // implicit return
  92019. return A._asyncReturn(null, $async$completer);
  92020. }
  92021. });
  92022. return A._asyncStartSync($async$call$1, $async$completer);
  92023. },
  92024. $signature: 39
  92025. };
  92026. A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
  92027. call$1(callback) {
  92028. return this.$this._async_evaluate0$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
  92029. },
  92030. $signature: 39
  92031. };
  92032. A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
  92033. call$0() {
  92034. return this.innerScope.call$1(this.callback);
  92035. },
  92036. $signature: 2
  92037. };
  92038. A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
  92039. call$1(callback) {
  92040. var $async$goto = 0,
  92041. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92042. $async$self = this, t1, wasInKeyframes;
  92043. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92044. if ($async$errorCode === 1)
  92045. return A._asyncRethrow($async$result, $async$completer);
  92046. while (true)
  92047. switch ($async$goto) {
  92048. case 0:
  92049. // Function start
  92050. t1 = $async$self.$this;
  92051. wasInKeyframes = t1._async_evaluate0$_inKeyframes;
  92052. t1._async_evaluate0$_inKeyframes = false;
  92053. $async$goto = 2;
  92054. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92055. case 2:
  92056. // returning from await.
  92057. t1._async_evaluate0$_inKeyframes = wasInKeyframes;
  92058. // implicit return
  92059. return A._asyncReturn(null, $async$completer);
  92060. }
  92061. });
  92062. return A._asyncStartSync($async$call$1, $async$completer);
  92063. },
  92064. $signature: 39
  92065. };
  92066. A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
  92067. call$1($parent) {
  92068. return $parent instanceof A.ModifiableCssAtRule0;
  92069. },
  92070. $signature: 243
  92071. };
  92072. A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
  92073. call$1(callback) {
  92074. var $async$goto = 0,
  92075. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92076. $async$self = this, t1, wasInUnknownAtRule;
  92077. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92078. if ($async$errorCode === 1)
  92079. return A._asyncRethrow($async$result, $async$completer);
  92080. while (true)
  92081. switch ($async$goto) {
  92082. case 0:
  92083. // Function start
  92084. t1 = $async$self.$this;
  92085. wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  92086. t1._async_evaluate0$_inUnknownAtRule = false;
  92087. $async$goto = 2;
  92088. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92089. case 2:
  92090. // returning from await.
  92091. t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  92092. // implicit return
  92093. return A._asyncReturn(null, $async$completer);
  92094. }
  92095. });
  92096. return A._asyncStartSync($async$call$1, $async$completer);
  92097. },
  92098. $signature: 39
  92099. };
  92100. A._EvaluateVisitor_visitContentRule_closure2.prototype = {
  92101. call$0() {
  92102. var $async$goto = 0,
  92103. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92104. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  92105. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92106. if ($async$errorCode === 1)
  92107. return A._asyncRethrow($async$result, $async$completer);
  92108. while (true)
  92109. switch ($async$goto) {
  92110. case 0:
  92111. // Function start
  92112. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92113. case 3:
  92114. // for condition
  92115. if (!(_i < t2)) {
  92116. // goto after for
  92117. $async$goto = 5;
  92118. break;
  92119. }
  92120. $async$goto = 6;
  92121. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92122. case 6:
  92123. // returning from await.
  92124. case 4:
  92125. // for update
  92126. ++_i;
  92127. // goto for condition
  92128. $async$goto = 3;
  92129. break;
  92130. case 5:
  92131. // after for
  92132. $async$returnValue = null;
  92133. // goto return
  92134. $async$goto = 1;
  92135. break;
  92136. case 1:
  92137. // return
  92138. return A._asyncReturn($async$returnValue, $async$completer);
  92139. }
  92140. });
  92141. return A._asyncStartSync($async$call$0, $async$completer);
  92142. },
  92143. $signature: 2
  92144. };
  92145. A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
  92146. call$0() {
  92147. var $async$goto = 0,
  92148. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92149. $async$self = this, t1, t2, t3, _i;
  92150. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92151. if ($async$errorCode === 1)
  92152. return A._asyncRethrow($async$result, $async$completer);
  92153. while (true)
  92154. switch ($async$goto) {
  92155. case 0:
  92156. // Function start
  92157. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92158. case 2:
  92159. // for condition
  92160. if (!(_i < t2)) {
  92161. // goto after for
  92162. $async$goto = 4;
  92163. break;
  92164. }
  92165. $async$goto = 5;
  92166. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92167. case 5:
  92168. // returning from await.
  92169. case 3:
  92170. // for update
  92171. ++_i;
  92172. // goto for condition
  92173. $async$goto = 2;
  92174. break;
  92175. case 4:
  92176. // after for
  92177. // implicit return
  92178. return A._asyncReturn(null, $async$completer);
  92179. }
  92180. });
  92181. return A._asyncStartSync($async$call$0, $async$completer);
  92182. },
  92183. $signature: 2
  92184. };
  92185. A._EvaluateVisitor_visitEachRule_closure8.prototype = {
  92186. call$1(value) {
  92187. var t1 = this.$this,
  92188. t2 = this.nodeWithSpan;
  92189. return t1._async_evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
  92190. },
  92191. $signature: 62
  92192. };
  92193. A._EvaluateVisitor_visitEachRule_closure9.prototype = {
  92194. call$1(value) {
  92195. return this.$this._async_evaluate0$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  92196. },
  92197. $signature: 62
  92198. };
  92199. A._EvaluateVisitor_visitEachRule_closure10.prototype = {
  92200. call$0() {
  92201. var _this = this,
  92202. t1 = _this.$this;
  92203. return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
  92204. },
  92205. $signature: 77
  92206. };
  92207. A._EvaluateVisitor_visitEachRule__closure2.prototype = {
  92208. call$1(element) {
  92209. var t1;
  92210. this.setVariables.call$1(element);
  92211. t1 = this.$this;
  92212. return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
  92213. },
  92214. $signature: 671
  92215. };
  92216. A._EvaluateVisitor_visitEachRule___closure2.prototype = {
  92217. call$1(child) {
  92218. return child.accept$1(this.$this);
  92219. },
  92220. $signature: 102
  92221. };
  92222. A._EvaluateVisitor_visitAtRule_closure8.prototype = {
  92223. call$1(value) {
  92224. return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  92225. },
  92226. $signature: 337
  92227. };
  92228. A._EvaluateVisitor_visitAtRule_closure9.prototype = {
  92229. call$0() {
  92230. var $async$goto = 0,
  92231. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92232. $async$self = this, t2, t3, _i, t1, styleRule;
  92233. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92234. if ($async$errorCode === 1)
  92235. return A._asyncRethrow($async$result, $async$completer);
  92236. while (true)
  92237. switch ($async$goto) {
  92238. case 0:
  92239. // Function start
  92240. t1 = $async$self.$this;
  92241. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  92242. $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  92243. break;
  92244. case 2:
  92245. // then
  92246. t2 = $async$self.children, t3 = t2.length, _i = 0;
  92247. case 5:
  92248. // for condition
  92249. if (!(_i < t3)) {
  92250. // goto after for
  92251. $async$goto = 7;
  92252. break;
  92253. }
  92254. $async$goto = 8;
  92255. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  92256. case 8:
  92257. // returning from await.
  92258. case 6:
  92259. // for update
  92260. ++_i;
  92261. // goto for condition
  92262. $async$goto = 5;
  92263. break;
  92264. case 7:
  92265. // after for
  92266. // goto join
  92267. $async$goto = 3;
  92268. break;
  92269. case 4:
  92270. // else
  92271. $async$goto = 9;
  92272. 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);
  92273. case 9:
  92274. // returning from await.
  92275. case 3:
  92276. // join
  92277. // implicit return
  92278. return A._asyncReturn(null, $async$completer);
  92279. }
  92280. });
  92281. return A._asyncStartSync($async$call$0, $async$completer);
  92282. },
  92283. $signature: 2
  92284. };
  92285. A._EvaluateVisitor_visitAtRule__closure2.prototype = {
  92286. call$0() {
  92287. var $async$goto = 0,
  92288. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92289. $async$self = this, t1, t2, t3, _i;
  92290. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92291. if ($async$errorCode === 1)
  92292. return A._asyncRethrow($async$result, $async$completer);
  92293. while (true)
  92294. switch ($async$goto) {
  92295. case 0:
  92296. // Function start
  92297. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92298. case 2:
  92299. // for condition
  92300. if (!(_i < t2)) {
  92301. // goto after for
  92302. $async$goto = 4;
  92303. break;
  92304. }
  92305. $async$goto = 5;
  92306. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92307. case 5:
  92308. // returning from await.
  92309. case 3:
  92310. // for update
  92311. ++_i;
  92312. // goto for condition
  92313. $async$goto = 2;
  92314. break;
  92315. case 4:
  92316. // after for
  92317. // implicit return
  92318. return A._asyncReturn(null, $async$completer);
  92319. }
  92320. });
  92321. return A._asyncStartSync($async$call$0, $async$completer);
  92322. },
  92323. $signature: 2
  92324. };
  92325. A._EvaluateVisitor_visitAtRule_closure10.prototype = {
  92326. call$1(node) {
  92327. return node instanceof A.ModifiableCssStyleRule0;
  92328. },
  92329. $signature: 7
  92330. };
  92331. A._EvaluateVisitor_visitForRule_closure14.prototype = {
  92332. call$0() {
  92333. var $async$goto = 0,
  92334. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  92335. $async$returnValue, $async$self = this;
  92336. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92337. if ($async$errorCode === 1)
  92338. return A._asyncRethrow($async$result, $async$completer);
  92339. while (true)
  92340. switch ($async$goto) {
  92341. case 0:
  92342. // Function start
  92343. $async$goto = 3;
  92344. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  92345. case 3:
  92346. // returning from await.
  92347. $async$returnValue = $async$result.assertNumber$0();
  92348. // goto return
  92349. $async$goto = 1;
  92350. break;
  92351. case 1:
  92352. // return
  92353. return A._asyncReturn($async$returnValue, $async$completer);
  92354. }
  92355. });
  92356. return A._asyncStartSync($async$call$0, $async$completer);
  92357. },
  92358. $signature: 239
  92359. };
  92360. A._EvaluateVisitor_visitForRule_closure15.prototype = {
  92361. call$0() {
  92362. var $async$goto = 0,
  92363. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  92364. $async$returnValue, $async$self = this;
  92365. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92366. if ($async$errorCode === 1)
  92367. return A._asyncRethrow($async$result, $async$completer);
  92368. while (true)
  92369. switch ($async$goto) {
  92370. case 0:
  92371. // Function start
  92372. $async$goto = 3;
  92373. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  92374. case 3:
  92375. // returning from await.
  92376. $async$returnValue = $async$result.assertNumber$0();
  92377. // goto return
  92378. $async$goto = 1;
  92379. break;
  92380. case 1:
  92381. // return
  92382. return A._asyncReturn($async$returnValue, $async$completer);
  92383. }
  92384. });
  92385. return A._asyncStartSync($async$call$0, $async$completer);
  92386. },
  92387. $signature: 239
  92388. };
  92389. A._EvaluateVisitor_visitForRule_closure16.prototype = {
  92390. call$0() {
  92391. return this.fromNumber.assertInt$0();
  92392. },
  92393. $signature: 10
  92394. };
  92395. A._EvaluateVisitor_visitForRule_closure17.prototype = {
  92396. call$0() {
  92397. var t1 = this.fromNumber;
  92398. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  92399. },
  92400. $signature: 10
  92401. };
  92402. A._EvaluateVisitor_visitForRule_closure18.prototype = {
  92403. call$0() {
  92404. var $async$goto = 0,
  92405. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  92406. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  92407. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92408. if ($async$errorCode === 1)
  92409. return A._asyncRethrow($async$result, $async$completer);
  92410. while (true)
  92411. switch ($async$goto) {
  92412. case 0:
  92413. // Function start
  92414. t1 = $async$self.$this;
  92415. t2 = $async$self.node;
  92416. nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
  92417. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  92418. case 3:
  92419. // for condition
  92420. if (!(i !== t3.to)) {
  92421. // goto after for
  92422. $async$goto = 5;
  92423. break;
  92424. }
  92425. t7 = t1._async_evaluate0$_environment;
  92426. t8 = t6.get$numeratorUnits(t6);
  92427. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  92428. $async$goto = 6;
  92429. return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
  92430. case 6:
  92431. // returning from await.
  92432. _0_0 = $async$result;
  92433. if (_0_0 != null) {
  92434. $async$returnValue = _0_0;
  92435. // goto return
  92436. $async$goto = 1;
  92437. break;
  92438. }
  92439. case 4:
  92440. // for update
  92441. i += t4;
  92442. // goto for condition
  92443. $async$goto = 3;
  92444. break;
  92445. case 5:
  92446. // after for
  92447. $async$returnValue = null;
  92448. // goto return
  92449. $async$goto = 1;
  92450. break;
  92451. case 1:
  92452. // return
  92453. return A._asyncReturn($async$returnValue, $async$completer);
  92454. }
  92455. });
  92456. return A._asyncStartSync($async$call$0, $async$completer);
  92457. },
  92458. $signature: 77
  92459. };
  92460. A._EvaluateVisitor_visitForRule__closure2.prototype = {
  92461. call$1(child) {
  92462. return child.accept$1(this.$this);
  92463. },
  92464. $signature: 102
  92465. };
  92466. A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
  92467. call$2(module, firstLoad) {
  92468. if (firstLoad)
  92469. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  92470. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  92471. },
  92472. $signature: 114
  92473. };
  92474. A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
  92475. call$2(module, firstLoad) {
  92476. if (firstLoad)
  92477. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  92478. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  92479. },
  92480. $signature: 114
  92481. };
  92482. A._EvaluateVisitor__registerCommentsForModule_closure2.prototype = {
  92483. call$0() {
  92484. return A._setArrayType([], type$.JSArray_CssComment_2);
  92485. },
  92486. $signature: 236
  92487. };
  92488. A._EvaluateVisitor_visitIfRule_closure2.prototype = {
  92489. call$1(clause) {
  92490. var t1 = this.$this;
  92491. return t1._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure2(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  92492. },
  92493. $signature: 342
  92494. };
  92495. A._EvaluateVisitor_visitIfRule__closure2.prototype = {
  92496. call$0() {
  92497. var t1 = this.$this;
  92498. return t1._async_evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure2(t1));
  92499. },
  92500. $signature: 77
  92501. };
  92502. A._EvaluateVisitor_visitIfRule___closure2.prototype = {
  92503. call$1(child) {
  92504. return child.accept$1(this.$this);
  92505. },
  92506. $signature: 102
  92507. };
  92508. A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
  92509. call$0() {
  92510. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure0();
  92511. },
  92512. $call$body$_EvaluateVisitor__visitDynamicImport_closure0() {
  92513. var $async$goto = 0,
  92514. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92515. $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;
  92516. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92517. if ($async$errorCode === 1)
  92518. return A._asyncRethrow($async$result, $async$completer);
  92519. while (true)
  92520. switch ($async$goto) {
  92521. case 0:
  92522. // Function start
  92523. _box_0 = {};
  92524. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  92525. t1 = $async$self.$this;
  92526. t2 = $async$self.$import;
  92527. $async$goto = 3;
  92528. return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  92529. case 3:
  92530. // returning from await.
  92531. _0_0 = $async$result;
  92532. stylesheet = _box_0.stylesheet = _0_0._0;
  92533. importer = _0_0._1;
  92534. _box_0.importer = importer;
  92535. isDependency = _0_0._2;
  92536. _box_0.isDependency = isDependency;
  92537. url = stylesheet.span.file.url;
  92538. if (url != null) {
  92539. t3 = t1._async_evaluate0$_activeModules;
  92540. if (t3.containsKey$1(url)) {
  92541. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
  92542. throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
  92543. }
  92544. t3.$indexSet(0, url, t2);
  92545. }
  92546. t2 = stylesheet._stylesheet1$_uses;
  92547. t3 = type$.UnmodifiableListView_UseRule_2;
  92548. $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;
  92549. break;
  92550. case 4:
  92551. // then
  92552. oldImporter = t1._async_evaluate0$_importer;
  92553. oldStylesheet = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  92554. oldInDependency = t1._async_evaluate0$_inDependency;
  92555. t1._async_evaluate0$_importer = importer;
  92556. t1._async_evaluate0$__stylesheet = stylesheet;
  92557. t1._async_evaluate0$_inDependency = isDependency;
  92558. $async$goto = 6;
  92559. return A._asyncAwait(t1.visitStylesheet$1(0, stylesheet), $async$call$0);
  92560. case 6:
  92561. // returning from await.
  92562. t1._async_evaluate0$_importer = oldImporter;
  92563. t1._async_evaluate0$__stylesheet = oldStylesheet;
  92564. t1._async_evaluate0$_inDependency = oldInDependency;
  92565. t1._async_evaluate0$_activeModules.remove$1(0, url);
  92566. // goto return
  92567. $async$goto = 1;
  92568. break;
  92569. case 5:
  92570. // join
  92571. t2 = new A.UnmodifiableListView(t2, t3);
  92572. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
  92573. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  92574. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
  92575. } else
  92576. loadsUserDefinedModules = true;
  92577. children = A._Cell$();
  92578. t2 = t1._async_evaluate0$_environment;
  92579. t3 = type$.String;
  92580. t4 = type$.Module_AsyncCallable_2;
  92581. t5 = type$.AstNode_2;
  92582. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
  92583. t7 = t2._async_environment0$_variables;
  92584. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  92585. t8 = t2._async_environment0$_variableNodes;
  92586. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  92587. t9 = t2._async_environment0$_functions;
  92588. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  92589. t10 = t2._async_environment0$_mixins;
  92590. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  92591. 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);
  92592. $async$goto = 7;
  92593. 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);
  92594. case 7:
  92595. // returning from await.
  92596. module = environment.toDummyModule$0();
  92597. t1._async_evaluate0$_environment.importForwards$1(module);
  92598. $async$goto = loadsUserDefinedModules ? 8 : 9;
  92599. break;
  92600. case 8:
  92601. // then
  92602. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  92603. break;
  92604. case 10:
  92605. // then
  92606. $async$goto = 12;
  92607. return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  92608. case 12:
  92609. // returning from await.
  92610. case 11:
  92611. // join
  92612. visitor = new A._ImportedCssVisitor2(t1);
  92613. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  92614. t2.get$current(t2).accept$1(visitor);
  92615. case 9:
  92616. // join
  92617. t1._async_evaluate0$_activeModules.remove$1(0, url);
  92618. case 1:
  92619. // return
  92620. return A._asyncReturn($async$returnValue, $async$completer);
  92621. }
  92622. });
  92623. return A._asyncStartSync($async$call$0, $async$completer);
  92624. },
  92625. $signature: 31
  92626. };
  92627. A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
  92628. call$1(previousLoad) {
  92629. 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));
  92630. },
  92631. $signature: 99
  92632. };
  92633. A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
  92634. call$1(rule) {
  92635. return rule.url.get$scheme() !== "sass";
  92636. },
  92637. $signature: 234
  92638. };
  92639. A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
  92640. call$1(rule) {
  92641. return rule.url.get$scheme() !== "sass";
  92642. },
  92643. $signature: 232
  92644. };
  92645. A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
  92646. call$0() {
  92647. var $async$goto = 0,
  92648. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92649. $async$self = this, t3, t4, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldConfiguration, oldInDependency, t2;
  92650. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92651. if ($async$errorCode === 1)
  92652. return A._asyncRethrow($async$result, $async$completer);
  92653. while (true)
  92654. switch ($async$goto) {
  92655. case 0:
  92656. // Function start
  92657. t1 = $async$self.$this;
  92658. oldImporter = t1._async_evaluate0$_importer;
  92659. oldStylesheet = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  92660. oldRoot = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
  92661. oldParent = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  92662. oldEndOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
  92663. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  92664. oldConfiguration = t1._async_evaluate0$_configuration;
  92665. oldInDependency = t1._async_evaluate0$_inDependency;
  92666. t2 = $async$self._box_0;
  92667. t1._async_evaluate0$_importer = t2.importer;
  92668. t3 = t2.stylesheet;
  92669. t1._async_evaluate0$__stylesheet = t3;
  92670. t4 = $async$self.loadsUserDefinedModules;
  92671. if (t4) {
  92672. t3 = A.ModifiableCssStylesheet$0(t3.span);
  92673. t1._async_evaluate0$__root = t3;
  92674. t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t3, "_root");
  92675. t1._async_evaluate0$__endOfImports = 0;
  92676. t1._async_evaluate0$_outOfOrderImports = null;
  92677. }
  92678. t1._async_evaluate0$_inDependency = t2.isDependency;
  92679. t3 = new A.UnmodifiableListView(t2.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  92680. if (!t3.get$isEmpty(t3))
  92681. t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
  92682. $async$goto = 2;
  92683. return A._asyncAwait(t1.visitStylesheet$1(0, t2.stylesheet), $async$call$0);
  92684. case 2:
  92685. // returning from await.
  92686. t2 = t4 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  92687. $async$self.children.__late_helper$_value = t2;
  92688. t1._async_evaluate0$_importer = oldImporter;
  92689. t1._async_evaluate0$__stylesheet = oldStylesheet;
  92690. if (t4) {
  92691. t1._async_evaluate0$__root = oldRoot;
  92692. t1._async_evaluate0$__parent = oldParent;
  92693. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  92694. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  92695. }
  92696. t1._async_evaluate0$_configuration = oldConfiguration;
  92697. t1._async_evaluate0$_inDependency = oldInDependency;
  92698. // implicit return
  92699. return A._asyncReturn(null, $async$completer);
  92700. }
  92701. });
  92702. return A._asyncStartSync($async$call$0, $async$completer);
  92703. },
  92704. $signature: 2
  92705. };
  92706. A._EvaluateVisitor__applyMixin_closure5.prototype = {
  92707. call$0() {
  92708. var $async$goto = 0,
  92709. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92710. $async$self = this, t1;
  92711. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92712. if ($async$errorCode === 1)
  92713. return A._asyncRethrow($async$result, $async$completer);
  92714. while (true)
  92715. switch ($async$goto) {
  92716. case 0:
  92717. // Function start
  92718. t1 = $async$self.$this;
  92719. $async$goto = 2;
  92720. 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);
  92721. case 2:
  92722. // returning from await.
  92723. // implicit return
  92724. return A._asyncReturn(null, $async$completer);
  92725. }
  92726. });
  92727. return A._asyncStartSync($async$call$0, $async$completer);
  92728. },
  92729. $signature: 31
  92730. };
  92731. A._EvaluateVisitor__applyMixin__closure6.prototype = {
  92732. call$0() {
  92733. var $async$goto = 0,
  92734. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92735. $async$self = this;
  92736. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92737. if ($async$errorCode === 1)
  92738. return A._asyncRethrow($async$result, $async$completer);
  92739. while (true)
  92740. switch ($async$goto) {
  92741. case 0:
  92742. // Function start
  92743. $async$goto = 2;
  92744. return A._asyncAwait($async$self.$this._async_evaluate0$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  92745. case 2:
  92746. // returning from await.
  92747. // implicit return
  92748. return A._asyncReturn(null, $async$completer);
  92749. }
  92750. });
  92751. return A._asyncStartSync($async$call$0, $async$completer);
  92752. },
  92753. $signature: 31
  92754. };
  92755. A._EvaluateVisitor__applyMixin_closure6.prototype = {
  92756. call$0() {
  92757. var $async$goto = 0,
  92758. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92759. $async$self = this, t1;
  92760. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92761. if ($async$errorCode === 1)
  92762. return A._asyncRethrow($async$result, $async$completer);
  92763. while (true)
  92764. switch ($async$goto) {
  92765. case 0:
  92766. // Function start
  92767. t1 = $async$self.$this;
  92768. $async$goto = 2;
  92769. 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);
  92770. case 2:
  92771. // returning from await.
  92772. // implicit return
  92773. return A._asyncReturn(null, $async$completer);
  92774. }
  92775. });
  92776. return A._asyncStartSync($async$call$0, $async$completer);
  92777. },
  92778. $signature: 2
  92779. };
  92780. A._EvaluateVisitor__applyMixin__closure5.prototype = {
  92781. call$0() {
  92782. var $async$goto = 0,
  92783. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92784. $async$self = this, t1;
  92785. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92786. if ($async$errorCode === 1)
  92787. return A._asyncRethrow($async$result, $async$completer);
  92788. while (true)
  92789. switch ($async$goto) {
  92790. case 0:
  92791. // Function start
  92792. t1 = $async$self.$this;
  92793. $async$goto = 2;
  92794. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure2(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  92795. case 2:
  92796. // returning from await.
  92797. // implicit return
  92798. return A._asyncReturn(null, $async$completer);
  92799. }
  92800. });
  92801. return A._asyncStartSync($async$call$0, $async$completer);
  92802. },
  92803. $signature: 31
  92804. };
  92805. A._EvaluateVisitor__applyMixin___closure2.prototype = {
  92806. call$0() {
  92807. var $async$goto = 0,
  92808. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92809. $async$self = this, t1, t2, t3, t4, t5, _i;
  92810. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92811. if ($async$errorCode === 1)
  92812. return A._asyncRethrow($async$result, $async$completer);
  92813. while (true)
  92814. switch ($async$goto) {
  92815. case 0:
  92816. // Function start
  92817. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value_2, _i = 0;
  92818. case 2:
  92819. // for condition
  92820. if (!(_i < t2)) {
  92821. // goto after for
  92822. $async$goto = 4;
  92823. break;
  92824. }
  92825. $async$goto = 5;
  92826. return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure2(t3, t1[_i]), t5), $async$call$0);
  92827. case 5:
  92828. // returning from await.
  92829. case 3:
  92830. // for update
  92831. ++_i;
  92832. // goto for condition
  92833. $async$goto = 2;
  92834. break;
  92835. case 4:
  92836. // after for
  92837. // implicit return
  92838. return A._asyncReturn(null, $async$completer);
  92839. }
  92840. });
  92841. return A._asyncStartSync($async$call$0, $async$completer);
  92842. },
  92843. $signature: 31
  92844. };
  92845. A._EvaluateVisitor__applyMixin____closure2.prototype = {
  92846. call$0() {
  92847. return this.statement.accept$1(this.$this);
  92848. },
  92849. $signature: 77
  92850. };
  92851. A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
  92852. call$0() {
  92853. var t1 = this.node;
  92854. return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  92855. },
  92856. $signature: 97
  92857. };
  92858. A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
  92859. call$1($content) {
  92860. var t1 = this.$this;
  92861. return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
  92862. },
  92863. $signature: 345
  92864. };
  92865. A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
  92866. call$0() {
  92867. return this.node.get$spanWithoutContent();
  92868. },
  92869. $signature: 27
  92870. };
  92871. A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
  92872. call$1(mediaQueries) {
  92873. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  92874. },
  92875. $signature: 105
  92876. };
  92877. A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
  92878. call$0() {
  92879. var $async$goto = 0,
  92880. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92881. $async$self = this, t1, t2;
  92882. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92883. if ($async$errorCode === 1)
  92884. return A._asyncRethrow($async$result, $async$completer);
  92885. while (true)
  92886. switch ($async$goto) {
  92887. case 0:
  92888. // Function start
  92889. t1 = $async$self.$this;
  92890. t2 = $async$self.mergedQueries;
  92891. if (t2 == null)
  92892. t2 = $async$self.queries;
  92893. $async$goto = 2;
  92894. 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);
  92895. case 2:
  92896. // returning from await.
  92897. // implicit return
  92898. return A._asyncReturn(null, $async$completer);
  92899. }
  92900. });
  92901. return A._asyncStartSync($async$call$0, $async$completer);
  92902. },
  92903. $signature: 2
  92904. };
  92905. A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
  92906. call$0() {
  92907. var $async$goto = 0,
  92908. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92909. $async$self = this, t2, t3, _i, t1, _0_0;
  92910. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92911. if ($async$errorCode === 1)
  92912. return A._asyncRethrow($async$result, $async$completer);
  92913. while (true)
  92914. switch ($async$goto) {
  92915. case 0:
  92916. // Function start
  92917. t1 = $async$self.$this;
  92918. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  92919. $async$goto = _0_0 != null ? 2 : 4;
  92920. break;
  92921. case 2:
  92922. // then
  92923. $async$goto = 5;
  92924. 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);
  92925. case 5:
  92926. // returning from await.
  92927. // goto join
  92928. $async$goto = 3;
  92929. break;
  92930. case 4:
  92931. // else
  92932. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  92933. case 6:
  92934. // for condition
  92935. if (!(_i < t3)) {
  92936. // goto after for
  92937. $async$goto = 8;
  92938. break;
  92939. }
  92940. $async$goto = 9;
  92941. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  92942. case 9:
  92943. // returning from await.
  92944. case 7:
  92945. // for update
  92946. ++_i;
  92947. // goto for condition
  92948. $async$goto = 6;
  92949. break;
  92950. case 8:
  92951. // after for
  92952. case 3:
  92953. // join
  92954. // implicit return
  92955. return A._asyncReturn(null, $async$completer);
  92956. }
  92957. });
  92958. return A._asyncStartSync($async$call$0, $async$completer);
  92959. },
  92960. $signature: 2
  92961. };
  92962. A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
  92963. call$0() {
  92964. var $async$goto = 0,
  92965. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92966. $async$self = this, t1, t2, t3, _i;
  92967. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92968. if ($async$errorCode === 1)
  92969. return A._asyncRethrow($async$result, $async$completer);
  92970. while (true)
  92971. switch ($async$goto) {
  92972. case 0:
  92973. // Function start
  92974. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92975. case 2:
  92976. // for condition
  92977. if (!(_i < t2)) {
  92978. // goto after for
  92979. $async$goto = 4;
  92980. break;
  92981. }
  92982. $async$goto = 5;
  92983. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92984. case 5:
  92985. // returning from await.
  92986. case 3:
  92987. // for update
  92988. ++_i;
  92989. // goto for condition
  92990. $async$goto = 2;
  92991. break;
  92992. case 4:
  92993. // after for
  92994. // implicit return
  92995. return A._asyncReturn(null, $async$completer);
  92996. }
  92997. });
  92998. return A._asyncStartSync($async$call$0, $async$completer);
  92999. },
  93000. $signature: 2
  93001. };
  93002. A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
  93003. call$1(node) {
  93004. var t1;
  93005. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  93006. t1 = this.mergedSources;
  93007. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  93008. } else
  93009. t1 = true;
  93010. return t1;
  93011. },
  93012. $signature: 7
  93013. };
  93014. A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
  93015. call$0() {
  93016. var $async$goto = 0,
  93017. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93018. $async$self = this, t1, t2, t3, _i;
  93019. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93020. if ($async$errorCode === 1)
  93021. return A._asyncRethrow($async$result, $async$completer);
  93022. while (true)
  93023. switch ($async$goto) {
  93024. case 0:
  93025. // Function start
  93026. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93027. case 2:
  93028. // for condition
  93029. if (!(_i < t2)) {
  93030. // goto after for
  93031. $async$goto = 4;
  93032. break;
  93033. }
  93034. $async$goto = 5;
  93035. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93036. case 5:
  93037. // returning from await.
  93038. case 3:
  93039. // for update
  93040. ++_i;
  93041. // goto for condition
  93042. $async$goto = 2;
  93043. break;
  93044. case 4:
  93045. // after for
  93046. // implicit return
  93047. return A._asyncReturn(null, $async$completer);
  93048. }
  93049. });
  93050. return A._asyncStartSync($async$call$0, $async$completer);
  93051. },
  93052. $signature: 2
  93053. };
  93054. A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
  93055. call$1(node) {
  93056. return node instanceof A.ModifiableCssStyleRule0;
  93057. },
  93058. $signature: 7
  93059. };
  93060. A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
  93061. call$0() {
  93062. var $async$goto = 0,
  93063. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93064. $async$self = this, t1;
  93065. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93066. if ($async$errorCode === 1)
  93067. return A._asyncRethrow($async$result, $async$completer);
  93068. while (true)
  93069. switch ($async$goto) {
  93070. case 0:
  93071. // Function start
  93072. t1 = $async$self.$this;
  93073. $async$goto = 2;
  93074. 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);
  93075. case 2:
  93076. // returning from await.
  93077. // implicit return
  93078. return A._asyncReturn(null, $async$completer);
  93079. }
  93080. });
  93081. return A._asyncStartSync($async$call$0, $async$completer);
  93082. },
  93083. $signature: 2
  93084. };
  93085. A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
  93086. call$0() {
  93087. var $async$goto = 0,
  93088. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93089. $async$self = this, t1, t2, t3, _i;
  93090. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93091. if ($async$errorCode === 1)
  93092. return A._asyncRethrow($async$result, $async$completer);
  93093. while (true)
  93094. switch ($async$goto) {
  93095. case 0:
  93096. // Function start
  93097. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93098. case 2:
  93099. // for condition
  93100. if (!(_i < t2)) {
  93101. // goto after for
  93102. $async$goto = 4;
  93103. break;
  93104. }
  93105. $async$goto = 5;
  93106. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93107. case 5:
  93108. // returning from await.
  93109. case 3:
  93110. // for update
  93111. ++_i;
  93112. // goto for condition
  93113. $async$goto = 2;
  93114. break;
  93115. case 4:
  93116. // after for
  93117. // implicit return
  93118. return A._asyncReturn(null, $async$completer);
  93119. }
  93120. });
  93121. return A._asyncStartSync($async$call$0, $async$completer);
  93122. },
  93123. $signature: 2
  93124. };
  93125. A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
  93126. call$1(node) {
  93127. return node instanceof A.ModifiableCssStyleRule0;
  93128. },
  93129. $signature: 7
  93130. };
  93131. A._EvaluateVisitor__warnForBogusCombinators_closure2.prototype = {
  93132. call$1(child) {
  93133. return child instanceof A.ModifiableCssComment0;
  93134. },
  93135. $signature: 7
  93136. };
  93137. A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
  93138. call$0() {
  93139. var $async$goto = 0,
  93140. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93141. $async$self = this, t2, t3, _i, t1, _0_0;
  93142. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93143. if ($async$errorCode === 1)
  93144. return A._asyncRethrow($async$result, $async$completer);
  93145. while (true)
  93146. switch ($async$goto) {
  93147. case 0:
  93148. // Function start
  93149. t1 = $async$self.$this;
  93150. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  93151. $async$goto = _0_0 != null ? 2 : 4;
  93152. break;
  93153. case 2:
  93154. // then
  93155. $async$goto = 5;
  93156. 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);
  93157. case 5:
  93158. // returning from await.
  93159. // goto join
  93160. $async$goto = 3;
  93161. break;
  93162. case 4:
  93163. // else
  93164. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  93165. case 6:
  93166. // for condition
  93167. if (!(_i < t3)) {
  93168. // goto after for
  93169. $async$goto = 8;
  93170. break;
  93171. }
  93172. $async$goto = 9;
  93173. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  93174. case 9:
  93175. // returning from await.
  93176. case 7:
  93177. // for update
  93178. ++_i;
  93179. // goto for condition
  93180. $async$goto = 6;
  93181. break;
  93182. case 8:
  93183. // after for
  93184. case 3:
  93185. // join
  93186. // implicit return
  93187. return A._asyncReturn(null, $async$completer);
  93188. }
  93189. });
  93190. return A._asyncStartSync($async$call$0, $async$completer);
  93191. },
  93192. $signature: 2
  93193. };
  93194. A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
  93195. call$0() {
  93196. var $async$goto = 0,
  93197. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93198. $async$self = this, t1, t2, t3, _i;
  93199. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93200. if ($async$errorCode === 1)
  93201. return A._asyncRethrow($async$result, $async$completer);
  93202. while (true)
  93203. switch ($async$goto) {
  93204. case 0:
  93205. // Function start
  93206. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93207. case 2:
  93208. // for condition
  93209. if (!(_i < t2)) {
  93210. // goto after for
  93211. $async$goto = 4;
  93212. break;
  93213. }
  93214. $async$goto = 5;
  93215. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93216. case 5:
  93217. // returning from await.
  93218. case 3:
  93219. // for update
  93220. ++_i;
  93221. // goto for condition
  93222. $async$goto = 2;
  93223. break;
  93224. case 4:
  93225. // after for
  93226. // implicit return
  93227. return A._asyncReturn(null, $async$completer);
  93228. }
  93229. });
  93230. return A._asyncStartSync($async$call$0, $async$completer);
  93231. },
  93232. $signature: 2
  93233. };
  93234. A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
  93235. call$1(node) {
  93236. return node instanceof A.ModifiableCssStyleRule0;
  93237. },
  93238. $signature: 7
  93239. };
  93240. A._EvaluateVisitor__visitSupportsCondition_closure2.prototype = {
  93241. call$0() {
  93242. var $async$goto = 0,
  93243. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  93244. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  93245. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93246. if ($async$errorCode === 1)
  93247. return A._asyncRethrow($async$result, $async$completer);
  93248. while (true)
  93249. switch ($async$goto) {
  93250. case 0:
  93251. // Function start
  93252. t1 = $async$self.$this;
  93253. t2 = $async$self._box_0;
  93254. $async$temp1 = A;
  93255. $async$goto = 3;
  93256. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.name), $async$call$0);
  93257. case 3:
  93258. // returning from await.
  93259. t3 = $async$temp1.S($async$result);
  93260. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  93261. $async$temp1 = "(" + t3 + ":" + t4;
  93262. $async$temp2 = A;
  93263. $async$goto = 4;
  93264. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.value), $async$call$0);
  93265. case 4:
  93266. // returning from await.
  93267. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  93268. // goto return
  93269. $async$goto = 1;
  93270. break;
  93271. case 1:
  93272. // return
  93273. return A._asyncReturn($async$returnValue, $async$completer);
  93274. }
  93275. });
  93276. return A._asyncStartSync($async$call$0, $async$completer);
  93277. },
  93278. $signature: 180
  93279. };
  93280. A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
  93281. call$0() {
  93282. var t1 = this.$this._async_evaluate0$_environment,
  93283. t2 = this._box_0.override;
  93284. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  93285. },
  93286. $signature: 1
  93287. };
  93288. A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
  93289. call$0() {
  93290. var t1 = this.node;
  93291. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  93292. },
  93293. $signature: 42
  93294. };
  93295. A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
  93296. call$0() {
  93297. var t1 = this.$this,
  93298. t2 = this.node;
  93299. t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  93300. },
  93301. $signature: 1
  93302. };
  93303. A._EvaluateVisitor_visitUseRule_closure2.prototype = {
  93304. call$2(module, firstLoad) {
  93305. var t1, t2, t3, _0_0, t4, t5, span;
  93306. if (firstLoad)
  93307. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  93308. t1 = this.$this._async_evaluate0$_environment;
  93309. t2 = this.node;
  93310. t3 = t2.namespace;
  93311. if (t3 == null) {
  93312. t1._async_environment0$_globalModules.$indexSet(0, module, t2);
  93313. t1._async_environment0$_allModules.push(module);
  93314. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._async_environment0$_variables)), module.get$variables().get$containsKey());
  93315. if (_0_0 != null)
  93316. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  93317. } else {
  93318. t4 = t1._async_environment0$_modules;
  93319. if (t4.containsKey$1(t3)) {
  93320. t5 = t1._async_environment0$_namespaceNodes.$index(0, t3);
  93321. span = t5 == null ? null : t5.span;
  93322. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  93323. if (span != null)
  93324. t5.$indexSet(0, span, "original @use");
  93325. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  93326. }
  93327. t4.$indexSet(0, t3, module);
  93328. t1._async_environment0$_namespaceNodes.$indexSet(0, t3, t2);
  93329. t1._async_environment0$_allModules.push(module);
  93330. }
  93331. },
  93332. $signature: 114
  93333. };
  93334. A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
  93335. call$0() {
  93336. return this.node.expression.accept$1(this.$this);
  93337. },
  93338. $signature: 78
  93339. };
  93340. A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
  93341. call$0() {
  93342. var $async$goto = 0,
  93343. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  93344. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  93345. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93346. if ($async$errorCode === 1)
  93347. return A._asyncRethrow($async$result, $async$completer);
  93348. while (true)
  93349. switch ($async$goto) {
  93350. case 0:
  93351. // Function start
  93352. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  93353. case 3:
  93354. // for condition
  93355. $async$goto = 5;
  93356. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  93357. case 5:
  93358. // returning from await.
  93359. if (!$async$result.get$isTruthy()) {
  93360. // goto after for
  93361. $async$goto = 4;
  93362. break;
  93363. }
  93364. $async$goto = 6;
  93365. return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
  93366. case 6:
  93367. // returning from await.
  93368. _0_0 = $async$result;
  93369. if (_0_0 != null) {
  93370. $async$returnValue = _0_0;
  93371. // goto return
  93372. $async$goto = 1;
  93373. break;
  93374. }
  93375. // goto for condition
  93376. $async$goto = 3;
  93377. break;
  93378. case 4:
  93379. // after for
  93380. $async$returnValue = null;
  93381. // goto return
  93382. $async$goto = 1;
  93383. break;
  93384. case 1:
  93385. // return
  93386. return A._asyncReturn($async$returnValue, $async$completer);
  93387. }
  93388. });
  93389. return A._asyncStartSync($async$call$0, $async$completer);
  93390. },
  93391. $signature: 77
  93392. };
  93393. A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
  93394. call$1(child) {
  93395. return child.accept$1(this.$this);
  93396. },
  93397. $signature: 102
  93398. };
  93399. A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
  93400. call$0() {
  93401. var $async$goto = 0,
  93402. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  93403. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  93404. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93405. if ($async$errorCode === 1)
  93406. return A._asyncRethrow($async$result, $async$completer);
  93407. while (true)
  93408. switch ($async$goto) {
  93409. case 0:
  93410. // Function start
  93411. t1 = $async$self.node;
  93412. t2 = $async$self.$this;
  93413. $async$goto = 3;
  93414. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  93415. case 3:
  93416. // returning from await.
  93417. left = $async$result;
  93418. case 4:
  93419. // switch
  93420. switch (t1.operator) {
  93421. case B.BinaryOperator_Kyq0:
  93422. // goto case
  93423. $async$goto = 6;
  93424. break;
  93425. case B.BinaryOperator_tKu0:
  93426. // goto case
  93427. $async$goto = 7;
  93428. break;
  93429. case B.BinaryOperator_uke0:
  93430. // goto case
  93431. $async$goto = 8;
  93432. break;
  93433. case B.BinaryOperator_r840:
  93434. // goto case
  93435. $async$goto = 9;
  93436. break;
  93437. case B.BinaryOperator_qGq0:
  93438. // goto case
  93439. $async$goto = 10;
  93440. break;
  93441. case B.BinaryOperator_o8O0:
  93442. // goto case
  93443. $async$goto = 11;
  93444. break;
  93445. case B.BinaryOperator_JiR0:
  93446. // goto case
  93447. $async$goto = 12;
  93448. break;
  93449. case B.BinaryOperator_qHy0:
  93450. // goto case
  93451. $async$goto = 13;
  93452. break;
  93453. case B.BinaryOperator_FPG0:
  93454. // goto case
  93455. $async$goto = 14;
  93456. break;
  93457. case B.BinaryOperator_Swh0:
  93458. // goto case
  93459. $async$goto = 15;
  93460. break;
  93461. case B.BinaryOperator_QG10:
  93462. // goto case
  93463. $async$goto = 16;
  93464. break;
  93465. case B.BinaryOperator_tht0:
  93466. // goto case
  93467. $async$goto = 17;
  93468. break;
  93469. case B.BinaryOperator_Mh50:
  93470. // goto case
  93471. $async$goto = 18;
  93472. break;
  93473. case B.BinaryOperator_s7T0:
  93474. // goto case
  93475. $async$goto = 19;
  93476. break;
  93477. default:
  93478. // goto default
  93479. $async$goto = 20;
  93480. break;
  93481. }
  93482. break;
  93483. case 6:
  93484. // case
  93485. t1 = t1.right.accept$1(t2);
  93486. $async$goto = 21;
  93487. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93488. case 21:
  93489. // returning from await.
  93490. t1 = $async$result;
  93491. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  93492. // goto after switch
  93493. $async$goto = 5;
  93494. break;
  93495. case 7:
  93496. // case
  93497. $async$goto = left.get$isTruthy() ? 22 : 24;
  93498. break;
  93499. case 22:
  93500. // then
  93501. t1 = left;
  93502. // goto join
  93503. $async$goto = 23;
  93504. break;
  93505. case 24:
  93506. // else
  93507. t1 = t1.right.accept$1(t2);
  93508. $async$goto = 25;
  93509. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93510. case 25:
  93511. // returning from await.
  93512. t1 = $async$result;
  93513. case 23:
  93514. // join
  93515. // goto after switch
  93516. $async$goto = 5;
  93517. break;
  93518. case 8:
  93519. // case
  93520. $async$goto = left.get$isTruthy() ? 26 : 28;
  93521. break;
  93522. case 26:
  93523. // then
  93524. t1 = t1.right.accept$1(t2);
  93525. $async$goto = 29;
  93526. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93527. case 29:
  93528. // returning from await.
  93529. t1 = $async$result;
  93530. // goto join
  93531. $async$goto = 27;
  93532. break;
  93533. case 28:
  93534. // else
  93535. t1 = left;
  93536. case 27:
  93537. // join
  93538. // goto after switch
  93539. $async$goto = 5;
  93540. break;
  93541. case 9:
  93542. // case
  93543. $async$temp1 = left;
  93544. $async$goto = 30;
  93545. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  93546. case 30:
  93547. // returning from await.
  93548. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  93549. // goto after switch
  93550. $async$goto = 5;
  93551. break;
  93552. case 10:
  93553. // case
  93554. $async$temp1 = left;
  93555. $async$goto = 31;
  93556. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  93557. case 31:
  93558. // returning from await.
  93559. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  93560. // goto after switch
  93561. $async$goto = 5;
  93562. break;
  93563. case 11:
  93564. // case
  93565. t1 = t1.right.accept$1(t2);
  93566. $async$temp1 = left;
  93567. $async$goto = 32;
  93568. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93569. case 32:
  93570. // returning from await.
  93571. t1 = $async$temp1.greaterThan$1($async$result);
  93572. // goto after switch
  93573. $async$goto = 5;
  93574. break;
  93575. case 12:
  93576. // case
  93577. t1 = t1.right.accept$1(t2);
  93578. $async$temp1 = left;
  93579. $async$goto = 33;
  93580. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93581. case 33:
  93582. // returning from await.
  93583. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  93584. // goto after switch
  93585. $async$goto = 5;
  93586. break;
  93587. case 13:
  93588. // case
  93589. t1 = t1.right.accept$1(t2);
  93590. $async$temp1 = left;
  93591. $async$goto = 34;
  93592. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93593. case 34:
  93594. // returning from await.
  93595. t1 = $async$temp1.lessThan$1($async$result);
  93596. // goto after switch
  93597. $async$goto = 5;
  93598. break;
  93599. case 14:
  93600. // case
  93601. t1 = t1.right.accept$1(t2);
  93602. $async$temp1 = left;
  93603. $async$goto = 35;
  93604. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93605. case 35:
  93606. // returning from await.
  93607. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  93608. // goto after switch
  93609. $async$goto = 5;
  93610. break;
  93611. case 15:
  93612. // case
  93613. t1 = t1.right.accept$1(t2);
  93614. $async$temp1 = left;
  93615. $async$goto = 36;
  93616. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93617. case 36:
  93618. // returning from await.
  93619. t1 = $async$temp1.plus$1($async$result);
  93620. // goto after switch
  93621. $async$goto = 5;
  93622. break;
  93623. case 16:
  93624. // case
  93625. t1 = t1.right.accept$1(t2);
  93626. $async$temp1 = left;
  93627. $async$goto = 37;
  93628. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93629. case 37:
  93630. // returning from await.
  93631. t1 = $async$temp1.minus$1($async$result);
  93632. // goto after switch
  93633. $async$goto = 5;
  93634. break;
  93635. case 17:
  93636. // case
  93637. t1 = t1.right.accept$1(t2);
  93638. $async$temp1 = left;
  93639. $async$goto = 38;
  93640. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93641. case 38:
  93642. // returning from await.
  93643. t1 = $async$temp1.times$1($async$result);
  93644. // goto after switch
  93645. $async$goto = 5;
  93646. break;
  93647. case 18:
  93648. // case
  93649. t3 = t1.right.accept$1(t2);
  93650. $async$temp1 = t2;
  93651. $async$temp2 = left;
  93652. $async$goto = 39;
  93653. return A._asyncAwait(type$.Future_Value_2._is(t3) ? t3 : A._Future$value(t3, type$.Value_2), $async$call$0);
  93654. case 39:
  93655. // returning from await.
  93656. t1 = $async$temp1._async_evaluate0$_slash$3($async$temp2, $async$result, t1);
  93657. // goto after switch
  93658. $async$goto = 5;
  93659. break;
  93660. case 19:
  93661. // case
  93662. t1 = t1.right.accept$1(t2);
  93663. $async$temp1 = left;
  93664. $async$goto = 40;
  93665. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93666. case 40:
  93667. // returning from await.
  93668. t1 = $async$temp1.modulo$1($async$result);
  93669. // goto after switch
  93670. $async$goto = 5;
  93671. break;
  93672. case 20:
  93673. // default
  93674. t1 = null;
  93675. case 5:
  93676. // after switch
  93677. $async$returnValue = t1;
  93678. // goto return
  93679. $async$goto = 1;
  93680. break;
  93681. case 1:
  93682. // return
  93683. return A._asyncReturn($async$returnValue, $async$completer);
  93684. }
  93685. });
  93686. return A._asyncStartSync($async$call$0, $async$completer);
  93687. },
  93688. $signature: 78
  93689. };
  93690. A._EvaluateVisitor__slash_recommendation2.prototype = {
  93691. call$1(expression) {
  93692. var t1;
  93693. $label0$0: {
  93694. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_Mh50 === expression.operator) {
  93695. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  93696. break $label0$0;
  93697. }
  93698. if (expression instanceof A.ParenthesizedExpression0) {
  93699. t1 = expression.expression.toString$0(0);
  93700. break $label0$0;
  93701. }
  93702. t1 = expression.toString$0(0);
  93703. break $label0$0;
  93704. }
  93705. return t1;
  93706. },
  93707. $signature: 113
  93708. };
  93709. A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
  93710. call$0() {
  93711. var t1 = this.node;
  93712. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  93713. },
  93714. $signature: 42
  93715. };
  93716. A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
  93717. call$0() {
  93718. var t1, _this = this;
  93719. switch (_this.node.operator) {
  93720. case B.UnaryOperator_Rbl0:
  93721. t1 = _this.operand.unaryPlus$0();
  93722. break;
  93723. case B.UnaryOperator_UCP0:
  93724. t1 = _this.operand.unaryMinus$0();
  93725. break;
  93726. case B.UnaryOperator_lZV0:
  93727. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  93728. break;
  93729. case B.UnaryOperator_not_not_not0:
  93730. t1 = _this.operand.unaryNot$0();
  93731. break;
  93732. default:
  93733. t1 = null;
  93734. }
  93735. return t1;
  93736. },
  93737. $signature: 49
  93738. };
  93739. A._EvaluateVisitor_visitListExpression_closure2.prototype = {
  93740. call$1(expression) {
  93741. return expression.accept$1(this.$this);
  93742. },
  93743. $signature: 351
  93744. };
  93745. A._EvaluateVisitor_visitFunctionExpression_closure8.prototype = {
  93746. call$0() {
  93747. var t1 = this.node;
  93748. return this.$this._async_evaluate0$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  93749. },
  93750. $signature: 97
  93751. };
  93752. A._EvaluateVisitor_visitFunctionExpression_closure9.prototype = {
  93753. call$1(argument) {
  93754. return argument.accept$1(B.C_IsCalculationSafeVisitor0);
  93755. },
  93756. $signature: 140
  93757. };
  93758. A._EvaluateVisitor_visitFunctionExpression_closure10.prototype = {
  93759. call$0() {
  93760. var t1 = this.node;
  93761. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  93762. },
  93763. $signature: 78
  93764. };
  93765. A._EvaluateVisitor__visitCalculation_closure2.prototype = {
  93766. call$2(message, deprecation) {
  93767. return this.$this._async_evaluate0$_warn$3(message, this.node.span, deprecation);
  93768. },
  93769. call$1(message) {
  93770. return this.call$2(message, null);
  93771. },
  93772. $signature: 96
  93773. };
  93774. A._EvaluateVisitor__checkCalculationArguments_check2.prototype = {
  93775. call$1(maxArgs) {
  93776. var t1 = this.node,
  93777. t2 = t1.$arguments.positional.length;
  93778. if (t2 === 0)
  93779. throw A.wrapException(this.$this._async_evaluate0$_exception$2("Missing argument.", t1.span));
  93780. else if (maxArgs != null && t2 > maxArgs)
  93781. 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));
  93782. },
  93783. call$0() {
  93784. return this.call$1(null);
  93785. },
  93786. $signature: 107
  93787. };
  93788. A._EvaluateVisitor__visitCalculationExpression_closure2.prototype = {
  93789. call$0() {
  93790. var $async$goto = 0,
  93791. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  93792. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2, $async$temp3;
  93793. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93794. if ($async$errorCode === 1)
  93795. return A._asyncRethrow($async$result, $async$completer);
  93796. while (true)
  93797. switch ($async$goto) {
  93798. case 0:
  93799. // Function start
  93800. t1 = $async$self.$this;
  93801. t2 = $async$self._box_0;
  93802. t3 = $async$self.node;
  93803. t4 = $async$self.inLegacySassFunction;
  93804. $async$temp1 = A;
  93805. $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$2(t2.operator, t3);
  93806. $async$goto = 3;
  93807. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t4), $async$call$0);
  93808. case 3:
  93809. // returning from await.
  93810. $async$temp3 = $async$result;
  93811. $async$goto = 4;
  93812. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t4), $async$call$0);
  93813. case 4:
  93814. // returning from await.
  93815. $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t4, !t1._async_evaluate0$_inSupportsDeclaration, new A._EvaluateVisitor__visitCalculationExpression__closure2(t1, t3));
  93816. // goto return
  93817. $async$goto = 1;
  93818. break;
  93819. case 1:
  93820. // return
  93821. return A._asyncReturn($async$returnValue, $async$completer);
  93822. }
  93823. });
  93824. return A._asyncStartSync($async$call$0, $async$completer);
  93825. },
  93826. $signature: 182
  93827. };
  93828. A._EvaluateVisitor__visitCalculationExpression__closure2.prototype = {
  93829. call$2(message, deprecation) {
  93830. return this.$this._async_evaluate0$_warn$3(message, this.node.get$span(0), deprecation);
  93831. },
  93832. call$1(message) {
  93833. return this.call$2(message, null);
  93834. },
  93835. $signature: 96
  93836. };
  93837. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
  93838. call$0() {
  93839. var t1 = this.node;
  93840. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  93841. },
  93842. $signature: 78
  93843. };
  93844. A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
  93845. call$0() {
  93846. var _this = this,
  93847. t1 = _this.$this,
  93848. t2 = _this.callable,
  93849. t3 = _this.V;
  93850. 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);
  93851. },
  93852. $signature() {
  93853. return this.V._eval$1("Future<0>()");
  93854. }
  93855. };
  93856. A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
  93857. call$0() {
  93858. var _this = this,
  93859. t1 = _this.$this,
  93860. t2 = _this.V;
  93861. return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  93862. },
  93863. $signature() {
  93864. return this.V._eval$1("Future<0>()");
  93865. }
  93866. };
  93867. A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
  93868. call$0() {
  93869. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
  93870. },
  93871. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
  93872. var $async$goto = 0,
  93873. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  93874. $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;
  93875. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93876. if ($async$errorCode === 1)
  93877. return A._asyncRethrow($async$result, $async$completer);
  93878. while (true)
  93879. switch ($async$goto) {
  93880. case 0:
  93881. // Function start
  93882. t1 = $async$self.$this;
  93883. t2 = $async$self.evaluated._values;
  93884. t3 = $async$self.callable.declaration.parameters;
  93885. t4 = $async$self.nodeWithSpan;
  93886. t1._async_evaluate0$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  93887. parameters = t3.parameters;
  93888. t5 = parameters.length;
  93889. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  93890. for (i = 0; i < minLength; ++i)
  93891. t1._async_evaluate0$_environment.setLocalVariable$3(parameters[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  93892. i = J.get$length$asx(t2[2]);
  93893. case 3:
  93894. // for condition
  93895. if (!(i < t5)) {
  93896. // goto after for
  93897. $async$goto = 5;
  93898. break;
  93899. }
  93900. parameter = parameters[i];
  93901. t6 = parameter.name;
  93902. value = t2[0].remove$1(0, t6);
  93903. $async$goto = value == null ? 6 : 7;
  93904. break;
  93905. case 6:
  93906. // then
  93907. t7 = parameter.defaultValue;
  93908. $async$temp1 = t1;
  93909. $async$goto = 8;
  93910. return A._asyncAwait(t7.accept$1(t1), $async$call$0);
  93911. case 8:
  93912. // returning from await.
  93913. value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t7));
  93914. case 7:
  93915. // join
  93916. t7 = t1._async_evaluate0$_environment;
  93917. t8 = t2[1].$index(0, t6);
  93918. if (t8 == null) {
  93919. t8 = parameter.defaultValue;
  93920. t8.toString;
  93921. t8 = t1._async_evaluate0$_expressionNode$1(t8);
  93922. }
  93923. t7.setLocalVariable$3(t6, value, t8);
  93924. case 4:
  93925. // for update
  93926. ++i;
  93927. // goto for condition
  93928. $async$goto = 3;
  93929. break;
  93930. case 5:
  93931. // after for
  93932. restParameter = t3.restParameter;
  93933. if (restParameter != null) {
  93934. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty20;
  93935. t5 = t2[0];
  93936. t6 = t2[4];
  93937. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : t6);
  93938. t1._async_evaluate0$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  93939. } else
  93940. argumentList = null;
  93941. $async$goto = 9;
  93942. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  93943. case 9:
  93944. // returning from await.
  93945. result = $async$result;
  93946. if (argumentList == null) {
  93947. $async$returnValue = result;
  93948. // goto return
  93949. $async$goto = 1;
  93950. break;
  93951. }
  93952. t5 = t2[0];
  93953. if (t5.get$isEmpty(t5)) {
  93954. $async$returnValue = result;
  93955. // goto return
  93956. $async$goto = 1;
  93957. break;
  93958. }
  93959. if (argumentList._argument_list$_wereKeywordsAccessed) {
  93960. $async$returnValue = result;
  93961. // goto return
  93962. $async$goto = 1;
  93963. break;
  93964. }
  93965. t5 = t2[0];
  93966. parameterWord = A.pluralize0("parameter", J.get$length$asx(t5.get$keys(t5)), null);
  93967. t2 = t2[0];
  93968. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + parameterWord + " named " + A.toSentence0(J.map$1$1$ax(t2.get$keys(t2), new A._EvaluateVisitor__runUserDefinedCallable____closure2(), type$.Object), "or") + ".", t4.get$span(t4), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t3.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._async_evaluate0$_stackTrace$1(t4.get$span(t4)), null));
  93969. case 1:
  93970. // return
  93971. return A._asyncReturn($async$returnValue, $async$completer);
  93972. }
  93973. });
  93974. return A._asyncStartSync($async$call$0, $async$completer);
  93975. },
  93976. $signature() {
  93977. return this.V._eval$1("Future<0>()");
  93978. }
  93979. };
  93980. A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
  93981. call$1($name) {
  93982. return "$" + $name;
  93983. },
  93984. $signature: 6
  93985. };
  93986. A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
  93987. call$0() {
  93988. var $async$goto = 0,
  93989. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  93990. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  93991. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93992. if ($async$errorCode === 1)
  93993. return A._asyncRethrow($async$result, $async$completer);
  93994. while (true)
  93995. switch ($async$goto) {
  93996. case 0:
  93997. // Function start
  93998. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  93999. case 3:
  94000. // for condition
  94001. if (!(_i < t3)) {
  94002. // goto after for
  94003. $async$goto = 5;
  94004. break;
  94005. }
  94006. $async$goto = 6;
  94007. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  94008. case 6:
  94009. // returning from await.
  94010. $returnValue = $async$result;
  94011. if ($returnValue instanceof A.Value0) {
  94012. $async$returnValue = $returnValue;
  94013. // goto return
  94014. $async$goto = 1;
  94015. break;
  94016. }
  94017. case 4:
  94018. // for update
  94019. ++_i;
  94020. // goto for condition
  94021. $async$goto = 3;
  94022. break;
  94023. case 5:
  94024. // after for
  94025. throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
  94026. case 1:
  94027. // return
  94028. return A._asyncReturn($async$returnValue, $async$completer);
  94029. }
  94030. });
  94031. return A._asyncStartSync($async$call$0, $async$completer);
  94032. },
  94033. $signature: 78
  94034. };
  94035. A._EvaluateVisitor__runBuiltInCallable_closure8.prototype = {
  94036. call$0() {
  94037. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  94038. },
  94039. $signature: 0
  94040. };
  94041. A._EvaluateVisitor__runBuiltInCallable_closure9.prototype = {
  94042. call$0() {
  94043. return this._box_0.callback.call$1(this.evaluated._values[2]);
  94044. },
  94045. $signature: 354
  94046. };
  94047. A._EvaluateVisitor__runBuiltInCallable_closure10.prototype = {
  94048. call$1($name) {
  94049. return "$" + $name;
  94050. },
  94051. $signature: 6
  94052. };
  94053. A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
  94054. call$1(value) {
  94055. return value;
  94056. },
  94057. $signature: 44
  94058. };
  94059. A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
  94060. call$1(value) {
  94061. return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  94062. },
  94063. $signature: 44
  94064. };
  94065. A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
  94066. call$2(key, value) {
  94067. var _this = this,
  94068. t1 = _this.restNodeForSpan;
  94069. _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
  94070. _this.namedNodes.$indexSet(0, key, t1);
  94071. },
  94072. $signature: 108
  94073. };
  94074. A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
  94075. call$1(value) {
  94076. return value;
  94077. },
  94078. $signature: 44
  94079. };
  94080. A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
  94081. call$1(value) {
  94082. var t1 = this.restArgs;
  94083. return new A.ValueExpression0(value, t1.get$span(t1));
  94084. },
  94085. $signature: 64
  94086. };
  94087. A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
  94088. call$1(value) {
  94089. var t1 = this.restArgs;
  94090. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  94091. },
  94092. $signature: 64
  94093. };
  94094. A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
  94095. call$2(key, value) {
  94096. var _this = this,
  94097. t1 = _this.restArgs;
  94098. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  94099. },
  94100. $signature: 108
  94101. };
  94102. A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
  94103. call$1(value) {
  94104. var t1 = this.keywordRestArgs;
  94105. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  94106. },
  94107. $signature: 64
  94108. };
  94109. A._EvaluateVisitor__addRestMap_closure2.prototype = {
  94110. call$2(key, value) {
  94111. var t2, _this = this,
  94112. t1 = _this.$this;
  94113. if (key instanceof A.SassString0)
  94114. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  94115. else {
  94116. t2 = _this.nodeWithSpan;
  94117. 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)));
  94118. }
  94119. },
  94120. $signature: 98
  94121. };
  94122. A._EvaluateVisitor__verifyArguments_closure2.prototype = {
  94123. call$0() {
  94124. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  94125. },
  94126. $signature: 0
  94127. };
  94128. A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
  94129. call$0() {
  94130. var $async$goto = 0,
  94131. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94132. $async$self = this, t1, t2, t3, t4;
  94133. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94134. if ($async$errorCode === 1)
  94135. return A._asyncRethrow($async$result, $async$completer);
  94136. while (true)
  94137. switch ($async$goto) {
  94138. case 0:
  94139. // Function start
  94140. 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");
  94141. case 2:
  94142. // for condition
  94143. if (!t1.moveNext$0()) {
  94144. // goto after for
  94145. $async$goto = 3;
  94146. break;
  94147. }
  94148. t4 = t1.__internal$_current;
  94149. $async$goto = 4;
  94150. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94151. case 4:
  94152. // returning from await.
  94153. // goto for condition
  94154. $async$goto = 2;
  94155. break;
  94156. case 3:
  94157. // after for
  94158. // implicit return
  94159. return A._asyncReturn(null, $async$completer);
  94160. }
  94161. });
  94162. return A._asyncStartSync($async$call$0, $async$completer);
  94163. },
  94164. $signature: 2
  94165. };
  94166. A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
  94167. call$1(node) {
  94168. return node instanceof A.ModifiableCssStyleRule0;
  94169. },
  94170. $signature: 7
  94171. };
  94172. A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
  94173. call$0() {
  94174. var $async$goto = 0,
  94175. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94176. $async$self = this, t1, t2, t3, t4;
  94177. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94178. if ($async$errorCode === 1)
  94179. return A._asyncRethrow($async$result, $async$completer);
  94180. while (true)
  94181. switch ($async$goto) {
  94182. case 0:
  94183. // Function start
  94184. 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");
  94185. case 2:
  94186. // for condition
  94187. if (!t1.moveNext$0()) {
  94188. // goto after for
  94189. $async$goto = 3;
  94190. break;
  94191. }
  94192. t4 = t1.__internal$_current;
  94193. $async$goto = 4;
  94194. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94195. case 4:
  94196. // returning from await.
  94197. // goto for condition
  94198. $async$goto = 2;
  94199. break;
  94200. case 3:
  94201. // after for
  94202. // implicit return
  94203. return A._asyncReturn(null, $async$completer);
  94204. }
  94205. });
  94206. return A._asyncStartSync($async$call$0, $async$completer);
  94207. },
  94208. $signature: 2
  94209. };
  94210. A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
  94211. call$1(node) {
  94212. return node instanceof A.ModifiableCssStyleRule0;
  94213. },
  94214. $signature: 7
  94215. };
  94216. A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
  94217. call$1(mediaQueries) {
  94218. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  94219. },
  94220. $signature: 105
  94221. };
  94222. A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
  94223. call$0() {
  94224. var $async$goto = 0,
  94225. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94226. $async$self = this, t1, t2;
  94227. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94228. if ($async$errorCode === 1)
  94229. return A._asyncRethrow($async$result, $async$completer);
  94230. while (true)
  94231. switch ($async$goto) {
  94232. case 0:
  94233. // Function start
  94234. t1 = $async$self.$this;
  94235. t2 = $async$self.mergedQueries;
  94236. if (t2 == null)
  94237. t2 = $async$self.node.queries;
  94238. $async$goto = 2;
  94239. 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);
  94240. case 2:
  94241. // returning from await.
  94242. // implicit return
  94243. return A._asyncReturn(null, $async$completer);
  94244. }
  94245. });
  94246. return A._asyncStartSync($async$call$0, $async$completer);
  94247. },
  94248. $signature: 2
  94249. };
  94250. A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
  94251. call$0() {
  94252. var $async$goto = 0,
  94253. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94254. $async$self = this, t2, t3, t4, t1, _0_0;
  94255. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94256. if ($async$errorCode === 1)
  94257. return A._asyncRethrow($async$result, $async$completer);
  94258. while (true)
  94259. switch ($async$goto) {
  94260. case 0:
  94261. // Function start
  94262. t1 = $async$self.$this;
  94263. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  94264. $async$goto = _0_0 != null ? 2 : 4;
  94265. break;
  94266. case 2:
  94267. // then
  94268. $async$goto = 5;
  94269. 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);
  94270. case 5:
  94271. // returning from await.
  94272. // goto join
  94273. $async$goto = 3;
  94274. break;
  94275. case 4:
  94276. // else
  94277. 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");
  94278. case 6:
  94279. // for condition
  94280. if (!t2.moveNext$0()) {
  94281. // goto after for
  94282. $async$goto = 7;
  94283. break;
  94284. }
  94285. t4 = t2.__internal$_current;
  94286. $async$goto = 8;
  94287. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  94288. case 8:
  94289. // returning from await.
  94290. // goto for condition
  94291. $async$goto = 6;
  94292. break;
  94293. case 7:
  94294. // after for
  94295. case 3:
  94296. // join
  94297. // implicit return
  94298. return A._asyncReturn(null, $async$completer);
  94299. }
  94300. });
  94301. return A._asyncStartSync($async$call$0, $async$completer);
  94302. },
  94303. $signature: 2
  94304. };
  94305. A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
  94306. call$0() {
  94307. var $async$goto = 0,
  94308. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94309. $async$self = this, t1, t2, t3, t4;
  94310. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94311. if ($async$errorCode === 1)
  94312. return A._asyncRethrow($async$result, $async$completer);
  94313. while (true)
  94314. switch ($async$goto) {
  94315. case 0:
  94316. // Function start
  94317. 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");
  94318. case 2:
  94319. // for condition
  94320. if (!t1.moveNext$0()) {
  94321. // goto after for
  94322. $async$goto = 3;
  94323. break;
  94324. }
  94325. t4 = t1.__internal$_current;
  94326. $async$goto = 4;
  94327. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94328. case 4:
  94329. // returning from await.
  94330. // goto for condition
  94331. $async$goto = 2;
  94332. break;
  94333. case 3:
  94334. // after for
  94335. // implicit return
  94336. return A._asyncReturn(null, $async$completer);
  94337. }
  94338. });
  94339. return A._asyncStartSync($async$call$0, $async$completer);
  94340. },
  94341. $signature: 2
  94342. };
  94343. A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
  94344. call$1(node) {
  94345. var t1;
  94346. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  94347. t1 = this.mergedSources;
  94348. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  94349. } else
  94350. t1 = true;
  94351. return t1;
  94352. },
  94353. $signature: 7
  94354. };
  94355. A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
  94356. call$0() {
  94357. var $async$goto = 0,
  94358. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94359. $async$self = this, t1;
  94360. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94361. if ($async$errorCode === 1)
  94362. return A._asyncRethrow($async$result, $async$completer);
  94363. while (true)
  94364. switch ($async$goto) {
  94365. case 0:
  94366. // Function start
  94367. t1 = $async$self.$this;
  94368. $async$goto = 2;
  94369. 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);
  94370. case 2:
  94371. // returning from await.
  94372. // implicit return
  94373. return A._asyncReturn(null, $async$completer);
  94374. }
  94375. });
  94376. return A._asyncStartSync($async$call$0, $async$completer);
  94377. },
  94378. $signature: 2
  94379. };
  94380. A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
  94381. call$0() {
  94382. var $async$goto = 0,
  94383. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94384. $async$self = this, t1, t2, t3, t4;
  94385. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94386. if ($async$errorCode === 1)
  94387. return A._asyncRethrow($async$result, $async$completer);
  94388. while (true)
  94389. switch ($async$goto) {
  94390. case 0:
  94391. // Function start
  94392. 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");
  94393. case 2:
  94394. // for condition
  94395. if (!t1.moveNext$0()) {
  94396. // goto after for
  94397. $async$goto = 3;
  94398. break;
  94399. }
  94400. t4 = t1.__internal$_current;
  94401. $async$goto = 4;
  94402. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94403. case 4:
  94404. // returning from await.
  94405. // goto for condition
  94406. $async$goto = 2;
  94407. break;
  94408. case 3:
  94409. // after for
  94410. // implicit return
  94411. return A._asyncReturn(null, $async$completer);
  94412. }
  94413. });
  94414. return A._asyncStartSync($async$call$0, $async$completer);
  94415. },
  94416. $signature: 2
  94417. };
  94418. A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
  94419. call$1(node) {
  94420. return node instanceof A.ModifiableCssStyleRule0;
  94421. },
  94422. $signature: 7
  94423. };
  94424. A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
  94425. call$0() {
  94426. var $async$goto = 0,
  94427. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94428. $async$self = this, t2, t3, t4, t1, _0_0;
  94429. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94430. if ($async$errorCode === 1)
  94431. return A._asyncRethrow($async$result, $async$completer);
  94432. while (true)
  94433. switch ($async$goto) {
  94434. case 0:
  94435. // Function start
  94436. t1 = $async$self.$this;
  94437. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  94438. $async$goto = _0_0 != null ? 2 : 4;
  94439. break;
  94440. case 2:
  94441. // then
  94442. $async$goto = 5;
  94443. 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);
  94444. case 5:
  94445. // returning from await.
  94446. // goto join
  94447. $async$goto = 3;
  94448. break;
  94449. case 4:
  94450. // else
  94451. 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");
  94452. case 6:
  94453. // for condition
  94454. if (!t2.moveNext$0()) {
  94455. // goto after for
  94456. $async$goto = 7;
  94457. break;
  94458. }
  94459. t4 = t2.__internal$_current;
  94460. $async$goto = 8;
  94461. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  94462. case 8:
  94463. // returning from await.
  94464. // goto for condition
  94465. $async$goto = 6;
  94466. break;
  94467. case 7:
  94468. // after for
  94469. case 3:
  94470. // join
  94471. // implicit return
  94472. return A._asyncReturn(null, $async$completer);
  94473. }
  94474. });
  94475. return A._asyncStartSync($async$call$0, $async$completer);
  94476. },
  94477. $signature: 2
  94478. };
  94479. A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
  94480. call$0() {
  94481. var $async$goto = 0,
  94482. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94483. $async$self = this, t1, t2, t3, t4;
  94484. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94485. if ($async$errorCode === 1)
  94486. return A._asyncRethrow($async$result, $async$completer);
  94487. while (true)
  94488. switch ($async$goto) {
  94489. case 0:
  94490. // Function start
  94491. 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");
  94492. case 2:
  94493. // for condition
  94494. if (!t1.moveNext$0()) {
  94495. // goto after for
  94496. $async$goto = 3;
  94497. break;
  94498. }
  94499. t4 = t1.__internal$_current;
  94500. $async$goto = 4;
  94501. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94502. case 4:
  94503. // returning from await.
  94504. // goto for condition
  94505. $async$goto = 2;
  94506. break;
  94507. case 3:
  94508. // after for
  94509. // implicit return
  94510. return A._asyncReturn(null, $async$completer);
  94511. }
  94512. });
  94513. return A._asyncStartSync($async$call$0, $async$completer);
  94514. },
  94515. $signature: 2
  94516. };
  94517. A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
  94518. call$1(node) {
  94519. return node instanceof A.ModifiableCssStyleRule0;
  94520. },
  94521. $signature: 7
  94522. };
  94523. A._EvaluateVisitor__performInterpolationHelper_closure2.prototype = {
  94524. call$1(targetLocations) {
  94525. return A.InterpolationMap$0(this.interpolation, targetLocations);
  94526. },
  94527. $signature: 229
  94528. };
  94529. A._EvaluateVisitor__serialize_closure2.prototype = {
  94530. call$0() {
  94531. return A.serializeValue0(this.value, false, this.quote);
  94532. },
  94533. $signature: 32
  94534. };
  94535. A._EvaluateVisitor__expressionNode_closure2.prototype = {
  94536. call$0() {
  94537. var t1 = this.expression;
  94538. return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  94539. },
  94540. $signature: 227
  94541. };
  94542. A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
  94543. call$1(number) {
  94544. var before, after, t1,
  94545. _1_0 = number.asSlash;
  94546. $label0$0: {
  94547. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  94548. before = _1_0._0;
  94549. after = _1_0._1;
  94550. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  94551. break $label0$0;
  94552. }
  94553. t1 = A.serializeValue0(number, true, true);
  94554. break $label0$0;
  94555. }
  94556. return t1;
  94557. },
  94558. $signature: 225
  94559. };
  94560. A._EvaluateVisitor__stackFrame_closure2.prototype = {
  94561. call$1(url) {
  94562. var t1 = this.$this._async_evaluate0$_importCache;
  94563. t1 = t1 == null ? null : t1.humanize$1(url);
  94564. return t1 == null ? url : t1;
  94565. },
  94566. $signature: 51
  94567. };
  94568. A._ImportedCssVisitor2.prototype = {
  94569. visitCssAtRule$1(node) {
  94570. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
  94571. this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
  94572. },
  94573. visitCssComment$1(node) {
  94574. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
  94575. },
  94576. visitCssDeclaration$1(node) {
  94577. },
  94578. visitCssImport$1(node) {
  94579. var t2,
  94580. _s13_ = "_endOfImports",
  94581. t1 = this._async_evaluate0$_visitor;
  94582. if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
  94583. t1._async_evaluate0$_addChild$1(node);
  94584. 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)) {
  94585. t1._async_evaluate0$_addChild$1(node);
  94586. t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
  94587. } else {
  94588. t2 = t1._async_evaluate0$_outOfOrderImports;
  94589. (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  94590. }
  94591. },
  94592. visitCssKeyframeBlock$1(node) {
  94593. },
  94594. visitCssMediaRule$1(node) {
  94595. var t1 = this._async_evaluate0$_visitor,
  94596. mediaQueries = t1._async_evaluate0$_mediaQueries;
  94597. t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  94598. },
  94599. visitCssStyleRule$1(node) {
  94600. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
  94601. },
  94602. visitCssStylesheet$1(node) {
  94603. var t1, t2, t3;
  94604. 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();) {
  94605. t3 = t1.__internal$_current;
  94606. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  94607. }
  94608. },
  94609. visitCssSupportsRule$1(node) {
  94610. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
  94611. }
  94612. };
  94613. A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
  94614. call$1(node) {
  94615. return node instanceof A.ModifiableCssStyleRule0;
  94616. },
  94617. $signature: 7
  94618. };
  94619. A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
  94620. call$1(node) {
  94621. var t1;
  94622. if (!(node instanceof A.ModifiableCssStyleRule0))
  94623. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  94624. else
  94625. t1 = true;
  94626. return t1;
  94627. },
  94628. $signature: 7
  94629. };
  94630. A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
  94631. call$1(node) {
  94632. return node instanceof A.ModifiableCssStyleRule0;
  94633. },
  94634. $signature: 7
  94635. };
  94636. A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
  94637. call$1(node) {
  94638. return node instanceof A.ModifiableCssStyleRule0;
  94639. },
  94640. $signature: 7
  94641. };
  94642. A._EvaluationContext2.prototype = {
  94643. get$currentCallableSpan() {
  94644. var _0_0 = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
  94645. if (_0_0 != null)
  94646. return _0_0.get$span(_0_0);
  94647. throw A.wrapException(A.StateError$(string$.No_Sasc));
  94648. },
  94649. warn$2(_, message, deprecation) {
  94650. var t1 = this._async_evaluate0$_visitor,
  94651. t2 = t1._async_evaluate0$_importSpan;
  94652. if (t2 == null) {
  94653. t2 = t1._async_evaluate0$_callableNode;
  94654. t2 = t2 == null ? null : t2.get$span(t2);
  94655. }
  94656. t1._async_evaluate0$_warn$3(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  94657. },
  94658. $isEvaluationContext0: 1
  94659. };
  94660. A.JSToDartAsyncFileImporter.prototype = {
  94661. canonicalize$1(_, url) {
  94662. return this.canonicalize$body$JSToDartAsyncFileImporter(0, url);
  94663. },
  94664. canonicalize$body$JSToDartAsyncFileImporter(_, url) {
  94665. var $async$goto = 0,
  94666. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  94667. $async$returnValue, $async$self = this, result, t1, resultUrl;
  94668. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94669. if ($async$errorCode === 1)
  94670. return A._asyncRethrow($async$result, $async$completer);
  94671. while (true)
  94672. switch ($async$goto) {
  94673. case 0:
  94674. // Function start
  94675. if (url.get$scheme() === "file") {
  94676. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  94677. // goto return
  94678. $async$goto = 1;
  94679. break;
  94680. }
  94681. result = A.wrapJSExceptions(new A.JSToDartAsyncFileImporter_canonicalize_closure($async$self, url));
  94682. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  94683. break;
  94684. case 3:
  94685. // then
  94686. $async$goto = 5;
  94687. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  94688. case 5:
  94689. // returning from await.
  94690. result = $async$result;
  94691. case 4:
  94692. // join
  94693. if (result == null) {
  94694. $async$returnValue = null;
  94695. // goto return
  94696. $async$goto = 1;
  94697. break;
  94698. }
  94699. t1 = self.URL;
  94700. if (!(result instanceof t1))
  94701. A.jsThrow(new self.Error(string$.The_fie));
  94702. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  94703. if (resultUrl.get$scheme() !== "file")
  94704. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  94705. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  94706. // goto return
  94707. $async$goto = 1;
  94708. break;
  94709. case 1:
  94710. // return
  94711. return A._asyncReturn($async$returnValue, $async$completer);
  94712. }
  94713. });
  94714. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  94715. },
  94716. load$1(_, url) {
  94717. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  94718. },
  94719. isNonCanonicalScheme$1(scheme) {
  94720. return scheme !== "file";
  94721. }
  94722. };
  94723. A.JSToDartAsyncFileImporter_canonicalize_closure.prototype = {
  94724. call$0() {
  94725. return this.$this._findFileUrl.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  94726. },
  94727. $signature: 37
  94728. };
  94729. A.AsyncImportCache0.prototype = {
  94730. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  94731. return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
  94732. },
  94733. canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
  94734. var $async$goto = 0,
  94735. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  94736. $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;
  94737. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94738. if ($async$errorCode === 1)
  94739. return A._asyncRethrow($async$result, $async$completer);
  94740. while (true)
  94741. switch ($async$goto) {
  94742. case 0:
  94743. // Function start
  94744. if (A.isBrowser())
  94745. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && $async$self._async_import_cache0$_importers.length === 0;
  94746. else
  94747. t1 = false;
  94748. if (t1)
  94749. throw A.wrapException(string$.Custom);
  94750. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  94751. break;
  94752. case 3:
  94753. // then
  94754. resolvedUrl = baseUrl == null ? null : baseUrl.resolveUri$1(url);
  94755. if (resolvedUrl == null)
  94756. resolvedUrl = url;
  94757. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  94758. $async$goto = 5;
  94759. 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);
  94760. case 5:
  94761. // returning from await.
  94762. relativeResult = $async$result;
  94763. if (relativeResult != null) {
  94764. $async$returnValue = relativeResult;
  94765. // goto return
  94766. $async$goto = 1;
  94767. break;
  94768. }
  94769. case 4:
  94770. // join
  94771. key = new A._Record_2_forImport(url, forImport);
  94772. t1 = $async$self._async_import_cache0$_canonicalizeCache;
  94773. if (t1.containsKey$1(key)) {
  94774. $async$returnValue = t1.$index(0, key);
  94775. // goto return
  94776. $async$goto = 1;
  94777. break;
  94778. }
  94779. 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;
  94780. case 6:
  94781. // for condition
  94782. if (!(i < t2.length)) {
  94783. // goto after for
  94784. $async$goto = 8;
  94785. break;
  94786. }
  94787. importer = t2[i];
  94788. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  94789. if (t4.containsKey$1(perImporterKey)) {
  94790. t7 = t4.$index(0, perImporterKey);
  94791. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  94792. } else
  94793. _1_0 = null;
  94794. _1_2_isSet = t3._is(_1_0);
  94795. result = null;
  94796. if (_1_2_isSet) {
  94797. _1_2 = _1_0._0;
  94798. t7 = _1_2 != null;
  94799. if (t7) {
  94800. t6._as(_1_2);
  94801. result = _1_2;
  94802. }
  94803. } else {
  94804. _1_2 = null;
  94805. t7 = false;
  94806. }
  94807. if (t7) {
  94808. $async$returnValue = result;
  94809. // goto return
  94810. $async$goto = 1;
  94811. break;
  94812. }
  94813. if (_1_2_isSet)
  94814. t7 = _1_2 == null;
  94815. else
  94816. t7 = false;
  94817. if (t7) {
  94818. // goto for update
  94819. $async$goto = 7;
  94820. break;
  94821. }
  94822. $async$goto = 10;
  94823. return A._asyncAwait($async$self._async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  94824. case 10:
  94825. // returning from await.
  94826. _2_0 = $async$result;
  94827. _2_1 = _2_0._0;
  94828. _2_5_isSet = _2_1 != null;
  94829. _2_5 = null;
  94830. _2_3 = null;
  94831. t7 = false;
  94832. if (_2_5_isSet) {
  94833. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  94834. _2_3 = _2_0._1;
  94835. t7 = _2_3;
  94836. _2_5 = t7;
  94837. t7 = t7 && cacheable;
  94838. } else
  94839. result = null;
  94840. if (t7) {
  94841. t1.$indexSet(0, key, result);
  94842. $async$returnValue = result;
  94843. // goto return
  94844. $async$goto = 1;
  94845. break;
  94846. }
  94847. if (_2_5_isSet) {
  94848. t7 = _2_5;
  94849. _2_3_isSet = _2_5_isSet;
  94850. } else {
  94851. _2_3 = _2_0._1;
  94852. t7 = _2_3;
  94853. _2_3_isSet = true;
  94854. }
  94855. t7 = t7 && !cacheable;
  94856. if (t7) {
  94857. t4.$indexSet(0, perImporterKey, _2_1);
  94858. if (_2_1 != null) {
  94859. $async$returnValue = _2_1;
  94860. // goto return
  94861. $async$goto = 1;
  94862. break;
  94863. }
  94864. // goto break $label0$1
  94865. $async$goto = 9;
  94866. break;
  94867. }
  94868. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  94869. if (t7) {
  94870. if (cacheable) {
  94871. for (j = 0; j < i; ++j)
  94872. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
  94873. cacheable = false;
  94874. }
  94875. if (_2_1 != null) {
  94876. $async$returnValue = _2_1;
  94877. // goto return
  94878. $async$goto = 1;
  94879. break;
  94880. }
  94881. }
  94882. case 9:
  94883. // break $label0$1
  94884. case 7:
  94885. // for update
  94886. ++i;
  94887. // goto for condition
  94888. $async$goto = 6;
  94889. break;
  94890. case 8:
  94891. // after for
  94892. if (cacheable)
  94893. t1.$indexSet(0, key, null);
  94894. $async$returnValue = null;
  94895. // goto return
  94896. $async$goto = 1;
  94897. break;
  94898. case 1:
  94899. // return
  94900. return A._asyncReturn($async$returnValue, $async$completer);
  94901. }
  94902. });
  94903. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  94904. },
  94905. _async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport) {
  94906. return this._canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport);
  94907. },
  94908. _canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport) {
  94909. var $async$goto = 0,
  94910. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2),
  94911. $async$returnValue, t1, passContainingUrl, canonicalizeContext, result, cacheable;
  94912. var $async$_async_import_cache0$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94913. if ($async$errorCode === 1)
  94914. return A._asyncRethrow($async$result, $async$completer);
  94915. while (true)
  94916. switch ($async$goto) {
  94917. case 0:
  94918. // Function start
  94919. $async$goto = baseUrl != null ? 3 : 5;
  94920. break;
  94921. case 3:
  94922. // then
  94923. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  94924. break;
  94925. case 6:
  94926. // then
  94927. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  94928. $async$goto = 9;
  94929. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  94930. case 9:
  94931. // returning from await.
  94932. t1 = $async$result;
  94933. passContainingUrl = t1;
  94934. // goto join
  94935. $async$goto = 7;
  94936. break;
  94937. case 8:
  94938. // else
  94939. passContainingUrl = true;
  94940. case 7:
  94941. // join
  94942. // goto join
  94943. $async$goto = 4;
  94944. break;
  94945. case 5:
  94946. // else
  94947. passContainingUrl = false;
  94948. case 4:
  94949. // join
  94950. canonicalizeContext = new A.CanonicalizeContext0(forImport, passContainingUrl ? baseUrl : null);
  94951. t1 = type$.nullable_Object;
  94952. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.FutureOr_nullable_Uri);
  94953. $async$goto = 10;
  94954. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache0$_canonicalize$4);
  94955. case 10:
  94956. // returning from await.
  94957. result = $async$result;
  94958. cacheable = !passContainingUrl || !canonicalizeContext._canonicalize_context$_wasContainingUrlAccessed;
  94959. if (result == null) {
  94960. $async$returnValue = new A._Record_2(null, cacheable);
  94961. // goto return
  94962. $async$goto = 1;
  94963. break;
  94964. }
  94965. $async$goto = result.get$scheme() !== "" ? 11 : 13;
  94966. break;
  94967. case 11:
  94968. // then
  94969. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  94970. $async$goto = 14;
  94971. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  94972. case 14:
  94973. // returning from await.
  94974. t1 = $async$result;
  94975. // goto join
  94976. $async$goto = 12;
  94977. break;
  94978. case 13:
  94979. // else
  94980. t1 = false;
  94981. case 12:
  94982. // join
  94983. if (t1)
  94984. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  94985. $async$returnValue = new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  94986. // goto return
  94987. $async$goto = 1;
  94988. break;
  94989. case 1:
  94990. // return
  94991. return A._asyncReturn($async$returnValue, $async$completer);
  94992. }
  94993. });
  94994. return A._asyncStartSync($async$_async_import_cache0$_canonicalize$4, $async$completer);
  94995. },
  94996. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  94997. return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl);
  94998. },
  94999. importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl) {
  95000. var $async$goto = 0,
  95001. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  95002. $async$returnValue, $async$self = this;
  95003. var $async$importCanonical$3$originalUrl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95004. if ($async$errorCode === 1)
  95005. return A._asyncRethrow($async$result, $async$completer);
  95006. while (true)
  95007. switch ($async$goto) {
  95008. case 0:
  95009. // Function start
  95010. $async$goto = 3;
  95011. 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);
  95012. case 3:
  95013. // returning from await.
  95014. $async$returnValue = $async$result;
  95015. // goto return
  95016. $async$goto = 1;
  95017. break;
  95018. case 1:
  95019. // return
  95020. return A._asyncReturn($async$returnValue, $async$completer);
  95021. }
  95022. });
  95023. return A._asyncStartSync($async$importCanonical$3$originalUrl, $async$completer);
  95024. },
  95025. humanize$1(canonicalUrl) {
  95026. var t1 = this._async_import_cache0$_canonicalizeCache,
  95027. t2 = type$.NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2;
  95028. 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));
  95029. return t2 == null ? canonicalUrl : t2;
  95030. },
  95031. sourceMapUrl$1(_, canonicalUrl) {
  95032. var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
  95033. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  95034. return t1 == null ? canonicalUrl : t1;
  95035. }
  95036. };
  95037. A.AsyncImportCache_canonicalize_closure0.prototype = {
  95038. call$0() {
  95039. var $async$goto = 0,
  95040. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  95041. $async$returnValue, $async$self = this, t1, t2, _0_0, result;
  95042. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95043. if ($async$errorCode === 1)
  95044. return A._asyncRethrow($async$result, $async$completer);
  95045. while (true)
  95046. switch ($async$goto) {
  95047. case 0:
  95048. // Function start
  95049. t1 = $async$self.$this;
  95050. t2 = $async$self.baseUrl;
  95051. $async$goto = 3;
  95052. return A._asyncAwait(t1._async_import_cache0$_canonicalize$4($async$self.baseImporter, $async$self.resolvedUrl, t2, $async$self.forImport), $async$call$0);
  95053. case 3:
  95054. // returning from await.
  95055. _0_0 = $async$result;
  95056. result = _0_0._0;
  95057. _0_0._1;
  95058. if (t2 != null)
  95059. t1._async_import_cache0$_nonCanonicalRelativeUrls.$indexSet(0, $async$self.key, $async$self.url);
  95060. $async$returnValue = result;
  95061. // goto return
  95062. $async$goto = 1;
  95063. break;
  95064. case 1:
  95065. // return
  95066. return A._asyncReturn($async$returnValue, $async$completer);
  95067. }
  95068. });
  95069. return A._asyncStartSync($async$call$0, $async$completer);
  95070. },
  95071. $signature: 361
  95072. };
  95073. A.AsyncImportCache__canonicalize_closure0.prototype = {
  95074. call$0() {
  95075. return this.importer.canonicalize$1(0, this.url);
  95076. },
  95077. $signature: 181
  95078. };
  95079. A.AsyncImportCache_importCanonical_closure0.prototype = {
  95080. call$0() {
  95081. var $async$goto = 0,
  95082. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  95083. $async$returnValue, $async$self = this, t1, t2, t3, result;
  95084. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95085. if ($async$errorCode === 1)
  95086. return A._asyncRethrow($async$result, $async$completer);
  95087. while (true)
  95088. switch ($async$goto) {
  95089. case 0:
  95090. // Function start
  95091. t1 = Date.now();
  95092. t2 = $async$self.canonicalUrl;
  95093. t3 = $async$self.importer.load$1(0, t2);
  95094. $async$goto = 3;
  95095. return A._asyncAwait(type$.Future_nullable_ImporterResult._is(t3) ? t3 : A._Future$value(t3, type$.nullable_ImporterResult_2), $async$call$0);
  95096. case 3:
  95097. // returning from await.
  95098. result = $async$result;
  95099. if (result == null) {
  95100. $async$returnValue = null;
  95101. // goto return
  95102. $async$goto = 1;
  95103. break;
  95104. }
  95105. t3 = $async$self.$this;
  95106. t3._async_import_cache0$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  95107. t3._async_import_cache0$_resultsCache.$indexSet(0, t2, result);
  95108. t3 = result.contents;
  95109. t1 = result.syntax;
  95110. t2 = $async$self.originalUrl.resolveUri$1(t2);
  95111. $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t1, t2);
  95112. // goto return
  95113. $async$goto = 1;
  95114. break;
  95115. case 1:
  95116. // return
  95117. return A._asyncReturn($async$returnValue, $async$completer);
  95118. }
  95119. });
  95120. return A._asyncStartSync($async$call$0, $async$completer);
  95121. },
  95122. $signature: 362
  95123. };
  95124. A.AsyncImportCache_humanize_closure3.prototype = {
  95125. call$1(result) {
  95126. return result._1.$eq(0, this.canonicalUrl);
  95127. },
  95128. $signature: 363
  95129. };
  95130. A.AsyncImportCache_humanize_closure4.prototype = {
  95131. call$1(result) {
  95132. return result._2;
  95133. },
  95134. $signature: 364
  95135. };
  95136. A.AsyncImportCache_humanize_closure5.prototype = {
  95137. call$1(url) {
  95138. return url.get$path(url).length;
  95139. },
  95140. $signature: 90
  95141. };
  95142. A.AsyncImportCache_humanize_closure6.prototype = {
  95143. call$1(url) {
  95144. var t1 = $.$get$url(),
  95145. t2 = this.canonicalUrl;
  95146. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  95147. },
  95148. $signature: 51
  95149. };
  95150. A.AtRootQueryParser0.prototype = {
  95151. parse$0(_) {
  95152. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
  95153. }
  95154. };
  95155. A.AtRootQueryParser_parse_closure0.prototype = {
  95156. call$0() {
  95157. var include, atRules,
  95158. t1 = this.$this,
  95159. t2 = t1.scanner;
  95160. t2.expectChar$1(40);
  95161. t1.whitespace$1$consumeNewlines(true);
  95162. include = t1.scanIdentifier$1("with");
  95163. if (!include)
  95164. t1.expectIdentifier$2$name("without", '"with" or "without"');
  95165. t1.whitespace$1$consumeNewlines(true);
  95166. t2.expectChar$1(58);
  95167. t1.whitespace$1$consumeNewlines(true);
  95168. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  95169. do {
  95170. atRules.add$1(0, t1.identifier$0().toLowerCase());
  95171. t1.whitespace$1$consumeNewlines(true);
  95172. } while (t1.lookingAtIdentifier$0());
  95173. t2.expectChar$1(41);
  95174. t2.expectDone$0();
  95175. return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  95176. },
  95177. $signature: 365
  95178. };
  95179. A.AtRootQuery0.prototype = {
  95180. excludes$1(node) {
  95181. var t1, _this = this;
  95182. if (_this._at_root_query0$_all)
  95183. return !_this.include;
  95184. $label0$0: {
  95185. if (node instanceof A.ModifiableCssStyleRule0) {
  95186. t1 = _this._at_root_query0$_rule !== _this.include;
  95187. break $label0$0;
  95188. }
  95189. if (node instanceof A.ModifiableCssMediaRule0) {
  95190. t1 = _this.excludesName$1("media");
  95191. break $label0$0;
  95192. }
  95193. if (node instanceof A.ModifiableCssSupportsRule0) {
  95194. t1 = _this.excludesName$1("supports");
  95195. break $label0$0;
  95196. }
  95197. if (node instanceof A.ModifiableCssAtRule0) {
  95198. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  95199. break $label0$0;
  95200. }
  95201. t1 = false;
  95202. break $label0$0;
  95203. }
  95204. return t1;
  95205. },
  95206. excludesName$1($name) {
  95207. var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
  95208. return t1 !== this.include;
  95209. }
  95210. };
  95211. A.AtRootRule0.prototype = {
  95212. accept$1$1(visitor) {
  95213. return visitor.visitAtRootRule$1(0, this);
  95214. },
  95215. accept$1(visitor) {
  95216. return this.accept$1$1(visitor, type$.dynamic);
  95217. },
  95218. toString$0(_) {
  95219. var buffer = new A.StringBuffer("@at-root "),
  95220. t1 = this.query;
  95221. if (t1 != null)
  95222. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  95223. t1 = this.children;
  95224. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  95225. },
  95226. get$span(receiver) {
  95227. return this.span;
  95228. }
  95229. };
  95230. A.ModifiableCssAtRule0.prototype = {
  95231. accept$1$1(visitor) {
  95232. return visitor.visitCssAtRule$1(this);
  95233. },
  95234. accept$1(visitor) {
  95235. return this.accept$1$1(visitor, type$.dynamic);
  95236. },
  95237. equalsIgnoringChildren$1(other) {
  95238. var t1, t2;
  95239. if (other instanceof A.ModifiableCssAtRule0) {
  95240. t1 = this.name;
  95241. t2 = other.name;
  95242. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  95243. } else
  95244. t1 = false;
  95245. return t1;
  95246. },
  95247. copyWithoutChildren$0() {
  95248. var _this = this;
  95249. return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
  95250. },
  95251. addChild$1(child) {
  95252. this.super$ModifiableCssParentNode$addChild0(child);
  95253. },
  95254. get$isChildless() {
  95255. return this.isChildless;
  95256. },
  95257. get$span(receiver) {
  95258. return this.span;
  95259. }
  95260. };
  95261. A.AtRule0.prototype = {
  95262. accept$1$1(visitor) {
  95263. return visitor.visitAtRule$1(0, this);
  95264. },
  95265. accept$1(visitor) {
  95266. return this.accept$1$1(visitor, type$.dynamic);
  95267. },
  95268. toString$0(_) {
  95269. var children,
  95270. t1 = "@" + this.name.toString$0(0),
  95271. buffer = new A.StringBuffer(t1),
  95272. t2 = this.value;
  95273. if (t2 != null)
  95274. buffer._contents = t1 + (" " + t2.toString$0(0));
  95275. children = this.children;
  95276. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  95277. },
  95278. get$span(receiver) {
  95279. return this.span;
  95280. }
  95281. };
  95282. A.AttributeSelector0.prototype = {
  95283. accept$1$1(visitor) {
  95284. return visitor.visitAttributeSelector$1(this);
  95285. },
  95286. accept$1(visitor) {
  95287. return this.accept$1$1(visitor, type$.dynamic);
  95288. },
  95289. $eq(_, other) {
  95290. var _this = this;
  95291. if (other == null)
  95292. return false;
  95293. return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  95294. },
  95295. get$hashCode(_) {
  95296. var _this = this,
  95297. t1 = _this.name;
  95298. 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;
  95299. }
  95300. };
  95301. A.AttributeOperator0.prototype = {
  95302. _enumToString$0() {
  95303. return "AttributeOperator." + this._name;
  95304. },
  95305. toString$0(_) {
  95306. return this._attribute0$_text;
  95307. }
  95308. };
  95309. A.BinaryOperationExpression0.prototype = {
  95310. get$span(_) {
  95311. var right,
  95312. left = this.left;
  95313. for (; left instanceof A.BinaryOperationExpression0;)
  95314. left = left.left;
  95315. right = this.right;
  95316. for (; right instanceof A.BinaryOperationExpression0;)
  95317. right = right.right;
  95318. return left.get$span(left).expand$1(0, right.get$span(right));
  95319. },
  95320. get$operatorSpan() {
  95321. var t3, t4,
  95322. t1 = this.left,
  95323. t2 = t1.get$span(t1);
  95324. t2 = t2.get$file(t2);
  95325. t3 = this.right;
  95326. t4 = t3.get$span(t3);
  95327. if (t2 === t4.get$file(t4)) {
  95328. t2 = t1.get$span(t1);
  95329. t2 = t2.get$end(t2);
  95330. t4 = t3.get$span(t3);
  95331. t4 = t2.offset < t4.get$start(t4).offset;
  95332. t2 = t4;
  95333. } else
  95334. t2 = false;
  95335. if (t2) {
  95336. t2 = t1.get$span(t1);
  95337. t2 = t2.get$file(t2);
  95338. t1 = t1.get$span(t1);
  95339. t1 = t1.get$end(t1);
  95340. t3 = t3.get$span(t3);
  95341. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  95342. t1 = t3;
  95343. } else
  95344. t1 = this.get$span(0);
  95345. return t1;
  95346. },
  95347. accept$1$1(visitor) {
  95348. return visitor.visitBinaryOperationExpression$1(0, this);
  95349. },
  95350. accept$1(visitor) {
  95351. return this.accept$1$1(visitor, type$.dynamic);
  95352. },
  95353. toString$0(_) {
  95354. var t1, t2, right, t3, operator, _this = this,
  95355. _0_0 = _this.left;
  95356. $label0$0: {
  95357. if (_0_0 instanceof A.BinaryOperationExpression0) {
  95358. t1 = _0_0.operator.precedence < _this.operator.precedence;
  95359. break $label0$0;
  95360. }
  95361. if (_0_0 instanceof A.ListExpression0 && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  95362. t1 = true;
  95363. break $label0$0;
  95364. }
  95365. t1 = false;
  95366. break $label0$0;
  95367. }
  95368. t2 = t1 ? "" + A.Primitives_stringFromCharCode(40) : "";
  95369. t2 += _0_0.toString$0(0);
  95370. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  95371. t2 = _this.operator;
  95372. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  95373. right = _this.right;
  95374. $label1$1: {
  95375. t3 = false;
  95376. if (right instanceof A.BinaryOperationExpression0) {
  95377. operator = right.operator;
  95378. if (operator.precedence <= t2.precedence) {
  95379. t3 = !(operator === t2 && operator.isAssociative);
  95380. t2 = t3;
  95381. } else
  95382. t2 = t3;
  95383. break $label1$1;
  95384. }
  95385. if (right instanceof A.ListExpression0 && !right.hasBrackets && right.contents.length >= 2) {
  95386. t2 = true;
  95387. break $label1$1;
  95388. }
  95389. t2 = t3;
  95390. break $label1$1;
  95391. }
  95392. if (t2)
  95393. t1 += A.Primitives_stringFromCharCode(40);
  95394. t1 += right.toString$0(0);
  95395. if (t2)
  95396. t1 += A.Primitives_stringFromCharCode(41);
  95397. return t1.charCodeAt(0) == 0 ? t1 : t1;
  95398. }
  95399. };
  95400. A.BinaryOperator0.prototype = {
  95401. _enumToString$0() {
  95402. return "BinaryOperator." + this._name;
  95403. },
  95404. toString$0(_) {
  95405. return this.name;
  95406. }
  95407. };
  95408. A.BooleanExpression0.prototype = {
  95409. accept$1$1(visitor) {
  95410. return visitor.visitBooleanExpression$1(0, this);
  95411. },
  95412. accept$1(visitor) {
  95413. return this.accept$1$1(visitor, type$.dynamic);
  95414. },
  95415. toString$0(_) {
  95416. return String(this.value);
  95417. },
  95418. get$span(receiver) {
  95419. return this.span;
  95420. }
  95421. };
  95422. A.booleanClass_closure.prototype = {
  95423. call$0() {
  95424. var t1 = type$.JSClass,
  95425. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
  95426. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  95427. return jsClass;
  95428. },
  95429. $signature: 15
  95430. };
  95431. A.booleanClass__closure.prototype = {
  95432. call$2($self, _) {
  95433. A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
  95434. },
  95435. call$1($self) {
  95436. return this.call$2($self, null);
  95437. },
  95438. "call*": "call$2",
  95439. $requiredArgCount: 1,
  95440. $defaultValues() {
  95441. return [null];
  95442. },
  95443. $signature: 222
  95444. };
  95445. A.legacyBooleanClass_closure.prototype = {
  95446. call$0() {
  95447. var t1 = type$.JSClass,
  95448. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
  95449. J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
  95450. jsClass.TRUE = B.SassBoolean_true0;
  95451. jsClass.FALSE = B.SassBoolean_false0;
  95452. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  95453. return jsClass;
  95454. },
  95455. $signature: 15
  95456. };
  95457. A.legacyBooleanClass__closure.prototype = {
  95458. call$2(_, __) {
  95459. throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
  95460. },
  95461. call$1(_) {
  95462. return this.call$2(_, null);
  95463. },
  95464. "call*": "call$2",
  95465. $requiredArgCount: 1,
  95466. $defaultValues() {
  95467. return [null];
  95468. },
  95469. $signature: 221
  95470. };
  95471. A.legacyBooleanClass__closure0.prototype = {
  95472. call$1($self) {
  95473. return $self === B.SassBoolean_true0;
  95474. },
  95475. $signature: 71
  95476. };
  95477. A.SassBoolean0.prototype = {
  95478. get$isTruthy() {
  95479. return this.value;
  95480. },
  95481. accept$1$1(visitor) {
  95482. return visitor._serialize0$_buffer.write$1(0, String(this.value));
  95483. },
  95484. accept$1(visitor) {
  95485. return this.accept$1$1(visitor, type$.dynamic);
  95486. },
  95487. assertBoolean$1($name) {
  95488. return this;
  95489. },
  95490. unaryNot$0() {
  95491. return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
  95492. }
  95493. };
  95494. A.Box0.prototype = {
  95495. $eq(_, other) {
  95496. if (other == null)
  95497. return false;
  95498. return this.$ti._is(other) && other._box0$_inner === this._box0$_inner;
  95499. },
  95500. get$hashCode(_) {
  95501. return A.Primitives_objectHashCode(this._box0$_inner);
  95502. }
  95503. };
  95504. A.ModifiableBox0.prototype = {};
  95505. A.BuiltInCallable0.prototype = {
  95506. callbackFor$2(positional, names) {
  95507. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  95508. 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) {
  95509. overload = t1[_i];
  95510. t3 = overload._0;
  95511. if (t3.matches$2(positional, names))
  95512. return overload;
  95513. mismatchDistance = t3.parameters.length - positional;
  95514. if (minMismatchDistance != null) {
  95515. t3 = Math.abs(mismatchDistance);
  95516. t4 = Math.abs(minMismatchDistance);
  95517. if (t3 > t4)
  95518. continue;
  95519. if (t3 === t4 && mismatchDistance < 0)
  95520. continue;
  95521. }
  95522. minMismatchDistance = mismatchDistance;
  95523. fuzzyMatch = overload;
  95524. }
  95525. if (fuzzyMatch != null)
  95526. return fuzzyMatch;
  95527. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  95528. },
  95529. withName$1($name) {
  95530. return new A.BuiltInCallable0($name, this._built_in$_overloads, this.acceptsContent);
  95531. },
  95532. withDeprecationWarning$2(module, newName) {
  95533. var t2, t3, _i, t4, t5, _this = this,
  95534. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2);
  95535. for (t2 = _this._built_in$_overloads, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  95536. t4 = {};
  95537. t5 = t2[_i];
  95538. t4.$function = null;
  95539. t4.$function = t5._1;
  95540. t1.push(new A._Record_2(t5._0, new A.BuiltInCallable_withDeprecationWarning_closure0(t4, _this, module, newName)));
  95541. }
  95542. return new A.BuiltInCallable0(_this.name, t1, _this.acceptsContent);
  95543. },
  95544. withDeprecationWarning$1(module) {
  95545. return this.withDeprecationWarning$2(module, null);
  95546. },
  95547. $isAsyncCallable0: 1,
  95548. $isAsyncBuiltInCallable0: 1,
  95549. $isCallable: 1,
  95550. get$name(receiver) {
  95551. return this.name;
  95552. },
  95553. get$acceptsContent() {
  95554. return this.acceptsContent;
  95555. }
  95556. };
  95557. A.BuiltInCallable$mixin_closure0.prototype = {
  95558. call$1($arguments) {
  95559. this.callback.call$1($arguments);
  95560. return B.C__SassNull0;
  95561. },
  95562. $signature: 3
  95563. };
  95564. A.BuiltInCallable_withDeprecationWarning_closure0.prototype = {
  95565. call$1(args) {
  95566. var _this = this,
  95567. t1 = _this.newName;
  95568. if (t1 == null)
  95569. t1 = _this.$this.name;
  95570. A.warnForDeprecation0(string$.Global + _this.module + "." + t1 + string$.x20inste, B.Deprecation_ZDV);
  95571. return _this._box_0.$function.call$1(args);
  95572. },
  95573. $signature: 3
  95574. };
  95575. A.BuiltInModule0.prototype = {
  95576. get$upstream() {
  95577. return B.List_empty19;
  95578. },
  95579. get$variableNodes() {
  95580. return B.Map_empty13;
  95581. },
  95582. get$extensionStore() {
  95583. return B.C_EmptyExtensionStore0;
  95584. },
  95585. get$css(_) {
  95586. return new A.CssStylesheet0(B.List_empty17, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  95587. },
  95588. get$preModuleComments() {
  95589. return B.Map_empty12;
  95590. },
  95591. get$transitivelyContainsCss() {
  95592. return false;
  95593. },
  95594. get$transitivelyContainsExtensions() {
  95595. return false;
  95596. },
  95597. setVariable$3($name, value, nodeWithSpan) {
  95598. if (!this.variables.containsKey$1($name))
  95599. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  95600. throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable.", null));
  95601. },
  95602. variableIdentity$1($name) {
  95603. return this;
  95604. },
  95605. cloneCss$0() {
  95606. return this;
  95607. },
  95608. $isModule1: 1,
  95609. get$url(receiver) {
  95610. return this.url;
  95611. },
  95612. get$functions(receiver) {
  95613. return this.functions;
  95614. },
  95615. get$mixins() {
  95616. return this.mixins;
  95617. },
  95618. get$variables() {
  95619. return this.variables;
  95620. }
  95621. };
  95622. A.calculationClass_closure.prototype = {
  95623. call$0() {
  95624. var t1 = type$.JSClass,
  95625. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassCalculation", new A.calculationClass__closure())),
  95626. t2 = type$.String,
  95627. t3 = type$.Function;
  95628. 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));
  95629. A.LinkedHashMap_LinkedHashMap$_literal(["assertCalculation", new A.calculationClass__closure4()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  95630. A.LinkedHashMap_LinkedHashMap$_literal(["arguments", new A.calculationClass__closure5()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  95631. 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);
  95632. return jsClass;
  95633. },
  95634. $signature: 15
  95635. };
  95636. A.calculationClass__closure.prototype = {
  95637. call$2($self, _) {
  95638. A.jsThrow0(new self.Error("new sass.SassCalculation() isn't allowed"));
  95639. },
  95640. call$1($self) {
  95641. return this.call$2($self, null);
  95642. },
  95643. "call*": "call$2",
  95644. $requiredArgCount: 1,
  95645. $defaultValues() {
  95646. return [null];
  95647. },
  95648. $signature: 222
  95649. };
  95650. A.calculationClass__closure0.prototype = {
  95651. call$1(argument) {
  95652. A._assertCalculationValue(argument);
  95653. return new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([argument], type$.JSArray_Object), type$.Object));
  95654. },
  95655. $signature: 116
  95656. };
  95657. A.calculationClass__closure1.prototype = {
  95658. call$1($arguments) {
  95659. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  95660. t2 = type$.Object,
  95661. argList = J.cast$1$0$ax(t1, t2);
  95662. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  95663. return new A.SassCalculation0("min", A.List_List$unmodifiable(argList, t2));
  95664. },
  95665. $signature: 116
  95666. };
  95667. A.calculationClass__closure2.prototype = {
  95668. call$1($arguments) {
  95669. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  95670. t2 = type$.Object,
  95671. argList = J.cast$1$0$ax(t1, t2);
  95672. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  95673. return new A.SassCalculation0("max", A.List_List$unmodifiable(argList, t2));
  95674. },
  95675. $signature: 116
  95676. };
  95677. A.calculationClass__closure3.prototype = {
  95678. call$3(min, value, max) {
  95679. var t1;
  95680. if (!(value == null && !A._isValidClampArg(min)))
  95681. t1 = max == null && !B.JSArray_methods.any$1([min, value], A.calculation1___isValidClampArg$closure());
  95682. else
  95683. t1 = true;
  95684. if (t1)
  95685. 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) + "`"));
  95686. t1 = type$.NonNullsIterable_Object;
  95687. new A.NonNullsIterable([min, value, max], t1).forEach$1(0, A.calculation1___assertCalculationValue$closure());
  95688. return new A.SassCalculation0("clamp", A.List_List$unmodifiable(new A.NonNullsIterable([min, value, max], t1), type$.Object));
  95689. },
  95690. call$1(min) {
  95691. return this.call$3(min, null, null);
  95692. },
  95693. call$2(min, value) {
  95694. return this.call$3(min, value, null);
  95695. },
  95696. "call*": "call$3",
  95697. $requiredArgCount: 1,
  95698. $defaultValues() {
  95699. return [null, null];
  95700. },
  95701. $signature: 370
  95702. };
  95703. A.calculationClass__closure4.prototype = {
  95704. call$2($self, $name) {
  95705. return $self;
  95706. },
  95707. call$1($self) {
  95708. return this.call$2($self, null);
  95709. },
  95710. "call*": "call$2",
  95711. $requiredArgCount: 1,
  95712. $defaultValues() {
  95713. return [null];
  95714. },
  95715. $signature: 371
  95716. };
  95717. A.calculationClass__closure5.prototype = {
  95718. call$1($self) {
  95719. return new self.immutable.List($self.$arguments);
  95720. },
  95721. $signature: 372
  95722. };
  95723. A.calculationOperationClass_closure.prototype = {
  95724. call$0() {
  95725. var _null = null,
  95726. t1 = type$.JSClass,
  95727. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationOperation", new A.calculationOperationClass__closure())),
  95728. t2 = type$.String,
  95729. t3 = type$.Function;
  95730. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationOperationClass__closure0(), "hashCode", new A.calculationOperationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  95731. 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));
  95732. 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);
  95733. return jsClass;
  95734. },
  95735. $signature: 15
  95736. };
  95737. A.calculationOperationClass__closure.prototype = {
  95738. call$4($self, strOperator, left, right) {
  95739. var operator = A.IterableExtension_firstWhereOrNull(B.List_g9w, new A.calculationOperationClass___closure(strOperator));
  95740. if (operator == null)
  95741. A.jsThrow0(new self.Error("Invalid operator: " + strOperator));
  95742. A._assertCalculationValue(left);
  95743. A._assertCalculationValue(right);
  95744. return A.SassCalculation_operateInternal0(operator, left, right, null, false, null);
  95745. },
  95746. "call*": "call$4",
  95747. $requiredArgCount: 4,
  95748. $signature: 373
  95749. };
  95750. A.calculationOperationClass___closure.prototype = {
  95751. call$1(value) {
  95752. return value.operator === this.strOperator;
  95753. },
  95754. $signature: 374
  95755. };
  95756. A.calculationOperationClass__closure0.prototype = {
  95757. call$2($self, other) {
  95758. return $self.$eq(0, other);
  95759. },
  95760. $signature: 375
  95761. };
  95762. A.calculationOperationClass__closure1.prototype = {
  95763. call$1($self) {
  95764. return $self.get$hashCode(0);
  95765. },
  95766. $signature: 376
  95767. };
  95768. A.calculationOperationClass__closure2.prototype = {
  95769. call$1($self) {
  95770. return $self._calculation0$_operator.operator;
  95771. },
  95772. $signature: 377
  95773. };
  95774. A.calculationOperationClass__closure3.prototype = {
  95775. call$1($self) {
  95776. return $self._calculation0$_left;
  95777. },
  95778. $signature: 220
  95779. };
  95780. A.calculationOperationClass__closure4.prototype = {
  95781. call$1($self) {
  95782. return $self._calculation0$_right;
  95783. },
  95784. $signature: 220
  95785. };
  95786. A.calculationInterpolationClass_closure.prototype = {
  95787. call$0() {
  95788. var t1 = type$.JSClass,
  95789. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationInterpolation", new A.calculationInterpolationClass__closure())),
  95790. t2 = type$.String,
  95791. t3 = type$.Function;
  95792. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationInterpolationClass__closure0(), "hashCode", new A.calculationInterpolationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  95793. A.LinkedHashMap_LinkedHashMap$_literal(["value", new A.calculationInterpolationClass__closure2()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  95794. A.JSClassExtension_injectSuperclass(t1._as(new A.CalculationInterpolation("").constructor), jsClass);
  95795. return jsClass;
  95796. },
  95797. $signature: 15
  95798. };
  95799. A.calculationInterpolationClass__closure.prototype = {
  95800. call$2($self, value) {
  95801. return new A.CalculationInterpolation(value);
  95802. },
  95803. $signature: 379
  95804. };
  95805. A.calculationInterpolationClass__closure0.prototype = {
  95806. call$2($self, other) {
  95807. return other instanceof A.CalculationInterpolation && $self._calculation0$_value === other._calculation0$_value;
  95808. },
  95809. $signature: 380
  95810. };
  95811. A.calculationInterpolationClass__closure1.prototype = {
  95812. call$1($self) {
  95813. return B.JSString_methods.get$hashCode($self._calculation0$_value);
  95814. },
  95815. $signature: 381
  95816. };
  95817. A.calculationInterpolationClass__closure2.prototype = {
  95818. call$1($self) {
  95819. return $self._calculation0$_value;
  95820. },
  95821. $signature: 382
  95822. };
  95823. A.SassCalculation0.prototype = {
  95824. get$isSpecialNumber() {
  95825. return true;
  95826. },
  95827. accept$1$1(visitor) {
  95828. return visitor.visitCalculation$1(this);
  95829. },
  95830. accept$1(visitor) {
  95831. return this.accept$1$1(visitor, type$.dynamic);
  95832. },
  95833. assertCalculation$1($name) {
  95834. return this;
  95835. },
  95836. plus$1(other) {
  95837. if (other instanceof A.SassString0)
  95838. return this.super$Value$plus0(other);
  95839. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  95840. },
  95841. minus$1(other) {
  95842. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  95843. },
  95844. unaryPlus$0() {
  95845. return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".', null));
  95846. },
  95847. unaryMinus$0() {
  95848. return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".', null));
  95849. },
  95850. $eq(_, other) {
  95851. if (other == null)
  95852. return false;
  95853. return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  95854. },
  95855. get$hashCode(_) {
  95856. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  95857. }
  95858. };
  95859. A.SassCalculation__verifyLength_closure0.prototype = {
  95860. call$1(arg) {
  95861. return arg instanceof A.SassString0;
  95862. },
  95863. $signature: 71
  95864. };
  95865. A.CalculationOperation0.prototype = {
  95866. $eq(_, other) {
  95867. if (other == null)
  95868. return false;
  95869. 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);
  95870. },
  95871. get$hashCode(_) {
  95872. return (A.Primitives_objectHashCode(this._calculation0$_operator) ^ J.get$hashCode$(this._calculation0$_left) ^ J.get$hashCode$(this._calculation0$_right)) >>> 0;
  95873. },
  95874. toString$0(_) {
  95875. var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  95876. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  95877. }
  95878. };
  95879. A.CalculationOperator0.prototype = {
  95880. _enumToString$0() {
  95881. return "CalculationOperator." + this._name;
  95882. },
  95883. toString$0(_) {
  95884. return this.name;
  95885. }
  95886. };
  95887. A.CalculationInterpolation.prototype = {
  95888. $eq(_, other) {
  95889. if (other == null)
  95890. return false;
  95891. return other instanceof A.CalculationInterpolation && this._calculation0$_value === other._calculation0$_value;
  95892. },
  95893. get$hashCode(_) {
  95894. return B.JSString_methods.get$hashCode(this._calculation0$_value);
  95895. },
  95896. toString$0(_) {
  95897. return this._calculation0$_value;
  95898. }
  95899. };
  95900. A.CallableDeclaration0.prototype = {
  95901. get$span(receiver) {
  95902. return this.span;
  95903. }
  95904. };
  95905. A.updateCanonicalizeContextPrototype_closure.prototype = {
  95906. call$1($self) {
  95907. return $self._canonicalize_context$_fromImport;
  95908. },
  95909. $signature: 383
  95910. };
  95911. A.updateCanonicalizeContextPrototype_closure0.prototype = {
  95912. call$1($self) {
  95913. $self._canonicalize_context$_wasContainingUrlAccessed = true;
  95914. return A.NullableExtension_andThen0($self._canonicalize_context$_containingUrl, A.utils3__dartToJSUrl$closure());
  95915. },
  95916. $signature: 384
  95917. };
  95918. A.CanonicalizeContext0.prototype = {
  95919. withFromImport$1$2(fromImport, callback) {
  95920. var t1,
  95921. oldFromImport = this._canonicalize_context$_fromImport;
  95922. this._canonicalize_context$_fromImport = true;
  95923. try {
  95924. t1 = callback.call$0();
  95925. return t1;
  95926. } finally {
  95927. this._canonicalize_context$_fromImport = oldFromImport;
  95928. }
  95929. },
  95930. withFromImport$2(fromImport, callback) {
  95931. return this.withFromImport$1$2(fromImport, callback, type$.dynamic);
  95932. }
  95933. };
  95934. A.ColorChannel0.prototype = {
  95935. isAnalogous$1(other) {
  95936. var _0_6_isSet, t1, _0_60, t2, _0_6_isSet0,
  95937. _0_1 = this.name,
  95938. _0_6 = other.name;
  95939. $label0$0: {
  95940. if ("red" !== _0_1)
  95941. _0_6_isSet = "x" === _0_1;
  95942. else
  95943. _0_6_isSet = true;
  95944. if (_0_6_isSet) {
  95945. if ("red" !== _0_6)
  95946. t1 = "x" === _0_6;
  95947. else
  95948. t1 = true;
  95949. _0_60 = _0_6;
  95950. } else {
  95951. _0_60 = null;
  95952. t1 = false;
  95953. }
  95954. t2 = true;
  95955. if (!t1) {
  95956. if ("green" !== _0_1)
  95957. t1 = "y" === _0_1;
  95958. else
  95959. t1 = true;
  95960. if (t1) {
  95961. _0_6_isSet0 = true;
  95962. if (_0_6_isSet)
  95963. t1 = _0_60;
  95964. else {
  95965. t1 = _0_6;
  95966. _0_6_isSet = _0_6_isSet0;
  95967. _0_60 = t1;
  95968. }
  95969. if ("green" !== t1) {
  95970. if (_0_6_isSet)
  95971. t1 = _0_60;
  95972. else {
  95973. t1 = _0_6;
  95974. _0_6_isSet = _0_6_isSet0;
  95975. _0_60 = t1;
  95976. }
  95977. t1 = "y" === t1;
  95978. } else
  95979. t1 = true;
  95980. } else
  95981. t1 = false;
  95982. if (!t1) {
  95983. if ("blue" !== _0_1)
  95984. t1 = "z" === _0_1;
  95985. else
  95986. t1 = true;
  95987. if (t1) {
  95988. _0_6_isSet0 = true;
  95989. if (_0_6_isSet)
  95990. t1 = _0_60;
  95991. else {
  95992. t1 = _0_6;
  95993. _0_6_isSet = _0_6_isSet0;
  95994. _0_60 = t1;
  95995. }
  95996. if ("blue" !== t1) {
  95997. if (_0_6_isSet)
  95998. t1 = _0_60;
  95999. else {
  96000. t1 = _0_6;
  96001. _0_6_isSet = _0_6_isSet0;
  96002. _0_60 = t1;
  96003. }
  96004. t1 = "z" === t1;
  96005. } else
  96006. t1 = true;
  96007. } else
  96008. t1 = false;
  96009. if (!t1) {
  96010. if ("chroma" !== _0_1)
  96011. t1 = "saturation" === _0_1;
  96012. else
  96013. t1 = true;
  96014. if (t1) {
  96015. _0_6_isSet0 = true;
  96016. if (_0_6_isSet)
  96017. t1 = _0_60;
  96018. else {
  96019. t1 = _0_6;
  96020. _0_6_isSet = _0_6_isSet0;
  96021. _0_60 = t1;
  96022. }
  96023. if ("chroma" !== t1) {
  96024. if (_0_6_isSet)
  96025. t1 = _0_60;
  96026. else {
  96027. t1 = _0_6;
  96028. _0_6_isSet = _0_6_isSet0;
  96029. _0_60 = t1;
  96030. }
  96031. t1 = "saturation" === t1;
  96032. } else
  96033. t1 = true;
  96034. } else
  96035. t1 = false;
  96036. if (!t1) {
  96037. if ("lightness" === _0_1) {
  96038. if (_0_6_isSet)
  96039. t1 = _0_60;
  96040. else {
  96041. t1 = _0_6;
  96042. _0_60 = t1;
  96043. _0_6_isSet = true;
  96044. }
  96045. t1 = "lightness" === t1;
  96046. } else
  96047. t1 = false;
  96048. if (!t1)
  96049. if ("hue" === _0_1)
  96050. t1 = "hue" === (_0_6_isSet ? _0_60 : _0_6);
  96051. else
  96052. t1 = false;
  96053. else
  96054. t1 = t2;
  96055. } else
  96056. t1 = t2;
  96057. } else
  96058. t1 = t2;
  96059. } else
  96060. t1 = t2;
  96061. } else
  96062. t1 = t2;
  96063. if (t1)
  96064. break $label0$0;
  96065. break $label0$0;
  96066. }
  96067. return t1;
  96068. }
  96069. };
  96070. A.LinearChannel0.prototype = {};
  96071. A.Chokidar0.prototype = {};
  96072. A.ChokidarOptions0.prototype = {};
  96073. A.ChokidarWatcher0.prototype = {};
  96074. A.ClassSelector0.prototype = {
  96075. $eq(_, other) {
  96076. if (other == null)
  96077. return false;
  96078. return other instanceof A.ClassSelector0 && other.name === this.name;
  96079. },
  96080. accept$1$1(visitor) {
  96081. return visitor.visitClassSelector$1(this);
  96082. },
  96083. accept$1(visitor) {
  96084. return this.accept$1$1(visitor, type$.dynamic);
  96085. },
  96086. addSuffix$1(suffix) {
  96087. return new A.ClassSelector0(this.name + suffix, this.span);
  96088. },
  96089. get$hashCode(_) {
  96090. return B.JSString_methods.get$hashCode(this.name);
  96091. }
  96092. };
  96093. A.ClipGamutMap0.prototype = {
  96094. map$1(_, color) {
  96095. var t1 = color._color0$_space,
  96096. t2 = t1._space$_channels;
  96097. 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);
  96098. },
  96099. _clip$_clampChannel$2(value, channel) {
  96100. var t1, min;
  96101. if (value == null)
  96102. t1 = null;
  96103. else
  96104. $label0$0: {
  96105. if (channel instanceof A.LinearChannel0) {
  96106. min = channel.min;
  96107. t1 = isNaN(value) ? min : B.JSNumber_methods.clamp$2(value, min, channel.max);
  96108. break $label0$0;
  96109. }
  96110. t1 = value;
  96111. break $label0$0;
  96112. }
  96113. return t1;
  96114. }
  96115. };
  96116. A._CloneCssVisitor0.prototype = {
  96117. visitCssAtRule$1(node) {
  96118. var t1 = node.isChildless,
  96119. rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
  96120. return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
  96121. },
  96122. visitCssComment$1(node) {
  96123. return new A.ModifiableCssComment0(node.text, node.span);
  96124. },
  96125. visitCssDeclaration$1(node) {
  96126. return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap);
  96127. },
  96128. visitCssImport$1(node) {
  96129. return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  96130. },
  96131. visitCssKeyframeBlock$1(node) {
  96132. return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
  96133. },
  96134. visitCssMediaRule$1(node) {
  96135. return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
  96136. },
  96137. visitCssStyleRule$1(node) {
  96138. var _0_0 = this._clone_css$_oldToNewSelectors.$index(0, node._style_rule0$_selector._box0$_inner.value);
  96139. if (_0_0 != null)
  96140. return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(_0_0, node.span, false, node.originalSelector), node);
  96141. else
  96142. throw A.wrapException(A.StateError$(string$.The_Ex));
  96143. },
  96144. visitCssStylesheet$1(node) {
  96145. return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
  96146. },
  96147. visitCssSupportsRule$1(node) {
  96148. return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
  96149. },
  96150. _clone_css$_visitChildren$1$2(newParent, oldParent) {
  96151. var t1, t2, newChild;
  96152. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  96153. t2 = t1.get$current(t1);
  96154. newChild = t2.accept$1(this);
  96155. newChild.isGroupEnd = t2.get$isGroupEnd();
  96156. newParent.addChild$1(newChild);
  96157. }
  96158. return newParent;
  96159. },
  96160. _clone_css$_visitChildren$2(newParent, oldParent) {
  96161. return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
  96162. }
  96163. };
  96164. A.ColorExpression0.prototype = {
  96165. accept$1$1(visitor) {
  96166. return visitor.visitColorExpression$1(0, this);
  96167. },
  96168. accept$1(visitor) {
  96169. return this.accept$1$1(visitor, type$.dynamic);
  96170. },
  96171. toString$0(_) {
  96172. return A.serializeValue0(this.value, true, true);
  96173. },
  96174. get$span(receiver) {
  96175. return this.span;
  96176. }
  96177. };
  96178. A.global_closure44.prototype = {
  96179. call$1(color) {
  96180. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  96181. },
  96182. $signature: 40
  96183. };
  96184. A.global_closure45.prototype = {
  96185. call$1(color) {
  96186. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  96187. },
  96188. $signature: 40
  96189. };
  96190. A.global_closure46.prototype = {
  96191. call$1(color) {
  96192. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  96193. },
  96194. $signature: 40
  96195. };
  96196. A.global_closure47.prototype = {
  96197. call$1($arguments) {
  96198. return A._rgb0("rgb", $arguments);
  96199. },
  96200. $signature: 3
  96201. };
  96202. A.global_closure48.prototype = {
  96203. call$1($arguments) {
  96204. return A._rgb0("rgb", $arguments);
  96205. },
  96206. $signature: 3
  96207. };
  96208. A.global_closure49.prototype = {
  96209. call$1($arguments) {
  96210. return A._rgbTwoArg0("rgb", $arguments);
  96211. },
  96212. $signature: 3
  96213. };
  96214. A.global_closure50.prototype = {
  96215. call$1($arguments) {
  96216. return A._parseChannels0("rgb", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P0);
  96217. },
  96218. $signature: 3
  96219. };
  96220. A.global_closure51.prototype = {
  96221. call$1($arguments) {
  96222. return A._rgb0("rgba", $arguments);
  96223. },
  96224. $signature: 3
  96225. };
  96226. A.global_closure52.prototype = {
  96227. call$1($arguments) {
  96228. return A._rgb0("rgba", $arguments);
  96229. },
  96230. $signature: 3
  96231. };
  96232. A.global_closure53.prototype = {
  96233. call$1($arguments) {
  96234. return A._rgbTwoArg0("rgba", $arguments);
  96235. },
  96236. $signature: 3
  96237. };
  96238. A.global_closure54.prototype = {
  96239. call$1($arguments) {
  96240. return A._parseChannels0("rgba", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P0);
  96241. },
  96242. $signature: 3
  96243. };
  96244. A.global_closure55.prototype = {
  96245. call$1($arguments) {
  96246. var t1 = J.getInterceptor$asx($arguments);
  96247. if (!(t1.$index($arguments, 0) instanceof A.SassNumber0) && !t1.$index($arguments, 0).get$isSpecialNumber())
  96248. A.warnForDeprecation0(string$.Globalci, B.Deprecation_ZDV);
  96249. return A._invert0($arguments, true);
  96250. },
  96251. $signature: 3
  96252. };
  96253. A.global_closure56.prototype = {
  96254. call$1(color) {
  96255. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  96256. },
  96257. $signature: 29
  96258. };
  96259. A.global_closure57.prototype = {
  96260. call$1(color) {
  96261. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  96262. },
  96263. $signature: 29
  96264. };
  96265. A.global_closure58.prototype = {
  96266. call$1(color) {
  96267. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  96268. },
  96269. $signature: 29
  96270. };
  96271. A.global_closure59.prototype = {
  96272. call$1($arguments) {
  96273. return A._hsl0("hsl", $arguments);
  96274. },
  96275. $signature: 3
  96276. };
  96277. A.global_closure60.prototype = {
  96278. call$1($arguments) {
  96279. return A._hsl0("hsl", $arguments);
  96280. },
  96281. $signature: 3
  96282. };
  96283. A.global_closure61.prototype = {
  96284. call$1($arguments) {
  96285. var t1 = J.getInterceptor$asx($arguments);
  96286. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  96287. return A._functionString0("hsl", $arguments);
  96288. else
  96289. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  96290. },
  96291. $signature: 18
  96292. };
  96293. A.global_closure62.prototype = {
  96294. call$1($arguments) {
  96295. return A._parseChannels0("hsl", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ20);
  96296. },
  96297. $signature: 3
  96298. };
  96299. A.global_closure63.prototype = {
  96300. call$1($arguments) {
  96301. return A._hsl0("hsla", $arguments);
  96302. },
  96303. $signature: 3
  96304. };
  96305. A.global_closure64.prototype = {
  96306. call$1($arguments) {
  96307. return A._hsl0("hsla", $arguments);
  96308. },
  96309. $signature: 3
  96310. };
  96311. A.global_closure65.prototype = {
  96312. call$1($arguments) {
  96313. var t1 = J.getInterceptor$asx($arguments);
  96314. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  96315. return A._functionString0("hsla", $arguments);
  96316. else
  96317. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  96318. },
  96319. $signature: 18
  96320. };
  96321. A.global_closure66.prototype = {
  96322. call$1($arguments) {
  96323. return A._parseChannels0("hsla", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ20);
  96324. },
  96325. $signature: 3
  96326. };
  96327. A.global_closure67.prototype = {
  96328. call$1($arguments) {
  96329. var t1 = J.getInterceptor$asx($arguments);
  96330. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  96331. return A._functionString0("grayscale", $arguments);
  96332. else {
  96333. A.warnForDeprecation0(string$.Globalcg, B.Deprecation_ZDV);
  96334. return A._grayscale0(t1.$index($arguments, 0));
  96335. }
  96336. },
  96337. $signature: 3
  96338. };
  96339. A.global_closure68.prototype = {
  96340. call$1($arguments) {
  96341. var t1 = J.getInterceptor$asx($arguments),
  96342. color = t1.$index($arguments, 0).assertColor$1("color"),
  96343. degrees = A._angleValue0(t1.$index($arguments, 1), "degrees");
  96344. if (!color._color0$_space.get$isLegacyInternal())
  96345. throw A.wrapException(A.SassScriptException$0(string$.adjusto, null));
  96346. A.warnForDeprecation0(string$.adjustd + A.SassNumber_SassNumber0(degrees, "deg").toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_fdF);
  96347. return color.changeHsl$1$hue(color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue") + degrees);
  96348. },
  96349. $signature: 24
  96350. };
  96351. A.global_closure69.prototype = {
  96352. call$1($arguments) {
  96353. var result,
  96354. _s9_ = "lightness",
  96355. t1 = J.getInterceptor$asx($arguments),
  96356. color = t1.$index($arguments, 0).assertColor$1("color"),
  96357. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96358. if (!color._color0$_space.get$isLegacyInternal())
  96359. throw A.wrapException(A.SassScriptException$0(string$.lighte, null));
  96360. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s9_) + amount.valueInRange$3(0, 100, "amount");
  96361. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96362. A.warnForDeprecation0("lighten() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96363. return result;
  96364. },
  96365. $signature: 24
  96366. };
  96367. A.global_closure70.prototype = {
  96368. call$1($arguments) {
  96369. var result,
  96370. _s9_ = "lightness",
  96371. t1 = J.getInterceptor$asx($arguments),
  96372. color = t1.$index($arguments, 0).assertColor$1("color"),
  96373. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96374. if (!color._color0$_space.get$isLegacyInternal())
  96375. throw A.wrapException(A.SassScriptException$0(string$.darken, null));
  96376. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s9_) - amount.valueInRange$3(0, 100, "amount");
  96377. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96378. A.warnForDeprecation0("darken() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96379. return result;
  96380. },
  96381. $signature: 24
  96382. };
  96383. A.global_closure71.prototype = {
  96384. call$1($arguments) {
  96385. var t1 = J.getInterceptor$asx($arguments);
  96386. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  96387. return A._functionString0("saturate", $arguments);
  96388. return new A.SassString0("saturate(" + A.serializeValue0(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  96389. },
  96390. $signature: 18
  96391. };
  96392. A.global_closure72.prototype = {
  96393. call$1($arguments) {
  96394. var t1, color, amount, result,
  96395. _s10_ = "saturation";
  96396. A.warnForDeprecation0(string$.Globalcad, B.Deprecation_ZDV);
  96397. t1 = J.getInterceptor$asx($arguments);
  96398. color = t1.$index($arguments, 0).assertColor$1("color");
  96399. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96400. if (!color._color0$_space.get$isLegacyInternal())
  96401. throw A.wrapException(A.SassScriptException$0(string$.satura, null));
  96402. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s10_) + amount.valueInRange$3(0, 100, "amount");
  96403. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96404. A.warnForDeprecation0("saturate() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96405. return result;
  96406. },
  96407. $signature: 24
  96408. };
  96409. A.global_closure73.prototype = {
  96410. call$1($arguments) {
  96411. var result,
  96412. _s10_ = "saturation",
  96413. t1 = J.getInterceptor$asx($arguments),
  96414. color = t1.$index($arguments, 0).assertColor$1("color"),
  96415. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96416. if (!color._color0$_space.get$isLegacyInternal())
  96417. throw A.wrapException(A.SassScriptException$0(string$.desatu, null));
  96418. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s10_) - amount.valueInRange$3(0, 100, "amount");
  96419. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96420. A.warnForDeprecation0("desaturate() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96421. return result;
  96422. },
  96423. $signature: 24
  96424. };
  96425. A.global_closure74.prototype = {
  96426. call$1($arguments) {
  96427. return A._opacify0("opacify", $arguments);
  96428. },
  96429. $signature: 24
  96430. };
  96431. A.global_closure75.prototype = {
  96432. call$1($arguments) {
  96433. return A._opacify0("fade-in", $arguments);
  96434. },
  96435. $signature: 24
  96436. };
  96437. A.global_closure76.prototype = {
  96438. call$1($arguments) {
  96439. return A._transparentize0("transparentize", $arguments);
  96440. },
  96441. $signature: 24
  96442. };
  96443. A.global_closure77.prototype = {
  96444. call$1($arguments) {
  96445. return A._transparentize0("fade-out", $arguments);
  96446. },
  96447. $signature: 24
  96448. };
  96449. A.global_closure78.prototype = {
  96450. call$1($arguments) {
  96451. var _0_0 = J.$index$asx($arguments, 0),
  96452. t1 = false;
  96453. if (_0_0 instanceof A.SassString0)
  96454. if (!_0_0._string0$_hasQuotes)
  96455. t1 = B.JSString_methods.contains$1(_0_0._string0$_text, $.$get$_microsoftFilterStart0());
  96456. if (t1)
  96457. return A._functionString0("alpha", $arguments);
  96458. if (_0_0 instanceof A.SassColor0 && !_0_0._color0$_space.get$isLegacyInternal())
  96459. throw A.wrapException(A.SassScriptException$0(string$.alpha_, null));
  96460. A.warnForDeprecation0(string$.Globalcal, B.Deprecation_ZDV);
  96461. t1 = _0_0.assertColor$1("color").alphaOrNull;
  96462. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96463. },
  96464. $signature: 3
  96465. };
  96466. A.global_closure79.prototype = {
  96467. call$1($arguments) {
  96468. var t1,
  96469. argList = J.$index$asx($arguments, 0).get$asList();
  96470. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
  96471. return A._functionString0("alpha", $arguments);
  96472. t1 = argList.length;
  96473. if (t1 === 0)
  96474. throw A.wrapException(A.SassScriptException$0("Missing argument $color.", null));
  96475. else
  96476. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed.", null));
  96477. },
  96478. $signature: 18
  96479. };
  96480. A.global__closure0.prototype = {
  96481. call$1(argument) {
  96482. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  96483. },
  96484. $signature: 54
  96485. };
  96486. A.global_closure80.prototype = {
  96487. call$1($arguments) {
  96488. var t1 = J.getInterceptor$asx($arguments);
  96489. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  96490. return A._functionString0("opacity", $arguments);
  96491. A.warnForDeprecation0(string$.Globalco, B.Deprecation_ZDV);
  96492. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  96493. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96494. },
  96495. $signature: 3
  96496. };
  96497. A.global_closure81.prototype = {
  96498. call$1($arguments) {
  96499. return A._parseChannels0("color", J.$index$asx($arguments, 0), "description", null);
  96500. },
  96501. $signature: 3
  96502. };
  96503. A.global_closure82.prototype = {
  96504. call$1($arguments) {
  96505. return A._parseChannels0("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ0);
  96506. },
  96507. $signature: 3
  96508. };
  96509. A.global_closure83.prototype = {
  96510. call$1($arguments) {
  96511. return A._parseChannels0("lab", J.$index$asx($arguments, 0), "channels", B.LabColorSpace_2nT0);
  96512. },
  96513. $signature: 3
  96514. };
  96515. A.global_closure84.prototype = {
  96516. call$1($arguments) {
  96517. return A._parseChannels0("lch", J.$index$asx($arguments, 0), "channels", B.LchColorSpace_Bpv0);
  96518. },
  96519. $signature: 3
  96520. };
  96521. A.global_closure85.prototype = {
  96522. call$1($arguments) {
  96523. return A._parseChannels0("oklab", J.$index$asx($arguments, 0), "channels", B.OklabColorSpace_5400);
  96524. },
  96525. $signature: 3
  96526. };
  96527. A.global_closure86.prototype = {
  96528. call$1($arguments) {
  96529. return A._parseChannels0("oklch", J.$index$asx($arguments, 0), "channels", B.OklchColorSpace_9Gj0);
  96530. },
  96531. $signature: 3
  96532. };
  96533. A.module_closure27.prototype = {
  96534. call$1(color) {
  96535. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  96536. },
  96537. $signature: 40
  96538. };
  96539. A.module_closure28.prototype = {
  96540. call$1(color) {
  96541. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  96542. },
  96543. $signature: 40
  96544. };
  96545. A.module_closure29.prototype = {
  96546. call$1(color) {
  96547. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  96548. },
  96549. $signature: 40
  96550. };
  96551. A.module_closure30.prototype = {
  96552. call$1($arguments) {
  96553. var result = A._invert0($arguments, false);
  96554. if (result instanceof A.SassString0)
  96555. A.warnForDeprecation0("Passing a number (" + J.$index$asx($arguments, 0).toString$0(0) + string$.x29x20to_ci + result.toString$0(0), B.Deprecation_Kry);
  96556. return result;
  96557. },
  96558. $signature: 3
  96559. };
  96560. A.module_closure31.prototype = {
  96561. call$1(color) {
  96562. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  96563. },
  96564. $signature: 29
  96565. };
  96566. A.module_closure32.prototype = {
  96567. call$1(color) {
  96568. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  96569. },
  96570. $signature: 29
  96571. };
  96572. A.module_closure33.prototype = {
  96573. call$1(color) {
  96574. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  96575. },
  96576. $signature: 29
  96577. };
  96578. A.module_closure34.prototype = {
  96579. call$1($arguments) {
  96580. var result,
  96581. t1 = J.getInterceptor$asx($arguments);
  96582. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  96583. result = A._functionString0("grayscale", t1.take$1($arguments, 1));
  96584. A.warnForDeprecation0("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x29x20to_cg + result.toString$0(0), B.Deprecation_Kry);
  96585. return result;
  96586. }
  96587. return A._grayscale0(t1.$index($arguments, 0));
  96588. },
  96589. $signature: 3
  96590. };
  96591. A.module_closure35.prototype = {
  96592. call$1($arguments) {
  96593. var t1 = J.getInterceptor$asx($arguments),
  96594. t2 = type$.JSArray_Value_2;
  96595. 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);
  96596. },
  96597. $signature: 3
  96598. };
  96599. A.module_closure36.prototype = {
  96600. call$1($arguments) {
  96601. return A._parseChannels0("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ0);
  96602. },
  96603. $signature: 3
  96604. };
  96605. A.module_closure37.prototype = {
  96606. call$1(color) {
  96607. return color._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "whiteness");
  96608. },
  96609. $signature: 29
  96610. };
  96611. A.module_closure38.prototype = {
  96612. call$1(color) {
  96613. return color._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "blackness");
  96614. },
  96615. $signature: 29
  96616. };
  96617. A.module_closure39.prototype = {
  96618. call$1($arguments) {
  96619. var result,
  96620. _0_0 = J.$index$asx($arguments, 0),
  96621. t1 = false;
  96622. if (_0_0 instanceof A.SassString0)
  96623. if (!_0_0._string0$_hasQuotes)
  96624. t1 = B.JSString_methods.contains$1(_0_0._string0$_text, $.$get$_microsoftFilterStart0());
  96625. if (t1) {
  96626. result = A._functionString0("alpha", $arguments);
  96627. A.warnForDeprecation0(string$.Using_c + result.toString$0(0), B.Deprecation_Kry);
  96628. return result;
  96629. }
  96630. if (_0_0 instanceof A.SassColor0 && !_0_0._color0$_space.get$isLegacyInternal())
  96631. throw A.wrapException(A.SassScriptException$0(string$.color_a, null));
  96632. t1 = _0_0.assertColor$1("color").alphaOrNull;
  96633. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96634. },
  96635. $signature: 3
  96636. };
  96637. A.module_closure40.prototype = {
  96638. call$1($arguments) {
  96639. var result,
  96640. t1 = J.getInterceptor$asx($arguments);
  96641. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure6())) {
  96642. result = A._functionString0("alpha", $arguments);
  96643. A.warnForDeprecation0(string$.Using_c + result.toString$0(0), B.Deprecation_Kry);
  96644. return result;
  96645. }
  96646. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  96647. },
  96648. $signature: 18
  96649. };
  96650. A.module__closure6.prototype = {
  96651. call$1(argument) {
  96652. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  96653. },
  96654. $signature: 54
  96655. };
  96656. A.module_closure41.prototype = {
  96657. call$1($arguments) {
  96658. var result,
  96659. t1 = J.getInterceptor$asx($arguments);
  96660. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  96661. result = A._functionString0("opacity", $arguments);
  96662. A.warnForDeprecation0("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x20to_co + result.toString$0(0), B.Deprecation_Kry);
  96663. return result;
  96664. }
  96665. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  96666. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96667. },
  96668. $signature: 3
  96669. };
  96670. A.module_closure42.prototype = {
  96671. call$1($arguments) {
  96672. return new A.SassString0(J.get$first$ax($arguments).assertColor$1("color")._color0$_space.name, false);
  96673. },
  96674. $signature: 18
  96675. };
  96676. A.module_closure43.prototype = {
  96677. call$1($arguments) {
  96678. var t1 = J.getInterceptor$asx($arguments);
  96679. return A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 1), false);
  96680. },
  96681. $signature: 24
  96682. };
  96683. A.module_closure44.prototype = {
  96684. call$1($arguments) {
  96685. return J.$index$asx($arguments, 0).assertColor$1("color")._color0$_space.get$isLegacyInternal() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96686. },
  96687. $signature: 11
  96688. };
  96689. A.module_closure45.prototype = {
  96690. call$1($arguments) {
  96691. var t1 = J.getInterceptor$asx($arguments);
  96692. 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;
  96693. },
  96694. $signature: 11
  96695. };
  96696. A.module_closure46.prototype = {
  96697. call$1($arguments) {
  96698. var t1 = J.getInterceptor$asx($arguments);
  96699. return A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 1), true).get$isInGamut() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96700. },
  96701. $signature: 11
  96702. };
  96703. A.module_closure47.prototype = {
  96704. call$1($arguments) {
  96705. var space, method, _s5_ = "space", _s6_ = "method",
  96706. t1 = J.getInterceptor$asx($arguments),
  96707. color = t1.$index($arguments, 0).assertColor$1("color"),
  96708. t2 = t1.$index($arguments, 1);
  96709. if (t2.$eq(0, B.C__SassNull0))
  96710. space = color._color0$_space;
  96711. else {
  96712. t2 = t2.assertString$1(_s5_);
  96713. t2.assertUnquoted$1(_s5_);
  96714. space = A.ColorSpace_fromName0(t2._string0$_text, _s5_);
  96715. }
  96716. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull0))
  96717. throw A.wrapException(A.SassScriptException$0(string$.color_t, _s6_));
  96718. t1 = t1.$index($arguments, 2).assertString$1(_s6_);
  96719. t1.assertUnquoted$1(_s6_);
  96720. method = A.GamutMapMethod_GamutMapMethod$fromName0(t1._string0$_text);
  96721. if (!space.get$isBoundedInternal())
  96722. return color;
  96723. t1 = color.toSpace$1(space);
  96724. t1 = t1.get$isInGamut() ? t1 : method.map$1(0, t1);
  96725. return t1.toSpace$2$legacyMissing(color._color0$_space, false);
  96726. },
  96727. $signature: 24
  96728. };
  96729. A.module_closure48.prototype = {
  96730. call$1($arguments) {
  96731. var channelIndex, channelInfo, channelValue, unit,
  96732. t1 = J.getInterceptor$asx($arguments),
  96733. color = A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 2), true),
  96734. channelName = A._channelName0(t1.$index($arguments, 1));
  96735. if (channelName === "alpha") {
  96736. t1 = color.alphaOrNull;
  96737. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96738. }
  96739. t1 = color._color0$_space._space$_channels;
  96740. channelIndex = B.JSArray_methods.indexWhere$1(t1, new A.module__closure5(channelName));
  96741. if (channelIndex === -1)
  96742. throw A.wrapException(A.SassScriptException$0("Color " + color.toString$0(0) + " has no channel named " + channelName + ".", "channel"));
  96743. channelInfo = t1[channelIndex];
  96744. channelValue = color.get$channels()[channelIndex];
  96745. unit = channelInfo.associatedUnit;
  96746. return A.SassNumber_SassNumber0(unit === "%" ? channelValue * 100 / type$.LinearChannel_2._as(channelInfo).max : channelValue, unit);
  96747. },
  96748. $signature: 25
  96749. };
  96750. A.module__closure5.prototype = {
  96751. call$1(channel) {
  96752. return channel.name === this.channelName;
  96753. },
  96754. $signature: 69
  96755. };
  96756. A.module_closure49.prototype = {
  96757. call$1($arguments) {
  96758. var t2, t3,
  96759. t1 = J.getInterceptor$asx($arguments),
  96760. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  96761. color2 = t1.$index($arguments, 1).assertColor$1("color2");
  96762. t1 = new A.module_closure_toXyzNoMissing0();
  96763. if (color1._color0$_space === color2._color0$_space) {
  96764. t1 = color1.channel0OrNull;
  96765. t2 = false;
  96766. if (t1 == null)
  96767. t1 = 0;
  96768. t3 = color2.channel0OrNull;
  96769. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  96770. t1 = color1.channel1OrNull;
  96771. if (t1 == null)
  96772. t1 = 0;
  96773. t3 = color2.channel1OrNull;
  96774. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  96775. t1 = color1.channel2OrNull;
  96776. if (t1 == null)
  96777. t1 = 0;
  96778. t3 = color2.channel2OrNull;
  96779. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  96780. t1 = color1.alphaOrNull;
  96781. if (t1 == null)
  96782. t1 = 0;
  96783. t2 = color2.alphaOrNull;
  96784. t1 = A.fuzzyEquals0(t1, t2 == null ? 0 : t2);
  96785. } else
  96786. t1 = t2;
  96787. } else
  96788. t1 = t2;
  96789. } else
  96790. t1 = t2;
  96791. } else
  96792. t1 = J.$eq$(t1.call$1(color1), t1.call$1(color2));
  96793. return t1 ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96794. },
  96795. $signature: 11
  96796. };
  96797. A.module_closure_toXyzNoMissing0.prototype = {
  96798. call$1(color) {
  96799. var _1_1, _1_3, t1, _1_7, channel0, _1_8, channel1, _1_9, channel2, _1_10, alpha, _null = null;
  96800. $label0$0: {
  96801. _1_1 = color._color0$_space;
  96802. _1_3 = B.XyzD65ColorSpace_WiJ0 === _1_1;
  96803. t1 = _1_3;
  96804. if (t1)
  96805. t1 = !(color.channel0OrNull == null || color.channel1OrNull == null || color.channel2OrNull == null || color.alphaOrNull == null);
  96806. else
  96807. t1 = false;
  96808. if (t1) {
  96809. t1 = color;
  96810. break $label0$0;
  96811. }
  96812. if (_1_3) {
  96813. _1_7 = color.channel0OrNull;
  96814. if (_1_7 == null)
  96815. _1_7 = 0;
  96816. channel0 = _1_7;
  96817. _1_8 = color.channel1OrNull;
  96818. if (_1_8 == null)
  96819. _1_8 = 0;
  96820. channel1 = _1_8;
  96821. _1_9 = color.channel2OrNull;
  96822. if (_1_9 == null)
  96823. _1_9 = 0;
  96824. channel2 = _1_9;
  96825. _1_10 = color.alphaOrNull;
  96826. if (_1_10 == null)
  96827. _1_10 = 0;
  96828. alpha = _1_10;
  96829. t1 = A.SassColor$_forSpace0(B.XyzD65ColorSpace_WiJ0, channel0, channel1, channel2, alpha, _null);
  96830. break $label0$0;
  96831. }
  96832. _1_7 = color.channel0OrNull;
  96833. if (_1_7 == null)
  96834. _1_7 = 0;
  96835. channel0 = _1_7;
  96836. _1_8 = color.channel1OrNull;
  96837. if (_1_8 == null)
  96838. _1_8 = 0;
  96839. channel1 = _1_8;
  96840. _1_9 = color.channel2OrNull;
  96841. if (_1_9 == null)
  96842. _1_9 = 0;
  96843. channel2 = _1_9;
  96844. _1_10 = color.alphaOrNull;
  96845. if (_1_10 == null)
  96846. _1_10 = 0;
  96847. alpha = _1_10;
  96848. t1 = _1_1.convert$5(B.XyzD65ColorSpace_WiJ0, channel0, channel1, channel2, alpha);
  96849. break $label0$0;
  96850. }
  96851. return t1;
  96852. },
  96853. $signature: 392
  96854. };
  96855. A.module_closure50.prototype = {
  96856. call$1($arguments) {
  96857. var t1 = J.getInterceptor$asx($arguments);
  96858. 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;
  96859. },
  96860. $signature: 11
  96861. };
  96862. A._mix_closure0.prototype = {
  96863. call$1($arguments) {
  96864. var _s6_ = "weight",
  96865. _s41_ = string$.To_usem,
  96866. _s29_ = ", you must provide a $method.",
  96867. t1 = J.getInterceptor$asx($arguments),
  96868. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  96869. color2 = t1.$index($arguments, 1).assertColor$1("color2"),
  96870. weight = t1.$index($arguments, 2).assertNumber$1(_s6_);
  96871. if (!t1.$index($arguments, 3).$eq(0, B.C__SassNull0))
  96872. return color1.interpolate$4$legacyMissing$weight(color2, A.InterpolationMethod_InterpolationMethod$fromValue0(t1.$index($arguments, 3), "method"), false, weight.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100);
  96873. A._checkPercent0(weight, _s6_);
  96874. if (!color1._color0$_space.get$isLegacyInternal())
  96875. throw A.wrapException(A.SassScriptException$0(_s41_ + color1.toString$0(0) + _s29_, "color1"));
  96876. else if (!color2._color0$_space.get$isLegacyInternal())
  96877. throw A.wrapException(A.SassScriptException$0(_s41_ + color2.toString$0(0) + _s29_, "color2"));
  96878. return A._mixLegacy0(color1, color2, weight);
  96879. },
  96880. $signature: 24
  96881. };
  96882. A._complement_closure0.prototype = {
  96883. call$1($arguments) {
  96884. var space, t3, colorInSpace, t4, t5, t6, _s5_ = "space",
  96885. t1 = J.getInterceptor$asx($arguments),
  96886. color = t1.$index($arguments, 0).assertColor$1("color"),
  96887. t2 = color._color0$_space;
  96888. if (t2.get$isLegacyInternal() && t1.$index($arguments, 1).$eq(0, B.C__SassNull0))
  96889. space = B.HslColorSpace_JQ20;
  96890. else {
  96891. t3 = t1.$index($arguments, 1).assertString$1(_s5_);
  96892. t3.assertUnquoted$1(_s5_);
  96893. space = A.ColorSpace_fromName0(t3._string0$_text, _s5_);
  96894. }
  96895. if (!space.get$isPolarInternal())
  96896. throw A.wrapException(A.SassScriptException$0("Color space " + space.toString$0(0) + " doesn't have a hue channel.", _s5_));
  96897. colorInSpace = color.toSpace$2$legacyMissing(space, !t1.$index($arguments, 1).$eq(0, B.C__SassNull0));
  96898. t1 = space._space$_channels;
  96899. t3 = colorInSpace.channel0OrNull;
  96900. t4 = colorInSpace.channel1OrNull;
  96901. t5 = colorInSpace.channel2OrNull;
  96902. t6 = colorInSpace.alphaOrNull;
  96903. 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);
  96904. },
  96905. $signature: 24
  96906. };
  96907. A._adjust_closure0.prototype = {
  96908. call$1($arguments) {
  96909. return A._updateComponents0($arguments, true, false, false);
  96910. },
  96911. $signature: 24
  96912. };
  96913. A._scale_closure0.prototype = {
  96914. call$1($arguments) {
  96915. return A._updateComponents0($arguments, false, false, true);
  96916. },
  96917. $signature: 24
  96918. };
  96919. A._change_closure0.prototype = {
  96920. call$1($arguments) {
  96921. return A._updateComponents0($arguments, false, true, false);
  96922. },
  96923. $signature: 24
  96924. };
  96925. A._ieHexStr_closure0.prototype = {
  96926. call$1($arguments) {
  96927. var t1, t2, t3, t4, t5,
  96928. color = J.$index$asx($arguments, 0).assertColor$1("color").toSpace$1(B.RgbColorSpace_i0P0);
  96929. color = color.get$isInGamut() ? color : B.LocalMindeGamutMap_A2x0.map$1(0, color);
  96930. t1 = new A._ieHexStr_closure_hexString0();
  96931. t2 = color.alphaOrNull;
  96932. t2 = A.S(t1.call$1((t2 == null ? 0 : t2) * 255));
  96933. t3 = color.channel0OrNull;
  96934. t3 = A.S(t1.call$1(t3 == null ? 0 : t3));
  96935. t4 = color.channel1OrNull;
  96936. t4 = A.S(t1.call$1(t4 == null ? 0 : t4));
  96937. t5 = color.channel2OrNull;
  96938. return new A.SassString0("#" + t2 + t3 + t4 + A.S(t1.call$1(t5 == null ? 0 : t5)), false);
  96939. },
  96940. $signature: 18
  96941. };
  96942. A._ieHexStr_closure_hexString0.prototype = {
  96943. call$1(component) {
  96944. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(A.fuzzyRound0(component), 16), 2, "0").toUpperCase();
  96945. },
  96946. $signature: 207
  96947. };
  96948. A._updateComponents_closure1.prototype = {
  96949. call$1(space) {
  96950. return this.originalColor.toSpace$2$legacyMissing(space, false);
  96951. },
  96952. $signature: 393
  96953. };
  96954. A._updateComponents_closure2.prototype = {
  96955. call$1(info) {
  96956. return this._box_0.name === info.name;
  96957. },
  96958. $signature: 69
  96959. };
  96960. A._changeColor_closure0.prototype = {
  96961. call$0() {
  96962. var t1 = this.alphaArg;
  96963. A.warnForDeprecation0("$alpha: Passing a unit other than % (" + A.S(t1) + string$.x29x20is_d + t1.unitSuggestion$1("alpha") + string$.x0a_See_, B.Deprecation_vn5);
  96964. return t1.valueInRange$3(0, 1, "alpha");
  96965. },
  96966. $signature: 201
  96967. };
  96968. A._adjustColor_closure0.prototype = {
  96969. call$1(alpha) {
  96970. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  96971. },
  96972. $signature: 16
  96973. };
  96974. A._functionString_closure0.prototype = {
  96975. call$1(argument) {
  96976. return A.serializeValue0(argument, false, true);
  96977. },
  96978. $signature: 214
  96979. };
  96980. A._removedColorFunction_closure0.prototype = {
  96981. call$1($arguments) {
  96982. var t1 = this.name,
  96983. t2 = J.getInterceptor$asx($arguments),
  96984. t3 = t2.$index($arguments, 0).toString$0(0),
  96985. t4 = this.negative ? "-" : "";
  96986. 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));
  96987. },
  96988. $signature: 395
  96989. };
  96990. A._rgb_closure0.prototype = {
  96991. call$1(alpha) {
  96992. var t1 = A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  96993. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  96994. },
  96995. $signature: 211
  96996. };
  96997. A._hsl_closure0.prototype = {
  96998. call$1(alpha) {
  96999. var t1 = A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  97000. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  97001. },
  97002. $signature: 211
  97003. };
  97004. A._parseChannels_closure1.prototype = {
  97005. call$1($name) {
  97006. return $name + " channel";
  97007. },
  97008. $signature: 6
  97009. };
  97010. A._parseChannels_closure2.prototype = {
  97011. call$1(channel) {
  97012. return channel.get$isSpecialNumber();
  97013. },
  97014. $signature: 54
  97015. };
  97016. A._colorFromChannels_closure1.prototype = {
  97017. call$1(channel0) {
  97018. return A._angleValue0(channel0, "hue");
  97019. },
  97020. $signature: 94
  97021. };
  97022. A._colorFromChannels_closure2.prototype = {
  97023. call$1(channel0) {
  97024. return A._angleValue0(channel0, "hue");
  97025. },
  97026. $signature: 94
  97027. };
  97028. A._channelFromValue_closure0.prototype = {
  97029. call$1(value) {
  97030. var t1, _0_8, t2, _0_5, _0_8_isSet, upperClamped, t3,
  97031. _0_0 = this.channel;
  97032. $label0$0: {
  97033. t1 = _0_0 instanceof A.LinearChannel0;
  97034. if (t1 && _0_0.requiresPercent && !value.hasUnit$1("%"))
  97035. A.throwExpression(A.SassScriptException$0("Expected " + value.toString$0(0) + ' to have unit "%".', _0_0.name));
  97036. _0_8 = null;
  97037. t2 = false;
  97038. if (t1) {
  97039. _0_5 = _0_0.lowerClamped;
  97040. _0_8_isSet = !_0_5;
  97041. if (_0_8_isSet) {
  97042. _0_8 = _0_0.upperClamped;
  97043. t2 = !_0_8;
  97044. }
  97045. } else {
  97046. _0_5 = null;
  97047. _0_8_isSet = false;
  97048. }
  97049. if (t2) {
  97050. t1 = A._percentageOrUnitless0(value, _0_0.max, _0_0.name);
  97051. break $label0$0;
  97052. }
  97053. if (t1 && !this.clamp) {
  97054. t1 = A._percentageOrUnitless0(value, _0_0.max, _0_0.name);
  97055. break $label0$0;
  97056. }
  97057. if (t1) {
  97058. upperClamped = _0_8_isSet ? _0_8 : _0_0.upperClamped;
  97059. t1 = _0_0.max;
  97060. t2 = A._percentageOrUnitless0(value, t1, _0_0.name);
  97061. t3 = _0_5 ? _0_0.min : -1 / 0;
  97062. t1 = upperClamped ? t1 : 1 / 0;
  97063. t1 = isNaN(t2) ? t3 : B.JSNumber_methods.clamp$2(t2, t3, t1);
  97064. break $label0$0;
  97065. }
  97066. t1 = B.JSNumber_methods.$mod(value.coerceValueToUnit$2("deg", _0_0.name), 360);
  97067. break $label0$0;
  97068. }
  97069. return t1;
  97070. },
  97071. $signature: 94
  97072. };
  97073. A._channelFunction_closure0.prototype = {
  97074. call$1($arguments) {
  97075. var _this = this,
  97076. result = A.SassNumber_SassNumber0(_this.getter.call$1(J.get$first$ax($arguments).assertColor$1("color")), _this.unit),
  97077. t1 = _this.global ? "" : "color.",
  97078. t2 = _this.name;
  97079. A.warnForDeprecation0(t1 + t2 + string$.x28__is_d + t2 + '", $space: ' + _this.space.toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_fdF);
  97080. return result;
  97081. },
  97082. $signature: 25
  97083. };
  97084. A._suggestScaleAndAdjust_closure0.prototype = {
  97085. call$1(channel) {
  97086. return channel.name === this.channelName;
  97087. },
  97088. $signature: 69
  97089. };
  97090. A.colorClass_closure.prototype = {
  97091. call$0() {
  97092. var t1 = type$.JSClass,
  97093. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure())),
  97094. t2 = type$.String,
  97095. t3 = type$.Function;
  97096. 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));
  97097. 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));
  97098. A.JSClassExtension_injectSuperclass(t1._as(A.SassColor_SassColor$rgbInternal0(0, 0, 0, 1, null).constructor), jsClass);
  97099. return jsClass;
  97100. },
  97101. $signature: 15
  97102. };
  97103. A.colorClass__closure.prototype = {
  97104. call$2($self, options) {
  97105. var t1, t2, t3, t4, _null = null;
  97106. switch (A._constructionSpace(options)) {
  97107. case B.RgbColorSpace_i0P0:
  97108. A._checkNullAlphaDeprecation(options);
  97109. t1 = J.getInterceptor$x(options);
  97110. t2 = t1.get$red(options);
  97111. t3 = t1.get$green(options);
  97112. t4 = t1.get$blue(options);
  97113. t1 = t1.get$alpha(options);
  97114. return A.SassColor_SassColor$rgbInternal0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97115. case B.HslColorSpace_JQ20:
  97116. A._checkNullAlphaDeprecation(options);
  97117. t1 = J.getInterceptor$x(options);
  97118. t2 = t1.get$hue(options);
  97119. t3 = t1.get$saturation(options);
  97120. t4 = t1.get$lightness(options);
  97121. t1 = t1.get$alpha(options);
  97122. return A.SassColor_SassColor$hsl0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97123. case B.HwbColorSpace_guQ0:
  97124. A._checkNullAlphaDeprecation(options);
  97125. t1 = J.getInterceptor$x(options);
  97126. t2 = t1.get$hue(options);
  97127. t3 = t1.get$whiteness(options);
  97128. t4 = t1.get$blackness(options);
  97129. t1 = t1.get$alpha(options);
  97130. return A.SassColor_SassColor$hwb0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97131. case B.LabColorSpace_2nT0:
  97132. t1 = J.getInterceptor$x(options);
  97133. t2 = t1.get$lightness(options);
  97134. t3 = t1.get$a(options);
  97135. t4 = t1.get$b(options);
  97136. t1 = t1.get$alpha(options);
  97137. return A.SassColor$_forSpace0(B.LabColorSpace_2nT0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97138. case B.OklabColorSpace_5400:
  97139. t1 = J.getInterceptor$x(options);
  97140. t2 = t1.get$lightness(options);
  97141. t3 = t1.get$a(options);
  97142. t4 = t1.get$b(options);
  97143. t1 = t1.get$alpha(options);
  97144. return A.SassColor$_forSpace0(B.OklabColorSpace_5400, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97145. case B.LchColorSpace_Bpv0:
  97146. t1 = J.getInterceptor$x(options);
  97147. t2 = t1.get$lightness(options);
  97148. t3 = t1.get$chroma(options);
  97149. t4 = t1.get$hue(options);
  97150. t1 = t1.get$alpha(options);
  97151. return A.SassColor_SassColor$forSpaceInternal0(B.LchColorSpace_Bpv0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97152. case B.OklchColorSpace_9Gj0:
  97153. t1 = J.getInterceptor$x(options);
  97154. t2 = t1.get$lightness(options);
  97155. t3 = t1.get$chroma(options);
  97156. t4 = t1.get$hue(options);
  97157. t1 = t1.get$alpha(options);
  97158. return A.SassColor_SassColor$forSpaceInternal0(B.OklchColorSpace_9Gj0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97159. case B.SrgbColorSpace_thf0:
  97160. t1 = J.getInterceptor$x(options);
  97161. t2 = t1.get$red(options);
  97162. t3 = t1.get$green(options);
  97163. t4 = t1.get$blue(options);
  97164. t1 = t1.get$alpha(options);
  97165. return A.SassColor$_forSpace0(B.SrgbColorSpace_thf0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97166. case B.SrgbLinearColorSpace_kUj0:
  97167. t1 = J.getInterceptor$x(options);
  97168. t2 = t1.get$red(options);
  97169. t3 = t1.get$green(options);
  97170. t4 = t1.get$blue(options);
  97171. t1 = t1.get$alpha(options);
  97172. return A.SassColor$_forSpace0(B.SrgbLinearColorSpace_kUj0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97173. case B.DisplayP3ColorSpace_MmT0:
  97174. t1 = J.getInterceptor$x(options);
  97175. t2 = t1.get$red(options);
  97176. t3 = t1.get$green(options);
  97177. t4 = t1.get$blue(options);
  97178. t1 = t1.get$alpha(options);
  97179. return A.SassColor$_forSpace0(B.DisplayP3ColorSpace_MmT0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97180. case B.A98RgbColorSpace_lf20:
  97181. t1 = J.getInterceptor$x(options);
  97182. t2 = t1.get$red(options);
  97183. t3 = t1.get$green(options);
  97184. t4 = t1.get$blue(options);
  97185. t1 = t1.get$alpha(options);
  97186. return A.SassColor$_forSpace0(B.A98RgbColorSpace_lf20, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97187. case B.ProphotoRgbColorSpace_BDz0:
  97188. t1 = J.getInterceptor$x(options);
  97189. t2 = t1.get$red(options);
  97190. t3 = t1.get$green(options);
  97191. t4 = t1.get$blue(options);
  97192. t1 = t1.get$alpha(options);
  97193. return A.SassColor$_forSpace0(B.ProphotoRgbColorSpace_BDz0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97194. case B.Rec2020ColorSpace_6oo0:
  97195. t1 = J.getInterceptor$x(options);
  97196. t2 = t1.get$red(options);
  97197. t3 = t1.get$green(options);
  97198. t4 = t1.get$blue(options);
  97199. t1 = t1.get$alpha(options);
  97200. return A.SassColor$_forSpace0(B.Rec2020ColorSpace_6oo0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97201. case B.XyzD50ColorSpace_2OB0:
  97202. t1 = J.getInterceptor$x(options);
  97203. t2 = t1.get$x(options);
  97204. t3 = t1.get$y(options);
  97205. t4 = t1.get$z(options);
  97206. t1 = t1.get$alpha(options);
  97207. return A.SassColor$_forSpace0(B.XyzD50ColorSpace_2OB0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97208. case B.XyzD65ColorSpace_WiJ0:
  97209. t1 = J.getInterceptor$x(options);
  97210. t2 = t1.get$x(options);
  97211. t3 = t1.get$y(options);
  97212. t4 = t1.get$z(options);
  97213. t1 = t1.get$alpha(options);
  97214. return A.SassColor$_forSpace0(B.XyzD65ColorSpace_WiJ0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97215. default:
  97216. throw A.wrapException("Unreachable");
  97217. }
  97218. },
  97219. $signature: 398
  97220. };
  97221. A.colorClass__closure0.prototype = {
  97222. call$2($self, other) {
  97223. return $self.$eq(0, other);
  97224. },
  97225. $signature: 399
  97226. };
  97227. A.colorClass__closure1.prototype = {
  97228. call$1($self) {
  97229. return $self.get$hashCode(0);
  97230. },
  97231. $signature: 40
  97232. };
  97233. A.colorClass__closure2.prototype = {
  97234. call$2($self, space) {
  97235. return A._toSpace($self, space);
  97236. },
  97237. $signature: 400
  97238. };
  97239. A.colorClass__closure3.prototype = {
  97240. call$2($self, space) {
  97241. return A._toSpace($self, space).get$isInGamut();
  97242. },
  97243. call$1($self) {
  97244. return this.call$2($self, null);
  97245. },
  97246. "call*": "call$2",
  97247. $requiredArgCount: 1,
  97248. $defaultValues() {
  97249. return [null];
  97250. },
  97251. $signature: 401
  97252. };
  97253. A.colorClass__closure4.prototype = {
  97254. call$2($self, options) {
  97255. var t1 = J.getInterceptor$x(options),
  97256. t2 = A._toSpace($self, t1.get$space(options));
  97257. t1 = A.GamutMapMethod_GamutMapMethod$fromName0(t1.get$method(options));
  97258. t1 = t2.get$isInGamut() ? t2 : t1.map$1(0, t2);
  97259. return t1.toSpace$1($self._color0$_space);
  97260. },
  97261. $signature: 402
  97262. };
  97263. A.colorClass__closure5.prototype = {
  97264. call$3($self, channel, options) {
  97265. return A._toSpace($self, options == null ? null : J.get$space$x(options)).channel$1(0, channel);
  97266. },
  97267. call$2($self, channel) {
  97268. return this.call$3($self, channel, null);
  97269. },
  97270. "call*": "call$3",
  97271. $requiredArgCount: 2,
  97272. $defaultValues() {
  97273. return [null];
  97274. },
  97275. $signature: 403
  97276. };
  97277. A.colorClass__closure6.prototype = {
  97278. call$2($self, channel) {
  97279. return $self.isChannelMissing$1(channel);
  97280. },
  97281. $signature: 404
  97282. };
  97283. A.colorClass__closure7.prototype = {
  97284. call$3($self, channel, options) {
  97285. return A._toSpace($self, options == null ? null : J.get$space$x(options)).isChannelPowerless$1(channel);
  97286. },
  97287. call$2($self, channel) {
  97288. return this.call$3($self, channel, null);
  97289. },
  97290. "call*": "call$3",
  97291. $requiredArgCount: 2,
  97292. $defaultValues() {
  97293. return [null];
  97294. },
  97295. $signature: 405
  97296. };
  97297. A.colorClass__closure8.prototype = {
  97298. call$2($self, options) {
  97299. var t3, space, t4, t5, t6, color, changedValue, _0_2, changedColor, _0_4, _0_6, _null = null,
  97300. _s9_ = "whiteness",
  97301. _s9_0 = "blackness",
  97302. _s3_ = "hue",
  97303. _s10_ = "saturation",
  97304. _s9_1 = "lightness",
  97305. _s3_0 = "red", _s5_ = "green", _s4_ = "blue", _s5_0 = "alpha",
  97306. _s106_ = string$.Passin_,
  97307. _s105_ = "Passing `hue: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api",
  97308. t1 = J.getInterceptor$x(options),
  97309. t2 = t1.get$space(options) == null,
  97310. spaceSetExplicitly = !t2;
  97311. if (spaceSetExplicitly) {
  97312. t3 = t1.get$space(options);
  97313. t3.toString;
  97314. space = A.ColorSpace_fromName0(t3, _null);
  97315. } else
  97316. space = $self._color0$_space;
  97317. t3 = $self._color0$_space;
  97318. if (t3.get$isLegacyInternal() && t2) {
  97319. if ("whiteness" in options || "blackness" in options)
  97320. space = B.HwbColorSpace_guQ0;
  97321. else if ("hue" in options && t3 === B.HwbColorSpace_guQ0)
  97322. space = B.HwbColorSpace_guQ0;
  97323. else if ("hue" in options || "saturation" in options || "lightness" in options)
  97324. space = B.HslColorSpace_JQ20;
  97325. else if ("red" in options || "green" in options || "blue" in options)
  97326. space = B.RgbColorSpace_i0P0;
  97327. if (space !== t3)
  97328. 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);
  97329. }
  97330. for (t2 = J.get$iterator$ax(self.Object.keys(options)), t4 = space._space$_channels, t5 = type$.JSArray_String; t2.moveNext$0();) {
  97331. t6 = t2.get$current(t2);
  97332. if (B.JSArray_methods.contains$1(A._setArrayType(["alpha", "space"], t5), t6))
  97333. continue;
  97334. if (!B.JSArray_methods.any$1(t4, new A.colorClass___closure(t6)))
  97335. A.jsThrow(new self.Error("`" + t6 + "` is not a valid channel in `" + space.toString$0(0) + "`."));
  97336. }
  97337. color = $self.toSpace$1(space);
  97338. changedValue = new A.colorClass__closure_changedValue(color, options);
  97339. $label0$2: {
  97340. _0_2 = B.HslColorSpace_JQ20 === space;
  97341. if (_0_2 && spaceSetExplicitly) {
  97342. changedColor = A.SassColor_SassColor$hsl0(changedValue.call$1(_s3_), changedValue.call$1(_s10_), changedValue.call$1(_s9_1), changedValue.call$1(_s5_0));
  97343. break $label0$2;
  97344. }
  97345. if (_0_2) {
  97346. t2 = t1.get$hue(options);
  97347. t4 = $.$get$_isNull();
  97348. if (A._asBool(t4.call$1(t2)))
  97349. A.warnForDeprecationFromApi(_s105_, B.Deprecation_FD1);
  97350. else if (A._asBool(t4.call$1(t1.get$saturation(options))))
  97351. A.warnForDeprecationFromApi("Passing `saturation: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97352. else if (A._asBool(t4.call$1(t1.get$lightness(options))))
  97353. A.warnForDeprecationFromApi("Passing `lightness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97354. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  97355. A.warnForDeprecationFromApi(_s106_, B.Deprecation_l0m);
  97356. t2 = t1.get$hue(options);
  97357. if (t2 == null)
  97358. t2 = color.channel$1(0, _s3_);
  97359. t4 = t1.get$saturation(options);
  97360. if (t4 == null)
  97361. t4 = color.channel$1(0, _s10_);
  97362. t5 = t1.get$lightness(options);
  97363. if (t5 == null)
  97364. t5 = color.channel$1(0, _s9_1);
  97365. t1 = t1.get$alpha(options);
  97366. changedColor = A.SassColor_SassColor$hsl0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1);
  97367. break $label0$2;
  97368. }
  97369. _0_4 = B.HwbColorSpace_guQ0 === space;
  97370. if (_0_4 && spaceSetExplicitly) {
  97371. changedColor = A.SassColor_SassColor$hwb0(changedValue.call$1(_s3_), changedValue.call$1(_s9_), changedValue.call$1(_s9_0), changedValue.call$1(_s5_0));
  97372. break $label0$2;
  97373. }
  97374. if (_0_4) {
  97375. t2 = t1.get$hue(options);
  97376. t4 = $.$get$_isNull();
  97377. if (A._asBool(t4.call$1(t2)))
  97378. A.warnForDeprecationFromApi(_s105_, B.Deprecation_FD1);
  97379. else if (A._asBool(t4.call$1(t1.get$whiteness(options))))
  97380. A.warnForDeprecationFromApi("Passing `whiteness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97381. else if (A._asBool(t4.call$1(t1.get$blackness(options))))
  97382. A.warnForDeprecationFromApi("Passing `blackness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97383. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  97384. A.warnForDeprecationFromApi(_s106_, B.Deprecation_l0m);
  97385. t2 = t1.get$hue(options);
  97386. if (t2 == null)
  97387. t2 = color.channel$1(0, _s3_);
  97388. t4 = t1.get$whiteness(options);
  97389. if (t4 == null)
  97390. t4 = color.channel$1(0, _s9_);
  97391. t5 = t1.get$blackness(options);
  97392. if (t5 == null)
  97393. t5 = color.channel$1(0, _s9_0);
  97394. t1 = t1.get$alpha(options);
  97395. changedColor = A.SassColor_SassColor$hwb0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1);
  97396. break $label0$2;
  97397. }
  97398. _0_6 = B.RgbColorSpace_i0P0 === space;
  97399. if (_0_6 && spaceSetExplicitly) {
  97400. changedColor = A.SassColor_SassColor$rgbInternal0(changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  97401. break $label0$2;
  97402. }
  97403. if (_0_6) {
  97404. t2 = t1.get$red(options);
  97405. t4 = $.$get$_isNull();
  97406. if (A._asBool(t4.call$1(t2)))
  97407. A.warnForDeprecationFromApi("Passing `red: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97408. else if (A._asBool(t4.call$1(t1.get$green(options))))
  97409. A.warnForDeprecationFromApi("Passing `green: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97410. else if (A._asBool(t4.call$1(t1.get$blue(options))))
  97411. A.warnForDeprecationFromApi("Passing `blue: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97412. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  97413. A.warnForDeprecationFromApi(_s106_, B.Deprecation_l0m);
  97414. t2 = t1.get$red(options);
  97415. if (t2 == null)
  97416. t2 = color.channel$1(0, _s3_0);
  97417. t4 = t1.get$green(options);
  97418. if (t4 == null)
  97419. t4 = color.channel$1(0, _s5_);
  97420. t5 = t1.get$blue(options);
  97421. if (t5 == null)
  97422. t5 = color.channel$1(0, _s4_);
  97423. t1 = t1.get$alpha(options);
  97424. changedColor = A.SassColor_SassColor$rgbInternal0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1, _null);
  97425. break $label0$2;
  97426. }
  97427. if (B.LabColorSpace_2nT0 === space) {
  97428. 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);
  97429. break $label0$2;
  97430. }
  97431. if (B.OklabColorSpace_5400 === space) {
  97432. 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);
  97433. break $label0$2;
  97434. }
  97435. if (B.LchColorSpace_Bpv0 === space) {
  97436. 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));
  97437. break $label0$2;
  97438. }
  97439. if (B.OklchColorSpace_9Gj0 === space) {
  97440. 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));
  97441. break $label0$2;
  97442. }
  97443. if (B.A98RgbColorSpace_lf20 === space) {
  97444. 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);
  97445. break $label0$2;
  97446. }
  97447. if (B.DisplayP3ColorSpace_MmT0 === space) {
  97448. 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);
  97449. break $label0$2;
  97450. }
  97451. if (B.ProphotoRgbColorSpace_BDz0 === space) {
  97452. 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);
  97453. break $label0$2;
  97454. }
  97455. if (B.Rec2020ColorSpace_6oo0 === space) {
  97456. 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);
  97457. break $label0$2;
  97458. }
  97459. if (B.SrgbColorSpace_thf0 === space) {
  97460. 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);
  97461. break $label0$2;
  97462. }
  97463. if (B.SrgbLinearColorSpace_kUj0 === space) {
  97464. 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);
  97465. break $label0$2;
  97466. }
  97467. if (B.XyzD50ColorSpace_2OB0 === space) {
  97468. changedColor = A.SassColor_SassColor$forSpaceInternal0(space, changedValue.call$1("x"), changedValue.call$1("y"), changedValue.call$1("z"), changedValue.call$1(_s5_0));
  97469. break $label0$2;
  97470. }
  97471. if (B.XyzD65ColorSpace_WiJ0 === space) {
  97472. changedColor = A.SassColor_SassColor$forSpaceInternal0(space, changedValue.call$1("x"), changedValue.call$1("y"), changedValue.call$1("z"), changedValue.call$1(_s5_0));
  97473. break $label0$2;
  97474. }
  97475. throw A.wrapException("No space set");
  97476. }
  97477. return changedColor.toSpace$1(t3);
  97478. },
  97479. $signature: 670
  97480. };
  97481. A.colorClass___closure.prototype = {
  97482. call$1(channel) {
  97483. return channel.name === this.key;
  97484. },
  97485. $signature: 69
  97486. };
  97487. A.colorClass__closure_changedValue.prototype = {
  97488. call$1(channel) {
  97489. var t2,
  97490. t1 = this.options;
  97491. if (channel in t1) {
  97492. t2 = t1[channel];
  97493. t2 = !A._asBool($.$get$_isUndefined().call$1(t2));
  97494. } else
  97495. t2 = false;
  97496. return t2 ? t1[channel] : this.color.channel$1(0, channel);
  97497. },
  97498. $signature: 407
  97499. };
  97500. A.colorClass__closure9.prototype = {
  97501. call$3($self, color2, options) {
  97502. var interpolationMethod, t2,
  97503. t1 = options == null,
  97504. _1_0 = t1 ? null : J.get$method$x(options);
  97505. if (_1_0 != null)
  97506. interpolationMethod = A.InterpolationMethod$0($self._color0$_space, A.EnumByName_byName(B.List_nm2, _1_0));
  97507. else {
  97508. t2 = $self._color0$_space;
  97509. interpolationMethod = !t2.get$isPolarInternal() ? A.InterpolationMethod$0(t2, null) : A.InterpolationMethod$0(t2, B.HueInterpolationMethod_00);
  97510. }
  97511. return $self.interpolate$3$weight(color2, interpolationMethod, t1 ? null : J.get$weight$x(options));
  97512. },
  97513. call$2($self, color2) {
  97514. return this.call$3($self, color2, null);
  97515. },
  97516. "call*": "call$3",
  97517. $requiredArgCount: 2,
  97518. $defaultValues() {
  97519. return [null];
  97520. },
  97521. $signature: 408
  97522. };
  97523. A.colorClass__closure10.prototype = {
  97524. call$1($self) {
  97525. A.warnForDeprecationFromApi("red is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97526. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  97527. },
  97528. $signature: 40
  97529. };
  97530. A.colorClass__closure11.prototype = {
  97531. call$1($self) {
  97532. A.warnForDeprecationFromApi("green is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97533. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  97534. },
  97535. $signature: 40
  97536. };
  97537. A.colorClass__closure12.prototype = {
  97538. call$1($self) {
  97539. A.warnForDeprecationFromApi("blue is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97540. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  97541. },
  97542. $signature: 40
  97543. };
  97544. A.colorClass__closure13.prototype = {
  97545. call$1($self) {
  97546. A.warnForDeprecationFromApi("hue is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97547. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  97548. },
  97549. $signature: 29
  97550. };
  97551. A.colorClass__closure14.prototype = {
  97552. call$1($self) {
  97553. A.warnForDeprecationFromApi("saturation is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97554. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  97555. },
  97556. $signature: 29
  97557. };
  97558. A.colorClass__closure15.prototype = {
  97559. call$1($self) {
  97560. A.warnForDeprecationFromApi("lightness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97561. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  97562. },
  97563. $signature: 29
  97564. };
  97565. A.colorClass__closure16.prototype = {
  97566. call$1($self) {
  97567. A.warnForDeprecationFromApi("whiteness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97568. return $self._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "whiteness");
  97569. },
  97570. $signature: 29
  97571. };
  97572. A.colorClass__closure17.prototype = {
  97573. call$1($self) {
  97574. A.warnForDeprecationFromApi("blackness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97575. return $self._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "blackness");
  97576. },
  97577. $signature: 29
  97578. };
  97579. A.colorClass__closure18.prototype = {
  97580. call$1($self) {
  97581. var t1 = $self.alphaOrNull;
  97582. return t1 == null ? 0 : t1;
  97583. },
  97584. $signature: 29
  97585. };
  97586. A.colorClass__closure19.prototype = {
  97587. call$1($self) {
  97588. return $self._color0$_space.name;
  97589. },
  97590. $signature: 409
  97591. };
  97592. A.colorClass__closure20.prototype = {
  97593. call$1($self) {
  97594. return $self._color0$_space.get$isLegacyInternal();
  97595. },
  97596. $signature: 410
  97597. };
  97598. A.colorClass__closure21.prototype = {
  97599. call$1($self) {
  97600. return new self.immutable.List($self.get$channelsOrNull());
  97601. },
  97602. $signature: 208
  97603. };
  97604. A.colorClass__closure22.prototype = {
  97605. call$1($self) {
  97606. return new self.immutable.List($self.get$channels());
  97607. },
  97608. $signature: 208
  97609. };
  97610. A._Channels.prototype = {};
  97611. A._ConstructionOptions.prototype = {};
  97612. A._ChannelOptions.prototype = {};
  97613. A._ToGamutOptions.prototype = {};
  97614. A._InterpolationOptions.prototype = {};
  97615. A._NodeSassColor.prototype = {};
  97616. A.legacyColorClass_closure.prototype = {
  97617. call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
  97618. var red, t1, t2, t3, t4;
  97619. if (dartValue != null) {
  97620. J.set$dartValue$x(thisArg, dartValue);
  97621. return;
  97622. }
  97623. if (green == null || blue == null) {
  97624. A._asInt(redOrArgb);
  97625. alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
  97626. red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
  97627. green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
  97628. blue = B.JSInt_methods.$mod(redOrArgb, 256);
  97629. } else {
  97630. redOrArgb.toString;
  97631. red = redOrArgb;
  97632. }
  97633. t1 = A.fuzzyRound0(isNaN(red) ? 0 : B.JSNumber_methods.clamp$2(red, 0, 255));
  97634. t2 = A.fuzzyRound0(isNaN(green) ? 0 : B.JSNumber_methods.clamp$2(green, 0, 255));
  97635. t3 = A.fuzzyRound0(isNaN(blue) ? 0 : B.JSNumber_methods.clamp$2(blue, 0, 255));
  97636. t4 = A.NullableExtension_andThen0(alpha, new A.legacyColorClass__closure());
  97637. J.set$dartValue$x(thisArg, A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4 == null ? 1 : t4, null));
  97638. },
  97639. call$2(thisArg, redOrArgb) {
  97640. var _null = null;
  97641. return this.call$6(thisArg, redOrArgb, _null, _null, _null, _null);
  97642. },
  97643. call$3(thisArg, redOrArgb, green) {
  97644. return this.call$6(thisArg, redOrArgb, green, null, null, null);
  97645. },
  97646. call$4(thisArg, redOrArgb, green, blue) {
  97647. return this.call$6(thisArg, redOrArgb, green, blue, null, null);
  97648. },
  97649. call$5(thisArg, redOrArgb, green, blue, alpha) {
  97650. return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
  97651. },
  97652. "call*": "call$6",
  97653. $requiredArgCount: 2,
  97654. $defaultValues() {
  97655. return [null, null, null, null];
  97656. },
  97657. $signature: 412
  97658. };
  97659. A.legacyColorClass__closure.prototype = {
  97660. call$1(alpha) {
  97661. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  97662. },
  97663. $signature: 413
  97664. };
  97665. A.legacyColorClass_closure0.prototype = {
  97666. call$1(thisArg) {
  97667. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  97668. },
  97669. $signature: 125
  97670. };
  97671. A.legacyColorClass_closure1.prototype = {
  97672. call$1(thisArg) {
  97673. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  97674. },
  97675. $signature: 125
  97676. };
  97677. A.legacyColorClass_closure2.prototype = {
  97678. call$1(thisArg) {
  97679. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  97680. },
  97681. $signature: 125
  97682. };
  97683. A.legacyColorClass_closure3.prototype = {
  97684. call$1(thisArg) {
  97685. var t1 = J.get$dartValue$x(thisArg).alphaOrNull;
  97686. return t1 == null ? 0 : t1;
  97687. },
  97688. $signature: 415
  97689. };
  97690. A.legacyColorClass_closure4.prototype = {
  97691. call$2(thisArg, value) {
  97692. var t1 = J.getInterceptor$x(thisArg),
  97693. t2 = t1.get$dartValue(thisArg);
  97694. t1.set$dartValue(thisArg, t2.changeRgb$1$red(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  97695. },
  97696. $signature: 106
  97697. };
  97698. A.legacyColorClass_closure5.prototype = {
  97699. call$2(thisArg, value) {
  97700. var t1 = J.getInterceptor$x(thisArg),
  97701. t2 = t1.get$dartValue(thisArg);
  97702. t1.set$dartValue(thisArg, t2.changeRgb$1$green(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  97703. },
  97704. $signature: 106
  97705. };
  97706. A.legacyColorClass_closure6.prototype = {
  97707. call$2(thisArg, value) {
  97708. var t1 = J.getInterceptor$x(thisArg),
  97709. t2 = t1.get$dartValue(thisArg);
  97710. t1.set$dartValue(thisArg, t2.changeRgb$1$blue(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  97711. },
  97712. $signature: 106
  97713. };
  97714. A.legacyColorClass_closure7.prototype = {
  97715. call$2(thisArg, value) {
  97716. var t1 = J.getInterceptor$x(thisArg),
  97717. t2 = t1.get$dartValue(thisArg);
  97718. t1.set$dartValue(thisArg, t2.changeRgb$1$alpha(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 1)));
  97719. },
  97720. $signature: 106
  97721. };
  97722. A.SassColor0.prototype = {
  97723. get$channels() {
  97724. var t2, t3,
  97725. t1 = this.channel0OrNull;
  97726. if (t1 == null)
  97727. t1 = 0;
  97728. t2 = this.channel1OrNull;
  97729. if (t2 == null)
  97730. t2 = 0;
  97731. t3 = this.channel2OrNull;
  97732. return A.List_List$unmodifiable([t1, t2, t3 == null ? 0 : t3], type$.double);
  97733. },
  97734. get$channelsOrNull() {
  97735. return A.List_List$unmodifiable([this.channel0OrNull, this.channel1OrNull, this.channel2OrNull], type$.nullable_double);
  97736. },
  97737. get$isChannel0Powerless() {
  97738. var t1, t2, _this = this,
  97739. _0_0 = _this._color0$_space;
  97740. $label0$0: {
  97741. if (B.HslColorSpace_JQ20 === _0_0) {
  97742. t1 = _this.channel1OrNull;
  97743. t1 = A.fuzzyEquals0(t1 == null ? 0 : t1, 0);
  97744. break $label0$0;
  97745. }
  97746. if (B.HwbColorSpace_guQ0 === _0_0) {
  97747. t1 = _this.channel1OrNull;
  97748. if (t1 == null)
  97749. t1 = 0;
  97750. t2 = _this.channel2OrNull;
  97751. t1 += t2 == null ? 0 : t2;
  97752. t1 = t1 > 100 || A.fuzzyEquals0(t1, 100);
  97753. break $label0$0;
  97754. }
  97755. t1 = false;
  97756. break $label0$0;
  97757. }
  97758. return t1;
  97759. },
  97760. get$isChannel2Powerless() {
  97761. var t1,
  97762. _0_0 = this._color0$_space;
  97763. $label0$0: {
  97764. if (B.LchColorSpace_Bpv0 === _0_0 || B.OklchColorSpace_9Gj0 === _0_0) {
  97765. t1 = this.channel1OrNull;
  97766. t1 = A.fuzzyEquals0(t1 == null ? 0 : t1, 0);
  97767. break $label0$0;
  97768. }
  97769. t1 = false;
  97770. break $label0$0;
  97771. }
  97772. return t1;
  97773. },
  97774. get$isInGamut() {
  97775. var t2, t3, _this = this,
  97776. t1 = _this._color0$_space;
  97777. if (!t1.get$isBoundedInternal())
  97778. return true;
  97779. t2 = _this.channel0OrNull;
  97780. if (t2 == null)
  97781. t2 = 0;
  97782. t1 = t1._space$_channels;
  97783. t3 = false;
  97784. if (_this._color0$_isChannelInGamut$2(t2, t1[0])) {
  97785. t2 = _this.channel1OrNull;
  97786. if (t2 == null)
  97787. t2 = 0;
  97788. if (_this._color0$_isChannelInGamut$2(t2, t1[1])) {
  97789. t2 = _this.channel2OrNull;
  97790. if (t2 == null)
  97791. t2 = 0;
  97792. t1 = _this._color0$_isChannelInGamut$2(t2, t1[2]);
  97793. } else
  97794. t1 = t3;
  97795. } else
  97796. t1 = t3;
  97797. return t1;
  97798. },
  97799. _color0$_isChannelInGamut$2(value, channel) {
  97800. var min, max, t1;
  97801. $label0$0: {
  97802. if (channel instanceof A.LinearChannel0) {
  97803. min = channel.min;
  97804. max = channel.max;
  97805. if (value < max || A.fuzzyEquals0(value, max))
  97806. t1 = value > min || A.fuzzyEquals0(value, min);
  97807. else
  97808. t1 = false;
  97809. break $label0$0;
  97810. }
  97811. t1 = true;
  97812. break $label0$0;
  97813. }
  97814. return t1;
  97815. },
  97816. accept$1$1(visitor) {
  97817. return visitor.visitColor$1(this);
  97818. },
  97819. accept$1(visitor) {
  97820. return this.accept$1$1(visitor, type$.dynamic);
  97821. },
  97822. assertColor$1($name) {
  97823. return this;
  97824. },
  97825. assertLegacy$1($name) {
  97826. if (this._color0$_space.get$isLegacyInternal())
  97827. return;
  97828. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + string$.x20to_be, $name));
  97829. },
  97830. channel$1(_, channel) {
  97831. var t1, _this = this,
  97832. channels = _this._color0$_space._space$_channels;
  97833. if (channel === channels[0].name) {
  97834. t1 = _this.channel0OrNull;
  97835. return t1 == null ? 0 : t1;
  97836. }
  97837. if (channel === channels[1].name) {
  97838. t1 = _this.channel1OrNull;
  97839. return t1 == null ? 0 : t1;
  97840. }
  97841. if (channel === channels[2].name) {
  97842. t1 = _this.channel2OrNull;
  97843. return t1 == null ? 0 : t1;
  97844. }
  97845. if (channel === "alpha") {
  97846. t1 = _this.alphaOrNull;
  97847. return t1 == null ? 0 : t1;
  97848. }
  97849. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', null));
  97850. },
  97851. isChannelMissing$3$channelName$colorName(channel, channelName, colorName) {
  97852. var _this = this,
  97853. channels = _this._color0$_space._space$_channels;
  97854. if (channel === channels[0].name)
  97855. return _this.channel0OrNull == null;
  97856. if (channel === channels[1].name)
  97857. return _this.channel1OrNull == null;
  97858. if (channel === channels[2].name)
  97859. return _this.channel2OrNull == null;
  97860. if (channel === "alpha")
  97861. return _this.alphaOrNull == null;
  97862. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  97863. },
  97864. isChannelMissing$1(channel) {
  97865. return this.isChannelMissing$3$channelName$colorName(channel, null, null);
  97866. },
  97867. isChannelPowerless$3$channelName$colorName(channel, channelName, colorName) {
  97868. var _this = this,
  97869. channels = _this._color0$_space._space$_channels;
  97870. if (channel === channels[0].name)
  97871. return _this.get$isChannel0Powerless();
  97872. if (channel === channels[1].name)
  97873. return false;
  97874. if (channel === channels[2].name)
  97875. return _this.get$isChannel2Powerless();
  97876. if (channel === "alpha")
  97877. return false;
  97878. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  97879. },
  97880. isChannelPowerless$1(channel) {
  97881. return this.isChannelPowerless$3$channelName$colorName(channel, null, null);
  97882. },
  97883. _color0$_legacyChannel$2(space, channel) {
  97884. if (!this._color0$_space.get$isLegacyInternal())
  97885. throw A.wrapException(A.SassScriptException$0("color." + channel + string$.x28__is_oc, null));
  97886. return this.toSpace$1(space).channel$1(0, channel);
  97887. },
  97888. toSpace$2$legacyMissing(space, legacyMissing) {
  97889. var t2, converted, t3, t4, _this = this,
  97890. t1 = _this._color0$_space;
  97891. if (t1 === space)
  97892. return _this;
  97893. t2 = _this.alphaOrNull;
  97894. if (t2 == null)
  97895. t2 = 0;
  97896. converted = t1.convert$5(space, _this.channel0OrNull, _this.channel1OrNull, _this.channel2OrNull, t2);
  97897. t1 = false;
  97898. if (!legacyMissing)
  97899. if (converted._color0$_space.get$isLegacyInternal())
  97900. t1 = converted.channel0OrNull == null || converted.channel1OrNull == null || converted.channel2OrNull == null || converted.alphaOrNull == null;
  97901. if (t1) {
  97902. t1 = converted.channel0OrNull;
  97903. if (t1 == null)
  97904. t1 = 0;
  97905. t2 = converted.channel1OrNull;
  97906. if (t2 == null)
  97907. t2 = 0;
  97908. t3 = converted.channel2OrNull;
  97909. if (t3 == null)
  97910. t3 = 0;
  97911. t4 = converted.alphaOrNull;
  97912. if (t4 == null)
  97913. t4 = 0;
  97914. t4 = A.SassColor_SassColor$forSpaceInternal0(converted._color0$_space, t1, t2, t3, t4);
  97915. t1 = t4;
  97916. } else
  97917. t1 = converted;
  97918. return t1;
  97919. },
  97920. toSpace$1(space) {
  97921. return this.toSpace$2$legacyMissing(space, true);
  97922. },
  97923. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  97924. var t1, t2, t3, t4, _this = this, _null = null;
  97925. if (!_this._color0$_space.get$isLegacyInternal())
  97926. 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));
  97927. t1 = red == null ? _null : red;
  97928. if (t1 == null)
  97929. t1 = _this.channel$1(0, "red");
  97930. t2 = green == null ? _null : green;
  97931. if (t2 == null)
  97932. t2 = _this.channel$1(0, "green");
  97933. t3 = blue == null ? _null : blue;
  97934. if (t3 == null)
  97935. t3 = _this.channel$1(0, "blue");
  97936. t4 = alpha == null ? _null : alpha;
  97937. if (t4 == null) {
  97938. t4 = _this.alphaOrNull;
  97939. if (t4 == null)
  97940. t4 = 0;
  97941. }
  97942. return A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4, _null);
  97943. },
  97944. changeRgb$1$alpha(alpha) {
  97945. return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
  97946. },
  97947. changeRgb$1$blue(blue) {
  97948. return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
  97949. },
  97950. changeRgb$1$green(green) {
  97951. return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
  97952. },
  97953. changeRgb$1$red(red) {
  97954. return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
  97955. },
  97956. changeHsl$3$hue$lightness$saturation(hue, lightness, saturation) {
  97957. var t2, t3, t4, t5, _this = this, _null = null,
  97958. t1 = _this._color0$_space;
  97959. if (!t1.get$isLegacyInternal())
  97960. throw A.wrapException(A.SassScriptException$0(string$.color_c, _null));
  97961. t2 = hue == null ? _null : hue;
  97962. if (t2 == null)
  97963. t2 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  97964. t3 = saturation == null ? _null : saturation;
  97965. if (t3 == null)
  97966. t3 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  97967. t4 = lightness == null ? _null : lightness;
  97968. if (t4 == null)
  97969. t4 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  97970. t5 = _this.alphaOrNull;
  97971. if (t5 == null)
  97972. t5 = 0;
  97973. return A.SassColor_SassColor$hsl0(t2, t3, t4, t5).toSpace$1(t1);
  97974. },
  97975. changeHsl$1$saturation(saturation) {
  97976. return this.changeHsl$3$hue$lightness$saturation(null, null, saturation);
  97977. },
  97978. changeHsl$1$lightness(lightness) {
  97979. return this.changeHsl$3$hue$lightness$saturation(null, lightness, null);
  97980. },
  97981. changeHsl$1$hue(hue) {
  97982. return this.changeHsl$3$hue$lightness$saturation(hue, null, null);
  97983. },
  97984. changeAlpha$1(alpha) {
  97985. var t2, t3, _this = this,
  97986. t1 = _this.channel0OrNull;
  97987. if (t1 == null)
  97988. t1 = 0;
  97989. t2 = _this.channel1OrNull;
  97990. if (t2 == null)
  97991. t2 = 0;
  97992. t3 = _this.channel2OrNull;
  97993. if (t3 == null)
  97994. t3 = 0;
  97995. return A.SassColor_SassColor$forSpaceInternal0(_this._color0$_space, t1, t2, t3, alpha);
  97996. },
  97997. interpolate$4$legacyMissing$weight(other, method, legacyMissing, weight) {
  97998. 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;
  97999. if (weight == null)
  98000. weight = 0.5;
  98001. if (A.fuzzyEquals0(weight, 0))
  98002. return other;
  98003. if (A.fuzzyEquals0(weight, 1))
  98004. return _this;
  98005. t1 = method.space;
  98006. color1 = _this.toSpace$1(t1);
  98007. color2 = other.toSpace$1(t1);
  98008. if (weight < 0 || weight > 1)
  98009. throw A.wrapException(A.RangeError$range(weight, 0, 1, "weight", _null));
  98010. missing1_0 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 0);
  98011. missing1_1 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 1);
  98012. missing1_2 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 2);
  98013. missing2_0 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 0);
  98014. missing2_1 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 1);
  98015. missing2_2 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 2);
  98016. channel1_0 = (missing1_0 ? color2 : color1).channel0OrNull;
  98017. if (channel1_0 == null)
  98018. channel1_0 = 0;
  98019. channel1_1 = (missing1_1 ? color2 : color1).channel1OrNull;
  98020. if (channel1_1 == null)
  98021. channel1_1 = 0;
  98022. channel1_2 = (missing1_2 ? color2 : color1).channel2OrNull;
  98023. if (channel1_2 == null)
  98024. channel1_2 = 0;
  98025. channel2_0 = (missing2_0 ? color1 : color2).channel0OrNull;
  98026. if (channel2_0 == null)
  98027. channel2_0 = 0;
  98028. channel2_1 = (missing2_1 ? color1 : color2).channel1OrNull;
  98029. if (channel2_1 == null)
  98030. channel2_1 = 0;
  98031. channel2_2 = (missing2_2 ? color1 : color2).channel2OrNull;
  98032. if (channel2_2 == null)
  98033. channel2_2 = 0;
  98034. alpha1 = _this.alphaOrNull;
  98035. t2 = alpha1 == null;
  98036. if (t2) {
  98037. t3 = other.alphaOrNull;
  98038. alpha10 = t3 == null ? 0 : t3;
  98039. } else
  98040. alpha10 = alpha1;
  98041. alpha2 = other.alphaOrNull;
  98042. t3 = alpha2 == null;
  98043. if (t3)
  98044. alpha20 = t2 ? 0 : alpha1;
  98045. else
  98046. alpha20 = alpha2;
  98047. thisMultiplier = (t2 ? 1 : alpha1) * weight;
  98048. t4 = t3 ? 1 : alpha2;
  98049. t5 = 1 - weight;
  98050. otherMultiplier = t4 * t5;
  98051. mixedAlpha = t2 && t3 ? _null : alpha10 * weight + alpha20 * t5;
  98052. if (missing1_0 && missing2_0)
  98053. mixed0 = _null;
  98054. else {
  98055. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98056. mixed0 = (channel1_0 * thisMultiplier + channel2_0 * otherMultiplier) / t2;
  98057. }
  98058. if (missing1_1 && missing2_1)
  98059. mixed1 = _null;
  98060. else {
  98061. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98062. mixed1 = (channel1_1 * thisMultiplier + channel2_1 * otherMultiplier) / t2;
  98063. }
  98064. if (missing1_2 && missing2_2)
  98065. mixed2 = _null;
  98066. else {
  98067. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98068. mixed2 = (channel1_2 * thisMultiplier + channel2_2 * otherMultiplier) / t2;
  98069. }
  98070. $label0$0: {
  98071. if (B.HslColorSpace_JQ20 === t1 || B.HwbColorSpace_guQ0 === t1) {
  98072. if (missing1_0 && missing2_0)
  98073. t2 = _null;
  98074. else {
  98075. t2 = method.hue;
  98076. t2.toString;
  98077. t2 = _this._color0$_interpolateHues$4(channel1_0, channel2_0, t2, weight);
  98078. }
  98079. t2 = A.SassColor_SassColor$forSpaceInternal0(t1, t2, mixed1, mixed2, mixedAlpha);
  98080. t1 = t2;
  98081. break $label0$0;
  98082. }
  98083. if (B.LchColorSpace_Bpv0 === t1 || B.OklchColorSpace_9Gj0 === t1) {
  98084. if (missing1_2 && missing2_2)
  98085. t2 = _null;
  98086. else {
  98087. t2 = method.hue;
  98088. t2.toString;
  98089. t2 = _this._color0$_interpolateHues$4(channel1_2, channel2_2, t2, weight);
  98090. }
  98091. t2 = A.SassColor_SassColor$forSpaceInternal0(t1, mixed0, mixed1, t2, mixedAlpha);
  98092. t1 = t2;
  98093. break $label0$0;
  98094. }
  98095. t1 = A.SassColor_SassColor$forSpaceInternal0(t1, mixed0, mixed1, mixed2, mixedAlpha);
  98096. break $label0$0;
  98097. }
  98098. return t1.toSpace$2$legacyMissing(_this._color0$_space, legacyMissing);
  98099. },
  98100. interpolate$3$weight(other, method, weight) {
  98101. return this.interpolate$4$legacyMissing$weight(other, method, true, weight);
  98102. },
  98103. _color0$_isAnalogousChannelMissing$3(original, output, outputChannelIndex) {
  98104. var originalChannel;
  98105. if (output.get$channelsOrNull()[outputChannelIndex] == null)
  98106. return true;
  98107. if (original === output)
  98108. return false;
  98109. originalChannel = A.IterableExtension_firstWhereOrNull(original._color0$_space._space$_channels, output._color0$_space._space$_channels[outputChannelIndex].get$isAnalogous());
  98110. if (originalChannel == null)
  98111. return false;
  98112. return original.isChannelMissing$1(originalChannel.name);
  98113. },
  98114. _color0$_interpolateHues$4(hue1, hue2, method, weight) {
  98115. var _0_0, _1_0;
  98116. $label1$1: {
  98117. if (B.HueInterpolationMethod_00 === method) {
  98118. $label0$0: {
  98119. _0_0 = hue2 - hue1;
  98120. if (_0_0 > 180) {
  98121. hue1 += 360;
  98122. break $label0$0;
  98123. }
  98124. if (_0_0 < -180)
  98125. hue2 += 360;
  98126. }
  98127. break $label1$1;
  98128. }
  98129. if (B.HueInterpolationMethod_10 === method) {
  98130. $label2$2: {
  98131. _1_0 = hue2 - hue1;
  98132. if (_1_0 > 0 && _1_0 < 180) {
  98133. hue2 += 360;
  98134. break $label2$2;
  98135. }
  98136. if (_1_0 > -180 && _1_0 <= 0)
  98137. hue1 += 360;
  98138. }
  98139. break $label1$1;
  98140. }
  98141. if (B.HueInterpolationMethod_20 === method && hue2 < hue1) {
  98142. hue2 += 360;
  98143. break $label1$1;
  98144. }
  98145. if (B.HueInterpolationMethod_30 === method && hue1 < hue2) {
  98146. hue1 += 360;
  98147. break $label1$1;
  98148. }
  98149. }
  98150. return hue1 * weight + hue2 * (1 - weight);
  98151. },
  98152. plus$1(other) {
  98153. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98154. return this.super$Value$plus0(other);
  98155. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  98156. },
  98157. minus$1(other) {
  98158. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98159. return this.super$Value$minus0(other);
  98160. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  98161. },
  98162. dividedBy$1(other) {
  98163. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98164. return this.super$Value$dividedBy0(other);
  98165. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  98166. },
  98167. $eq(_, other) {
  98168. var t1, t2, _this = this;
  98169. if (other == null)
  98170. return false;
  98171. if (!(other instanceof A.SassColor0))
  98172. return false;
  98173. t1 = _this._color0$_space;
  98174. if (t1.get$isLegacyInternal()) {
  98175. t2 = other._color0$_space;
  98176. if (!t2.get$isLegacyInternal())
  98177. return false;
  98178. if (!A.fuzzyEqualsNullable0(_this.alphaOrNull, other.alphaOrNull))
  98179. return false;
  98180. if (t1 === t2)
  98181. return A.fuzzyEqualsNullable0(_this.channel0OrNull, other.channel0OrNull) && A.fuzzyEqualsNullable0(_this.channel1OrNull, other.channel1OrNull) && A.fuzzyEqualsNullable0(_this.channel2OrNull, other.channel2OrNull);
  98182. else
  98183. return _this.toSpace$1(B.RgbColorSpace_i0P0).$eq(0, other.toSpace$1(B.RgbColorSpace_i0P0));
  98184. }
  98185. 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);
  98186. },
  98187. get$hashCode(_) {
  98188. var rgb, t2, t3, t4, t5, _this = this,
  98189. t1 = _this._color0$_space;
  98190. if (t1.get$isLegacyInternal()) {
  98191. rgb = _this.toSpace$1(B.RgbColorSpace_i0P0);
  98192. t1 = rgb.channel0OrNull;
  98193. t1 = A.fuzzyHashCode0(t1 == null ? 0 : t1);
  98194. t2 = rgb.channel1OrNull;
  98195. t2 = A.fuzzyHashCode0(t2 == null ? 0 : t2);
  98196. t3 = rgb.channel2OrNull;
  98197. t3 = A.fuzzyHashCode0(t3 == null ? 0 : t3);
  98198. t4 = _this.alphaOrNull;
  98199. return t1 ^ t2 ^ t3 ^ A.fuzzyHashCode0(t4 == null ? 0 : t4);
  98200. } else {
  98201. t1 = A.Primitives_objectHashCode(t1);
  98202. t2 = _this.channel0OrNull;
  98203. t2 = A.fuzzyHashCode0(t2 == null ? 0 : t2);
  98204. t3 = _this.channel1OrNull;
  98205. t3 = A.fuzzyHashCode0(t3 == null ? 0 : t3);
  98206. t4 = _this.channel2OrNull;
  98207. t4 = A.fuzzyHashCode0(t4 == null ? 0 : t4);
  98208. t5 = _this.alphaOrNull;
  98209. return (t1 ^ t2 ^ t3 ^ t4 ^ A.fuzzyHashCode0(t5 == null ? 0 : t5)) >>> 0;
  98210. }
  98211. }
  98212. };
  98213. A.SassColor$_forSpace_closure0.prototype = {
  98214. call$1(alpha) {
  98215. return A.fuzzyAssertRange0(alpha, 0, 1, "alpha");
  98216. },
  98217. $signature: 16
  98218. };
  98219. A._ColorFormatEnum0.prototype = {
  98220. toString$0(_) {
  98221. return "rgbFunction";
  98222. }
  98223. };
  98224. A.SpanColorFormat0.prototype = {};
  98225. A.Combinator0.prototype = {
  98226. _enumToString$0() {
  98227. return "Combinator." + this._name;
  98228. },
  98229. toString$0(_) {
  98230. return this._combinator0$_text;
  98231. }
  98232. };
  98233. A.ModifiableCssComment0.prototype = {
  98234. accept$1$1(visitor) {
  98235. return visitor.visitCssComment$1(this);
  98236. },
  98237. accept$1(visitor) {
  98238. return this.accept$1$1(visitor, type$.dynamic);
  98239. },
  98240. $isCssComment0: 1,
  98241. get$span(receiver) {
  98242. return this.span;
  98243. }
  98244. };
  98245. A.compileAsync_closure.prototype = {
  98246. call$0() {
  98247. var $async$goto = 0,
  98248. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  98249. $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, t11, t12, t13, result, t1, t2, t3, t4;
  98250. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98251. if ($async$errorCode === 1)
  98252. return A._asyncRethrow($async$result, $async$completer);
  98253. while (true)
  98254. switch ($async$goto) {
  98255. case 0:
  98256. // Function start
  98257. t1 = $async$self.options;
  98258. t2 = t1 == null;
  98259. t3 = t2 ? null : J.get$loadPaths$x(t1);
  98260. t4 = t2 ? null : J.get$quietDeps$x(t1);
  98261. if (t4 == null)
  98262. t4 = false;
  98263. t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  98264. t6 = t2 ? null : J.get$verbose$x(t1);
  98265. if (t6 == null)
  98266. t6 = false;
  98267. t7 = t2 ? null : J.get$charset$x(t1);
  98268. if (t7 == null)
  98269. t7 = true;
  98270. t8 = t2 ? null : J.get$sourceMap$x(t1);
  98271. if (t8 == null)
  98272. t8 = false;
  98273. t9 = $async$self.logger;
  98274. if (t2)
  98275. t10 = null;
  98276. else {
  98277. t10 = J.get$importers$x(t1);
  98278. t10 = t10 == null ? null : J.map$1$1$ax(t10, new A.compileAsync__closure(), type$.AsyncImporter);
  98279. }
  98280. t11 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  98281. t12 = A.parseDeprecations(t9, t2 ? null : J.get$fatalDeprecations$x(t1), true);
  98282. t13 = A.parseDeprecations(t9, t2 ? null : J.get$silenceDeprecations$x(t1), false);
  98283. $async$goto = 3;
  98284. 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);
  98285. case 3:
  98286. // returning from await.
  98287. result = $async$result;
  98288. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  98289. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  98290. // goto return
  98291. $async$goto = 1;
  98292. break;
  98293. case 1:
  98294. // return
  98295. return A._asyncReturn($async$returnValue, $async$completer);
  98296. }
  98297. });
  98298. return A._asyncStartSync($async$call$0, $async$completer);
  98299. },
  98300. $signature: 203
  98301. };
  98302. A.compileAsync__closure.prototype = {
  98303. call$1(importer) {
  98304. return A._parseAsyncImporter(importer);
  98305. },
  98306. $signature: 202
  98307. };
  98308. A.compileStringAsync_closure.prototype = {
  98309. call$0() {
  98310. var $async$goto = 0,
  98311. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  98312. $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, result, t1, t2, t3, t4, t5, t6;
  98313. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98314. if ($async$errorCode === 1)
  98315. return A._asyncRethrow($async$result, $async$completer);
  98316. while (true)
  98317. switch ($async$goto) {
  98318. case 0:
  98319. // Function start
  98320. t1 = $async$self.options;
  98321. t2 = t1 == null;
  98322. t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
  98323. t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils3__jsToDartUrl$closure());
  98324. t5 = t2 ? null : J.get$loadPaths$x(t1);
  98325. t6 = t2 ? null : J.get$quietDeps$x(t1);
  98326. if (t6 == null)
  98327. t6 = false;
  98328. t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  98329. t8 = t2 ? null : J.get$verbose$x(t1);
  98330. if (t8 == null)
  98331. t8 = false;
  98332. t9 = t2 ? null : J.get$charset$x(t1);
  98333. if (t9 == null)
  98334. t9 = true;
  98335. t10 = t2 ? null : J.get$sourceMap$x(t1);
  98336. if (t10 == null)
  98337. t10 = false;
  98338. t11 = $async$self.logger;
  98339. if (t2)
  98340. t12 = null;
  98341. else {
  98342. t12 = J.get$importers$x(t1);
  98343. t12 = t12 == null ? null : J.map$1$1$ax(t12, new A.compileStringAsync__closure(), type$.AsyncImporter);
  98344. }
  98345. t13 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
  98346. if (t13 == null)
  98347. t13 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter0() : null;
  98348. t14 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  98349. t15 = A.parseDeprecations(t11, t2 ? null : J.get$fatalDeprecations$x(t1), true);
  98350. t16 = A.parseDeprecations(t11, t2 ? null : J.get$silenceDeprecations$x(t1), false);
  98351. $async$goto = 3;
  98352. 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);
  98353. case 3:
  98354. // returning from await.
  98355. result = $async$result;
  98356. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  98357. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  98358. // goto return
  98359. $async$goto = 1;
  98360. break;
  98361. case 1:
  98362. // return
  98363. return A._asyncReturn($async$returnValue, $async$completer);
  98364. }
  98365. });
  98366. return A._asyncStartSync($async$call$0, $async$completer);
  98367. },
  98368. $signature: 203
  98369. };
  98370. A.compileStringAsync__closure.prototype = {
  98371. call$1(importer) {
  98372. return A._parseAsyncImporter(importer);
  98373. },
  98374. $signature: 202
  98375. };
  98376. A.compileStringAsync__closure0.prototype = {
  98377. call$1(importer) {
  98378. return A._parseAsyncImporter(importer);
  98379. },
  98380. $signature: 419
  98381. };
  98382. A._wrapAsyncSassExceptions_closure.prototype = {
  98383. call$1(error) {
  98384. var t1;
  98385. if (error instanceof A.SassException0)
  98386. t1 = A.throwNodeException(error, this.ascii, this.color, null);
  98387. else
  98388. t1 = A.jsThrow(error == null ? type$.Object._as(error) : error);
  98389. return t1;
  98390. },
  98391. $signature: 420
  98392. };
  98393. A._parseFunctions_closure0.prototype = {
  98394. call$2(signature, callback) {
  98395. var callable,
  98396. t1 = this.result;
  98397. if (!this.asynch) {
  98398. callable = A._Cell$();
  98399. callable.__late_helper$_value = A.Callable_Callable$fromSignature(signature, new A._parseFunctions__closure2(callback, callable), true);
  98400. t1.push(callable._readLocal$0());
  98401. } else {
  98402. callable = A._Cell$();
  98403. callable.__late_helper$_value = A.AsyncCallable_AsyncCallable$fromSignature(signature, new A._parseFunctions__closure3(callback, callable), true);
  98404. t1.push(callable._readLocal$0());
  98405. }
  98406. },
  98407. $signature: 127
  98408. };
  98409. A._parseFunctions__closure2.prototype = {
  98410. call$1($arguments) {
  98411. var t1, t2,
  98412. _s42_ = string$.Invali,
  98413. result = A.wrapJSExceptions(new A._parseFunctions___closure6(this.callback, $arguments));
  98414. if (result instanceof A.Value0)
  98415. return A._simplifyValue(result);
  98416. t1 = result != null && result instanceof self.Promise;
  98417. t2 = this.callable;
  98418. if (t1) {
  98419. t1 = t2.readLocal$0();
  98420. throw A.wrapException(_s42_ + t1.get$name(t1) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
  98421. } else {
  98422. t1 = t2.readLocal$0();
  98423. throw A.wrapException(_s42_ + t1.get$name(t1) + '": ' + A.S(result) + " is not a sass.Value.");
  98424. }
  98425. },
  98426. $signature: 3
  98427. };
  98428. A._parseFunctions___closure6.prototype = {
  98429. call$0() {
  98430. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  98431. },
  98432. $signature: 63
  98433. };
  98434. A._parseFunctions__closure3.prototype = {
  98435. call$1($arguments) {
  98436. return this.$call$body$_parseFunctions__closure0($arguments);
  98437. },
  98438. $call$body$_parseFunctions__closure0($arguments) {
  98439. var $async$goto = 0,
  98440. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  98441. $async$returnValue, $async$self = this, t1, result;
  98442. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98443. if ($async$errorCode === 1)
  98444. return A._asyncRethrow($async$result, $async$completer);
  98445. while (true)
  98446. switch ($async$goto) {
  98447. case 0:
  98448. // Function start
  98449. result = A.wrapJSExceptions(new A._parseFunctions___closure5($async$self.callback, $arguments));
  98450. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  98451. break;
  98452. case 3:
  98453. // then
  98454. $async$goto = 5;
  98455. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.Object), $async$call$1);
  98456. case 5:
  98457. // returning from await.
  98458. result = $async$result;
  98459. case 4:
  98460. // join
  98461. if (result instanceof A.Value0) {
  98462. $async$returnValue = A._simplifyValue(result);
  98463. // goto return
  98464. $async$goto = 1;
  98465. break;
  98466. }
  98467. t1 = $async$self.callable.readLocal$0();
  98468. throw A.wrapException(string$.Invali + t1.get$name(t1) + '": ' + A.S(result) + " is not a sass.Value.");
  98469. case 1:
  98470. // return
  98471. return A._asyncReturn($async$returnValue, $async$completer);
  98472. }
  98473. });
  98474. return A._asyncStartSync($async$call$1, $async$completer);
  98475. },
  98476. $signature: 86
  98477. };
  98478. A._parseFunctions___closure5.prototype = {
  98479. call$0() {
  98480. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  98481. },
  98482. $signature: 63
  98483. };
  98484. A.nodePackageImporterClass_closure.prototype = {
  98485. call$0() {
  98486. return type$.JSClass._as(A.allowInteropCaptureThisNamed("sass.NodePackageImporter", new A.nodePackageImporterClass__closure()));
  98487. },
  98488. $signature: 15
  98489. };
  98490. A.nodePackageImporterClass__closure.prototype = {
  98491. call$2($self, entrypointDirectory) {
  98492. var directory, t1, filename, t2, _null = null,
  98493. _0_3 = A.entrypointFilename();
  98494. $label0$0: {
  98495. if (entrypointDirectory != null) {
  98496. directory = entrypointDirectory == null ? A._asString(entrypointDirectory) : entrypointDirectory;
  98497. t1 = directory;
  98498. break $label0$0;
  98499. }
  98500. if (_0_3 != null) {
  98501. filename = _0_3 == null ? A._asString(_0_3) : _0_3;
  98502. t1 = $.$get$context().dirname$1(filename);
  98503. break $label0$0;
  98504. }
  98505. 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`.");
  98506. }
  98507. t2 = new A.NodePackageImporter0();
  98508. if (A.isBrowser())
  98509. A.throwExpression(string$.The_No);
  98510. t2._node_package$__NodePackageImporter__entryPointDirectory_F = A.absolute(t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  98511. return t2;
  98512. },
  98513. call$1($self) {
  98514. return this.call$2($self, null);
  98515. },
  98516. "call*": "call$2",
  98517. $requiredArgCount: 1,
  98518. $defaultValues() {
  98519. return [null];
  98520. },
  98521. $signature: 422
  98522. };
  98523. A._compileStylesheet_closure1.prototype = {
  98524. call$1(url) {
  98525. 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);
  98526. },
  98527. $signature: 6
  98528. };
  98529. A.CompileOptions.prototype = {};
  98530. A.CompileStringOptions.prototype = {};
  98531. A.NodeCompileResult.prototype = {};
  98532. A.CompileResult0.prototype = {};
  98533. A.Compiler.prototype = {};
  98534. A.AsyncCompiler.prototype = {
  98535. addCompilation$1(compilation) {
  98536. this.compilations.add$1(0, A.promiseToFuture(compilation, type$.dynamic).catchError$1(new A.AsyncCompiler_addCompilation_closure()));
  98537. }
  98538. };
  98539. A.AsyncCompiler_addCompilation_closure.prototype = {
  98540. call$1(err) {
  98541. },
  98542. $signature: 55
  98543. };
  98544. A.compilerClass_closure.prototype = {
  98545. call$0() {
  98546. var t1 = type$.JSClass,
  98547. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Compiler", new A.compilerClass__closure()));
  98548. 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));
  98549. A.JSClassExtension_injectSuperclass(t1._as(new A.Compiler().constructor), jsClass);
  98550. return jsClass;
  98551. },
  98552. $signature: 15
  98553. };
  98554. A.compilerClass__closure.prototype = {
  98555. call$1($self) {
  98556. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("Compiler can not be directly constructed. Please use `sass.initCompiler()` instead."))], type$.Never);
  98557. },
  98558. $signature: 200
  98559. };
  98560. A.compilerClass__closure0.prototype = {
  98561. call$3($self, path, options) {
  98562. if ($self._disposed)
  98563. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98564. return A.compile0(path, options);
  98565. },
  98566. call$2($self, path) {
  98567. return this.call$3($self, path, null);
  98568. },
  98569. "call*": "call$3",
  98570. $requiredArgCount: 2,
  98571. $defaultValues() {
  98572. return [null];
  98573. },
  98574. $signature: 424
  98575. };
  98576. A.compilerClass__closure1.prototype = {
  98577. call$3($self, source, options) {
  98578. if ($self._disposed)
  98579. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98580. return A.compileString0(source, options);
  98581. },
  98582. call$2($self, source) {
  98583. return this.call$3($self, source, null);
  98584. },
  98585. "call*": "call$3",
  98586. $requiredArgCount: 2,
  98587. $defaultValues() {
  98588. return [null];
  98589. },
  98590. $signature: 425
  98591. };
  98592. A.compilerClass__closure2.prototype = {
  98593. call$1($self) {
  98594. $self._disposed = true;
  98595. },
  98596. $signature: 426
  98597. };
  98598. A.asyncCompilerClass_closure.prototype = {
  98599. call$0() {
  98600. var t1 = type$.JSClass,
  98601. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.AsyncCompiler", new A.asyncCompilerClass__closure()));
  98602. 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));
  98603. 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);
  98604. return jsClass;
  98605. },
  98606. $signature: 15
  98607. };
  98608. A.asyncCompilerClass__closure.prototype = {
  98609. call$1($self) {
  98610. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("AsyncCompiler can not be directly constructed. Please use `sass.initAsyncCompiler()` instead."))], type$.Never);
  98611. },
  98612. $signature: 200
  98613. };
  98614. A.asyncCompilerClass__closure0.prototype = {
  98615. call$3($self, path, options) {
  98616. var compilation;
  98617. if ($self._disposed)
  98618. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98619. compilation = A.compileAsync1(path, options);
  98620. $self.addCompilation$1(compilation);
  98621. return compilation;
  98622. },
  98623. call$2($self, path) {
  98624. return this.call$3($self, path, null);
  98625. },
  98626. "call*": "call$3",
  98627. $requiredArgCount: 2,
  98628. $defaultValues() {
  98629. return [null];
  98630. },
  98631. $signature: 427
  98632. };
  98633. A.asyncCompilerClass__closure1.prototype = {
  98634. call$3($self, source, options) {
  98635. var compilation;
  98636. if ($self._disposed)
  98637. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98638. compilation = A.compileStringAsync1(source, options);
  98639. $self.addCompilation$1(compilation);
  98640. return compilation;
  98641. },
  98642. call$2($self, source) {
  98643. return this.call$3($self, source, null);
  98644. },
  98645. "call*": "call$3",
  98646. $requiredArgCount: 2,
  98647. $defaultValues() {
  98648. return [null];
  98649. },
  98650. $signature: 428
  98651. };
  98652. A.asyncCompilerClass__closure2.prototype = {
  98653. call$1($self) {
  98654. $self._disposed = true;
  98655. return A.futureToPromise0(new A.asyncCompilerClass___closure($self).call$0());
  98656. },
  98657. $signature: 429
  98658. };
  98659. A.asyncCompilerClass___closure.prototype = {
  98660. call$0() {
  98661. var $async$goto = 0,
  98662. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  98663. $async$self = this, t1;
  98664. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98665. if ($async$errorCode === 1)
  98666. return A._asyncRethrow($async$result, $async$completer);
  98667. while (true)
  98668. switch ($async$goto) {
  98669. case 0:
  98670. // Function start
  98671. t1 = $async$self.self.compilations;
  98672. t1.close$0(0);
  98673. $async$goto = 2;
  98674. return A._asyncAwait(t1._future_group$_completer.future, $async$call$0);
  98675. case 2:
  98676. // returning from await.
  98677. // implicit return
  98678. return A._asyncReturn(null, $async$completer);
  98679. }
  98680. });
  98681. return A._asyncStartSync($async$call$0, $async$completer);
  98682. },
  98683. $signature: 2
  98684. };
  98685. A.initAsyncCompiler_closure.prototype = {
  98686. call$0() {
  98687. var $async$goto = 0,
  98688. $async$completer = A._makeAsyncAwaitCompleter(type$.AsyncCompiler),
  98689. $async$returnValue;
  98690. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98691. if ($async$errorCode === 1)
  98692. return A._asyncRethrow($async$result, $async$completer);
  98693. while (true)
  98694. switch ($async$goto) {
  98695. case 0:
  98696. // Function start
  98697. $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));
  98698. // goto return
  98699. $async$goto = 1;
  98700. break;
  98701. case 1:
  98702. // return
  98703. return A._asyncReturn($async$returnValue, $async$completer);
  98704. }
  98705. });
  98706. return A._asyncStartSync($async$call$0, $async$completer);
  98707. },
  98708. $signature: 430
  98709. };
  98710. A.ComplexSassNumber0.prototype = {
  98711. get$numeratorUnits(_) {
  98712. return this._complex0$_numeratorUnits;
  98713. },
  98714. get$denominatorUnits(_) {
  98715. return this._complex0$_denominatorUnits;
  98716. },
  98717. get$hasUnits() {
  98718. return true;
  98719. },
  98720. get$hasComplexUnits() {
  98721. return true;
  98722. },
  98723. hasUnit$1(unit) {
  98724. return false;
  98725. },
  98726. compatibleWithUnit$1(unit) {
  98727. return false;
  98728. },
  98729. hasPossiblyCompatibleUnits$1(other) {
  98730. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  98731. },
  98732. withValue$1(value) {
  98733. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, value, null);
  98734. },
  98735. withSlash$2(numerator, denominator) {
  98736. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, this._number1$_value, new A._Record_2(numerator, denominator));
  98737. }
  98738. };
  98739. A.ComplexSelector0.prototype = {
  98740. get$specificity() {
  98741. var result, _this = this,
  98742. value = _this._complex$__ComplexSelector_specificity_FI;
  98743. if (value === $) {
  98744. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure0());
  98745. _this._complex$__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  98746. _this._complex$__ComplexSelector_specificity_FI = result;
  98747. value = result;
  98748. }
  98749. return value;
  98750. },
  98751. get$singleCompound() {
  98752. var _0_0, t1, _0_4, selector;
  98753. if (this.leadingCombinators.length !== 0)
  98754. return null;
  98755. _0_0 = this.components;
  98756. $label0$0: {
  98757. t1 = false;
  98758. if (_0_0.length === 1) {
  98759. _0_4 = _0_0[0];
  98760. selector = _0_4.selector;
  98761. t1 = _0_4.combinators.length <= 0;
  98762. } else
  98763. selector = null;
  98764. if (t1) {
  98765. t1 = selector;
  98766. break $label0$0;
  98767. }
  98768. t1 = null;
  98769. break $label0$0;
  98770. }
  98771. return t1;
  98772. },
  98773. accept$1$1(visitor) {
  98774. return visitor.visitComplexSelector$1(this);
  98775. },
  98776. accept$1(visitor) {
  98777. return this.accept$1$1(visitor, type$.dynamic);
  98778. },
  98779. isSuperselector$1(other) {
  98780. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector0(this.components, other.components);
  98781. },
  98782. withAdditionalCombinators$1(combinators) {
  98783. var _0_0, _0_1, t1, initial, last, _this = this;
  98784. if (combinators.length === 0)
  98785. return _this;
  98786. _0_0 = _this.components;
  98787. $label0$0: {
  98788. _0_1 = _0_0.length;
  98789. if (_0_1 >= 1) {
  98790. t1 = _0_1 - 1;
  98791. initial = B.JSArray_methods.sublist$2(_0_0, 0, t1);
  98792. last = _0_0[t1];
  98793. t1 = A.List_List$of(initial, true, type$.ComplexSelectorComponent_2);
  98794. t1.push(last.withAdditionalCombinators$1(combinators));
  98795. t1 = A.ComplexSelector$0(_this.leadingCombinators, t1, _this.span, _this.lineBreak);
  98796. break $label0$0;
  98797. }
  98798. if (_0_1 <= 0) {
  98799. t1 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator_2);
  98800. B.JSArray_methods.addAll$1(t1, combinators);
  98801. t1 = A.ComplexSelector$0(t1, B.List_empty16, _this.span, _this.lineBreak);
  98802. break $label0$0;
  98803. }
  98804. t1 = null;
  98805. }
  98806. return t1;
  98807. },
  98808. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  98809. var t2, _0_1, initial, last, _this = this,
  98810. t1 = child.leadingCombinators,
  98811. _0_0 = _this.components;
  98812. if (t1.length === 0) {
  98813. t1 = A.List_List$of(_0_0, true, type$.ComplexSelectorComponent_2);
  98814. B.JSArray_methods.addAll$1(t1, child.components);
  98815. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  98816. return A.ComplexSelector$0(_this.leadingCombinators, t1, span, t2);
  98817. } else {
  98818. _0_1 = _0_0.length;
  98819. if (_0_1 >= 1) {
  98820. t2 = _0_1 - 1;
  98821. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  98822. last = _0_0[t2];
  98823. t2 = A.List_List$of(initial, true, type$.ComplexSelectorComponent_2);
  98824. t2.push(last.withAdditionalCombinators$1(t1));
  98825. B.JSArray_methods.addAll$1(t2, child.components);
  98826. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  98827. return A.ComplexSelector$0(_this.leadingCombinators, t2, span, t1);
  98828. } else {
  98829. t2 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator_2);
  98830. B.JSArray_methods.addAll$1(t2, t1);
  98831. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  98832. return A.ComplexSelector$0(t2, child.components, span, t1);
  98833. }
  98834. }
  98835. },
  98836. concatenate$2(child, span) {
  98837. return this.concatenate$3$forceLineBreak(child, span, false);
  98838. },
  98839. get$hashCode(_) {
  98840. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  98841. },
  98842. $eq(_, other) {
  98843. if (other == null)
  98844. return false;
  98845. 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);
  98846. }
  98847. };
  98848. A.ComplexSelector_specificity_closure0.prototype = {
  98849. call$2(sum, component) {
  98850. return sum + component.selector.get$specificity();
  98851. },
  98852. $signature: 431
  98853. };
  98854. A.ComplexSelectorComponent0.prototype = {
  98855. withAdditionalCombinators$1(combinators) {
  98856. var t1, t2, _this = this;
  98857. if (combinators.length === 0)
  98858. t1 = _this;
  98859. else {
  98860. t1 = type$.CssValue_Combinator_2;
  98861. t2 = A.List_List$of(_this.combinators, true, t1);
  98862. B.JSArray_methods.addAll$1(t2, combinators);
  98863. t1 = new A.ComplexSelectorComponent0(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  98864. }
  98865. return t1;
  98866. },
  98867. get$hashCode(_) {
  98868. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  98869. },
  98870. $eq(_, other) {
  98871. var t1;
  98872. if (other == null)
  98873. return false;
  98874. if (other instanceof A.ComplexSelectorComponent0) {
  98875. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  98876. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  98877. } else
  98878. t1 = false;
  98879. return t1;
  98880. },
  98881. toString$0(_) {
  98882. var t1 = this.combinators;
  98883. 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, "");
  98884. }
  98885. };
  98886. A.ComplexSelectorComponent_toString_closure0.prototype = {
  98887. call$1(combinator) {
  98888. return " " + combinator.toString$0(0);
  98889. },
  98890. $signature: 432
  98891. };
  98892. A.CompoundSelector0.prototype = {
  98893. get$specificity() {
  98894. var result, _this = this,
  98895. value = _this._compound$__CompoundSelector_specificity_FI;
  98896. if (value === $) {
  98897. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure0());
  98898. _this._compound$__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  98899. _this._compound$__CompoundSelector_specificity_FI = result;
  98900. value = result;
  98901. }
  98902. return value;
  98903. },
  98904. get$hasComplicatedSuperselectorSemantics() {
  98905. var result, _this = this,
  98906. value = _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI;
  98907. if (value === $) {
  98908. result = B.JSArray_methods.any$1(_this.components, new A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0());
  98909. _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI !== $ && A.throwUnnamedLateFieldADI();
  98910. _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = result;
  98911. value = result;
  98912. }
  98913. return value;
  98914. },
  98915. accept$1$1(visitor) {
  98916. return visitor.visitCompoundSelector$1(this);
  98917. },
  98918. accept$1(visitor) {
  98919. return this.accept$1$1(visitor, type$.dynamic);
  98920. },
  98921. get$hashCode(_) {
  98922. return B.C_ListEquality0.hash$1(this.components);
  98923. },
  98924. $eq(_, other) {
  98925. if (other == null)
  98926. return false;
  98927. return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  98928. }
  98929. };
  98930. A.CompoundSelector_specificity_closure0.prototype = {
  98931. call$2(sum, component) {
  98932. return sum + component.get$specificity();
  98933. },
  98934. $signature: 433
  98935. };
  98936. A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0.prototype = {
  98937. call$1(component) {
  98938. return component.get$hasComplicatedSuperselectorSemantics();
  98939. },
  98940. $signature: 14
  98941. };
  98942. A.Configuration0.prototype = {
  98943. throughForward$1($forward) {
  98944. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  98945. newValues = this._configuration0$_values;
  98946. if (newValues.get$isEmpty(newValues))
  98947. return B.Configuration_Map_empty_null0;
  98948. _0_0 = $forward.prefix;
  98949. if (_0_0 != null)
  98950. newValues = new A.UnprefixedMapView0(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue_2);
  98951. _1_0 = $forward.shownVariables;
  98952. if (_1_0 != null)
  98953. newValues = new A.LimitedMapView0(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
  98954. else {
  98955. _2_0 = $forward.hiddenVariables;
  98956. if (_2_0 != null) {
  98957. t1 = _2_0._base.get$isNotEmpty(0);
  98958. hiddenVariables = _2_0;
  98959. } else {
  98960. hiddenVariables = null;
  98961. t1 = false;
  98962. }
  98963. if (t1)
  98964. newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
  98965. }
  98966. return this._configuration0$_withValues$1(newValues);
  98967. },
  98968. _configuration0$_withValues$1(values) {
  98969. var t1 = this._configuration0$__originalConfiguration;
  98970. return new A.Configuration0(values, t1 == null ? this : t1);
  98971. },
  98972. toString$0(_) {
  98973. var t2, t3,
  98974. t1 = A._setArrayType([], type$.JSArray_String);
  98975. 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();) {
  98976. t3 = t2.get$current(t2);
  98977. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  98978. }
  98979. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  98980. }
  98981. };
  98982. A.ExplicitConfiguration0.prototype = {
  98983. _configuration0$_withValues$1(values) {
  98984. var t1 = this._configuration0$__originalConfiguration;
  98985. if (t1 == null)
  98986. t1 = this;
  98987. return new A.ExplicitConfiguration0(this.nodeWithSpan, values, t1);
  98988. }
  98989. };
  98990. A.ConfiguredValue0.prototype = {
  98991. toString$0(_) {
  98992. return this.value.toString$0(0);
  98993. }
  98994. };
  98995. A.ConfiguredVariable0.prototype = {
  98996. toString$0(_) {
  98997. var t1 = this.expression.toString$0(0),
  98998. t2 = this.isGuarded ? " !default" : "";
  98999. return "$" + this.name + ": " + t1 + t2;
  99000. },
  99001. $isAstNode0: 1,
  99002. $isSassNode: 1,
  99003. get$span(receiver) {
  99004. return this.span;
  99005. }
  99006. };
  99007. A.ContentBlock0.prototype = {
  99008. accept$1$1(visitor) {
  99009. return visitor.visitContentBlock$1(0, this);
  99010. },
  99011. accept$1(visitor) {
  99012. return this.accept$1$1(visitor, type$.dynamic);
  99013. },
  99014. toString$0(_) {
  99015. var t2,
  99016. t1 = this.parameters;
  99017. t1 = t1.parameters.length === 0 && t1.restParameter == null ? "" : " using (" + t1.toString$0(0) + ")";
  99018. t2 = this.children;
  99019. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  99020. }
  99021. };
  99022. A.ContentRule0.prototype = {
  99023. accept$1$1(visitor) {
  99024. return visitor.visitContentRule$1(0, this);
  99025. },
  99026. accept$1(visitor) {
  99027. return this.accept$1$1(visitor, type$.dynamic);
  99028. },
  99029. toString$0(_) {
  99030. var t1 = this.$arguments;
  99031. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  99032. },
  99033. get$span(receiver) {
  99034. return this.span;
  99035. }
  99036. };
  99037. A._disallowedFunctionNames_closure0.prototype = {
  99038. call$1($function) {
  99039. return $function.name;
  99040. },
  99041. $signature: 434
  99042. };
  99043. A.CssParser0.prototype = {
  99044. get$plainCss() {
  99045. return true;
  99046. },
  99047. silentComment$0() {
  99048. var t1, t2, _this = this;
  99049. if (_this._stylesheet0$_inExpression)
  99050. return false;
  99051. t1 = _this.scanner;
  99052. t2 = t1._string_scanner$_position;
  99053. _this.super$Parser$silentComment0();
  99054. _this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99055. },
  99056. atRule$2$root(child, root) {
  99057. var $name, _0_0, _this = this,
  99058. t1 = _this.scanner,
  99059. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99060. t1.expectChar$1(64);
  99061. $name = _this.interpolatedIdentifier$0();
  99062. _this.whitespace$1$consumeNewlines(true);
  99063. _0_0 = $name.get$asPlain();
  99064. $label0$0: {
  99065. 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)
  99066. _this._css$_forbiddenAtRule$1(start);
  99067. if ("import" === _0_0) {
  99068. t1 = _this._css$_cssImportRule$1(start);
  99069. break $label0$0;
  99070. }
  99071. if ("media" === _0_0) {
  99072. t1 = _this.mediaRule$1(start);
  99073. break $label0$0;
  99074. }
  99075. if ("-moz-document" === _0_0) {
  99076. t1 = _this.mozDocumentRule$2(start, $name);
  99077. break $label0$0;
  99078. }
  99079. if ("supports" === _0_0) {
  99080. t1 = _this.supportsRule$1(start);
  99081. break $label0$0;
  99082. }
  99083. t1 = _this.unknownAtRule$2(start, $name);
  99084. break $label0$0;
  99085. }
  99086. return t1;
  99087. },
  99088. _css$_forbiddenAtRule$1(start) {
  99089. this.almostAnyValue$0();
  99090. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  99091. },
  99092. _css$_cssImportRule$1(start) {
  99093. var _0_0, t3, string, $name, _0_3, _0_4, t4, _0_8, t5, modifiers, _this = this, _null = null,
  99094. t1 = _this.scanner,
  99095. t2 = t1._string_scanner$_position,
  99096. _1_0 = t1.peekChar$0();
  99097. $label1$1: {
  99098. if (117 === _1_0 || 85 === _1_0) {
  99099. _0_0 = _this.dynamicUrl$0();
  99100. $label0$0: {
  99101. if (_0_0 instanceof A.StringExpression0) {
  99102. t3 = _0_0.text;
  99103. break $label0$0;
  99104. }
  99105. string = _null;
  99106. t3 = false;
  99107. if (_0_0 instanceof A.InterpolatedFunctionExpression0) {
  99108. $name = _0_0.name;
  99109. _0_3 = _0_0.$arguments;
  99110. _0_4 = _0_3.positional;
  99111. t4 = _0_4;
  99112. if (t4.length === 1) {
  99113. _0_8 = _0_4[0];
  99114. t4 = _0_8;
  99115. if (t4 instanceof A.StringExpression0) {
  99116. type$.StringExpression_2._as(_0_8);
  99117. t4 = _0_3.named;
  99118. if (t4.get$isEmpty(t4))
  99119. if (_0_3.rest == null)
  99120. t3 = _0_3.keywordRest == null;
  99121. string = _0_8;
  99122. }
  99123. }
  99124. } else
  99125. $name = _null;
  99126. if (t3) {
  99127. t3 = new A.StringBuffer("");
  99128. t4 = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  99129. t4.addInterpolation$1($name);
  99130. t5 = A.Primitives_stringFromCharCode(40);
  99131. t3._contents += t5;
  99132. t4.addInterpolation$1(string.asInterpolation$0());
  99133. t5 = A.Primitives_stringFromCharCode(41);
  99134. t3._contents += t5;
  99135. t4 = t4.interpolation$1(_0_0.span);
  99136. t3 = t4;
  99137. break $label0$0;
  99138. }
  99139. t3 = _this.error$2(0, "Unsupported plain CSS import.", _0_0.get$span(_0_0));
  99140. }
  99141. break $label1$1;
  99142. }
  99143. t3 = _this.interpolatedString$0().asInterpolation$1$static(true);
  99144. break $label1$1;
  99145. }
  99146. _this.whitespace$1$consumeNewlines(true);
  99147. modifiers = _this.tryImportModifiers$0();
  99148. _this.expectStatementSeparator$1("@import rule");
  99149. t2 = A._setArrayType([new A.StaticImport0(t3, modifiers, t1.spanFrom$1(new A._SpanScannerState(t1, t2)))], type$.JSArray_Import_2);
  99150. t1 = t1.spanFrom$1(start);
  99151. return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
  99152. },
  99153. parentheses$0() {
  99154. var expression,
  99155. t1 = this.scanner,
  99156. t2 = t1._string_scanner$_position;
  99157. t1.expectChar$1(40);
  99158. this.whitespace$1$consumeNewlines(true);
  99159. expression = this.expressionUntilComma$0();
  99160. t1.expectChar$1(41);
  99161. return new A.ParenthesizedExpression0(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99162. },
  99163. identifierLike$0() {
  99164. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  99165. t1 = _this.scanner,
  99166. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  99167. identifier = _this.interpolatedIdentifier$0(),
  99168. plain = identifier.get$asPlain(),
  99169. lower = plain.toLowerCase(),
  99170. _0_0 = _this.trySpecialFunction$2(lower, start);
  99171. if (_0_0 != null)
  99172. return _0_0;
  99173. t2 = t1._string_scanner$_position;
  99174. if (t1.scanChar$1(46))
  99175. return _this.namespacedExpression$2(plain, start);
  99176. if (!t1.scanChar$1(40))
  99177. return new A.StringExpression0(identifier, false);
  99178. allowEmptySecondArg = lower === "var";
  99179. $arguments = A._setArrayType([], type$.JSArray_Expression_2);
  99180. if (!t1.scanChar$1(41)) {
  99181. do {
  99182. _this.whitespace$1$consumeNewlines(true);
  99183. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  99184. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  99185. t4 = t3.offset;
  99186. t4 = A._FileSpan$(t3.file, t4, t4);
  99187. $arguments.push(new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([""], type$.Object), B.List_null, t4), false));
  99188. break;
  99189. }
  99190. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  99191. _this.whitespace$1$consumeNewlines(true);
  99192. } while (t1.scanChar$1(44));
  99193. t1.expectChar$1(41);
  99194. }
  99195. if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
  99196. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  99197. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  99198. t3 = type$.Expression_2;
  99199. t4 = A.List_List$unmodifiable($arguments, t3);
  99200. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  99201. t1 = t1.spanFrom$1(start);
  99202. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, new A.ArgumentList0(t4, t3, null, null, t2), t1);
  99203. },
  99204. namespacedExpression$2(namespace, start) {
  99205. var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
  99206. this.error$2(0, string$.Modulen, expression.get$span(expression));
  99207. }
  99208. };
  99209. A.DebugRule0.prototype = {
  99210. accept$1$1(visitor) {
  99211. return visitor.visitDebugRule$1(0, this);
  99212. },
  99213. accept$1(visitor) {
  99214. return this.accept$1$1(visitor, type$.dynamic);
  99215. },
  99216. toString$0(_) {
  99217. return "@debug " + this.expression.toString$0(0) + ";";
  99218. },
  99219. get$span(receiver) {
  99220. return this.span;
  99221. }
  99222. };
  99223. A.ModifiableCssDeclaration0.prototype = {
  99224. accept$1$1(visitor) {
  99225. return visitor.visitCssDeclaration$1(this);
  99226. },
  99227. accept$1(visitor) {
  99228. return this.accept$1$1(visitor, type$.dynamic);
  99229. },
  99230. toString$0(_) {
  99231. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  99232. },
  99233. get$span(receiver) {
  99234. return this.span;
  99235. }
  99236. };
  99237. A.Declaration0.prototype = {
  99238. accept$1$1(visitor) {
  99239. return visitor.visitDeclaration$1(0, this);
  99240. },
  99241. accept$1(visitor) {
  99242. return this.accept$1$1(visitor, type$.dynamic);
  99243. },
  99244. toString$0(_) {
  99245. var t3, _0_0,
  99246. buffer = new A.StringBuffer(""),
  99247. t1 = this.name,
  99248. t2 = "" + t1.toString$0(0);
  99249. buffer._contents = t2;
  99250. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  99251. t3 = this.value;
  99252. if (t3 != null) {
  99253. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  99254. buffer._contents = t1 + t3.toString$0(0);
  99255. }
  99256. _0_0 = this.children;
  99257. if (_0_0 != null)
  99258. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  99259. else
  99260. return buffer.toString$0(0) + ";";
  99261. },
  99262. get$span(receiver) {
  99263. return this.span;
  99264. }
  99265. };
  99266. A.SupportsDeclaration0.prototype = {
  99267. get$isCustomProperty() {
  99268. var t1,
  99269. _0_0 = this.name;
  99270. $label0$0: {
  99271. if (_0_0 instanceof A.StringExpression0 && !_0_0.hasQuotes) {
  99272. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  99273. break $label0$0;
  99274. }
  99275. t1 = false;
  99276. break $label0$0;
  99277. }
  99278. return t1;
  99279. },
  99280. toInterpolation$0() {
  99281. var visitor, _1_0, _null = null,
  99282. t1 = new A.StringBuffer(""),
  99283. t2 = type$.JSArray_Object,
  99284. t3 = type$.JSArray_nullable_FileSpan,
  99285. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], t2), A._setArrayType([], t3)),
  99286. t4 = this.span,
  99287. t5 = this.name,
  99288. t6 = A.SpanExtensions_before(t4, t5.get$span(t5));
  99289. t6 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t6.file._decodedChars, t6._file$_start, t6._end), 0, _null);
  99290. t1._contents += t6;
  99291. if (t5 instanceof A.StringExpression0 && !t5.hasQuotes)
  99292. buffer.addInterpolation$1(t5.text);
  99293. else
  99294. buffer.add$2(0, t5, t5.get$span(t5));
  99295. t6 = this.value;
  99296. t5 = A.SpanExtensions_between(t5.get$span(t5), t6.get$span(t6));
  99297. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, _null);
  99298. t1._contents += t5;
  99299. visitor = new A.SourceInterpolationVisitor(new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], t2), A._setArrayType([], t3)));
  99300. t6.accept$1(visitor);
  99301. t3 = visitor.buffer;
  99302. _1_0 = t3 == null ? _null : t3.interpolation$1(t6.get$span(t6));
  99303. if (_1_0 != null)
  99304. buffer.addInterpolation$1(_1_0);
  99305. else
  99306. buffer.add$2(0, t6, t6.get$span(t6));
  99307. t2 = A.SpanExtensions_after(t4, t6.get$span(t6));
  99308. t2 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, _null);
  99309. t1._contents += t2;
  99310. return buffer.interpolation$1(t4);
  99311. },
  99312. withSpan$1(span) {
  99313. return new A.SupportsDeclaration0(this.name, this.value, span);
  99314. },
  99315. toString$0(_) {
  99316. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  99317. },
  99318. $isAstNode0: 1,
  99319. $isSassNode: 1,
  99320. $isSupportsCondition: 1,
  99321. get$span(receiver) {
  99322. return this.span;
  99323. }
  99324. };
  99325. A.Deprecation0.prototype = {
  99326. _enumToString$0() {
  99327. return "Deprecation." + this._name;
  99328. },
  99329. get$deprecatedIn(_) {
  99330. return A.NullableExtension_andThen0(this._deprecation$_deprecatedIn, A.version_Version___parse_tearOff$closure());
  99331. },
  99332. get$obsoleteIn(_) {
  99333. return null;
  99334. },
  99335. toString$0(_) {
  99336. return this.id;
  99337. }
  99338. };
  99339. A.Deprecation_fromId_closure0.prototype = {
  99340. call$1(deprecation) {
  99341. return deprecation.id === this.id;
  99342. },
  99343. $signature: 435
  99344. };
  99345. A.DeprecationProcessingLogger0.prototype = {
  99346. validate$0() {
  99347. var t1, t2, t3, t4, t5, _this = this, _null = null;
  99348. for (t1 = _this.fatalDeprecations, t1 = A._LinkedHashSetIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1), t2 = _this.silenceDeprecations, t3 = t1.$ti._precomputed1; t1.moveNext$0();) {
  99349. t4 = t1._collection$_current;
  99350. if (t4 == null)
  99351. t4 = t3._as(t4);
  99352. t5 = t2.contains$1(0, t4);
  99353. if (t5) {
  99354. t4 = t4.toString$0(0);
  99355. _this.internalWarn$4$deprecation$span$trace("Ignoring setting to silence " + t4 + string$.x20deprex2c, _null, _null, _null);
  99356. continue;
  99357. }
  99358. }
  99359. for (t1 = A._LinkedHashSetIterator$(t2, t2._modifications, A._instanceType(t2)._precomputed1), t2 = t1.$ti._precomputed1, t3 = _this.futureDeprecations; t1.moveNext$0();) {
  99360. t4 = t1._collection$_current;
  99361. if (B.Deprecation_ZVM === (t4 == null ? t2._as(t4) : t4)) {
  99362. _this.internalWarn$4$deprecation$span$trace(string$.User_a, _null, _null, _null);
  99363. continue;
  99364. }
  99365. }
  99366. for (t1 = A._LinkedHashSetIterator$(t3, t3._modifications, A._instanceType(t3)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  99367. t3 = t1._collection$_current;
  99368. t3 = (t3 == null ? t2._as(t3) : t3).toString$0(0);
  99369. _this.internalWarn$4$deprecation$span$trace(t3 + string$.x20is_noaf, _null, _null, _null);
  99370. }
  99371. },
  99372. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  99373. if (deprecation != null)
  99374. this._deprecation_processing$_handleDeprecation$4$span$trace(deprecation, message, span, trace);
  99375. else
  99376. this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  99377. },
  99378. _deprecation_processing$_handleDeprecation$4$span$trace(deprecation, message, span, trace) {
  99379. var _0_3_isSet, _0_3, t1, span0, t2, count, _this = this, _null = null;
  99380. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  99381. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20deprex20;
  99382. $label0$0: {
  99383. _0_3_isSet = span != null;
  99384. _0_3 = _null;
  99385. t1 = false;
  99386. if (_0_3_isSet) {
  99387. span0 = span == null ? type$.FileSpan._as(span) : span;
  99388. t1 = trace != null;
  99389. _0_3 = trace;
  99390. } else
  99391. span0 = _null;
  99392. if (t1) {
  99393. if (_0_3_isSet)
  99394. trace = _0_3;
  99395. t1 = A.SassRuntimeException$0(message, span0, trace == null ? type$.Trace._as(trace) : trace, _null);
  99396. break $label0$0;
  99397. }
  99398. t1 = false;
  99399. if (span != null)
  99400. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  99401. else
  99402. span = _null;
  99403. if (t1) {
  99404. t1 = A.SassException$0(message, span, _null);
  99405. break $label0$0;
  99406. }
  99407. t1 = A.SassScriptException$0(message, _null);
  99408. break $label0$0;
  99409. }
  99410. throw A.wrapException(t1);
  99411. }
  99412. if (_this.silenceDeprecations.contains$1(0, deprecation))
  99413. return;
  99414. if (_this.limitRepetition) {
  99415. t1 = _this._deprecation_processing$_warningCounts;
  99416. t2 = t1.$index(0, deprecation);
  99417. count = (t2 == null ? 0 : t2) + 1;
  99418. t1.$indexSet(0, deprecation, count);
  99419. if (count > 5)
  99420. return;
  99421. }
  99422. _this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  99423. },
  99424. debug$2(_, message, span) {
  99425. return this._deprecation_processing$_inner.debug$2(0, message, span);
  99426. },
  99427. summarize$1$js(js) {
  99428. var t1 = this._deprecation_processing$_warningCounts,
  99429. t2 = A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"),
  99430. 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>")));
  99431. if (total > 0) {
  99432. t1 = js ? "" : string$.x0aRun_i;
  99433. this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace("" + total + string$.x20repet + t1, null, null, null);
  99434. }
  99435. }
  99436. };
  99437. A.DeprecationProcessingLogger_summarize_closure1.prototype = {
  99438. call$1(count) {
  99439. return count > 5;
  99440. },
  99441. $signature: 48
  99442. };
  99443. A.DeprecationProcessingLogger_summarize_closure2.prototype = {
  99444. call$1(count) {
  99445. return count - 5;
  99446. },
  99447. $signature: 156
  99448. };
  99449. A.Deprecation1.prototype = {};
  99450. A.deprecations_closure.prototype = {
  99451. call$0() {
  99452. var _0_8_isSet, _0_8, t1,
  99453. _0_0 = this.deprecation;
  99454. $label0$0: {
  99455. _0_8_isSet = A.NullableExtension_andThen0(_0_0._deprecation$_deprecatedIn, A.version_Version___parse_tearOff$closure()) == null;
  99456. if (_0_8_isSet) {
  99457. _0_8 = _0_0.get$obsoleteIn(0) == null;
  99458. t1 = _0_8;
  99459. } else {
  99460. _0_8 = null;
  99461. t1 = false;
  99462. }
  99463. if (t1) {
  99464. t1 = "user";
  99465. break $label0$0;
  99466. }
  99467. if (_0_8_isSet ? _0_8 : _0_0.get$obsoleteIn(0) == null) {
  99468. t1 = "active";
  99469. break $label0$0;
  99470. }
  99471. t1 = "obsolete";
  99472. break $label0$0;
  99473. }
  99474. return t1;
  99475. },
  99476. $signature: 32
  99477. };
  99478. A.parseDeprecations_closure.prototype = {
  99479. call$0() {
  99480. return new A._SyncStarIterable(this.$call$body$parseDeprecations_closure(), type$._SyncStarIterable_Deprecation);
  99481. },
  99482. $call$body$parseDeprecations_closure() {
  99483. var $async$self = this;
  99484. return function() {
  99485. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, t3, t4, item, t5, id, deprecation, version;
  99486. return function $async$call$0($async$iterator, $async$errorCode, $async$result) {
  99487. if ($async$errorCode === 1) {
  99488. $async$errorStack.push($async$result);
  99489. $async$goto = $async$handler;
  99490. }
  99491. while (true)
  99492. switch ($async$goto) {
  99493. case 0:
  99494. // Function start
  99495. t1 = J.get$iterator$ax($async$self.deprecations), t2 = type$.Deprecation_2, t3 = $async$self.supportVersions, t4 = $async$self.logger;
  99496. case 2:
  99497. // for condition
  99498. if (!t1.moveNext$0()) {
  99499. // goto after for
  99500. $async$goto = 3;
  99501. break;
  99502. }
  99503. item = t1.get$current(t1);
  99504. t5 = typeof item == "string";
  99505. id = t5 ? item : null;
  99506. $async$goto = t5 ? 4 : 5;
  99507. break;
  99508. case 4:
  99509. // then
  99510. deprecation = A.Deprecation_fromId0(id);
  99511. $async$goto = deprecation == null ? 6 : 8;
  99512. break;
  99513. case 6:
  99514. // then
  99515. t4.internalWarn$4$deprecation$span$trace('Invalid deprecation "' + A.S(id) + '".', null, null, null);
  99516. // goto join
  99517. $async$goto = 7;
  99518. break;
  99519. case 8:
  99520. // else
  99521. $async$goto = 9;
  99522. return $async$iterator._async$_current = deprecation, 1;
  99523. case 9:
  99524. // after yield
  99525. case 7:
  99526. // join
  99527. // goto for condition
  99528. $async$goto = 2;
  99529. break;
  99530. case 5:
  99531. // join
  99532. t5 = t2._is(item);
  99533. id = t5 ? J.get$id$x(item) : null;
  99534. $async$goto = t5 ? 10 : 11;
  99535. break;
  99536. case 10:
  99537. // then
  99538. deprecation = A.Deprecation_fromId0(id);
  99539. $async$goto = deprecation == null ? 12 : 14;
  99540. break;
  99541. case 12:
  99542. // then
  99543. t4.internalWarn$4$deprecation$span$trace('Invalid deprecation "' + A.S(id) + '".', null, null, null);
  99544. // goto join
  99545. $async$goto = 13;
  99546. break;
  99547. case 14:
  99548. // else
  99549. $async$goto = 15;
  99550. return $async$iterator._async$_current = deprecation, 1;
  99551. case 15:
  99552. // after yield
  99553. case 13:
  99554. // join
  99555. // goto for condition
  99556. $async$goto = 2;
  99557. break;
  99558. case 11:
  99559. // join
  99560. if (item instanceof A.Version) {
  99561. t5 = t3;
  99562. version = item;
  99563. } else {
  99564. version = null;
  99565. t5 = false;
  99566. }
  99567. $async$goto = t5 ? 16 : 17;
  99568. break;
  99569. case 16:
  99570. // then
  99571. $async$goto = 18;
  99572. return $async$iterator._yieldStar$1(A.Deprecation_forVersion0(version));
  99573. case 18:
  99574. // after yield
  99575. case 17:
  99576. // join
  99577. // goto for condition
  99578. $async$goto = 2;
  99579. break;
  99580. case 3:
  99581. // after for
  99582. // implicit return
  99583. return 0;
  99584. case 1:
  99585. // rethrow
  99586. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  99587. }
  99588. };
  99589. };
  99590. },
  99591. $signature: 436
  99592. };
  99593. A.versionClass_closure.prototype = {
  99594. call$0() {
  99595. var t1 = type$.JSClass,
  99596. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Version", new A.versionClass__closure()));
  99597. jsClass.parse = A.allowInteropNamed("parse", new A.versionClass__closure0());
  99598. A.JSClassExtension_injectSuperclass(t1._as(A.Version_Version(0, 0, 0, null).constructor), jsClass);
  99599. return jsClass;
  99600. },
  99601. $signature: 15
  99602. };
  99603. A.versionClass__closure.prototype = {
  99604. call$4($self, major, minor, patch) {
  99605. return A.Version_Version(major, minor, patch, null);
  99606. },
  99607. "call*": "call$4",
  99608. $requiredArgCount: 4,
  99609. $signature: 437
  99610. };
  99611. A.versionClass__closure0.prototype = {
  99612. call$1(version) {
  99613. var v = A.Version_Version$parse(version);
  99614. if (v.preRelease.length !== 0 || v.build.length !== 0)
  99615. throw A.wrapException(A.FormatException$("Build identifiers and prerelease versions not supported.", null, null));
  99616. return v;
  99617. },
  99618. $signature: 199
  99619. };
  99620. A.DisplayP3ColorSpace0.prototype = {
  99621. get$isBoundedInternal() {
  99622. return true;
  99623. },
  99624. toLinear$1(channel) {
  99625. return A.srgbAndDisplayP3ToLinear0(channel);
  99626. },
  99627. fromLinear$1(channel) {
  99628. return A.srgbAndDisplayP3FromLinear0(channel);
  99629. },
  99630. transformationMatrix$1(dest) {
  99631. var t1;
  99632. $label0$0: {
  99633. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  99634. t1 = $.$get$linearDisplayP3ToLinearSrgb0();
  99635. break $label0$0;
  99636. }
  99637. if (B.A98RgbColorSpace_lf20 === dest) {
  99638. t1 = $.$get$linearDisplayP3ToLinearA98Rgb0();
  99639. break $label0$0;
  99640. }
  99641. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  99642. t1 = $.$get$linearDisplayP3ToLinearProphotoRgb0();
  99643. break $label0$0;
  99644. }
  99645. if (B.Rec2020ColorSpace_6oo0 === dest) {
  99646. t1 = $.$get$linearDisplayP3ToLinearRec20200();
  99647. break $label0$0;
  99648. }
  99649. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  99650. t1 = $.$get$linearDisplayP3ToXyzD650();
  99651. break $label0$0;
  99652. }
  99653. if (B.XyzD50ColorSpace_2OB0 === dest) {
  99654. t1 = $.$get$linearDisplayP3ToXyzD500();
  99655. break $label0$0;
  99656. }
  99657. if (B.LmsColorSpace_Os30 === dest) {
  99658. t1 = $.$get$linearDisplayP3ToLms0();
  99659. break $label0$0;
  99660. }
  99661. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  99662. break $label0$0;
  99663. }
  99664. return t1;
  99665. }
  99666. };
  99667. A.DynamicImport0.prototype = {
  99668. toString$0(_) {
  99669. return A.StringExpression_quoteText0(this.urlString);
  99670. },
  99671. $isImport0: 1,
  99672. $isAstNode0: 1,
  99673. $isSassNode: 1,
  99674. get$span(receiver) {
  99675. return this.span;
  99676. }
  99677. };
  99678. A.EachRule0.prototype = {
  99679. accept$1$1(visitor) {
  99680. return visitor.visitEachRule$1(0, this);
  99681. },
  99682. accept$1(visitor) {
  99683. return this.accept$1$1(visitor, type$.dynamic);
  99684. },
  99685. toString$0(_) {
  99686. var t1 = this.variables,
  99687. t2 = this.children;
  99688. return "@each " + new A.MappedListIterable(t1, new A.EachRule_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + " in " + this.list.toString$0(0) + " {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}";
  99689. },
  99690. get$span(receiver) {
  99691. return this.span;
  99692. }
  99693. };
  99694. A.EachRule_toString_closure0.prototype = {
  99695. call$1(variable) {
  99696. return "$" + variable;
  99697. },
  99698. $signature: 6
  99699. };
  99700. A.EmptyExtensionStore0.prototype = {
  99701. get$_extension_store$_extensions() {
  99702. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store0$_extensions", 1, [], [], 0)));
  99703. },
  99704. get$_extension_store$_sourceSpecificity() {
  99705. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store0$_sourceSpecificity", 1, [], [], 0)));
  99706. },
  99707. get$isEmpty(_) {
  99708. return true;
  99709. },
  99710. get$simpleSelectors() {
  99711. return B.C_EmptyUnmodifiableSet0;
  99712. },
  99713. extensionsWhereTarget$1(callback) {
  99714. return B.List_empty18;
  99715. },
  99716. addSelector$2(selector, mediaContext) {
  99717. throw A.wrapException(A.UnsupportedError$("addSelector() can't be called for a const ExtensionStore."));
  99718. },
  99719. addExtension$4(extender, target, extend, mediaContext) {
  99720. throw A.wrapException(A.UnsupportedError$("addExtension() can't be called for a const ExtensionStore."));
  99721. },
  99722. addExtensions$1(extenders) {
  99723. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  99724. },
  99725. clone$0() {
  99726. return B.Record2_EmptyExtensionStore_Map_empty0;
  99727. },
  99728. $isExtensionStore0: 1
  99729. };
  99730. A.Environment0.prototype = {
  99731. closure$0() {
  99732. var t4, t5, t6, _this = this,
  99733. t1 = _this._environment0$_forwardedModules,
  99734. t2 = _this._environment0$_nestedForwardedModules,
  99735. t3 = _this._environment0$_variables;
  99736. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  99737. t4 = _this._environment0$_variableNodes;
  99738. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  99739. t5 = _this._environment0$_functions;
  99740. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  99741. t6 = _this._environment0$_mixins;
  99742. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  99743. 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);
  99744. },
  99745. forwardModule$2(module, rule) {
  99746. var view, t1, t2, _this = this,
  99747. forwardedModules = _this._environment0$_forwardedModules;
  99748. if (forwardedModules == null)
  99749. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  99750. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
  99751. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules.__js_helper$_modifications, forwardedModules.__js_helper$_first); t1.moveNext$0();) {
  99752. t2 = t1.__js_helper$_current;
  99753. _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  99754. _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  99755. _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  99756. }
  99757. _this._environment0$_allModules.push(module);
  99758. forwardedModules.$indexSet(0, view, rule);
  99759. },
  99760. _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  99761. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  99762. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  99763. larger = oldMembers;
  99764. smaller = newMembers;
  99765. } else {
  99766. larger = newMembers;
  99767. smaller = oldMembers;
  99768. }
  99769. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  99770. t4 = t2.get$current(t2);
  99771. $name = t4._0;
  99772. small = t4._1;
  99773. large = larger.$index(0, $name);
  99774. if (large == null)
  99775. continue;
  99776. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  99777. continue;
  99778. if (t3)
  99779. $name = "$" + $name;
  99780. t2 = this._environment0$_forwardedModules;
  99781. if (t2 == null)
  99782. span = null;
  99783. else {
  99784. t2 = t2.$index(0, oldModule);
  99785. span = t2 == null ? null : t2.get$span(t2);
  99786. }
  99787. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  99788. if (span != null)
  99789. t2.$indexSet(0, span, "original @forward");
  99790. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  99791. }
  99792. },
  99793. importForwards$1(module) {
  99794. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  99795. forwarded = module._environment0$_environment._environment0$_forwardedModules;
  99796. if (forwarded == null)
  99797. return;
  99798. forwardedModules = _this._environment0$_forwardedModules;
  99799. if (forwardedModules != null) {
  99800. t1 = type$.Module_Callable_2;
  99801. t2 = type$.AstNode_2;
  99802. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  99803. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._environment0$_globalModules; t1.moveNext$0();) {
  99804. t4 = t1.get$current(t1);
  99805. module = t4._0;
  99806. node = t4._1;
  99807. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  99808. t3.$indexSet(0, module, node);
  99809. }
  99810. forwarded = t3;
  99811. } else
  99812. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  99813. t1 = type$.String;
  99814. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  99815. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t3.moveNext$0();)
  99816. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  99817. t2.add$1(0, t4.get$current(t4));
  99818. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  99819. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t4.moveNext$0();) {
  99820. t5 = t4.__js_helper$_current;
  99821. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  99822. t3.add$1(0, t5.get$current(t5));
  99823. }
  99824. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  99825. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t4.moveNext$0();)
  99826. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  99827. t1.add$1(0, t5.get$current(t5));
  99828. t4 = _this._environment0$_variables;
  99829. t5 = t4.length;
  99830. if (t5 === 1) {
  99831. 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) {
  99832. t11 = t8[_i];
  99833. module = t11._0;
  99834. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  99835. if (shadowed != null) {
  99836. t5.remove$1(0, module);
  99837. t12 = shadowed.variables;
  99838. t13 = false;
  99839. if (t12.get$isEmpty(t12)) {
  99840. t12 = shadowed.functions;
  99841. if (t12.get$isEmpty(t12)) {
  99842. t12 = shadowed.mixins;
  99843. if (t12.get$isEmpty(t12)) {
  99844. t12 = shadowed._shadowed_view0$_inner;
  99845. t12 = t12.get$css(t12);
  99846. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  99847. } else
  99848. t12 = t13;
  99849. } else
  99850. t12 = t13;
  99851. } else
  99852. t12 = t13;
  99853. if (!t12)
  99854. t5.$indexSet(0, shadowed, t11._1);
  99855. }
  99856. }
  99857. 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) {
  99858. t8 = t6[_i];
  99859. module = t8._0;
  99860. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  99861. if (shadowed != null) {
  99862. forwardedModules.remove$1(0, module);
  99863. t9 = shadowed.variables;
  99864. t11 = false;
  99865. if (t9.get$isEmpty(t9)) {
  99866. t9 = shadowed.functions;
  99867. if (t9.get$isEmpty(t9)) {
  99868. t9 = shadowed.mixins;
  99869. if (t9.get$isEmpty(t9)) {
  99870. t9 = shadowed._shadowed_view0$_inner;
  99871. t9 = t9.get$css(t9);
  99872. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  99873. } else
  99874. t9 = t11;
  99875. } else
  99876. t9 = t11;
  99877. } else
  99878. t9 = t11;
  99879. if (!t9)
  99880. forwardedModules.$indexSet(0, shadowed, t8._1);
  99881. }
  99882. }
  99883. t5.addAll$1(0, forwarded);
  99884. forwardedModules.addAll$1(0, forwarded);
  99885. } else {
  99886. t6 = _this._environment0$_nestedForwardedModules;
  99887. if (t6 == null) {
  99888. _length = t5 - 1;
  99889. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
  99890. for (t5 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
  99891. _list[_i] = A._setArrayType([], t5);
  99892. _this._environment0$_nestedForwardedModules = _list;
  99893. t5 = _list;
  99894. } else
  99895. t5 = t6;
  99896. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  99897. }
  99898. for (t2 = A._LinkedHashSetIterator$(t2, t2._modifications, t2.$ti._precomputed1), t5 = _this._environment0$_variableIndices, t6 = _this._environment0$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  99899. t8 = t2._collection$_current;
  99900. if (t8 == null)
  99901. t8 = t7._as(t8);
  99902. t5.remove$1(0, t8);
  99903. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  99904. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  99905. }
  99906. for (t2 = A._LinkedHashSetIterator$(t3, t3._modifications, t3.$ti._precomputed1), t3 = _this._environment0$_functionIndices, t4 = _this._environment0$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  99907. t6 = t2._collection$_current;
  99908. if (t6 == null)
  99909. t6 = t5._as(t6);
  99910. t3.remove$1(0, t6);
  99911. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  99912. }
  99913. for (t1 = A._LinkedHashSetIterator$(t1, t1._modifications, t1.$ti._precomputed1), t2 = _this._environment0$_mixinIndices, t3 = _this._environment0$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  99914. t5 = t1._collection$_current;
  99915. if (t5 == null)
  99916. t5 = t4._as(t5);
  99917. t2.remove$1(0, t5);
  99918. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  99919. }
  99920. },
  99921. getVariable$2$namespace($name, namespace) {
  99922. var t1, _0_0, _1_0, _this = this;
  99923. if (namespace != null)
  99924. return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  99925. if (_this._environment0$_lastVariableName === $name) {
  99926. t1 = _this._environment0$_lastVariableIndex;
  99927. t1.toString;
  99928. t1 = _this._environment0$_variables[t1].$index(0, $name);
  99929. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  99930. }
  99931. t1 = _this._environment0$_variableIndices;
  99932. _0_0 = t1.$index(0, $name);
  99933. if (_0_0 != null) {
  99934. _this._environment0$_lastVariableName = $name;
  99935. _this._environment0$_lastVariableIndex = _0_0;
  99936. t1 = _this._environment0$_variables[_0_0].$index(0, $name);
  99937. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  99938. } else {
  99939. _1_0 = _this._environment0$_variableIndex$1($name);
  99940. if (_1_0 != null) {
  99941. _this._environment0$_lastVariableName = $name;
  99942. _this._environment0$_lastVariableIndex = _1_0;
  99943. t1.$indexSet(0, $name, _1_0);
  99944. t1 = _this._environment0$_variables[_1_0].$index(0, $name);
  99945. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  99946. } else
  99947. return _this._environment0$_getVariableFromGlobalModule$1($name);
  99948. }
  99949. },
  99950. getVariable$1($name) {
  99951. return this.getVariable$2$namespace($name, null);
  99952. },
  99953. _environment0$_getVariableFromGlobalModule$1($name) {
  99954. return this._environment0$_fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name));
  99955. },
  99956. getVariableNode$2$namespace($name, namespace) {
  99957. var t1, _0_0, _1_0, _this = this;
  99958. if (namespace != null)
  99959. return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  99960. if (_this._environment0$_lastVariableName === $name) {
  99961. t1 = _this._environment0$_lastVariableIndex;
  99962. t1.toString;
  99963. t1 = _this._environment0$_variableNodes[t1].$index(0, $name);
  99964. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  99965. }
  99966. t1 = _this._environment0$_variableIndices;
  99967. _0_0 = t1.$index(0, $name);
  99968. if (_0_0 != null) {
  99969. _this._environment0$_lastVariableName = $name;
  99970. _this._environment0$_lastVariableIndex = _0_0;
  99971. t1 = _this._environment0$_variableNodes[_0_0].$index(0, $name);
  99972. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  99973. } else {
  99974. _1_0 = _this._environment0$_variableIndex$1($name);
  99975. if (_1_0 != null) {
  99976. _this._environment0$_lastVariableName = $name;
  99977. _this._environment0$_lastVariableIndex = _1_0;
  99978. t1.$indexSet(0, $name, _1_0);
  99979. t1 = _this._environment0$_variableNodes[_1_0].$index(0, $name);
  99980. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  99981. } else
  99982. return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
  99983. }
  99984. },
  99985. _environment0$_getVariableNodeFromGlobalModule$1($name) {
  99986. var t1, t2, _0_0;
  99987. 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();) {
  99988. t1 = t2._currentIterator;
  99989. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  99990. if (_0_0 != null)
  99991. return _0_0;
  99992. }
  99993. return null;
  99994. },
  99995. globalVariableExists$2$namespace($name, namespace) {
  99996. if (namespace != null)
  99997. return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  99998. if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
  99999. return true;
  100000. return this._environment0$_getVariableFromGlobalModule$1($name) != null;
  100001. },
  100002. globalVariableExists$1($name) {
  100003. return this.globalVariableExists$2$namespace($name, null);
  100004. },
  100005. _environment0$_variableIndex$1($name) {
  100006. var t1, i;
  100007. for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
  100008. if (t1[i].containsKey$1($name))
  100009. return i;
  100010. return null;
  100011. },
  100012. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  100013. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  100014. if (namespace != null) {
  100015. _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  100016. return;
  100017. }
  100018. if (global || _this._environment0$_variables.length === 1) {
  100019. _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
  100020. t1 = _this._environment0$_variables;
  100021. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  100022. moduleWithName = _this._environment0$_fromOneModule$3($name, "variable", new A.Environment_setVariable_closure3($name));
  100023. if (moduleWithName != null) {
  100024. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  100025. return;
  100026. }
  100027. }
  100028. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  100029. J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
  100030. return;
  100031. }
  100032. nestedForwardedModules = _this._environment0$_nestedForwardedModules;
  100033. if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
  100034. 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();) {
  100035. t3 = t2.__internal$_current;
  100036. 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();) {
  100037. t5 = t3.__internal$_current;
  100038. if (t5 == null)
  100039. t5 = t4._as(t5);
  100040. if (t5.get$variables().containsKey$1($name)) {
  100041. t5.setVariable$3($name, value, nodeWithSpan);
  100042. return;
  100043. }
  100044. }
  100045. }
  100046. if (_this._environment0$_lastVariableName === $name) {
  100047. t1 = _this._environment0$_lastVariableIndex;
  100048. t1.toString;
  100049. index = t1;
  100050. } else
  100051. index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
  100052. if (!_this._environment0$_inSemiGlobalScope && index === 0) {
  100053. index = _this._environment0$_variables.length - 1;
  100054. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  100055. }
  100056. _this._environment0$_lastVariableName = $name;
  100057. _this._environment0$_lastVariableIndex = index;
  100058. _this._environment0$_variables[index].$indexSet(0, $name, value);
  100059. _this._environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  100060. },
  100061. setVariable$4$global($name, value, nodeWithSpan, global) {
  100062. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  100063. },
  100064. setLocalVariable$3($name, value, nodeWithSpan) {
  100065. var index, _this = this,
  100066. t1 = _this._environment0$_variables,
  100067. t2 = t1.length;
  100068. _this._environment0$_lastVariableName = $name;
  100069. index = _this._environment0$_lastVariableIndex = t2 - 1;
  100070. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  100071. t1[index].$indexSet(0, $name, value);
  100072. _this._environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  100073. },
  100074. getFunction$2$namespace($name, namespace) {
  100075. var t1, _0_0, _1_0, _this = this;
  100076. if (namespace != null) {
  100077. t1 = _this._environment0$_getModule$1(namespace);
  100078. return t1.get$functions(t1).$index(0, $name);
  100079. }
  100080. t1 = _this._environment0$_functionIndices;
  100081. _0_0 = t1.$index(0, $name);
  100082. if (_0_0 != null) {
  100083. t1 = _this._environment0$_functions[_0_0].$index(0, $name);
  100084. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  100085. } else {
  100086. _1_0 = _this._environment0$_functionIndex$1($name);
  100087. if (_1_0 != null) {
  100088. t1.$indexSet(0, $name, _1_0);
  100089. t1 = _this._environment0$_functions[_1_0].$index(0, $name);
  100090. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  100091. } else
  100092. return _this._environment0$_getFunctionFromGlobalModule$1($name);
  100093. }
  100094. },
  100095. getFunction$1($name) {
  100096. return this.getFunction$2$namespace($name, null);
  100097. },
  100098. _environment0$_getFunctionFromGlobalModule$1($name) {
  100099. return this._environment0$_fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name));
  100100. },
  100101. _environment0$_functionIndex$1($name) {
  100102. var t1, i;
  100103. for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
  100104. if (t1[i].containsKey$1($name))
  100105. return i;
  100106. return null;
  100107. },
  100108. getMixin$2$namespace($name, namespace) {
  100109. var t1, _0_0, _1_0, _this = this;
  100110. if (namespace != null)
  100111. return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  100112. t1 = _this._environment0$_mixinIndices;
  100113. _0_0 = t1.$index(0, $name);
  100114. if (_0_0 != null) {
  100115. t1 = _this._environment0$_mixins[_0_0].$index(0, $name);
  100116. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  100117. } else {
  100118. _1_0 = _this._environment0$_mixinIndex$1($name);
  100119. if (_1_0 != null) {
  100120. t1.$indexSet(0, $name, _1_0);
  100121. t1 = _this._environment0$_mixins[_1_0].$index(0, $name);
  100122. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  100123. } else
  100124. return _this._environment0$_getMixinFromGlobalModule$1($name);
  100125. }
  100126. },
  100127. _environment0$_getMixinFromGlobalModule$1($name) {
  100128. return this._environment0$_fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name));
  100129. },
  100130. _environment0$_mixinIndex$1($name) {
  100131. var t1, i;
  100132. for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  100133. if (t1[i].containsKey$1($name))
  100134. return i;
  100135. return null;
  100136. },
  100137. withContent$2($content, callback) {
  100138. var oldContent = this._environment0$_content;
  100139. this._environment0$_content = $content;
  100140. callback.call$0();
  100141. this._environment0$_content = oldContent;
  100142. },
  100143. asMixin$1(callback) {
  100144. var oldInMixin = this._environment0$_inMixin;
  100145. this._environment0$_inMixin = true;
  100146. callback.call$0();
  100147. this._environment0$_inMixin = oldInMixin;
  100148. },
  100149. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  100150. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  100151. semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
  100152. wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
  100153. _this._environment0$_inSemiGlobalScope = semiGlobal;
  100154. if (!when)
  100155. try {
  100156. t1 = callback.call$0();
  100157. return t1;
  100158. } finally {
  100159. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  100160. }
  100161. t1 = _this._environment0$_variables;
  100162. t2 = type$.String;
  100163. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  100164. t3 = _this._environment0$_variableNodes;
  100165. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  100166. t4 = _this._environment0$_functions;
  100167. t5 = type$.Callable_2;
  100168. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  100169. t6 = _this._environment0$_mixins;
  100170. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  100171. t5 = _this._environment0$_nestedForwardedModules;
  100172. if (t5 != null)
  100173. t5.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
  100174. try {
  100175. t2 = callback.call$0();
  100176. return t2;
  100177. } finally {
  100178. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  100179. _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
  100180. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
  100181. $name = t1.get$current(t1);
  100182. t2.remove$1(0, $name);
  100183. }
  100184. B.JSArray_methods.removeLast$0(t3);
  100185. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
  100186. name0 = t1.get$current(t1);
  100187. t2.remove$1(0, name0);
  100188. }
  100189. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
  100190. name1 = t1.get$current(t1);
  100191. t2.remove$1(0, name1);
  100192. }
  100193. t1 = _this._environment0$_nestedForwardedModules;
  100194. if (t1 != null)
  100195. t1.pop();
  100196. }
  100197. },
  100198. scope$1$1(callback) {
  100199. return this.scope$1$3$semiGlobal$when(callback, false, true);
  100200. },
  100201. scope$1$2$when(callback, when) {
  100202. return this.scope$1$3$semiGlobal$when(callback, false, when);
  100203. },
  100204. scope$1$2$semiGlobal(callback, semiGlobal) {
  100205. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  100206. },
  100207. toImplicitConfiguration$0() {
  100208. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  100209. t1 = type$.String,
  100210. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  100211. for (t2 = this._environment0$_variables, t3 = type$.Value_2, t4 = this._environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  100212. values = t2[i];
  100213. nodes = t4[i];
  100214. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  100215. t6 = t5.get$current(t5);
  100216. $name = t6._0;
  100217. value = t6._1;
  100218. t6 = nodes.$index(0, $name);
  100219. t6.toString;
  100220. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  100221. }
  100222. }
  100223. return new A.Configuration0(configuration, null);
  100224. },
  100225. toModule$3(css, preModuleComments, extensionStore) {
  100226. return A._EnvironmentModule__EnvironmentModule1(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
  100227. },
  100228. toDummyModule$0() {
  100229. return A._EnvironmentModule__EnvironmentModule1(this, new A.CssStylesheet0(new A.UnmodifiableListView(B.List_empty17, 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()));
  100230. },
  100231. _environment0$_getModule$1(namespace) {
  100232. var _0_0 = this._environment0$_modules.$index(0, namespace);
  100233. if (_0_0 != null)
  100234. return _0_0;
  100235. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  100236. },
  100237. _environment0$_fromOneModule$1$3($name, type, callback) {
  100238. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  100239. _0_0 = this._environment0$_nestedForwardedModules;
  100240. if (_0_0 != null)
  100241. 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();) {
  100242. t3 = t2.__internal$_current;
  100243. 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();) {
  100244. t5 = t3.__internal$_current;
  100245. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  100246. if (_1_0 != null)
  100247. return _1_0;
  100248. }
  100249. }
  100250. for (t1 = this._environment0$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first); t1.moveNext$0();) {
  100251. _2_0 = callback.call$1(t1.__js_helper$_current);
  100252. if (_2_0 != null)
  100253. return _2_0;
  100254. }
  100255. for (t1 = this._environment0$_globalModules, t2 = new A.LinkedHashMapKeyIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first), t3 = type$.Callable_2, value = null, identity = null; t2.moveNext$0();) {
  100256. t4 = t2.__js_helper$_current;
  100257. valueInModule = callback.call$1(t4);
  100258. if (valueInModule == null)
  100259. continue;
  100260. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  100261. if (identityFromModule.$eq(0, identity))
  100262. continue;
  100263. if (value != null) {
  100264. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  100265. 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();) {
  100266. t1 = t3.get$current(t3);
  100267. module = t1._0;
  100268. node = t1._1;
  100269. if (callback.call$1(module) != null)
  100270. t2.$indexSet(0, node.get$span(node), t4);
  100271. }
  100272. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  100273. }
  100274. identity = identityFromModule;
  100275. value = valueInModule;
  100276. }
  100277. return value;
  100278. },
  100279. _environment0$_fromOneModule$3($name, type, callback) {
  100280. return this._environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  100281. }
  100282. };
  100283. A.Environment__getVariableFromGlobalModule_closure0.prototype = {
  100284. call$1(module) {
  100285. return module.get$variables().$index(0, this.name);
  100286. },
  100287. $signature: 440
  100288. };
  100289. A.Environment_setVariable_closure2.prototype = {
  100290. call$0() {
  100291. var t1 = this.$this;
  100292. t1._environment0$_lastVariableName = this.name;
  100293. return t1._environment0$_lastVariableIndex = 0;
  100294. },
  100295. $signature: 10
  100296. };
  100297. A.Environment_setVariable_closure3.prototype = {
  100298. call$1(module) {
  100299. return module.get$variables().containsKey$1(this.name) ? module : null;
  100300. },
  100301. $signature: 441
  100302. };
  100303. A.Environment_setVariable_closure4.prototype = {
  100304. call$0() {
  100305. var t1 = this.$this,
  100306. t2 = t1._environment0$_variableIndex$1(this.name);
  100307. return t2 == null ? t1._environment0$_variables.length - 1 : t2;
  100308. },
  100309. $signature: 10
  100310. };
  100311. A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
  100312. call$1(module) {
  100313. return module.get$functions(module).$index(0, this.name);
  100314. },
  100315. $signature: 196
  100316. };
  100317. A.Environment__getMixinFromGlobalModule_closure0.prototype = {
  100318. call$1(module) {
  100319. return module.get$mixins().$index(0, this.name);
  100320. },
  100321. $signature: 196
  100322. };
  100323. A.Environment_toModule_closure0.prototype = {
  100324. call$1(modules) {
  100325. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  100326. },
  100327. $signature: 195
  100328. };
  100329. A.Environment_toDummyModule_closure0.prototype = {
  100330. call$1(modules) {
  100331. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  100332. },
  100333. $signature: 195
  100334. };
  100335. A._EnvironmentModule1.prototype = {
  100336. get$url(_) {
  100337. var t1 = this.css;
  100338. return t1.get$span(t1).file.url;
  100339. },
  100340. setVariable$3($name, value, nodeWithSpan) {
  100341. var t1, t2,
  100342. _0_0 = this._environment0$_modulesByVariable.$index(0, $name);
  100343. if (_0_0 != null) {
  100344. _0_0.setVariable$3($name, value, nodeWithSpan);
  100345. return;
  100346. }
  100347. t1 = this._environment0$_environment;
  100348. t2 = t1._environment0$_variables;
  100349. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  100350. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  100351. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  100352. J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
  100353. return;
  100354. },
  100355. variableIdentity$1($name) {
  100356. var module = this._environment0$_modulesByVariable.$index(0, $name);
  100357. return module == null ? this : module.variableIdentity$1($name);
  100358. },
  100359. cloneCss$0() {
  100360. var _0_0, _this = this;
  100361. if (!_this.transitivelyContainsCss)
  100362. return _this;
  100363. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  100364. 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);
  100365. },
  100366. toString$0(_) {
  100367. var t2,
  100368. t1 = this.css;
  100369. if (t1.get$span(t1).file.url == null)
  100370. t1 = "<unknown url>";
  100371. else {
  100372. t1 = t1.get$span(t1).file.url;
  100373. t2 = $.$get$context();
  100374. t1.toString;
  100375. t1 = t2.prettyUri$1(t1);
  100376. }
  100377. return t1;
  100378. },
  100379. $isModule1: 1,
  100380. get$upstream() {
  100381. return this.upstream;
  100382. },
  100383. get$variables() {
  100384. return this.variables;
  100385. },
  100386. get$variableNodes() {
  100387. return this.variableNodes;
  100388. },
  100389. get$functions(receiver) {
  100390. return this.functions;
  100391. },
  100392. get$mixins() {
  100393. return this.mixins;
  100394. },
  100395. get$extensionStore() {
  100396. return this.extensionStore;
  100397. },
  100398. get$css(receiver) {
  100399. return this.css;
  100400. },
  100401. get$preModuleComments() {
  100402. return this.preModuleComments;
  100403. },
  100404. get$transitivelyContainsCss() {
  100405. return this.transitivelyContainsCss;
  100406. },
  100407. get$transitivelyContainsExtensions() {
  100408. return this.transitivelyContainsExtensions;
  100409. }
  100410. };
  100411. A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
  100412. call$1(module) {
  100413. return module.get$variables();
  100414. },
  100415. $signature: 444
  100416. };
  100417. A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
  100418. call$1(module) {
  100419. return module.get$variableNodes();
  100420. },
  100421. $signature: 445
  100422. };
  100423. A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
  100424. call$1(module) {
  100425. return module.get$functions(module);
  100426. },
  100427. $signature: 194
  100428. };
  100429. A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
  100430. call$1(module) {
  100431. return module.get$mixins();
  100432. },
  100433. $signature: 194
  100434. };
  100435. A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
  100436. call$1(module) {
  100437. return module.get$transitivelyContainsCss();
  100438. },
  100439. $signature: 126
  100440. };
  100441. A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
  100442. call$1(module) {
  100443. return module.get$transitivelyContainsExtensions();
  100444. },
  100445. $signature: 126
  100446. };
  100447. A.ErrorRule0.prototype = {
  100448. accept$1$1(visitor) {
  100449. return visitor.visitErrorRule$1(0, this);
  100450. },
  100451. accept$1(visitor) {
  100452. return this.accept$1$1(visitor, type$.dynamic);
  100453. },
  100454. toString$0(_) {
  100455. return "@error " + this.expression.toString$0(0) + ";";
  100456. },
  100457. get$span(receiver) {
  100458. return this.span;
  100459. }
  100460. };
  100461. A._EvaluateVisitor1.prototype = {
  100462. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  100463. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  100464. _s20_ = "$name, $module: null",
  100465. _s9_ = "sass:meta",
  100466. _s7_ = "$module",
  100467. t1 = type$.JSArray_BuiltInCallable_2,
  100468. 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),
  100469. 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);
  100470. t1 = type$.BuiltInCallable_2;
  100471. t2 = A.List_List$of($.$get$moduleFunctions0(), true, t1);
  100472. B.JSArray_methods.addAll$1(t2, metaFunctions);
  100473. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  100474. for (t1 = A.List_List$of($.$get$coreModules0(), true, type$.BuiltInModule_Callable_2), t1.push(metaModule), t2 = t1.length, t3 = _this._evaluate0$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  100475. module = t1[_i];
  100476. t3.$indexSet(0, module.url, module);
  100477. }
  100478. t1 = type$.JSArray_Callable_2;
  100479. t2 = A._setArrayType([], t1);
  100480. B.JSArray_methods.addAll$1(t2, functions);
  100481. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions0());
  100482. t1 = A._setArrayType([], t1);
  100483. for (_i = 0; _i < 11; ++_i)
  100484. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  100485. B.JSArray_methods.addAll$1(t2, t1);
  100486. for (t1 = t2.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  100487. $function = t2[_i];
  100488. t4 = $function.get$name($function);
  100489. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  100490. }
  100491. },
  100492. run$2(_, importer, node) {
  100493. var error, stackTrace, t1, exception;
  100494. try {
  100495. t1 = type$.nullable_Object;
  100496. 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);
  100497. return t1;
  100498. } catch (exception) {
  100499. t1 = A.unwrapException(exception);
  100500. if (t1 instanceof A.SassException0) {
  100501. error = t1;
  100502. stackTrace = A.getTraceFromException(exception);
  100503. A.throwWithTrace0(error.withLoadedUrls$1(this._evaluate0$_loadedUrls), error, stackTrace);
  100504. } else
  100505. throw exception;
  100506. }
  100507. },
  100508. _evaluate0$_assertInModule$1$2(value, $name) {
  100509. if (value != null)
  100510. return value;
  100511. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  100512. },
  100513. _evaluate0$_assertInModule$2(value, $name) {
  100514. return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  100515. },
  100516. _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  100517. var t2, _this = this,
  100518. _0_0 = _this._evaluate0$_builtInModules.$index(0, url),
  100519. t1 = {};
  100520. t1.builtInModule = null;
  100521. if (_0_0 != null) {
  100522. t1.builtInModule = _0_0;
  100523. if (configuration instanceof A.ExplicitConfiguration0) {
  100524. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  100525. t2 = configuration.nodeWithSpan;
  100526. throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
  100527. }
  100528. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(t1, callback));
  100529. return;
  100530. }
  100531. _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  100532. },
  100533. _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  100534. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  100535. },
  100536. _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  100537. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  100538. },
  100539. _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  100540. var currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  100541. url = stylesheet.span.file.url,
  100542. t1 = _this._evaluate0$_modules,
  100543. _0_0 = t1.$index(0, url);
  100544. if (_0_0 != null) {
  100545. t1 = configuration == null;
  100546. currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
  100547. t2 = _this._evaluate0$_moduleConfigurations.$index(0, url);
  100548. t3 = t2._configuration0$__originalConfiguration;
  100549. t2 = t3 == null ? t2 : t3;
  100550. t3 = currentConfiguration._configuration0$__originalConfiguration;
  100551. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  100552. if (namesInErrors) {
  100553. t2 = $.$get$context();
  100554. url.toString;
  100555. message = t2.prettyUri$1(url) + string$.x20was_a;
  100556. } else
  100557. message = string$.This_mw;
  100558. t2 = _this._evaluate0$_moduleNodes.$index(0, url);
  100559. existingSpan = t2 == null ? null : t2.get$span(t2);
  100560. if (t1) {
  100561. t1 = currentConfiguration.nodeWithSpan;
  100562. configurationSpan = t1.get$span(t1);
  100563. } else
  100564. configurationSpan = null;
  100565. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  100566. if (existingSpan != null)
  100567. t1.$indexSet(0, existingSpan, "original load");
  100568. if (configurationSpan != null)
  100569. t1.$indexSet(0, configurationSpan, "configuration");
  100570. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
  100571. }
  100572. return _0_0;
  100573. }
  100574. environment = A.Environment$0();
  100575. css = A._Cell$();
  100576. preModuleComments = A._Cell$();
  100577. extensionStore = A.ExtensionStore$0();
  100578. _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  100579. t2 = css._readLocal$0();
  100580. t3 = preModuleComments._readLocal$0();
  100581. module = environment.toModule$3(t2, t3 == null ? B.Map_empty10 : t3, extensionStore);
  100582. if (url != null) {
  100583. t1.$indexSet(0, url, module);
  100584. _this._evaluate0$_moduleConfigurations.$indexSet(0, url, _this._evaluate0$_configuration);
  100585. if (nodeWithSpan != null)
  100586. _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  100587. }
  100588. return module;
  100589. },
  100590. _evaluate0$_execute$2(importer, stylesheet) {
  100591. return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  100592. },
  100593. _evaluate0$_addOutOfOrderImports$0() {
  100594. var t1, t2, _this = this, _s5_ = "_root",
  100595. _s13_ = "_endOfImports",
  100596. _0_0 = _this._evaluate0$_outOfOrderImports;
  100597. $label0$0: {
  100598. if (_0_0 == null) {
  100599. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  100600. break $label0$0;
  100601. }
  100602. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  100603. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), true, type$.ModifiableCssNode_2);
  100604. B.JSArray_methods.addAll$1(t1, _0_0);
  100605. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  100606. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  100607. break $label0$0;
  100608. }
  100609. return t1;
  100610. },
  100611. _evaluate0$_combineCss$2$clone(root, clone) {
  100612. var selectors, _0_0, t1, imports, css, sorted, t2;
  100613. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure3())) {
  100614. selectors = root.get$extensionStore().get$simpleSelectors();
  100615. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure4(selectors)));
  100616. if (_0_0 != null)
  100617. this._evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  100618. return root.get$css(root);
  100619. }
  100620. t1 = type$.JSArray_CssNode_2;
  100621. imports = A._setArrayType([], t1);
  100622. css = A._setArrayType([], t1);
  100623. t1 = type$.Module_Callable_2;
  100624. sorted = A.ListQueue$(t1);
  100625. new A._EvaluateVisitor__combineCss_visitModule1(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  100626. if (root.get$transitivelyContainsExtensions())
  100627. this._evaluate0$_extendModules$1(sorted);
  100628. t1 = B.JSArray_methods.$add(imports, css);
  100629. t2 = root.get$css(root);
  100630. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  100631. },
  100632. _evaluate0$_combineCss$1(root) {
  100633. return this._evaluate0$_combineCss$2$clone(root, false);
  100634. },
  100635. _evaluate0$_extendModules$1(sortedModules) {
  100636. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  100637. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  100638. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  100639. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  100640. t3 = t1._collection$_current;
  100641. if (t3 == null)
  100642. t3 = t2._as(t3);
  100643. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  100644. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
  100645. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  100646. t4 = t3.get$extensionStore().get$addExtensions();
  100647. if ($self != null)
  100648. t4.call$1($self);
  100649. t4 = t3.get$extensionStore();
  100650. if (t4.get$isEmpty(t4))
  100651. continue;
  100652. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  100653. upstream = t4[_i];
  100654. _0_0 = upstream.get$url(upstream);
  100655. if (_0_0 != null)
  100656. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure4()), t3.get$extensionStore());
  100657. }
  100658. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  100659. }
  100660. if (unsatisfiedExtensions._collection$_length !== 0)
  100661. this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  100662. },
  100663. _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  100664. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  100665. },
  100666. _evaluate0$_indexAfterImports$1(statements) {
  100667. var t1, lastImport, i, _0_0;
  100668. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  100669. $label0$0: {
  100670. _0_0 = t1.$index(statements, i);
  100671. if (_0_0 instanceof A.ModifiableCssImport0)
  100672. break $label0$0;
  100673. if (_0_0 instanceof A.ModifiableCssComment0)
  100674. continue;
  100675. break;
  100676. }
  100677. lastImport = i;
  100678. }
  100679. return lastImport + 1;
  100680. },
  100681. visitStylesheet$1(_, node) {
  100682. var t1, t2, warning, _i, $name, span;
  100683. 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();) {
  100684. warning = t1.__internal$_current;
  100685. if (warning == null)
  100686. warning = t2._as(warning);
  100687. this._evaluate0$_warn$3(warning._1, warning._2, warning._0);
  100688. }
  100689. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  100690. t1[_i].accept$1(this);
  100691. for (t1 = A.MapExtensions_get_pairs0(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  100692. t2 = t1.get$current(t1);
  100693. $name = t2._0;
  100694. span = t2._1;
  100695. this.visitVariableDeclaration$1(0, new A.VariableDeclaration0(null, $name, new A.NullExpression0(span), true, false, span));
  100696. }
  100697. return null;
  100698. },
  100699. visitAtRootRule$1(_, node) {
  100700. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this, _null = null,
  100701. _s8_ = "__parent",
  100702. _0_0 = node.query,
  100703. 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,
  100704. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
  100705. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  100706. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  100707. if (!query.excludes$1($parent))
  100708. included.push($parent);
  100709. _2_0 = $parent._node$_parent;
  100710. if (_2_0 == null)
  100711. throw A.wrapException(A.StateError$(string$.CssNod));
  100712. }
  100713. root = _this._evaluate0$_trimIncluded$1(included);
  100714. if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
  100715. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3(_this, node), node.hasDeclarations, type$.Null);
  100716. return _null;
  100717. }
  100718. if (included.length >= 1) {
  100719. first = included[0];
  100720. rest = B.JSArray_methods.sublist$1(included, 1);
  100721. innerCopy = first.copyWithoutChildren$0();
  100722. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  100723. copy = rest[_i].copyWithoutChildren$0();
  100724. copy.addChild$1(outerCopy);
  100725. }
  100726. root.addChild$1(outerCopy);
  100727. } else
  100728. innerCopy = root;
  100729. _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4(_this, node));
  100730. return _null;
  100731. },
  100732. _evaluate0$_trimIncluded$1(nodes) {
  100733. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  100734. _s22_ = " to be an ancestor of ";
  100735. if (nodes.length === 0)
  100736. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  100737. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  100738. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  100739. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  100740. _0_0 = $parent._node$_parent;
  100741. if (_0_0 == null)
  100742. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  100743. }
  100744. if (innermostContiguous == null)
  100745. innermostContiguous = i;
  100746. _1_0 = $parent._node$_parent;
  100747. if (_1_0 == null)
  100748. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  100749. }
  100750. if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  100751. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  100752. innermostContiguous.toString;
  100753. root = nodes[innermostContiguous];
  100754. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  100755. return root;
  100756. },
  100757. _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  100758. var _this = this,
  100759. scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
  100760. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  100761. if (t1 !== query.include)
  100762. scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
  100763. if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  100764. scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
  100765. if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  100766. scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
  100767. return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
  100768. },
  100769. visitContentBlock$1(_, node) {
  100770. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  100771. },
  100772. visitContentRule$1(_, node) {
  100773. var $content = this._evaluate0$_environment._environment0$_content;
  100774. if ($content == null)
  100775. return null;
  100776. this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
  100777. return null;
  100778. },
  100779. visitDebugRule$1(_, node) {
  100780. var value = node.expression.accept$1(this),
  100781. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  100782. this._evaluate0$_logger.debug$2(0, t1, node.span);
  100783. return null;
  100784. },
  100785. visitDeclaration$1(_, node) {
  100786. var siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName, _this = this, _null = null,
  100787. _s8_ = "__parent";
  100788. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
  100789. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
  100790. if (_this._evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  100791. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarw, node.span));
  100792. siblings = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)._node$_parent.children;
  100793. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule_2);
  100794. if (siblings.get$last(siblings) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_))
  100795. t1 = !(_this._evaluate0$_quietDeps && _this._evaluate0$_inDependency);
  100796. else
  100797. t1 = false;
  100798. if (t1)
  100799. 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();) {
  100800. t6 = t1.__internal$_current;
  100801. rule = t6 == null ? t2._as(t6) : t6;
  100802. $label0$1: {
  100803. if (rule instanceof A.ModifiableCssComment0)
  100804. continue;
  100805. t6 = rule instanceof A.ModifiableCssStyleRule0;
  100806. rule0 = t6 ? rule : _null;
  100807. if (t6) {
  100808. interleavedRules.push(rule0);
  100809. break $label0$1;
  100810. }
  100811. _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);
  100812. B.JSArray_methods.clear$0(interleavedRules);
  100813. break $label0$1;
  100814. }
  100815. }
  100816. t1 = node.name;
  100817. $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t1, true);
  100818. _1_0 = _this._evaluate0$_declarationName;
  100819. if (_1_0 != null)
  100820. $name = new A.CssValue0(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  100821. _2_0 = node.value;
  100822. if (_2_0 != null) {
  100823. value = _2_0.accept$1(_this);
  100824. if (!value.get$isBlank() || value.get$asList().length === 0) {
  100825. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_);
  100826. t3 = _2_0.get$span(_2_0);
  100827. t4 = node.span;
  100828. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  100829. t5 = interleavedRules.length === 0 ? _null : _this._evaluate0$_stackTrace$1(t4);
  100830. if (_this._evaluate0$_sourceMap) {
  100831. t6 = A.NullableExtension_andThen0(_2_0, _this.get$_evaluate0$_expressionNode());
  100832. t6 = t6 == null ? _null : J.get$span$z(t6);
  100833. } else
  100834. t6 = _null;
  100835. t2.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t3, type$.CssValue_Value_2), t4, interleavedRules, t1, t5, t6));
  100836. } else if (J.startsWith$1$s($name.value, "--"))
  100837. throw A.wrapException(_this._evaluate0$_exception$2("Custom property values may not be empty.", _2_0.get$span(_2_0)));
  100838. }
  100839. _3_0 = node.children;
  100840. t1 = {};
  100841. t1.children = null;
  100842. if (_3_0 != null) {
  100843. t1.children = _3_0;
  100844. oldDeclarationName = _this._evaluate0$_declarationName;
  100845. _this._evaluate0$_declarationName = $name.value;
  100846. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure1(t1, _this), node.hasDeclarations, type$.Null);
  100847. _this._evaluate0$_declarationName = oldDeclarationName;
  100848. }
  100849. return _null;
  100850. },
  100851. visitEachRule$1(_, node) {
  100852. var _this = this,
  100853. t1 = node.list,
  100854. list = t1.accept$1(_this),
  100855. nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
  100856. _0_0 = node.variables;
  100857. $label0$0: {
  100858. t1 = {};
  100859. t1.variable = null;
  100860. if (_0_0.length === 1) {
  100861. t1.variable = _0_0[0];
  100862. t1 = new A._EvaluateVisitor_visitEachRule_closure5(t1, _this, nodeWithSpan);
  100863. break $label0$0;
  100864. }
  100865. t1 = {};
  100866. t1.variables = null;
  100867. t1.variables = _0_0;
  100868. t1 = new A._EvaluateVisitor_visitEachRule_closure6(t1, _this, nodeWithSpan);
  100869. break $label0$0;
  100870. }
  100871. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, t1, node), true, type$.nullable_Value_2);
  100872. },
  100873. _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  100874. var i,
  100875. list = value.get$asList(),
  100876. t1 = variables.length,
  100877. minLength = Math.min(t1, list.length);
  100878. for (i = 0; i < minLength; ++i)
  100879. this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  100880. for (i = minLength; i < t1; ++i)
  100881. this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  100882. },
  100883. visitErrorRule$1(_, node) {
  100884. throw A.wrapException(this._evaluate0$_exception$2(node.expression.accept$1(this).toString$0(0), node.span));
  100885. },
  100886. visitExtendRule$1(_, node) {
  100887. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, _this = this, _null = null,
  100888. styleRule = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  100889. if (styleRule == null || _this._evaluate0$_declarationName != null)
  100890. throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
  100891. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  100892. complex = t1[_i];
  100893. if (!complex.accept$1(B._IsBogusVisitor_true0))
  100894. continue;
  100895. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  100896. complex.accept$1(visitor);
  100897. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  100898. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  100899. _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);
  100900. }
  100901. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true);
  100902. 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) {
  100903. complex = t1[_i];
  100904. compound = complex.get$singleCompound();
  100905. if (compound == null)
  100906. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, _null));
  100907. t4 = compound.components;
  100908. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  100909. if (t5 == null)
  100910. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  100911. _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._evaluate0$_mediaQueries);
  100912. }
  100913. return _null;
  100914. },
  100915. visitAtRule$1(_, node) {
  100916. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  100917. if (_this._evaluate0$_declarationName != null)
  100918. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  100919. $name = _this._evaluate0$_interpolationToValue$1(node.name);
  100920. value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
  100921. children = node.children;
  100922. if (children == null) {
  100923. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  100924. return null;
  100925. }
  100926. wasInKeyframes = _this._evaluate0$_inKeyframes;
  100927. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  100928. if (A.unvendor0($name.value) === "keyframes")
  100929. _this._evaluate0$_inKeyframes = true;
  100930. else
  100931. _this._evaluate0$_inUnknownAtRule = true;
  100932. _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);
  100933. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  100934. _this._evaluate0$_inKeyframes = wasInKeyframes;
  100935. return null;
  100936. },
  100937. visitForRule$1(_, node) {
  100938. var _this = this, t1 = {},
  100939. t2 = node.from,
  100940. fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
  100941. t3 = node.to,
  100942. toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
  100943. from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
  100944. to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
  100945. direction = from > to ? -1 : 1;
  100946. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  100947. return null;
  100948. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
  100949. },
  100950. visitForwardRule$1(_, node) {
  100951. var newConfiguration, t4, _i, variable, $name, _this = this,
  100952. _s8_ = "@forward",
  100953. oldConfiguration = _this._evaluate0$_configuration,
  100954. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  100955. t1 = node.configuration,
  100956. t2 = t1.length,
  100957. t3 = node.url;
  100958. if (t2 !== 0) {
  100959. newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
  100960. _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
  100961. t3 = type$.String;
  100962. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  100963. for (_i = 0; _i < t2; ++_i) {
  100964. variable = t1[_i];
  100965. if (!variable.isGuarded)
  100966. t4.add$1(0, variable.name);
  100967. }
  100968. _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  100969. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  100970. for (_i = 0; _i < t2; ++_i)
  100971. t3.add$1(0, t1[_i].name);
  100972. for (t1 = newConfiguration._configuration0$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  100973. $name = t2[_i];
  100974. if (!t3.contains$1(0, $name))
  100975. if (!t1.get$isEmpty(t1))
  100976. t1.remove$1(0, $name);
  100977. }
  100978. _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  100979. } else {
  100980. _this._evaluate0$_configuration = adjustedConfiguration;
  100981. _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
  100982. _this._evaluate0$_configuration = oldConfiguration;
  100983. }
  100984. return null;
  100985. },
  100986. _evaluate0$_addForwardConfiguration$2(configuration, node) {
  100987. var t2, t3, _i, variable, t4, _0_0, t5, oldValue, variableNodeWithSpan, _null = null,
  100988. t1 = configuration._configuration0$_values,
  100989. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  100990. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  100991. variable = t2[_i];
  100992. if (variable.isGuarded) {
  100993. t4 = variable.name;
  100994. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  100995. if (_0_0 != null) {
  100996. t5 = !_0_0.value.$eq(0, B.C__SassNull0);
  100997. oldValue = _0_0;
  100998. } else {
  100999. oldValue = _null;
  101000. t5 = false;
  101001. }
  101002. if (t5) {
  101003. newValues.$indexSet(0, t4, oldValue);
  101004. continue;
  101005. }
  101006. }
  101007. t4 = variable.expression;
  101008. variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
  101009. newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  101010. }
  101011. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
  101012. return new A.ExplicitConfiguration0(node, newValues, _null);
  101013. else
  101014. return new A.Configuration0(newValues, _null);
  101015. },
  101016. _evaluate0$_registerCommentsForModule$1(module) {
  101017. var _this = this, _s5_ = "_root",
  101018. t1 = _this._evaluate0$__root;
  101019. if (t1 == null)
  101020. return;
  101021. if (_this._evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  101022. return;
  101023. t1 = _this._evaluate0$_preModuleComments;
  101024. if (t1 == null)
  101025. t1 = _this._evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.List_CssComment_2);
  101026. 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));
  101027. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).clearChildren$0();
  101028. _this._evaluate0$__endOfImports = 0;
  101029. },
  101030. _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  101031. var t1, t2, t3, t4, _i, $name;
  101032. for (t1 = upstream._configuration0$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._configuration0$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  101033. $name = t2[_i];
  101034. if (except.contains$1(0, $name))
  101035. continue;
  101036. if (!t4.containsKey$1($name))
  101037. if (!t1.get$isEmpty(t1))
  101038. t1.remove$1(0, $name);
  101039. }
  101040. },
  101041. _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  101042. var t1, _0_0, $name, value;
  101043. if (!(configuration instanceof A.ExplicitConfiguration0))
  101044. return;
  101045. t1 = configuration._configuration0$_values;
  101046. if (t1.get$isEmpty(t1))
  101047. return;
  101048. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  101049. _0_0 = t1.get$first(t1);
  101050. $name = _0_0._0;
  101051. value = _0_0._1;
  101052. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  101053. throw A.wrapException(this._evaluate0$_exception$2(t1, value.configurationSpan));
  101054. },
  101055. _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  101056. return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  101057. },
  101058. visitFunctionRule$1(_, node) {
  101059. var t1 = this._evaluate0$_environment,
  101060. t2 = t1.closure$0(),
  101061. t3 = this._evaluate0$_inDependency,
  101062. t4 = t1._environment0$_functions,
  101063. index = t4.length - 1,
  101064. t5 = node.name;
  101065. t1._environment0$_functionIndices.$indexSet(0, t5, index);
  101066. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  101067. return null;
  101068. },
  101069. visitIfRule$1(_, node) {
  101070. var t1, t2, _i, clauseToCheck,
  101071. clause = node.lastClause;
  101072. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  101073. clauseToCheck = t1[_i];
  101074. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  101075. clause = clauseToCheck;
  101076. break;
  101077. }
  101078. }
  101079. return A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure1(this));
  101080. },
  101081. visitImportRule$1(_, node) {
  101082. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  101083. _s8_ = "__parent",
  101084. _s5_ = "_root",
  101085. _s13_ = "_endOfImports";
  101086. 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) {
  101087. $import = t1[_i];
  101088. if ($import instanceof A.DynamicImport0)
  101089. _this._evaluate0$_visitDynamicImport$1($import);
  101090. else {
  101091. t5._as($import);
  101092. t7 = $import.url;
  101093. _0_0 = _this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  101094. $self = $import.modifiers;
  101095. t8 = $self == null ? null : t4.call$1($self);
  101096. node = new A.ModifiableCssImport0(new A.CssValue0(_0_0._0, t7.span, t3), t8, $import.span);
  101097. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  101098. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
  101099. 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)) {
  101100. t7 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  101101. node._node$_parent = t7;
  101102. t7 = t7._node$_children;
  101103. node._node$_indexInParent = t7.length;
  101104. t7.push(node);
  101105. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  101106. } else {
  101107. t7 = _this._evaluate0$_outOfOrderImports;
  101108. (t7 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  101109. }
  101110. }
  101111. }
  101112. return null;
  101113. },
  101114. _evaluate0$_visitDynamicImport$1($import) {
  101115. return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
  101116. },
  101117. _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  101118. 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,
  101119. _s11_ = "_stylesheet";
  101120. baseUrl = baseUrl;
  101121. try {
  101122. _this._evaluate0$_importSpan = span;
  101123. _0_0 = _this._evaluate0$_importCache;
  101124. importCache = null;
  101125. if (_0_0 != null) {
  101126. importCache = _0_0;
  101127. if (baseUrl == null)
  101128. baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url;
  101129. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
  101130. importer = null;
  101131. canonicalUrl = null;
  101132. originalUrl = null;
  101133. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  101134. importer = _1_0._0;
  101135. canonicalUrl = _1_0._1;
  101136. originalUrl = _1_0._2;
  101137. if (canonicalUrl.get$scheme() === "")
  101138. A.WarnForDeprecation_warnForDeprecation0(_this._evaluate0$_logger, B.Deprecation_Ord, "Importer " + A.S(importer) + " canonicalized " + url + " to " + A.S(canonicalUrl) + string$.x2e_Rela, null, null);
  101139. _this._evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  101140. isDependency = _this._evaluate0$_inDependency || !J.$eq$(importer, _this._evaluate0$_importer);
  101141. _2_0 = importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl);
  101142. stylesheet = null;
  101143. if (_2_0 != null) {
  101144. stylesheet = _2_0;
  101145. t1 = stylesheet;
  101146. t2 = importer;
  101147. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  101148. }
  101149. }
  101150. }
  101151. if (_this._nodeImporter != null) {
  101152. t1 = baseUrl;
  101153. _3_0 = _this._importLikeNode$3(url, t1 == null ? _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url : t1, forImport);
  101154. result = null;
  101155. if (_3_0 != null) {
  101156. result = _3_0;
  101157. t1 = _this._evaluate0$_loadedUrls;
  101158. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  101159. t1 = result;
  101160. return t1;
  101161. }
  101162. }
  101163. t1 = B.JSString_methods.startsWith$1(url, "package:");
  101164. if (t1)
  101165. throw A.wrapException(string$.x22packa);
  101166. else
  101167. throw A.wrapException("Can't find stylesheet to import.");
  101168. } catch (exception) {
  101169. t1 = A.unwrapException(exception);
  101170. if (t1 instanceof A.SassException0)
  101171. throw exception;
  101172. else if (t1 instanceof A.ArgumentError) {
  101173. error = t1;
  101174. stackTrace = A.getTraceFromException(exception);
  101175. A.throwWithTrace0(_this._evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  101176. } else {
  101177. error0 = t1;
  101178. stackTrace0 = A.getTraceFromException(exception);
  101179. A.throwWithTrace0(_this._evaluate0$_exception$1(_this._evaluate0$_getErrorMessage$1(error0)), error0, stackTrace0);
  101180. }
  101181. } finally {
  101182. _this._evaluate0$_importSpan = null;
  101183. }
  101184. },
  101185. _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  101186. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  101187. },
  101188. _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  101189. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  101190. },
  101191. _importLikeNode$3(originalUrl, previous, forImport) {
  101192. var isDependency, url,
  101193. t1 = this._nodeImporter,
  101194. result = t1.loadRelative$3(originalUrl, previous, forImport);
  101195. if (result != null)
  101196. isDependency = this._evaluate0$_inDependency;
  101197. else {
  101198. result = t1.load$3(0, originalUrl, previous, forImport);
  101199. if (result == null)
  101200. return null;
  101201. isDependency = true;
  101202. }
  101203. url = result._1;
  101204. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  101205. return new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, url), null, isDependency);
  101206. },
  101207. _evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  101208. var t1, _0_0, t2, _1_8, _this = this,
  101209. _s37_ = "Mixin doesn't accept a content block.",
  101210. _s10_ = "invocation";
  101211. $label0$0: {
  101212. if (mixin == null)
  101213. throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  101214. t1 = mixin instanceof A.BuiltInCallable0;
  101215. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  101216. t1 = _this._evaluate0$_evaluateArguments$1($arguments)._values;
  101217. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  101218. 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));
  101219. }
  101220. if (t1) {
  101221. _this._evaluate0$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure3(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  101222. break $label0$0;
  101223. }
  101224. t1 = type$.UserDefinedCallable_Environment_2._is(mixin);
  101225. t2 = false;
  101226. if (t1) {
  101227. _1_8 = mixin.declaration;
  101228. if (_1_8 instanceof A.MixinRule0)
  101229. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  101230. }
  101231. if (t2)
  101232. 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));
  101233. if (t1) {
  101234. _this._evaluate0$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure4(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  101235. break $label0$0;
  101236. }
  101237. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  101238. }
  101239. },
  101240. visitIncludeRule$1(_, node) {
  101241. var _this = this,
  101242. mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure5(_this, node));
  101243. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  101244. _this._evaluate0$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_d4j);
  101245. _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)));
  101246. return null;
  101247. },
  101248. visitMixinRule$1(_, node) {
  101249. var t1 = this._evaluate0$_environment,
  101250. t2 = t1.closure$0(),
  101251. t3 = this._evaluate0$_inDependency,
  101252. t4 = t1._environment0$_mixins,
  101253. index = t4.length - 1,
  101254. t5 = node.name;
  101255. t1._environment0$_mixinIndices.$indexSet(0, t5, index);
  101256. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  101257. return null;
  101258. },
  101259. visitLoudComment$1(_, node) {
  101260. var t1, text, _this = this,
  101261. _s8_ = "__parent",
  101262. _s13_ = "_endOfImports";
  101263. if (_this._evaluate0$_inFunction)
  101264. return null;
  101265. 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))
  101266. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  101267. t1 = node.text;
  101268. text = _this._evaluate0$_performInterpolation$1(t1);
  101269. if (!B.JSString_methods.endsWith$1(text, "*/"))
  101270. text += " */";
  101271. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(text, t1.span));
  101272. return null;
  101273. },
  101274. visitMediaRule$1(_, node) {
  101275. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  101276. if (_this._evaluate0$_declarationName != null)
  101277. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  101278. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.query, true);
  101279. queries = new A.MediaQueryParser0(A.SpanScanner$(_0_0._0, null), _0_0._1).parse$0(0);
  101280. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
  101281. t1 = mergedQueries == null;
  101282. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  101283. return null;
  101284. if (t1)
  101285. mergedSources = B.Set_empty5;
  101286. else {
  101287. t2 = _this._evaluate0$_mediaQuerySources;
  101288. t2.toString;
  101289. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  101290. t3 = _this._evaluate0$_mediaQueries;
  101291. t3.toString;
  101292. t2.addAll$1(0, t3);
  101293. t2.addAll$1(0, queries);
  101294. mergedSources = t2;
  101295. }
  101296. t1 = t1 ? queries : mergedQueries;
  101297. _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);
  101298. return null;
  101299. },
  101300. _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  101301. var t1, t2, t3, t4, _0_0, t5, result,
  101302. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  101303. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  101304. t3 = t1.get$current(t1);
  101305. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  101306. _0_0 = t3.merge$1(t4.get$current(t4));
  101307. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  101308. continue;
  101309. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  101310. return null;
  101311. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult0;
  101312. result = t5 ? _0_0 : null;
  101313. if (t5)
  101314. queries.push(result.query);
  101315. }
  101316. }
  101317. return queries;
  101318. },
  101319. visitReturnRule$1(_, node) {
  101320. var t1 = node.expression;
  101321. return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
  101322. },
  101323. visitSilentComment$1(_, node) {
  101324. return null;
  101325. },
  101326. visitStyleRule$1(_, node) {
  101327. var t1, _0_0, selectorText, selectorMap, parsedSelector, nest, t2, _i, _1_0, first, t3, rule, oldAtRootExcludingStyleRule, _this = this, _null = null,
  101328. _s8_ = "__parent",
  101329. _s11_ = "_stylesheet";
  101330. if (_this._evaluate0$_declarationName != null)
  101331. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_n, node.span));
  101332. else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
  101333. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_k, node.span));
  101334. t1 = node.selector;
  101335. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true);
  101336. selectorText = _0_0._0;
  101337. selectorMap = _0_0._1;
  101338. if (_this._evaluate0$_inKeyframes) {
  101339. _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);
  101340. return _null;
  101341. }
  101342. parsedSelector = A.SelectorList_SelectorList$parse0(selectorText, true, selectorMap, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss);
  101343. t1 = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  101344. t1 = t1 == null ? _null : t1.fromPlainCss;
  101345. nest = t1 !== true;
  101346. if (nest) {
  101347. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss)
  101348. for (t1 = parsedSelector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  101349. _1_0 = t1[_i].leadingCombinators;
  101350. if (_1_0.length >= 1) {
  101351. first = _1_0[0];
  101352. t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss;
  101353. } else {
  101354. first = _null;
  101355. t3 = false;
  101356. }
  101357. if (t3)
  101358. throw A.wrapException(_this._evaluate0$_exception$2(string$.Top_lel, first.span));
  101359. }
  101360. t1 = _this._evaluate0$_styleRuleIgnoringAtRoot;
  101361. t1 = t1 == null ? _null : t1.originalSelector;
  101362. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t1, !_this._evaluate0$_atRootExcludingStyleRule, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss);
  101363. }
  101364. 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);
  101365. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  101366. t1 = _this._evaluate0$_atRootExcludingStyleRule = false;
  101367. t2 = nest ? new A._EvaluateVisitor_visitStyleRule_closure9() : _null;
  101368. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure10(_this, rule, node), node.hasDeclarations, t2, type$.ModifiableCssStyleRule_2, type$.Null);
  101369. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  101370. _this._evaluate0$_warnForBogusCombinators$1(rule);
  101371. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
  101372. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  101373. t1 = !t1.get$isEmpty(t1);
  101374. }
  101375. if (t1) {
  101376. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  101377. t1.get$last(t1).isGroupEnd = true;
  101378. }
  101379. return _null;
  101380. },
  101381. _evaluate0$_warnForBogusCombinators$1(rule) {
  101382. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  101383. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  101384. 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) {
  101385. complex = t1[_i];
  101386. if (!complex.accept$1(B._IsBogusVisitor_true0))
  101387. continue;
  101388. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  101389. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101390. complex.accept$1(visitor);
  101391. _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);
  101392. } else if (complex.leadingCombinators.length !== 0) {
  101393. if (!_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  101394. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101395. complex.accept$1(visitor);
  101396. _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);
  101397. }
  101398. } else {
  101399. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101400. complex.accept$1(visitor);
  101401. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  101402. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  101403. t8 = A.SpanExtensions_trimRight0(complex.span);
  101404. if (t5.get$length(0) === 0)
  101405. A.throwExpression(A.IterableElementError_noElement());
  101406. t9 = J.get$span$z(t5.$index(0, 0));
  101407. _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);
  101408. }
  101409. }
  101410. },
  101411. visitSupportsRule$1(_, node) {
  101412. var t1, _this = this;
  101413. if (_this._evaluate0$_declarationName != null)
  101414. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  101415. t1 = node.condition;
  101416. _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);
  101417. return null;
  101418. },
  101419. _evaluate0$_visitSupportsCondition$1(condition) {
  101420. var t1, _this = this;
  101421. $label0$0: {
  101422. if (condition instanceof A.SupportsOperation0) {
  101423. t1 = condition.operator;
  101424. t1 = _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
  101425. break $label0$0;
  101426. }
  101427. if (condition instanceof A.SupportsNegation0) {
  101428. t1 = "not " + _this._evaluate0$_parenthesize$1(condition.condition);
  101429. break $label0$0;
  101430. }
  101431. if (condition instanceof A.SupportsInterpolation0) {
  101432. t1 = condition.expression;
  101433. t1 = _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
  101434. break $label0$0;
  101435. }
  101436. t1 = {};
  101437. t1.declaration = null;
  101438. if (condition instanceof A.SupportsDeclaration0) {
  101439. t1.declaration = condition;
  101440. t1 = _this._evaluate0$_withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure1(t1, _this));
  101441. break $label0$0;
  101442. }
  101443. if (condition instanceof A.SupportsFunction0) {
  101444. t1 = _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
  101445. break $label0$0;
  101446. }
  101447. if (condition instanceof A.SupportsAnything0) {
  101448. t1 = "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
  101449. break $label0$0;
  101450. }
  101451. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  101452. }
  101453. return t1;
  101454. },
  101455. _evaluate0$_withSupportsDeclaration$1$1(callback) {
  101456. var t1,
  101457. oldInSupportsDeclaration = this._evaluate0$_inSupportsDeclaration;
  101458. this._evaluate0$_inSupportsDeclaration = true;
  101459. try {
  101460. t1 = callback.call$0();
  101461. return t1;
  101462. } finally {
  101463. this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  101464. }
  101465. },
  101466. _evaluate0$_withSupportsDeclaration$1(callback) {
  101467. return this._evaluate0$_withSupportsDeclaration$1$1(callback, type$.dynamic);
  101468. },
  101469. _evaluate0$_parenthesize$2(condition, operator) {
  101470. var t1;
  101471. if (!(condition instanceof A.SupportsNegation0))
  101472. if (condition instanceof A.SupportsOperation0)
  101473. t1 = operator == null || operator !== condition.operator;
  101474. else
  101475. t1 = false;
  101476. else
  101477. t1 = true;
  101478. if (t1)
  101479. return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
  101480. return this._evaluate0$_visitSupportsCondition$1(condition);
  101481. },
  101482. _evaluate0$_parenthesize$1(condition) {
  101483. return this._evaluate0$_parenthesize$2(condition, null);
  101484. },
  101485. visitVariableDeclaration$1(_, node) {
  101486. var t1, _0_0, t2, value, _this = this, _null = null;
  101487. if (node.isGuarded) {
  101488. if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
  101489. t1 = _this._evaluate0$_configuration._configuration0$_values;
  101490. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
  101491. t1 = {};
  101492. t1.override = null;
  101493. if (_0_0 != null) {
  101494. t1.override = _0_0;
  101495. t2 = !_0_0.value.$eq(0, B.C__SassNull0);
  101496. } else
  101497. t2 = false;
  101498. if (t2) {
  101499. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(t1, _this, node));
  101500. return _null;
  101501. }
  101502. }
  101503. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
  101504. if (value != null && !value.$eq(0, B.C__SassNull0))
  101505. return _null;
  101506. }
  101507. if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
  101508. 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.";
  101509. _this._evaluate0$_warn$3(t1, node.span, B.Deprecation_mSy);
  101510. }
  101511. t1 = node.expression;
  101512. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
  101513. return _null;
  101514. },
  101515. visitUseRule$1(_, node) {
  101516. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  101517. t1 = node.configuration,
  101518. t2 = t1.length;
  101519. if (t2 !== 0) {
  101520. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  101521. for (_i = 0; _i < t2; ++_i) {
  101522. variable = t1[_i];
  101523. t3 = variable.expression;
  101524. variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
  101525. values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  101526. }
  101527. configuration = new A.ExplicitConfiguration0(node, values, null);
  101528. } else
  101529. configuration = B.Configuration_Map_empty_null0;
  101530. _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
  101531. _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
  101532. return null;
  101533. },
  101534. visitWarnRule$1(_, node) {
  101535. var _this = this,
  101536. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
  101537. t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression),
  101538. t2 = _this._evaluate0$_stackTrace$1(node.span);
  101539. _this._evaluate0$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  101540. return null;
  101541. },
  101542. visitWhileRule$1(_, node) {
  101543. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  101544. },
  101545. visitBinaryOperationExpression$1(_, node) {
  101546. var t1, _this = this;
  101547. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  101548. t1 = node.operator;
  101549. t1 = t1 !== B.BinaryOperator_Kyq0 && t1 !== B.BinaryOperator_Mh50;
  101550. } else
  101551. t1 = false;
  101552. if (t1)
  101553. throw A.wrapException(_this._evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  101554. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(_this, node));
  101555. },
  101556. _evaluate0$_slash$3(left, right, node) {
  101557. var t2, _1_1,
  101558. result = left.dividedBy$1(right),
  101559. _1_2_isSet = left instanceof A.SassNumber0,
  101560. _1_2 = null, right0 = null,
  101561. t1 = false;
  101562. if (_1_2_isSet) {
  101563. t2 = type$.SassNumber_2;
  101564. t2._as(left);
  101565. if (right instanceof A.SassNumber0) {
  101566. t2._as(right);
  101567. t1 = node.allowsSlash && this._evaluate0$_operandAllowsSlash$1(node.left) && this._evaluate0$_operandAllowsSlash$1(node.right);
  101568. right0 = right;
  101569. _1_2 = right0;
  101570. } else
  101571. _1_2 = right;
  101572. _1_1 = left;
  101573. } else {
  101574. _1_1 = left;
  101575. left = null;
  101576. }
  101577. if (t1)
  101578. return type$.SassNumber_2._as(result).withSlash$2(left, right0);
  101579. if (_1_1 instanceof A.SassNumber0)
  101580. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  101581. else
  101582. t1 = false;
  101583. if (t1) {
  101584. 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);
  101585. return result;
  101586. }
  101587. return result;
  101588. },
  101589. _evaluate0$_operandAllowsSlash$1(node) {
  101590. var t1;
  101591. if (node instanceof A.FunctionExpression0)
  101592. if (node.namespace == null) {
  101593. t1 = node.name;
  101594. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._evaluate0$_environment.getFunction$1(t1) == null;
  101595. } else
  101596. t1 = false;
  101597. else
  101598. t1 = true;
  101599. return t1;
  101600. },
  101601. visitValueExpression$1(_, node) {
  101602. return node.value;
  101603. },
  101604. visitVariableExpression$1(_, node) {
  101605. var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
  101606. if (result != null)
  101607. return result;
  101608. throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
  101609. },
  101610. visitUnaryOperationExpression$1(_, node) {
  101611. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
  101612. },
  101613. visitBooleanExpression$1(_, node) {
  101614. return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  101615. },
  101616. visitIfExpression$1(_, node) {
  101617. var condition, t1, ifTrue, ifFalse, result, _this = this,
  101618. _0_0 = _this._evaluate0$_evaluateMacroArguments$1(node),
  101619. positional = _0_0._0,
  101620. named = _0_0._1;
  101621. _this._evaluate0$_verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration0(), node);
  101622. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  101623. if (condition == null) {
  101624. t1 = named.$index(0, "condition");
  101625. t1.toString;
  101626. condition = t1;
  101627. }
  101628. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  101629. if (ifTrue == null) {
  101630. t1 = named.$index(0, "if-true");
  101631. t1.toString;
  101632. ifTrue = t1;
  101633. }
  101634. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  101635. if (ifFalse == null) {
  101636. t1 = named.$index(0, "if-false");
  101637. t1.toString;
  101638. ifFalse = t1;
  101639. }
  101640. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  101641. return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
  101642. },
  101643. visitNullExpression$1(_, node) {
  101644. return B.C__SassNull0;
  101645. },
  101646. visitNumberExpression$1(_, node) {
  101647. return A.SassNumber_SassNumber0(node.value, node.unit);
  101648. },
  101649. visitParenthesizedExpression$1(_, node) {
  101650. var _this = this;
  101651. 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);
  101652. },
  101653. visitColorExpression$1(_, node) {
  101654. return node.value;
  101655. },
  101656. visitListExpression$1(_, node) {
  101657. var t1 = node.contents;
  101658. 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);
  101659. },
  101660. visitMapExpression$1(_, node) {
  101661. var t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan,
  101662. t1 = type$.Value_2,
  101663. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  101664. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  101665. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  101666. t4 = t2[_i];
  101667. key = t4._0;
  101668. keyValue = key.accept$1(this);
  101669. valueValue = t4._1.accept$1(this);
  101670. if (map.containsKey$1(keyValue)) {
  101671. t1 = keyNodes.$index(0, keyValue);
  101672. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  101673. t1 = key.get$span(key);
  101674. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  101675. if (oldValueSpan != null)
  101676. t2.$indexSet(0, oldValueSpan, "first key");
  101677. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, this._evaluate0$_stackTrace$1(key.get$span(key)), null));
  101678. }
  101679. map.$indexSet(0, keyValue, valueValue);
  101680. keyNodes.$indexSet(0, keyValue, key);
  101681. }
  101682. return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  101683. },
  101684. visitFunctionExpression$1(_, node) {
  101685. var t2, _0_0, t3, t4, $name, oldInFunction, result, _this = this,
  101686. _s11_ = "_stylesheet",
  101687. t1 = {},
  101688. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5(_this, node));
  101689. t1.$function = $function;
  101690. if ($function == null) {
  101691. if (node.namespace != null)
  101692. throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
  101693. t2 = node.name;
  101694. _0_0 = t2.toLowerCase();
  101695. t3 = false;
  101696. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  101697. t3 = node.$arguments;
  101698. t4 = t3.named;
  101699. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure6());
  101700. $name = _0_0;
  101701. } else
  101702. $name = null;
  101703. if (t3)
  101704. return _this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, $name);
  101705. 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)
  101706. return _this._evaluate0$_visitCalculation$1(node);
  101707. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_builtInFunctions.$index(0, t2);
  101708. t2 = t1.$function = $function == null ? new A.PlainCssCallable0(node.originalName) : $function;
  101709. } else
  101710. t2 = $function;
  101711. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  101712. _this._evaluate0$_warn$3(string$.Sassx20_ff, node.get$nameSpan(), B.Deprecation_d4j);
  101713. oldInFunction = _this._evaluate0$_inFunction;
  101714. _this._evaluate0$_inFunction = true;
  101715. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure7(t1, _this, node));
  101716. _this._evaluate0$_inFunction = oldInFunction;
  101717. return result;
  101718. },
  101719. _evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  101720. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  101721. t2 = node.$arguments,
  101722. t3 = t2.named;
  101723. if (t3.get$isNotEmpty(t3))
  101724. throw A.wrapException(_this._evaluate0$_exception$2(string$.Keywor, node.span));
  101725. else if (t2.rest != null)
  101726. throw A.wrapException(_this._evaluate0$_exception$2(string$.Rest_a, node.span));
  101727. _this._evaluate0$_checkCalculationArguments$1(node);
  101728. t3 = A._setArrayType([], type$.JSArray_Object);
  101729. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  101730. t3.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  101731. $arguments = t3;
  101732. if (_this._evaluate0$_inSupportsDeclaration)
  101733. return new A.SassCalculation0(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  101734. oldCallableNode = _this._evaluate0$_callableNode;
  101735. _this._evaluate0$_callableNode = node;
  101736. try {
  101737. t1 = null;
  101738. t3 = node.name;
  101739. _0_0 = t3.toLowerCase();
  101740. $label0$0: {
  101741. if ("calc" === _0_0) {
  101742. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  101743. break $label0$0;
  101744. }
  101745. if ("sqrt" === _0_0) {
  101746. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  101747. break $label0$0;
  101748. }
  101749. if ("sin" === _0_0) {
  101750. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  101751. break $label0$0;
  101752. }
  101753. if ("cos" === _0_0) {
  101754. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  101755. break $label0$0;
  101756. }
  101757. if ("tan" === _0_0) {
  101758. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  101759. break $label0$0;
  101760. }
  101761. if ("asin" === _0_0) {
  101762. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  101763. break $label0$0;
  101764. }
  101765. if ("acos" === _0_0) {
  101766. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  101767. break $label0$0;
  101768. }
  101769. if ("atan" === _0_0) {
  101770. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  101771. break $label0$0;
  101772. }
  101773. if ("abs" === _0_0) {
  101774. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  101775. break $label0$0;
  101776. }
  101777. if ("exp" === _0_0) {
  101778. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  101779. break $label0$0;
  101780. }
  101781. if ("sign" === _0_0) {
  101782. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  101783. break $label0$0;
  101784. }
  101785. if ("min" === _0_0) {
  101786. t1 = A.SassCalculation_min0($arguments);
  101787. break $label0$0;
  101788. }
  101789. if ("max" === _0_0) {
  101790. t1 = A.SassCalculation_max0($arguments);
  101791. break $label0$0;
  101792. }
  101793. if ("hypot" === _0_0) {
  101794. t1 = A.SassCalculation_hypot0($arguments);
  101795. break $label0$0;
  101796. }
  101797. if ("pow" === _0_0) {
  101798. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101799. break $label0$0;
  101800. }
  101801. if ("atan2" === _0_0) {
  101802. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101803. break $label0$0;
  101804. }
  101805. if ("log" === _0_0) {
  101806. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101807. break $label0$0;
  101808. }
  101809. if ("mod" === _0_0) {
  101810. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101811. break $label0$0;
  101812. }
  101813. if ("rem" === _0_0) {
  101814. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101815. break $label0$0;
  101816. }
  101817. if ("round" === _0_0) {
  101818. 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));
  101819. break $label0$0;
  101820. }
  101821. if ("clamp" === _0_0) {
  101822. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  101823. break $label0$0;
  101824. }
  101825. if ("calc-size" === _0_0) {
  101826. t1 = A.SassCalculation_calcSize0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101827. break $label0$0;
  101828. }
  101829. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  101830. t1 = A.throwExpression(t3);
  101831. }
  101832. t1 = t1;
  101833. return t1;
  101834. } catch (exception) {
  101835. t1 = A.unwrapException(exception);
  101836. if (t1 instanceof A.SassScriptException0) {
  101837. error = t1;
  101838. stackTrace = A.getTraceFromException(exception);
  101839. if (B.JSString_methods.contains$1(error.message, "compatible"))
  101840. _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  101841. A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  101842. } else
  101843. throw exception;
  101844. } finally {
  101845. _this._evaluate0$_callableNode = oldCallableNode;
  101846. }
  101847. },
  101848. _evaluate0$_visitCalculation$1(node) {
  101849. return this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, null);
  101850. },
  101851. _evaluate0$_checkCalculationArguments$1(node) {
  101852. var t1, _0_0,
  101853. check = new A._EvaluateVisitor__checkCalculationArguments_check1(this, node);
  101854. $label0$0: {
  101855. t1 = node.name;
  101856. _0_0 = t1.toLowerCase();
  101857. 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) {
  101858. check.call$1(1);
  101859. break $label0$0;
  101860. }
  101861. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  101862. check.call$0();
  101863. break $label0$0;
  101864. }
  101865. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  101866. check.call$1(2);
  101867. break $label0$0;
  101868. }
  101869. if ("round" === _0_0 || "clamp" === _0_0) {
  101870. check.call$1(3);
  101871. break $label0$0;
  101872. }
  101873. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  101874. }
  101875. },
  101876. _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  101877. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  101878. for (i = 0; t1 = args.length, i < t1; ++i) {
  101879. _0_0 = args[i];
  101880. if (_0_0 instanceof A.SassNumber0) {
  101881. t1 = _0_0.get$hasComplexUnits();
  101882. arg = _0_0;
  101883. } else {
  101884. arg = null;
  101885. t1 = false;
  101886. }
  101887. if (t1) {
  101888. t1 = A.S(arg);
  101889. t2 = nodesWithSpans[i];
  101890. throw A.wrapException(this._evaluate0$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  101891. }
  101892. }
  101893. for (i = 0; i < t1 - 1; ++i) {
  101894. number1 = args[i];
  101895. if (!(number1 instanceof A.SassNumber0))
  101896. continue;
  101897. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  101898. number2 = args[j];
  101899. if (!(number2 instanceof A.SassNumber0))
  101900. continue;
  101901. if (number1.hasPossiblyCompatibleUnits$1(number2))
  101902. continue;
  101903. t1 = number1.toString$0(0);
  101904. t2 = number2.toString$0(0);
  101905. t3 = nodesWithSpans[i];
  101906. t3 = t3.get$span(t3);
  101907. t4 = number1.toString$0(0);
  101908. t5 = nodesWithSpans[j];
  101909. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  101910. t6 = nodesWithSpans[i];
  101911. throw A.wrapException(A.MultiSpanSassRuntimeException$0(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._evaluate0$_stackTrace$1(t6.get$span(t6)), null));
  101912. }
  101913. }
  101914. },
  101915. _evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  101916. var result, t2, _0_0, _box_0, _1_0, t3, _i, i, _this = this, _null = null,
  101917. t1 = node instanceof A.ParenthesizedExpression0,
  101918. inner = t1 ? node.expression : _null;
  101919. if (t1) {
  101920. result = _this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  101921. return result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  101922. }
  101923. if (node instanceof A.StringExpression0 && node.accept$1(B.C_IsCalculationSafeVisitor0)) {
  101924. t1 = node.text;
  101925. t2 = t1.get$asPlain();
  101926. _0_0 = t2 == null ? _null : t2.toLowerCase();
  101927. $label0$0: {
  101928. if ("pi" === _0_0) {
  101929. t1 = A.SassNumber_SassNumber0(3.141592653589793, _null);
  101930. break $label0$0;
  101931. }
  101932. if ("e" === _0_0) {
  101933. t1 = A.SassNumber_SassNumber0(2.718281828459045, _null);
  101934. break $label0$0;
  101935. }
  101936. if ("infinity" === _0_0) {
  101937. t1 = A.SassNumber_SassNumber0(1 / 0, _null);
  101938. break $label0$0;
  101939. }
  101940. if ("-infinity" === _0_0) {
  101941. t1 = A.SassNumber_SassNumber0(-1 / 0, _null);
  101942. break $label0$0;
  101943. }
  101944. if ("nan" === _0_0) {
  101945. t1 = A.SassNumber_SassNumber0(0 / 0, _null);
  101946. break $label0$0;
  101947. }
  101948. t1 = new A.SassString0(_this._evaluate0$_performInterpolation$1(t1), false);
  101949. break $label0$0;
  101950. }
  101951. return t1;
  101952. }
  101953. _box_0 = {};
  101954. _box_0.right = _box_0.left = _box_0.operator = null;
  101955. t1 = node instanceof A.BinaryOperationExpression0;
  101956. if (t1) {
  101957. _box_0.operator = node.operator;
  101958. _box_0.left = node.left;
  101959. _box_0.right = node.right;
  101960. }
  101961. if (t1) {
  101962. _this._evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  101963. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure1(_box_0, _this, node, inLegacySassFunction));
  101964. }
  101965. if (node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0) {
  101966. _1_0 = node.accept$1(_this);
  101967. $label1$1: {
  101968. if (_1_0 instanceof A.SassNumber0) {
  101969. t1 = _1_0;
  101970. break $label1$1;
  101971. }
  101972. if (_1_0 instanceof A.SassCalculation0) {
  101973. t1 = _1_0;
  101974. break $label1$1;
  101975. }
  101976. if (_1_0 instanceof A.SassString0) {
  101977. t1 = !_1_0._string0$_hasQuotes;
  101978. result = _1_0;
  101979. } else {
  101980. result = _null;
  101981. t1 = false;
  101982. }
  101983. if (t1) {
  101984. t1 = result;
  101985. break $label1$1;
  101986. }
  101987. t1 = A.throwExpression(_this._evaluate0$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  101988. }
  101989. return t1;
  101990. }
  101991. if (node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_qSL0 === node.separator && node.contents.length >= 2) {
  101992. t1 = A._setArrayType([], type$.JSArray_Object);
  101993. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  101994. t1.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  101995. _this._evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  101996. for (i = 0; i < t1.length; ++i) {
  101997. t3 = t1[i];
  101998. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  101999. t1[i] = new A.SassString0("(" + A.S(t3) + ")", false);
  102000. }
  102001. return new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  102002. }
  102003. throw A.wrapException(_this._evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  102004. },
  102005. _evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  102006. var t2, t3, t4, textBetweenOperands, first, last,
  102007. t1 = node.operator;
  102008. if (t1 !== B.BinaryOperator_Swh0 && t1 !== B.BinaryOperator_QG10)
  102009. return;
  102010. t1 = node.left;
  102011. t2 = t1.get$span(t1);
  102012. t2 = t2.get$file(t2);
  102013. t3 = node.right;
  102014. t4 = t3.get$span(t3);
  102015. if (t2 !== t4.get$file(t4))
  102016. return;
  102017. t2 = t1.get$span(t1);
  102018. t2 = t2.get$end(t2);
  102019. t4 = t3.get$span(t3);
  102020. if (t2.offset >= t4.get$start(t4).offset)
  102021. return;
  102022. t2 = t1.get$span(t1);
  102023. t2 = t2.get$file(t2);
  102024. t1 = t1.get$span(t1);
  102025. t1 = t1.get$end(t1);
  102026. t3 = t3.get$span(t3);
  102027. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  102028. first = textBetweenOperands.charCodeAt(0);
  102029. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  102030. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  102031. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  102032. else
  102033. t1 = true;
  102034. if (t1)
  102035. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  102036. },
  102037. _evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  102038. var t1;
  102039. $label0$0: {
  102040. if (B.BinaryOperator_Swh0 === operator) {
  102041. t1 = B.CalculationOperator_F7i0;
  102042. break $label0$0;
  102043. }
  102044. if (B.BinaryOperator_QG10 === operator) {
  102045. t1 = B.CalculationOperator_oum0;
  102046. break $label0$0;
  102047. }
  102048. if (B.BinaryOperator_tht0 === operator) {
  102049. t1 = B.CalculationOperator_kkN0;
  102050. break $label0$0;
  102051. }
  102052. if (B.BinaryOperator_Mh50 === operator) {
  102053. t1 = B.CalculationOperator_bo50;
  102054. break $label0$0;
  102055. }
  102056. t1 = A.throwExpression(this._evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  102057. }
  102058. return t1;
  102059. },
  102060. _evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  102061. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  102062. for (t1 = elements.length, i = 1; i < t1; ++i) {
  102063. t2 = i - 1;
  102064. previous = elements[t2];
  102065. current = elements[i];
  102066. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  102067. continue;
  102068. t1 = node.contents;
  102069. previousNode = t1[t2];
  102070. currentNode = t1[i];
  102071. if (currentNode instanceof A.UnaryOperationExpression0) {
  102072. _0_2 = currentNode.operator;
  102073. if (B.UnaryOperator_UCP0 !== _0_2)
  102074. t1 = B.UnaryOperator_Rbl0 === _0_2;
  102075. else
  102076. t1 = true;
  102077. } else
  102078. t1 = false;
  102079. if (!t1)
  102080. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  102081. else
  102082. t1 = true;
  102083. if (t1)
  102084. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  102085. else
  102086. throw A.wrapException(this._evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  102087. }
  102088. },
  102089. visitInterpolatedFunctionExpression$1(_, node) {
  102090. var result, _this = this,
  102091. t1 = _this._evaluate0$_performInterpolation$1(node.name),
  102092. oldInFunction = _this._evaluate0$_inFunction;
  102093. _this._evaluate0$_inFunction = true;
  102094. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
  102095. _this._evaluate0$_inFunction = oldInFunction;
  102096. return result;
  102097. },
  102098. _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  102099. var oldCallable, oldInDependency, result, _this = this,
  102100. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  102101. $name = callable.declaration.name;
  102102. if ($name !== "@content")
  102103. $name += "()";
  102104. oldCallable = _this._evaluate0$_currentCallable;
  102105. oldInDependency = _this._evaluate0$_inDependency;
  102106. _this._evaluate0$_currentCallable = callable;
  102107. _this._evaluate0$_inDependency = callable.inDependency;
  102108. result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
  102109. _this._evaluate0$_currentCallable = oldCallable;
  102110. _this._evaluate0$_inDependency = oldInDependency;
  102111. return result;
  102112. },
  102113. _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  102114. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, _this = this;
  102115. if (callable instanceof A.BuiltInCallable0)
  102116. return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  102117. else if (type$.UserDefinedCallable_Environment_2._is(callable))
  102118. return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
  102119. else if (callable instanceof A.PlainCssCallable0) {
  102120. t1 = $arguments.named;
  102121. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  102122. throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  102123. buffer = new A.StringBuffer(callable.name + "(");
  102124. try {
  102125. first = true;
  102126. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  102127. argument = t1[_i];
  102128. if (first)
  102129. first = false;
  102130. else
  102131. buffer._contents += ", ";
  102132. t3 = buffer;
  102133. t4 = argument;
  102134. t4 = _this._evaluate0$_serialize$3$quote(t4.accept$1(_this), t4, true);
  102135. t3._contents += t4;
  102136. }
  102137. restArg = $arguments.rest;
  102138. if (restArg != null) {
  102139. rest = restArg.accept$1(_this);
  102140. if (!first)
  102141. buffer._contents += ", ";
  102142. t1 = buffer;
  102143. t2 = _this._evaluate0$_serialize$2(rest, restArg);
  102144. t1._contents += t2;
  102145. }
  102146. } catch (exception) {
  102147. t1 = A.unwrapException(exception);
  102148. if (type$.SassRuntimeException_2._is(t1)) {
  102149. error = t1;
  102150. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  102151. throw exception;
  102152. 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));
  102153. } else
  102154. throw exception;
  102155. }
  102156. t1 = buffer;
  102157. t2 = A.Primitives_stringFromCharCode(41);
  102158. t1._contents += t2;
  102159. t2 = buffer._contents;
  102160. return new A.SassString0(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  102161. } else
  102162. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  102163. },
  102164. _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  102165. var result, error, stackTrace, namedSet, _0_0, parameters, i, t1, parameter, t2, t3, rest, argumentList, exception, _this = this, _box_0 = {},
  102166. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  102167. oldCallableNode = _this._evaluate0$_callableNode;
  102168. _this._evaluate0$_callableNode = nodeWithSpan;
  102169. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  102170. _box_0.callback = _box_0.overload = null;
  102171. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  102172. _box_0.overload = _0_0._0;
  102173. _box_0.callback = _0_0._1;
  102174. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(_box_0, evaluated, namedSet));
  102175. parameters = _box_0.overload.parameters;
  102176. for (i = evaluated._values[2].length, t1 = parameters.length; i < t1; ++i) {
  102177. parameter = parameters[i];
  102178. t2 = evaluated._values[2];
  102179. t3 = evaluated._values[0].remove$1(0, parameter.name);
  102180. if (t3 == null) {
  102181. t3 = parameter.defaultValue;
  102182. t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
  102183. }
  102184. t2.push(t3);
  102185. }
  102186. if (_box_0.overload.restParameter != null) {
  102187. if (evaluated._values[2].length > t1) {
  102188. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  102189. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  102190. } else
  102191. rest = B.List_empty20;
  102192. t1 = evaluated._values[0];
  102193. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : evaluated._values[4]);
  102194. evaluated._values[2].push(argumentList);
  102195. } else
  102196. argumentList = null;
  102197. result = null;
  102198. try {
  102199. result = _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure6(_box_0, evaluated));
  102200. } catch (exception) {
  102201. t1 = A.unwrapException(exception);
  102202. if (t1 instanceof A.SassException0)
  102203. throw exception;
  102204. else {
  102205. error = t1;
  102206. stackTrace = A.getTraceFromException(exception);
  102207. A.throwWithTrace0(_this._evaluate0$_exception$2(_this._evaluate0$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  102208. }
  102209. }
  102210. _this._evaluate0$_callableNode = oldCallableNode;
  102211. if (argumentList == null)
  102212. return result;
  102213. if (evaluated._values[0].__js_helper$_length === 0)
  102214. return result;
  102215. if (argumentList._argument_list$_wereKeywordsAccessed)
  102216. return result;
  102217. 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));
  102218. },
  102219. _evaluate0$_evaluateArguments$1($arguments) {
  102220. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  102221. positional = A._setArrayType([], type$.JSArray_Value_2),
  102222. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  102223. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  102224. expression = t1[_i];
  102225. nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
  102226. positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  102227. positionalNodes.push(nodeForSpan);
  102228. }
  102229. t1 = type$.String;
  102230. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  102231. t2 = type$.AstNode_2;
  102232. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  102233. for (t3 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  102234. t4 = t3.get$current(t3);
  102235. $name = t4._0;
  102236. value = t4._1;
  102237. nodeForSpan = _this._evaluate0$_expressionNode$1(value);
  102238. named.$indexSet(0, $name, _this._evaluate0$_withoutSlash$2(value.accept$1(_this), nodeForSpan));
  102239. namedNodes.$indexSet(0, $name, nodeForSpan);
  102240. }
  102241. restArgs = $arguments.rest;
  102242. if (restArgs == null)
  102243. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  102244. rest = restArgs.accept$1(_this);
  102245. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
  102246. if (rest instanceof A.SassMap0) {
  102247. _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
  102248. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  102249. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  102250. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  102251. namedNodes.addAll$1(0, t3);
  102252. separator = B.ListSeparator_undecided_null_undecided0;
  102253. } else if (rest instanceof A.SassList0) {
  102254. t3 = rest._list1$_contents;
  102255. 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>")));
  102256. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  102257. separator = rest._list1$_separator;
  102258. if (rest instanceof A.SassArgumentList0) {
  102259. rest._argument_list$_wereKeywordsAccessed = true;
  102260. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
  102261. }
  102262. } else {
  102263. positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  102264. positionalNodes.push(restNodeForSpan);
  102265. separator = B.ListSeparator_undecided_null_undecided0;
  102266. }
  102267. keywordRestArgs = $arguments.keywordRest;
  102268. if (keywordRestArgs == null)
  102269. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  102270. keywordRest = keywordRestArgs.accept$1(_this);
  102271. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
  102272. if (keywordRest instanceof A.SassMap0) {
  102273. _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
  102274. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  102275. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  102276. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  102277. namedNodes.addAll$1(0, t1);
  102278. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  102279. } else
  102280. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  102281. },
  102282. _evaluate0$_evaluateMacroArguments$1(invocation) {
  102283. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  102284. t1 = invocation.$arguments,
  102285. restArgs_ = t1.rest;
  102286. if (restArgs_ == null)
  102287. return new A._Record_2(t1.positional, t1.named);
  102288. t2 = t1.positional;
  102289. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  102290. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  102291. rest = restArgs_.accept$1(_this);
  102292. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
  102293. if (rest instanceof A.SassMap0)
  102294. _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
  102295. else if (rest instanceof A.SassList0) {
  102296. t2 = rest._list1$_contents;
  102297. 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>")));
  102298. if (rest instanceof A.SassArgumentList0) {
  102299. rest._argument_list$_wereKeywordsAccessed = true;
  102300. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
  102301. }
  102302. } else
  102303. positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  102304. keywordRestArgs_ = t1.keywordRest;
  102305. if (keywordRestArgs_ == null)
  102306. return new A._Record_2(positional, named);
  102307. keywordRest = keywordRestArgs_.accept$1(_this);
  102308. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
  102309. if (keywordRest instanceof A.SassMap0) {
  102310. _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
  102311. return new A._Record_2(positional, named);
  102312. } else
  102313. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  102314. },
  102315. _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  102316. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  102317. },
  102318. _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  102319. return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  102320. },
  102321. _evaluate0$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  102322. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1(parameters, positional, named));
  102323. },
  102324. visitSelectorExpression$1(_, node) {
  102325. var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
  102326. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  102327. return t1 == null ? B.C__SassNull0 : t1;
  102328. },
  102329. visitStringExpression$1(_, node) {
  102330. var t1, t2, t3, _i, value, t4, _0_0, text, _this = this,
  102331. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  102332. _this._evaluate0$_inSupportsDeclaration = false;
  102333. t1 = A._setArrayType([], type$.JSArray_String);
  102334. for (t2 = node.text.contents, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  102335. value = t2[_i];
  102336. $label0$0: {
  102337. if (typeof value == "string") {
  102338. t4 = value;
  102339. break $label0$0;
  102340. }
  102341. if (value instanceof A.Expression0) {
  102342. _0_0 = value.accept$1(_this);
  102343. $label1$1: {
  102344. if (_0_0 instanceof A.SassString0) {
  102345. text = _0_0._string0$_text;
  102346. t4 = text;
  102347. break $label1$1;
  102348. }
  102349. t4 = _this._evaluate0$_serialize$3$quote(_0_0, value, false);
  102350. break $label1$1;
  102351. }
  102352. break $label0$0;
  102353. }
  102354. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  102355. }
  102356. t1.push(t4);
  102357. }
  102358. t1 = B.JSArray_methods.join$0(t1);
  102359. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  102360. return new A.SassString0(t1, node.hasQuotes);
  102361. },
  102362. visitSupportsExpression$1(_, expression) {
  102363. return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
  102364. },
  102365. visitCssAtRule$1(node) {
  102366. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  102367. if (_this._evaluate0$_declarationName != null)
  102368. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  102369. if (node.isChildless) {
  102370. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  102371. return;
  102372. }
  102373. wasInKeyframes = _this._evaluate0$_inKeyframes;
  102374. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  102375. t1 = node.name;
  102376. if (A.unvendor0(t1.value) === "keyframes")
  102377. _this._evaluate0$_inKeyframes = true;
  102378. else
  102379. _this._evaluate0$_inUnknownAtRule = true;
  102380. _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);
  102381. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  102382. _this._evaluate0$_inKeyframes = wasInKeyframes;
  102383. },
  102384. visitCssComment$1(node) {
  102385. var _this = this,
  102386. _s8_ = "__parent",
  102387. _s13_ = "_endOfImports";
  102388. 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))
  102389. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  102390. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  102391. },
  102392. visitCssDeclaration$1(node) {
  102393. 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));
  102394. },
  102395. visitCssImport$1(node) {
  102396. var t1, _this = this,
  102397. _s8_ = "__parent",
  102398. _s5_ = "_root",
  102399. _s13_ = "_endOfImports",
  102400. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  102401. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  102402. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
  102403. 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)) {
  102404. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
  102405. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  102406. } else {
  102407. t1 = _this._evaluate0$_outOfOrderImports;
  102408. (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  102409. }
  102410. },
  102411. visitCssKeyframeBlock$1(node) {
  102412. 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);
  102413. },
  102414. visitCssMediaRule$1(node) {
  102415. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  102416. if (_this._evaluate0$_declarationName != null)
  102417. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  102418. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
  102419. t1 = mergedQueries == null;
  102420. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  102421. return;
  102422. if (t1)
  102423. mergedSources = B.Set_empty5;
  102424. else {
  102425. t2 = _this._evaluate0$_mediaQuerySources;
  102426. t2.toString;
  102427. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  102428. t3 = _this._evaluate0$_mediaQueries;
  102429. t3.toString;
  102430. t2.addAll$1(0, t3);
  102431. t2.addAll$1(0, node.queries);
  102432. mergedSources = t2;
  102433. }
  102434. t1 = t1 ? node.queries : mergedQueries;
  102435. _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);
  102436. },
  102437. visitCssStyleRule$1(node) {
  102438. var t1, styleRule, t2, nest, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild, _this = this, _null = null,
  102439. _s8_ = "__parent";
  102440. if (_this._evaluate0$_declarationName != null)
  102441. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_n, node.span));
  102442. else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
  102443. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_k, node.span));
  102444. t1 = _this._evaluate0$_atRootExcludingStyleRule;
  102445. styleRule = t1 ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  102446. t2 = t1 ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  102447. t2 = t2 == null ? _null : t2.fromPlainCss;
  102448. nest = t2 !== true;
  102449. t2 = node._style_rule0$_selector._box0$_inner;
  102450. if (nest) {
  102451. t2 = t2.value;
  102452. t3 = styleRule == null ? _null : styleRule.originalSelector;
  102453. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !t1, node.fromPlainCss);
  102454. } else
  102455. originalSelector = t2.value;
  102456. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._evaluate0$_mediaQueries), node.span, node.fromPlainCss, originalSelector);
  102457. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  102458. _this._evaluate0$_atRootExcludingStyleRule = false;
  102459. t1 = nest ? new A._EvaluateVisitor_visitCssStyleRule_closure3() : _null;
  102460. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure4(_this, rule, node), false, t1, type$.ModifiableCssStyleRule_2, type$.Null);
  102461. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  102462. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children._collection$_source;
  102463. t2 = J.getInterceptor$asx(t1);
  102464. _0_1 = t2.get$length(t1);
  102465. if (_0_1 >= 1) {
  102466. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  102467. t1 = styleRule == null;
  102468. } else {
  102469. lastChild = _null;
  102470. t1 = false;
  102471. }
  102472. if (t1)
  102473. lastChild.isGroupEnd = true;
  102474. },
  102475. visitCssStylesheet$1(node) {
  102476. var t1;
  102477. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  102478. t1.get$current(t1).accept$1(this);
  102479. },
  102480. visitCssSupportsRule$1(node) {
  102481. var _this = this;
  102482. if (_this._evaluate0$_declarationName != null)
  102483. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  102484. _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);
  102485. },
  102486. _evaluate0$_handleReturn$1$2(list, callback) {
  102487. var t1, _i, _0_0;
  102488. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  102489. _0_0 = callback.call$1(list[_i]);
  102490. if (_0_0 != null)
  102491. return _0_0;
  102492. }
  102493. return null;
  102494. },
  102495. _evaluate0$_handleReturn$2(list, callback) {
  102496. return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  102497. },
  102498. _evaluate0$_withEnvironment$1$2(environment, callback) {
  102499. var result,
  102500. oldEnvironment = this._evaluate0$_environment;
  102501. this._evaluate0$_environment = environment;
  102502. result = callback.call$0();
  102503. this._evaluate0$_environment = oldEnvironment;
  102504. return result;
  102505. },
  102506. _evaluate0$_withEnvironment$2(environment, callback) {
  102507. return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
  102508. },
  102509. _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  102510. var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
  102511. t1 = trim ? A.trimAscii0(result, true) : result;
  102512. return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  102513. },
  102514. _evaluate0$_interpolationToValue$1(interpolation) {
  102515. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  102516. },
  102517. _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  102518. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  102519. },
  102520. _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  102521. return this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  102522. },
  102523. _evaluate0$_performInterpolation$1(interpolation) {
  102524. return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  102525. },
  102526. _evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  102527. var _0_0 = this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  102528. map = _0_0._1;
  102529. map.toString;
  102530. return new A._Record_2(_0_0._0, map);
  102531. },
  102532. _evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  102533. var t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, _this = this, _null = null,
  102534. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  102535. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  102536. _this._evaluate0$_inSupportsDeclaration = false;
  102537. 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) {
  102538. value = t1[_i];
  102539. if (!first)
  102540. if (!t4)
  102541. targetLocations.push(A.SourceLocation$(t7.length, _null, _null, _null));
  102542. if (typeof value == "string") {
  102543. t7 += value;
  102544. continue;
  102545. }
  102546. t3._as(value);
  102547. result = value.accept$1(_this);
  102548. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  102549. result0 = A.List_List$from([""], false, t6);
  102550. result0.$flags = 3;
  102551. t8 = $.$get$namesByColor0();
  102552. _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));
  102553. }
  102554. t7 += _this._evaluate0$_serialize$3$quote(result, value, false);
  102555. }
  102556. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  102557. return new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure1(interpolation)));
  102558. },
  102559. _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  102560. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
  102561. },
  102562. _evaluate0$_serialize$2(value, nodeWithSpan) {
  102563. return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  102564. },
  102565. _evaluate0$_expressionNode$1(expression) {
  102566. var t1;
  102567. if (expression instanceof A.VariableExpression0) {
  102568. t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
  102569. return t1 == null ? expression : t1;
  102570. } else
  102571. return expression;
  102572. },
  102573. _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  102574. var oldParent, result, _this = this;
  102575. _this._evaluate0$_addChild$2$through(node, through);
  102576. oldParent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  102577. _this._evaluate0$__parent = node;
  102578. result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
  102579. _this._evaluate0$__parent = oldParent;
  102580. return result;
  102581. },
  102582. _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  102583. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  102584. },
  102585. _evaluate0$_withParent$2$2(node, callback, $S, $T) {
  102586. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  102587. },
  102588. _evaluate0$_addChild$2$through(node, through) {
  102589. var _0_0, grandparent, t1,
  102590. $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
  102591. if (through != null) {
  102592. for (; through.call$1($parent); $parent = _0_0) {
  102593. _0_0 = $parent._node$_parent;
  102594. if (_0_0 == null)
  102595. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  102596. }
  102597. if ($parent.get$hasFollowingSibling()) {
  102598. grandparent = $parent._node$_parent;
  102599. t1 = grandparent.children;
  102600. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  102601. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  102602. else {
  102603. $parent = $parent.copyWithoutChildren$0();
  102604. grandparent.addChild$1($parent);
  102605. }
  102606. }
  102607. }
  102608. $parent.addChild$1(node);
  102609. },
  102610. _evaluate0$_addChild$1(node) {
  102611. return this._evaluate0$_addChild$2$through(node, null);
  102612. },
  102613. _evaluate0$_withStyleRule$1$2(rule, callback) {
  102614. var result,
  102615. oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
  102616. this._evaluate0$_styleRuleIgnoringAtRoot = rule;
  102617. result = callback.call$0();
  102618. this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  102619. return result;
  102620. },
  102621. _evaluate0$_withStyleRule$2(rule, callback) {
  102622. return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
  102623. },
  102624. _evaluate0$_withMediaQueries$1$3(queries, sources, callback) {
  102625. var result, _this = this,
  102626. oldMediaQueries = _this._evaluate0$_mediaQueries,
  102627. oldSources = _this._evaluate0$_mediaQuerySources;
  102628. _this._evaluate0$_mediaQueries = queries;
  102629. _this._evaluate0$_mediaQuerySources = sources;
  102630. result = callback.call$0();
  102631. _this._evaluate0$_mediaQueries = oldMediaQueries;
  102632. _this._evaluate0$_mediaQuerySources = oldSources;
  102633. return result;
  102634. },
  102635. _evaluate0$_withMediaQueries$3(queries, sources, callback) {
  102636. return this._evaluate0$_withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  102637. },
  102638. _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
  102639. var oldMember, result, _this = this,
  102640. t1 = _this._evaluate0$_stack;
  102641. t1.push(new A._Record_2(_this._evaluate0$_member, nodeWithSpan));
  102642. oldMember = _this._evaluate0$_member;
  102643. _this._evaluate0$_member = member;
  102644. result = callback.call$0();
  102645. _this._evaluate0$_member = oldMember;
  102646. t1.pop();
  102647. return result;
  102648. },
  102649. _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
  102650. return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  102651. },
  102652. _evaluate0$_withoutSlash$2(value, nodeForSpan) {
  102653. var t1;
  102654. if (value instanceof A.SassNumber0)
  102655. t1 = value.asSlash != null;
  102656. else
  102657. t1 = false;
  102658. if (t1)
  102659. 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);
  102660. return value.withoutSlash$0();
  102661. },
  102662. _evaluate0$_stackFrame$2(member, span) {
  102663. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure1(this)));
  102664. },
  102665. _evaluate0$_stackTrace$1(span) {
  102666. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  102667. t1 = A._setArrayType([], type$.JSArray_Frame);
  102668. for (t2 = _this._evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  102669. t4 = t2[_i];
  102670. nodeWithSpan = t4._1;
  102671. t1.push(_this._evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  102672. }
  102673. if (span != null)
  102674. t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
  102675. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  102676. },
  102677. _evaluate0$_stackTrace$0() {
  102678. return this._evaluate0$_stackTrace$1(null);
  102679. },
  102680. _evaluate0$_warn$3(message, span, deprecation) {
  102681. var trace, t1, _this = this;
  102682. if (_this._evaluate0$_quietDeps && _this._evaluate0$_inDependency)
  102683. return;
  102684. if (!_this._evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  102685. return;
  102686. trace = _this._evaluate0$_stackTrace$1(span);
  102687. t1 = _this._evaluate0$_logger;
  102688. if (deprecation == null)
  102689. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  102690. else
  102691. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  102692. },
  102693. _evaluate0$_warn$2(message, span) {
  102694. return this._evaluate0$_warn$3(message, span, null);
  102695. },
  102696. _evaluate0$_exception$2(message, span) {
  102697. var t1, t2;
  102698. if (span == null) {
  102699. t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  102700. t1 = t1.get$span(t1);
  102701. } else
  102702. t1 = span;
  102703. t2 = this._evaluate0$_stackTrace$1(span);
  102704. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  102705. },
  102706. _evaluate0$_exception$1(message) {
  102707. return this._evaluate0$_exception$2(message, null);
  102708. },
  102709. _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  102710. var t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  102711. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate0$_stackTrace$0(), null);
  102712. },
  102713. _evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  102714. var error, stackTrace, t1, exception;
  102715. try {
  102716. t1 = callback.call$0();
  102717. return t1;
  102718. } catch (exception) {
  102719. t1 = A.unwrapException(exception);
  102720. if (t1 instanceof A.SassScriptException0) {
  102721. error = t1;
  102722. stackTrace = A.getTraceFromException(exception);
  102723. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  102724. A.throwWithTrace0(t1.withTrace$1(this._evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  102725. } else
  102726. throw exception;
  102727. }
  102728. },
  102729. _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  102730. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  102731. },
  102732. _evaluate0$_addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  102733. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  102734. },
  102735. _evaluate0$_addExceptionTrace$1$1(callback) {
  102736. var error, stackTrace, t1, exception, t2;
  102737. try {
  102738. t1 = callback.call$0();
  102739. return t1;
  102740. } catch (exception) {
  102741. t1 = A.unwrapException(exception);
  102742. if (type$.SassRuntimeException_2._is(t1))
  102743. throw exception;
  102744. else if (t1 instanceof A.SassException0) {
  102745. error = t1;
  102746. stackTrace = A.getTraceFromException(exception);
  102747. t1 = error;
  102748. t2 = J.getInterceptor$z(t1);
  102749. A.throwWithTrace0(error.withTrace$1(this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  102750. } else
  102751. throw exception;
  102752. }
  102753. },
  102754. _evaluate0$_addExceptionTrace$1(callback) {
  102755. return this._evaluate0$_addExceptionTrace$1$1(callback, type$.dynamic);
  102756. },
  102757. _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
  102758. var error, stackTrace, t1, exception, t2, t3;
  102759. try {
  102760. t1 = callback.call$0();
  102761. return t1;
  102762. } catch (exception) {
  102763. t1 = A.unwrapException(exception);
  102764. if (type$.SassRuntimeException_2._is(t1)) {
  102765. error = t1;
  102766. stackTrace = A.getTraceFromException(exception);
  102767. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  102768. throw exception;
  102769. t1 = error._span_exception$_message;
  102770. t2 = nodeWithSpan.get$span(nodeWithSpan);
  102771. t3 = this._evaluate0$_stackTrace$0();
  102772. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  102773. } else
  102774. throw exception;
  102775. }
  102776. },
  102777. _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
  102778. return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  102779. },
  102780. _evaluate0$_getErrorMessage$1(error) {
  102781. var t1, exception;
  102782. if (type$.Error._is(error))
  102783. return error.toString$0(0);
  102784. try {
  102785. t1 = A._asString(J.get$message$x(error));
  102786. return t1;
  102787. } catch (exception) {
  102788. t1 = J.toString$0$(error);
  102789. return t1;
  102790. }
  102791. },
  102792. $isExpressionVisitor: 1,
  102793. $isStatementVisitor: 1
  102794. };
  102795. A._EvaluateVisitor_closure25.prototype = {
  102796. call$1($arguments) {
  102797. var module, t2,
  102798. t1 = J.getInterceptor$asx($arguments),
  102799. variable = t1.$index($arguments, 0).assertString$1("name");
  102800. t1 = t1.$index($arguments, 1).get$realNull();
  102801. module = t1 == null ? null : t1.assertString$1("module");
  102802. t1 = this.$this._evaluate0$_environment;
  102803. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  102804. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102805. },
  102806. $signature: 11
  102807. };
  102808. A._EvaluateVisitor_closure26.prototype = {
  102809. call$1($arguments) {
  102810. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  102811. t1 = this.$this._evaluate0$_environment;
  102812. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102813. },
  102814. $signature: 11
  102815. };
  102816. A._EvaluateVisitor_closure27.prototype = {
  102817. call$1($arguments) {
  102818. var module, t2, t3, t4,
  102819. t1 = J.getInterceptor$asx($arguments),
  102820. variable = t1.$index($arguments, 0).assertString$1("name");
  102821. t1 = t1.$index($arguments, 1).get$realNull();
  102822. module = t1 == null ? null : t1.assertString$1("module");
  102823. t1 = this.$this;
  102824. t2 = t1._evaluate0$_environment;
  102825. t3 = variable._string0$_text;
  102826. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  102827. 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;
  102828. },
  102829. $signature: 11
  102830. };
  102831. A._EvaluateVisitor_closure28.prototype = {
  102832. call$1($arguments) {
  102833. var module, t2,
  102834. t1 = J.getInterceptor$asx($arguments),
  102835. variable = t1.$index($arguments, 0).assertString$1("name");
  102836. t1 = t1.$index($arguments, 1).get$realNull();
  102837. module = t1 == null ? null : t1.assertString$1("module");
  102838. t1 = this.$this._evaluate0$_environment;
  102839. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  102840. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102841. },
  102842. $signature: 11
  102843. };
  102844. A._EvaluateVisitor_closure29.prototype = {
  102845. call$1($arguments) {
  102846. var t1 = this.$this._evaluate0$_environment;
  102847. if (!t1._environment0$_inMixin)
  102848. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  102849. return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102850. },
  102851. $signature: 11
  102852. };
  102853. A._EvaluateVisitor_closure30.prototype = {
  102854. call$1($arguments) {
  102855. var t2, t3, t4,
  102856. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  102857. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  102858. if (module == null)
  102859. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  102860. t1 = type$.Value_2;
  102861. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  102862. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  102863. t4 = t3.get$current(t3);
  102864. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  102865. }
  102866. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102867. },
  102868. $signature: 34
  102869. };
  102870. A._EvaluateVisitor_closure31.prototype = {
  102871. call$1($arguments) {
  102872. var t2, t3, t4,
  102873. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  102874. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  102875. if (module == null)
  102876. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  102877. t1 = type$.Value_2;
  102878. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  102879. for (t3 = A.MapExtensions_get_pairs0(module.get$functions(module), type$.String, type$.Callable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  102880. t4 = t3.get$current(t3);
  102881. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassFunction0(t4._1));
  102882. }
  102883. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102884. },
  102885. $signature: 34
  102886. };
  102887. A._EvaluateVisitor_closure32.prototype = {
  102888. call$1($arguments) {
  102889. var t2, t3, t4,
  102890. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  102891. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  102892. if (module == null)
  102893. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  102894. t1 = type$.Value_2;
  102895. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  102896. for (t3 = A.MapExtensions_get_pairs0(module.get$mixins(), type$.String, type$.Callable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  102897. t4 = t3.get$current(t3);
  102898. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassMixin0(t4._1));
  102899. }
  102900. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102901. },
  102902. $signature: 34
  102903. };
  102904. A._EvaluateVisitor_closure33.prototype = {
  102905. call$1($arguments) {
  102906. var module, t2, callable,
  102907. t1 = J.getInterceptor$asx($arguments),
  102908. $name = t1.$index($arguments, 0).assertString$1("name"),
  102909. css = t1.$index($arguments, 1).get$isTruthy();
  102910. t1 = t1.$index($arguments, 2).get$realNull();
  102911. module = t1 == null ? null : t1.assertString$1("module");
  102912. if (css) {
  102913. if (module != null)
  102914. throw A.wrapException(string$.x24css_a);
  102915. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text));
  102916. }
  102917. t1 = this.$this;
  102918. t2 = t1._evaluate0$_callableNode;
  102919. t2.toString;
  102920. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
  102921. if (callable == null)
  102922. throw A.wrapException("Function not found: " + $name.toString$0(0));
  102923. return new A.SassFunction0(callable);
  102924. },
  102925. $signature: 250
  102926. };
  102927. A._EvaluateVisitor__closure10.prototype = {
  102928. call$0() {
  102929. var local,
  102930. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  102931. t1 = this.module,
  102932. namespace = t1 == null ? null : t1._string0$_text;
  102933. t1 = this.$this;
  102934. local = t1._evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  102935. if (local != null || namespace != null)
  102936. return local;
  102937. return t1._evaluate0$_builtInFunctions.$index(0, normalizedName);
  102938. },
  102939. $signature: 103
  102940. };
  102941. A._EvaluateVisitor_closure34.prototype = {
  102942. call$1($arguments) {
  102943. var module, t2, callable,
  102944. t1 = J.getInterceptor$asx($arguments),
  102945. $name = t1.$index($arguments, 0).assertString$1("name");
  102946. t1 = t1.$index($arguments, 1).get$realNull();
  102947. module = t1 == null ? null : t1.assertString$1("module");
  102948. t1 = this.$this;
  102949. t2 = t1._evaluate0$_callableNode;
  102950. t2.toString;
  102951. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure9(t1, $name, module));
  102952. if (callable == null)
  102953. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  102954. return new A.SassMixin0(callable);
  102955. },
  102956. $signature: 248
  102957. };
  102958. A._EvaluateVisitor__closure9.prototype = {
  102959. call$0() {
  102960. var t1 = this.$this._evaluate0$_environment,
  102961. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  102962. t3 = this.module;
  102963. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  102964. },
  102965. $signature: 103
  102966. };
  102967. A._EvaluateVisitor_closure35.prototype = {
  102968. call$1($arguments) {
  102969. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  102970. t1 = J.getInterceptor$asx($arguments),
  102971. $function = t1.$index($arguments, 0),
  102972. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  102973. t1 = this.$this;
  102974. t2 = t1._evaluate0$_callableNode;
  102975. t2.toString;
  102976. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  102977. t4 = type$.String;
  102978. t5 = type$.Expression_2;
  102979. t6 = t2.get$span(t2);
  102980. t7 = t2.get$span(t2);
  102981. args._argument_list$_wereKeywordsAccessed = true;
  102982. t8 = args._argument_list$_keywords;
  102983. if (t8.get$isEmpty(t8))
  102984. t2 = null;
  102985. else {
  102986. t9 = type$.Value_2;
  102987. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  102988. args._argument_list$_wereKeywordsAccessed = true;
  102989. t8 = A.MapExtensions_get_pairs0(t8, t4, t9);
  102990. t8 = t8.get$iterator(t8);
  102991. for (; t8.moveNext$0();) {
  102992. t11 = t8.get$current(t8);
  102993. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  102994. }
  102995. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  102996. }
  102997. 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);
  102998. if ($function instanceof A.SassString0) {
  102999. A.warnForDeprecation0(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_aM0);
  103000. callableNode = t1._evaluate0$_callableNode;
  103001. t2 = $function._string0$_text;
  103002. t3 = callableNode.get$span(callableNode);
  103003. return t1.visitFunctionExpression$1(0, new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  103004. }
  103005. callable = $function.assertFunction$1("function").callable;
  103006. if (type$.Callable_2._is(callable)) {
  103007. t2 = t1._evaluate0$_callableNode;
  103008. t2.toString;
  103009. return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
  103010. } else
  103011. throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as, null));
  103012. },
  103013. $signature: 3
  103014. };
  103015. A._EvaluateVisitor_closure36.prototype = {
  103016. call$1($arguments) {
  103017. var withMap, t2, values, configuration, t3,
  103018. t1 = J.getInterceptor$asx($arguments),
  103019. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  103020. t1 = t1.$index($arguments, 1).get$realNull();
  103021. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  103022. t1 = this.$this;
  103023. t2 = t1._evaluate0$_callableNode;
  103024. t2.toString;
  103025. if (withMap != null) {
  103026. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  103027. withMap.forEach$1(0, new A._EvaluateVisitor__closure7(values, t2.get$span(t2), t2));
  103028. configuration = new A.ExplicitConfiguration0(t2, values, null);
  103029. } else
  103030. configuration = B.Configuration_Map_empty_null0;
  103031. t3 = t2.get$span(t2);
  103032. t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure8(t1), t3.get$sourceUrl(t3), configuration, true);
  103033. t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  103034. },
  103035. $signature: 193
  103036. };
  103037. A._EvaluateVisitor__closure7.prototype = {
  103038. call$2(variable, value) {
  103039. var t1 = variable.assertString$1("with key"),
  103040. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  103041. t1 = this.values;
  103042. if (t1.containsKey$1($name))
  103043. throw A.wrapException("The variable $" + $name + " was configured twice.");
  103044. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  103045. },
  103046. $signature: 98
  103047. };
  103048. A._EvaluateVisitor__closure8.prototype = {
  103049. call$2(module, _) {
  103050. var t1 = this.$this;
  103051. return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  103052. },
  103053. $signature: 95
  103054. };
  103055. A._EvaluateVisitor_closure37.prototype = {
  103056. call$1($arguments) {
  103057. var callableNode, t2, t3, t4, t5, callable, $content,
  103058. t1 = J.getInterceptor$asx($arguments),
  103059. mixin = t1.$index($arguments, 0),
  103060. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  103061. t1 = this.$this;
  103062. callableNode = t1._evaluate0$_callableNode;
  103063. t2 = callableNode.get$span(callableNode);
  103064. t3 = callableNode.get$span(callableNode);
  103065. t4 = type$.Expression_2;
  103066. t5 = A.List_List$unmodifiable(B.List_empty21, t4);
  103067. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  103068. callable = mixin.assertMixin$1("mixin").callable;
  103069. $content = t1._evaluate0$_environment._environment0$_content;
  103070. if (type$.Callable_2._is(callable))
  103071. t1._evaluate0$_applyMixin$5(callable, $content, new A.ArgumentList0(t5, t4, new A.ValueExpression0(args, t3), null, t2), callableNode, callableNode);
  103072. else
  103073. throw A.wrapException(A.SassScriptException$0("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  103074. },
  103075. $signature: 193
  103076. };
  103077. A._EvaluateVisitor_run_closure1.prototype = {
  103078. call$0() {
  103079. var module, t2, _this = this,
  103080. t1 = _this.node,
  103081. _0_0 = t1.span.file.url,
  103082. url = null;
  103083. if (_0_0 != null) {
  103084. url = _0_0;
  103085. t2 = _this.$this;
  103086. t2._evaluate0$_activeModules.$indexSet(0, url, null);
  103087. if (!(t2._nodeImporter != null && J.toString$0$(url) === "stdin"))
  103088. t2._evaluate0$_loadedUrls.add$1(0, url);
  103089. }
  103090. t2 = _this.$this;
  103091. module = t2._evaluate0$_addExceptionTrace$1(new A._EvaluateVisitor_run__closure1(t2, _this.importer, t1));
  103092. return new A._Record_2_loadedUrls_stylesheet(t2._evaluate0$_loadedUrls, t2._evaluate0$_combineCss$1(module));
  103093. },
  103094. $signature: 452
  103095. };
  103096. A._EvaluateVisitor_run__closure1.prototype = {
  103097. call$0() {
  103098. return this.$this._evaluate0$_execute$2(this.importer, this.node);
  103099. },
  103100. $signature: 453
  103101. };
  103102. A._EvaluateVisitor__loadModule_closure3.prototype = {
  103103. call$0() {
  103104. return this.callback.call$2(this._box_0.builtInModule, false);
  103105. },
  103106. $signature: 0
  103107. };
  103108. A._EvaluateVisitor__loadModule_closure4.prototype = {
  103109. call$0() {
  103110. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  103111. t2 = _this.$this,
  103112. t3 = _this.nodeWithSpan,
  103113. _1_0 = t2._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  103114. stylesheet = _1_0._0;
  103115. importer = _1_0._1;
  103116. canonicalUrl = stylesheet.span.file.url;
  103117. if (canonicalUrl != null) {
  103118. t4 = t2._evaluate0$_activeModules;
  103119. if (t4.containsKey$1(canonicalUrl)) {
  103120. if (_this.namesInErrors) {
  103121. t1 = canonicalUrl;
  103122. t3 = $.$get$context();
  103123. t1.toString;
  103124. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  103125. } else
  103126. message = string$.Modulel;
  103127. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure3(t2, message));
  103128. throw A.wrapException(t1 == null ? t2._evaluate0$_exception$1(message) : t1);
  103129. } else
  103130. t4.$indexSet(0, canonicalUrl, t3);
  103131. }
  103132. t4 = t2._evaluate0$_modules.containsKey$1(canonicalUrl);
  103133. oldInDependency = t2._evaluate0$_inDependency;
  103134. t2._evaluate0$_inDependency = _1_0._2;
  103135. t1.module = null;
  103136. try {
  103137. t1.module = t2._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  103138. } finally {
  103139. t2._evaluate0$_activeModules.remove$1(0, canonicalUrl);
  103140. t2._evaluate0$_inDependency = oldInDependency;
  103141. }
  103142. t2._evaluate0$_addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure4(t1, _this.callback, !t4), false);
  103143. },
  103144. $signature: 1
  103145. };
  103146. A._EvaluateVisitor__loadModule__closure3.prototype = {
  103147. call$1(previousLoad) {
  103148. return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  103149. },
  103150. $signature: 99
  103151. };
  103152. A._EvaluateVisitor__loadModule__closure4.prototype = {
  103153. call$0() {
  103154. return this.callback.call$2(this._box_1.module, this.firstLoad);
  103155. },
  103156. $signature: 0
  103157. };
  103158. A._EvaluateVisitor__execute_closure1.prototype = {
  103159. call$0() {
  103160. var t3, t4, t5, t6, _this = this,
  103161. t1 = _this.$this,
  103162. oldImporter = t1._evaluate0$_importer,
  103163. oldStylesheet = t1._evaluate0$__stylesheet,
  103164. oldRoot = t1._evaluate0$__root,
  103165. oldPreModuleComments = t1._evaluate0$_preModuleComments,
  103166. oldParent = t1._evaluate0$__parent,
  103167. oldEndOfImports = t1._evaluate0$__endOfImports,
  103168. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  103169. oldExtensionStore = t1._evaluate0$__extensionStore,
  103170. t2 = t1._evaluate0$_atRootExcludingStyleRule,
  103171. oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
  103172. oldMediaQueries = t1._evaluate0$_mediaQueries,
  103173. oldDeclarationName = t1._evaluate0$_declarationName,
  103174. oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
  103175. oldInKeyframes = t1._evaluate0$_inKeyframes,
  103176. oldConfiguration = t1._evaluate0$_configuration;
  103177. t1._evaluate0$_importer = _this.importer;
  103178. t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
  103179. t4 = t3.span;
  103180. t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  103181. t1._evaluate0$__endOfImports = 0;
  103182. t1._evaluate0$_outOfOrderImports = null;
  103183. t1._evaluate0$__extensionStore = _this.extensionStore;
  103184. t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
  103185. t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
  103186. t6 = _this.configuration;
  103187. if (t6 != null)
  103188. t1._evaluate0$_configuration = t6;
  103189. t1.visitStylesheet$1(0, t3);
  103190. t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  103191. _this.css.__late_helper$_value = t3;
  103192. _this.preModuleComments.__late_helper$_value = t1._evaluate0$_preModuleComments;
  103193. t1._evaluate0$_importer = oldImporter;
  103194. t1._evaluate0$__stylesheet = oldStylesheet;
  103195. t1._evaluate0$__root = oldRoot;
  103196. t1._evaluate0$_preModuleComments = oldPreModuleComments;
  103197. t1._evaluate0$__parent = oldParent;
  103198. t1._evaluate0$__endOfImports = oldEndOfImports;
  103199. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  103200. t1._evaluate0$__extensionStore = oldExtensionStore;
  103201. t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  103202. t1._evaluate0$_mediaQueries = oldMediaQueries;
  103203. t1._evaluate0$_declarationName = oldDeclarationName;
  103204. t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  103205. t1._evaluate0$_atRootExcludingStyleRule = t2;
  103206. t1._evaluate0$_inKeyframes = oldInKeyframes;
  103207. t1._evaluate0$_configuration = oldConfiguration;
  103208. },
  103209. $signature: 1
  103210. };
  103211. A._EvaluateVisitor__combineCss_closure3.prototype = {
  103212. call$1(module) {
  103213. return module.get$transitivelyContainsCss();
  103214. },
  103215. $signature: 126
  103216. };
  103217. A._EvaluateVisitor__combineCss_closure4.prototype = {
  103218. call$1(target) {
  103219. return !this.selectors.contains$1(0, target);
  103220. },
  103221. $signature: 14
  103222. };
  103223. A._EvaluateVisitor__combineCss_visitModule1.prototype = {
  103224. call$1(module) {
  103225. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  103226. if (!_this.seen.add$1(0, module))
  103227. return;
  103228. if (_this.clone)
  103229. module = module.cloneCss$0();
  103230. 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) {
  103231. upstream = t1[_i];
  103232. if (upstream.get$transitivelyContainsCss()) {
  103233. _1_0 = module.get$preModuleComments().$index(0, upstream);
  103234. if (_1_0 != null)
  103235. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  103236. _this.call$1(upstream);
  103237. }
  103238. }
  103239. _this.sorted.addFirst$1(module);
  103240. t1 = module.get$css(module);
  103241. statements = t1.get$children(t1);
  103242. index = _this.$this._evaluate0$_indexAfterImports$1(statements);
  103243. t1 = J.getInterceptor$ax(statements);
  103244. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  103245. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  103246. },
  103247. $signature: 454
  103248. };
  103249. A._EvaluateVisitor__extendModules_closure3.prototype = {
  103250. call$1(target) {
  103251. return !this.originalSelectors.contains$1(0, target);
  103252. },
  103253. $signature: 14
  103254. };
  103255. A._EvaluateVisitor__extendModules_closure4.prototype = {
  103256. call$0() {
  103257. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  103258. },
  103259. $signature: 245
  103260. };
  103261. A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
  103262. call$0() {
  103263. var t1, t2, t3, _i;
  103264. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103265. t1[_i].accept$1(t3);
  103266. },
  103267. $signature: 1
  103268. };
  103269. A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
  103270. call$0() {
  103271. var t1, t2, t3, _i;
  103272. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103273. t1[_i].accept$1(t3);
  103274. },
  103275. $signature: 0
  103276. };
  103277. A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
  103278. call$1(callback) {
  103279. var t1 = this.$this,
  103280. oldParent = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
  103281. t1._evaluate0$__parent = this.newParent;
  103282. t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  103283. t1._evaluate0$__parent = oldParent;
  103284. },
  103285. $signature: 35
  103286. };
  103287. A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
  103288. call$1(callback) {
  103289. var t1 = this.$this,
  103290. oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
  103291. t1._evaluate0$_atRootExcludingStyleRule = true;
  103292. this.innerScope.call$1(callback);
  103293. t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  103294. },
  103295. $signature: 35
  103296. };
  103297. A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
  103298. call$1(callback) {
  103299. return this.$this._evaluate0$_withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
  103300. },
  103301. $signature: 35
  103302. };
  103303. A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
  103304. call$0() {
  103305. return this.innerScope.call$1(this.callback);
  103306. },
  103307. $signature: 1
  103308. };
  103309. A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
  103310. call$1(callback) {
  103311. var t1 = this.$this,
  103312. wasInKeyframes = t1._evaluate0$_inKeyframes;
  103313. t1._evaluate0$_inKeyframes = false;
  103314. this.innerScope.call$1(callback);
  103315. t1._evaluate0$_inKeyframes = wasInKeyframes;
  103316. },
  103317. $signature: 35
  103318. };
  103319. A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
  103320. call$1($parent) {
  103321. return $parent instanceof A.ModifiableCssAtRule0;
  103322. },
  103323. $signature: 243
  103324. };
  103325. A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
  103326. call$1(callback) {
  103327. var t1 = this.$this,
  103328. wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
  103329. t1._evaluate0$_inUnknownAtRule = false;
  103330. this.innerScope.call$1(callback);
  103331. t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  103332. },
  103333. $signature: 35
  103334. };
  103335. A._EvaluateVisitor_visitContentRule_closure1.prototype = {
  103336. call$0() {
  103337. var t1, t2, t3, _i;
  103338. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103339. t1[_i].accept$1(t3);
  103340. return null;
  103341. },
  103342. $signature: 1
  103343. };
  103344. A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
  103345. call$0() {
  103346. var t1, t2, t3, _i;
  103347. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103348. t1[_i].accept$1(t3);
  103349. },
  103350. $signature: 1
  103351. };
  103352. A._EvaluateVisitor_visitEachRule_closure5.prototype = {
  103353. call$1(value) {
  103354. var t1 = this.$this,
  103355. t2 = this.nodeWithSpan;
  103356. return t1._evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._evaluate0$_withoutSlash$2(value, t2), t2);
  103357. },
  103358. $signature: 62
  103359. };
  103360. A._EvaluateVisitor_visitEachRule_closure6.prototype = {
  103361. call$1(value) {
  103362. return this.$this._evaluate0$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  103363. },
  103364. $signature: 62
  103365. };
  103366. A._EvaluateVisitor_visitEachRule_closure7.prototype = {
  103367. call$0() {
  103368. var _this = this,
  103369. t1 = _this.$this;
  103370. return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
  103371. },
  103372. $signature: 42
  103373. };
  103374. A._EvaluateVisitor_visitEachRule__closure1.prototype = {
  103375. call$1(element) {
  103376. var t1;
  103377. this.setVariables.call$1(element);
  103378. t1 = this.$this;
  103379. return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
  103380. },
  103381. $signature: 192
  103382. };
  103383. A._EvaluateVisitor_visitEachRule___closure1.prototype = {
  103384. call$1(child) {
  103385. return child.accept$1(this.$this);
  103386. },
  103387. $signature: 82
  103388. };
  103389. A._EvaluateVisitor_visitAtRule_closure5.prototype = {
  103390. call$1(value) {
  103391. return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  103392. },
  103393. $signature: 457
  103394. };
  103395. A._EvaluateVisitor_visitAtRule_closure6.prototype = {
  103396. call$0() {
  103397. var t2, t3, _i, _this = this,
  103398. t1 = _this.$this,
  103399. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  103400. if (styleRule == null || t1._evaluate0$_inKeyframes || J.$eq$(_this.name.value, "font-face"))
  103401. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  103402. t2[_i].accept$1(t1);
  103403. else
  103404. 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);
  103405. },
  103406. $signature: 1
  103407. };
  103408. A._EvaluateVisitor_visitAtRule__closure1.prototype = {
  103409. call$0() {
  103410. var t1, t2, t3, _i;
  103411. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103412. t1[_i].accept$1(t3);
  103413. },
  103414. $signature: 1
  103415. };
  103416. A._EvaluateVisitor_visitAtRule_closure7.prototype = {
  103417. call$1(node) {
  103418. return node instanceof A.ModifiableCssStyleRule0;
  103419. },
  103420. $signature: 7
  103421. };
  103422. A._EvaluateVisitor_visitForRule_closure9.prototype = {
  103423. call$0() {
  103424. return this.node.from.accept$1(this.$this).assertNumber$0();
  103425. },
  103426. $signature: 191
  103427. };
  103428. A._EvaluateVisitor_visitForRule_closure10.prototype = {
  103429. call$0() {
  103430. return this.node.to.accept$1(this.$this).assertNumber$0();
  103431. },
  103432. $signature: 191
  103433. };
  103434. A._EvaluateVisitor_visitForRule_closure11.prototype = {
  103435. call$0() {
  103436. return this.fromNumber.assertInt$0();
  103437. },
  103438. $signature: 10
  103439. };
  103440. A._EvaluateVisitor_visitForRule_closure12.prototype = {
  103441. call$0() {
  103442. var t1 = this.fromNumber;
  103443. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  103444. },
  103445. $signature: 10
  103446. };
  103447. A._EvaluateVisitor_visitForRule_closure13.prototype = {
  103448. call$0() {
  103449. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  103450. t1 = _this.$this,
  103451. t2 = _this.node,
  103452. nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
  103453. 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) {
  103454. t7 = t1._evaluate0$_environment;
  103455. t8 = t6.get$numeratorUnits(t6);
  103456. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  103457. _0_0 = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
  103458. if (_0_0 != null)
  103459. return _0_0;
  103460. }
  103461. return null;
  103462. },
  103463. $signature: 42
  103464. };
  103465. A._EvaluateVisitor_visitForRule__closure1.prototype = {
  103466. call$1(child) {
  103467. return child.accept$1(this.$this);
  103468. },
  103469. $signature: 82
  103470. };
  103471. A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
  103472. call$2(module, firstLoad) {
  103473. if (firstLoad)
  103474. this.$this._evaluate0$_registerCommentsForModule$1(module);
  103475. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  103476. },
  103477. $signature: 95
  103478. };
  103479. A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
  103480. call$2(module, firstLoad) {
  103481. if (firstLoad)
  103482. this.$this._evaluate0$_registerCommentsForModule$1(module);
  103483. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  103484. },
  103485. $signature: 95
  103486. };
  103487. A._EvaluateVisitor__registerCommentsForModule_closure1.prototype = {
  103488. call$0() {
  103489. return A._setArrayType([], type$.JSArray_CssComment_2);
  103490. },
  103491. $signature: 236
  103492. };
  103493. A._EvaluateVisitor_visitIfRule_closure1.prototype = {
  103494. call$1(clause) {
  103495. var t1 = this.$this;
  103496. return t1._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure1(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  103497. },
  103498. $signature: 459
  103499. };
  103500. A._EvaluateVisitor_visitIfRule__closure1.prototype = {
  103501. call$0() {
  103502. var t1 = this.$this;
  103503. return t1._evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure1(t1));
  103504. },
  103505. $signature: 42
  103506. };
  103507. A._EvaluateVisitor_visitIfRule___closure1.prototype = {
  103508. call$1(child) {
  103509. return child.accept$1(this.$this);
  103510. },
  103511. $signature: 82
  103512. };
  103513. A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
  103514. call$0() {
  103515. 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 = {};
  103516. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  103517. t1 = this.$this;
  103518. t2 = this.$import;
  103519. _0_0 = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  103520. stylesheet = _box_0.stylesheet = _0_0._0;
  103521. importer = _0_0._1;
  103522. _box_0.importer = importer;
  103523. isDependency = _0_0._2;
  103524. _box_0.isDependency = isDependency;
  103525. url = stylesheet.span.file.url;
  103526. if (url != null) {
  103527. t3 = t1._evaluate0$_activeModules;
  103528. if (t3.containsKey$1(url)) {
  103529. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
  103530. throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
  103531. }
  103532. t3.$indexSet(0, url, t2);
  103533. }
  103534. t2 = stylesheet._stylesheet1$_uses;
  103535. t3 = type$.UnmodifiableListView_UseRule_2;
  103536. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2).get$length(0) === 0) {
  103537. oldImporter = t1._evaluate0$_importer;
  103538. oldStylesheet = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
  103539. oldInDependency = t1._evaluate0$_inDependency;
  103540. t1._evaluate0$_importer = importer;
  103541. t1._evaluate0$__stylesheet = stylesheet;
  103542. t1._evaluate0$_inDependency = isDependency;
  103543. t1.visitStylesheet$1(0, stylesheet);
  103544. t1._evaluate0$_importer = oldImporter;
  103545. t1._evaluate0$__stylesheet = oldStylesheet;
  103546. t1._evaluate0$_inDependency = oldInDependency;
  103547. t1._evaluate0$_activeModules.remove$1(0, url);
  103548. return;
  103549. }
  103550. t2 = new A.UnmodifiableListView(t2, t3);
  103551. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
  103552. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  103553. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
  103554. } else
  103555. loadsUserDefinedModules = true;
  103556. children = A._Cell$();
  103557. t2 = t1._evaluate0$_environment;
  103558. t3 = type$.String;
  103559. t4 = type$.Module_Callable_2;
  103560. t5 = type$.AstNode_2;
  103561. t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
  103562. t7 = t2._environment0$_variables;
  103563. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  103564. t8 = t2._environment0$_variableNodes;
  103565. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  103566. t9 = t2._environment0$_functions;
  103567. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  103568. t10 = t2._environment0$_mixins;
  103569. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  103570. 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);
  103571. t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(_box_0, t1, loadsUserDefinedModules, environment, children));
  103572. module = environment.toDummyModule$0();
  103573. t1._evaluate0$_environment.importForwards$1(module);
  103574. if (loadsUserDefinedModules) {
  103575. if (module.transitivelyContainsCss)
  103576. t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  103577. visitor = new A._ImportedCssVisitor1(t1);
  103578. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  103579. t2.get$current(t2).accept$1(visitor);
  103580. }
  103581. t1._evaluate0$_activeModules.remove$1(0, url);
  103582. },
  103583. $signature: 0
  103584. };
  103585. A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
  103586. call$1(previousLoad) {
  103587. 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));
  103588. },
  103589. $signature: 99
  103590. };
  103591. A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
  103592. call$1(rule) {
  103593. return rule.url.get$scheme() !== "sass";
  103594. },
  103595. $signature: 234
  103596. };
  103597. A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
  103598. call$1(rule) {
  103599. return rule.url.get$scheme() !== "sass";
  103600. },
  103601. $signature: 232
  103602. };
  103603. A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
  103604. call$0() {
  103605. var t3, t4, _this = this,
  103606. t1 = _this.$this,
  103607. oldImporter = t1._evaluate0$_importer,
  103608. oldStylesheet = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
  103609. oldRoot = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
  103610. oldParent = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
  103611. oldEndOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
  103612. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  103613. oldConfiguration = t1._evaluate0$_configuration,
  103614. oldInDependency = t1._evaluate0$_inDependency,
  103615. t2 = _this._box_0;
  103616. t1._evaluate0$_importer = t2.importer;
  103617. t3 = t2.stylesheet;
  103618. t1._evaluate0$__stylesheet = t3;
  103619. t4 = _this.loadsUserDefinedModules;
  103620. if (t4) {
  103621. t3 = A.ModifiableCssStylesheet$0(t3.span);
  103622. t1._evaluate0$__root = t3;
  103623. t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t3, "_root");
  103624. t1._evaluate0$__endOfImports = 0;
  103625. t1._evaluate0$_outOfOrderImports = null;
  103626. }
  103627. t1._evaluate0$_inDependency = t2.isDependency;
  103628. t3 = new A.UnmodifiableListView(t2.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  103629. if (!t3.get$isEmpty(t3))
  103630. t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
  103631. t1.visitStylesheet$1(0, t2.stylesheet);
  103632. t2 = t4 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  103633. _this.children.__late_helper$_value = t2;
  103634. t1._evaluate0$_importer = oldImporter;
  103635. t1._evaluate0$__stylesheet = oldStylesheet;
  103636. if (t4) {
  103637. t1._evaluate0$__root = oldRoot;
  103638. t1._evaluate0$__parent = oldParent;
  103639. t1._evaluate0$__endOfImports = oldEndOfImports;
  103640. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  103641. }
  103642. t1._evaluate0$_configuration = oldConfiguration;
  103643. t1._evaluate0$_inDependency = oldInDependency;
  103644. },
  103645. $signature: 1
  103646. };
  103647. A._EvaluateVisitor__applyMixin_closure3.prototype = {
  103648. call$0() {
  103649. var _this = this,
  103650. t1 = _this.$this;
  103651. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure4(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  103652. },
  103653. $signature: 0
  103654. };
  103655. A._EvaluateVisitor__applyMixin__closure4.prototype = {
  103656. call$0() {
  103657. var _this = this;
  103658. _this.$this._evaluate0$_runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  103659. },
  103660. $signature: 0
  103661. };
  103662. A._EvaluateVisitor__applyMixin_closure4.prototype = {
  103663. call$0() {
  103664. var _this = this,
  103665. t1 = _this.$this;
  103666. t1._evaluate0$_environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure3(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  103667. },
  103668. $signature: 1
  103669. };
  103670. A._EvaluateVisitor__applyMixin__closure3.prototype = {
  103671. call$0() {
  103672. var t1 = this.$this;
  103673. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure1(t1, this.mixin, this.nodeWithSpanWithoutContent));
  103674. },
  103675. $signature: 0
  103676. };
  103677. A._EvaluateVisitor__applyMixin___closure1.prototype = {
  103678. call$0() {
  103679. var t1, t2, t3, t4, _i;
  103680. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  103681. t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure1(t3, t1[_i]));
  103682. },
  103683. $signature: 0
  103684. };
  103685. A._EvaluateVisitor__applyMixin____closure1.prototype = {
  103686. call$0() {
  103687. return this.statement.accept$1(this.$this);
  103688. },
  103689. $signature: 42
  103690. };
  103691. A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
  103692. call$0() {
  103693. var t1 = this.node;
  103694. return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  103695. },
  103696. $signature: 103
  103697. };
  103698. A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
  103699. call$1($content) {
  103700. var t1 = this.$this;
  103701. return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
  103702. },
  103703. $signature: 460
  103704. };
  103705. A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
  103706. call$0() {
  103707. return this.node.get$spanWithoutContent();
  103708. },
  103709. $signature: 27
  103710. };
  103711. A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
  103712. call$1(mediaQueries) {
  103713. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  103714. },
  103715. $signature: 105
  103716. };
  103717. A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
  103718. call$0() {
  103719. var _this = this,
  103720. t1 = _this.$this,
  103721. t2 = _this.mergedQueries;
  103722. if (t2 == null)
  103723. t2 = _this.queries;
  103724. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
  103725. },
  103726. $signature: 1
  103727. };
  103728. A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
  103729. call$0() {
  103730. var t2, t3, _i,
  103731. t1 = this.$this,
  103732. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  103733. if (_0_0 != null)
  103734. 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);
  103735. else
  103736. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  103737. t2[_i].accept$1(t1);
  103738. },
  103739. $signature: 1
  103740. };
  103741. A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
  103742. call$0() {
  103743. var t1, t2, t3, _i;
  103744. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103745. t1[_i].accept$1(t3);
  103746. },
  103747. $signature: 1
  103748. };
  103749. A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
  103750. call$1(node) {
  103751. var t1;
  103752. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  103753. t1 = this.mergedSources;
  103754. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  103755. } else
  103756. t1 = true;
  103757. return t1;
  103758. },
  103759. $signature: 7
  103760. };
  103761. A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
  103762. call$0() {
  103763. var t1, t2, t3, _i;
  103764. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103765. t1[_i].accept$1(t3);
  103766. },
  103767. $signature: 1
  103768. };
  103769. A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
  103770. call$1(node) {
  103771. return node instanceof A.ModifiableCssStyleRule0;
  103772. },
  103773. $signature: 7
  103774. };
  103775. A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
  103776. call$0() {
  103777. var t1 = this.$this;
  103778. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
  103779. },
  103780. $signature: 1
  103781. };
  103782. A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
  103783. call$0() {
  103784. var t1, t2, t3, _i;
  103785. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103786. t1[_i].accept$1(t3);
  103787. },
  103788. $signature: 1
  103789. };
  103790. A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
  103791. call$1(node) {
  103792. return node instanceof A.ModifiableCssStyleRule0;
  103793. },
  103794. $signature: 7
  103795. };
  103796. A._EvaluateVisitor__warnForBogusCombinators_closure1.prototype = {
  103797. call$1(child) {
  103798. return child instanceof A.ModifiableCssComment0;
  103799. },
  103800. $signature: 7
  103801. };
  103802. A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
  103803. call$0() {
  103804. var t2, t3, _i,
  103805. t1 = this.$this,
  103806. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  103807. if (_0_0 != null)
  103808. 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);
  103809. else
  103810. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  103811. t2[_i].accept$1(t1);
  103812. },
  103813. $signature: 1
  103814. };
  103815. A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
  103816. call$0() {
  103817. var t1, t2, t3, _i;
  103818. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103819. t1[_i].accept$1(t3);
  103820. },
  103821. $signature: 1
  103822. };
  103823. A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
  103824. call$1(node) {
  103825. return node instanceof A.ModifiableCssStyleRule0;
  103826. },
  103827. $signature: 7
  103828. };
  103829. A._EvaluateVisitor__visitSupportsCondition_closure1.prototype = {
  103830. call$0() {
  103831. var t4,
  103832. t1 = this.$this,
  103833. t2 = this._box_0,
  103834. t3 = t2.declaration.name;
  103835. t3 = t1._evaluate0$_serialize$3$quote(t3.accept$1(t1), t3, true);
  103836. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  103837. t2 = t2.declaration.value;
  103838. return "(" + t3 + ":" + t4 + t1._evaluate0$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  103839. },
  103840. $signature: 32
  103841. };
  103842. A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
  103843. call$0() {
  103844. var t1 = this.$this._evaluate0$_environment,
  103845. t2 = this._box_0.override;
  103846. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  103847. },
  103848. $signature: 1
  103849. };
  103850. A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
  103851. call$0() {
  103852. var t1 = this.node;
  103853. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  103854. },
  103855. $signature: 42
  103856. };
  103857. A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
  103858. call$0() {
  103859. var t1 = this.$this,
  103860. t2 = this.node;
  103861. t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  103862. },
  103863. $signature: 1
  103864. };
  103865. A._EvaluateVisitor_visitUseRule_closure1.prototype = {
  103866. call$2(module, firstLoad) {
  103867. var t1, t2, t3, _0_0, t4, t5, span;
  103868. if (firstLoad)
  103869. this.$this._evaluate0$_registerCommentsForModule$1(module);
  103870. t1 = this.$this._evaluate0$_environment;
  103871. t2 = this.node;
  103872. t3 = t2.namespace;
  103873. if (t3 == null) {
  103874. t1._environment0$_globalModules.$indexSet(0, module, t2);
  103875. t1._environment0$_allModules.push(module);
  103876. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._environment0$_variables)), module.get$variables().get$containsKey());
  103877. if (_0_0 != null)
  103878. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  103879. } else {
  103880. t4 = t1._environment0$_modules;
  103881. if (t4.containsKey$1(t3)) {
  103882. t5 = t1._environment0$_namespaceNodes.$index(0, t3);
  103883. span = t5 == null ? null : t5.span;
  103884. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  103885. if (span != null)
  103886. t5.$indexSet(0, span, "original @use");
  103887. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  103888. }
  103889. t4.$indexSet(0, t3, module);
  103890. t1._environment0$_namespaceNodes.$indexSet(0, t3, t2);
  103891. t1._environment0$_allModules.push(module);
  103892. }
  103893. },
  103894. $signature: 95
  103895. };
  103896. A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
  103897. call$0() {
  103898. return this.node.expression.accept$1(this.$this);
  103899. },
  103900. $signature: 49
  103901. };
  103902. A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
  103903. call$0() {
  103904. var t1, t2, t3, _0_0;
  103905. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  103906. _0_0 = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
  103907. if (_0_0 != null)
  103908. return _0_0;
  103909. }
  103910. return null;
  103911. },
  103912. $signature: 42
  103913. };
  103914. A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
  103915. call$1(child) {
  103916. return child.accept$1(this.$this);
  103917. },
  103918. $signature: 82
  103919. };
  103920. A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
  103921. call$0() {
  103922. var t1 = this.node,
  103923. t2 = this.$this,
  103924. left = t1.left.accept$1(t2);
  103925. switch (t1.operator) {
  103926. case B.BinaryOperator_Kyq0:
  103927. t1 = t1.right.accept$1(t2);
  103928. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  103929. break;
  103930. case B.BinaryOperator_tKu0:
  103931. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  103932. break;
  103933. case B.BinaryOperator_uke0:
  103934. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  103935. break;
  103936. case B.BinaryOperator_r840:
  103937. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103938. break;
  103939. case B.BinaryOperator_qGq0:
  103940. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103941. break;
  103942. case B.BinaryOperator_o8O0:
  103943. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  103944. break;
  103945. case B.BinaryOperator_JiR0:
  103946. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  103947. break;
  103948. case B.BinaryOperator_qHy0:
  103949. t1 = left.lessThan$1(t1.right.accept$1(t2));
  103950. break;
  103951. case B.BinaryOperator_FPG0:
  103952. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  103953. break;
  103954. case B.BinaryOperator_Swh0:
  103955. t1 = left.plus$1(t1.right.accept$1(t2));
  103956. break;
  103957. case B.BinaryOperator_QG10:
  103958. t1 = left.minus$1(t1.right.accept$1(t2));
  103959. break;
  103960. case B.BinaryOperator_tht0:
  103961. t1 = left.times$1(t1.right.accept$1(t2));
  103962. break;
  103963. case B.BinaryOperator_Mh50:
  103964. t1 = t2._evaluate0$_slash$3(left, t1.right.accept$1(t2), t1);
  103965. break;
  103966. case B.BinaryOperator_s7T0:
  103967. t1 = left.modulo$1(t1.right.accept$1(t2));
  103968. break;
  103969. default:
  103970. t1 = null;
  103971. }
  103972. return t1;
  103973. },
  103974. $signature: 49
  103975. };
  103976. A._EvaluateVisitor__slash_recommendation1.prototype = {
  103977. call$1(expression) {
  103978. var t1;
  103979. $label0$0: {
  103980. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_Mh50 === expression.operator) {
  103981. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  103982. break $label0$0;
  103983. }
  103984. if (expression instanceof A.ParenthesizedExpression0) {
  103985. t1 = expression.expression.toString$0(0);
  103986. break $label0$0;
  103987. }
  103988. t1 = expression.toString$0(0);
  103989. break $label0$0;
  103990. }
  103991. return t1;
  103992. },
  103993. $signature: 113
  103994. };
  103995. A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
  103996. call$0() {
  103997. var t1 = this.node;
  103998. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  103999. },
  104000. $signature: 42
  104001. };
  104002. A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
  104003. call$0() {
  104004. var t1, _this = this;
  104005. switch (_this.node.operator) {
  104006. case B.UnaryOperator_Rbl0:
  104007. t1 = _this.operand.unaryPlus$0();
  104008. break;
  104009. case B.UnaryOperator_UCP0:
  104010. t1 = _this.operand.unaryMinus$0();
  104011. break;
  104012. case B.UnaryOperator_lZV0:
  104013. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  104014. break;
  104015. case B.UnaryOperator_not_not_not0:
  104016. t1 = _this.operand.unaryNot$0();
  104017. break;
  104018. default:
  104019. t1 = null;
  104020. }
  104021. return t1;
  104022. },
  104023. $signature: 49
  104024. };
  104025. A._EvaluateVisitor_visitListExpression_closure1.prototype = {
  104026. call$1(expression) {
  104027. return expression.accept$1(this.$this);
  104028. },
  104029. $signature: 461
  104030. };
  104031. A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
  104032. call$0() {
  104033. var t1 = this.node;
  104034. return this.$this._evaluate0$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  104035. },
  104036. $signature: 103
  104037. };
  104038. A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
  104039. call$1(argument) {
  104040. return argument.accept$1(B.C_IsCalculationSafeVisitor0);
  104041. },
  104042. $signature: 140
  104043. };
  104044. A._EvaluateVisitor_visitFunctionExpression_closure7.prototype = {
  104045. call$0() {
  104046. var t1 = this.node;
  104047. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  104048. },
  104049. $signature: 49
  104050. };
  104051. A._EvaluateVisitor__visitCalculation_closure1.prototype = {
  104052. call$2(message, deprecation) {
  104053. return this.$this._evaluate0$_warn$3(message, this.node.span, deprecation);
  104054. },
  104055. call$1(message) {
  104056. return this.call$2(message, null);
  104057. },
  104058. $signature: 96
  104059. };
  104060. A._EvaluateVisitor__checkCalculationArguments_check1.prototype = {
  104061. call$1(maxArgs) {
  104062. var t1 = this.node,
  104063. t2 = t1.$arguments.positional.length;
  104064. if (t2 === 0)
  104065. throw A.wrapException(this.$this._evaluate0$_exception$2("Missing argument.", t1.span));
  104066. else if (maxArgs != null && t2 > maxArgs)
  104067. 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));
  104068. },
  104069. call$0() {
  104070. return this.call$1(null);
  104071. },
  104072. $signature: 107
  104073. };
  104074. A._EvaluateVisitor__visitCalculationExpression_closure1.prototype = {
  104075. call$0() {
  104076. var _this = this,
  104077. t1 = _this.$this,
  104078. t2 = _this._box_0,
  104079. t3 = _this.node,
  104080. t4 = _this.inLegacySassFunction;
  104081. 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));
  104082. },
  104083. $signature: 84
  104084. };
  104085. A._EvaluateVisitor__visitCalculationExpression__closure1.prototype = {
  104086. call$2(message, deprecation) {
  104087. return this.$this._evaluate0$_warn$3(message, this.node.get$span(0), deprecation);
  104088. },
  104089. call$1(message) {
  104090. return this.call$2(message, null);
  104091. },
  104092. $signature: 96
  104093. };
  104094. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
  104095. call$0() {
  104096. var t1 = this.node;
  104097. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  104098. },
  104099. $signature: 49
  104100. };
  104101. A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
  104102. call$0() {
  104103. var _this = this,
  104104. t1 = _this.$this,
  104105. t2 = _this.callable;
  104106. return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  104107. },
  104108. $signature() {
  104109. return this.V._eval$1("0()");
  104110. }
  104111. };
  104112. A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
  104113. call$0() {
  104114. var _this = this,
  104115. t1 = _this.$this,
  104116. t2 = _this.V;
  104117. return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  104118. },
  104119. $signature() {
  104120. return this.V._eval$1("0()");
  104121. }
  104122. };
  104123. A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
  104124. call$0() {
  104125. var parameters, t5, minLength, i, parameter, t6, value, t7, t8, restParameter, rest, argumentList, result, parameterWord, _this = this,
  104126. t1 = _this.$this,
  104127. t2 = _this.evaluated._values,
  104128. t3 = _this.callable.declaration.parameters,
  104129. t4 = _this.nodeWithSpan;
  104130. t1._evaluate0$_verifyArguments$4(t2[2].length, t2[0], t3, t4);
  104131. parameters = t3.parameters;
  104132. t5 = parameters.length;
  104133. minLength = Math.min(t2[2].length, t5);
  104134. for (i = 0; i < minLength; ++i)
  104135. t1._evaluate0$_environment.setLocalVariable$3(parameters[i].name, t2[2][i], t2[3][i]);
  104136. for (i = t2[2].length; i < t5; ++i) {
  104137. parameter = parameters[i];
  104138. t6 = parameter.name;
  104139. value = t2[0].remove$1(0, t6);
  104140. if (value == null) {
  104141. t7 = parameter.defaultValue;
  104142. value = t1._evaluate0$_withoutSlash$2(t7.accept$1(t1), t1._evaluate0$_expressionNode$1(t7));
  104143. }
  104144. t7 = t1._evaluate0$_environment;
  104145. t8 = t2[1].$index(0, t6);
  104146. if (t8 == null) {
  104147. t8 = parameter.defaultValue;
  104148. t8.toString;
  104149. t8 = t1._evaluate0$_expressionNode$1(t8);
  104150. }
  104151. t7.setLocalVariable$3(t6, value, t8);
  104152. }
  104153. restParameter = t3.restParameter;
  104154. if (restParameter != null) {
  104155. t6 = t2[2];
  104156. rest = t6.length > t5 ? B.JSArray_methods.sublist$1(t6, t5) : B.List_empty20;
  104157. t5 = t2[0];
  104158. t6 = t2[4];
  104159. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : t6);
  104160. t1._evaluate0$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  104161. } else
  104162. argumentList = null;
  104163. result = _this.run.call$0();
  104164. if (argumentList == null)
  104165. return result;
  104166. t5 = t2[0].__js_helper$_length;
  104167. if (t5 === 0)
  104168. return result;
  104169. if (argumentList._argument_list$_wereKeywordsAccessed)
  104170. return result;
  104171. parameterWord = A.pluralize0("parameter", t5, null);
  104172. t2 = t2[0];
  104173. t5 = A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>");
  104174. 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));
  104175. },
  104176. $signature() {
  104177. return this.V._eval$1("0()");
  104178. }
  104179. };
  104180. A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
  104181. call$1($name) {
  104182. return "$" + $name;
  104183. },
  104184. $signature: 6
  104185. };
  104186. A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
  104187. call$0() {
  104188. var t1, t2, t3, t4, _i, $returnValue;
  104189. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  104190. $returnValue = t2[_i].accept$1(t4);
  104191. if ($returnValue instanceof A.Value0)
  104192. return $returnValue;
  104193. }
  104194. throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
  104195. },
  104196. $signature: 49
  104197. };
  104198. A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
  104199. call$0() {
  104200. return this._box_0.overload.verify$2(this.evaluated._values[2].length, this.namedSet);
  104201. },
  104202. $signature: 0
  104203. };
  104204. A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
  104205. call$0() {
  104206. return this._box_0.callback.call$1(this.evaluated._values[2]);
  104207. },
  104208. $signature: 49
  104209. };
  104210. A._EvaluateVisitor__runBuiltInCallable_closure7.prototype = {
  104211. call$1($name) {
  104212. return "$" + $name;
  104213. },
  104214. $signature: 6
  104215. };
  104216. A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
  104217. call$1(value) {
  104218. return value;
  104219. },
  104220. $signature: 44
  104221. };
  104222. A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
  104223. call$1(value) {
  104224. return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  104225. },
  104226. $signature: 44
  104227. };
  104228. A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
  104229. call$2(key, value) {
  104230. var _this = this,
  104231. t1 = _this.restNodeForSpan;
  104232. _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
  104233. _this.namedNodes.$indexSet(0, key, t1);
  104234. },
  104235. $signature: 108
  104236. };
  104237. A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
  104238. call$1(value) {
  104239. return value;
  104240. },
  104241. $signature: 44
  104242. };
  104243. A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
  104244. call$1(value) {
  104245. var t1 = this.restArgs;
  104246. return new A.ValueExpression0(value, t1.get$span(t1));
  104247. },
  104248. $signature: 64
  104249. };
  104250. A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
  104251. call$1(value) {
  104252. var t1 = this.restArgs;
  104253. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  104254. },
  104255. $signature: 64
  104256. };
  104257. A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
  104258. call$2(key, value) {
  104259. var _this = this,
  104260. t1 = _this.restArgs;
  104261. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  104262. },
  104263. $signature: 108
  104264. };
  104265. A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
  104266. call$1(value) {
  104267. var t1 = this.keywordRestArgs;
  104268. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  104269. },
  104270. $signature: 64
  104271. };
  104272. A._EvaluateVisitor__addRestMap_closure1.prototype = {
  104273. call$2(key, value) {
  104274. var t2, _this = this,
  104275. t1 = _this.$this;
  104276. if (key instanceof A.SassString0)
  104277. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  104278. else {
  104279. t2 = _this.nodeWithSpan;
  104280. 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)));
  104281. }
  104282. },
  104283. $signature: 98
  104284. };
  104285. A._EvaluateVisitor__verifyArguments_closure1.prototype = {
  104286. call$0() {
  104287. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  104288. },
  104289. $signature: 0
  104290. };
  104291. A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
  104292. call$0() {
  104293. var t1, t2, t3, t4;
  104294. 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();) {
  104295. t4 = t1.__internal$_current;
  104296. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104297. }
  104298. },
  104299. $signature: 1
  104300. };
  104301. A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
  104302. call$1(node) {
  104303. return node instanceof A.ModifiableCssStyleRule0;
  104304. },
  104305. $signature: 7
  104306. };
  104307. A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
  104308. call$0() {
  104309. var t1, t2, t3, t4;
  104310. 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();) {
  104311. t4 = t1.__internal$_current;
  104312. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104313. }
  104314. },
  104315. $signature: 1
  104316. };
  104317. A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
  104318. call$1(node) {
  104319. return node instanceof A.ModifiableCssStyleRule0;
  104320. },
  104321. $signature: 7
  104322. };
  104323. A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
  104324. call$1(mediaQueries) {
  104325. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  104326. },
  104327. $signature: 105
  104328. };
  104329. A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
  104330. call$0() {
  104331. var _this = this,
  104332. t1 = _this.$this,
  104333. t2 = _this.mergedQueries;
  104334. if (t2 == null)
  104335. t2 = _this.node.queries;
  104336. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
  104337. },
  104338. $signature: 1
  104339. };
  104340. A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
  104341. call$0() {
  104342. var t2, t3, t4,
  104343. t1 = this.$this,
  104344. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  104345. if (_0_0 != null)
  104346. 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);
  104347. else
  104348. 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();) {
  104349. t4 = t2.__internal$_current;
  104350. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  104351. }
  104352. },
  104353. $signature: 1
  104354. };
  104355. A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
  104356. call$0() {
  104357. var t1, t2, t3, t4;
  104358. 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();) {
  104359. t4 = t1.__internal$_current;
  104360. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104361. }
  104362. },
  104363. $signature: 1
  104364. };
  104365. A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
  104366. call$1(node) {
  104367. var t1;
  104368. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  104369. t1 = this.mergedSources;
  104370. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  104371. } else
  104372. t1 = true;
  104373. return t1;
  104374. },
  104375. $signature: 7
  104376. };
  104377. A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
  104378. call$0() {
  104379. var t1 = this.$this;
  104380. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
  104381. },
  104382. $signature: 1
  104383. };
  104384. A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
  104385. call$0() {
  104386. var t1, t2, t3, t4;
  104387. 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();) {
  104388. t4 = t1.__internal$_current;
  104389. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104390. }
  104391. },
  104392. $signature: 1
  104393. };
  104394. A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
  104395. call$1(node) {
  104396. return node instanceof A.ModifiableCssStyleRule0;
  104397. },
  104398. $signature: 7
  104399. };
  104400. A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
  104401. call$0() {
  104402. var t2, t3, t4,
  104403. t1 = this.$this,
  104404. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  104405. if (_0_0 != null)
  104406. 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);
  104407. else
  104408. 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();) {
  104409. t4 = t2.__internal$_current;
  104410. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  104411. }
  104412. },
  104413. $signature: 1
  104414. };
  104415. A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
  104416. call$0() {
  104417. var t1, t2, t3, t4;
  104418. 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();) {
  104419. t4 = t1.__internal$_current;
  104420. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104421. }
  104422. },
  104423. $signature: 1
  104424. };
  104425. A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
  104426. call$1(node) {
  104427. return node instanceof A.ModifiableCssStyleRule0;
  104428. },
  104429. $signature: 7
  104430. };
  104431. A._EvaluateVisitor__performInterpolationHelper_closure1.prototype = {
  104432. call$1(targetLocations) {
  104433. return A.InterpolationMap$0(this.interpolation, targetLocations);
  104434. },
  104435. $signature: 229
  104436. };
  104437. A._EvaluateVisitor__serialize_closure1.prototype = {
  104438. call$0() {
  104439. return A.serializeValue0(this.value, false, this.quote);
  104440. },
  104441. $signature: 32
  104442. };
  104443. A._EvaluateVisitor__expressionNode_closure1.prototype = {
  104444. call$0() {
  104445. var t1 = this.expression;
  104446. return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  104447. },
  104448. $signature: 227
  104449. };
  104450. A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
  104451. call$1(number) {
  104452. var before, after, t1,
  104453. _1_0 = number.asSlash;
  104454. $label0$0: {
  104455. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  104456. before = _1_0._0;
  104457. after = _1_0._1;
  104458. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  104459. break $label0$0;
  104460. }
  104461. t1 = A.serializeValue0(number, true, true);
  104462. break $label0$0;
  104463. }
  104464. return t1;
  104465. },
  104466. $signature: 225
  104467. };
  104468. A._EvaluateVisitor__stackFrame_closure1.prototype = {
  104469. call$1(url) {
  104470. var t1 = this.$this._evaluate0$_importCache;
  104471. t1 = t1 == null ? null : t1.humanize$1(url);
  104472. return t1 == null ? url : t1;
  104473. },
  104474. $signature: 51
  104475. };
  104476. A._ImportedCssVisitor1.prototype = {
  104477. visitCssAtRule$1(node) {
  104478. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
  104479. this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
  104480. },
  104481. visitCssComment$1(node) {
  104482. return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
  104483. },
  104484. visitCssDeclaration$1(node) {
  104485. },
  104486. visitCssImport$1(node) {
  104487. var t2,
  104488. _s13_ = "_endOfImports",
  104489. t1 = this._evaluate0$_visitor;
  104490. if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
  104491. t1._evaluate0$_addChild$1(node);
  104492. 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)) {
  104493. t1._evaluate0$_addChild$1(node);
  104494. t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
  104495. } else {
  104496. t2 = t1._evaluate0$_outOfOrderImports;
  104497. (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  104498. }
  104499. },
  104500. visitCssKeyframeBlock$1(node) {
  104501. },
  104502. visitCssMediaRule$1(node) {
  104503. var t1 = this._evaluate0$_visitor,
  104504. mediaQueries = t1._evaluate0$_mediaQueries;
  104505. t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  104506. },
  104507. visitCssStyleRule$1(node) {
  104508. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
  104509. },
  104510. visitCssStylesheet$1(node) {
  104511. var t1, t2, t3;
  104512. 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();) {
  104513. t3 = t1.__internal$_current;
  104514. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  104515. }
  104516. },
  104517. visitCssSupportsRule$1(node) {
  104518. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
  104519. }
  104520. };
  104521. A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
  104522. call$1(node) {
  104523. return node instanceof A.ModifiableCssStyleRule0;
  104524. },
  104525. $signature: 7
  104526. };
  104527. A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
  104528. call$1(node) {
  104529. var t1;
  104530. if (!(node instanceof A.ModifiableCssStyleRule0))
  104531. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  104532. else
  104533. t1 = true;
  104534. return t1;
  104535. },
  104536. $signature: 7
  104537. };
  104538. A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
  104539. call$1(node) {
  104540. return node instanceof A.ModifiableCssStyleRule0;
  104541. },
  104542. $signature: 7
  104543. };
  104544. A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
  104545. call$1(node) {
  104546. return node instanceof A.ModifiableCssStyleRule0;
  104547. },
  104548. $signature: 7
  104549. };
  104550. A._EvaluationContext1.prototype = {
  104551. get$currentCallableSpan() {
  104552. var _0_0 = this._evaluate0$_visitor._evaluate0$_callableNode;
  104553. if (_0_0 != null)
  104554. return _0_0.get$span(_0_0);
  104555. throw A.wrapException(A.StateError$(string$.No_Sasc));
  104556. },
  104557. warn$2(_, message, deprecation) {
  104558. var t1 = this._evaluate0$_visitor,
  104559. t2 = t1._evaluate0$_importSpan;
  104560. if (t2 == null) {
  104561. t2 = t1._evaluate0$_callableNode;
  104562. t2 = t2 == null ? null : t2.get$span(t2);
  104563. }
  104564. t1._evaluate0$_warn$3(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  104565. },
  104566. $isEvaluationContext0: 1
  104567. };
  104568. A.EveryCssVisitor0.prototype = {
  104569. visitCssAtRule$1(node) {
  104570. var t1 = node.children;
  104571. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure0(this));
  104572. },
  104573. visitCssComment$1(node) {
  104574. return false;
  104575. },
  104576. visitCssDeclaration$1(node) {
  104577. return false;
  104578. },
  104579. visitCssImport$1(node) {
  104580. return false;
  104581. },
  104582. visitCssKeyframeBlock$1(node) {
  104583. var t1 = node.children;
  104584. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure0(this));
  104585. },
  104586. visitCssMediaRule$1(node) {
  104587. var t1 = node.children;
  104588. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure0(this));
  104589. },
  104590. visitCssStyleRule$1(node) {
  104591. var t1 = node.children;
  104592. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure0(this));
  104593. },
  104594. visitCssStylesheet$1(node) {
  104595. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure0(this));
  104596. },
  104597. visitCssSupportsRule$1(node) {
  104598. var t1 = node.children;
  104599. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure0(this));
  104600. }
  104601. };
  104602. A.EveryCssVisitor_visitCssAtRule_closure0.prototype = {
  104603. call$1(child) {
  104604. return child.accept$1(this.$this);
  104605. },
  104606. $signature: 7
  104607. };
  104608. A.EveryCssVisitor_visitCssKeyframeBlock_closure0.prototype = {
  104609. call$1(child) {
  104610. return child.accept$1(this.$this);
  104611. },
  104612. $signature: 7
  104613. };
  104614. A.EveryCssVisitor_visitCssMediaRule_closure0.prototype = {
  104615. call$1(child) {
  104616. return child.accept$1(this.$this);
  104617. },
  104618. $signature: 7
  104619. };
  104620. A.EveryCssVisitor_visitCssStyleRule_closure0.prototype = {
  104621. call$1(child) {
  104622. return child.accept$1(this.$this);
  104623. },
  104624. $signature: 7
  104625. };
  104626. A.EveryCssVisitor_visitCssStylesheet_closure0.prototype = {
  104627. call$1(child) {
  104628. return child.accept$1(this.$this);
  104629. },
  104630. $signature: 7
  104631. };
  104632. A.EveryCssVisitor_visitCssSupportsRule_closure0.prototype = {
  104633. call$1(child) {
  104634. return child.accept$1(this.$this);
  104635. },
  104636. $signature: 7
  104637. };
  104638. A._NodeException.prototype = {};
  104639. A.exceptionClass_closure.prototype = {
  104640. call$0() {
  104641. 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());
  104642. A.defineGetter(jsClass, "name", null, "sass.Exception");
  104643. 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));
  104644. return jsClass;
  104645. },
  104646. $signature: 15
  104647. };
  104648. A.exceptionClass__closure.prototype = {
  104649. call$1(exception) {
  104650. return J.get$_dartException$x(exception)._span_exception$_message;
  104651. },
  104652. $signature: 216
  104653. };
  104654. A.exceptionClass__closure0.prototype = {
  104655. call$1(exception) {
  104656. return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
  104657. },
  104658. $signature: 216
  104659. };
  104660. A.exceptionClass__closure1.prototype = {
  104661. call$1(exception) {
  104662. var t1 = J.get$_dartException$x(exception),
  104663. t2 = J.getInterceptor$z(t1);
  104664. return A.SourceSpanException.prototype.get$span.call(t2, t1);
  104665. },
  104666. $signature: 463
  104667. };
  104668. A.SassException0.prototype = {
  104669. get$trace(_) {
  104670. return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  104671. },
  104672. get$span(_) {
  104673. return A.SourceSpanException.prototype.get$span.call(this, 0);
  104674. },
  104675. withAdditionalSpan$2(span, label) {
  104676. 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);
  104677. },
  104678. withTrace$1(trace) {
  104679. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  104680. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  104681. return new A.SassRuntimeException0(trace, t2, this._span_exception$_message, t1);
  104682. },
  104683. withLoadedUrls$1(loadedUrls) {
  104684. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  104685. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  104686. return new A.SassException0(t2, this._span_exception$_message, t1);
  104687. },
  104688. toString$1$color(_, color) {
  104689. var t2, _i, frame, t3, _this = this,
  104690. buffer = new A.StringBuffer(""),
  104691. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  104692. buffer._contents = t1;
  104693. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  104694. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  104695. frame = t1[_i];
  104696. if (frame.length === 0)
  104697. continue;
  104698. t3 = buffer._contents += "\n";
  104699. buffer._contents = t3 + (" " + frame);
  104700. }
  104701. t1 = buffer._contents;
  104702. return t1.charCodeAt(0) == 0 ? t1 : t1;
  104703. },
  104704. toString$0(_) {
  104705. return this.toString$1$color(0, null);
  104706. }
  104707. };
  104708. A.MultiSpanSassException0.prototype = {
  104709. withAdditionalSpan$2(span, label) {
  104710. var _this = this,
  104711. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  104712. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  104713. t2.$indexSet(0, span, label);
  104714. return A.MultiSpanSassException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  104715. },
  104716. withTrace$1(trace) {
  104717. var _this = this;
  104718. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  104719. },
  104720. withLoadedUrls$1(loadedUrls) {
  104721. var _this = this;
  104722. return A.MultiSpanSassException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  104723. },
  104724. toString$1$color(_, color) {
  104725. var t1, t2, _i, frame, t3, _this = this,
  104726. useColor = color === true,
  104727. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  104728. 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));
  104729. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  104730. frame = t1[_i];
  104731. if (frame.length === 0)
  104732. continue;
  104733. t3 = buffer._contents += "\n";
  104734. buffer._contents = t3 + (" " + frame);
  104735. }
  104736. t1 = buffer._contents;
  104737. return t1.charCodeAt(0) == 0 ? t1 : t1;
  104738. },
  104739. toString$0(_) {
  104740. return this.toString$1$color(0, null);
  104741. },
  104742. get$primaryLabel() {
  104743. return this.primaryLabel;
  104744. },
  104745. get$secondarySpans() {
  104746. return this.secondarySpans;
  104747. }
  104748. };
  104749. A.SassRuntimeException0.prototype = {
  104750. withAdditionalSpan$2(span, label) {
  104751. var _this = this;
  104752. 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);
  104753. },
  104754. withLoadedUrls$1(loadedUrls) {
  104755. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  104756. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  104757. return new A.SassRuntimeException0(this.trace, t2, this._span_exception$_message, t1);
  104758. },
  104759. get$trace(receiver) {
  104760. return this.trace;
  104761. }
  104762. };
  104763. A.MultiSpanSassRuntimeException0.prototype = {
  104764. withAdditionalSpan$2(span, label) {
  104765. var _this = this,
  104766. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  104767. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  104768. t2.$indexSet(0, span, label);
  104769. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  104770. },
  104771. withLoadedUrls$1(loadedUrls) {
  104772. var _this = this;
  104773. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  104774. },
  104775. $isSassRuntimeException0: 1,
  104776. get$trace(receiver) {
  104777. return this.trace;
  104778. }
  104779. };
  104780. A.SassFormatException0.prototype = {
  104781. get$source() {
  104782. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  104783. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  104784. },
  104785. withAdditionalSpan$2(span, label) {
  104786. 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);
  104787. },
  104788. withLoadedUrls$1(loadedUrls) {
  104789. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  104790. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  104791. return new A.SassFormatException0(t2, this._span_exception$_message, t1);
  104792. },
  104793. $isFormatException: 1,
  104794. $isSourceSpanFormatException: 1
  104795. };
  104796. A.MultiSpanSassFormatException0.prototype = {
  104797. get$source() {
  104798. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  104799. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  104800. },
  104801. withAdditionalSpan$2(span, label) {
  104802. var _this = this,
  104803. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  104804. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  104805. t2.$indexSet(0, span, label);
  104806. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  104807. },
  104808. withLoadedUrls$1(loadedUrls) {
  104809. var _this = this;
  104810. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  104811. },
  104812. $isFormatException: 1,
  104813. $isSourceSpanFormatException: 1,
  104814. $isMultiSourceSpanFormatException: 1,
  104815. $isSassFormatException0: 1
  104816. };
  104817. A.SassScriptException0.prototype = {
  104818. withSpan$1(span) {
  104819. return new A.SassException0(B.Set_empty, this.message, span);
  104820. },
  104821. toString$0(_) {
  104822. return this.message + string$.x0a_BUG_;
  104823. },
  104824. get$message(receiver) {
  104825. return this.message;
  104826. }
  104827. };
  104828. A.MultiSpanSassScriptException0.prototype = {
  104829. withSpan$1(span) {
  104830. return A.MultiSpanSassException$0(this.message, span, this.primaryLabel, this.secondarySpans, null);
  104831. }
  104832. };
  104833. A.Exports.prototype = {};
  104834. A.LoggerNamespace.prototype = {};
  104835. A.Expression0.prototype = {$isAstNode0: 1, $isSassNode: 1};
  104836. A.JSExpressionVisitor.prototype = {
  104837. visitBinaryOperationExpression$1(_, node) {
  104838. return J.visitBinaryOperationExpression$1$x(this._expression$_inner, node);
  104839. },
  104840. visitBooleanExpression$1(_, node) {
  104841. return J.visitBooleanExpression$1$x(this._expression$_inner, node);
  104842. },
  104843. visitColorExpression$1(_, node) {
  104844. return J.visitColorExpression$1$x(this._expression$_inner, node);
  104845. },
  104846. visitInterpolatedFunctionExpression$1(_, node) {
  104847. return J.visitInterpolatedFunctionExpression$1$x(this._expression$_inner, node);
  104848. },
  104849. visitFunctionExpression$1(_, node) {
  104850. return J.visitFunctionExpression$1$x(this._expression$_inner, node);
  104851. },
  104852. visitIfExpression$1(_, node) {
  104853. return J.visitIfExpression$1$x(this._expression$_inner, node);
  104854. },
  104855. visitListExpression$1(_, node) {
  104856. return J.visitListExpression$1$x(this._expression$_inner, node);
  104857. },
  104858. visitMapExpression$1(_, node) {
  104859. return J.visitMapExpression$1$x(this._expression$_inner, node);
  104860. },
  104861. visitNullExpression$1(_, node) {
  104862. return J.visitNullExpression$1$x(this._expression$_inner, node);
  104863. },
  104864. visitNumberExpression$1(_, node) {
  104865. return J.visitNumberExpression$1$x(this._expression$_inner, node);
  104866. },
  104867. visitParenthesizedExpression$1(_, node) {
  104868. return J.visitParenthesizedExpression$1$x(this._expression$_inner, node);
  104869. },
  104870. visitSelectorExpression$1(_, node) {
  104871. return J.visitSelectorExpression$1$x(this._expression$_inner, node);
  104872. },
  104873. visitStringExpression$1(_, node) {
  104874. return J.visitStringExpression$1$x(this._expression$_inner, node);
  104875. },
  104876. visitSupportsExpression$1(_, node) {
  104877. return J.visitSupportsExpression$1$x(this._expression$_inner, node);
  104878. },
  104879. visitUnaryOperationExpression$1(_, node) {
  104880. return J.visitUnaryOperationExpression$1$x(this._expression$_inner, node);
  104881. },
  104882. visitValueExpression$1(_, node) {
  104883. return J.visitValueExpression$1$x(this._expression$_inner, node);
  104884. },
  104885. visitVariableExpression$1(_, node) {
  104886. return J.visitVariableExpression$1$x(this._expression$_inner, node);
  104887. },
  104888. $isExpressionVisitor: 1
  104889. };
  104890. A.JSExpressionVisitorObject.prototype = {};
  104891. A._MakeExpressionCalculationSafe0.prototype = {
  104892. visitBinaryOperationExpression$1(_, node) {
  104893. var t1, t2, t3, t4;
  104894. if (node.operator === B.BinaryOperator_s7T0) {
  104895. t1 = A._setArrayType([node], type$.JSArray_Expression_2);
  104896. t2 = node.get$span(0);
  104897. t3 = type$.Expression_2;
  104898. t1 = A.List_List$unmodifiable(t1, t3);
  104899. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  104900. t4 = node.get$span(0);
  104901. t1 = new A.FunctionExpression0("math", A.stringReplaceAllUnchecked("max", "_", "-"), "max", new A.ArgumentList0(t1, t3, null, null, t2), t4);
  104902. } else
  104903. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0(0, node);
  104904. return t1;
  104905. },
  104906. visitInterpolatedFunctionExpression$1(_, node) {
  104907. return node;
  104908. },
  104909. visitUnaryOperationExpression$1(_, node) {
  104910. var t1,
  104911. _0_0 = node.operator;
  104912. $label0$0: {
  104913. if (B.UnaryOperator_Rbl0 === _0_0) {
  104914. t1 = node.operand;
  104915. break $label0$0;
  104916. }
  104917. if (B.UnaryOperator_UCP0 === _0_0) {
  104918. t1 = new A.BinaryOperationExpression0(B.BinaryOperator_tht0, new A.NumberExpression0(-1, null, node.span), node.operand, false);
  104919. break $label0$0;
  104920. }
  104921. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0(0, node);
  104922. break $label0$0;
  104923. }
  104924. return t1;
  104925. },
  104926. $isExpressionVisitor: 1
  104927. };
  104928. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0.prototype = {};
  104929. A.ExtendRule0.prototype = {
  104930. accept$1$1(visitor) {
  104931. return visitor.visitExtendRule$1(0, this);
  104932. },
  104933. accept$1(visitor) {
  104934. return this.accept$1$1(visitor, type$.dynamic);
  104935. },
  104936. toString$0(_) {
  104937. var t1 = this.selector.toString$0(0),
  104938. t2 = this.isOptional ? " !optional" : "";
  104939. return "@extend " + t1 + t2 + ";";
  104940. },
  104941. get$span(receiver) {
  104942. return this.span;
  104943. }
  104944. };
  104945. A.Extension0.prototype = {
  104946. toString$0(_) {
  104947. var t1 = this.extender.toString$0(0),
  104948. t2 = this.target.toString$0(0),
  104949. t3 = this.isOptional ? " !optional" : "";
  104950. return t1 + " {@extend " + t2 + t3 + "}";
  104951. }
  104952. };
  104953. A.Extender0.prototype = {
  104954. assertCompatibleMediaContext$1(mediaContext) {
  104955. var expectedMediaContext,
  104956. extension = this._extension$_extension;
  104957. if (extension == null)
  104958. return;
  104959. expectedMediaContext = extension.mediaContext;
  104960. if (expectedMediaContext == null)
  104961. return;
  104962. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  104963. return;
  104964. throw A.wrapException(A.SassException$0(string$.You_ma, extension.span, null));
  104965. },
  104966. toString$0(_) {
  104967. return A.serializeSelector0(this.selector, true);
  104968. }
  104969. };
  104970. A.ExtensionStore0.prototype = {
  104971. get$isEmpty(_) {
  104972. return this._extension_store$_extensions.__js_helper$_length === 0;
  104973. },
  104974. get$simpleSelectors() {
  104975. return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
  104976. },
  104977. extensionsWhereTarget$1(callback) {
  104978. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore0(callback), type$._SyncStarIterable_Extension_2);
  104979. },
  104980. extensionsWhereTarget$body$ExtensionStore0($async$callback) {
  104981. var $async$self = this;
  104982. return function() {
  104983. var callback = $async$callback;
  104984. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, simple, sources, t3;
  104985. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  104986. if ($async$errorCode === 1) {
  104987. $async$errorStack.push($async$result);
  104988. $async$goto = $async$handler;
  104989. }
  104990. while (true)
  104991. switch ($async$goto) {
  104992. case 0:
  104993. // Function start
  104994. t1 = A.MapExtensions_get_pairs0($async$self._extension_store$_extensions, type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2), t1 = t1.get$iterator(t1);
  104995. case 2:
  104996. // for condition
  104997. if (!t1.moveNext$0()) {
  104998. // goto after for
  104999. $async$goto = 3;
  105000. break;
  105001. }
  105002. t2 = t1.get$current(t1);
  105003. simple = t2._0;
  105004. sources = t2._1;
  105005. if (!callback.call$1(simple)) {
  105006. // goto for condition
  105007. $async$goto = 2;
  105008. break;
  105009. }
  105010. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  105011. case 4:
  105012. // for condition
  105013. if (!t2.moveNext$0()) {
  105014. // goto after for
  105015. $async$goto = 5;
  105016. break;
  105017. }
  105018. t3 = t2.get$current(t2);
  105019. $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
  105020. break;
  105021. case 6:
  105022. // then
  105023. t3 = t3.unmerge$0();
  105024. $async$goto = 9;
  105025. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  105026. case 9:
  105027. // after yield
  105028. // goto join
  105029. $async$goto = 7;
  105030. break;
  105031. case 8:
  105032. // else
  105033. $async$goto = !t3.isOptional ? 10 : 11;
  105034. break;
  105035. case 10:
  105036. // then
  105037. $async$goto = 12;
  105038. return $async$iterator._async$_current = t3, 1;
  105039. case 12:
  105040. // after yield
  105041. case 11:
  105042. // join
  105043. case 7:
  105044. // join
  105045. // goto for condition
  105046. $async$goto = 4;
  105047. break;
  105048. case 5:
  105049. // after for
  105050. // goto for condition
  105051. $async$goto = 2;
  105052. break;
  105053. case 3:
  105054. // after for
  105055. // implicit return
  105056. return 0;
  105057. case 1:
  105058. // rethrow
  105059. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  105060. }
  105061. };
  105062. };
  105063. },
  105064. addSelector$2(selector, mediaContext) {
  105065. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  105066. selector = selector;
  105067. originalSelector = selector;
  105068. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true0))
  105069. _this._extension_store$_originals.addAll$1(0, originalSelector.components);
  105070. t1 = _this._extension_store$_extensions;
  105071. if (t1.__js_helper$_length !== 0)
  105072. try {
  105073. selector = _this._extension_store$_extendList$3(originalSelector, t1, mediaContext);
  105074. } catch (exception) {
  105075. t1 = A.unwrapException(exception);
  105076. if (t1 instanceof A.SassException0) {
  105077. error = t1;
  105078. stackTrace = A.getTraceFromException(exception);
  105079. t1 = error;
  105080. t2 = J.getInterceptor$z(t1);
  105081. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  105082. t2 = error._span_exception$_message;
  105083. t3 = error;
  105084. t4 = J.getInterceptor$z(t3);
  105085. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  105086. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  105087. } else
  105088. throw exception;
  105089. }
  105090. modifiableSelector = new A.ModifiableBox0(selector, type$.ModifiableBox_SelectorList_2);
  105091. if (mediaContext != null)
  105092. _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  105093. _this._extension_store$_registerSelector$2(selector, modifiableSelector);
  105094. return new A.Box0(modifiableSelector, type$.Box_SelectorList_2);
  105095. },
  105096. _extension_store$_registerSelector$2(list, selector) {
  105097. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2_isSet, _0_2, t9, selectorInPseudo;
  105098. for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, t4 = type$.SelectorList_2, _i = 0; _i < t2; ++_i)
  105099. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  105100. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  105101. simple = t7[_i1];
  105102. t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()).add$1(0, selector);
  105103. _0_2_isSet = simple instanceof A.PseudoSelector0;
  105104. if (_0_2_isSet) {
  105105. _0_2 = simple.selector;
  105106. t9 = _0_2 != null;
  105107. } else {
  105108. _0_2 = null;
  105109. t9 = false;
  105110. }
  105111. if (t9) {
  105112. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  105113. this._extension_store$_registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  105114. }
  105115. }
  105116. },
  105117. addExtension$4(extender, target, extend, mediaContext) {
  105118. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  105119. selectors = _this._extension_store$_selectors.$index(0, target),
  105120. t1 = _this._extension_store$_extensionsByExtender,
  105121. existingExtensions = t1.$index(0, target),
  105122. sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
  105123. 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) {
  105124. complex = t2[_i];
  105125. if (complex.accept$1(B.C__IsUselessVisitor0))
  105126. continue;
  105127. complex.get$specificity();
  105128. t11 = new A.Extender0(complex, false);
  105129. extension = t11._extension$_extension = new A.Extension0(t11, target, mediaContext, t7, t6);
  105130. _0_0 = sources.$index(0, complex);
  105131. if (_0_0 != null) {
  105132. sources.$indexSet(0, complex, A.MergedExtension_merge0(_0_0, extension));
  105133. continue;
  105134. }
  105135. sources.$indexSet(0, complex, extension);
  105136. for (t11 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  105137. t12 = t11._async$_current;
  105138. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure3()), extension);
  105139. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure4(complex));
  105140. }
  105141. if (!t4 || t8) {
  105142. if (newExtensions == null)
  105143. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  105144. newExtensions.$indexSet(0, complex, extension);
  105145. }
  105146. }
  105147. if (newExtensions == null)
  105148. return;
  105149. t1 = type$.SimpleSelector_2;
  105150. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
  105151. if (t8) {
  105152. additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  105153. if (additionalExtensions != null)
  105154. A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  105155. }
  105156. if (!t4)
  105157. _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
  105158. },
  105159. _extension_store$_simpleSelectors$1(complex) {
  105160. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore0(complex), type$._SyncStarIterable_SimpleSelector_2);
  105161. },
  105162. _simpleSelectors$body$ExtensionStore0($async$complex) {
  105163. var $async$self = this;
  105164. return function() {
  105165. var complex = $async$complex;
  105166. 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;
  105167. return function $async$_extension_store$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  105168. if ($async$errorCode === 1) {
  105169. $async$errorStack.push($async$result);
  105170. $async$goto = $async$handler;
  105171. }
  105172. while (true)
  105173. switch ($async$goto) {
  105174. case 0:
  105175. // Function start
  105176. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList_2, _i = 0;
  105177. case 2:
  105178. // for condition
  105179. if (!(_i < t2)) {
  105180. // goto after for
  105181. $async$goto = 4;
  105182. break;
  105183. }
  105184. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  105185. case 5:
  105186. // for condition
  105187. if (!(_i0 < t5)) {
  105188. // goto after for
  105189. $async$goto = 7;
  105190. break;
  105191. }
  105192. simple = t4[_i0];
  105193. $async$goto = 8;
  105194. return $async$iterator._async$_current = simple, 1;
  105195. case 8:
  105196. // after yield
  105197. _0_2_isSet = simple instanceof A.PseudoSelector0;
  105198. if (_0_2_isSet) {
  105199. _0_2 = simple.selector;
  105200. t6 = _0_2 != null;
  105201. } else {
  105202. _0_2 = null;
  105203. t6 = false;
  105204. }
  105205. $async$goto = t6 ? 9 : 10;
  105206. break;
  105207. case 9:
  105208. // then
  105209. selector = _0_2_isSet ? _0_2 : simple.selector;
  105210. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  105211. case 11:
  105212. // for condition
  105213. if (!(_i1 < t7)) {
  105214. // goto after for
  105215. $async$goto = 13;
  105216. break;
  105217. }
  105218. $async$goto = 14;
  105219. return $async$iterator._yieldStar$1($async$self._extension_store$_simpleSelectors$1(t6[_i1]));
  105220. case 14:
  105221. // after yield
  105222. case 12:
  105223. // for update
  105224. ++_i1;
  105225. // goto for condition
  105226. $async$goto = 11;
  105227. break;
  105228. case 13:
  105229. // after for
  105230. case 10:
  105231. // join
  105232. case 6:
  105233. // for update
  105234. ++_i0;
  105235. // goto for condition
  105236. $async$goto = 5;
  105237. break;
  105238. case 7:
  105239. // after for
  105240. case 3:
  105241. // for update
  105242. ++_i;
  105243. // goto for condition
  105244. $async$goto = 2;
  105245. break;
  105246. case 4:
  105247. // after for
  105248. // implicit return
  105249. return 0;
  105250. case 1:
  105251. // rethrow
  105252. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  105253. }
  105254. };
  105255. };
  105256. },
  105257. _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
  105258. 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;
  105259. 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) {
  105260. extension = t1[_i];
  105261. t7 = t6.$index(0, extension.target);
  105262. t7.toString;
  105263. selectors = null;
  105264. try {
  105265. selectors = this._extension_store$_extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  105266. if (selectors == null)
  105267. continue;
  105268. } catch (exception) {
  105269. t8 = A.unwrapException(exception);
  105270. if (t8 instanceof A.SassException0) {
  105271. error = t8;
  105272. stackTrace = A.getTraceFromException(exception);
  105273. A.throwWithTrace0(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  105274. } else
  105275. throw exception;
  105276. }
  105277. t8 = J.get$first$ax(selectors);
  105278. t9 = extension.extender.selector;
  105279. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  105280. t8 = selectors;
  105281. t9 = A._arrayInstanceType(t8);
  105282. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  105283. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  105284. selectors = selectors0;
  105285. }
  105286. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  105287. t9 = t8.get$current(t8);
  105288. t10 = extension;
  105289. t11 = t10.target;
  105290. t12 = t10.span;
  105291. t13 = t10.mediaContext;
  105292. t10 = t10.isOptional;
  105293. t9.get$specificity();
  105294. t14 = new A.Extender0(t9, false);
  105295. withExtender = t14._extension$_extension = new A.Extension0(t14, t11, t13, t10, t12);
  105296. _0_0 = t7.$index(0, t9);
  105297. if (_0_0 != null)
  105298. t7.$indexSet(0, t9, A.MergedExtension_merge0(_0_0, withExtender));
  105299. else {
  105300. t7.$indexSet(0, t9, withExtender);
  105301. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  105302. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  105303. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
  105304. if (newExtensions.containsKey$1(extension.target)) {
  105305. if (additionalExtensions == null)
  105306. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  105307. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, t9, withExtender);
  105308. }
  105309. }
  105310. }
  105311. }
  105312. return additionalExtensions;
  105313. },
  105314. _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
  105315. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  105316. for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
  105317. selector = t1.get$current(t1);
  105318. oldValue = selector.value;
  105319. try {
  105320. selector.value = this._extension_store$_extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  105321. } catch (exception) {
  105322. t3 = A.unwrapException(exception);
  105323. if (t3 instanceof A.SassException0) {
  105324. error = t3;
  105325. stackTrace = A.getTraceFromException(exception);
  105326. t3 = selector.value.span.message$1(0, "");
  105327. t4 = error._span_exception$_message;
  105328. t5 = error;
  105329. t6 = J.getInterceptor$z(t5);
  105330. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  105331. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  105332. } else
  105333. throw exception;
  105334. }
  105335. if (oldValue === selector.value)
  105336. continue;
  105337. this._extension_store$_registerSelector$2(selector.value, selector);
  105338. }
  105339. },
  105340. addExtensions$1(extensionStores) {
  105341. 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;
  105342. 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();) {
  105343. t12 = t1.get$current(t1);
  105344. if (t12.get$isEmpty(t12))
  105345. continue;
  105346. t11.addAll$1(0, t12.get$_extension_store$_sourceSpecificity());
  105347. for (t12 = A.MapExtensions_get_pairs0(t12.get$_extension_store$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  105348. t13 = t12.get$current(t12);
  105349. target = t13._0;
  105350. newSources = t13._1;
  105351. if (target instanceof A.PlaceholderSelector0) {
  105352. first = target.name.charCodeAt(0);
  105353. t13 = first === 45 || first === 95;
  105354. } else
  105355. t13 = false;
  105356. if (t13)
  105357. continue;
  105358. extensionsForTarget = t8.$index(0, target);
  105359. t13 = extensionsForTarget == null;
  105360. if (!t13) {
  105361. if (extensionsToExtend == null) {
  105362. extensionsToExtend = A._setArrayType([], t9);
  105363. t14 = extensionsToExtend;
  105364. } else
  105365. t14 = extensionsToExtend;
  105366. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  105367. }
  105368. selectorsForTarget = t7.$index(0, target);
  105369. t14 = selectorsForTarget != null;
  105370. if (t14) {
  105371. if (selectorsToExtend == null) {
  105372. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  105373. t15 = selectorsToExtend;
  105374. } else
  105375. t15 = selectorsToExtend;
  105376. t15.addAll$1(0, selectorsForTarget);
  105377. }
  105378. _2_0 = t4.$index(0, target);
  105379. if (_2_0 != null)
  105380. for (t15 = A.MapExtensions_get_pairs0(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  105381. t16 = t15.get$current(t15);
  105382. extender = t16._0;
  105383. extension = t16._1;
  105384. if (_2_0.containsKey$1(extender)) {
  105385. t16 = _2_0.$index(0, extender);
  105386. extension = A.MergedExtension_merge0(t16 == null ? t6._as(t16) : t16, extension);
  105387. _2_0.$indexSet(0, extender, extension);
  105388. } else
  105389. _2_0.$indexSet(0, extender, extension);
  105390. if (!t13 || t14) {
  105391. if (newExtensions == null) {
  105392. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  105393. t16 = newExtensions;
  105394. } else
  105395. t16 = newExtensions;
  105396. t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure0()).$indexSet(0, extender, extension);
  105397. }
  105398. }
  105399. else {
  105400. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  105401. t15.addAll$1(0, newSources);
  105402. t4.$indexSet(0, target, t15);
  105403. if (!t13 || t14) {
  105404. if (newExtensions == null) {
  105405. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  105406. t13 = newExtensions;
  105407. } else
  105408. t13 = newExtensions;
  105409. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  105410. t14.addAll$1(0, newSources);
  105411. t13.$indexSet(0, target, t14);
  105412. }
  105413. }
  105414. }
  105415. }
  105416. if (newExtensions != null) {
  105417. if (extensionsToExtend != null)
  105418. _this._extension_store$_extendExistingExtensions$2(extensionsToExtend, newExtensions);
  105419. if (selectorsToExtend != null)
  105420. _this._extension_store$_extendExistingSelectors$2(selectorsToExtend, newExtensions);
  105421. }
  105422. },
  105423. _extension_store$_extendList$3(list, extensions, mediaQueryContext) {
  105424. var t1, t2, t3, extended, i, complex, result, t4;
  105425. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
  105426. complex = t1[i];
  105427. result = this._extension_store$_extendComplex$3(complex, extensions, mediaQueryContext);
  105428. if (result == null) {
  105429. if (extended != null)
  105430. extended.push(complex);
  105431. } else {
  105432. if (extended == null)
  105433. if (i === 0)
  105434. extended = A._setArrayType([], t3);
  105435. else {
  105436. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  105437. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  105438. }
  105439. B.JSArray_methods.addAll$1(extended, result);
  105440. }
  105441. }
  105442. if (extended == null)
  105443. return list;
  105444. t1 = this._extension_store$_originals;
  105445. return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)), list.span);
  105446. },
  105447. _extension_store$_extendList$2(list, extensions) {
  105448. return this._extension_store$_extendList$3(list, extensions, null);
  105449. },
  105450. _extension_store$_extendComplex$3(complex, extensions, mediaQueryContext) {
  105451. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  105452. t1 = complex.leadingCombinators,
  105453. t2 = t1.length;
  105454. if (t2 > 1)
  105455. return null;
  105456. isOriginal = this._extension_store$_originals.contains$1(0, complex);
  105457. 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) {
  105458. component = t3[i];
  105459. extended = this._extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  105460. if (extended == null) {
  105461. if (extendedNotExpanded != null)
  105462. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$0(B.List_empty14, A._setArrayType([component], t10), t8, t6)], t9));
  105463. } else if (extendedNotExpanded != null)
  105464. extendedNotExpanded.push(extended);
  105465. else if (i !== 0) {
  105466. t11 = A._arrayInstanceType(t3);
  105467. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  105468. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  105469. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$0(t1, t12, t8, t6)], t9), extended], t5);
  105470. } else if (t2)
  105471. extendedNotExpanded = A._setArrayType([extended], t5);
  105472. else {
  105473. t11 = A._setArrayType([], t9);
  105474. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  105475. t13 = t12.get$current(t12);
  105476. t14 = t13.leadingCombinators;
  105477. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  105478. t14 = t13.components;
  105479. t11.push(A.ComplexSelector$0(t1, t14, t8, !t7 || t13.lineBreak));
  105480. }
  105481. }
  105482. extendedNotExpanded = A._setArrayType([t11], t5);
  105483. }
  105484. }
  105485. if (extendedNotExpanded == null)
  105486. return null;
  105487. _box_0.first = true;
  105488. t1 = type$.ComplexSelector_2;
  105489. t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
  105490. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  105491. },
  105492. _extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  105493. 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,
  105494. t1 = _this._extension_store$_mode,
  105495. targetsUsed = t1 === B.ExtendMode_normal_normal0 || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2),
  105496. t2 = component.selector,
  105497. simples = t2.components;
  105498. 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) {
  105499. simple = simples[i];
  105500. extended = _this._extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  105501. if (extended == null) {
  105502. if (options != null)
  105503. options.push(A._setArrayType([_this._extension_store$_extenderForSimple$1(simple)], t5));
  105504. } else {
  105505. if (options == null) {
  105506. options = A._setArrayType([], t4);
  105507. if (i !== 0) {
  105508. t12 = new A.SubListIterable(simples, 0, i, t8);
  105509. t12.SubListIterable$3(simples, 0, i, t9);
  105510. result = A.List_List$from(t12, false, t11);
  105511. result.$flags = 3;
  105512. t12 = result;
  105513. compound = new A.CompoundSelector0(t12, t10);
  105514. if (t12.length === 0)
  105515. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  105516. result = A.List_List$from(B.List_empty14, false, t6);
  105517. result.$flags = 3;
  105518. t12 = A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(compound, result, t10)], t7), t10, false);
  105519. _this._extension_store$_sourceSpecificityFor$1(compound);
  105520. options.push(A._setArrayType([new A.Extender0(t12, true)], t5));
  105521. }
  105522. }
  105523. B.JSArray_methods.addAll$1(options, extended);
  105524. }
  105525. }
  105526. if (options == null)
  105527. return _null;
  105528. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  105529. return _null;
  105530. if (options.length === 1) {
  105531. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector_2, result = _null; t1.moveNext$0();) {
  105532. t4 = t1.get$current(t1);
  105533. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  105534. complex = t4.selector.withAdditionalCombinators$1(t2);
  105535. if (complex.accept$1(B.C__IsUselessVisitor0))
  105536. continue;
  105537. if (result == null)
  105538. result = A._setArrayType([], t3);
  105539. result.push(complex);
  105540. }
  105541. return result;
  105542. }
  105543. extenderPaths = A.paths0(options, type$.Extender_2);
  105544. t3 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  105545. t1 = t1 === B.ExtendMode_replace_replace0;
  105546. t4 = !t1;
  105547. if (t4)
  105548. t3.push(A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(J.expand$1$1$ax(J.get$first$ax(extenderPaths), new A.ExtensionStore__extendCompound_closure2(), t11), t2.span), A.List_List$unmodifiable(component.combinators, t6), t10)], t7), t10, false));
  105549. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  105550. t5 = t2.$ti;
  105551. t2 = new A.ListIterator(t2, t2.get$length(0), t5._eval$1("ListIterator<ListIterable.E>"));
  105552. t6 = component.combinators;
  105553. t5 = t5._eval$1("ListIterable.E");
  105554. for (; t2.moveNext$0();) {
  105555. t1 = t2.__internal$_current;
  105556. extended = _this._extension_store$_unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  105557. if (extended == null)
  105558. continue;
  105559. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  105560. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  105561. if (!withCombinators.accept$1(B.C__IsUselessVisitor0))
  105562. t3.push(withCombinators);
  105563. }
  105564. }
  105565. isOriginal = new A.ExtensionStore__extendCompound_closure3();
  105566. return _this._extension_store$_trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure4(B.JSArray_methods.get$first(t3)) : isOriginal);
  105567. },
  105568. _extension_store$_unifyExtenders$3(extenders, mediaQueryContext, span) {
  105569. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  105570. toUnify = A.QueueList$(_null, type$.ComplexSelector_2);
  105571. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector_2, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  105572. t4 = t2.get$current(t2);
  105573. if (t4.isOriginal) {
  105574. if (originals == null)
  105575. originals = A._setArrayType([], t3);
  105576. t4 = t4.selector;
  105577. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  105578. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  105579. } else {
  105580. t4 = t4.selector;
  105581. if (t4.accept$1(B.C__IsUselessVisitor0))
  105582. return _null;
  105583. else
  105584. toUnify._queue_list$_add$1(t4);
  105585. }
  105586. }
  105587. if (originals != null)
  105588. toUnify.addFirst$1(A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(originals, span), A.List_List$unmodifiable(B.List_empty14, type$.CssValue_Combinator_2), span)], type$.JSArray_ComplexSelectorComponent_2), span, originalsLineBreak));
  105589. complexes = A.unifyComplex0(toUnify, span);
  105590. if (complexes == null)
  105591. return _null;
  105592. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  105593. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  105594. return complexes;
  105595. },
  105596. _extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  105597. var t2, _1_0,
  105598. t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed);
  105599. if (simple instanceof A.PseudoSelector0)
  105600. t2 = simple.selector != null;
  105601. else
  105602. t2 = false;
  105603. if (t2) {
  105604. _1_0 = this._extension_store$_extendPseudo$3(simple, extensions, mediaQueryContext);
  105605. if (_1_0 != null)
  105606. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure1(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender0>>"));
  105607. }
  105608. return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
  105609. },
  105610. _extension_store$_extenderForSimple$1(simple) {
  105611. var t1 = simple.span;
  105612. t1 = A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(A._setArrayType([simple], type$.JSArray_SimpleSelector_2), t1), A.List_List$unmodifiable(B.List_empty14, type$.CssValue_Combinator_2), t1)], type$.JSArray_ComplexSelectorComponent_2), t1, false);
  105613. this._extension_store$_sourceSpecificity.$index(0, simple);
  105614. return new A.Extender0(t1, true);
  105615. },
  105616. _extension_store$_extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  105617. var extended, complexes, t1, result,
  105618. selector = pseudo.selector;
  105619. if (selector == null)
  105620. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  105621. extended = this._extension_store$_extendList$3(selector, extensions, mediaQueryContext);
  105622. if (extended === selector)
  105623. return null;
  105624. complexes = extended.components;
  105625. t1 = pseudo.normalizedName === "not";
  105626. 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()))
  105627. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  105628. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
  105629. if (t1 && selector.components.length === 1) {
  105630. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
  105631. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  105632. return result.length === 0 ? null : result;
  105633. } else
  105634. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$0(complexes, selector.span))], type$.JSArray_PseudoSelector_2);
  105635. },
  105636. _extension_store$_trim$2(selectors, isOriginal) {
  105637. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  105638. if (selectors.length > 100)
  105639. return selectors;
  105640. result = A.QueueList$(null, type$.ComplexSelector_2);
  105641. $label0$0:
  105642. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  105643. _box_0 = {};
  105644. complex1 = selectors[i];
  105645. if (isOriginal.call$1(complex1)) {
  105646. for (j = 0; j < numOriginals; ++j)
  105647. if (result.$index(0, j).$eq(0, complex1)) {
  105648. A.rotateSlice0(result, 0, j + 1);
  105649. continue $label0$0;
  105650. }
  105651. ++numOriginals;
  105652. result.addFirst$1(complex1);
  105653. continue $label0$0;
  105654. }
  105655. _box_0.maxSpecificity = 0;
  105656. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  105657. maxSpecificity = Math.max(t5, this._extension_store$_sourceSpecificityFor$1(t3[_i].selector));
  105658. _box_0.maxSpecificity = maxSpecificity;
  105659. }
  105660. if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
  105661. continue $label0$0;
  105662. t3 = new A.SubListIterable(selectors, 0, i, t1);
  105663. t3.SubListIterable$3(selectors, 0, i, t2);
  105664. if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
  105665. continue $label0$0;
  105666. result.addFirst$1(complex1);
  105667. }
  105668. return result;
  105669. },
  105670. _extension_store$_sourceSpecificityFor$1(compound) {
  105671. var t1, t2, t3, specificity, _i, t4;
  105672. for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  105673. t4 = t3.$index(0, t1[_i]);
  105674. if (t4 == null)
  105675. t4 = 0;
  105676. specificity = Math.max(specificity, t4);
  105677. }
  105678. return specificity;
  105679. },
  105680. clone$0() {
  105681. var t2, t3, t4, _this = this,
  105682. t1 = type$.SimpleSelector_2,
  105683. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList_2),
  105684. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2),
  105685. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2);
  105686. _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  105687. t2 = type$.Extension_2;
  105688. t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
  105689. t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
  105690. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int_2);
  105691. t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
  105692. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
  105693. t4.addAll$1(0, _this._extension_store$_originals);
  105694. return new A._Record_2(new A.ExtensionStore0(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal0), oldToNewSelectors);
  105695. },
  105696. get$_extension_store$_extensions() {
  105697. return this._extension_store$_extensions;
  105698. },
  105699. get$_extension_store$_sourceSpecificity() {
  105700. return this._extension_store$_sourceSpecificity;
  105701. }
  105702. };
  105703. A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
  105704. call$1(extension) {
  105705. return !extension.isOptional;
  105706. },
  105707. $signature: 464
  105708. };
  105709. A.ExtensionStore__registerSelector_closure0.prototype = {
  105710. call$0() {
  105711. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList_2);
  105712. },
  105713. $signature: 465
  105714. };
  105715. A.ExtensionStore_addExtension_closure2.prototype = {
  105716. call$0() {
  105717. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  105718. },
  105719. $signature: 131
  105720. };
  105721. A.ExtensionStore_addExtension_closure3.prototype = {
  105722. call$0() {
  105723. return A._setArrayType([], type$.JSArray_Extension_2);
  105724. },
  105725. $signature: 258
  105726. };
  105727. A.ExtensionStore_addExtension_closure4.prototype = {
  105728. call$0() {
  105729. return this.complex.get$specificity();
  105730. },
  105731. $signature: 10
  105732. };
  105733. A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
  105734. call$0() {
  105735. return A._setArrayType([], type$.JSArray_Extension_2);
  105736. },
  105737. $signature: 258
  105738. };
  105739. A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
  105740. call$0() {
  105741. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  105742. },
  105743. $signature: 131
  105744. };
  105745. A.ExtensionStore_addExtensions_closure0.prototype = {
  105746. call$0() {
  105747. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  105748. },
  105749. $signature: 131
  105750. };
  105751. A.ExtensionStore__extendComplex_closure0.prototype = {
  105752. call$1(path) {
  105753. var t1 = this.complex;
  105754. 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);
  105755. },
  105756. $signature: 468
  105757. };
  105758. A.ExtensionStore__extendComplex__closure0.prototype = {
  105759. call$1(outputComplex) {
  105760. var _this = this,
  105761. t1 = _this._box_0;
  105762. if (t1.first && _this.$this._extension_store$_originals.contains$1(0, _this.complex))
  105763. _this.$this._extension_store$_originals.add$1(0, outputComplex);
  105764. t1.first = false;
  105765. return outputComplex;
  105766. },
  105767. $signature: 59
  105768. };
  105769. A.ExtensionStore__extendCompound_closure2.prototype = {
  105770. call$1(extender) {
  105771. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  105772. },
  105773. $signature: 470
  105774. };
  105775. A.ExtensionStore__extendCompound_closure3.prototype = {
  105776. call$1(_) {
  105777. return false;
  105778. },
  105779. $signature: 20
  105780. };
  105781. A.ExtensionStore__extendCompound_closure4.prototype = {
  105782. call$1(complex) {
  105783. return complex.$eq(0, this.original);
  105784. },
  105785. $signature: 20
  105786. };
  105787. A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
  105788. call$1(simple) {
  105789. var t1, t2,
  105790. extensionsForSimple = this.extensions.$index(0, simple);
  105791. if (extensionsForSimple == null)
  105792. return null;
  105793. t1 = this.targetsUsed;
  105794. if (t1 != null)
  105795. t1.add$1(0, simple);
  105796. t1 = A._setArrayType([], type$.JSArray_Extender_2);
  105797. t2 = this.$this;
  105798. if (t2._extension_store$_mode !== B.ExtendMode_replace_replace0)
  105799. t1.push(t2._extension_store$_extenderForSimple$1(simple));
  105800. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  105801. t1.push(t2.get$current(t2).extender);
  105802. return t1;
  105803. },
  105804. $signature: 471
  105805. };
  105806. A.ExtensionStore__extendSimple_closure1.prototype = {
  105807. call$1(pseudo) {
  105808. var t1 = this.withoutPseudo.call$1(pseudo);
  105809. return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$1(pseudo)], type$.JSArray_Extender_2) : t1;
  105810. },
  105811. $signature: 472
  105812. };
  105813. A.ExtensionStore__extendSimple_closure2.prototype = {
  105814. call$1(result) {
  105815. return A._setArrayType([result], type$.JSArray_List_Extender_2);
  105816. },
  105817. $signature: 473
  105818. };
  105819. A.ExtensionStore__extendPseudo_closure4.prototype = {
  105820. call$1(complex) {
  105821. return complex.components.length > 1;
  105822. },
  105823. $signature: 20
  105824. };
  105825. A.ExtensionStore__extendPseudo_closure5.prototype = {
  105826. call$1(complex) {
  105827. return complex.components.length === 1;
  105828. },
  105829. $signature: 20
  105830. };
  105831. A.ExtensionStore__extendPseudo_closure6.prototype = {
  105832. call$1(complex) {
  105833. return complex.components.length <= 1;
  105834. },
  105835. $signature: 20
  105836. };
  105837. A.ExtensionStore__extendPseudo_closure7.prototype = {
  105838. call$1(complex) {
  105839. var innerPseudo, innerSelector,
  105840. t1 = complex.get$singleCompound();
  105841. if (t1 == null)
  105842. innerPseudo = null;
  105843. else {
  105844. t1 = t1.components;
  105845. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  105846. }
  105847. if (!(innerPseudo instanceof A.PseudoSelector0))
  105848. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  105849. innerSelector = innerPseudo.selector;
  105850. if (innerSelector == null)
  105851. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  105852. t1 = this.pseudo;
  105853. switch (t1.normalizedName) {
  105854. case "not":
  105855. if (!B.Set_0egh6.contains$1(0, innerPseudo.normalizedName))
  105856. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  105857. return innerSelector.components;
  105858. case "is":
  105859. case "matches":
  105860. case "where":
  105861. case "any":
  105862. case "current":
  105863. case "nth-child":
  105864. case "nth-last-child":
  105865. if (innerPseudo.name !== t1.name)
  105866. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  105867. if (innerPseudo.argument != t1.argument)
  105868. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  105869. return innerSelector.components;
  105870. case "has":
  105871. case "host":
  105872. case "host-context":
  105873. case "slotted":
  105874. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  105875. default:
  105876. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  105877. }
  105878. },
  105879. $signature: 474
  105880. };
  105881. A.ExtensionStore__extendPseudo_closure8.prototype = {
  105882. call$1(complex) {
  105883. return this.pseudo.withSelector$1(A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2), this.selector.span));
  105884. },
  105885. $signature: 475
  105886. };
  105887. A.ExtensionStore__trim_closure1.prototype = {
  105888. call$1(complex2) {
  105889. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  105890. },
  105891. $signature: 20
  105892. };
  105893. A.ExtensionStore__trim_closure2.prototype = {
  105894. call$1(complex2) {
  105895. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  105896. },
  105897. $signature: 20
  105898. };
  105899. A.ExtensionStore_clone_closure0.prototype = {
  105900. call$2(simple, selectors) {
  105901. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, _this = this,
  105902. t1 = type$.ModifiableBox_SelectorList_2,
  105903. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  105904. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  105905. 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();) {
  105906. t7 = t2.get$current(t2);
  105907. newSelector = new A.ModifiableBox0(t7.value, t1);
  105908. newSelectorSet.add$1(0, newSelector);
  105909. t3.$indexSet(0, t7.value, new A.Box0(newSelector, t4));
  105910. _0_0 = t5.$index(0, t7);
  105911. if (_0_0 != null)
  105912. t6.$indexSet(0, newSelector, _0_0);
  105913. }
  105914. },
  105915. $signature: 476
  105916. };
  105917. A.FiberClass.prototype = {};
  105918. A.Fiber.prototype = {};
  105919. A.JSToDartFileImporter.prototype = {
  105920. canonicalize$1(_, url) {
  105921. var result, t1, resultUrl;
  105922. if (url.get$scheme() === "file")
  105923. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  105924. result = A.wrapJSExceptions(new A.JSToDartFileImporter_canonicalize_closure(this, url));
  105925. if (result == null)
  105926. return null;
  105927. t1 = self.Promise;
  105928. if (result instanceof t1)
  105929. A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
  105930. else {
  105931. t1 = self.URL;
  105932. if (!(result instanceof t1))
  105933. A.jsThrow(new self.Error(string$.The_fie));
  105934. }
  105935. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  105936. if (resultUrl.get$scheme() !== "file")
  105937. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  105938. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  105939. },
  105940. load$1(_, url) {
  105941. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  105942. },
  105943. isNonCanonicalScheme$1(scheme) {
  105944. return scheme !== "file";
  105945. }
  105946. };
  105947. A.JSToDartFileImporter_canonicalize_closure.prototype = {
  105948. call$0() {
  105949. return this.$this._file0$_findFileUrl.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  105950. },
  105951. $signature: 37
  105952. };
  105953. A.FilesystemImporter0.prototype = {
  105954. canonicalize$1(_, url) {
  105955. var resolved;
  105956. if (url.get$scheme() === "file")
  105957. resolved = A.resolveImportPath0($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  105958. else if (url.get$scheme() !== "")
  105959. return null;
  105960. else {
  105961. resolved = A.resolveImportPath0(A.join(this._filesystem$_loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null));
  105962. if (resolved != null && this._filesystem$_loadPathDeprecated)
  105963. A.warnForDeprecation0(string$.Using_t, B.Deprecation_Ds6);
  105964. }
  105965. return A.NullableExtension_andThen0(resolved, new A.FilesystemImporter_canonicalize_closure0());
  105966. },
  105967. load$1(_, url) {
  105968. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  105969. return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
  105970. },
  105971. toString$0(_) {
  105972. return this._filesystem$_loadPath;
  105973. }
  105974. };
  105975. A.FilesystemImporter_canonicalize_closure0.prototype = {
  105976. call$1(resolved) {
  105977. var t2, t0, _null = null,
  105978. t1 = A.isNodeJs() ? self.process : _null;
  105979. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  105980. t1 = A.isNodeJs() ? self.process : _null;
  105981. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  105982. } else
  105983. t1 = true;
  105984. if (t1) {
  105985. t1 = $.$get$context();
  105986. t2 = A._realCasePath0(A.absolute(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  105987. t0 = t2;
  105988. t2 = t1;
  105989. t1 = t0;
  105990. } else {
  105991. t1 = $.$get$context();
  105992. t2 = t1.canonicalize$1(0, resolved);
  105993. t0 = t2;
  105994. t2 = t1;
  105995. t1 = t0;
  105996. }
  105997. return t2.toUri$1(t1);
  105998. },
  105999. $signature: 122
  106000. };
  106001. A.ForRule0.prototype = {
  106002. accept$1$1(visitor) {
  106003. return visitor.visitForRule$1(0, this);
  106004. },
  106005. accept$1(visitor) {
  106006. return this.accept$1$1(visitor, type$.dynamic);
  106007. },
  106008. toString$0(_) {
  106009. var _this = this,
  106010. t1 = _this.from.toString$0(0),
  106011. t2 = _this.isExclusive ? "to" : "through",
  106012. t3 = _this.children;
  106013. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  106014. },
  106015. get$span(receiver) {
  106016. return this.span;
  106017. }
  106018. };
  106019. A.ForwardRule0.prototype = {
  106020. accept$1$1(visitor) {
  106021. return visitor.visitForwardRule$1(0, this);
  106022. },
  106023. accept$1(visitor) {
  106024. return this.accept$1$1(visitor, type$.dynamic);
  106025. },
  106026. toString$0(_) {
  106027. var t2, prefix, _this = this,
  106028. t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
  106029. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  106030. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  106031. if (shownMixinsAndFunctions != null) {
  106032. t2 = _this.shownVariables;
  106033. t2.toString;
  106034. t2 = t1 + " show " + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
  106035. t1 = t2;
  106036. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  106037. t2 = _this.hiddenVariables;
  106038. t2.toString;
  106039. t2 = t1 + " hide " + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
  106040. t1 = t2;
  106041. }
  106042. prefix = _this.prefix;
  106043. if (prefix != null)
  106044. t1 += " as " + prefix + "*";
  106045. t2 = _this.configuration;
  106046. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  106047. return t1.charCodeAt(0) == 0 ? t1 : t1;
  106048. },
  106049. _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
  106050. var t2,
  106051. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  106052. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  106053. t1.push("$" + t2.get$current(0));
  106054. return B.JSArray_methods.join$1(t1, ", ");
  106055. },
  106056. get$span(receiver) {
  106057. return this.span;
  106058. }
  106059. };
  106060. A.ForwardedModuleView0.prototype = {
  106061. get$url(_) {
  106062. var t1 = this._forwarded_view0$_inner;
  106063. return t1.get$url(t1);
  106064. },
  106065. get$upstream() {
  106066. return this._forwarded_view0$_inner.get$upstream();
  106067. },
  106068. get$extensionStore() {
  106069. return this._forwarded_view0$_inner.get$extensionStore();
  106070. },
  106071. get$css(_) {
  106072. var t1 = this._forwarded_view0$_inner;
  106073. return t1.get$css(t1);
  106074. },
  106075. get$preModuleComments() {
  106076. return this._forwarded_view0$_inner.get$preModuleComments();
  106077. },
  106078. get$transitivelyContainsCss() {
  106079. return this._forwarded_view0$_inner.get$transitivelyContainsCss();
  106080. },
  106081. get$transitivelyContainsExtensions() {
  106082. return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
  106083. },
  106084. setVariable$3($name, value, nodeWithSpan) {
  106085. var t2, _1_0, _2_0,
  106086. _s19_ = "Undefined variable.",
  106087. t1 = this._forwarded_view0$_rule,
  106088. _0_0 = t1.shownVariables;
  106089. if (_0_0 != null)
  106090. t2 = !_0_0._base.contains$1(0, $name);
  106091. else
  106092. t2 = false;
  106093. if (t2)
  106094. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  106095. else {
  106096. _1_0 = t1.hiddenVariables;
  106097. if (_1_0 != null)
  106098. t2 = _1_0._base.contains$1(0, $name);
  106099. else
  106100. t2 = false;
  106101. if (t2)
  106102. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  106103. }
  106104. _2_0 = t1.prefix;
  106105. if (_2_0 != null) {
  106106. if (!B.JSString_methods.startsWith$1($name, _2_0))
  106107. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  106108. $name = B.JSString_methods.substring$1($name, _2_0.length);
  106109. }
  106110. return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  106111. },
  106112. variableIdentity$1($name) {
  106113. var _0_0 = this._forwarded_view0$_rule.prefix;
  106114. if (_0_0 != null)
  106115. $name = B.JSString_methods.substring$1($name, _0_0.length);
  106116. return this._forwarded_view0$_inner.variableIdentity$1($name);
  106117. },
  106118. $eq(_, other) {
  106119. if (other == null)
  106120. return false;
  106121. return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
  106122. },
  106123. get$hashCode(_) {
  106124. var t1 = this._forwarded_view0$_inner;
  106125. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
  106126. },
  106127. cloneCss$0() {
  106128. return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
  106129. },
  106130. toString$0(_) {
  106131. return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
  106132. },
  106133. $isModule1: 1,
  106134. get$variables() {
  106135. return this.variables;
  106136. },
  106137. get$variableNodes() {
  106138. return this.variableNodes;
  106139. },
  106140. get$functions(receiver) {
  106141. return this.functions;
  106142. },
  106143. get$mixins() {
  106144. return this.mixins;
  106145. }
  106146. };
  106147. A.FunctionExpression0.prototype = {
  106148. get$nameSpan() {
  106149. if (this.namespace == null)
  106150. return A.SpanExtensions_initialIdentifier0(this.span);
  106151. return A.SpanExtensions_initialIdentifier0(A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier0(this.span), 1, null));
  106152. },
  106153. accept$1$1(visitor) {
  106154. return visitor.visitFunctionExpression$1(0, this);
  106155. },
  106156. accept$1(visitor) {
  106157. return this.accept$1$1(visitor, type$.dynamic);
  106158. },
  106159. toString$0(_) {
  106160. var t1 = this.namespace;
  106161. t1 = t1 != null ? "" + (t1 + ".") : "";
  106162. t1 += this.originalName + this.$arguments.toString$0(0);
  106163. return t1.charCodeAt(0) == 0 ? t1 : t1;
  106164. },
  106165. get$span(receiver) {
  106166. return this.span;
  106167. }
  106168. };
  106169. A.JSFunction0.prototype = {};
  106170. A.SupportsFunction0.prototype = {
  106171. toInterpolation$0() {
  106172. var t4, t5,
  106173. t1 = new A.StringBuffer(""),
  106174. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  106175. t3 = this.name;
  106176. t2.addInterpolation$1(t3);
  106177. t4 = this.$arguments;
  106178. t5 = t4.span;
  106179. t3 = A.SpanExtensions_between(t3.span, t5);
  106180. t3 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3.file._decodedChars, t3._file$_start, t3._end), 0, null);
  106181. t1._contents += t3;
  106182. t2.addInterpolation$1(t4);
  106183. t4 = this.span;
  106184. t5 = A.SpanExtensions_after(t4, t5);
  106185. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  106186. t1._contents += t5;
  106187. return t2.interpolation$1(t4);
  106188. },
  106189. withSpan$1(span) {
  106190. return new A.SupportsFunction0(this.name, this.$arguments, span);
  106191. },
  106192. toString$0(_) {
  106193. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  106194. },
  106195. $isAstNode0: 1,
  106196. $isSassNode: 1,
  106197. $isSupportsCondition: 1,
  106198. get$span(receiver) {
  106199. return this.span;
  106200. }
  106201. };
  106202. A.functionClass_closure.prototype = {
  106203. call$0() {
  106204. var t1 = type$.JSClass,
  106205. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
  106206. A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null)).constructor), jsClass);
  106207. return jsClass;
  106208. },
  106209. $signature: 15
  106210. };
  106211. A.functionClass__closure.prototype = {
  106212. call$3($self, signature, callback) {
  106213. var paren = B.JSString_methods.indexOf$1(signature, "(");
  106214. if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
  106215. A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
  106216. 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));
  106217. },
  106218. "call*": "call$3",
  106219. $requiredArgCount: 3,
  106220. $signature: 477
  106221. };
  106222. A.functionClass__closure0.prototype = {
  106223. call$1(_) {
  106224. return B.C__SassNull0;
  106225. },
  106226. $signature: 3
  106227. };
  106228. A.SassFunction0.prototype = {
  106229. accept$1$1(visitor) {
  106230. var t1, t2;
  106231. if (!visitor._serialize0$_inspect)
  106232. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  106233. t1 = visitor._serialize0$_buffer;
  106234. t1.write$1(0, "get-function(");
  106235. t2 = this.callable;
  106236. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  106237. t1.writeCharCode$1(41);
  106238. return null;
  106239. },
  106240. accept$1(visitor) {
  106241. return this.accept$1$1(visitor, type$.dynamic);
  106242. },
  106243. assertFunction$1($name) {
  106244. return this;
  106245. },
  106246. $eq(_, other) {
  106247. if (other == null)
  106248. return false;
  106249. return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
  106250. },
  106251. get$hashCode(_) {
  106252. var t1 = this.callable;
  106253. return t1.get$hashCode(t1);
  106254. }
  106255. };
  106256. A.FunctionRule0.prototype = {
  106257. accept$1$1(visitor) {
  106258. return visitor.visitFunctionRule$1(0, this);
  106259. },
  106260. accept$1(visitor) {
  106261. return this.accept$1$1(visitor, type$.dynamic);
  106262. },
  106263. toString$0(_) {
  106264. var t1 = this.children;
  106265. return "@function " + this.name + "(" + this.parameters.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  106266. }
  106267. };
  106268. A.unifyComplex_closure0.prototype = {
  106269. call$1(complex) {
  106270. return complex.lineBreak;
  106271. },
  106272. $signature: 20
  106273. };
  106274. A._weaveParents_closure3.prototype = {
  106275. call$2(group1, group2) {
  106276. var t1, unified;
  106277. if (B.C_ListEquality.equals$2(0, group1, group2))
  106278. return group1;
  106279. if (A._complexIsParentSuperselector0(group1, group2))
  106280. return group2;
  106281. if (A._complexIsParentSuperselector0(group2, group1))
  106282. return group1;
  106283. if (!A._mustUnify0(group1, group2))
  106284. return null;
  106285. t1 = this.span;
  106286. unified = A.unifyComplex0(A._setArrayType([A.ComplexSelector$0(B.List_empty14, group1, t1, false), A.ComplexSelector$0(B.List_empty14, group2, t1, false)], type$.JSArray_ComplexSelector_2), t1);
  106287. if (unified == null)
  106288. t1 = null;
  106289. else {
  106290. t1 = A.IterableExtension_get_singleOrNull(unified);
  106291. t1 = t1 == null ? null : t1.components;
  106292. }
  106293. return t1;
  106294. },
  106295. $signature: 478
  106296. };
  106297. A._weaveParents_closure4.prototype = {
  106298. call$1(sequence) {
  106299. return A._complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
  106300. },
  106301. $signature: 257
  106302. };
  106303. A._weaveParents_closure5.prototype = {
  106304. call$1(sequence) {
  106305. return sequence.get$length(0) === 0;
  106306. },
  106307. $signature: 257
  106308. };
  106309. A._weaveParents_closure6.prototype = {
  106310. call$1(choice) {
  106311. return J.get$isNotEmpty$asx(choice);
  106312. },
  106313. $signature: 480
  106314. };
  106315. A._mustUnify_closure0.prototype = {
  106316. call$1(component) {
  106317. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure0(this.uniqueSelectors));
  106318. },
  106319. $signature: 56
  106320. };
  106321. A._mustUnify__closure0.prototype = {
  106322. call$1(simple) {
  106323. var t1;
  106324. if (!(simple instanceof A.IDSelector0))
  106325. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  106326. else
  106327. t1 = true;
  106328. return t1 && this.uniqueSelectors.contains$1(0, simple);
  106329. },
  106330. $signature: 14
  106331. };
  106332. A.paths_closure0.prototype = {
  106333. call$2(paths, choice) {
  106334. var t1 = this.T;
  106335. t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
  106336. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  106337. },
  106338. $signature() {
  106339. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  106340. }
  106341. };
  106342. A.paths__closure0.prototype = {
  106343. call$1(option) {
  106344. var t1 = this.T;
  106345. return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
  106346. },
  106347. $signature() {
  106348. return this.T._eval$1("Iterable<List<0>>(0)");
  106349. }
  106350. };
  106351. A.paths___closure0.prototype = {
  106352. call$1(path) {
  106353. var t1 = A.List_List$of(path, true, this.T);
  106354. t1.push(this.option);
  106355. return t1;
  106356. },
  106357. $signature() {
  106358. return this.T._eval$1("List<0>(List<0>)");
  106359. }
  106360. };
  106361. A.listIsSuperselector_closure0.prototype = {
  106362. call$1(complex1) {
  106363. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
  106364. },
  106365. $signature: 20
  106366. };
  106367. A.listIsSuperselector__closure0.prototype = {
  106368. call$1(complex2) {
  106369. return complex2.isSuperselector$1(this.complex1);
  106370. },
  106371. $signature: 20
  106372. };
  106373. A.complexIsSuperselector_closure1.prototype = {
  106374. call$1($parent) {
  106375. return $parent.combinators.length > 1;
  106376. },
  106377. $signature: 56
  106378. };
  106379. A.complexIsSuperselector_closure2.prototype = {
  106380. call$1(component) {
  106381. return A._isSupercombinator0(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  106382. },
  106383. $signature: 56
  106384. };
  106385. A._compatibleWithPreviousCombinator_closure0.prototype = {
  106386. call$1(component) {
  106387. var t1 = component.combinators,
  106388. t2 = A.IterableExtension_get_firstOrNull(t1);
  106389. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_55N0)) {
  106390. t1 = A.IterableExtension_get_firstOrNull(t1);
  106391. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_bOP0);
  106392. } else
  106393. t1 = true;
  106394. return t1;
  106395. },
  106396. $signature: 56
  106397. };
  106398. A.compoundIsSuperselector_closure0.prototype = {
  106399. call$1(simple1) {
  106400. return B.JSArray_methods.any$1(this.compound2.components, simple1.get$isSuperselector());
  106401. },
  106402. $signature: 14
  106403. };
  106404. A._selectorPseudoIsSuperselector_closure6.prototype = {
  106405. call$1(selector2) {
  106406. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106407. },
  106408. $signature: 79
  106409. };
  106410. A._selectorPseudoIsSuperselector_closure7.prototype = {
  106411. call$1(complex1) {
  106412. var t1, t2;
  106413. if (complex1.leadingCombinators.length === 0) {
  106414. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  106415. t2 = this.parents;
  106416. if (t2 != null)
  106417. B.JSArray_methods.addAll$1(t1, t2);
  106418. t2 = this.compound2;
  106419. t1.push(new A.ComplexSelectorComponent0(t2, A.List_List$unmodifiable(B.List_empty14, type$.CssValue_Combinator_2), t2.span));
  106420. t1 = A.complexIsSuperselector0(complex1.components, t1);
  106421. } else
  106422. t1 = false;
  106423. return t1;
  106424. },
  106425. $signature: 20
  106426. };
  106427. A._selectorPseudoIsSuperselector_closure8.prototype = {
  106428. call$1(selector2) {
  106429. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106430. },
  106431. $signature: 79
  106432. };
  106433. A._selectorPseudoIsSuperselector_closure9.prototype = {
  106434. call$1(selector2) {
  106435. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106436. },
  106437. $signature: 79
  106438. };
  106439. A._selectorPseudoIsSuperselector_closure10.prototype = {
  106440. call$1(complex) {
  106441. if (complex.accept$1(B._IsBogusVisitor_true0))
  106442. return false;
  106443. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
  106444. },
  106445. $signature: 20
  106446. };
  106447. A._selectorPseudoIsSuperselector__closure0.prototype = {
  106448. call$1(simple2) {
  106449. var t1, selector2, _0_4, _this = this;
  106450. $label0$1: {
  106451. if (simple2 instanceof A.TypeSelector0) {
  106452. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
  106453. break $label0$1;
  106454. }
  106455. if (simple2 instanceof A.IDSelector0) {
  106456. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
  106457. break $label0$1;
  106458. }
  106459. selector2 = null;
  106460. t1 = false;
  106461. if (simple2 instanceof A.PseudoSelector0) {
  106462. _0_4 = simple2.selector;
  106463. if (_0_4 != null) {
  106464. selector2 = _0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4;
  106465. t1 = simple2.name === _this.pseudo1.name;
  106466. }
  106467. }
  106468. if (t1) {
  106469. t1 = A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
  106470. break $label0$1;
  106471. }
  106472. t1 = false;
  106473. break $label0$1;
  106474. }
  106475. return t1;
  106476. },
  106477. $signature: 14
  106478. };
  106479. A._selectorPseudoIsSuperselector___closure1.prototype = {
  106480. call$1(simple1) {
  106481. var t1;
  106482. if (simple1 instanceof A.TypeSelector0) {
  106483. t1 = this.simple2;
  106484. t1 = !(t1 instanceof A.TypeSelector0 && t1.name.$eq(0, simple1.name));
  106485. } else
  106486. t1 = false;
  106487. return t1;
  106488. },
  106489. $signature: 14
  106490. };
  106491. A._selectorPseudoIsSuperselector___closure2.prototype = {
  106492. call$1(simple1) {
  106493. var t1;
  106494. if (simple1 instanceof A.IDSelector0) {
  106495. t1 = this.simple2;
  106496. t1 = !(t1 instanceof A.IDSelector0 && t1.name === simple1.name);
  106497. } else
  106498. t1 = false;
  106499. return t1;
  106500. },
  106501. $signature: 14
  106502. };
  106503. A._selectorPseudoIsSuperselector_closure11.prototype = {
  106504. call$1(selector2) {
  106505. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  106506. return t1;
  106507. },
  106508. $signature: 79
  106509. };
  106510. A._selectorPseudoIsSuperselector_closure12.prototype = {
  106511. call$1(pseudo2) {
  106512. var t1, selector2;
  106513. if (!(pseudo2 instanceof A.PseudoSelector0))
  106514. return false;
  106515. t1 = this.pseudo1;
  106516. if (pseudo2.name !== t1.name)
  106517. return false;
  106518. if (pseudo2.argument != t1.argument)
  106519. return false;
  106520. selector2 = pseudo2.selector;
  106521. if (selector2 == null)
  106522. return false;
  106523. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106524. },
  106525. $signature: 14
  106526. };
  106527. A._selectorPseudoArgs_closure1.prototype = {
  106528. call$1(pseudo) {
  106529. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  106530. },
  106531. $signature: 482
  106532. };
  106533. A._selectorPseudoArgs_closure2.prototype = {
  106534. call$1(pseudo) {
  106535. return pseudo.selector;
  106536. },
  106537. $signature: 483
  106538. };
  106539. A.globalFunctions_closure0.prototype = {
  106540. call$1($arguments) {
  106541. var t1 = J.getInterceptor$asx($arguments);
  106542. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  106543. },
  106544. $signature: 3
  106545. };
  106546. A.GamutMapMethod0.prototype = {
  106547. toString$0(_) {
  106548. return this.name;
  106549. }
  106550. };
  106551. A.HslColorSpace0.prototype = {
  106552. get$isBoundedInternal() {
  106553. return true;
  106554. },
  106555. get$isLegacyInternal() {
  106556. return true;
  106557. },
  106558. get$isPolarInternal() {
  106559. return true;
  106560. },
  106561. convert$5(dest, hue, saturation, lightness, alpha) {
  106562. var t1 = hue == null,
  106563. scaledHue = B.JSNumber_methods.$mod((t1 ? 0 : hue) / 360, 1),
  106564. t2 = saturation == null,
  106565. scaledSaturation = (t2 ? 0 : saturation) / 100,
  106566. t3 = lightness == null,
  106567. scaledLightness = (t3 ? 0 : lightness) / 100,
  106568. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  106569. m1 = scaledLightness * 2 - m2;
  106570. 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);
  106571. }
  106572. };
  106573. A.HwbColorSpace0.prototype = {
  106574. get$isBoundedInternal() {
  106575. return true;
  106576. },
  106577. get$isLegacyInternal() {
  106578. return true;
  106579. },
  106580. get$isPolarInternal() {
  106581. return true;
  106582. },
  106583. convert$5(dest, hue, whiteness, blackness, alpha) {
  106584. var t3, t1 = {},
  106585. t2 = hue == null,
  106586. scaledHue = B.JSNumber_methods.$mod(t2 ? 0 : hue, 360) / 360,
  106587. scaledWhiteness = t1.scaledWhiteness = (whiteness == null ? 0 : whiteness) / 100,
  106588. scaledBlackness = (blackness == null ? 0 : blackness) / 100,
  106589. sum = scaledWhiteness + scaledBlackness;
  106590. if (sum > 1) {
  106591. t3 = t1.scaledWhiteness = scaledWhiteness / sum;
  106592. scaledBlackness /= sum;
  106593. } else
  106594. t3 = scaledWhiteness;
  106595. t3 = new A.HwbColorSpace_convert_toRgb0(t1, 1 - t3 - scaledBlackness);
  106596. 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);
  106597. }
  106598. };
  106599. A.HwbColorSpace_convert_toRgb0.prototype = {
  106600. call$1(hue) {
  106601. return A.hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness;
  106602. },
  106603. $signature: 16
  106604. };
  106605. A.IDSelector0.prototype = {
  106606. get$specificity() {
  106607. return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$specificity.call(this), 2));
  106608. },
  106609. accept$1$1(visitor) {
  106610. return visitor.visitIDSelector$1(this);
  106611. },
  106612. accept$1(visitor) {
  106613. return this.accept$1$1(visitor, type$.dynamic);
  106614. },
  106615. addSuffix$1(suffix) {
  106616. return new A.IDSelector0(this.name + suffix, this.span);
  106617. },
  106618. unify$1(compound) {
  106619. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
  106620. return null;
  106621. return this.super$SimpleSelector$unify0(compound);
  106622. },
  106623. $eq(_, other) {
  106624. if (other == null)
  106625. return false;
  106626. return other instanceof A.IDSelector0 && other.name === this.name;
  106627. },
  106628. get$hashCode(_) {
  106629. return B.JSString_methods.get$hashCode(this.name);
  106630. }
  106631. };
  106632. A.IDSelector_unify_closure0.prototype = {
  106633. call$1(simple) {
  106634. var t1;
  106635. if (simple instanceof A.IDSelector0)
  106636. t1 = this.$this.name !== simple.name;
  106637. else
  106638. t1 = false;
  106639. return t1;
  106640. },
  106641. $signature: 14
  106642. };
  106643. A.IfExpression0.prototype = {
  106644. accept$1$1(visitor) {
  106645. return visitor.visitIfExpression$1(0, this);
  106646. },
  106647. accept$1(visitor) {
  106648. return this.accept$1$1(visitor, type$.dynamic);
  106649. },
  106650. toString$0(_) {
  106651. return "if" + this.$arguments.toString$0(0);
  106652. },
  106653. get$span(receiver) {
  106654. return this.span;
  106655. }
  106656. };
  106657. A.IfRule0.prototype = {
  106658. accept$1$1(visitor) {
  106659. return visitor.visitIfRule$1(0, this);
  106660. },
  106661. accept$1(visitor) {
  106662. return this.accept$1$1(visitor, type$.dynamic);
  106663. },
  106664. toString$0(_) {
  106665. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
  106666. lastClause = this.lastClause;
  106667. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  106668. },
  106669. get$span(receiver) {
  106670. return this.span;
  106671. }
  106672. };
  106673. A.IfRule_toString_closure0.prototype = {
  106674. call$2(index, clause) {
  106675. var t1 = index === 0 ? "if" : "else if";
  106676. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  106677. },
  106678. $signature: 484
  106679. };
  106680. A.IfRuleClause0.prototype = {};
  106681. A.IfRuleClause$__closure0.prototype = {
  106682. call$1(child) {
  106683. var t1;
  106684. $label0$0: {
  106685. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  106686. t1 = true;
  106687. break $label0$0;
  106688. }
  106689. if (child instanceof A.ImportRule0) {
  106690. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
  106691. break $label0$0;
  106692. }
  106693. t1 = false;
  106694. break $label0$0;
  106695. }
  106696. return t1;
  106697. },
  106698. $signature: 255
  106699. };
  106700. A.IfRuleClause$___closure0.prototype = {
  106701. call$1($import) {
  106702. return $import instanceof A.DynamicImport0;
  106703. },
  106704. $signature: 254
  106705. };
  106706. A.IfClause0.prototype = {
  106707. toString$0(_) {
  106708. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  106709. }
  106710. };
  106711. A.ElseClause0.prototype = {
  106712. toString$0(_) {
  106713. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  106714. }
  106715. };
  106716. A.ImmutableList0.prototype = {};
  106717. A.ImmutableMap0.prototype = {};
  106718. A.immutableMapToDartMap_closure.prototype = {
  106719. call$3(value, key, _) {
  106720. this.dartMap.$indexSet(0, key, value);
  106721. },
  106722. "call*": "call$3",
  106723. $requiredArgCount: 3,
  106724. $signature: 487
  106725. };
  106726. A.NodeImporter.prototype = {
  106727. loadRelative$3(url, previous, forImport) {
  106728. var t1, t2, _null = null;
  106729. if ($.$get$url().style.rootLength$1(url) > 0) {
  106730. if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
  106731. return _null;
  106732. return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
  106733. }
  106734. if ((previous == null ? _null : previous.get$scheme()) !== "file")
  106735. return _null;
  106736. t1 = $.$get$context();
  106737. previous.toString;
  106738. t2 = t1.style;
  106739. return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
  106740. },
  106741. load$3(_, url, previous, forImport) {
  106742. var t1, t2, _i, _0_0, _this = this,
  106743. previousString = _this._previousToString$1(previous);
  106744. for (t1 = _this._implementation$_importers, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  106745. _0_0 = A.wrapJSExceptions(new A.NodeImporter_load_closure(_this, t1[_i], forImport, url, previousString));
  106746. if (_0_0 != null)
  106747. return _this._handleImportResult$4(url, previous, _0_0, forImport);
  106748. }
  106749. return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  106750. },
  106751. loadAsync$3(url, previous, forImport) {
  106752. return this.loadAsync$body$NodeImporter(url, previous, forImport);
  106753. },
  106754. loadAsync$body$NodeImporter(url, previous, forImport) {
  106755. var $async$goto = 0,
  106756. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_2_String_and_String),
  106757. $async$returnValue, $async$self = this, t1, t2, _i, _0_0, previousString;
  106758. var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  106759. if ($async$errorCode === 1)
  106760. return A._asyncRethrow($async$result, $async$completer);
  106761. while (true)
  106762. switch ($async$goto) {
  106763. case 0:
  106764. // Function start
  106765. previousString = $async$self._previousToString$1(previous);
  106766. t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
  106767. case 3:
  106768. // for condition
  106769. if (!(_i < t2)) {
  106770. // goto after for
  106771. $async$goto = 5;
  106772. break;
  106773. }
  106774. $async$goto = 6;
  106775. return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
  106776. case 6:
  106777. // returning from await.
  106778. _0_0 = $async$result;
  106779. if (_0_0 != null) {
  106780. $async$returnValue = $async$self._handleImportResult$4(url, previous, _0_0, forImport);
  106781. // goto return
  106782. $async$goto = 1;
  106783. break;
  106784. }
  106785. case 4:
  106786. // for update
  106787. ++_i;
  106788. // goto for condition
  106789. $async$goto = 3;
  106790. break;
  106791. case 5:
  106792. // after for
  106793. $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  106794. // goto return
  106795. $async$goto = 1;
  106796. break;
  106797. case 1:
  106798. // return
  106799. return A._asyncReturn($async$returnValue, $async$completer);
  106800. }
  106801. });
  106802. return A._asyncStartSync($async$loadAsync$3, $async$completer);
  106803. },
  106804. _previousToString$1(previous) {
  106805. var t1;
  106806. $label0$0: {
  106807. if (previous == null) {
  106808. t1 = "stdin";
  106809. break $label0$0;
  106810. }
  106811. if ("file" === previous.get$scheme()) {
  106812. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(previous));
  106813. break $label0$0;
  106814. }
  106815. t1 = previous.toString$0(0);
  106816. break $label0$0;
  106817. }
  106818. return t1;
  106819. },
  106820. _resolveLoadPathFromUrl$2(url, forImport) {
  106821. return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
  106822. },
  106823. _resolveLoadPath$2(path, forImport) {
  106824. var t1, t2, _i, t3, _1_0, _null = null,
  106825. _0_0 = this._tryPath$2(A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  106826. if (_0_0 != null)
  106827. return _0_0;
  106828. for (t1 = this._includePaths, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  106829. t3 = A.join(t1[_i], path, _null);
  106830. _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);
  106831. if (_1_0 != null)
  106832. return _1_0;
  106833. }
  106834. return _null;
  106835. },
  106836. _tryPath$2(path, forImport) {
  106837. var t1 = forImport ? A.inImportRule(new A.NodeImporter__tryPath_closure(path), type$.nullable_String) : A.resolveImportPath0(path);
  106838. return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
  106839. },
  106840. _handleImportResult$4(url, previous, value, forImport) {
  106841. var t1, file, contents, t2, resolved;
  106842. if (value instanceof self.Error)
  106843. throw A.wrapException(value);
  106844. if (!type$.NodeImporterResult._is(value))
  106845. return null;
  106846. t1 = J.getInterceptor$x(value);
  106847. file = t1.get$file(value);
  106848. contents = t1.get$contents(value);
  106849. t1 = contents == null;
  106850. t2 = !t1;
  106851. if (t2 && A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  106852. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  106853. if (file == null)
  106854. return new A._Record_2(t1 ? "" : contents, url);
  106855. else if (t2)
  106856. return new A._Record_2(contents, $.$get$context().toUri$1(file).toString$0(0));
  106857. else {
  106858. resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
  106859. if (resolved == null)
  106860. resolved = this._resolveLoadPath$2(file, forImport);
  106861. if (resolved != null)
  106862. return resolved;
  106863. throw A.wrapException("Can't find stylesheet to import.");
  106864. }
  106865. },
  106866. _callImporterAsync$4(importer, url, previousString, forImport) {
  106867. return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
  106868. },
  106869. _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
  106870. var $async$goto = 0,
  106871. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
  106872. $async$returnValue, $async$self = this, t1, result;
  106873. var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  106874. if ($async$errorCode === 1)
  106875. return A._asyncRethrow($async$result, $async$completer);
  106876. while (true)
  106877. switch ($async$goto) {
  106878. case 0:
  106879. // Function start
  106880. t1 = new A._Future($.Zone__current, type$._Future_Object);
  106881. result = A.wrapJSExceptions(new A.NodeImporter__callImporterAsync_closure($async$self, importer, forImport, url, previousString, new A._AsyncCompleter(t1, type$._AsyncCompleter_Object)));
  106882. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
  106883. break;
  106884. case 3:
  106885. // then
  106886. $async$goto = 5;
  106887. return A._asyncAwait(t1, $async$_callImporterAsync$4);
  106888. case 5:
  106889. // returning from await.
  106890. $async$returnValue = $async$result;
  106891. // goto return
  106892. $async$goto = 1;
  106893. break;
  106894. case 4:
  106895. // join
  106896. $async$returnValue = result;
  106897. // goto return
  106898. $async$goto = 1;
  106899. break;
  106900. case 1:
  106901. // return
  106902. return A._asyncReturn($async$returnValue, $async$completer);
  106903. }
  106904. });
  106905. return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
  106906. },
  106907. _renderContext$1(fromImport) {
  106908. var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
  106909. J.set$context$x(J.get$options$x(context), context);
  106910. return context;
  106911. }
  106912. };
  106913. A.NodeImporter_load_closure.prototype = {
  106914. call$0() {
  106915. var _this = this;
  106916. return J.apply$2$x(_this.importer, _this.$this._renderContext$1(_this.forImport), A._setArrayType([_this.url, _this.previousString], type$.JSArray_Object));
  106917. },
  106918. $signature: 37
  106919. };
  106920. A.NodeImporter__tryPath_closure.prototype = {
  106921. call$0() {
  106922. return A.resolveImportPath0(this.path);
  106923. },
  106924. $signature: 47
  106925. };
  106926. A.NodeImporter__tryPath_closure0.prototype = {
  106927. call$1(resolved) {
  106928. return new A._Record_2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0));
  106929. },
  106930. $signature: 488
  106931. };
  106932. A.NodeImporter__callImporterAsync_closure.prototype = {
  106933. call$0() {
  106934. var _this = this;
  106935. 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));
  106936. },
  106937. $signature: 37
  106938. };
  106939. A.ModifiableCssImport0.prototype = {
  106940. accept$1$1(visitor) {
  106941. return visitor.visitCssImport$1(this);
  106942. },
  106943. accept$1(visitor) {
  106944. return this.accept$1$1(visitor, type$.dynamic);
  106945. },
  106946. get$span(receiver) {
  106947. return this.span;
  106948. }
  106949. };
  106950. A.ImportCache0.prototype = {
  106951. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  106952. 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;
  106953. if (A.isBrowser())
  106954. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && _this._import_cache$_importers.length === 0;
  106955. else
  106956. t1 = false;
  106957. if (t1)
  106958. throw A.wrapException(string$.Custom);
  106959. if (baseImporter != null && url.get$scheme() === "") {
  106960. resolvedUrl = baseUrl == null ? _null : baseUrl.resolveUri$1(url);
  106961. if (resolvedUrl == null)
  106962. resolvedUrl = url;
  106963. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  106964. relativeResult = _this._import_cache$_perImporterCanonicalizeCache.putIfAbsent$2(key, new A.ImportCache_canonicalize_closure0(_this, baseImporter, resolvedUrl, baseUrl, forImport, key, url));
  106965. if (relativeResult != null)
  106966. return relativeResult;
  106967. }
  106968. key = new A._Record_2_forImport(url, forImport);
  106969. t1 = _this._import_cache$_canonicalizeCache;
  106970. if (t1.containsKey$1(key))
  106971. return t1.$index(0, key);
  106972. 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) {
  106973. importer = t2[i];
  106974. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  106975. if (t4.containsKey$1(perImporterKey)) {
  106976. t7 = t4.$index(0, perImporterKey);
  106977. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  106978. } else
  106979. _1_0 = _null;
  106980. _1_2_isSet = t3._is(_1_0);
  106981. result = _null;
  106982. if (_1_2_isSet) {
  106983. _1_2 = _1_0._0;
  106984. t7 = _1_2 != null;
  106985. if (t7) {
  106986. t6._as(_1_2);
  106987. result = _1_2;
  106988. }
  106989. } else {
  106990. _1_2 = _null;
  106991. t7 = false;
  106992. }
  106993. if (t7)
  106994. return result;
  106995. if (_1_2_isSet)
  106996. t7 = _1_2 == null;
  106997. else
  106998. t7 = false;
  106999. if (t7)
  107000. continue;
  107001. $label0$1: {
  107002. _2_0 = _this._import_cache$_canonicalize$4(importer, url, baseUrl, forImport);
  107003. _2_1 = _2_0._0;
  107004. _2_5_isSet = _2_1 != null;
  107005. _2_5 = _null;
  107006. _2_3 = _null;
  107007. t7 = false;
  107008. if (_2_5_isSet) {
  107009. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  107010. _2_3 = _2_0._1;
  107011. t7 = _2_3;
  107012. _2_5 = t7;
  107013. t7 = t7 && cacheable;
  107014. } else
  107015. result = _null;
  107016. if (t7) {
  107017. t1.$indexSet(0, key, result);
  107018. return result;
  107019. }
  107020. if (_2_5_isSet) {
  107021. t7 = _2_5;
  107022. _2_3_isSet = _2_5_isSet;
  107023. } else {
  107024. _2_3 = _2_0._1;
  107025. t7 = _2_3;
  107026. _2_3_isSet = true;
  107027. }
  107028. t7 = t7 && !cacheable;
  107029. if (t7) {
  107030. t4.$indexSet(0, perImporterKey, _2_1);
  107031. if (_2_1 != null)
  107032. return _2_1;
  107033. break $label0$1;
  107034. }
  107035. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  107036. if (t7) {
  107037. if (cacheable) {
  107038. for (j = 0; j < i; ++j)
  107039. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
  107040. cacheable = false;
  107041. }
  107042. if (_2_1 != null)
  107043. return _2_1;
  107044. }
  107045. }
  107046. }
  107047. if (cacheable)
  107048. t1.$indexSet(0, key, _null);
  107049. return _null;
  107050. },
  107051. _import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  107052. var passContainingUrl, canonicalizeContext, t1, result, cacheable;
  107053. if (baseUrl != null)
  107054. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  107055. else
  107056. passContainingUrl = false;
  107057. canonicalizeContext = new A.CanonicalizeContext0(forImport, passContainingUrl ? baseUrl : null);
  107058. t1 = type$.nullable_Object;
  107059. result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.nullable_Uri);
  107060. cacheable = !passContainingUrl || !canonicalizeContext._canonicalize_context$_wasContainingUrlAccessed;
  107061. if (result == null)
  107062. return new A._Record_2(null, cacheable);
  107063. if (result.get$scheme() !== "" && importer.isNonCanonicalScheme$1(result.get$scheme()))
  107064. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  107065. return new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  107066. },
  107067. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  107068. return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl));
  107069. },
  107070. humanize$1(canonicalUrl) {
  107071. var t1 = this._import_cache$_canonicalizeCache,
  107072. t2 = type$.NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2;
  107073. 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));
  107074. return t2 == null ? canonicalUrl : t2;
  107075. },
  107076. sourceMapUrl$1(_, canonicalUrl) {
  107077. var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
  107078. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  107079. return t1 == null ? canonicalUrl : t1;
  107080. }
  107081. };
  107082. A.ImportCache_canonicalize_closure0.prototype = {
  107083. call$0() {
  107084. var _this = this,
  107085. t1 = _this.$this,
  107086. t2 = _this.baseUrl,
  107087. _0_0 = t1._import_cache$_canonicalize$4(_this.baseImporter, _this.resolvedUrl, t2, _this.forImport);
  107088. if (t2 != null)
  107089. t1._import_cache$_nonCanonicalRelativeUrls.$indexSet(0, _this.key, _this.url);
  107090. return _0_0._0;
  107091. },
  107092. $signature: 489
  107093. };
  107094. A.ImportCache__canonicalize_closure0.prototype = {
  107095. call$0() {
  107096. return this.importer.canonicalize$1(0, this.url);
  107097. },
  107098. $signature: 144
  107099. };
  107100. A.ImportCache_importCanonical_closure0.prototype = {
  107101. call$0() {
  107102. var t3, _this = this,
  107103. t1 = Date.now(),
  107104. t2 = _this.canonicalUrl,
  107105. result = _this.importer.load$1(0, t2);
  107106. if (result == null)
  107107. return null;
  107108. t3 = _this.$this;
  107109. t3._import_cache$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  107110. t3._import_cache$_resultsCache.$indexSet(0, t2, result);
  107111. t3 = result.contents;
  107112. t1 = result.syntax;
  107113. t2 = _this.originalUrl.resolveUri$1(t2);
  107114. return A.Stylesheet_Stylesheet$parse0(t3, t1, t2);
  107115. },
  107116. $signature: 490
  107117. };
  107118. A.ImportCache_humanize_closure3.prototype = {
  107119. call$1(result) {
  107120. return result._1.$eq(0, this.canonicalUrl);
  107121. },
  107122. $signature: 491
  107123. };
  107124. A.ImportCache_humanize_closure4.prototype = {
  107125. call$1(result) {
  107126. return result._2;
  107127. },
  107128. $signature: 492
  107129. };
  107130. A.ImportCache_humanize_closure5.prototype = {
  107131. call$1(url) {
  107132. return url.get$path(url).length;
  107133. },
  107134. $signature: 90
  107135. };
  107136. A.ImportCache_humanize_closure6.prototype = {
  107137. call$1(url) {
  107138. var t1 = $.$get$url(),
  107139. t2 = this.canonicalUrl;
  107140. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  107141. },
  107142. $signature: 51
  107143. };
  107144. A.ImportRule0.prototype = {
  107145. accept$1$1(visitor) {
  107146. return visitor.visitImportRule$1(0, this);
  107147. },
  107148. accept$1(visitor) {
  107149. return this.accept$1$1(visitor, type$.dynamic);
  107150. },
  107151. toString$0(_) {
  107152. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  107153. },
  107154. get$span(receiver) {
  107155. return this.span;
  107156. }
  107157. };
  107158. A.JSImporter.prototype = {};
  107159. A.JSImporterResult.prototype = {};
  107160. A.Importer0.prototype = {
  107161. isNonCanonicalScheme$1(scheme) {
  107162. return false;
  107163. }
  107164. };
  107165. A.NodeImporterResult0.prototype = {};
  107166. A.IncludeRule0.prototype = {
  107167. get$spanWithoutContent() {
  107168. var t2, t3,
  107169. t1 = this.span;
  107170. if (!(this.content == null)) {
  107171. t2 = t1.file;
  107172. t3 = this.$arguments.span;
  107173. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  107174. t1 = t3;
  107175. }
  107176. return t1;
  107177. },
  107178. get$nameSpan() {
  107179. var startSpan, scanner, _null = null,
  107180. t1 = this.span,
  107181. t2 = t1._file$_start,
  107182. t3 = t1._end,
  107183. t4 = t1.file._decodedChars;
  107184. if (B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), "+"))
  107185. startSpan = A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(t1, 1, _null));
  107186. else {
  107187. scanner = A.StringScanner$(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), _null, _null);
  107188. scanner.expectChar$1(64);
  107189. A._scanIdentifier0(scanner);
  107190. startSpan = A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(t1, scanner._string_scanner$_position, _null));
  107191. }
  107192. return A.SpanExtensions_initialIdentifier0(this.namespace != null ? A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier0(startSpan), 1, _null) : startSpan);
  107193. },
  107194. accept$1$1(visitor) {
  107195. return visitor.visitIncludeRule$1(0, this);
  107196. },
  107197. accept$1(visitor) {
  107198. return this.accept$1$1(visitor, type$.dynamic);
  107199. },
  107200. toString$0(_) {
  107201. var t2, _this = this,
  107202. t1 = _this.namespace;
  107203. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  107204. t1 += _this.name;
  107205. t2 = _this.$arguments;
  107206. if (!t2.get$isEmpty(0))
  107207. t1 += "(" + t2.toString$0(0) + ")";
  107208. t2 = _this.content;
  107209. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  107210. return t1.charCodeAt(0) == 0 ? t1 : t1;
  107211. },
  107212. get$span(receiver) {
  107213. return this.span;
  107214. }
  107215. };
  107216. A.InterpolatedFunctionExpression0.prototype = {
  107217. accept$1$1(visitor) {
  107218. return visitor.visitInterpolatedFunctionExpression$1(0, this);
  107219. },
  107220. accept$1(visitor) {
  107221. return this.accept$1$1(visitor, type$.dynamic);
  107222. },
  107223. toString$0(_) {
  107224. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  107225. },
  107226. get$span(receiver) {
  107227. return this.span;
  107228. }
  107229. };
  107230. A.Interpolation0.prototype = {
  107231. get$asPlain() {
  107232. var _0_1, t1, _0_6_isSet, _0_6, _0_60, first,
  107233. _0_0 = this.contents;
  107234. $label0$0: {
  107235. _0_1 = _0_0.length;
  107236. if (_0_1 <= 0) {
  107237. t1 = "";
  107238. break $label0$0;
  107239. }
  107240. _0_6_isSet = _0_1 === 1;
  107241. if (_0_6_isSet) {
  107242. _0_6 = _0_0[0];
  107243. _0_60 = _0_6;
  107244. t1 = typeof _0_6 == "string";
  107245. _0_6 = _0_60;
  107246. } else {
  107247. _0_6 = null;
  107248. t1 = false;
  107249. }
  107250. if (t1) {
  107251. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  107252. t1 = first;
  107253. break $label0$0;
  107254. }
  107255. t1 = null;
  107256. break $label0$0;
  107257. }
  107258. return t1;
  107259. },
  107260. get$initialPlain() {
  107261. var _0_4_isSet, _0_4, _0_40, t1, first,
  107262. _0_0 = this.contents;
  107263. $label0$0: {
  107264. _0_4_isSet = _0_0.length >= 1;
  107265. if (_0_4_isSet) {
  107266. _0_4 = _0_0[0];
  107267. _0_40 = _0_4;
  107268. t1 = typeof _0_4 == "string";
  107269. _0_4 = _0_40;
  107270. } else {
  107271. _0_4 = null;
  107272. t1 = false;
  107273. }
  107274. if (t1) {
  107275. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  107276. t1 = first;
  107277. break $label0$0;
  107278. }
  107279. t1 = "";
  107280. break $label0$0;
  107281. }
  107282. return t1;
  107283. },
  107284. spanForElement$1(index) {
  107285. var t1, t2, t3, t4, _this = this;
  107286. $label0$0: {
  107287. if (typeof _this.contents[index] == "string") {
  107288. t1 = _this.span;
  107289. t2 = t1.get$file(t1);
  107290. if (index === 0)
  107291. t3 = t1.get$start(t1);
  107292. else {
  107293. t3 = _this.spans[index - 1];
  107294. t3 = t3.get$end(t3);
  107295. }
  107296. t4 = _this.spans;
  107297. if (index === t4.length)
  107298. t1 = t1.get$end(t1);
  107299. else {
  107300. t1 = t4[index + 1];
  107301. t1 = t1.get$start(t1);
  107302. }
  107303. t1 = t2.span$2(0, t3.offset, t1.offset);
  107304. break $label0$0;
  107305. }
  107306. t1 = _this.spans[index];
  107307. t1.toString;
  107308. break $label0$0;
  107309. }
  107310. return t1;
  107311. },
  107312. Interpolation$30(contents, spans, span) {
  107313. var t1, t2, t3, t4, i, t5, isString, _s5_ = "spans",
  107314. _s8_ = "contents";
  107315. if (spans.length !== J.get$length$asx(contents))
  107316. throw A.wrapException(A.ArgumentError$value(this.spans, _s5_, "Must be the same length as contents."));
  107317. for (t1 = this.contents, t2 = t1.length, t3 = spans.length, t4 = this.spans, i = 0; i < t2; ++i) {
  107318. t5 = t1[i];
  107319. isString = typeof t5 == "string";
  107320. if (!isString && !(t5 instanceof A.Expression0))
  107321. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May only contain Strings or Expressions."));
  107322. else if (isString) {
  107323. if (i !== 0 && typeof t1[i - 1] == "string")
  107324. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  107325. else if (i < t3 && t4[i] != null)
  107326. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.May_no + i + ")."));
  107327. } else if (i >= t3 || t4[i] == null)
  107328. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.Must_n + i + ")."));
  107329. }
  107330. },
  107331. toString$0(_) {
  107332. var t1 = this.contents;
  107333. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  107334. },
  107335. $isAstNode0: 1,
  107336. $isSassNode: 1,
  107337. get$span(receiver) {
  107338. return this.span;
  107339. }
  107340. };
  107341. A.Interpolation_toString_closure0.prototype = {
  107342. call$1(value) {
  107343. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  107344. },
  107345. $signature: 132
  107346. };
  107347. A.SupportsInterpolation0.prototype = {
  107348. toInterpolation$0() {
  107349. var t1 = this.span;
  107350. return A.Interpolation$0(A._setArrayType([this.expression], type$.JSArray_Object), A._setArrayType([t1], type$.JSArray_nullable_FileSpan), t1);
  107351. },
  107352. withSpan$1(span) {
  107353. return new A.SupportsInterpolation0(this.expression, span);
  107354. },
  107355. toString$0(_) {
  107356. return "#{" + this.expression.toString$0(0) + "}";
  107357. },
  107358. $isAstNode0: 1,
  107359. $isSassNode: 1,
  107360. $isSupportsCondition: 1,
  107361. get$span(receiver) {
  107362. return this.span;
  107363. }
  107364. };
  107365. A.InterpolationBuffer0.prototype = {
  107366. writeCharCode$1(character) {
  107367. var t1 = this._interpolation_buffer0$_text,
  107368. t2 = A.Primitives_stringFromCharCode(character);
  107369. t1._contents += t2;
  107370. return null;
  107371. },
  107372. add$2(_, expression, span) {
  107373. this._interpolation_buffer0$_flushText$0();
  107374. this._interpolation_buffer0$_contents.push(expression);
  107375. this._interpolation_buffer0$_spans.push(span);
  107376. },
  107377. addInterpolation$1(interpolation) {
  107378. var spansToAdd, _0_4_isSet, _0_4, _0_40, first, rest, t2, t3, _this = this,
  107379. toAdd = interpolation.contents,
  107380. t1 = toAdd.length;
  107381. if (t1 === 0)
  107382. return;
  107383. spansToAdd = interpolation.spans;
  107384. _0_4_isSet = t1 >= 1;
  107385. if (_0_4_isSet) {
  107386. _0_4 = toAdd[0];
  107387. _0_40 = _0_4;
  107388. t1 = typeof _0_4 == "string";
  107389. _0_4 = _0_40;
  107390. } else {
  107391. _0_4 = null;
  107392. t1 = false;
  107393. }
  107394. if (t1) {
  107395. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  107396. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  107397. t1 = _this._interpolation_buffer0$_text;
  107398. t1._contents += first;
  107399. spansToAdd = A.SubListIterable$(spansToAdd, 1, null, A._arrayInstanceType(spansToAdd)._precomputed1);
  107400. toAdd = rest;
  107401. }
  107402. _this._interpolation_buffer0$_flushText$0();
  107403. t1 = _this._interpolation_buffer0$_contents;
  107404. B.JSArray_methods.addAll$1(t1, toAdd);
  107405. t2 = _this._interpolation_buffer0$_spans;
  107406. B.JSArray_methods.addAll$1(t2, spansToAdd);
  107407. if (typeof B.JSArray_methods.get$last(t1) == "string") {
  107408. t3 = _this._interpolation_buffer0$_text;
  107409. t1 = A.S(t1.pop());
  107410. t3._contents += t1;
  107411. t2.pop();
  107412. }
  107413. },
  107414. _interpolation_buffer0$_flushText$0() {
  107415. var t1 = this._interpolation_buffer0$_text,
  107416. t2 = t1._contents;
  107417. if (t2.length === 0)
  107418. return;
  107419. this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  107420. this._interpolation_buffer0$_spans.push(null);
  107421. t1._contents = "";
  107422. },
  107423. interpolation$1(span) {
  107424. var t1 = A.List_List$of(this._interpolation_buffer0$_contents, true, type$.Object),
  107425. t2 = this._interpolation_buffer0$_text,
  107426. t3 = t2._contents;
  107427. if (t3.length !== 0)
  107428. t1.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  107429. t3 = A.List_List$of(this._interpolation_buffer0$_spans, true, type$.nullable_FileSpan);
  107430. if (t2._contents.length !== 0)
  107431. t3.push(null);
  107432. return A.Interpolation$0(t1, t3, span);
  107433. },
  107434. toString$0(_) {
  107435. var t1, t2, _i, t3, element;
  107436. for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  107437. element = t1[_i];
  107438. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  107439. }
  107440. t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
  107441. return t1.charCodeAt(0) == 0 ? t1 : t1;
  107442. }
  107443. };
  107444. A.InterpolationMap0.prototype = {
  107445. mapException$1(error) {
  107446. var source, startIndex, endIndex, t3, t4, _this = this,
  107447. target = error.get$span(error),
  107448. t1 = _this._interpolation_map$_interpolation,
  107449. t2 = t1.contents;
  107450. if (t2.length === 0)
  107451. return new A.SourceSpanFormatException(error.get$source(), error._span_exception$_message, t1.span);
  107452. source = _this.mapSpan$1(target);
  107453. startIndex = _this._interpolation_map$_indexInContents$1(target.get$start(target));
  107454. endIndex = _this._interpolation_map$_indexInContents$1(target.get$end(target));
  107455. t1 = error._span_exception$_message;
  107456. if (!A.SubListIterable$(t2, startIndex, null, A._arrayInstanceType(t2)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure0()))
  107457. return new A.SourceSpanFormatException(error.get$source(), t1, source);
  107458. else {
  107459. t2 = type$.SourceSpan;
  107460. t3 = type$.String;
  107461. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t2, t3);
  107462. return new A.MultiSourceSpanFormatException(error.get$source(), "", A.ConstantMap_ConstantMap$from(t4, t2, t3), t1, source);
  107463. }
  107464. },
  107465. mapSpan$1(target) {
  107466. var _0_10, t1, _0_2_isSet, _0_20, t2, start, end, _this = this, _null = null,
  107467. _0_1 = _this._interpolation_map$_mapLocation$1(target.get$start(target)),
  107468. _0_2 = _this._interpolation_map$_mapLocation$1(target.get$end(target));
  107469. $label0$0: {
  107470. _0_10 = _0_1;
  107471. t1 = type$.FileSpan;
  107472. _0_2_isSet = t1._is(_0_1);
  107473. _0_20 = _null;
  107474. t2 = false;
  107475. if (_0_2_isSet) {
  107476. t1._as(_0_10);
  107477. _0_20 = _0_2;
  107478. t2 = t1._is(_0_2);
  107479. start = _0_10;
  107480. _0_1 = start;
  107481. } else {
  107482. start = _null;
  107483. _0_1 = _0_10;
  107484. }
  107485. if (t2) {
  107486. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  107487. break $label0$0;
  107488. }
  107489. t2 = false;
  107490. if (t1._is(_0_1)) {
  107491. if (_0_2_isSet)
  107492. t2 = _0_20;
  107493. else {
  107494. t2 = _0_2;
  107495. _0_20 = t2;
  107496. _0_2_isSet = true;
  107497. }
  107498. t2 = t2 instanceof A.FileLocation;
  107499. start = _0_1;
  107500. } else
  107501. start = _null;
  107502. if (t2) {
  107503. t1 = _0_2_isSet ? _0_20 : _0_2;
  107504. type$.FileLocation._as(t1);
  107505. t2 = _this._interpolation_map$_interpolation.span;
  107506. t1 = t2.get$file(t2).span$2(0, _this._interpolation_map$_expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  107507. break $label0$0;
  107508. }
  107509. t2 = false;
  107510. if (_0_1 instanceof A.FileLocation) {
  107511. if (_0_2_isSet)
  107512. t2 = _0_20;
  107513. else {
  107514. t2 = _0_2;
  107515. _0_20 = t2;
  107516. _0_2_isSet = true;
  107517. }
  107518. t2 = t1._is(t2);
  107519. start = _0_1;
  107520. } else
  107521. start = _null;
  107522. if (t2) {
  107523. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  107524. t1 = _this._interpolation_map$_interpolation.span;
  107525. t1 = t1.get$file(t1).span$2(0, start.offset, _this._interpolation_map$_expandInterpolationSpanRight$1(end.get$end(end)));
  107526. break $label0$0;
  107527. }
  107528. t1 = false;
  107529. if (_0_1 instanceof A.FileLocation) {
  107530. if (_0_2_isSet)
  107531. t1 = _0_20;
  107532. else {
  107533. t1 = _0_2;
  107534. _0_20 = t1;
  107535. _0_2_isSet = true;
  107536. }
  107537. t1 = t1 instanceof A.FileLocation;
  107538. start = _0_1;
  107539. } else
  107540. start = _null;
  107541. if (t1) {
  107542. t1 = _0_2_isSet ? _0_20 : _0_2;
  107543. type$.FileLocation._as(t1);
  107544. t2 = _this._interpolation_map$_interpolation.span;
  107545. t1 = t2.get$file(t2).span$2(0, start.offset, t1.offset);
  107546. break $label0$0;
  107547. }
  107548. t1 = A.throwExpression("[BUG] Unreachable");
  107549. }
  107550. return t1;
  107551. },
  107552. _interpolation_map$_mapLocation$1(target) {
  107553. var index, _0_0, t3, previousLocation, _this = this,
  107554. t1 = _this._interpolation_map$_interpolation,
  107555. t2 = t1.contents;
  107556. if (t2.length === 0)
  107557. return t1.span;
  107558. index = _this._interpolation_map$_indexInContents$1(target);
  107559. _0_0 = t2[index];
  107560. if (_0_0 instanceof A.Expression0)
  107561. return _0_0.get$span(_0_0);
  107562. t3 = index === 0;
  107563. t1 = t1.span;
  107564. if (t3)
  107565. previousLocation = t1.get$start(t1);
  107566. else {
  107567. t1 = t1.get$file(t1);
  107568. t2 = type$.Expression_2._as(t2[index - 1]);
  107569. t2 = t2.get$span(t2);
  107570. previousLocation = A.FileLocation$_(t1, _this._interpolation_map$_expandInterpolationSpanRight$1(t2.get$end(t2)));
  107571. }
  107572. t1 = t3 ? 0 : _this._interpolation_map$_targetLocations[index - 1].get$offset();
  107573. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  107574. },
  107575. _interpolation_map$_indexInContents$1(target) {
  107576. var t1, t2, t3, i;
  107577. for (t1 = this._interpolation_map$_targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  107578. if (t3 < t1[i].get$offset())
  107579. return i;
  107580. return this._interpolation_map$_interpolation.contents.length - 1;
  107581. },
  107582. _interpolation_map$_expandInterpolationSpanLeft$1(start) {
  107583. var i0, prev, char,
  107584. source = start.file._decodedChars,
  107585. i = start.offset - 1;
  107586. for (; i >= 0;) {
  107587. i0 = i - 1;
  107588. prev = source[i];
  107589. if (prev === 123) {
  107590. if (source[i0] === 35) {
  107591. i = i0;
  107592. break;
  107593. }
  107594. i = i0;
  107595. } else if (prev === 47) {
  107596. i = i0 - 1;
  107597. if (source[i0] === 42)
  107598. for (; true;) {
  107599. i0 = i - 1;
  107600. if (source[i] !== 42) {
  107601. i = i0;
  107602. continue;
  107603. }
  107604. i = i0;
  107605. do {
  107606. i0 = i - 1;
  107607. char = source[i];
  107608. if (char === 42) {
  107609. i = i0;
  107610. continue;
  107611. } else
  107612. break;
  107613. } while (true);
  107614. if (char === 47) {
  107615. i = i0;
  107616. break;
  107617. }
  107618. i = i0;
  107619. }
  107620. } else
  107621. i = i0;
  107622. }
  107623. return i;
  107624. },
  107625. _interpolation_map$_expandInterpolationSpanRight$1(end) {
  107626. var t1, i0, next, second, t2, char,
  107627. source = end.file._decodedChars,
  107628. i = end.offset;
  107629. for (t1 = source.length; i < t1;) {
  107630. i0 = i + 1;
  107631. next = source[i];
  107632. if (next === 125) {
  107633. i = i0;
  107634. break;
  107635. }
  107636. if (next === 47) {
  107637. i = i0 + 1;
  107638. second = source[i0];
  107639. if (second === 47) {
  107640. while (true) {
  107641. i0 = i + 1;
  107642. t2 = source[i];
  107643. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  107644. break;
  107645. i = i0;
  107646. }
  107647. i = i0;
  107648. } else if (second === 42)
  107649. for (; true;) {
  107650. i0 = i + 1;
  107651. if (source[i] !== 42) {
  107652. i = i0;
  107653. continue;
  107654. }
  107655. i = i0;
  107656. do {
  107657. i0 = i + 1;
  107658. char = source[i];
  107659. if (char === 42) {
  107660. i = i0;
  107661. continue;
  107662. } else
  107663. break;
  107664. } while (true);
  107665. if (char === 47) {
  107666. i = i0;
  107667. break;
  107668. }
  107669. i = i0;
  107670. }
  107671. } else
  107672. i = i0;
  107673. }
  107674. return i;
  107675. }
  107676. };
  107677. A.InterpolationMap_mapException_closure0.prototype = {
  107678. call$1($content) {
  107679. return $content instanceof A.Expression0;
  107680. },
  107681. $signature: 71
  107682. };
  107683. A.InterpolationMethod0.prototype = {
  107684. toString$0(_) {
  107685. var t1 = this.hue;
  107686. t1 = t1 == null ? "" : " " + t1.toString$0(0) + " hue";
  107687. return this.space.name + t1;
  107688. }
  107689. };
  107690. A.HueInterpolationMethod0.prototype = {
  107691. _enumToString$0() {
  107692. return "HueInterpolationMethod." + this._name;
  107693. }
  107694. };
  107695. A._realCasePath_helper0.prototype = {
  107696. call$1(path) {
  107697. var dirname = $.$get$context().dirname$1(path);
  107698. if (dirname === path)
  107699. return path;
  107700. return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(this, dirname, path));
  107701. },
  107702. $signature: 6
  107703. };
  107704. A._realCasePath_helper_closure0.prototype = {
  107705. call$0() {
  107706. var matches, t1, _0_0, match, exception,
  107707. realDirname = this.helper.call$1(this.dirname),
  107708. t2 = this.path,
  107709. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  107710. try {
  107711. matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
  107712. t1 = null;
  107713. _0_0 = matches;
  107714. $label0$0: {
  107715. match = null;
  107716. if (J.get$length$asx(_0_0) === 1) {
  107717. match = J.$index$asx(_0_0, 0);
  107718. t1 = match;
  107719. break $label0$0;
  107720. }
  107721. t1 = A.join(realDirname, basename, null);
  107722. break $label0$0;
  107723. }
  107724. t1 = t1;
  107725. return t1;
  107726. } catch (exception) {
  107727. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  107728. return t2;
  107729. else
  107730. throw exception;
  107731. }
  107732. },
  107733. $signature: 32
  107734. };
  107735. A._realCasePath_helper__closure0.prototype = {
  107736. call$1(realPath) {
  107737. return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  107738. },
  107739. $signature: 5
  107740. };
  107741. A.IsCalculationSafeVisitor0.prototype = {
  107742. visitBinaryOperationExpression$1(_, node) {
  107743. var t1;
  107744. if (B.Set_oQTdo0.contains$1(0, node.operator))
  107745. t1 = node.left.accept$1(this) || node.right.accept$1(this);
  107746. else
  107747. t1 = false;
  107748. return t1;
  107749. },
  107750. visitBooleanExpression$1(_, node) {
  107751. return false;
  107752. },
  107753. visitColorExpression$1(_, node) {
  107754. return false;
  107755. },
  107756. visitFunctionExpression$1(_, node) {
  107757. return true;
  107758. },
  107759. visitInterpolatedFunctionExpression$1(_, node) {
  107760. return true;
  107761. },
  107762. visitIfExpression$1(_, node) {
  107763. return true;
  107764. },
  107765. visitListExpression$1(_, node) {
  107766. var t1 = false;
  107767. if (node.separator === B.ListSeparator_qSL0)
  107768. if (!node.hasBrackets) {
  107769. t1 = node.contents;
  107770. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A.IsCalculationSafeVisitor_visitListExpression_closure0(this));
  107771. }
  107772. return t1;
  107773. },
  107774. visitMapExpression$1(_, node) {
  107775. return false;
  107776. },
  107777. visitNullExpression$1(_, node) {
  107778. return false;
  107779. },
  107780. visitNumberExpression$1(_, node) {
  107781. return true;
  107782. },
  107783. visitParenthesizedExpression$1(_, node) {
  107784. return node.expression.accept$1(this);
  107785. },
  107786. visitSelectorExpression$1(_, node) {
  107787. return false;
  107788. },
  107789. visitStringExpression$1(_, node) {
  107790. var text, t1, t2;
  107791. if (node.hasQuotes)
  107792. return false;
  107793. text = node.text.get$initialPlain();
  107794. t1 = false;
  107795. if (!B.JSString_methods.startsWith$1(text, "!"))
  107796. if (!B.JSString_methods.startsWith$1(text, "#")) {
  107797. t2 = text.length;
  107798. if ((1 >= t2 ? null : text.charCodeAt(1)) !== 43)
  107799. t1 = (3 >= t2 ? null : text.charCodeAt(3)) !== 40;
  107800. }
  107801. return t1;
  107802. },
  107803. visitSupportsExpression$1(_, node) {
  107804. return false;
  107805. },
  107806. visitUnaryOperationExpression$1(_, node) {
  107807. return false;
  107808. },
  107809. visitValueExpression$1(_, node) {
  107810. return false;
  107811. },
  107812. visitVariableExpression$1(_, node) {
  107813. return true;
  107814. },
  107815. $isExpressionVisitor: 1
  107816. };
  107817. A.IsCalculationSafeVisitor_visitListExpression_closure0.prototype = {
  107818. call$1(expression) {
  107819. return expression.accept$1(this.$this);
  107820. },
  107821. $signature: 140
  107822. };
  107823. A.FileSystemException0.prototype = {
  107824. toString$0(_) {
  107825. var t1 = $.$get$context();
  107826. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  107827. },
  107828. get$message(receiver) {
  107829. return this.message;
  107830. }
  107831. };
  107832. A._readFile_closure0.prototype = {
  107833. call$0() {
  107834. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  107835. },
  107836. $signature: 63
  107837. };
  107838. A.fileExists_closure0.prototype = {
  107839. call$0() {
  107840. var error, systemError, exception,
  107841. t1 = this.path;
  107842. if (!J.existsSync$1$x(A.fs(), t1))
  107843. return false;
  107844. try {
  107845. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  107846. return t1;
  107847. } catch (exception) {
  107848. error = A.unwrapException(exception);
  107849. systemError = type$.JsSystemError._as(error);
  107850. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  107851. return false;
  107852. throw exception;
  107853. }
  107854. },
  107855. $signature: 21
  107856. };
  107857. A.dirExists_closure0.prototype = {
  107858. call$0() {
  107859. var error, systemError, exception,
  107860. t1 = this.path;
  107861. if (!J.existsSync$1$x(A.fs(), t1))
  107862. return false;
  107863. try {
  107864. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  107865. return t1;
  107866. } catch (exception) {
  107867. error = A.unwrapException(exception);
  107868. systemError = type$.JsSystemError._as(error);
  107869. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  107870. return false;
  107871. throw exception;
  107872. }
  107873. },
  107874. $signature: 21
  107875. };
  107876. A.listDir_closure0.prototype = {
  107877. call$0() {
  107878. var t1 = this.path;
  107879. if (!this.recursive)
  107880. 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());
  107881. else
  107882. return new A.listDir_closure_list0().call$1(t1);
  107883. },
  107884. $signature: 151
  107885. };
  107886. A.listDir__closure1.prototype = {
  107887. call$1(child) {
  107888. return A.join(this.path, A._asString(child), null);
  107889. },
  107890. $signature: 134
  107891. };
  107892. A.listDir__closure2.prototype = {
  107893. call$1(child) {
  107894. return !A.dirExists0(child);
  107895. },
  107896. $signature: 5
  107897. };
  107898. A.listDir_closure_list0.prototype = {
  107899. call$1($parent) {
  107900. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
  107901. },
  107902. $signature: 152
  107903. };
  107904. A.listDir__list_closure0.prototype = {
  107905. call$1(child) {
  107906. var path = A.join(this.parent, A._asString(child), null);
  107907. return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  107908. },
  107909. $signature: 153
  107910. };
  107911. A.main_closure.prototype = {
  107912. call$2(_, __) {
  107913. },
  107914. $signature: 493
  107915. };
  107916. A.main_closure0.prototype = {
  107917. call$2(_, __) {
  107918. },
  107919. $signature: 582
  107920. };
  107921. A.JSToDartLogger.prototype = {
  107922. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  107923. var t2, t3, t4,
  107924. t1 = this._node,
  107925. _0_0 = t1 == null ? null : J.get$warn$x(t1);
  107926. if (_0_0 != null) {
  107927. t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
  107928. t2 = J.toString$0$(trace);
  107929. t3 = deprecation == null;
  107930. t4 = $.$get$deprecations();
  107931. _0_0.call$2(message, {deprecation: !t3, deprecationType: t4.$index(0, t3 ? null : deprecation.id), span: t1, stack: t2});
  107932. } else
  107933. this._withAscii$1(new A.JSToDartLogger_internalWarn_closure(this, message, span, trace, deprecation));
  107934. },
  107935. debug$2(_, message, span) {
  107936. var t1 = this._node,
  107937. _0_0 = t1 == null ? null : J.get$debug$x(t1);
  107938. if (_0_0 != null)
  107939. _0_0.call$2(message, {span: span});
  107940. else
  107941. this._withAscii$1(new A.JSToDartLogger_debug_closure(this, message, span));
  107942. },
  107943. _withAscii$1$1(callback) {
  107944. var t1,
  107945. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  107946. $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  107947. try {
  107948. t1 = callback.call$0();
  107949. return t1;
  107950. } finally {
  107951. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  107952. }
  107953. },
  107954. _withAscii$1(callback) {
  107955. return this._withAscii$1$1(callback, type$.dynamic);
  107956. }
  107957. };
  107958. A.JSToDartLogger_internalWarn_closure.prototype = {
  107959. call$0() {
  107960. var _this = this;
  107961. $label0$0: {
  107962. _this.$this._fallback.internalWarn$4$deprecation$span$trace(_this.message, _this.deprecation, _this.span, _this.trace);
  107963. break $label0$0;
  107964. }
  107965. },
  107966. $signature: 1
  107967. };
  107968. A.JSToDartLogger_debug_closure.prototype = {
  107969. call$0() {
  107970. return this.$this._fallback.debug$2(0, this.message, this.span);
  107971. },
  107972. $signature: 0
  107973. };
  107974. A.ModifiableCssKeyframeBlock0.prototype = {
  107975. accept$1$1(visitor) {
  107976. return visitor.visitCssKeyframeBlock$1(this);
  107977. },
  107978. accept$1(visitor) {
  107979. return this.accept$1$1(visitor, type$.dynamic);
  107980. },
  107981. equalsIgnoringChildren$1(other) {
  107982. return other instanceof A.ModifiableCssKeyframeBlock0 && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  107983. },
  107984. copyWithoutChildren$0() {
  107985. return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
  107986. },
  107987. get$span(receiver) {
  107988. return this.span;
  107989. }
  107990. };
  107991. A.KeyframeSelectorParser0.prototype = {
  107992. parse$0(_) {
  107993. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
  107994. },
  107995. _keyframe_selector$_percentage$0() {
  107996. var $self, _0_0,
  107997. t1 = this.scanner,
  107998. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  107999. second = t1.peekChar$0();
  108000. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  108001. t1.error$1(0, "Expected number.");
  108002. while (true) {
  108003. $self = t1.peekChar$0();
  108004. if (!($self != null && $self >= 48 && $self <= 57))
  108005. break;
  108006. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108007. }
  108008. if (t1.peekChar$0() === 46) {
  108009. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108010. while (true) {
  108011. $self = t1.peekChar$0();
  108012. if (!($self != null && $self >= 48 && $self <= 57))
  108013. break;
  108014. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108015. }
  108016. }
  108017. if (this.scanIdentChar$1(101)) {
  108018. t2 += A.Primitives_stringFromCharCode(101);
  108019. _0_0 = t1.peekChar$0();
  108020. if (43 === _0_0 || 45 === _0_0)
  108021. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108022. $self = t1.peekChar$0();
  108023. if (!($self != null && $self >= 48 && $self <= 57))
  108024. t1.error$1(0, "Expected digit.");
  108025. do {
  108026. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108027. $self = t1.peekChar$0();
  108028. } while ($self != null && $self >= 48 && $self <= 57);
  108029. }
  108030. t1.expectChar$1(37);
  108031. t2 += A.Primitives_stringFromCharCode(37);
  108032. return t2.charCodeAt(0) == 0 ? t2 : t2;
  108033. }
  108034. };
  108035. A.KeyframeSelectorParser_parse_closure0.prototype = {
  108036. call$0() {
  108037. var selectors = A._setArrayType([], type$.JSArray_String),
  108038. t1 = this.$this,
  108039. t2 = t1.scanner;
  108040. do {
  108041. t1.whitespace$1$consumeNewlines(true);
  108042. if (t1.lookingAtIdentifier$0())
  108043. if (t1.scanIdentifier$1("from"))
  108044. selectors.push("from");
  108045. else {
  108046. t1.expectIdentifier$2$name("to", '"to" or "from"');
  108047. selectors.push("to");
  108048. }
  108049. else
  108050. selectors.push(t1._keyframe_selector$_percentage$0());
  108051. t1.whitespace$1$consumeNewlines(true);
  108052. } while (t2.scanChar$1(44));
  108053. t2.expectDone$0();
  108054. return selectors;
  108055. },
  108056. $signature: 138
  108057. };
  108058. A.LabColorSpace0.prototype = {
  108059. get$isBoundedInternal() {
  108060. return false;
  108061. },
  108062. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  108063. var powerlessAB, t1, missingLightness, f1, t2, t3, t4;
  108064. switch (dest) {
  108065. case B.LabColorSpace_2nT0:
  108066. powerlessAB = lightness == null || A.fuzzyEquals0(lightness, 0);
  108067. t1 = a == null || powerlessAB ? null : a;
  108068. return A.SassColor$_forSpace0(B.LabColorSpace_2nT0, lightness, t1, b == null || powerlessAB ? null : b, alpha, null);
  108069. case B.LchColorSpace_Bpv0:
  108070. return A.labToLch0(dest, lightness, a, b, alpha, false, false);
  108071. default:
  108072. missingLightness = lightness == null;
  108073. if (missingLightness)
  108074. lightness = 0;
  108075. f1 = (lightness + 16) / 116;
  108076. t1 = a == null;
  108077. t2 = this._lab$_convertFToXorZ$1((t1 ? 0 : a) / 500 + f1);
  108078. t3 = lightness > 8 ? Math.pow(f1, 3) : lightness / 903.2962962962963;
  108079. t4 = b == null;
  108080. 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);
  108081. }
  108082. },
  108083. convert$5(dest, lightness, a, b, alpha) {
  108084. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  108085. },
  108086. _lab$_convertFToXorZ$1(component) {
  108087. var cubed = Math.pow(component, 3) + 0;
  108088. return cubed > 0.008856451679035631 ? cubed : (116 * component - 16) / 903.2962962962963;
  108089. }
  108090. };
  108091. A.LazyFileSpan0.prototype = {
  108092. get$span(_) {
  108093. var t1 = this._lazy_file_span0$_span;
  108094. return t1 == null ? this._lazy_file_span0$_span = this._lazy_file_span0$_builder.call$0() : t1;
  108095. },
  108096. compareTo$1(_, other) {
  108097. return this.get$span(0).compareTo$1(0, other);
  108098. },
  108099. get$context(_) {
  108100. var t1 = this.get$span(0);
  108101. return t1.get$context(t1);
  108102. },
  108103. get$end(_) {
  108104. var t1 = this.get$span(0);
  108105. return t1.get$end(t1);
  108106. },
  108107. expand$1(_, other) {
  108108. return this.get$span(0).expand$1(0, other);
  108109. },
  108110. get$file(_) {
  108111. var t1 = this.get$span(0);
  108112. return t1.get$file(t1);
  108113. },
  108114. highlight$1$color(color) {
  108115. return this.get$span(0).highlight$1$color(color);
  108116. },
  108117. get$length(_) {
  108118. var t1 = this.get$span(0);
  108119. return t1.get$length(t1);
  108120. },
  108121. message$2$color(_, message, color) {
  108122. return this.get$span(0).message$2$color(0, message, color);
  108123. },
  108124. message$1(_, message) {
  108125. return this.message$2$color(0, message, null);
  108126. },
  108127. get$sourceUrl(_) {
  108128. var t1 = this.get$span(0);
  108129. return t1.get$sourceUrl(t1);
  108130. },
  108131. get$start(_) {
  108132. var t1 = this.get$span(0);
  108133. return t1.get$start(t1);
  108134. },
  108135. get$text() {
  108136. return this.get$span(0).get$text();
  108137. },
  108138. $isComparable: 1,
  108139. $isFileSpan: 1,
  108140. $isSourceSpan: 1,
  108141. $isSourceSpanWithContext: 1
  108142. };
  108143. A.LchColorSpace0.prototype = {
  108144. get$isBoundedInternal() {
  108145. return false;
  108146. },
  108147. get$isPolarInternal() {
  108148. return true;
  108149. },
  108150. convert$5(dest, lightness, chroma, hue, alpha) {
  108151. var t1 = hue == null,
  108152. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  108153. t2 = chroma == null,
  108154. t3 = t2 ? 0 : chroma,
  108155. t4 = Math.cos(hueRadians),
  108156. t5 = t2 ? 0 : chroma;
  108157. return B.LabColorSpace_2nT0.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  108158. }
  108159. };
  108160. A.render_closure.prototype = {
  108161. call$0() {
  108162. var error, exception;
  108163. try {
  108164. this.callback.call$2(null, A.renderSync(this.options));
  108165. } catch (exception) {
  108166. error = A.unwrapException(exception);
  108167. this.callback.call$2(error, null);
  108168. }
  108169. return null;
  108170. },
  108171. $signature: 1
  108172. };
  108173. A.render_closure0.prototype = {
  108174. call$1(result) {
  108175. this.callback.call$2(null, result);
  108176. },
  108177. $signature: 495
  108178. };
  108179. A.render_closure1.prototype = {
  108180. call$2(error, stackTrace) {
  108181. var t2, t3, _null = null,
  108182. t1 = this.callback;
  108183. if (error instanceof A.SassException0)
  108184. t1.call$2(A._wrapException(error, stackTrace), _null);
  108185. else {
  108186. t2 = J.toString$0$(error);
  108187. t3 = A.getTrace0(error);
  108188. t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
  108189. }
  108190. },
  108191. $signature: 46
  108192. };
  108193. A._parseFunctions_closure.prototype = {
  108194. call$2(signature, callback) {
  108195. var _0_0, _this = this,
  108196. t1 = _this.options,
  108197. context = {options: A._contextOptions(t1, _this.start)};
  108198. J.set$context$x(J.get$options$x(context), context);
  108199. _0_0 = J.get$fiber$x(t1);
  108200. t1 = {};
  108201. t1.fiber = null;
  108202. if (_0_0 != null) {
  108203. t1.fiber = _0_0;
  108204. _this.result.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure(t1, callback, context), false));
  108205. } else {
  108206. t1 = _this.result;
  108207. if (!_this.asynch)
  108208. t1.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure0(callback, context), false));
  108209. else
  108210. t1.push(A.AsyncCallable_AsyncCallable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure1(callback, context), false));
  108211. }
  108212. },
  108213. $signature: 127
  108214. };
  108215. A._parseFunctions__closure.prototype = {
  108216. call$1($arguments) {
  108217. var result,
  108218. t1 = this._box_0,
  108219. currentFiber = J.get$current$x(t1.fiber),
  108220. t2 = type$.Object;
  108221. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  108222. t2.push(A.allowInterop(new A._parseFunctions___closure2(currentFiber)));
  108223. result = A.wrapJSExceptions(new A._parseFunctions___closure3(this.callback, this.context, t2));
  108224. return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure4(t1), null, type$.nullable_Object) : result);
  108225. },
  108226. $signature: 3
  108227. };
  108228. A._parseFunctions___closure2.prototype = {
  108229. call$1(result) {
  108230. A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
  108231. },
  108232. call$0() {
  108233. return this.call$1(null);
  108234. },
  108235. "call*": "call$1",
  108236. $requiredArgCount: 0,
  108237. $defaultValues() {
  108238. return [null];
  108239. },
  108240. $signature: 88
  108241. };
  108242. A._parseFunctions____closure.prototype = {
  108243. call$0() {
  108244. return J.run$1$x(this.currentFiber, this.result);
  108245. },
  108246. $signature: 0
  108247. };
  108248. A._parseFunctions___closure3.prototype = {
  108249. call$0() {
  108250. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  108251. },
  108252. $signature: 37
  108253. };
  108254. A._parseFunctions___closure4.prototype = {
  108255. call$0() {
  108256. return J.yield$0$x(this._box_0.fiber);
  108257. },
  108258. $signature: 84
  108259. };
  108260. A._parseFunctions__closure0.prototype = {
  108261. call$1($arguments) {
  108262. return A.unwrapValue(A.wrapJSExceptions(new A._parseFunctions___closure1(this.callback, this.context, $arguments)));
  108263. },
  108264. $signature: 3
  108265. };
  108266. A._parseFunctions___closure1.prototype = {
  108267. call$0() {
  108268. var t1 = type$.JSFunction._as(this.callback),
  108269. t2 = J.map$1$1$ax(this.$arguments, A.value0__wrapValue$closure(), type$.Object);
  108270. return J.apply$2$x(t1, this.context, A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E")));
  108271. },
  108272. $signature: 37
  108273. };
  108274. A._parseFunctions__closure1.prototype = {
  108275. call$1($arguments) {
  108276. return this.$call$body$_parseFunctions__closure($arguments);
  108277. },
  108278. $call$body$_parseFunctions__closure($arguments) {
  108279. var $async$goto = 0,
  108280. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  108281. $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
  108282. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  108283. if ($async$errorCode === 1)
  108284. return A._asyncRethrow($async$result, $async$completer);
  108285. while (true)
  108286. switch ($async$goto) {
  108287. case 0:
  108288. // Function start
  108289. t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
  108290. t2 = type$.Object;
  108291. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  108292. t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
  108293. result = A.wrapJSExceptions(new A._parseFunctions___closure0($async$self.callback, $async$self.context, t2));
  108294. $async$temp1 = A;
  108295. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
  108296. break;
  108297. case 3:
  108298. // then
  108299. $async$goto = 6;
  108300. return A._asyncAwait(t1, $async$call$1);
  108301. case 6:
  108302. // returning from await.
  108303. // goto join
  108304. $async$goto = 4;
  108305. break;
  108306. case 5:
  108307. // else
  108308. $async$result = result;
  108309. case 4:
  108310. // join
  108311. $async$returnValue = $async$temp1.unwrapValue($async$result);
  108312. // goto return
  108313. $async$goto = 1;
  108314. break;
  108315. case 1:
  108316. // return
  108317. return A._asyncReturn($async$returnValue, $async$completer);
  108318. }
  108319. });
  108320. return A._asyncStartSync($async$call$1, $async$completer);
  108321. },
  108322. $signature: 86
  108323. };
  108324. A._parseFunctions___closure.prototype = {
  108325. call$1(result) {
  108326. return this.completer.complete$1(result);
  108327. },
  108328. call$0() {
  108329. return this.call$1(null);
  108330. },
  108331. "call*": "call$1",
  108332. $requiredArgCount: 0,
  108333. $defaultValues() {
  108334. return [null];
  108335. },
  108336. $signature: 231
  108337. };
  108338. A._parseFunctions___closure0.prototype = {
  108339. call$0() {
  108340. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  108341. },
  108342. $signature: 37
  108343. };
  108344. A._parseImporter_closure.prototype = {
  108345. call$1(importer) {
  108346. return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this._box_0, importer)));
  108347. },
  108348. $signature: 496
  108349. };
  108350. A._parseImporter__closure.prototype = {
  108351. call$4(thisArg, url, previous, _) {
  108352. var t1 = this._box_0,
  108353. 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));
  108354. if (A._asBool($.$get$_isUndefined().call$1(result)))
  108355. return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
  108356. return result;
  108357. },
  108358. call$3(thisArg, url, previous) {
  108359. return this.call$4(thisArg, url, previous, null);
  108360. },
  108361. "call*": "call$4",
  108362. $requiredArgCount: 3,
  108363. $defaultValues() {
  108364. return [null];
  108365. },
  108366. $signature: 497
  108367. };
  108368. A._parseImporter___closure.prototype = {
  108369. call$1(result) {
  108370. A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
  108371. },
  108372. $signature: 498
  108373. };
  108374. A._parseImporter____closure.prototype = {
  108375. call$0() {
  108376. return J.run$1$x(this.currentFiber, this.result);
  108377. },
  108378. $signature: 0
  108379. };
  108380. A._parseImporter___closure0.prototype = {
  108381. call$0() {
  108382. return J.yield$0$x(this._box_0.fiber);
  108383. },
  108384. $signature: 84
  108385. };
  108386. A.LimitedMapView0.prototype = {
  108387. get$keys(_) {
  108388. return this._limited_map_view0$_keys;
  108389. },
  108390. get$length(_) {
  108391. return this._limited_map_view0$_keys._collection$_length;
  108392. },
  108393. get$isEmpty(_) {
  108394. return this._limited_map_view0$_keys._collection$_length === 0;
  108395. },
  108396. get$isNotEmpty(_) {
  108397. return this._limited_map_view0$_keys._collection$_length !== 0;
  108398. },
  108399. $index(_, key) {
  108400. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
  108401. },
  108402. containsKey$1(key) {
  108403. return this._limited_map_view0$_keys.contains$1(0, key);
  108404. },
  108405. remove$1(_, key) {
  108406. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
  108407. }
  108408. };
  108409. A.ListExpression0.prototype = {
  108410. accept$1$1(visitor) {
  108411. return visitor.visitListExpression$1(0, this);
  108412. },
  108413. accept$1(visitor) {
  108414. return this.accept$1$1(visitor, type$.dynamic);
  108415. },
  108416. toString$0(_) {
  108417. var t2, t3, t4, t5, _this = this,
  108418. t1 = _this.hasBrackets;
  108419. if (t1)
  108420. t2 = "" + A.Primitives_stringFromCharCode(91);
  108421. else {
  108422. t2 = _this.contents.length;
  108423. if (t2 !== 0)
  108424. t2 = t2 === 1 && _this.separator === B.ListSeparator_qVN0;
  108425. else
  108426. t2 = true;
  108427. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  108428. }
  108429. t3 = _this.contents;
  108430. t4 = _this.separator === B.ListSeparator_qVN0;
  108431. t5 = t4 ? ", " : " ";
  108432. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  108433. if (t1)
  108434. t1 = t5 + A.Primitives_stringFromCharCode(93);
  108435. else {
  108436. t1 = t3.length;
  108437. if (t1 === 0)
  108438. t1 = t5 + A.Primitives_stringFromCharCode(41);
  108439. else
  108440. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  108441. }
  108442. return t1.charCodeAt(0) == 0 ? t1 : t1;
  108443. },
  108444. _list3$_elementNeedsParens$1(expression) {
  108445. var childSeparator, t1, _0_13;
  108446. $label0$0: {
  108447. if (expression instanceof A.ListExpression0 && expression.contents.length >= 2 && !expression.hasBrackets) {
  108448. childSeparator = expression.separator;
  108449. t1 = this.separator === B.ListSeparator_qVN0 ? childSeparator === B.ListSeparator_qVN0 : childSeparator !== B.ListSeparator_undecided_null_undecided0;
  108450. break $label0$0;
  108451. }
  108452. if (expression instanceof A.UnaryOperationExpression0) {
  108453. _0_13 = expression.operator;
  108454. if (B.UnaryOperator_Rbl0 !== _0_13)
  108455. t1 = B.UnaryOperator_UCP0 === _0_13;
  108456. else
  108457. t1 = true;
  108458. } else
  108459. t1 = false;
  108460. if (t1) {
  108461. t1 = this.separator === B.ListSeparator_qSL0;
  108462. break $label0$0;
  108463. }
  108464. t1 = false;
  108465. break $label0$0;
  108466. }
  108467. return t1;
  108468. },
  108469. get$span(receiver) {
  108470. return this.span;
  108471. }
  108472. };
  108473. A.ListExpression_toString_closure0.prototype = {
  108474. call$1(element) {
  108475. return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  108476. },
  108477. $signature: 113
  108478. };
  108479. A._length_closure2.prototype = {
  108480. call$1($arguments) {
  108481. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).get$asList().length, null);
  108482. },
  108483. $signature: 25
  108484. };
  108485. A._nth_closure0.prototype = {
  108486. call$1($arguments) {
  108487. var t1 = J.getInterceptor$asx($arguments),
  108488. list = t1.$index($arguments, 0),
  108489. index = t1.$index($arguments, 1);
  108490. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  108491. },
  108492. $signature: 3
  108493. };
  108494. A._setNth_closure0.prototype = {
  108495. call$1($arguments) {
  108496. var newList,
  108497. t1 = J.getInterceptor$asx($arguments),
  108498. list = t1.$index($arguments, 0),
  108499. index = t1.$index($arguments, 1),
  108500. value = t1.$index($arguments, 2);
  108501. t1 = list.get$asList();
  108502. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  108503. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  108504. return list.withListContents$1(newList);
  108505. },
  108506. $signature: 26
  108507. };
  108508. A._join_closure0.prototype = {
  108509. call$1($arguments) {
  108510. var _0_1, _0_4, _0_3, t2, t3, _0_40, separator, bracketed, _null = null,
  108511. t1 = J.getInterceptor$asx($arguments),
  108512. list1 = t1.$index($arguments, 0),
  108513. list2 = t1.$index($arguments, 1),
  108514. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  108515. bracketedParam = t1.$index($arguments, 3),
  108516. _1_0 = separatorParam._string0$_text;
  108517. $label1$1: {
  108518. if ("auto" === _1_0) {
  108519. _0_1 = list1.get$separator(list1);
  108520. _0_4 = list2.get$separator(list2);
  108521. $label0$0: {
  108522. t1 = _null;
  108523. _0_3 = B.ListSeparator_undecided_null_undecided0 === _0_1;
  108524. t2 = _0_3;
  108525. if (t2) {
  108526. t3 = B.ListSeparator_undecided_null_undecided0 === _0_4;
  108527. _0_40 = _0_4;
  108528. } else {
  108529. _0_40 = _null;
  108530. t3 = false;
  108531. }
  108532. if (t3) {
  108533. t1 = B.ListSeparator_qSL0;
  108534. break $label0$0;
  108535. }
  108536. if (_0_3)
  108537. separator = t2 ? _0_40 : _0_4;
  108538. else
  108539. separator = t1;
  108540. if (!_0_3)
  108541. separator = _0_1;
  108542. t1 = separator;
  108543. break $label0$0;
  108544. }
  108545. break $label1$1;
  108546. }
  108547. if ("space" === _1_0) {
  108548. t1 = B.ListSeparator_qSL0;
  108549. break $label1$1;
  108550. }
  108551. if ("comma" === _1_0) {
  108552. t1 = B.ListSeparator_qVN0;
  108553. break $label1$1;
  108554. }
  108555. if ("slash" === _1_0) {
  108556. t1 = B.ListSeparator_bRz0;
  108557. break $label1$1;
  108558. }
  108559. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, _null));
  108560. }
  108561. bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  108562. t2 = A.List_List$of(list1.get$asList(), true, type$.Value_2);
  108563. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  108564. return A.SassList$0(t2, t1, bracketed);
  108565. },
  108566. $signature: 26
  108567. };
  108568. A._append_closure2.prototype = {
  108569. call$1($arguments) {
  108570. var t2,
  108571. t1 = J.getInterceptor$asx($arguments),
  108572. list = t1.$index($arguments, 0),
  108573. value = t1.$index($arguments, 1),
  108574. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
  108575. $label0$0: {
  108576. if ("auto" === _0_0) {
  108577. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qSL0 : list.get$separator(list);
  108578. break $label0$0;
  108579. }
  108580. if ("space" === _0_0) {
  108581. t1 = B.ListSeparator_qSL0;
  108582. break $label0$0;
  108583. }
  108584. if ("comma" === _0_0) {
  108585. t1 = B.ListSeparator_qVN0;
  108586. break $label0$0;
  108587. }
  108588. if ("slash" === _0_0) {
  108589. t1 = B.ListSeparator_bRz0;
  108590. break $label0$0;
  108591. }
  108592. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, null));
  108593. }
  108594. t2 = A.List_List$of(list.get$asList(), true, type$.Value_2);
  108595. t2.push(value);
  108596. return list.withListContents$2$separator(t2, t1);
  108597. },
  108598. $signature: 26
  108599. };
  108600. A._zip_closure0.prototype = {
  108601. call$1($arguments) {
  108602. var results, result, _box_0 = {},
  108603. t1 = J.$index$asx($arguments, 0).get$asList(),
  108604. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
  108605. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), true, t2._eval$1("ListIterable.E"));
  108606. if (lists.length === 0)
  108607. return B.SassList_BlY0;
  108608. _box_0.i = 0;
  108609. results = A._setArrayType([], type$.JSArray_SassList_2);
  108610. 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));) {
  108611. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
  108612. result.$flags = 3;
  108613. results.push(new A.SassList0(result, B.ListSeparator_qSL0, false));
  108614. ++_box_0.i;
  108615. }
  108616. return A.SassList$0(results, B.ListSeparator_qVN0, false);
  108617. },
  108618. $signature: 26
  108619. };
  108620. A._zip__closure2.prototype = {
  108621. call$1(list) {
  108622. return list.get$asList();
  108623. },
  108624. $signature: 500
  108625. };
  108626. A._zip__closure3.prototype = {
  108627. call$1(list) {
  108628. return this._box_0.i !== J.get$length$asx(list);
  108629. },
  108630. $signature: 501
  108631. };
  108632. A._zip__closure4.prototype = {
  108633. call$1(list) {
  108634. return J.$index$asx(list, this._box_0.i);
  108635. },
  108636. $signature: 3
  108637. };
  108638. A._index_closure2.prototype = {
  108639. call$1($arguments) {
  108640. var t1 = J.getInterceptor$asx($arguments),
  108641. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  108642. return index === -1 ? B.C__SassNull0 : A.SassNumber_SassNumber0(index + 1, null);
  108643. },
  108644. $signature: 3
  108645. };
  108646. A._separator_closure0.prototype = {
  108647. call$1($arguments) {
  108648. var t1 = J.$index$asx($arguments, 0),
  108649. _0_0 = t1.get$separator(t1);
  108650. $label0$0: {
  108651. if (B.ListSeparator_qVN0 === _0_0) {
  108652. t1 = new A.SassString0("comma", false);
  108653. break $label0$0;
  108654. }
  108655. if (B.ListSeparator_bRz0 === _0_0) {
  108656. t1 = new A.SassString0("slash", false);
  108657. break $label0$0;
  108658. }
  108659. t1 = new A.SassString0("space", false);
  108660. break $label0$0;
  108661. }
  108662. return t1;
  108663. },
  108664. $signature: 18
  108665. };
  108666. A._isBracketed_closure0.prototype = {
  108667. call$1($arguments) {
  108668. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  108669. },
  108670. $signature: 11
  108671. };
  108672. A._slash_closure0.prototype = {
  108673. call$1($arguments) {
  108674. var list = J.$index$asx($arguments, 0).get$asList();
  108675. if (list.length < 2)
  108676. throw A.wrapException(A.SassScriptException$0("At least two elements are required.", null));
  108677. return A.SassList$0(list, B.ListSeparator_bRz0, false);
  108678. },
  108679. $signature: 26
  108680. };
  108681. A.SelectorList0.prototype = {
  108682. get$asSassList() {
  108683. var t1 = this.components;
  108684. 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);
  108685. },
  108686. accept$1$1(visitor) {
  108687. return visitor.visitSelectorList$1(this);
  108688. },
  108689. accept$1(visitor) {
  108690. return this.accept$1$1(visitor, type$.dynamic);
  108691. },
  108692. unify$1(other) {
  108693. var t3, t4, t5, t6, _i, complex1, t7, _i0, t8,
  108694. t1 = type$.JSArray_ComplexSelector_2,
  108695. t2 = A._setArrayType([], t1);
  108696. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  108697. complex1 = t3[_i];
  108698. for (t7 = complex1.span, _i0 = 0; _i0 < t6; ++_i0) {
  108699. t8 = A.unifyComplex0(A._setArrayType([complex1, t5[_i0]], t1), t7);
  108700. if (t8 != null)
  108701. B.JSArray_methods.addAll$1(t2, t8);
  108702. }
  108703. }
  108704. return t2.length === 0 ? null : A.SelectorList$0(t2, this.span);
  108705. },
  108706. nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, preserveParentSelectors) {
  108707. var parentSelector, t1, _this = this;
  108708. if ($parent == null) {
  108709. if (preserveParentSelectors)
  108710. return _this;
  108711. parentSelector = B.C__ParentSelectorVisitor0.visitSelectorList$1(_this);
  108712. if (parentSelector == null)
  108713. return _this;
  108714. throw A.wrapException(A.SassException$0(string$.Top_les, parentSelector.span, null));
  108715. }
  108716. t1 = _this.components;
  108717. 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);
  108718. },
  108719. nestWithin$1($parent) {
  108720. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, true, false);
  108721. },
  108722. nestWithin$2$implicitParent($parent, implicitParent) {
  108723. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, false);
  108724. },
  108725. _list2$_nestWithinCompound$2(component, $parent) {
  108726. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  108727. t1 = component.selector,
  108728. simples = t1.components,
  108729. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__nestWithinCompound_closure2());
  108730. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector0))
  108731. return null;
  108732. if (containsSelectorPseudo) {
  108733. t2 = simples;
  108734. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__nestWithinCompound_closure3($parent), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector0>"));
  108735. } else
  108736. resolvedSimples0 = simples;
  108737. resolvedSimples = resolvedSimples0;
  108738. parentSelector = J.get$first$ax(simples);
  108739. try {
  108740. if (!(parentSelector instanceof A.ParentSelector0)) {
  108741. t2 = component.span;
  108742. t2 = A._setArrayType([A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(resolvedSimples, t1.span), A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator_2), t2)], type$.JSArray_ComplexSelectorComponent_2), t2, false)], type$.JSArray_ComplexSelector_2);
  108743. return t2;
  108744. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  108745. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  108746. return t1.components;
  108747. }
  108748. } catch (exception) {
  108749. t1 = A.unwrapException(exception);
  108750. if (t1 instanceof A.SassException0) {
  108751. error = t1;
  108752. stackTrace = A.getTraceFromException(exception);
  108753. A.throwWithTrace0(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  108754. } else
  108755. throw exception;
  108756. }
  108757. t1 = $parent.components;
  108758. return new A.MappedListIterable(t1, new A.SelectorList__nestWithinCompound_closure4(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  108759. },
  108760. isSuperselector$1(other) {
  108761. return A.listIsSuperselector0(this.components, other.components);
  108762. },
  108763. withAdditionalCombinators$1(combinators) {
  108764. var t1;
  108765. if (combinators.length === 0)
  108766. t1 = this;
  108767. else {
  108768. t1 = this.components;
  108769. t1 = A.SelectorList$0(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure0(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), this.span);
  108770. }
  108771. return t1;
  108772. },
  108773. get$hashCode(_) {
  108774. return B.C_ListEquality0.hash$1(this.components);
  108775. },
  108776. $eq(_, other) {
  108777. if (other == null)
  108778. return false;
  108779. return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  108780. }
  108781. };
  108782. A.SelectorList_asSassList_closure0.prototype = {
  108783. call$1(complex) {
  108784. var t3, t4, _i, component, visitor, t5, t6, t7, _i0, _null = null,
  108785. t1 = type$.JSArray_Value_2,
  108786. t2 = A._setArrayType([], t1);
  108787. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  108788. t2.push(new A.SassString0(J.toString$0$(t3[_i].value), false));
  108789. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  108790. component = t3[_i];
  108791. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  108792. component.selector.accept$1(visitor);
  108793. t5 = A._setArrayType([new A.SassString0(visitor._serialize0$_buffer.toString$0(0), false)], t1);
  108794. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  108795. t5.push(new A.SassString0(J.toString$0$(t6[_i0].value), false));
  108796. B.JSArray_methods.addAll$1(t2, t5);
  108797. }
  108798. return A.SassList$0(t2, B.ListSeparator_qSL0, false);
  108799. },
  108800. $signature: 502
  108801. };
  108802. A.SelectorList_nestWithin_closure0.prototype = {
  108803. call$1(complex) {
  108804. 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;
  108805. if (_this.preserveParentSelectors || complex.accept$1(B.C__ParentSelectorVisitor0) == null) {
  108806. if (!_this.implicitParent)
  108807. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  108808. t1 = _this.parent.components;
  108809. return new A.MappedListIterable(t1, new A.SelectorList_nestWithin__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  108810. }
  108811. t1 = type$.JSArray_ComplexSelector_2;
  108812. newComplexes = A._setArrayType([], t1);
  108813. 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) {
  108814. component = t2[_i];
  108815. resolved = t4._list2$_nestWithinCompound$2(component, t5);
  108816. if (resolved == null)
  108817. if (newComplexes.length === 0)
  108818. newComplexes.push(A.ComplexSelector$0(t7, A._setArrayType([component], t11), t9, false));
  108819. else
  108820. for (i = 0; i < newComplexes.length; ++i) {
  108821. t12 = newComplexes[i];
  108822. t13 = A.List_List$of(t12.components, true, t10);
  108823. t13.push(component);
  108824. newComplexes[i] = A.ComplexSelector$0(t12.leadingCombinators, t13, t9, t12.lineBreak);
  108825. }
  108826. else if (newComplexes.length === 0)
  108827. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_nestWithin__closure2(complex), t6));
  108828. else {
  108829. t12 = A._setArrayType([], t1);
  108830. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  108831. newComplex = newComplexes[_i0];
  108832. for (t15 = t14.get$iterator(resolved), t16 = newComplex.span; t15.moveNext$0();)
  108833. t12.push(newComplex.concatenate$2(t15.get$current(t15), t16));
  108834. }
  108835. newComplexes = t12;
  108836. }
  108837. }
  108838. return newComplexes;
  108839. },
  108840. $signature: 503
  108841. };
  108842. A.SelectorList_nestWithin__closure1.prototype = {
  108843. call$1(parentComplex) {
  108844. var t1 = this.complex;
  108845. return parentComplex.concatenate$2(t1, t1.span);
  108846. },
  108847. $signature: 59
  108848. };
  108849. A.SelectorList_nestWithin__closure2.prototype = {
  108850. call$1(resolvedComplex) {
  108851. var t1 = resolvedComplex.leadingCombinators,
  108852. t2 = this.complex,
  108853. t3 = t2.leadingCombinators;
  108854. if (t1.length === 0)
  108855. t1 = t3;
  108856. else {
  108857. t3 = A.List_List$of(t3, true, type$.CssValue_Combinator_2);
  108858. B.JSArray_methods.addAll$1(t3, t1);
  108859. t1 = t3;
  108860. }
  108861. return A.ComplexSelector$0(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  108862. },
  108863. $signature: 59
  108864. };
  108865. A.SelectorList__nestWithinCompound_closure2.prototype = {
  108866. call$1(simple) {
  108867. var selector;
  108868. if (!(simple instanceof A.PseudoSelector0))
  108869. return false;
  108870. selector = simple.selector;
  108871. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  108872. },
  108873. $signature: 14
  108874. };
  108875. A.SelectorList__nestWithinCompound_closure3.prototype = {
  108876. call$1(simple) {
  108877. var selector, t1, _0_2;
  108878. $label0$0: {
  108879. selector = null;
  108880. t1 = false;
  108881. if (simple instanceof A.PseudoSelector0) {
  108882. _0_2 = simple.selector;
  108883. if (_0_2 != null) {
  108884. selector = _0_2 == null ? type$.SelectorList_2._as(_0_2) : _0_2;
  108885. t1 = selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  108886. }
  108887. }
  108888. if (t1) {
  108889. t1 = simple.withSelector$1(selector.nestWithin$2$implicitParent(this.parent, false));
  108890. break $label0$0;
  108891. }
  108892. t1 = simple;
  108893. break $label0$0;
  108894. }
  108895. return t1;
  108896. },
  108897. $signature: 504
  108898. };
  108899. A.SelectorList__nestWithinCompound_closure4.prototype = {
  108900. call$1(complex) {
  108901. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, t6, t7, exception, _this = this;
  108902. try {
  108903. t4 = complex.components;
  108904. lastComponent = B.JSArray_methods.get$last(t4);
  108905. if (lastComponent.combinators.length !== 0) {
  108906. 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);
  108907. throw A.wrapException(t1);
  108908. }
  108909. suffix = _this.parentSelector.suffix;
  108910. lastSimples = lastComponent.selector.components;
  108911. t5 = type$.SimpleSelector_2;
  108912. t6 = _this.resolvedSimples;
  108913. t7 = J.getInterceptor$ax(t6);
  108914. if (suffix == null) {
  108915. t1 = A.List_List$of(lastSimples, true, t5);
  108916. J.addAll$1$ax(t1, t7.skip$1(t6, 1));
  108917. t1 = t1;
  108918. } else {
  108919. t2 = A.List_List$of(A.IterableExtension_get_exceptLast0(lastSimples), true, t5);
  108920. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  108921. J.addAll$1$ax(t2, t7.skip$1(t6, 1));
  108922. t1 = t2;
  108923. }
  108924. t2 = _this.component;
  108925. last = A.CompoundSelector$0(t1, t2.selector.span);
  108926. t3 = A.List_List$of(A.IterableExtension_get_exceptLast0(t4), true, type$.ComplexSelectorComponent_2);
  108927. t4 = t2.span;
  108928. J.add$1$ax(t3, new A.ComplexSelectorComponent0(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator_2), t4));
  108929. t4 = A.ComplexSelector$0(complex.leadingCombinators, t3, t4, complex.lineBreak);
  108930. return t4;
  108931. } catch (exception) {
  108932. t1 = A.unwrapException(exception);
  108933. if (t1 instanceof A.SassException0) {
  108934. error = t1;
  108935. stackTrace = A.getTraceFromException(exception);
  108936. A.throwWithTrace0(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  108937. } else
  108938. throw exception;
  108939. }
  108940. },
  108941. $signature: 59
  108942. };
  108943. A.SelectorList_withAdditionalCombinators_closure0.prototype = {
  108944. call$1(complex) {
  108945. return complex.withAdditionalCombinators$1(this.combinators);
  108946. },
  108947. $signature: 59
  108948. };
  108949. A._ParentSelectorVisitor0.prototype = {
  108950. visitParentSelector$1(selector) {
  108951. return selector;
  108952. }
  108953. };
  108954. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0.prototype = {};
  108955. A.listClass_closure.prototype = {
  108956. call$0() {
  108957. var t1 = type$.JSClass,
  108958. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
  108959. J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
  108960. A.JSClassExtension_injectSuperclass(t1._as(B.SassList_apG.constructor), jsClass);
  108961. return jsClass;
  108962. },
  108963. $signature: 15
  108964. };
  108965. A.listClass__closure.prototype = {
  108966. call$3($self, contentsOrOptions, options) {
  108967. var contents, t1, t2;
  108968. if (self.immutable.isList(contentsOrOptions))
  108969. contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
  108970. else if (type$.List_dynamic._is(contentsOrOptions))
  108971. contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
  108972. else {
  108973. contents = A._setArrayType([], type$.JSArray_Value_2);
  108974. type$.nullable__ConstructorOptions._as(contentsOrOptions);
  108975. options = contentsOrOptions;
  108976. }
  108977. t1 = options == null;
  108978. if (!t1) {
  108979. t2 = J.get$separator$x(options);
  108980. t2 = A._asBool($.$get$_isUndefined().call$1(t2));
  108981. } else
  108982. t2 = true;
  108983. t2 = t2 ? B.ListSeparator_qVN0 : A.jsToDartSeparator(J.get$separator$x(options));
  108984. t1 = t1 ? null : J.get$brackets$x(options);
  108985. return A.SassList$0(contents, t2, t1 == null ? false : t1);
  108986. },
  108987. call$1($self) {
  108988. return this.call$3($self, null, null);
  108989. },
  108990. call$2($self, contentsOrOptions) {
  108991. return this.call$3($self, contentsOrOptions, null);
  108992. },
  108993. "call*": "call$3",
  108994. $requiredArgCount: 1,
  108995. $defaultValues() {
  108996. return [null, null];
  108997. },
  108998. $signature: 505
  108999. };
  109000. A.listClass__closure0.prototype = {
  109001. call$2($self, indexFloat) {
  109002. var index = B.JSNumber_methods.floor$0(indexFloat);
  109003. if (index < 0)
  109004. index = $self.get$asList().length + index;
  109005. if (index < 0 || index >= $self.get$asList().length)
  109006. return self.undefined;
  109007. return $self.get$asList()[index];
  109008. },
  109009. $signature: 253
  109010. };
  109011. A._ConstructorOptions.prototype = {};
  109012. A._NodeSassList.prototype = {};
  109013. A.legacyListClass_closure.prototype = {
  109014. call$4(thisArg, $length, commaSeparator, dartValue) {
  109015. var t1;
  109016. if (dartValue == null) {
  109017. $length.toString;
  109018. t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
  109019. t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_qVN0 : B.ListSeparator_qSL0, false);
  109020. } else
  109021. t1 = dartValue;
  109022. J.set$dartValue$x(thisArg, t1);
  109023. },
  109024. call$2(thisArg, $length) {
  109025. return this.call$4(thisArg, $length, null, null);
  109026. },
  109027. call$3(thisArg, $length, commaSeparator) {
  109028. return this.call$4(thisArg, $length, commaSeparator, null);
  109029. },
  109030. "call*": "call$4",
  109031. $requiredArgCount: 2,
  109032. $defaultValues() {
  109033. return [null, null];
  109034. },
  109035. $signature: 507
  109036. };
  109037. A.legacyListClass__closure.prototype = {
  109038. call$1(_) {
  109039. return B.C__SassNull0;
  109040. },
  109041. $signature: 249
  109042. };
  109043. A.legacyListClass_closure0.prototype = {
  109044. call$2(thisArg, index) {
  109045. return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
  109046. },
  109047. $signature: 509
  109048. };
  109049. A.legacyListClass_closure1.prototype = {
  109050. call$3(thisArg, index, value) {
  109051. var t1 = J.getInterceptor$x(thisArg),
  109052. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  109053. mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  109054. mutable[index] = A.unwrapValue(value);
  109055. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
  109056. },
  109057. "call*": "call$3",
  109058. $requiredArgCount: 3,
  109059. $signature: 510
  109060. };
  109061. A.legacyListClass_closure2.prototype = {
  109062. call$1(thisArg) {
  109063. return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_qVN0;
  109064. },
  109065. $signature: 511
  109066. };
  109067. A.legacyListClass_closure3.prototype = {
  109068. call$2(thisArg, isComma) {
  109069. var t1 = J.getInterceptor$x(thisArg),
  109070. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  109071. t3 = isComma ? B.ListSeparator_qVN0 : B.ListSeparator_qSL0;
  109072. t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
  109073. },
  109074. $signature: 512
  109075. };
  109076. A.legacyListClass_closure4.prototype = {
  109077. call$1(thisArg) {
  109078. return J.get$dartValue$x(thisArg)._list1$_contents.length;
  109079. },
  109080. $signature: 513
  109081. };
  109082. A.SassList0.prototype = {
  109083. get$separator(_) {
  109084. return this._list1$_separator;
  109085. },
  109086. get$hasBrackets() {
  109087. return this._list1$_hasBrackets;
  109088. },
  109089. get$isBlank() {
  109090. return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
  109091. },
  109092. get$asList() {
  109093. return this._list1$_contents;
  109094. },
  109095. get$lengthAsList() {
  109096. return this._list1$_contents.length;
  109097. },
  109098. SassList$3$brackets0(contents, _separator, brackets) {
  109099. if (this._list1$_separator === B.ListSeparator_undecided_null_undecided0 && this._list1$_contents.length > 1)
  109100. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  109101. },
  109102. toString$0(_) {
  109103. var t2, _this = this,
  109104. t1 = true;
  109105. if (!_this._list1$_hasBrackets) {
  109106. t2 = _this._list1$_contents.length;
  109107. if (t2 !== 0)
  109108. t1 = t2 === 1 && _this._list1$_separator === B.ListSeparator_qVN0;
  109109. }
  109110. if (t1)
  109111. return _this.super$Value$toString0(0);
  109112. return "(" + _this.super$Value$toString0(0) + ")";
  109113. },
  109114. accept$1$1(visitor) {
  109115. return visitor.visitList$1(this);
  109116. },
  109117. accept$1(visitor) {
  109118. return this.accept$1$1(visitor, type$.dynamic);
  109119. },
  109120. assertMap$1($name) {
  109121. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
  109122. },
  109123. tryMap$0() {
  109124. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
  109125. },
  109126. $eq(_, other) {
  109127. var t1, _this = this;
  109128. if (other == null)
  109129. return false;
  109130. 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)))
  109131. t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
  109132. else
  109133. t1 = true;
  109134. return t1;
  109135. },
  109136. get$hashCode(_) {
  109137. return B.C_ListEquality0.hash$1(this._list1$_contents);
  109138. }
  109139. };
  109140. A.SassList_isBlank_closure0.prototype = {
  109141. call$1(element) {
  109142. return element.get$isBlank();
  109143. },
  109144. $signature: 54
  109145. };
  109146. A.ListSeparator0.prototype = {
  109147. _enumToString$0() {
  109148. return "ListSeparator." + this._name;
  109149. },
  109150. toString$0(_) {
  109151. return this._list1$_name;
  109152. }
  109153. };
  109154. A.LmsColorSpace0.prototype = {
  109155. get$isBoundedInternal() {
  109156. return false;
  109157. },
  109158. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  109159. var t1, longScaled, mediumScaled, shortScaled, lightness, t2, t3, _null = null;
  109160. switch (dest) {
  109161. case B.OklabColorSpace_5400:
  109162. t1 = long == null ? 0 : long;
  109163. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109164. t1 = medium == null ? 0 : medium;
  109165. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109166. t1 = short == null ? 0 : short;
  109167. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109168. t1 = $.$get$lmsToOklab0();
  109169. lightness = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  109170. t2 = missingLightness ? _null : lightness;
  109171. t3 = missingA ? _null : t1[3] * longScaled + t1[4] * mediumScaled + t1[5] * shortScaled;
  109172. return A.SassColor$_forSpace0(B.OklabColorSpace_5400, t2, t3, missingB ? _null : t1[6] * longScaled + t1[7] * mediumScaled + t1[8] * shortScaled, alpha, _null);
  109173. case B.OklchColorSpace_9Gj0:
  109174. t1 = long == null ? 0 : long;
  109175. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109176. t1 = medium == null ? 0 : medium;
  109177. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109178. t1 = short == null ? 0 : short;
  109179. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109180. if (missingLightness)
  109181. t1 = _null;
  109182. else {
  109183. t1 = $.$get$lmsToOklab0();
  109184. t1 = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  109185. }
  109186. t2 = $.$get$lmsToOklab0();
  109187. 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);
  109188. default:
  109189. return this.super$ColorSpace$convertLinear0(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  109190. }
  109191. },
  109192. convert$5(dest, long, medium, short, alpha) {
  109193. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, false, false, false, false, false);
  109194. },
  109195. toLinear$1(channel) {
  109196. return channel;
  109197. },
  109198. fromLinear$1(channel) {
  109199. return channel;
  109200. },
  109201. transformationMatrix$1(dest) {
  109202. var t1;
  109203. $label0$0: {
  109204. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  109205. t1 = $.$get$lmsToLinearSrgb0();
  109206. break $label0$0;
  109207. }
  109208. if (B.A98RgbColorSpace_lf20 === dest) {
  109209. t1 = $.$get$lmsToLinearA98Rgb0();
  109210. break $label0$0;
  109211. }
  109212. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  109213. t1 = $.$get$lmsToLinearProphotoRgb0();
  109214. break $label0$0;
  109215. }
  109216. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  109217. t1 = $.$get$lmsToLinearDisplayP30();
  109218. break $label0$0;
  109219. }
  109220. if (B.Rec2020ColorSpace_6oo0 === dest) {
  109221. t1 = $.$get$lmsToLinearRec20200();
  109222. break $label0$0;
  109223. }
  109224. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  109225. t1 = $.$get$lmsToXyzD650();
  109226. break $label0$0;
  109227. }
  109228. if (B.XyzD50ColorSpace_2OB0 === dest) {
  109229. t1 = $.$get$lmsToXyzD500();
  109230. break $label0$0;
  109231. }
  109232. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  109233. break $label0$0;
  109234. }
  109235. return t1;
  109236. }
  109237. };
  109238. A.LocalMindeGamutMap0.prototype = {
  109239. map$1(_, color) {
  109240. var clipped, max, min, minInGamut, chroma, current, e,
  109241. originOklch = color.toSpace$1(B.OklchColorSpace_9Gj0),
  109242. lightness = originOklch.channel0OrNull,
  109243. hue = originOklch.channel2OrNull,
  109244. alpha = originOklch.alphaOrNull,
  109245. t1 = lightness == null,
  109246. t2 = t1 ? 0 : lightness;
  109247. if (t2 > 1 || A.fuzzyEquals0(t2, 1)) {
  109248. t1 = color._color0$_space;
  109249. t2 = color.alphaOrNull;
  109250. 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);
  109251. } else {
  109252. t1 = t1 ? 0 : lightness;
  109253. if (t1 < 0 || A.fuzzyEquals0(t1, 0))
  109254. return A.SassColor_SassColor$rgbInternal0(0, 0, 0, color.alphaOrNull, null).toSpace$1(color._color0$_space);
  109255. }
  109256. clipped = color.get$isInGamut() ? color : B.ClipGamutMap_clip0.map$1(0, color);
  109257. if (this._local_minde$_deltaEOK$2(clipped, color) < 0.02)
  109258. return clipped;
  109259. max = originOklch.channel1OrNull;
  109260. if (max == null)
  109261. max = 0;
  109262. for (t1 = color._color0$_space, min = 0, minInGamut = true; max - min > 0.0001;) {
  109263. chroma = (min + max) / 2;
  109264. current = B.OklchColorSpace_9Gj0.convert$5(t1, lightness, chroma, hue, alpha);
  109265. if (minInGamut && current.get$isInGamut()) {
  109266. min = chroma;
  109267. continue;
  109268. }
  109269. clipped = current.get$isInGamut() ? current : B.ClipGamutMap_clip0.map$1(0, current);
  109270. e = this._local_minde$_deltaEOK$2(clipped, current);
  109271. if (e < 0.02) {
  109272. if (0.02 - e < 0.0001)
  109273. return clipped;
  109274. min = chroma;
  109275. minInGamut = false;
  109276. } else
  109277. max = chroma;
  109278. }
  109279. return clipped;
  109280. },
  109281. _local_minde$_deltaEOK$2(color1, color2) {
  109282. var t2, t3, t4,
  109283. lab1 = color1.toSpace$1(B.OklabColorSpace_5400),
  109284. lab2 = color2.toSpace$1(B.OklabColorSpace_5400),
  109285. t1 = lab1.channel0OrNull;
  109286. if (t1 == null)
  109287. t1 = 0;
  109288. t2 = lab2.channel0OrNull;
  109289. t1 = Math.pow(t1 - (t2 == null ? 0 : t2), 2);
  109290. t2 = lab1.channel1OrNull;
  109291. if (t2 == null)
  109292. t2 = 0;
  109293. t3 = lab2.channel1OrNull;
  109294. t2 = Math.pow(t2 - (t3 == null ? 0 : t3), 2);
  109295. t3 = lab1.channel2OrNull;
  109296. if (t3 == null)
  109297. t3 = 0;
  109298. t4 = lab2.channel2OrNull;
  109299. return Math.sqrt(t1 + t2 + Math.pow(t3 - (t4 == null ? 0 : t4), 2));
  109300. }
  109301. };
  109302. A.JSLogger.prototype = {};
  109303. A.WarnOptions.prototype = {};
  109304. A.DebugOptions.prototype = {};
  109305. A.LoggerWithDeprecationType0.prototype = {};
  109306. A.LoudComment0.prototype = {
  109307. get$span(_) {
  109308. return this.text.span;
  109309. },
  109310. accept$1$1(visitor) {
  109311. return visitor.visitLoudComment$1(0, this);
  109312. },
  109313. accept$1(visitor) {
  109314. return this.accept$1$1(visitor, type$.dynamic);
  109315. },
  109316. toString$0(_) {
  109317. return this.text.toString$0(0);
  109318. }
  109319. };
  109320. A.MapExpression0.prototype = {
  109321. accept$1$1(visitor) {
  109322. return visitor.visitMapExpression$1(0, this);
  109323. },
  109324. accept$1(visitor) {
  109325. return this.accept$1$1(visitor, type$.dynamic);
  109326. },
  109327. toString$0(_) {
  109328. var t2, t3, _i, t4,
  109329. t1 = A._setArrayType([], type$.JSArray_String);
  109330. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  109331. t4 = t2[_i];
  109332. t1.push(t4._0.toString$0(0) + ": " + t4._1.toString$0(0));
  109333. }
  109334. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  109335. },
  109336. get$span(receiver) {
  109337. return this.span;
  109338. }
  109339. };
  109340. A._get_closure0.prototype = {
  109341. call$1($arguments) {
  109342. var value,
  109343. t1 = J.getInterceptor$asx($arguments),
  109344. map = t1.$index($arguments, 0).assertMap$1("map"),
  109345. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109346. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109347. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  109348. value = map._map0$_contents.$index(0, t1.get$current(t1));
  109349. if (!(value instanceof A.SassMap0))
  109350. return B.C__SassNull0;
  109351. }
  109352. t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
  109353. return t1 == null ? B.C__SassNull0 : t1;
  109354. },
  109355. $signature: 3
  109356. };
  109357. A._set_closure1.prototype = {
  109358. call$1($arguments) {
  109359. var t1 = J.getInterceptor$asx($arguments);
  109360. 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);
  109361. },
  109362. $signature: 3
  109363. };
  109364. A._set__closure2.prototype = {
  109365. call$1(_) {
  109366. return J.$index$asx(this.$arguments, 2);
  109367. },
  109368. $signature: 44
  109369. };
  109370. A._set_closure2.prototype = {
  109371. call$1($arguments) {
  109372. var keys, t2, t3,
  109373. t1 = J.getInterceptor$asx($arguments),
  109374. map = t1.$index($arguments, 0).assertMap$1("map"),
  109375. _0_0 = t1.$index($arguments, 1).get$asList(),
  109376. _0_1 = _0_0.length;
  109377. if (_0_1 <= 0)
  109378. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  109379. if (_0_1 === 1)
  109380. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value.", null));
  109381. t1 = {};
  109382. keys = t1.value = null;
  109383. t2 = _0_1 >= 1;
  109384. if (t2) {
  109385. t3 = _0_1 - 1;
  109386. keys = B.JSArray_methods.sublist$2(_0_0, 0, t3);
  109387. t1.value = _0_0[t3];
  109388. }
  109389. if (t2)
  109390. return A._modify0(map, keys, new A._set__closure1(t1), true);
  109391. throw A.wrapException("[BUG] Unreachable code");
  109392. },
  109393. $signature: 3
  109394. };
  109395. A._set__closure1.prototype = {
  109396. call$1(_) {
  109397. return this._box_0.value;
  109398. },
  109399. $signature: 44
  109400. };
  109401. A._merge_closure1.prototype = {
  109402. call$1($arguments) {
  109403. var t2,
  109404. t1 = J.getInterceptor$asx($arguments),
  109405. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  109406. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  109407. t1 = type$.Value_2;
  109408. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map0$_contents, t1, t1);
  109409. t2.addAll$1(0, map2._map0$_contents);
  109410. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  109411. },
  109412. $signature: 34
  109413. };
  109414. A._merge_closure2.prototype = {
  109415. call$1($arguments) {
  109416. var last, t2, keys, _null = null,
  109417. t1 = J.getInterceptor$asx($arguments),
  109418. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  109419. _0_0 = t1.$index($arguments, 1).get$asList(),
  109420. _0_1 = _0_0.length;
  109421. if (_0_1 <= 0)
  109422. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", _null));
  109423. if (_0_1 === 1)
  109424. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map.", _null));
  109425. t1 = _0_1 >= 1;
  109426. last = _null;
  109427. if (t1) {
  109428. t2 = _0_1 - 1;
  109429. keys = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  109430. last = _0_0[t2];
  109431. } else
  109432. keys = _null;
  109433. if (t1)
  109434. return A._modify0(map1, keys, new A._merge__closure0(last.assertMap$1("map2")), true);
  109435. throw A.wrapException("[BUG] Unreachable code");
  109436. },
  109437. $signature: 3
  109438. };
  109439. A._merge__closure0.prototype = {
  109440. call$1(oldValue) {
  109441. var t1, t2,
  109442. nestedMap = oldValue.tryMap$0();
  109443. if (nestedMap == null)
  109444. return this.map2;
  109445. t1 = type$.Value_2;
  109446. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  109447. t2.addAll$1(0, this.map2._map0$_contents);
  109448. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  109449. },
  109450. $signature: 514
  109451. };
  109452. A._deepMerge_closure0.prototype = {
  109453. call$1($arguments) {
  109454. var t1 = J.getInterceptor$asx($arguments);
  109455. return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  109456. },
  109457. $signature: 34
  109458. };
  109459. A._deepRemove_closure0.prototype = {
  109460. call$1($arguments) {
  109461. var t1 = J.getInterceptor$asx($arguments),
  109462. map = t1.$index($arguments, 0).assertMap$1("map"),
  109463. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109464. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109465. return A._modify0(map, A.IterableExtension_get_exceptLast0(t2), new A._deepRemove__closure0(t2), false);
  109466. },
  109467. $signature: 3
  109468. };
  109469. A._deepRemove__closure0.prototype = {
  109470. call$1(value) {
  109471. var t1, nestedMap, t2,
  109472. _0_0 = value.tryMap$0();
  109473. if (_0_0 != null) {
  109474. t1 = _0_0._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  109475. nestedMap = _0_0;
  109476. } else {
  109477. nestedMap = null;
  109478. t1 = false;
  109479. }
  109480. if (t1) {
  109481. t1 = type$.Value_2;
  109482. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  109483. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  109484. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  109485. }
  109486. return value;
  109487. },
  109488. $signature: 44
  109489. };
  109490. A._remove_closure1.prototype = {
  109491. call$1($arguments) {
  109492. return J.$index$asx($arguments, 0).assertMap$1("map");
  109493. },
  109494. $signature: 34
  109495. };
  109496. A._remove_closure2.prototype = {
  109497. call$1($arguments) {
  109498. var mutableMap, t3, _i,
  109499. t1 = J.getInterceptor$asx($arguments),
  109500. map = t1.$index($arguments, 0).assertMap$1("map"),
  109501. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109502. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109503. t1 = type$.Value_2;
  109504. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
  109505. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  109506. mutableMap.remove$1(0, t2[_i]);
  109507. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  109508. },
  109509. $signature: 34
  109510. };
  109511. A._keys_closure0.prototype = {
  109512. call$1($arguments) {
  109513. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  109514. return A.SassList$0(t1.get$keys(t1), B.ListSeparator_qVN0, false);
  109515. },
  109516. $signature: 26
  109517. };
  109518. A._values_closure0.prototype = {
  109519. call$1($arguments) {
  109520. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  109521. return A.SassList$0(t1.get$values(t1), B.ListSeparator_qVN0, false);
  109522. },
  109523. $signature: 26
  109524. };
  109525. A._hasKey_closure0.prototype = {
  109526. call$1($arguments) {
  109527. var value,
  109528. t1 = J.getInterceptor$asx($arguments),
  109529. map = t1.$index($arguments, 0).assertMap$1("map"),
  109530. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109531. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109532. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  109533. value = map._map0$_contents.$index(0, t1.get$current(t1));
  109534. if (!(value instanceof A.SassMap0))
  109535. return B.SassBoolean_false0;
  109536. }
  109537. return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  109538. },
  109539. $signature: 11
  109540. };
  109541. A._modify_modifyNestedMap0.prototype = {
  109542. call$1(map) {
  109543. var nestedMap, _this = this,
  109544. t1 = type$.Value_2,
  109545. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
  109546. t2 = _this.keyIterator,
  109547. key = t2.get$current(t2);
  109548. if (!t2.moveNext$0()) {
  109549. t2 = mutableMap.$index(0, key);
  109550. if (t2 == null)
  109551. t2 = B.C__SassNull0;
  109552. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  109553. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  109554. }
  109555. t2 = mutableMap.$index(0, key);
  109556. nestedMap = t2 == null ? null : t2.tryMap$0();
  109557. t2 = nestedMap == null;
  109558. if (t2 && !_this.addNesting)
  109559. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  109560. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
  109561. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  109562. },
  109563. $signature: 515
  109564. };
  109565. A.MapExtensions_get_pairs_closure0.prototype = {
  109566. call$1(e) {
  109567. return new A._Record_2(e.key, e.value);
  109568. },
  109569. $signature() {
  109570. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  109571. }
  109572. };
  109573. A.mapClass_closure.prototype = {
  109574. call$0() {
  109575. var t1 = type$.JSClass,
  109576. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
  109577. t2 = J.getInterceptor$x(jsClass);
  109578. A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
  109579. t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
  109580. A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
  109581. return jsClass;
  109582. },
  109583. $signature: 15
  109584. };
  109585. A.mapClass__closure.prototype = {
  109586. call$2($self, contents) {
  109587. var t1;
  109588. if (contents == null)
  109589. t1 = B.SassMap_Map_empty0;
  109590. else {
  109591. t1 = type$.Value_2;
  109592. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
  109593. }
  109594. return t1;
  109595. },
  109596. call$1($self) {
  109597. return this.call$2($self, null);
  109598. },
  109599. "call*": "call$2",
  109600. $requiredArgCount: 1,
  109601. $defaultValues() {
  109602. return [null];
  109603. },
  109604. $signature: 516
  109605. };
  109606. A.mapClass__closure0.prototype = {
  109607. call$1($self) {
  109608. return A.dartMapToImmutableMap($self._map0$_contents);
  109609. },
  109610. $signature: 517
  109611. };
  109612. A.mapClass__closure1.prototype = {
  109613. call$2($self, indexOrKey) {
  109614. var index, t1, _0_0;
  109615. if (typeof indexOrKey == "number") {
  109616. index = B.JSNumber_methods.floor$0(indexOrKey);
  109617. if (index < 0) {
  109618. t1 = $self._map0$_contents;
  109619. index = t1.get$length(t1) + index;
  109620. }
  109621. if (index >= 0) {
  109622. t1 = $self._map0$_contents;
  109623. t1 = index >= t1.get$length(t1);
  109624. } else
  109625. t1 = true;
  109626. if (t1)
  109627. return self.undefined;
  109628. t1 = type$.Value_2;
  109629. _0_0 = A.MapExtensions_get_pairs0($self._map0$_contents, t1, t1).elementAt$1(0, index);
  109630. return A.SassList$0(A._setArrayType([_0_0._0, _0_0._1], type$.JSArray_Value_2), B.ListSeparator_qSL0, false);
  109631. } else {
  109632. t1 = $self._map0$_contents.$index(0, indexOrKey);
  109633. return t1 == null ? self.undefined : t1;
  109634. }
  109635. },
  109636. $signature: 518
  109637. };
  109638. A._NodeSassMap.prototype = {};
  109639. A.legacyMapClass_closure.prototype = {
  109640. call$3(thisArg, $length, dartValue) {
  109641. var t1, t2, t3, map;
  109642. if (dartValue == null) {
  109643. $length.toString;
  109644. t1 = type$.Value_2;
  109645. t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
  109646. t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
  109647. map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
  109648. A.MapBase__fillMapWithIterables(map, t2, t3);
  109649. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  109650. } else
  109651. t1 = dartValue;
  109652. J.set$dartValue$x(thisArg, t1);
  109653. },
  109654. call$2(thisArg, $length) {
  109655. return this.call$3(thisArg, $length, null);
  109656. },
  109657. "call*": "call$3",
  109658. $requiredArgCount: 2,
  109659. $defaultValues() {
  109660. return [null];
  109661. },
  109662. $signature: 519
  109663. };
  109664. A.legacyMapClass__closure.prototype = {
  109665. call$1(i) {
  109666. return A.SassNumber_SassNumber0(i, null);
  109667. },
  109668. $signature: 520
  109669. };
  109670. A.legacyMapClass__closure0.prototype = {
  109671. call$1(_) {
  109672. return B.C__SassNull0;
  109673. },
  109674. $signature: 249
  109675. };
  109676. A.legacyMapClass_closure0.prototype = {
  109677. call$2(thisArg, index) {
  109678. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  109679. return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
  109680. },
  109681. $signature: 244
  109682. };
  109683. A.legacyMapClass_closure1.prototype = {
  109684. call$2(thisArg, index) {
  109685. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  109686. t1 = t1.get$values(t1);
  109687. return A.wrapValue(t1.elementAt$1(t1, index));
  109688. },
  109689. $signature: 244
  109690. };
  109691. A.legacyMapClass_closure2.prototype = {
  109692. call$1(thisArg) {
  109693. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  109694. return t1.get$length(t1);
  109695. },
  109696. $signature: 522
  109697. };
  109698. A.legacyMapClass_closure3.prototype = {
  109699. call$3(thisArg, index, key) {
  109700. var newKey, t2, newMap, t3, i, t4, oldKey, oldValue,
  109701. t1 = J.getInterceptor$x(thisArg),
  109702. oldMap = t1.get$dartValue(thisArg)._map0$_contents,
  109703. $length = oldMap.get$length(oldMap);
  109704. A.IndexError_check(index, $length, oldMap, null, "index");
  109705. newKey = A.unwrapValue(key);
  109706. t2 = type$.Value_2;
  109707. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  109708. for (t3 = A.MapExtensions_get_pairs0(t1.get$dartValue(thisArg)._map0$_contents, t2, t2), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
  109709. t4 = t3.get$current(t3);
  109710. oldKey = t4._0;
  109711. oldValue = t4._1;
  109712. if (i === index)
  109713. newMap.$indexSet(0, newKey, oldValue);
  109714. else {
  109715. if (newKey.$eq(0, oldKey))
  109716. throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
  109717. newMap.$indexSet(0, oldKey, oldValue);
  109718. }
  109719. ++i;
  109720. }
  109721. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
  109722. },
  109723. "call*": "call$3",
  109724. $requiredArgCount: 3,
  109725. $signature: 240
  109726. };
  109727. A.legacyMapClass_closure4.prototype = {
  109728. call$3(thisArg, index, value) {
  109729. var t3,
  109730. t1 = J.getInterceptor$x(thisArg),
  109731. t2 = t1.get$dartValue(thisArg)._map0$_contents,
  109732. key = J.elementAt$1$ax(t2.get$keys(t2), index);
  109733. t2 = type$.Value_2;
  109734. t3 = A.LinkedHashMap_LinkedHashMap$of(t1.get$dartValue(thisArg)._map0$_contents, t2, t2);
  109735. t3.$indexSet(0, key, A.unwrapValue(value));
  109736. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
  109737. },
  109738. "call*": "call$3",
  109739. $requiredArgCount: 3,
  109740. $signature: 240
  109741. };
  109742. A.SassMap0.prototype = {
  109743. get$separator(_) {
  109744. var t1 = this._map0$_contents;
  109745. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided0 : B.ListSeparator_qVN0;
  109746. },
  109747. get$asList() {
  109748. var t3, t4, t5, result,
  109749. t1 = type$.JSArray_Value_2,
  109750. t2 = A._setArrayType([], t1);
  109751. for (t3 = type$.Value_2, t4 = A.MapExtensions_get_pairs0(this._map0$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  109752. t5 = t4.get$current(t4);
  109753. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  109754. result.$flags = 3;
  109755. t2.push(new A.SassList0(result, B.ListSeparator_qSL0, false));
  109756. }
  109757. return t2;
  109758. },
  109759. get$lengthAsList() {
  109760. var t1 = this._map0$_contents;
  109761. return t1.get$length(t1);
  109762. },
  109763. accept$1$1(visitor) {
  109764. return visitor.visitMap$1(this);
  109765. },
  109766. accept$1(visitor) {
  109767. return this.accept$1$1(visitor, type$.dynamic);
  109768. },
  109769. assertMap$1($name) {
  109770. return this;
  109771. },
  109772. tryMap$0() {
  109773. return this;
  109774. },
  109775. $eq(_, other) {
  109776. var t1;
  109777. if (other == null)
  109778. return false;
  109779. if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
  109780. t1 = this._map0$_contents;
  109781. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
  109782. } else
  109783. t1 = true;
  109784. return t1;
  109785. },
  109786. get$hashCode(_) {
  109787. var t1 = this._map0$_contents;
  109788. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty20) : B.C_MapEquality.hash$1(t1);
  109789. }
  109790. };
  109791. A.global_closure43.prototype = {
  109792. call$1($arguments) {
  109793. var t1,
  109794. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  109795. if (number.hasUnit$1("%"))
  109796. 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);
  109797. else
  109798. A.warnForDeprecation0(string$.Globalm, B.Deprecation_ZDV);
  109799. t1 = number.get$numeratorUnits(number);
  109800. return A.SassNumber_SassNumber$withUnits0(Math.abs(number._number1$_value), number.get$denominatorUnits(number), t1);
  109801. },
  109802. $signature: 25
  109803. };
  109804. A.module_closure26.prototype = {
  109805. call$1(value) {
  109806. return Math.abs(value);
  109807. },
  109808. $signature: 16
  109809. };
  109810. A._ceil_closure0.prototype = {
  109811. call$1(value) {
  109812. return B.JSNumber_methods.ceil$0(value);
  109813. },
  109814. $signature: 16
  109815. };
  109816. A._clamp_closure0.prototype = {
  109817. call$1($arguments) {
  109818. var t1 = J.getInterceptor$asx($arguments),
  109819. min = t1.$index($arguments, 0).assertNumber$1("min"),
  109820. number = t1.$index($arguments, 1).assertNumber$1("number"),
  109821. max = t1.$index($arguments, 2).assertNumber$1("max");
  109822. number.convertValueToMatch$3(min, "number", "min");
  109823. max.convertValueToMatch$3(min, "max", "min");
  109824. if (min.greaterThanOrEquals$1(max).value)
  109825. return min;
  109826. if (min.greaterThanOrEquals$1(number).value)
  109827. return min;
  109828. if (number.greaterThanOrEquals$1(max).value)
  109829. return max;
  109830. return number;
  109831. },
  109832. $signature: 25
  109833. };
  109834. A._floor_closure0.prototype = {
  109835. call$1(value) {
  109836. return B.JSNumber_methods.floor$0(value);
  109837. },
  109838. $signature: 16
  109839. };
  109840. A._max_closure0.prototype = {
  109841. call$1($arguments) {
  109842. var t1, t2, max, _i, number;
  109843. 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) {
  109844. number = t1[_i].assertNumber$0();
  109845. if (max == null || max.lessThan$1(number).value)
  109846. max = number;
  109847. }
  109848. if (max != null)
  109849. return max;
  109850. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  109851. },
  109852. $signature: 25
  109853. };
  109854. A._min_closure0.prototype = {
  109855. call$1($arguments) {
  109856. var t1, t2, min, _i, number;
  109857. 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) {
  109858. number = t1[_i].assertNumber$0();
  109859. if (min == null || min.greaterThan$1(number).value)
  109860. min = number;
  109861. }
  109862. if (min != null)
  109863. return min;
  109864. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  109865. },
  109866. $signature: 25
  109867. };
  109868. A._round_closure0.prototype = {
  109869. call$1(number) {
  109870. return B.JSNumber_methods.round$0(number);
  109871. },
  109872. $signature: 16
  109873. };
  109874. A._hypot_closure0.prototype = {
  109875. call$1($arguments) {
  109876. var subtotal, i, i0, t3,
  109877. t1 = J.$index$asx($arguments, 0).get$asList(),
  109878. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
  109879. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), true, t2._eval$1("ListIterable.E"));
  109880. t1 = numbers.length;
  109881. if (t1 === 0)
  109882. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  109883. for (subtotal = 0, i = 0; i < t1; i = i0) {
  109884. i0 = i + 1;
  109885. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  109886. }
  109887. t1 = Math.sqrt(subtotal);
  109888. t2 = numbers[0];
  109889. t3 = t2.get$numeratorUnits(t2);
  109890. return A.SassNumber_SassNumber$withUnits0(t1, t2.get$denominatorUnits(t2), t3);
  109891. },
  109892. $signature: 25
  109893. };
  109894. A._hypot__closure0.prototype = {
  109895. call$1(argument) {
  109896. return argument.assertNumber$0();
  109897. },
  109898. $signature: 524
  109899. };
  109900. A._log_closure0.prototype = {
  109901. call$1($arguments) {
  109902. var base,
  109903. _s18_ = " to have no units.",
  109904. _null = null,
  109905. t1 = J.getInterceptor$asx($arguments),
  109906. number = t1.$index($arguments, 0).assertNumber$1("number");
  109907. if (number.get$hasUnits())
  109908. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_, _null));
  109909. else if (t1.$index($arguments, 1).$eq(0, B.C__SassNull0))
  109910. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), _null);
  109911. base = t1.$index($arguments, 1).assertNumber$1("base");
  109912. if (base.get$hasUnits())
  109913. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, _null));
  109914. else
  109915. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), _null);
  109916. },
  109917. $signature: 25
  109918. };
  109919. A._pow_closure0.prototype = {
  109920. call$1($arguments) {
  109921. var t1 = J.getInterceptor$asx($arguments);
  109922. return A.pow1(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  109923. },
  109924. $signature: 25
  109925. };
  109926. A._atan2_closure0.prototype = {
  109927. call$1($arguments) {
  109928. var t1 = J.getInterceptor$asx($arguments),
  109929. y = t1.$index($arguments, 0).assertNumber$1("y");
  109930. 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));
  109931. },
  109932. $signature: 25
  109933. };
  109934. A._compatible_closure0.prototype = {
  109935. call$1($arguments) {
  109936. var t1 = J.getInterceptor$asx($arguments);
  109937. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  109938. },
  109939. $signature: 11
  109940. };
  109941. A._isUnitless_closure0.prototype = {
  109942. call$1($arguments) {
  109943. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  109944. },
  109945. $signature: 11
  109946. };
  109947. A._unit_closure0.prototype = {
  109948. call$1($arguments) {
  109949. return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  109950. },
  109951. $signature: 18
  109952. };
  109953. A._percentage_closure0.prototype = {
  109954. call$1($arguments) {
  109955. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  109956. number.assertNoUnits$1("number");
  109957. return A.SassNumber_SassNumber0(number._number1$_value * 100, "%");
  109958. },
  109959. $signature: 25
  109960. };
  109961. A._randomFunction_closure0.prototype = {
  109962. call$1($arguments) {
  109963. var limit, limitScalar,
  109964. t1 = J.getInterceptor$asx($arguments);
  109965. if (t1.$index($arguments, 0).$eq(0, B.C__SassNull0))
  109966. return A.SassNumber_SassNumber0($.$get$_random2().nextDouble$0(), null);
  109967. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  109968. if (limit.get$hasUnits())
  109969. 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);
  109970. limitScalar = limit.assertInt$1("limit");
  109971. if (limitScalar < 1)
  109972. throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  109973. return A.SassNumber_SassNumber0($.$get$_random2().nextInt$1(limitScalar) + 1, null);
  109974. },
  109975. $signature: 25
  109976. };
  109977. A._div_closure0.prototype = {
  109978. call$1($arguments) {
  109979. var t1 = J.getInterceptor$asx($arguments),
  109980. number1 = t1.$index($arguments, 0),
  109981. number2 = t1.$index($arguments, 1);
  109982. if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0))
  109983. A.warn0(string$.math_d);
  109984. return number1.dividedBy$1(number2);
  109985. },
  109986. $signature: 3
  109987. };
  109988. A._singleArgumentMathFunc_closure0.prototype = {
  109989. call$1($arguments) {
  109990. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  109991. },
  109992. $signature: 25
  109993. };
  109994. A._numberFunction_closure0.prototype = {
  109995. call$1($arguments) {
  109996. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  109997. t1 = this.transform.call$1(number._number1$_value),
  109998. t2 = number.get$numeratorUnits(number);
  109999. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  110000. },
  110001. $signature: 25
  110002. };
  110003. A.CssMediaQuery0.prototype = {
  110004. merge$1(other) {
  110005. 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";
  110006. if (!_this.conjunction || !other.conjunction)
  110007. return B._SingletonCssMediaQueryMergeResult_10;
  110008. t1 = _this.modifier;
  110009. ourModifier = t1 == null ? _null : t1.toLowerCase();
  110010. t2 = _this.type;
  110011. t3 = t2 == null;
  110012. ourType = t3 ? _null : t2.toLowerCase();
  110013. t4 = other.modifier;
  110014. theirModifier = t4 == null ? _null : t4.toLowerCase();
  110015. t5 = other.type;
  110016. t6 = t5 == null;
  110017. theirType = t6 ? _null : t5.toLowerCase();
  110018. t7 = ourType == null;
  110019. if (t7 && theirType == null) {
  110020. t1 = A.List_List$of(_this.conditions, true, type$.String);
  110021. B.JSArray_methods.addAll$1(t1, other.conditions);
  110022. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$condition0(t1, true));
  110023. }
  110024. t8 = ourModifier === "not";
  110025. if (t8 !== (theirModifier === "not")) {
  110026. if (ourType == theirType) {
  110027. negativeConditions = t8 ? _this.conditions : other.conditions;
  110028. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  110029. return B._SingletonCssMediaQueryMergeResult_00;
  110030. else
  110031. return B._SingletonCssMediaQueryMergeResult_10;
  110032. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
  110033. return B._SingletonCssMediaQueryMergeResult_10;
  110034. if (t8) {
  110035. conditions = other.conditions;
  110036. type = theirType;
  110037. modifier = theirModifier;
  110038. } else {
  110039. conditions = _this.conditions;
  110040. type = ourType;
  110041. modifier = ourModifier;
  110042. }
  110043. } else if (t8) {
  110044. if (ourType != theirType)
  110045. return B._SingletonCssMediaQueryMergeResult_10;
  110046. fewerConditions = _this.conditions;
  110047. fewerConditions0 = other.conditions;
  110048. t3 = fewerConditions.length > fewerConditions0.length;
  110049. moreConditions = t3 ? fewerConditions : fewerConditions0;
  110050. if (t3)
  110051. fewerConditions = fewerConditions0;
  110052. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  110053. return B._SingletonCssMediaQueryMergeResult_10;
  110054. conditions = moreConditions;
  110055. type = ourType;
  110056. modifier = ourModifier;
  110057. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
  110058. type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
  110059. t3 = A.List_List$of(_this.conditions, true, type$.String);
  110060. B.JSArray_methods.addAll$1(t3, other.conditions);
  110061. conditions = t3;
  110062. modifier = theirModifier;
  110063. } else {
  110064. if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
  110065. t3 = A.List_List$of(_this.conditions, true, type$.String);
  110066. B.JSArray_methods.addAll$1(t3, other.conditions);
  110067. conditions = t3;
  110068. modifier = ourModifier;
  110069. } else {
  110070. if (ourType != theirType)
  110071. return B._SingletonCssMediaQueryMergeResult_00;
  110072. else {
  110073. modifier = ourModifier == null ? theirModifier : ourModifier;
  110074. t3 = A.List_List$of(_this.conditions, true, type$.String);
  110075. B.JSArray_methods.addAll$1(t3, other.conditions);
  110076. }
  110077. conditions = t3;
  110078. }
  110079. type = ourType;
  110080. }
  110081. t2 = type == ourType ? t2 : t5;
  110082. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$type0(t2, conditions, modifier == ourModifier ? t1 : t4));
  110083. },
  110084. $eq(_, other) {
  110085. if (other == null)
  110086. return false;
  110087. return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  110088. },
  110089. get$hashCode(_) {
  110090. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  110091. },
  110092. toString$0(_) {
  110093. var t2, _this = this,
  110094. t1 = _this.modifier;
  110095. t1 = t1 != null ? "" + (t1 + " ") : "";
  110096. t2 = _this.type;
  110097. if (t2 != null) {
  110098. t1 += t2;
  110099. if (_this.conditions.length !== 0)
  110100. t1 += " and ";
  110101. }
  110102. t2 = _this.conjunction ? " and " : " or ";
  110103. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  110104. return t2.charCodeAt(0) == 0 ? t2 : t2;
  110105. }
  110106. };
  110107. A._SingletonCssMediaQueryMergeResult0.prototype = {
  110108. _enumToString$0() {
  110109. return "_SingletonCssMediaQueryMergeResult." + this._name;
  110110. }
  110111. };
  110112. A.MediaQuerySuccessfulMergeResult0.prototype = {
  110113. toString$0(_) {
  110114. return this.query.toString$0(0);
  110115. }
  110116. };
  110117. A.MediaQueryParser0.prototype = {
  110118. parse$0(_) {
  110119. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
  110120. },
  110121. _media_query$_mediaQuery$0() {
  110122. var conditions, conjunction, t1, identifier1, identifier2, type, modifier, _this = this, _null = null, _s3_ = "and";
  110123. if (_this.scanner.peekChar$0() === 40) {
  110124. conditions = A._setArrayType([_this._media_query$_mediaInParens$0()], type$.JSArray_String);
  110125. _this.whitespace$1$consumeNewlines(true);
  110126. if (_this.scanIdentifier$1(_s3_)) {
  110127. _this.expectWhitespace$0();
  110128. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1(_s3_));
  110129. conjunction = true;
  110130. } else {
  110131. t1 = _this.scanIdentifier$1("or");
  110132. if (t1) {
  110133. _this.expectWhitespace$0();
  110134. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1("or"));
  110135. }
  110136. conjunction = !t1;
  110137. }
  110138. return A.CssMediaQuery$condition0(conditions, conjunction);
  110139. }
  110140. identifier1 = _this.identifier$0();
  110141. if (A.equalsIgnoreCase0(identifier1, "not")) {
  110142. _this.expectWhitespace$0();
  110143. if (!_this.lookingAtIdentifier$0())
  110144. return A.CssMediaQuery$condition0(A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), _null);
  110145. }
  110146. _this.whitespace$1$consumeNewlines(true);
  110147. if (!_this.lookingAtIdentifier$0())
  110148. return A.CssMediaQuery$type0(identifier1, _null, _null);
  110149. identifier2 = _this.identifier$0();
  110150. if (A.equalsIgnoreCase0(identifier2, _s3_)) {
  110151. _this.expectWhitespace$0();
  110152. type = identifier1;
  110153. modifier = _null;
  110154. } else {
  110155. _this.whitespace$1$consumeNewlines(true);
  110156. if (_this.scanIdentifier$1(_s3_))
  110157. _this.expectWhitespace$0();
  110158. else
  110159. return A.CssMediaQuery$type0(identifier2, _null, identifier1);
  110160. type = identifier2;
  110161. modifier = identifier1;
  110162. }
  110163. if (_this.scanIdentifier$1("not")) {
  110164. _this.expectWhitespace$0();
  110165. return A.CssMediaQuery$type0(type, A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  110166. }
  110167. return A.CssMediaQuery$type0(type, _this._media_query$_mediaLogicSequence$1(_s3_), modifier);
  110168. },
  110169. _media_query$_mediaLogicSequence$1(operator) {
  110170. var t1, t2, _this = this,
  110171. result = A._setArrayType([], type$.JSArray_String);
  110172. for (t1 = _this.scanner; true;) {
  110173. t1.expectChar$2$name(40, "media condition in parentheses");
  110174. t2 = _this.declarationValue$0();
  110175. t1.expectChar$1(41);
  110176. result.push("(" + t2 + ")");
  110177. _this.whitespace$1$consumeNewlines(true);
  110178. if (!_this.scanIdentifier$1(operator))
  110179. return result;
  110180. _this.expectWhitespace$0();
  110181. }
  110182. },
  110183. _media_query$_mediaInParens$0() {
  110184. var t2,
  110185. t1 = this.scanner;
  110186. t1.expectChar$2$name(40, "media condition in parentheses");
  110187. t2 = this.declarationValue$0();
  110188. t1.expectChar$1(41);
  110189. return "(" + t2 + ")";
  110190. }
  110191. };
  110192. A.MediaQueryParser_parse_closure0.prototype = {
  110193. call$0() {
  110194. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
  110195. t1 = this.$this,
  110196. t2 = t1.scanner;
  110197. do {
  110198. t1.whitespace$1$consumeNewlines(true);
  110199. queries.push(t1._media_query$_mediaQuery$0());
  110200. t1.whitespace$1$consumeNewlines(true);
  110201. } while (t2.scanChar$1(44));
  110202. t2.expectDone$0();
  110203. return queries;
  110204. },
  110205. $signature: 525
  110206. };
  110207. A.ModifiableCssMediaRule0.prototype = {
  110208. accept$1$1(visitor) {
  110209. return visitor.visitCssMediaRule$1(this);
  110210. },
  110211. accept$1(visitor) {
  110212. return this.accept$1$1(visitor, type$.dynamic);
  110213. },
  110214. equalsIgnoringChildren$1(other) {
  110215. return other instanceof A.ModifiableCssMediaRule0 && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  110216. },
  110217. copyWithoutChildren$0() {
  110218. return A.ModifiableCssMediaRule$0(this.queries, this.span);
  110219. },
  110220. get$span(receiver) {
  110221. return this.span;
  110222. }
  110223. };
  110224. A.MediaRule0.prototype = {
  110225. accept$1$1(visitor) {
  110226. return visitor.visitMediaRule$1(0, this);
  110227. },
  110228. accept$1(visitor) {
  110229. return this.accept$1$1(visitor, type$.dynamic);
  110230. },
  110231. toString$0(_) {
  110232. var t1 = this.children;
  110233. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  110234. },
  110235. get$span(receiver) {
  110236. return this.span;
  110237. }
  110238. };
  110239. A.MergedExtension0.prototype = {
  110240. unmerge$0() {
  110241. return new A._SyncStarIterable(this.unmerge$body$MergedExtension0(), type$._SyncStarIterable_Extension_2);
  110242. },
  110243. unmerge$body$MergedExtension0() {
  110244. var $async$self = this;
  110245. return function() {
  110246. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], right, left;
  110247. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  110248. if ($async$errorCode === 1) {
  110249. $async$errorStack.push($async$result);
  110250. $async$goto = $async$handler;
  110251. }
  110252. while (true)
  110253. switch ($async$goto) {
  110254. case 0:
  110255. // Function start
  110256. left = $async$self.left;
  110257. $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
  110258. break;
  110259. case 2:
  110260. // then
  110261. $async$goto = 5;
  110262. return $async$iterator._yieldStar$1(left.unmerge$0());
  110263. case 5:
  110264. // after yield
  110265. // goto join
  110266. $async$goto = 3;
  110267. break;
  110268. case 4:
  110269. // else
  110270. $async$goto = 6;
  110271. return $async$iterator._async$_current = left, 1;
  110272. case 6:
  110273. // after yield
  110274. case 3:
  110275. // join
  110276. right = $async$self.right;
  110277. $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
  110278. break;
  110279. case 7:
  110280. // then
  110281. $async$goto = 10;
  110282. return $async$iterator._yieldStar$1(right.unmerge$0());
  110283. case 10:
  110284. // after yield
  110285. // goto join
  110286. $async$goto = 8;
  110287. break;
  110288. case 9:
  110289. // else
  110290. $async$goto = 11;
  110291. return $async$iterator._async$_current = right, 1;
  110292. case 11:
  110293. // after yield
  110294. case 8:
  110295. // join
  110296. // implicit return
  110297. return 0;
  110298. case 1:
  110299. // rethrow
  110300. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  110301. }
  110302. };
  110303. };
  110304. }
  110305. };
  110306. A.MergedMapView0.prototype = {
  110307. get$keys(_) {
  110308. var t1 = this._merged_map_view$_mapsByKey;
  110309. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  110310. },
  110311. get$length(_) {
  110312. return this._merged_map_view$_mapsByKey.__js_helper$_length;
  110313. },
  110314. get$isEmpty(_) {
  110315. return this._merged_map_view$_mapsByKey.__js_helper$_length === 0;
  110316. },
  110317. get$isNotEmpty(_) {
  110318. return this._merged_map_view$_mapsByKey.__js_helper$_length !== 0;
  110319. },
  110320. MergedMapView$10(maps, $K, $V) {
  110321. var t1, t2, t3, _i, map, t4, t5;
  110322. for (t1 = maps.length, t2 = this._merged_map_view$_mapsByKey, t3 = $K._eval$1("@<0>")._bind$1($V)._eval$1("MergedMapView0<1,2>"), _i = 0; _i < maps.length; maps.length === t1 || (0, A.throwConcurrentModificationError)(maps), ++_i) {
  110323. map = maps[_i];
  110324. if (t3._is(map))
  110325. for (t4 = map._merged_map_view$_mapsByKey, t4 = new A.LinkedHashMapValueIterator(t4, t4.__js_helper$_modifications, t4.__js_helper$_first); t4.moveNext$0();) {
  110326. t5 = t4.__js_helper$_current;
  110327. A.setAll0(t2, t5.get$keys(t5), t5);
  110328. }
  110329. else
  110330. A.setAll0(t2, map.get$keys(map), map);
  110331. }
  110332. },
  110333. $index(_, key) {
  110334. var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  110335. return t1 == null ? null : t1.$index(0, key);
  110336. },
  110337. $indexSet(_, key, value) {
  110338. var _0_0 = this._merged_map_view$_mapsByKey.$index(0, key);
  110339. if (_0_0 != null)
  110340. _0_0.$indexSet(0, key, value);
  110341. else
  110342. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  110343. },
  110344. remove$1(_, key) {
  110345. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  110346. },
  110347. containsKey$1(key) {
  110348. return this._merged_map_view$_mapsByKey.containsKey$1(key);
  110349. }
  110350. };
  110351. A._shared_closure3.prototype = {
  110352. call$1($arguments) {
  110353. A.warnForDeprecation0(string$.The_fe, B.Deprecation_HIp);
  110354. return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110355. },
  110356. $signature: 11
  110357. };
  110358. A._shared_closure4.prototype = {
  110359. call$1($arguments) {
  110360. return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
  110361. },
  110362. $signature: 18
  110363. };
  110364. A._shared_closure5.prototype = {
  110365. call$1($arguments) {
  110366. var t1 = J.getInterceptor$asx($arguments),
  110367. _0_0 = t1.$index($arguments, 0);
  110368. $label0$0: {
  110369. if (_0_0 instanceof A.SassArgumentList0) {
  110370. t1 = "arglist";
  110371. break $label0$0;
  110372. }
  110373. if (_0_0 instanceof A.SassBoolean0) {
  110374. t1 = "bool";
  110375. break $label0$0;
  110376. }
  110377. if (_0_0 instanceof A.SassColor0) {
  110378. t1 = "color";
  110379. break $label0$0;
  110380. }
  110381. if (_0_0 instanceof A.SassList0) {
  110382. t1 = "list";
  110383. break $label0$0;
  110384. }
  110385. if (_0_0 instanceof A.SassMap0) {
  110386. t1 = "map";
  110387. break $label0$0;
  110388. }
  110389. if (B.C__SassNull0 === _0_0) {
  110390. t1 = "null";
  110391. break $label0$0;
  110392. }
  110393. if (_0_0 instanceof A.SassNumber0) {
  110394. t1 = "number";
  110395. break $label0$0;
  110396. }
  110397. if (_0_0 instanceof A.SassFunction0) {
  110398. t1 = "function";
  110399. break $label0$0;
  110400. }
  110401. if (_0_0 instanceof A.SassMixin0) {
  110402. t1 = "mixin";
  110403. break $label0$0;
  110404. }
  110405. if (_0_0 instanceof A.SassCalculation0) {
  110406. t1 = "calculation";
  110407. break $label0$0;
  110408. }
  110409. if (_0_0 instanceof A.SassString0) {
  110410. t1 = "string";
  110411. break $label0$0;
  110412. }
  110413. t1 = A.throwExpression("[BUG] Unknown value type " + t1.$index($arguments, 0).toString$0(0));
  110414. }
  110415. return new A.SassString0(t1, false);
  110416. },
  110417. $signature: 18
  110418. };
  110419. A._shared_closure6.prototype = {
  110420. call$1($arguments) {
  110421. var t2, t3, t4,
  110422. t1 = J.getInterceptor$asx($arguments),
  110423. _1_0 = t1.$index($arguments, 0);
  110424. if (_1_0 instanceof A.SassArgumentList0) {
  110425. _1_0._argument_list$_wereKeywordsAccessed = true;
  110426. t1 = type$.Value_2;
  110427. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  110428. for (t3 = A.MapExtensions_get_pairs0(_1_0._argument_list$_keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  110429. t4 = t3.get$current(t3);
  110430. t2.$indexSet(0, new A.SassString0(t4._0, false), t4._1);
  110431. }
  110432. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  110433. } else
  110434. throw A.wrapException("$args: " + t1.$index($arguments, 0).toString$0(0) + " is not an argument list.");
  110435. },
  110436. $signature: 34
  110437. };
  110438. A.moduleFunctions_closure2.prototype = {
  110439. call$1($arguments) {
  110440. return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  110441. },
  110442. $signature: 18
  110443. };
  110444. A.moduleFunctions_closure3.prototype = {
  110445. call$1($arguments) {
  110446. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  110447. return A.SassList$0(new A.MappedListIterable(t1, new A.moduleFunctions__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_qVN0, false);
  110448. },
  110449. $signature: 26
  110450. };
  110451. A.moduleFunctions__closure0.prototype = {
  110452. call$1(argument) {
  110453. return argument instanceof A.Value0 ? argument : new A.SassString0(J.toString$0$(argument), false);
  110454. },
  110455. $signature: 526
  110456. };
  110457. A.moduleFunctions_closure4.prototype = {
  110458. call$1($arguments) {
  110459. var _0_2_isSet, _0_2, acceptsContent, t1, _0_5_isSet, _0_5, hasContent,
  110460. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  110461. _0_0 = mixin.callable;
  110462. $label0$0: {
  110463. _0_2_isSet = type$.AsyncBuiltInCallable_2._is(_0_0);
  110464. if (_0_2_isSet) {
  110465. _0_2 = _0_0.get$acceptsContent();
  110466. acceptsContent = _0_2;
  110467. } else
  110468. acceptsContent = null;
  110469. if (!_0_2_isSet) {
  110470. _0_2_isSet = _0_0 instanceof A.BuiltInCallable0;
  110471. if (_0_2_isSet) {
  110472. _0_2 = _0_0.acceptsContent;
  110473. acceptsContent = _0_2;
  110474. }
  110475. t1 = _0_2_isSet;
  110476. } else
  110477. t1 = true;
  110478. if (t1) {
  110479. t1 = acceptsContent;
  110480. break $label0$0;
  110481. }
  110482. _0_5_isSet = _0_0 instanceof A.UserDefinedCallable0;
  110483. if (_0_5_isSet) {
  110484. _0_5 = _0_0.declaration;
  110485. t1 = _0_5 instanceof A.MixinRule0;
  110486. } else {
  110487. _0_5 = null;
  110488. t1 = false;
  110489. }
  110490. if (t1) {
  110491. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  110492. hasContent = type$.MixinRule_2._as(t1).get$hasContent();
  110493. t1 = hasContent;
  110494. break $label0$0;
  110495. }
  110496. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  110497. }
  110498. return t1 ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110499. },
  110500. $signature: 11
  110501. };
  110502. A.mixinClass_closure.prototype = {
  110503. call$0() {
  110504. var t1 = type$.JSClass,
  110505. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMixin", new A.mixinClass__closure()));
  110506. A.JSClassExtension_injectSuperclass(t1._as(new A.SassMixin0(A.BuiltInCallable$function0("f", "", new A.mixinClass__closure0(), null)).constructor), jsClass);
  110507. return jsClass;
  110508. },
  110509. $signature: 15
  110510. };
  110511. A.mixinClass__closure.prototype = {
  110512. call$1($self) {
  110513. A.jsThrow(new self.Error("It is not possible to construct a SassMixin through the JavaScript API"));
  110514. },
  110515. $signature: 527
  110516. };
  110517. A.mixinClass__closure0.prototype = {
  110518. call$1(_) {
  110519. return B.C__SassNull0;
  110520. },
  110521. $signature: 3
  110522. };
  110523. A.SassMixin0.prototype = {
  110524. accept$1$1(visitor) {
  110525. var t1, t2;
  110526. if (!visitor._serialize0$_inspect)
  110527. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  110528. t1 = visitor._serialize0$_buffer;
  110529. t1.write$1(0, "get-mixin(");
  110530. t2 = this.callable;
  110531. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  110532. t1.writeCharCode$1(41);
  110533. return null;
  110534. },
  110535. accept$1(visitor) {
  110536. return this.accept$1$1(visitor, type$.dynamic);
  110537. },
  110538. assertMixin$1($name) {
  110539. return this;
  110540. },
  110541. $eq(_, other) {
  110542. if (other == null)
  110543. return false;
  110544. return other instanceof A.SassMixin0 && this.callable.$eq(0, other.callable);
  110545. },
  110546. get$hashCode(_) {
  110547. var t1 = this.callable;
  110548. return t1.get$hashCode(t1);
  110549. }
  110550. };
  110551. A.MixinRule0.prototype = {
  110552. get$hasContent() {
  110553. var result, _this = this,
  110554. value = _this._mixin_rule$__MixinRule_hasContent_FI;
  110555. if (value === $) {
  110556. result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
  110557. _this._mixin_rule$__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  110558. _this._mixin_rule$__MixinRule_hasContent_FI = result;
  110559. value = result;
  110560. }
  110561. return value;
  110562. },
  110563. accept$1$1(visitor) {
  110564. return visitor.visitMixinRule$1(0, this);
  110565. },
  110566. accept$1(visitor) {
  110567. return this.accept$1$1(visitor, type$.dynamic);
  110568. },
  110569. toString$0(_) {
  110570. var t1 = "@mixin " + this.name,
  110571. t2 = this.parameters;
  110572. if (!(t2.parameters.length === 0 && t2.restParameter == null))
  110573. t1 += "(" + t2.toString$0(0) + ")";
  110574. t2 = this.children;
  110575. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  110576. return t2.charCodeAt(0) == 0 ? t2 : t2;
  110577. }
  110578. };
  110579. A._HasContentVisitor0.prototype = {
  110580. visitContentRule$1(_, _0) {
  110581. return true;
  110582. },
  110583. $isStatementVisitor: 1
  110584. };
  110585. A.__HasContentVisitor_Object_StatementSearchVisitor0.prototype = {};
  110586. A.ExtendMode0.prototype = {
  110587. _enumToString$0() {
  110588. return "ExtendMode." + this._name;
  110589. },
  110590. toString$0(_) {
  110591. return this.name;
  110592. }
  110593. };
  110594. A.JSModule0.prototype = {};
  110595. A.JSModuleRequire0.prototype = {};
  110596. A.MultiSpan0.prototype = {
  110597. get$start(_) {
  110598. var t1 = this._multi_span0$_primary;
  110599. return t1.get$start(t1);
  110600. },
  110601. get$end(_) {
  110602. var t1 = this._multi_span0$_primary;
  110603. return t1.get$end(t1);
  110604. },
  110605. get$text() {
  110606. return this._multi_span0$_primary.get$text();
  110607. },
  110608. get$context(_) {
  110609. var t1 = this._multi_span0$_primary;
  110610. return t1.get$context(t1);
  110611. },
  110612. get$file(_) {
  110613. var t1 = this._multi_span0$_primary;
  110614. return t1.get$file(t1);
  110615. },
  110616. get$length(_) {
  110617. var t1 = this._multi_span0$_primary;
  110618. return t1.get$length(t1);
  110619. },
  110620. get$sourceUrl(_) {
  110621. var t1 = this._multi_span0$_primary;
  110622. return t1.get$sourceUrl(t1);
  110623. },
  110624. compareTo$1(_, other) {
  110625. return this._multi_span0$_primary.compareTo$1(0, other);
  110626. },
  110627. toString$0(_) {
  110628. return this._multi_span0$_primary.toString$0(0);
  110629. },
  110630. expand$1(_, other) {
  110631. return new A.MultiSpan0(this._multi_span0$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  110632. },
  110633. highlight$1$color(color) {
  110634. return A.Highlighter$multiple(this._multi_span0$_primary, this.primaryLabel, this.secondarySpans, color === true, null, null).highlight$0();
  110635. },
  110636. message$2$color(_, message, color) {
  110637. var t1 = J.$eq$(color, true) || typeof color == "string",
  110638. t2 = typeof color == "string" ? color : null;
  110639. return A.SourceSpanExtension_messageMultiple(this._multi_span0$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  110640. },
  110641. message$1(_, message) {
  110642. return this.message$2$color(0, message, null);
  110643. },
  110644. $isComparable: 1,
  110645. $isFileSpan: 1,
  110646. $isSourceSpan: 1,
  110647. $isSourceSpanWithContext: 1
  110648. };
  110649. A.SupportsNegation0.prototype = {
  110650. toInterpolation$0() {
  110651. var t1 = new A.StringBuffer(""),
  110652. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  110653. t3 = this.span,
  110654. t4 = this.condition,
  110655. t5 = A.SpanExtensions_before(t3, t4.get$span(t4));
  110656. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  110657. t1._contents += t5;
  110658. t2.addInterpolation$1(t4.toInterpolation$0());
  110659. t4 = A.SpanExtensions_after(t3, t4.get$span(t4));
  110660. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  110661. t1._contents += t4;
  110662. return t2.interpolation$1(t3);
  110663. },
  110664. withSpan$1(span) {
  110665. return new A.SupportsNegation0(this.condition, span);
  110666. },
  110667. toString$0(_) {
  110668. var t1 = this.condition;
  110669. if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
  110670. return "not (" + t1.toString$0(0) + ")";
  110671. else
  110672. return "not " + t1.toString$0(0);
  110673. },
  110674. $isAstNode0: 1,
  110675. $isSassNode: 1,
  110676. $isSupportsCondition: 1,
  110677. get$span(receiver) {
  110678. return this.span;
  110679. }
  110680. };
  110681. A.NoOpImporter0.prototype = {
  110682. canonicalize$1(_, url) {
  110683. return null;
  110684. },
  110685. load$1(_, url) {
  110686. return null;
  110687. },
  110688. toString$0(_) {
  110689. return "(unknown)";
  110690. }
  110691. };
  110692. A.NoSourceMapBuffer0.prototype = {
  110693. get$length(_) {
  110694. return this._no_source_map_buffer0$_buffer._contents.length;
  110695. },
  110696. forSpan$1$2(span, callback) {
  110697. return callback.call$0();
  110698. },
  110699. forSpan$2(span, callback) {
  110700. return this.forSpan$1$2(span, callback, type$.dynamic);
  110701. },
  110702. write$1(_, object) {
  110703. var t1 = this._no_source_map_buffer0$_buffer,
  110704. t2 = A.S(object);
  110705. t1._contents += t2;
  110706. return null;
  110707. },
  110708. writeCharCode$1(charCode) {
  110709. var t1 = this._no_source_map_buffer0$_buffer,
  110710. t2 = A.Primitives_stringFromCharCode(charCode);
  110711. t1._contents += t2;
  110712. return null;
  110713. },
  110714. toString$0(_) {
  110715. var t1 = this._no_source_map_buffer0$_buffer._contents;
  110716. return t1.charCodeAt(0) == 0 ? t1 : t1;
  110717. },
  110718. buildSourceMap$1$prefix(prefix) {
  110719. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  110720. }
  110721. };
  110722. A._FakeAstNode0.prototype = {
  110723. get$span(_) {
  110724. return this._node0$_callback.call$0();
  110725. },
  110726. $isAstNode0: 1
  110727. };
  110728. A.CssNode0.prototype = {
  110729. toString$0(_) {
  110730. var _null = null;
  110731. return A.serialize0(this, true, _null, true, _null, _null, false, _null, true)._0;
  110732. },
  110733. $isAstNode0: 1
  110734. };
  110735. A.CssParentNode0.prototype = {};
  110736. A._IsInvisibleVisitor1.prototype = {
  110737. visitCssAtRule$1(rule) {
  110738. return false;
  110739. },
  110740. visitCssComment$1(comment) {
  110741. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  110742. },
  110743. visitCssStyleRule$1(rule) {
  110744. var t1 = rule._style_rule0$_selector._box0$_inner;
  110745. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true0) : t1.value.accept$1(B._IsInvisibleVisitor_false0)) || this.super$EveryCssVisitor$visitCssStyleRule0(rule);
  110746. }
  110747. };
  110748. A.__IsInvisibleVisitor_Object_EveryCssVisitor0.prototype = {};
  110749. A.ModifiableCssNode0.prototype = {
  110750. get$parent(_) {
  110751. return this._node$_parent;
  110752. },
  110753. get$hasFollowingSibling() {
  110754. var t2,
  110755. t1 = this._node$_parent;
  110756. if (t1 == null)
  110757. t1 = null;
  110758. else {
  110759. t1 = t1.children;
  110760. t2 = this._node$_indexInParent;
  110761. t2.toString;
  110762. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure0());
  110763. }
  110764. return t1 === true;
  110765. },
  110766. get$isGroupEnd() {
  110767. return this.isGroupEnd;
  110768. }
  110769. };
  110770. A.ModifiableCssNode_hasFollowingSibling_closure0.prototype = {
  110771. call$1(sibling) {
  110772. return !sibling.accept$1(B._IsInvisibleVisitor_true_false0);
  110773. },
  110774. $signature: 528
  110775. };
  110776. A.ModifiableCssParentNode0.prototype = {
  110777. get$isChildless() {
  110778. return false;
  110779. },
  110780. addChild$1(child) {
  110781. var t1;
  110782. child._node$_parent = this;
  110783. t1 = this._node$_children;
  110784. child._node$_indexInParent = t1.length;
  110785. t1.push(child);
  110786. },
  110787. clearChildren$0() {
  110788. var t1, t2, _i, child;
  110789. for (t1 = this._node$_children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  110790. child = t1[_i];
  110791. child._node$_indexInParent = child._node$_parent = null;
  110792. }
  110793. B.JSArray_methods.clear$0(t1);
  110794. },
  110795. $isCssParentNode0: 1,
  110796. get$children(receiver) {
  110797. return this.children;
  110798. }
  110799. };
  110800. A.NodePackageImporter0.prototype = {
  110801. isNonCanonicalScheme$1(scheme) {
  110802. return scheme === "pkg";
  110803. },
  110804. canonicalize$1(_, url) {
  110805. 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;
  110806. if (url.get$scheme() === "file")
  110807. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  110808. if (url.get$scheme() !== "pkg")
  110809. return _null;
  110810. if (url.get$hasAuthority())
  110811. throw A.wrapException(string$.A_pkg_h);
  110812. else {
  110813. t1 = $.$get$url();
  110814. t2 = t1.style;
  110815. if (t2.rootLength$1(url.get$path(url)) > 0)
  110816. throw A.wrapException("A pkg: URL's path must not begin with /.");
  110817. else if (url.get$path(url).length === 0)
  110818. throw A.wrapException("A pkg: URL must not have an empty path.");
  110819. else if (url.get$hasQuery() || url.get$hasFragment())
  110820. throw A.wrapException(string$.A_pkg_q);
  110821. }
  110822. t3 = A.canonicalizeContext0();
  110823. t3._canonicalize_context$_wasContainingUrlAccessed = true;
  110824. t3 = t3._canonicalize_context$_containingUrl;
  110825. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  110826. t3 = A.canonicalizeContext0();
  110827. t3._canonicalize_context$_wasContainingUrlAccessed = true;
  110828. t3 = t3._canonicalize_context$_containingUrl;
  110829. t3.toString;
  110830. t4 = $.$get$context();
  110831. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  110832. } else {
  110833. t3 = _this._node_package$__NodePackageImporter__entryPointDirectory_F;
  110834. t3 === $ && A.throwUnnamedLateFieldNI();
  110835. baseDirectory = t3;
  110836. }
  110837. packageName = null;
  110838. parts = t1.split$1(0, url.get$path(url));
  110839. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  110840. t4 = $.$get$context();
  110841. t3.toString;
  110842. t5 = t4.style;
  110843. $name = t5.pathFromUri$1(A._parseUri(t3));
  110844. if (B.JSString_methods.startsWith$1($name, "@"))
  110845. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  110846. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  110847. packageName = $name;
  110848. t1 = true;
  110849. if (!J.startsWith$1$s(packageName, "."))
  110850. if (!J.contains$1$asx(packageName, "\\"))
  110851. if (!J.contains$1$asx(packageName, "%"))
  110852. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  110853. if (t1)
  110854. return _null;
  110855. packageRoot = _this._node_package$_resolvePackageRoot$2(packageName, baseDirectory);
  110856. if (packageRoot == null)
  110857. return _null;
  110858. jsonPath = A.join(packageRoot, "package.json", _null);
  110859. jsonString = A.readFile0(jsonPath);
  110860. packageManifest = null;
  110861. try {
  110862. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  110863. } catch (exception) {
  110864. e = A.unwrapException(exception);
  110865. t1 = A.S(jsonPath);
  110866. t2 = A.S(packageName);
  110867. t3 = A.S(e);
  110868. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  110869. }
  110870. _1_0 = _this._node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  110871. if (_1_0 != null)
  110872. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  110873. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  110874. else {
  110875. t1 = subpath == null ? "root" : subpath;
  110876. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  110877. }
  110878. if (subpath == null) {
  110879. rootPath = _this._node_package$_resolvePackageRootValues$2(packageRoot, packageManifest);
  110880. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  110881. }
  110882. subpathInRoot = A.join(packageRoot, subpath, _null);
  110883. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  110884. },
  110885. load$1(_, url) {
  110886. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  110887. },
  110888. _node_package$_resolvePackageRoot$2(packageName, baseDirectory) {
  110889. var potentialPackage, t1;
  110890. for (; true;) {
  110891. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  110892. if (A.dirExists0(potentialPackage))
  110893. return potentialPackage;
  110894. t1 = $.$get$context();
  110895. if (t1.split$1(0, baseDirectory).length === 1)
  110896. return null;
  110897. baseDirectory = t1.dirname$1(baseDirectory);
  110898. }
  110899. },
  110900. _node_package$_resolvePackageRootValues$2(packageRoot, packageManifest) {
  110901. var t1, sassValue, _1_0, styleValue, _null = null,
  110902. _0_0 = packageManifest.$index(0, "sass");
  110903. if (typeof _0_0 == "string") {
  110904. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  110905. sassValue = _0_0;
  110906. } else {
  110907. sassValue = _null;
  110908. t1 = false;
  110909. }
  110910. if (t1)
  110911. return A.join(packageRoot, sassValue, _null);
  110912. else {
  110913. _1_0 = packageManifest.$index(0, "style");
  110914. if (typeof _1_0 == "string") {
  110915. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  110916. styleValue = _1_0;
  110917. } else {
  110918. styleValue = _null;
  110919. t1 = false;
  110920. }
  110921. if (t1)
  110922. return A.join(packageRoot, styleValue, _null);
  110923. }
  110924. return A.resolveImportPath0(A.join(packageRoot, "index", _null));
  110925. },
  110926. _node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  110927. var _0_0, _1_0, _this = this,
  110928. exports = packageManifest.$index(0, "exports");
  110929. if (exports == null)
  110930. return null;
  110931. _0_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$1(subpath), exports, subpath, packageName);
  110932. if (_0_0 != null)
  110933. return _0_0;
  110934. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  110935. return null;
  110936. _1_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  110937. if (_1_0 != null)
  110938. return _1_0;
  110939. return null;
  110940. },
  110941. _node_package$_nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  110942. var t1, matches, _1_1, path;
  110943. if (type$.Map_String_dynamic._is(exports) && J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure3()) && J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure4()))
  110944. throw A.wrapException("`exports` in " + packageName + string$.x20can_n + J.map$1$1$ax(J.get$keys$z(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure5(), type$.String).join$1(0, ",") + " in " + A.join(packageRoot, "package.json", null) + ".");
  110945. t1 = type$.NonNullsIterable_String;
  110946. matches = A.List_List$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), true, t1._eval$1("Iterable.E"));
  110947. $label0$1: {
  110948. _1_1 = matches.length;
  110949. if (_1_1 === 1) {
  110950. path = matches[0];
  110951. t1 = path;
  110952. break $label0$1;
  110953. }
  110954. if (_1_1 <= 0) {
  110955. t1 = null;
  110956. break $label0$1;
  110957. }
  110958. t1 = subpath == null ? "root" : subpath;
  110959. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  110960. }
  110961. return t1;
  110962. },
  110963. _node_package$_compareExpansionKeys$2(keyA, keyB) {
  110964. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  110965. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  110966. t2 = B.JSString_methods.contains$1(keyB, "*"),
  110967. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  110968. if (baseLengthA > baseLengthB)
  110969. return -1;
  110970. if (baseLengthB > baseLengthA)
  110971. return 1;
  110972. if (!t1)
  110973. return 1;
  110974. if (!t2)
  110975. return -1;
  110976. t1 = keyA.length;
  110977. t2 = keyB.length;
  110978. if (t1 > t2)
  110979. return -1;
  110980. if (t2 > t1)
  110981. return 1;
  110982. return 0;
  110983. },
  110984. _node_package$_packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  110985. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  110986. t1 = typeof exports == "string";
  110987. if (t1) {
  110988. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  110989. string = exports;
  110990. } else {
  110991. string = _null;
  110992. t2 = false;
  110993. }
  110994. if (t2)
  110995. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  110996. if (t1) {
  110997. t2 = patternMatch != null;
  110998. string = exports;
  110999. } else {
  111000. string = _null;
  111001. t2 = false;
  111002. }
  111003. if (t2) {
  111004. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  111005. t2 = $.$get$context();
  111006. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  111007. return A.fileExists0(path) ? path : _null;
  111008. }
  111009. string = t1 ? exports : _null;
  111010. if (t1) {
  111011. t1 = $.$get$context();
  111012. string.toString;
  111013. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  111014. }
  111015. t1 = type$.Map_String_dynamic._is(exports);
  111016. map = t1 ? exports : _null;
  111017. if (t1) {
  111018. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  111019. t2 = t1.get$current(t1);
  111020. key = t2._0;
  111021. value = t2._1;
  111022. if (!B.Set_8229z.contains$1(0, key))
  111023. continue;
  111024. if (value == null)
  111025. continue;
  111026. _1_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  111027. if (_1_0 != null)
  111028. return _1_0;
  111029. }
  111030. return _null;
  111031. }
  111032. if (type$.List_nullable_Object._is(exports) && J.get$length$asx(exports) <= 0)
  111033. return _null;
  111034. t1 = type$.List_dynamic._is(exports);
  111035. array = t1 ? exports : _null;
  111036. if (t1) {
  111037. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  111038. value = t1.get$current(t1);
  111039. if (value == null)
  111040. continue;
  111041. _2_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  111042. if (_2_0 != null)
  111043. return _2_0;
  111044. }
  111045. return _null;
  111046. }
  111047. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  111048. },
  111049. _node_package$_packageTargetResolve$3(subpath, exports, packageRoot) {
  111050. return this._node_package$_packageTargetResolve$4(subpath, exports, packageRoot, null);
  111051. },
  111052. _node_package$_getMainExport$1(exports) {
  111053. var t1, t2, t3, map, _0_4, t4, $export;
  111054. $label0$0: {
  111055. t1 = null;
  111056. if (typeof exports == "string") {
  111057. t1 = exports;
  111058. break $label0$0;
  111059. }
  111060. if (type$.List_String._is(exports)) {
  111061. t1 = exports;
  111062. break $label0$0;
  111063. }
  111064. t2 = type$.Map_String_dynamic._is(exports);
  111065. if (t2) {
  111066. t3 = !J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__getMainExport_closure0());
  111067. map = exports;
  111068. } else {
  111069. map = t1;
  111070. t3 = false;
  111071. }
  111072. if (t3) {
  111073. t1 = map;
  111074. break $label0$0;
  111075. }
  111076. t3 = false;
  111077. if (t2) {
  111078. _0_4 = exports.$index(0, ".");
  111079. if (_0_4 == null)
  111080. t4 = exports.containsKey$1(".");
  111081. else
  111082. t4 = true;
  111083. if (t4)
  111084. t3 = _0_4 != null;
  111085. } else
  111086. _0_4 = null;
  111087. if (t3) {
  111088. $export = t2 ? _0_4 : J.$index$asx(exports, ".");
  111089. t1 = $export;
  111090. break $label0$0;
  111091. }
  111092. break $label0$0;
  111093. }
  111094. return t1;
  111095. },
  111096. _node_package$_exportsToCheck$2$addIndex(subpath, addIndex) {
  111097. var basename, dirname, t3, t4, _i, path,
  111098. t1 = type$.JSArray_String,
  111099. paths = A._setArrayType([], t1),
  111100. t2 = subpath == null;
  111101. if (t2 && addIndex)
  111102. subpath = "index";
  111103. else if (!t2 && addIndex)
  111104. subpath = A.join(subpath, "index", null);
  111105. if (subpath == null)
  111106. return A._setArrayType([null], type$.JSArray_nullable_String);
  111107. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  111108. paths.push(subpath);
  111109. else
  111110. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath, subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  111111. t1 = $.$get$context();
  111112. t2 = t1.style;
  111113. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  111114. dirname = t1.dirname$1(subpath);
  111115. if (B.JSString_methods.startsWith$1(basename, "_"))
  111116. return paths;
  111117. t1 = A.List_List$of(paths, true, type$.nullable_String);
  111118. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  111119. path = paths[_i];
  111120. if (t4)
  111121. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  111122. else
  111123. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  111124. }
  111125. return t1;
  111126. },
  111127. _node_package$_exportsToCheck$1(subpath) {
  111128. return this._node_package$_exportsToCheck$2$addIndex(subpath, false);
  111129. }
  111130. };
  111131. A.NodePackageImporter__nodePackageExportsResolve_closure3.prototype = {
  111132. call$1(key) {
  111133. return B.JSString_methods.startsWith$1(key, ".");
  111134. },
  111135. $signature: 5
  111136. };
  111137. A.NodePackageImporter__nodePackageExportsResolve_closure4.prototype = {
  111138. call$1(key) {
  111139. return !B.JSString_methods.startsWith$1(key, ".");
  111140. },
  111141. $signature: 5
  111142. };
  111143. A.NodePackageImporter__nodePackageExportsResolve_closure5.prototype = {
  111144. call$1(key) {
  111145. return '"' + key + '"';
  111146. },
  111147. $signature: 6
  111148. };
  111149. A.NodePackageImporter__nodePackageExportsResolve_closure6.prototype = {
  111150. call$1(variant) {
  111151. var t1, matchKey, t2, t3, t4, t5, t6, _i, expansionKey, _0_0, t7, patternBase, patternTrailer, t8, target, _this = this, _null = null;
  111152. if (variant == null) {
  111153. t1 = _this.$this;
  111154. return A.NullableExtension_andThen(t1._node_package$_getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure1(t1, variant, _this.packageRoot));
  111155. } else {
  111156. t1 = _this.exports;
  111157. if (!type$.Map_String_dynamic._is(t1) || J.every$1$ax(t1.get$keys(t1), new A.NodePackageImporter__nodePackageExportsResolve__closure2()))
  111158. return _null;
  111159. }
  111160. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  111161. if (t1.containsKey$1(matchKey) && J.$index$asx(t1, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  111162. t1 = J.$index$asx(t1, matchKey);
  111163. if (t1 == null)
  111164. t1 = type$.Object._as(t1);
  111165. return _this.$this._node_package$_packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  111166. }
  111167. t2 = A._setArrayType([], type$.JSArray_String);
  111168. for (t3 = J.getInterceptor$z(t1), t4 = J.get$iterator$ax(t3.get$keys(t1)); t4.moveNext$0();) {
  111169. t5 = t4.get$current(t4);
  111170. if (B.JSString_methods.allMatches$1("*", t5).get$length(0) === 1)
  111171. t2.push(t5);
  111172. }
  111173. t4 = _this.$this;
  111174. B.JSArray_methods.sort$1(t2, t4.get$_node_package$_compareExpansionKeys());
  111175. for (t5 = t2.length, t6 = matchKey.length, _i = 0; _i < t2.length; t2.length === t5 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  111176. expansionKey = t2[_i];
  111177. _0_0 = expansionKey.split("*");
  111178. t7 = _0_0.length === 2;
  111179. if (t7) {
  111180. patternBase = _0_0[0];
  111181. patternTrailer = _0_0[1];
  111182. } else {
  111183. patternTrailer = _null;
  111184. patternBase = patternTrailer;
  111185. }
  111186. if (!t7)
  111187. throw A.wrapException(A.StateError$("Pattern matching error"));
  111188. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  111189. continue;
  111190. if (matchKey === patternBase)
  111191. continue;
  111192. t7 = patternTrailer.length;
  111193. if (t7 !== 0)
  111194. t8 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t6 >= expansionKey.length;
  111195. else
  111196. t8 = true;
  111197. if (t8) {
  111198. target = t3.$index(t1, expansionKey);
  111199. if (target == null)
  111200. continue;
  111201. return t4._node_package$_packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t6 - t7));
  111202. }
  111203. }
  111204. return _null;
  111205. },
  111206. $signature: 147
  111207. };
  111208. A.NodePackageImporter__nodePackageExportsResolve__closure1.prototype = {
  111209. call$1(mainExport) {
  111210. return this.$this._node_package$_packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  111211. },
  111212. $signature: 148
  111213. };
  111214. A.NodePackageImporter__nodePackageExportsResolve__closure2.prototype = {
  111215. call$1(key) {
  111216. return !B.JSString_methods.startsWith$1(key, ".");
  111217. },
  111218. $signature: 5
  111219. };
  111220. A.NodePackageImporter__getMainExport_closure0.prototype = {
  111221. call$1(key) {
  111222. return B.JSString_methods.startsWith$1(key, ".");
  111223. },
  111224. $signature: 5
  111225. };
  111226. A.NullExpression0.prototype = {
  111227. accept$1$1(visitor) {
  111228. return visitor.visitNullExpression$1(0, this);
  111229. },
  111230. accept$1(visitor) {
  111231. return this.accept$1$1(visitor, type$.dynamic);
  111232. },
  111233. toString$0(_) {
  111234. return "null";
  111235. },
  111236. get$span(receiver) {
  111237. return this.span;
  111238. }
  111239. };
  111240. A.legacyNullClass_closure.prototype = {
  111241. call$0() {
  111242. var t1 = type$.JSClass,
  111243. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
  111244. jsClass.NULL = B.C__SassNull0;
  111245. A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
  111246. return jsClass;
  111247. },
  111248. $signature: 15
  111249. };
  111250. A.legacyNullClass__closure.prototype = {
  111251. call$2(_, __) {
  111252. throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
  111253. },
  111254. call$1(_) {
  111255. return this.call$2(_, null);
  111256. },
  111257. "call*": "call$2",
  111258. $requiredArgCount: 1,
  111259. $defaultValues() {
  111260. return [null];
  111261. },
  111262. $signature: 221
  111263. };
  111264. A._SassNull0.prototype = {
  111265. get$isTruthy() {
  111266. return false;
  111267. },
  111268. get$isBlank() {
  111269. return true;
  111270. },
  111271. get$realNull() {
  111272. return null;
  111273. },
  111274. accept$1$1(visitor) {
  111275. if (visitor._serialize0$_inspect)
  111276. visitor._serialize0$_buffer.write$1(0, "null");
  111277. return null;
  111278. },
  111279. accept$1(visitor) {
  111280. return this.accept$1$1(visitor, type$.dynamic);
  111281. },
  111282. unaryNot$0() {
  111283. return B.SassBoolean_true0;
  111284. }
  111285. };
  111286. A.NumberExpression0.prototype = {
  111287. accept$1$1(visitor) {
  111288. return visitor.visitNumberExpression$1(0, this);
  111289. },
  111290. accept$1(visitor) {
  111291. return this.accept$1$1(visitor, type$.dynamic);
  111292. },
  111293. toString$0(_) {
  111294. return A.serializeValue0(A.SassNumber_SassNumber0(this.value, this.unit), true, true);
  111295. },
  111296. get$span(receiver) {
  111297. return this.span;
  111298. }
  111299. };
  111300. A.numberClass_closure.prototype = {
  111301. call$0() {
  111302. var t1 = type$.JSClass,
  111303. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
  111304. t2 = type$.String,
  111305. t3 = type$.Function;
  111306. 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));
  111307. 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));
  111308. A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(A.SassNumber_SassNumber0(0, null).constructor))).constructor), jsClass);
  111309. return jsClass;
  111310. },
  111311. $signature: 15
  111312. };
  111313. A.numberClass__closure.prototype = {
  111314. call$3($self, value, unitOrOptions) {
  111315. var t1, t2, _null = null;
  111316. if (typeof unitOrOptions == "string")
  111317. return A.SassNumber_SassNumber0(value, unitOrOptions);
  111318. type$.nullable__ConstructorOptions_2._as(unitOrOptions);
  111319. t1 = unitOrOptions == null;
  111320. if (t1)
  111321. t2 = _null;
  111322. else {
  111323. t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  111324. t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
  111325. }
  111326. if (t1)
  111327. t1 = _null;
  111328. else {
  111329. t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  111330. t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
  111331. }
  111332. return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
  111333. },
  111334. call$2($self, value) {
  111335. return this.call$3($self, value, null);
  111336. },
  111337. "call*": "call$3",
  111338. $requiredArgCount: 2,
  111339. $defaultValues() {
  111340. return [null];
  111341. },
  111342. $signature: 529
  111343. };
  111344. A.numberClass__closure0.prototype = {
  111345. call$1($self) {
  111346. return $self._number1$_value;
  111347. },
  111348. $signature: 94
  111349. };
  111350. A.numberClass__closure1.prototype = {
  111351. call$1($self) {
  111352. return A.fuzzyIsInt0($self._number1$_value);
  111353. },
  111354. $signature: 238
  111355. };
  111356. A.numberClass__closure2.prototype = {
  111357. call$1($self) {
  111358. return A.fuzzyAsInt0($self._number1$_value);
  111359. },
  111360. $signature: 531
  111361. };
  111362. A.numberClass__closure3.prototype = {
  111363. call$1($self) {
  111364. return new self.immutable.List($self.get$numeratorUnits($self));
  111365. },
  111366. $signature: 237
  111367. };
  111368. A.numberClass__closure4.prototype = {
  111369. call$1($self) {
  111370. return new self.immutable.List($self.get$denominatorUnits($self));
  111371. },
  111372. $signature: 237
  111373. };
  111374. A.numberClass__closure5.prototype = {
  111375. call$1($self) {
  111376. return $self.get$hasUnits();
  111377. },
  111378. $signature: 238
  111379. };
  111380. A.numberClass__closure6.prototype = {
  111381. call$2($self, $name) {
  111382. return $self.assertInt$1($name);
  111383. },
  111384. call$1($self) {
  111385. return this.call$2($self, null);
  111386. },
  111387. "call*": "call$2",
  111388. $requiredArgCount: 1,
  111389. $defaultValues() {
  111390. return [null];
  111391. },
  111392. $signature: 533
  111393. };
  111394. A.numberClass__closure7.prototype = {
  111395. call$4($self, min, max, $name) {
  111396. return $self.valueInRange$3(min, max, $name);
  111397. },
  111398. call$3($self, min, max) {
  111399. return this.call$4($self, min, max, null);
  111400. },
  111401. "call*": "call$4",
  111402. $requiredArgCount: 3,
  111403. $defaultValues() {
  111404. return [null];
  111405. },
  111406. $signature: 534
  111407. };
  111408. A.numberClass__closure8.prototype = {
  111409. call$2($self, $name) {
  111410. $self.assertNoUnits$1($name);
  111411. return $self;
  111412. },
  111413. call$1($self) {
  111414. return this.call$2($self, null);
  111415. },
  111416. "call*": "call$2",
  111417. $requiredArgCount: 1,
  111418. $defaultValues() {
  111419. return [null];
  111420. },
  111421. $signature: 535
  111422. };
  111423. A.numberClass__closure9.prototype = {
  111424. call$3($self, unit, $name) {
  111425. $self.assertUnit$2(unit, $name);
  111426. return $self;
  111427. },
  111428. call$2($self, unit) {
  111429. return this.call$3($self, unit, null);
  111430. },
  111431. "call*": "call$3",
  111432. $requiredArgCount: 2,
  111433. $defaultValues() {
  111434. return [null];
  111435. },
  111436. $signature: 536
  111437. };
  111438. A.numberClass__closure10.prototype = {
  111439. call$2($self, unit) {
  111440. return $self.hasUnit$1(unit);
  111441. },
  111442. $signature: 235
  111443. };
  111444. A.numberClass__closure11.prototype = {
  111445. call$2($self, unit) {
  111446. return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
  111447. },
  111448. $signature: 235
  111449. };
  111450. A.numberClass__closure12.prototype = {
  111451. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111452. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111453. t2 = type$.String;
  111454. t1 = J.cast$1$0$ax(t1, t2);
  111455. t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
  111456. return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
  111457. },
  111458. call$3($self, numeratorUnits, denominatorUnits) {
  111459. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111460. },
  111461. "call*": "call$4",
  111462. $requiredArgCount: 3,
  111463. $defaultValues() {
  111464. return [null];
  111465. },
  111466. $signature: 233
  111467. };
  111468. A.numberClass__closure13.prototype = {
  111469. call$4($self, other, $name, otherName) {
  111470. return $self.convertToMatch$3(other, $name, otherName);
  111471. },
  111472. call$2($self, other) {
  111473. return this.call$4($self, other, null, null);
  111474. },
  111475. call$3($self, other, $name) {
  111476. return this.call$4($self, other, $name, null);
  111477. },
  111478. "call*": "call$4",
  111479. $requiredArgCount: 2,
  111480. $defaultValues() {
  111481. return [null, null];
  111482. },
  111483. $signature: 228
  111484. };
  111485. A.numberClass__closure14.prototype = {
  111486. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111487. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111488. t2 = type$.String;
  111489. t1 = J.cast$1$0$ax(t1, t2);
  111490. 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);
  111491. },
  111492. call$3($self, numeratorUnits, denominatorUnits) {
  111493. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111494. },
  111495. "call*": "call$4",
  111496. $requiredArgCount: 3,
  111497. $defaultValues() {
  111498. return [null];
  111499. },
  111500. $signature: 226
  111501. };
  111502. A.numberClass__closure15.prototype = {
  111503. call$4($self, other, $name, otherName) {
  111504. return $self.convertValueToMatch$3(other, $name, otherName);
  111505. },
  111506. call$2($self, other) {
  111507. return this.call$4($self, other, null, null);
  111508. },
  111509. call$3($self, other, $name) {
  111510. return this.call$4($self, other, $name, null);
  111511. },
  111512. "call*": "call$4",
  111513. $requiredArgCount: 2,
  111514. $defaultValues() {
  111515. return [null, null];
  111516. },
  111517. $signature: 224
  111518. };
  111519. A.numberClass__closure16.prototype = {
  111520. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111521. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111522. t2 = type$.String;
  111523. t1 = J.cast$1$0$ax(t1, t2);
  111524. 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);
  111525. },
  111526. call$3($self, numeratorUnits, denominatorUnits) {
  111527. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111528. },
  111529. "call*": "call$4",
  111530. $requiredArgCount: 3,
  111531. $defaultValues() {
  111532. return [null];
  111533. },
  111534. $signature: 233
  111535. };
  111536. A.numberClass__closure17.prototype = {
  111537. call$4($self, other, $name, otherName) {
  111538. return $self.coerceToMatch$3(other, $name, otherName);
  111539. },
  111540. call$2($self, other) {
  111541. return this.call$4($self, other, null, null);
  111542. },
  111543. call$3($self, other, $name) {
  111544. return this.call$4($self, other, $name, null);
  111545. },
  111546. "call*": "call$4",
  111547. $requiredArgCount: 2,
  111548. $defaultValues() {
  111549. return [null, null];
  111550. },
  111551. $signature: 228
  111552. };
  111553. A.numberClass__closure18.prototype = {
  111554. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111555. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111556. t2 = type$.String;
  111557. t1 = J.cast$1$0$ax(t1, t2);
  111558. 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);
  111559. },
  111560. call$3($self, numeratorUnits, denominatorUnits) {
  111561. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111562. },
  111563. "call*": "call$4",
  111564. $requiredArgCount: 3,
  111565. $defaultValues() {
  111566. return [null];
  111567. },
  111568. $signature: 226
  111569. };
  111570. A.numberClass__closure19.prototype = {
  111571. call$4($self, other, $name, otherName) {
  111572. return $self.coerceValueToMatch$3(other, $name, otherName);
  111573. },
  111574. call$2($self, other) {
  111575. return this.call$4($self, other, null, null);
  111576. },
  111577. call$3($self, other, $name) {
  111578. return this.call$4($self, other, $name, null);
  111579. },
  111580. "call*": "call$4",
  111581. $requiredArgCount: 2,
  111582. $defaultValues() {
  111583. return [null, null];
  111584. },
  111585. $signature: 224
  111586. };
  111587. A._ConstructorOptions0.prototype = {};
  111588. A._NodeSassNumber.prototype = {};
  111589. A.legacyNumberClass_closure.prototype = {
  111590. call$4(thisArg, value, unit, dartValue) {
  111591. var t1;
  111592. if (dartValue == null) {
  111593. value.toString;
  111594. t1 = A._parseNumber(value, unit);
  111595. } else
  111596. t1 = dartValue;
  111597. J.set$dartValue$x(thisArg, t1);
  111598. },
  111599. call$2(thisArg, value) {
  111600. return this.call$4(thisArg, value, null, null);
  111601. },
  111602. call$3(thisArg, value, unit) {
  111603. return this.call$4(thisArg, value, unit, null);
  111604. },
  111605. "call*": "call$4",
  111606. $requiredArgCount: 2,
  111607. $defaultValues() {
  111608. return [null, null];
  111609. },
  111610. $signature: 542
  111611. };
  111612. A.legacyNumberClass_closure0.prototype = {
  111613. call$1(thisArg) {
  111614. return J.get$dartValue$x(thisArg)._number1$_value;
  111615. },
  111616. $signature: 543
  111617. };
  111618. A.legacyNumberClass_closure1.prototype = {
  111619. call$2(thisArg, value) {
  111620. var t1 = J.getInterceptor$x(thisArg),
  111621. t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
  111622. t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
  111623. },
  111624. $signature: 544
  111625. };
  111626. A.legacyNumberClass_closure2.prototype = {
  111627. call$1(thisArg) {
  111628. var t1 = J.getInterceptor$x(thisArg),
  111629. t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*"),
  111630. t3 = J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/";
  111631. return t2 + t3 + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
  111632. },
  111633. $signature: 545
  111634. };
  111635. A.legacyNumberClass_closure3.prototype = {
  111636. call$2(thisArg, unit) {
  111637. var t1 = J.getInterceptor$x(thisArg);
  111638. t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
  111639. },
  111640. $signature: 546
  111641. };
  111642. A._parseNumber_closure.prototype = {
  111643. call$1(unit) {
  111644. return unit.length === 0;
  111645. },
  111646. $signature: 5
  111647. };
  111648. A._parseNumber_closure0.prototype = {
  111649. call$1(unit) {
  111650. return unit.length === 0;
  111651. },
  111652. $signature: 5
  111653. };
  111654. A.SassNumber0.prototype = {
  111655. get$unitString() {
  111656. var _this = this;
  111657. return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  111658. },
  111659. accept$1$1(visitor) {
  111660. return visitor.visitNumber$1(this);
  111661. },
  111662. accept$1(visitor) {
  111663. return this.accept$1$1(visitor, type$.dynamic);
  111664. },
  111665. withoutSlash$0() {
  111666. var _this = this;
  111667. return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
  111668. },
  111669. assertNumber$1($name) {
  111670. return this;
  111671. },
  111672. assertNumber$0() {
  111673. return this.assertNumber$1(null);
  111674. },
  111675. assertInt$1($name) {
  111676. var _0_0 = A.fuzzyAsInt0(this._number1$_value);
  111677. if (_0_0 != null)
  111678. return _0_0;
  111679. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " is not an int.", $name));
  111680. },
  111681. assertInt$0() {
  111682. return this.assertInt$1(null);
  111683. },
  111684. valueInRange$3(min, max, $name) {
  111685. var _this = this,
  111686. _0_0 = A.fuzzyCheckRange0(_this._number1$_value, min, max);
  111687. if (_0_0 != null)
  111688. return _0_0;
  111689. 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));
  111690. },
  111691. valueInRangeWithUnit$4(min, max, $name, unit) {
  111692. var _0_0 = A.fuzzyCheckRange0(this._number1$_value, min, max);
  111693. if (_0_0 != null)
  111694. return _0_0;
  111695. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  111696. },
  111697. hasCompatibleUnits$1(other) {
  111698. var _this = this;
  111699. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  111700. return false;
  111701. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  111702. return false;
  111703. return _this.isComparableTo$1(other);
  111704. },
  111705. assertUnit$2(unit, $name) {
  111706. if (this.hasUnit$1(unit))
  111707. return;
  111708. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  111709. },
  111710. assertNoUnits$1($name) {
  111711. if (!this.get$hasUnits())
  111712. return;
  111713. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to have no units.", $name));
  111714. },
  111715. assertNoUnits$0() {
  111716. return this.assertNoUnits$1(null);
  111717. },
  111718. convertToMatch$3(other, $name, otherName) {
  111719. var t1 = this.convertValueToMatch$3(other, $name, otherName),
  111720. t2 = other.get$numeratorUnits(other);
  111721. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  111722. },
  111723. convertValueToMatch$3(other, $name, otherName) {
  111724. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  111725. },
  111726. convertValueToMatch$1(other) {
  111727. return this.convertValueToMatch$3(other, null, null);
  111728. },
  111729. coerce$3(newNumerators, newDenominators, $name) {
  111730. return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  111731. },
  111732. coerce$2(newNumerators, newDenominators) {
  111733. return this.coerce$3(newNumerators, newDenominators, null);
  111734. },
  111735. coerceValue$3(newNumerators, newDenominators, $name) {
  111736. return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  111737. },
  111738. coerceValueToUnit$2(unit, $name) {
  111739. var t1 = type$.JSArray_String;
  111740. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  111741. },
  111742. coerceValueToUnit$1(unit) {
  111743. return this.coerceValueToUnit$2(unit, null);
  111744. },
  111745. coerceToMatch$3(other, $name, otherName) {
  111746. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  111747. t2 = other.get$numeratorUnits(other);
  111748. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  111749. },
  111750. coerceValueToMatch$3(other, $name, otherName) {
  111751. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  111752. },
  111753. coerceValueToMatch$1(other) {
  111754. return this.coerceValueToMatch$3(other, null, null);
  111755. },
  111756. _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  111757. var t1, otherHasUnits, t2, compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
  111758. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  111759. return _this._number1$_value;
  111760. t1 = J.getInterceptor$asx(newNumerators);
  111761. otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
  111762. if (coerceUnitless)
  111763. t2 = !_this.get$hasUnits() || !otherHasUnits;
  111764. else
  111765. t2 = false;
  111766. if (t2)
  111767. return _this._number1$_value;
  111768. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  111769. _box_0.value = _this._number1$_value;
  111770. t2 = _this.get$numeratorUnits(_this);
  111771. oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  111772. for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
  111773. A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(compatibilityException));
  111774. t1 = _this.get$denominatorUnits(_this);
  111775. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  111776. for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
  111777. A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(compatibilityException));
  111778. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  111779. throw A.wrapException(compatibilityException.call$0());
  111780. return _box_0.value;
  111781. },
  111782. _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  111783. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  111784. },
  111785. isComparableTo$1(other) {
  111786. var exception;
  111787. if (!this.get$hasUnits() || !other.get$hasUnits())
  111788. return true;
  111789. try {
  111790. this.greaterThan$1(other);
  111791. return true;
  111792. } catch (exception) {
  111793. if (A.unwrapException(exception) instanceof A.SassScriptException0)
  111794. return false;
  111795. else
  111796. throw exception;
  111797. }
  111798. },
  111799. greaterThan$1(other) {
  111800. if (other instanceof A.SassNumber0)
  111801. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  111802. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  111803. },
  111804. greaterThanOrEquals$1(other) {
  111805. if (other instanceof A.SassNumber0)
  111806. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  111807. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  111808. },
  111809. lessThan$1(other) {
  111810. if (other instanceof A.SassNumber0)
  111811. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  111812. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  111813. },
  111814. lessThanOrEquals$1(other) {
  111815. if (other instanceof A.SassNumber0)
  111816. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  111817. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  111818. },
  111819. modulo$1(other) {
  111820. if (other instanceof A.SassNumber0)
  111821. return this.withValue$1(this._number1$_coerceUnits$2(other, A.number2__moduloLikeSass$closure()));
  111822. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  111823. },
  111824. plus$1(other) {
  111825. var _this = this;
  111826. if (other instanceof A.SassNumber0)
  111827. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
  111828. if (!(other instanceof A.SassColor0))
  111829. return _this.super$Value$plus0(other);
  111830. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  111831. },
  111832. minus$1(other) {
  111833. var _this = this;
  111834. if (other instanceof A.SassNumber0)
  111835. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
  111836. if (!(other instanceof A.SassColor0))
  111837. return _this.super$Value$minus0(other);
  111838. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  111839. },
  111840. times$1(other) {
  111841. var _this = this;
  111842. if (other instanceof A.SassNumber0) {
  111843. if (!other.get$hasUnits())
  111844. return _this.withValue$1(_this._number1$_value * other._number1$_value);
  111845. return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  111846. }
  111847. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  111848. },
  111849. dividedBy$1(other) {
  111850. var _this = this;
  111851. if (other instanceof A.SassNumber0) {
  111852. if (!other.get$hasUnits())
  111853. return _this.withValue$1(_this._number1$_value / other._number1$_value);
  111854. return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  111855. }
  111856. return _this.super$Value$dividedBy0(other);
  111857. },
  111858. unaryPlus$0() {
  111859. return this;
  111860. },
  111861. _number1$_coerceUnits$1$2(other, operation) {
  111862. var t1, exception;
  111863. try {
  111864. t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
  111865. return t1;
  111866. } catch (exception) {
  111867. if (A.unwrapException(exception) instanceof A.SassScriptException0) {
  111868. this.coerceValueToMatch$1(other);
  111869. throw exception;
  111870. } else
  111871. throw exception;
  111872. }
  111873. },
  111874. _number1$_coerceUnits$2(other, operation) {
  111875. return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
  111876. },
  111877. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  111878. 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_11, _0_13, _0_13_isSet, _0_10, numerators_case_0, t4, t3, t5, t6, t7, numerators_case_1, denominators_case_1, t0, newNumerators, mutableOtherDenominators, _i, numerator, mutableDenominatorUnits, _this = this, _null = null, _box_0 = {};
  111879. _box_0.value = value;
  111880. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  111881. _0_1 = t1[0];
  111882. _0_6 = _null;
  111883. _0_3 = _null;
  111884. _0_9 = _null;
  111885. _0_9_isSet = false;
  111886. _0_7 = _null;
  111887. _0_7_isSet = false;
  111888. t2 = false;
  111889. _0_2 = t1[1];
  111890. _0_3 = t1[2];
  111891. _0_6 = _0_3.length <= 0;
  111892. _0_7_isSet = _0_6;
  111893. if (_0_7_isSet) {
  111894. _0_7 = t1[3];
  111895. _0_9 = _0_7.length <= 0;
  111896. t2 = _0_9;
  111897. }
  111898. _0_9_isSet = _0_7_isSet;
  111899. denominators_case_0 = _0_2;
  111900. _0_11_isSet = !t2;
  111901. _0_11 = _null;
  111902. _0_13 = _null;
  111903. if (_0_11_isSet) {
  111904. _0_11 = _0_1.length <= 0;
  111905. _0_13_isSet = _0_11;
  111906. _0_10 = _0_1;
  111907. if (_0_13_isSet) {
  111908. _0_13 = _0_2.length <= 0;
  111909. t2 = _0_13;
  111910. if (t2) {
  111911. if (_0_7_isSet)
  111912. denominators_case_0 = _0_7;
  111913. else {
  111914. _0_7 = t1[3];
  111915. denominators_case_0 = _0_7;
  111916. _0_7_isSet = true;
  111917. }
  111918. numerators_case_0 = _0_3;
  111919. } else
  111920. numerators_case_0 = _0_1;
  111921. } else {
  111922. numerators_case_0 = _0_1;
  111923. t2 = false;
  111924. }
  111925. _0_1 = _0_10;
  111926. } else {
  111927. numerators_case_0 = _0_1;
  111928. _0_13_isSet = false;
  111929. t2 = true;
  111930. }
  111931. if (t2) {
  111932. t4 = denominators_case_0;
  111933. t3 = numerators_case_0;
  111934. } else {
  111935. t4 = _null;
  111936. t3 = t4;
  111937. }
  111938. if (!t2) {
  111939. t2 = _null;
  111940. t5 = _null;
  111941. if (_0_11_isSet)
  111942. t6 = _0_11;
  111943. else {
  111944. _0_11 = _0_1.length <= 0;
  111945. t6 = _0_11;
  111946. }
  111947. t7 = false;
  111948. if (t6) {
  111949. if (_0_9_isSet)
  111950. t2 = _0_9;
  111951. else {
  111952. if (_0_7_isSet)
  111953. t2 = _0_7;
  111954. else {
  111955. _0_7 = t1[3];
  111956. t2 = _0_7;
  111957. _0_7_isSet = true;
  111958. }
  111959. _0_9 = t2.length <= 0;
  111960. t2 = _0_9;
  111961. }
  111962. numerators_case_1 = _0_3;
  111963. denominators_case_1 = _0_2;
  111964. } else {
  111965. numerators_case_1 = t2;
  111966. t2 = t7;
  111967. denominators_case_1 = t5;
  111968. }
  111969. if (!t2) {
  111970. t2 = false;
  111971. if (_0_13_isSet)
  111972. t5 = _0_13;
  111973. else {
  111974. _0_13 = _0_2.length <= 0;
  111975. t5 = _0_13;
  111976. }
  111977. if (t5) {
  111978. if (_0_6)
  111979. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  111980. t1 = _0_6;
  111981. } else
  111982. t1 = t2;
  111983. numerators_case_1 = _0_1;
  111984. } else
  111985. t1 = true;
  111986. if (t1) {
  111987. t1 = !_this._number1$_areAnyConvertible$2(numerators_case_1, denominators_case_1);
  111988. if (t1) {
  111989. t3 = denominators_case_1;
  111990. t2 = numerators_case_1;
  111991. } else {
  111992. t2 = t3;
  111993. t3 = t4;
  111994. }
  111995. t0 = t3;
  111996. t3 = t1;
  111997. t1 = t2;
  111998. t2 = t0;
  111999. } else {
  112000. t2 = t4;
  112001. t1 = t3;
  112002. t3 = false;
  112003. }
  112004. } else {
  112005. t2 = t4;
  112006. t1 = t3;
  112007. t3 = true;
  112008. }
  112009. if (t3)
  112010. return A.SassNumber_SassNumber$withUnits0(value, t2, t1);
  112011. newNumerators = A._setArrayType([], type$.JSArray_String);
  112012. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  112013. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  112014. numerator = t1[_i];
  112015. A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
  112016. }
  112017. t1 = _this.get$denominatorUnits(_this);
  112018. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  112019. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  112020. numerator = otherNumerators[_i];
  112021. A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
  112022. }
  112023. t1 = _box_0.value;
  112024. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  112025. return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
  112026. },
  112027. _number1$_areAnyConvertible$2(units1, units2) {
  112028. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
  112029. },
  112030. _number1$_unitString$2(numerators, denominators) {
  112031. var _0_4, _0_7, _0_6, _0_5, t1, _0_9, _0_6_isSet, _0_5_isSet, _0_10, denominator, _null = null;
  112032. $label0$0: {
  112033. _0_4 = J.get$length$asx(numerators) <= 0;
  112034. _0_7 = _null;
  112035. _0_6 = _null;
  112036. _0_5 = _null;
  112037. if (_0_4) {
  112038. _0_6 = J.get$length$asx(denominators);
  112039. t1 = _0_6;
  112040. _0_7 = t1 <= 0;
  112041. t1 = _0_7;
  112042. _0_5 = denominators;
  112043. } else
  112044. t1 = false;
  112045. if (t1) {
  112046. t1 = "no units";
  112047. break $label0$0;
  112048. }
  112049. _0_9 = _null;
  112050. if (_0_4) {
  112051. _0_9 = _0_6 === 1;
  112052. t1 = _0_9;
  112053. _0_6_isSet = true;
  112054. _0_5_isSet = true;
  112055. } else {
  112056. _0_5_isSet = _0_4;
  112057. _0_6_isSet = _0_5_isSet;
  112058. t1 = false;
  112059. }
  112060. if (t1) {
  112061. _0_10 = J.$index$asx(_0_5_isSet ? _0_5 : denominators, 0);
  112062. denominator = _0_10;
  112063. t1 = denominator + "^-1";
  112064. break $label0$0;
  112065. }
  112066. if (_0_4) {
  112067. t1 = "(" + J.join$1$ax(denominators, "*") + ")^-1";
  112068. break $label0$0;
  112069. }
  112070. if (_0_6_isSet)
  112071. t1 = _0_6;
  112072. else {
  112073. if (_0_5_isSet)
  112074. t1 = _0_5;
  112075. else {
  112076. t1 = denominators;
  112077. _0_5 = t1;
  112078. _0_5_isSet = true;
  112079. }
  112080. _0_6 = J.get$length$asx(t1);
  112081. t1 = _0_6;
  112082. _0_6_isSet = true;
  112083. }
  112084. _0_7 = t1 <= 0;
  112085. t1 = _0_7;
  112086. if (t1) {
  112087. t1 = J.join$1$ax(numerators, "*");
  112088. break $label0$0;
  112089. }
  112090. if (_0_6_isSet)
  112091. t1 = _0_6;
  112092. else {
  112093. if (_0_5_isSet)
  112094. t1 = _0_5;
  112095. else {
  112096. t1 = denominators;
  112097. _0_5 = t1;
  112098. _0_5_isSet = true;
  112099. }
  112100. _0_6 = J.get$length$asx(t1);
  112101. t1 = _0_6;
  112102. }
  112103. _0_9 = t1 === 1;
  112104. t1 = _0_9;
  112105. if (t1) {
  112106. _0_10 = J.$index$asx(_0_5_isSet ? _0_5 : denominators, 0);
  112107. denominator = _0_10;
  112108. t1 = J.join$1$ax(numerators, "*") + "/" + denominator;
  112109. break $label0$0;
  112110. }
  112111. t1 = J.join$1$ax(numerators, "*") + "/(" + J.join$1$ax(denominators, "*") + ")";
  112112. break $label0$0;
  112113. }
  112114. return t1;
  112115. },
  112116. $eq(_, other) {
  112117. var _this = this;
  112118. if (other == null)
  112119. return false;
  112120. if (!(other instanceof A.SassNumber0))
  112121. return false;
  112122. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  112123. return false;
  112124. if (!_this.get$hasUnits())
  112125. return A.fuzzyEquals0(_this._number1$_value, other._number1$_value);
  112126. 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))))
  112127. return false;
  112128. 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)));
  112129. },
  112130. get$hashCode(_) {
  112131. var _this = this,
  112132. t1 = _this.hashCache;
  112133. 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;
  112134. },
  112135. _number1$_canonicalizeUnitList$1(units) {
  112136. var type,
  112137. t1 = units.length;
  112138. if (t1 === 0)
  112139. return units;
  112140. if (t1 === 1) {
  112141. type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
  112142. if (type == null)
  112143. t1 = units;
  112144. else {
  112145. t1 = B.Map_Sr65K.$index(0, type);
  112146. t1.toString;
  112147. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  112148. }
  112149. return t1;
  112150. }
  112151. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  112152. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), true, t1._eval$1("ListIterable.E"));
  112153. B.JSArray_methods.sort$0(t1);
  112154. return t1;
  112155. },
  112156. _number1$_canonicalMultiplier$1(units) {
  112157. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
  112158. },
  112159. canonicalMultiplierForUnit$1(unit) {
  112160. var t1,
  112161. innerMap = B.Map_NtHoP.$index(0, unit);
  112162. if (innerMap == null)
  112163. t1 = 1;
  112164. else {
  112165. t1 = innerMap.get$values(innerMap);
  112166. t1 = 1 / t1.get$first(t1);
  112167. }
  112168. return t1;
  112169. },
  112170. unitSuggestion$2($name, unit) {
  112171. var t2, t3, result, _this = this,
  112172. t1 = _this.get$denominatorUnits(_this);
  112173. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  112174. t2 = _this.get$numeratorUnits(_this);
  112175. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  112176. t3 = unit == null ? "" : " * 1" + unit;
  112177. result = "$" + $name + t1 + t2 + t3;
  112178. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  112179. },
  112180. unitSuggestion$1($name) {
  112181. return this.unitSuggestion$2($name, null);
  112182. }
  112183. };
  112184. A.SassNumber__coerceOrConvertValue_compatibilityException0.prototype = {
  112185. call$0() {
  112186. var t2, t3, message, t4, type, unit, _this = this,
  112187. t1 = _this.other;
  112188. if (t1 != null) {
  112189. t2 = _this.$this;
  112190. t3 = t2.toString$0(0) + " and";
  112191. message = new A.StringBuffer(t3);
  112192. t4 = _this.otherName;
  112193. if (t4 != null)
  112194. t3 = message._contents = t3 + (" $" + t4 + ":");
  112195. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  112196. message._contents = t1;
  112197. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  112198. message._contents = t1 + " (one has units and the other doesn't)";
  112199. t1 = message.toString$0(0) + ".";
  112200. t2 = _this.name;
  112201. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  112202. } else if (!_this.otherHasUnits) {
  112203. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  112204. t2 = _this.name;
  112205. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  112206. } else {
  112207. t1 = _this.newNumerators;
  112208. t2 = J.getInterceptor$asx(t1);
  112209. if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
  112210. type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
  112211. if (type != null) {
  112212. t1 = _this.$this.toString$0(0);
  112213. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  112214. t3 = B.Map_Sr65K.$index(0, type);
  112215. t3.toString;
  112216. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  112217. t2 = _this.name;
  112218. return new A.SassScriptException0(t2 == null ? t3 : "$" + t2 + ": " + t3);
  112219. }
  112220. }
  112221. t3 = _this.newDenominators;
  112222. unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
  112223. t2 = _this.$this;
  112224. t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
  112225. t1 = _this.name;
  112226. return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
  112227. }
  112228. },
  112229. $signature: 547
  112230. };
  112231. A.SassNumber__coerceOrConvertValue_closure3.prototype = {
  112232. call$1(oldNumerator) {
  112233. var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
  112234. if (factor == null)
  112235. return false;
  112236. this._box_0.value *= factor;
  112237. return true;
  112238. },
  112239. $signature: 5
  112240. };
  112241. A.SassNumber__coerceOrConvertValue_closure4.prototype = {
  112242. call$0() {
  112243. return A.throwExpression(this.compatibilityException.call$0());
  112244. },
  112245. $signature: 0
  112246. };
  112247. A.SassNumber__coerceOrConvertValue_closure5.prototype = {
  112248. call$1(oldDenominator) {
  112249. var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
  112250. if (factor == null)
  112251. return false;
  112252. this._box_0.value /= factor;
  112253. return true;
  112254. },
  112255. $signature: 5
  112256. };
  112257. A.SassNumber__coerceOrConvertValue_closure6.prototype = {
  112258. call$0() {
  112259. return A.throwExpression(this.compatibilityException.call$0());
  112260. },
  112261. $signature: 0
  112262. };
  112263. A.SassNumber_plus_closure0.prototype = {
  112264. call$2(num1, num2) {
  112265. return num1 + num2;
  112266. },
  112267. $signature: 61
  112268. };
  112269. A.SassNumber_minus_closure0.prototype = {
  112270. call$2(num1, num2) {
  112271. return num1 - num2;
  112272. },
  112273. $signature: 61
  112274. };
  112275. A.SassNumber_multiplyUnits_closure3.prototype = {
  112276. call$1(denominator) {
  112277. var factor = A.conversionFactor0(this.numerator, denominator);
  112278. if (factor == null)
  112279. return false;
  112280. this._box_0.value /= factor;
  112281. return true;
  112282. },
  112283. $signature: 5
  112284. };
  112285. A.SassNumber_multiplyUnits_closure4.prototype = {
  112286. call$0() {
  112287. return this.newNumerators.push(this.numerator);
  112288. },
  112289. $signature: 0
  112290. };
  112291. A.SassNumber_multiplyUnits_closure5.prototype = {
  112292. call$1(denominator) {
  112293. var factor = A.conversionFactor0(this.numerator, denominator);
  112294. if (factor == null)
  112295. return false;
  112296. this._box_0.value /= factor;
  112297. return true;
  112298. },
  112299. $signature: 5
  112300. };
  112301. A.SassNumber_multiplyUnits_closure6.prototype = {
  112302. call$0() {
  112303. return this.newNumerators.push(this.numerator);
  112304. },
  112305. $signature: 0
  112306. };
  112307. A.SassNumber__areAnyConvertible_closure0.prototype = {
  112308. call$1(unit1) {
  112309. var t1,
  112310. _0_0 = B.Map_NtHoP.$index(0, unit1);
  112311. $label0$0: {
  112312. if (_0_0 != null) {
  112313. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  112314. break $label0$0;
  112315. }
  112316. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  112317. break $label0$0;
  112318. }
  112319. return t1;
  112320. },
  112321. $signature: 5
  112322. };
  112323. A.SassNumber__canonicalizeUnitList_closure0.prototype = {
  112324. call$1(unit) {
  112325. var t1,
  112326. type = $.$get$_typesByUnit0().$index(0, unit);
  112327. if (type == null)
  112328. t1 = unit;
  112329. else {
  112330. t1 = B.Map_Sr65K.$index(0, type);
  112331. t1.toString;
  112332. t1 = B.JSArray_methods.get$first(t1);
  112333. }
  112334. return t1;
  112335. },
  112336. $signature: 6
  112337. };
  112338. A.SassNumber__canonicalMultiplier_closure0.prototype = {
  112339. call$2(multiplier, unit) {
  112340. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  112341. },
  112342. $signature: 164
  112343. };
  112344. A.SassNumber_unitSuggestion_closure1.prototype = {
  112345. call$1(unit) {
  112346. return " * 1" + unit;
  112347. },
  112348. $signature: 6
  112349. };
  112350. A.SassNumber_unitSuggestion_closure2.prototype = {
  112351. call$1(unit) {
  112352. return " / 1" + unit;
  112353. },
  112354. $signature: 6
  112355. };
  112356. A.OklabColorSpace0.prototype = {
  112357. get$isBoundedInternal() {
  112358. return false;
  112359. },
  112360. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  112361. var missingLightness, missingA, missingB, t1;
  112362. if (dest === B.OklchColorSpace_9Gj0)
  112363. return A.labToLch0(dest, lightness, a, b, alpha, missingChroma, missingHue);
  112364. missingLightness = lightness == null;
  112365. missingA = a == null;
  112366. missingB = b == null;
  112367. if (missingLightness)
  112368. lightness = 0;
  112369. if (missingA)
  112370. a = 0;
  112371. if (missingB)
  112372. b = 0;
  112373. t1 = $.$get$oklabToLms0();
  112374. 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);
  112375. },
  112376. convert$5(dest, lightness, a, b, alpha) {
  112377. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  112378. }
  112379. };
  112380. A.OklchColorSpace0.prototype = {
  112381. get$isBoundedInternal() {
  112382. return false;
  112383. },
  112384. get$isPolarInternal() {
  112385. return true;
  112386. },
  112387. convert$5(dest, lightness, chroma, hue, alpha) {
  112388. var t1 = hue == null,
  112389. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  112390. t2 = chroma == null,
  112391. t3 = t2 ? 0 : chroma,
  112392. t4 = Math.cos(hueRadians),
  112393. t5 = t2 ? 0 : chroma;
  112394. return B.OklabColorSpace_5400.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  112395. }
  112396. };
  112397. A.SupportsOperation0.prototype = {
  112398. toInterpolation$0() {
  112399. var t1 = new A.StringBuffer(""),
  112400. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  112401. t3 = this.span,
  112402. t4 = this.left,
  112403. t5 = A.SpanExtensions_before(t3, t4.get$span(t4));
  112404. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  112405. t1._contents += t5;
  112406. t2.addInterpolation$1(t4.toInterpolation$0());
  112407. t5 = this.right;
  112408. t4 = A.SpanExtensions_between(t4.get$span(t4), t5.get$span(t5));
  112409. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  112410. t1._contents += t4;
  112411. t2.addInterpolation$1(t5.toInterpolation$0());
  112412. t5 = A.SpanExtensions_after(t3, t5.get$span(t5));
  112413. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  112414. t1._contents += t5;
  112415. return t2.interpolation$1(t3);
  112416. },
  112417. withSpan$1(span) {
  112418. return A.SupportsOperation$0(this.left, this.right, this.operator, span);
  112419. },
  112420. toString$0(_) {
  112421. var _this = this;
  112422. return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
  112423. },
  112424. _operation$_parenthesize$1(condition) {
  112425. var t1;
  112426. if (!(condition instanceof A.SupportsNegation0))
  112427. t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
  112428. else
  112429. t1 = true;
  112430. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  112431. },
  112432. $isAstNode0: 1,
  112433. $isSassNode: 1,
  112434. $isSupportsCondition: 1,
  112435. get$span(receiver) {
  112436. return this.span;
  112437. }
  112438. };
  112439. A.Parameter0.prototype = {
  112440. toString$0(_) {
  112441. var t1 = this.defaultValue,
  112442. t2 = this.name;
  112443. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  112444. },
  112445. $isAstNode0: 1,
  112446. $isSassNode: 1,
  112447. get$span(receiver) {
  112448. return this.span;
  112449. }
  112450. };
  112451. A.ParameterList0.prototype = {
  112452. get$spanWithName() {
  112453. var t3, t4,
  112454. t1 = this.span,
  112455. t2 = t1.file,
  112456. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  112457. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  112458. while (true) {
  112459. if (i > 0) {
  112460. t3 = text.charCodeAt(i);
  112461. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  112462. } else
  112463. t3 = false;
  112464. if (!t3)
  112465. break;
  112466. --i;
  112467. }
  112468. t3 = text.charCodeAt(i);
  112469. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic0(t3) || t3 >= 128))
  112470. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  112471. else
  112472. t3 = true;
  112473. if (!t3)
  112474. return t1;
  112475. --i;
  112476. while (true) {
  112477. if (i >= 0) {
  112478. t3 = text.charCodeAt(i);
  112479. if (t3 !== 95) {
  112480. if (!(t3 >= 97 && t3 <= 122))
  112481. t4 = t3 >= 65 && t3 <= 90;
  112482. else
  112483. t4 = true;
  112484. t4 = t4 || t3 >= 128;
  112485. } else
  112486. t4 = true;
  112487. if (!t4)
  112488. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  112489. else
  112490. t3 = true;
  112491. } else
  112492. t3 = false;
  112493. if (!t3)
  112494. break;
  112495. --i;
  112496. }
  112497. t3 = i + 1;
  112498. t4 = text.charCodeAt(t3);
  112499. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic0(t4) || t4 >= 128))
  112500. return t1;
  112501. return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  112502. },
  112503. verify$2(positional, names) {
  112504. var t1, t2, t3, namedUsed, i, parameter, t4, unknownNames, _this = this,
  112505. _s10_ = "invocation";
  112506. for (t1 = _this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  112507. parameter = t1[i];
  112508. if (i < positional) {
  112509. t4 = parameter.name;
  112510. if (t3.containsKey$1(t4))
  112511. throw A.wrapException(A.SassScriptException$0("Argument " + _this._parameter_list$_originalParameterName$1(t4) + string$.x20was_p, null));
  112512. } else {
  112513. t4 = parameter.name;
  112514. if (t3.containsKey$1(t4))
  112515. ++namedUsed;
  112516. else if (parameter.defaultValue == null)
  112517. 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)));
  112518. }
  112519. }
  112520. if (_this.restParameter != null)
  112521. return;
  112522. if (positional > t2) {
  112523. t1 = names.get$isEmpty(0) ? "" : "positional ";
  112524. 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)));
  112525. }
  112526. if (namedUsed < t3.get$length(t3)) {
  112527. t2 = type$.String;
  112528. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  112529. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ParameterList_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  112530. 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)));
  112531. }
  112532. },
  112533. _parameter_list$_originalParameterName$1($name) {
  112534. var t1, text, t2, _i, parameter, t3, end;
  112535. if ($name === this.restParameter) {
  112536. t1 = this.span;
  112537. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  112538. 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, "."));
  112539. }
  112540. for (t1 = this.parameters, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  112541. parameter = t1[_i];
  112542. if (parameter.name === $name) {
  112543. t1 = parameter.span;
  112544. if (parameter.defaultValue == null) {
  112545. t2 = t1._file$_start;
  112546. t3 = t1.file._decodedChars;
  112547. t3 = A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t2, A._checkValidRange(t2, t1._end, t3.length))), 0, null);
  112548. t1 = t3;
  112549. } else {
  112550. text = t1.get$text();
  112551. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  112552. end = A._lastNonWhitespace0(t1, false);
  112553. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  112554. }
  112555. return t1;
  112556. }
  112557. }
  112558. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', null));
  112559. },
  112560. matches$2(positional, names) {
  112561. var t1, t2, t3, namedUsed, i, parameter;
  112562. for (t1 = this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  112563. parameter = t1[i];
  112564. if (i < positional) {
  112565. if (t3.containsKey$1(parameter.name))
  112566. return false;
  112567. } else if (t3.containsKey$1(parameter.name))
  112568. ++namedUsed;
  112569. else if (parameter.defaultValue == null)
  112570. return false;
  112571. }
  112572. if (this.restParameter != null)
  112573. return true;
  112574. if (positional > t2)
  112575. return false;
  112576. if (namedUsed < t3.get$length(t3))
  112577. return false;
  112578. return true;
  112579. },
  112580. toString$0(_) {
  112581. var t2, t3, _i,
  112582. t1 = A._setArrayType([], type$.JSArray_String);
  112583. for (t2 = this.parameters, t3 = t2.length, _i = 0; _i < t3; ++_i)
  112584. t1.push("$" + t2[_i].toString$0(0));
  112585. t2 = this.restParameter;
  112586. if (t2 != null)
  112587. t1.push("$" + t2 + "...");
  112588. return B.JSArray_methods.join$1(t1, ", ");
  112589. },
  112590. $isAstNode0: 1,
  112591. $isSassNode: 1,
  112592. get$span(receiver) {
  112593. return this.span;
  112594. }
  112595. };
  112596. A.ParameterList_verify_closure1.prototype = {
  112597. call$1(parameter) {
  112598. return parameter.name;
  112599. },
  112600. $signature: 548
  112601. };
  112602. A.ParameterList_verify_closure2.prototype = {
  112603. call$1($name) {
  112604. return "$" + $name;
  112605. },
  112606. $signature: 6
  112607. };
  112608. A.ParentSelector0.prototype = {
  112609. accept$1$1(visitor) {
  112610. return visitor.visitParentSelector$1(this);
  112611. },
  112612. accept$1(visitor) {
  112613. return this.accept$1$1(visitor, type$.dynamic);
  112614. },
  112615. unify$1(compound) {
  112616. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  112617. }
  112618. };
  112619. A.ParentStatement0.prototype = {};
  112620. A.ParentStatement_closure0.prototype = {
  112621. call$1(child) {
  112622. var t1;
  112623. $label0$0: {
  112624. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  112625. t1 = true;
  112626. break $label0$0;
  112627. }
  112628. if (child instanceof A.ImportRule0) {
  112629. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
  112630. break $label0$0;
  112631. }
  112632. t1 = false;
  112633. break $label0$0;
  112634. }
  112635. return t1;
  112636. },
  112637. $signature: 255
  112638. };
  112639. A.ParentStatement__closure0.prototype = {
  112640. call$1($import) {
  112641. return $import instanceof A.DynamicImport0;
  112642. },
  112643. $signature: 254
  112644. };
  112645. A.ParenthesizedExpression0.prototype = {
  112646. accept$1$1(visitor) {
  112647. return visitor.visitParenthesizedExpression$1(0, this);
  112648. },
  112649. accept$1(visitor) {
  112650. return this.accept$1$1(visitor, type$.dynamic);
  112651. },
  112652. toString$0(_) {
  112653. return "(" + this.expression.toString$0(0) + ")";
  112654. },
  112655. get$span(receiver) {
  112656. return this.span;
  112657. }
  112658. };
  112659. A.ParserExports.prototype = {};
  112660. A.loadParserExports_closure.prototype = {
  112661. call$1(inner) {
  112662. return new A.JSExpressionVisitor(inner);
  112663. },
  112664. $signature: 549
  112665. };
  112666. A.loadParserExports_closure0.prototype = {
  112667. call$1(inner) {
  112668. return new A.JSStatementVisitor(inner);
  112669. },
  112670. $signature: 550
  112671. };
  112672. A.loadParserExports_closure1.prototype = {
  112673. call$1(set) {
  112674. return new self.Set(A.List_List$of(set, true, type$.nullable_Object));
  112675. },
  112676. $signature: 551
  112677. };
  112678. A._updateAstPrototypes_closure.prototype = {
  112679. call$3($self, start, end) {
  112680. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2($self._decodedChars, start, end), 0, null);
  112681. },
  112682. call$2($self, start) {
  112683. return this.call$3($self, start, null);
  112684. },
  112685. "call*": "call$3",
  112686. $requiredArgCount: 2,
  112687. $defaultValues() {
  112688. return [null];
  112689. },
  112690. $signature: 552
  112691. };
  112692. A._updateAstPrototypes_closure0.prototype = {
  112693. call$1($self) {
  112694. return $self._decodedChars;
  112695. },
  112696. $signature: 553
  112697. };
  112698. A._updateAstPrototypes_closure1.prototype = {
  112699. call$1($self) {
  112700. return $self.get$asPlain();
  112701. },
  112702. $signature: 554
  112703. };
  112704. A._updateAstPrototypes_closure2.prototype = {
  112705. call$2($self, visitor) {
  112706. return $self.accept$1(visitor);
  112707. },
  112708. $signature: 555
  112709. };
  112710. A._updateAstPrototypes_closure3.prototype = {
  112711. call$2($self, visitor) {
  112712. return $self.accept$1(visitor);
  112713. },
  112714. $signature: 556
  112715. };
  112716. A._updateAstPrototypes_closure4.prototype = {
  112717. call$1($self) {
  112718. return $self.$arguments;
  112719. },
  112720. $signature: 557
  112721. };
  112722. A._updateAstPrototypes_closure5.prototype = {
  112723. call$1($self) {
  112724. return $self.$arguments;
  112725. },
  112726. $signature: 558
  112727. };
  112728. A._updateAstPrototypes_closure6.prototype = {
  112729. call$1($self) {
  112730. return $self.get$span($self);
  112731. },
  112732. $signature: 559
  112733. };
  112734. A._addSupportsConditionToInterpolation_closure.prototype = {
  112735. call$1($self) {
  112736. return $self.toInterpolation$0();
  112737. },
  112738. $signature: 560
  112739. };
  112740. A.Parser1.prototype = {
  112741. _parser1$_parseIdentifier$0() {
  112742. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
  112743. },
  112744. whitespace$1$consumeNewlines(consumeNewlines) {
  112745. do
  112746. this.whitespaceWithoutComments$1$consumeNewlines(consumeNewlines);
  112747. while (this.scanComment$0());
  112748. },
  112749. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  112750. var t3,
  112751. t1 = this.scanner,
  112752. t2 = t1.string.length;
  112753. while (true) {
  112754. if (t1._string_scanner$_position !== t2) {
  112755. t3 = t1.peekChar$0();
  112756. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  112757. } else
  112758. t3 = false;
  112759. if (!t3)
  112760. break;
  112761. t1.readChar$0();
  112762. }
  112763. },
  112764. spaces$0() {
  112765. var t3,
  112766. t1 = this.scanner,
  112767. t2 = t1.string.length;
  112768. while (true) {
  112769. if (t1._string_scanner$_position !== t2) {
  112770. t3 = t1.peekChar$0();
  112771. t3 = t3 === 32 || t3 === 9;
  112772. } else
  112773. t3 = false;
  112774. if (!t3)
  112775. break;
  112776. t1.readChar$0();
  112777. }
  112778. },
  112779. scanComment$0() {
  112780. var _0_0,
  112781. t1 = this.scanner;
  112782. if (t1.peekChar$0() !== 47)
  112783. return false;
  112784. _0_0 = t1.peekChar$1(1);
  112785. if (47 === _0_0)
  112786. return this.silentComment$0();
  112787. if (42 === _0_0) {
  112788. this.loudComment$0();
  112789. return true;
  112790. }
  112791. return false;
  112792. },
  112793. expectWhitespace$1$consumeNewlines(consumeNewlines) {
  112794. var t2, t3,
  112795. t1 = this.scanner;
  112796. if (t1._string_scanner$_position !== t1.string.length) {
  112797. t2 = t1.peekChar$0();
  112798. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  112799. t2 = t3;
  112800. } else
  112801. t2 = true;
  112802. if (t2)
  112803. t1.error$1(0, "Expected whitespace.");
  112804. this.whitespace$1$consumeNewlines(consumeNewlines);
  112805. },
  112806. expectWhitespace$0() {
  112807. return this.expectWhitespace$1$consumeNewlines(false);
  112808. },
  112809. silentComment$0() {
  112810. var t2, t3,
  112811. t1 = this.scanner;
  112812. t1.expect$1("//");
  112813. t2 = t1.string.length;
  112814. while (true) {
  112815. if (t1._string_scanner$_position !== t2) {
  112816. t3 = t1.peekChar$0();
  112817. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  112818. } else
  112819. t3 = false;
  112820. if (!t3)
  112821. break;
  112822. t1.readChar$0();
  112823. }
  112824. return true;
  112825. },
  112826. loudComment$0() {
  112827. var next,
  112828. t1 = this.scanner;
  112829. t1.expect$1("/*");
  112830. for (; true;) {
  112831. if (t1.readChar$0() !== 42)
  112832. continue;
  112833. do
  112834. next = t1.readChar$0();
  112835. while (next === 42);
  112836. if (next === 47)
  112837. break;
  112838. }
  112839. },
  112840. identifier$2$normalize$unit(normalize, unit) {
  112841. var t2, _0_0, _this = this,
  112842. _s20_ = "Expected identifier.",
  112843. text = new A.StringBuffer(""),
  112844. t1 = _this.scanner;
  112845. if (t1.scanChar$1(45)) {
  112846. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  112847. if (t1.scanChar$1(45)) {
  112848. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  112849. _this._parser1$_identifierBody$3$normalize$unit(text, normalize, unit);
  112850. t1 = text._contents;
  112851. return t1.charCodeAt(0) == 0 ? t1 : t1;
  112852. }
  112853. } else
  112854. t2 = "";
  112855. $label0$0: {
  112856. _0_0 = t1.peekChar$0();
  112857. if (_0_0 == null)
  112858. t1.error$1(0, _s20_);
  112859. if (95 === _0_0 && normalize) {
  112860. t1.readChar$0();
  112861. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  112862. break $label0$0;
  112863. }
  112864. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128) {
  112865. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  112866. break $label0$0;
  112867. }
  112868. if (92 === _0_0) {
  112869. text._contents = t2 + _this.escape$1$identifierStart(true);
  112870. break $label0$0;
  112871. }
  112872. t1.error$1(0, _s20_);
  112873. }
  112874. _this._parser1$_identifierBody$3$normalize$unit(text, normalize, unit);
  112875. t1 = text._contents;
  112876. return t1.charCodeAt(0) == 0 ? t1 : t1;
  112877. },
  112878. identifier$0() {
  112879. return this.identifier$2$normalize$unit(false, false);
  112880. },
  112881. identifier$1$normalize(normalize) {
  112882. return this.identifier$2$normalize$unit(normalize, false);
  112883. },
  112884. identifier$1$unit(unit) {
  112885. return this.identifier$2$normalize$unit(false, unit);
  112886. },
  112887. _parser1$_identifierBody$3$normalize$unit(text, normalize, unit) {
  112888. var t1, _1_0, _0_0, t2;
  112889. for (t1 = this.scanner; true;) {
  112890. _1_0 = t1.peekChar$0();
  112891. if (_1_0 == null)
  112892. break;
  112893. if (45 === _1_0 && unit) {
  112894. _0_0 = t1.peekChar$1(1);
  112895. if (46 !== _0_0)
  112896. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  112897. else
  112898. t2 = true;
  112899. if (t2)
  112900. break;
  112901. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  112902. text._contents += t2;
  112903. continue;
  112904. }
  112905. if (95 === _1_0 && normalize) {
  112906. t1.readChar$0();
  112907. t2 = A.Primitives_stringFromCharCode(45);
  112908. text._contents += t2;
  112909. continue;
  112910. }
  112911. if (_1_0 !== 95) {
  112912. if (!(_1_0 >= 97 && _1_0 <= 122))
  112913. t2 = _1_0 >= 65 && _1_0 <= 90;
  112914. else
  112915. t2 = true;
  112916. t2 = t2 || _1_0 >= 128;
  112917. } else
  112918. t2 = true;
  112919. if (!t2)
  112920. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  112921. else
  112922. t2 = true;
  112923. if (t2) {
  112924. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  112925. text._contents += t2;
  112926. continue;
  112927. }
  112928. if (92 === _1_0) {
  112929. t2 = this.escape$0();
  112930. text._contents += t2;
  112931. continue;
  112932. }
  112933. break;
  112934. }
  112935. },
  112936. _parser1$_identifierBody$1(text) {
  112937. return this._parser1$_identifierBody$3$normalize$unit(text, false, false);
  112938. },
  112939. string$0() {
  112940. var buffer, _0_0, t2,
  112941. t1 = this.scanner,
  112942. quote = t1.readChar$0();
  112943. if (quote !== 39 && quote !== 34)
  112944. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  112945. buffer = new A.StringBuffer("");
  112946. for (; true;) {
  112947. _0_0 = t1.peekChar$0();
  112948. if (_0_0 === quote) {
  112949. t1.readChar$0();
  112950. break;
  112951. }
  112952. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  112953. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  112954. if (92 === _0_0) {
  112955. t2 = t1.peekChar$1(1);
  112956. if (t2 === 10 || t2 === 13 || t2 === 12) {
  112957. t1.readChar$0();
  112958. t1.readChar$0();
  112959. } else {
  112960. t2 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  112961. buffer._contents += t2;
  112962. }
  112963. continue;
  112964. }
  112965. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  112966. buffer._contents += t2;
  112967. }
  112968. t1 = buffer._contents;
  112969. return t1.charCodeAt(0) == 0 ? t1 : t1;
  112970. },
  112971. declarationValue$1$allowEmpty(allowEmpty) {
  112972. var t1, t2, t3, wroteNewline, next, wroteNewline0, t4, start, end, _0_0, _this = this,
  112973. buffer = new A.StringBuffer(""),
  112974. brackets = A._setArrayType([], type$.JSArray_int);
  112975. for (t1 = _this.scanner, t2 = _this.get$loudComment(), t3 = _this.get$string(), wroteNewline = false; true;) {
  112976. next = t1.peekChar$0();
  112977. if (next == null)
  112978. break;
  112979. wroteNewline0 = false;
  112980. if (92 === next) {
  112981. t4 = _this.escape$1$identifierStart(true);
  112982. buffer._contents += t4;
  112983. wroteNewline = wroteNewline0;
  112984. continue;
  112985. }
  112986. if (34 === next || 39 === next) {
  112987. start = t1._string_scanner$_position;
  112988. t3.call$0();
  112989. end = t1._string_scanner$_position;
  112990. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  112991. wroteNewline = wroteNewline0;
  112992. continue;
  112993. }
  112994. if (47 === next) {
  112995. if (t1.peekChar$1(1) === 42) {
  112996. start = t1._string_scanner$_position;
  112997. t2.call$0();
  112998. end = t1._string_scanner$_position;
  112999. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  113000. } else {
  113001. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113002. buffer._contents += t4;
  113003. }
  113004. wroteNewline = wroteNewline0;
  113005. continue;
  113006. }
  113007. if (32 === next || 9 === next) {
  113008. if (!wroteNewline) {
  113009. t4 = t1.peekChar$1(1);
  113010. t4 = !(t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12);
  113011. } else
  113012. t4 = true;
  113013. if (t4) {
  113014. t4 = A.Primitives_stringFromCharCode(32);
  113015. buffer._contents += t4;
  113016. }
  113017. t1.readChar$0();
  113018. continue;
  113019. }
  113020. if (10 === next || 13 === next || 12 === next) {
  113021. t4 = t1.peekChar$1(-1);
  113022. if (!(t4 === 10 || t4 === 13 || t4 === 12))
  113023. buffer._contents += "\n";
  113024. t1.readChar$0();
  113025. wroteNewline = true;
  113026. continue;
  113027. }
  113028. if (40 === next || 123 === next || 91 === next) {
  113029. t4 = A.Primitives_stringFromCharCode(next);
  113030. buffer._contents += t4;
  113031. brackets.push(A.opposite0(t1.readChar$0()));
  113032. wroteNewline = wroteNewline0;
  113033. continue;
  113034. }
  113035. if (41 === next || 125 === next || 93 === next) {
  113036. if (brackets.length === 0)
  113037. break;
  113038. t4 = A.Primitives_stringFromCharCode(next);
  113039. buffer._contents += t4;
  113040. t1.expectChar$1(brackets.pop());
  113041. wroteNewline = wroteNewline0;
  113042. continue;
  113043. }
  113044. if (59 === next) {
  113045. if (brackets.length === 0)
  113046. break;
  113047. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113048. buffer._contents += t4;
  113049. continue;
  113050. }
  113051. if (117 === next || 85 === next) {
  113052. _0_0 = _this.tryUrl$0();
  113053. if (_0_0 != null)
  113054. buffer._contents += _0_0;
  113055. else {
  113056. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113057. buffer._contents += t4;
  113058. }
  113059. wroteNewline = wroteNewline0;
  113060. continue;
  113061. }
  113062. if (_this.lookingAtIdentifier$0()) {
  113063. t4 = _this.identifier$0();
  113064. buffer._contents += t4;
  113065. } else {
  113066. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113067. buffer._contents += t4;
  113068. }
  113069. wroteNewline = wroteNewline0;
  113070. }
  113071. if (brackets.length !== 0)
  113072. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  113073. if (!allowEmpty && buffer._contents.length === 0)
  113074. t1.error$1(0, "Expected token.");
  113075. t1 = buffer._contents;
  113076. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113077. },
  113078. declarationValue$0() {
  113079. return this.declarationValue$1$allowEmpty(false);
  113080. },
  113081. tryUrl$0() {
  113082. var buffer, _0_0, t2, _this = this,
  113083. t1 = _this.scanner,
  113084. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113085. if (!_this.scanIdentifier$1("url"))
  113086. return null;
  113087. if (!t1.scanChar$1(40)) {
  113088. t1.set$state(start);
  113089. return null;
  113090. }
  113091. _this.whitespace$1$consumeNewlines(true);
  113092. buffer = new A.StringBuffer("");
  113093. buffer._contents = "" + "url(";
  113094. for (; true;) {
  113095. _0_0 = t1.peekChar$0();
  113096. if (_0_0 == null)
  113097. break;
  113098. if (92 === _0_0) {
  113099. t2 = _this.escape$0();
  113100. buffer._contents += t2;
  113101. continue;
  113102. }
  113103. t2 = true;
  113104. if (37 !== _0_0)
  113105. if (38 !== _0_0)
  113106. if (35 !== _0_0)
  113107. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  113108. if (t2) {
  113109. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113110. buffer._contents += t2;
  113111. continue;
  113112. }
  113113. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  113114. _this.whitespace$1$consumeNewlines(true);
  113115. if (t1.peekChar$0() !== 41)
  113116. break;
  113117. continue;
  113118. }
  113119. if (41 === _0_0) {
  113120. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113121. t2 = buffer._contents += t2;
  113122. return t2.charCodeAt(0) == 0 ? t2 : t2;
  113123. }
  113124. break;
  113125. }
  113126. t1.set$state(start);
  113127. return null;
  113128. },
  113129. variableName$0() {
  113130. this.scanner.expectChar$1(36);
  113131. return this.identifier$1$normalize(true);
  113132. },
  113133. escape$1$identifierStart(identifierStart) {
  113134. var value, _0_0, i, next, t2, exception,
  113135. _s25_ = "Expected escape sequence.",
  113136. t1 = this.scanner,
  113137. start = t1._string_scanner$_position;
  113138. t1.expectChar$1(92);
  113139. value = 0;
  113140. $label0$1: {
  113141. _0_0 = t1.peekChar$0();
  113142. if (_0_0 == null)
  113143. t1.error$1(0, _s25_);
  113144. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  113145. t1.error$1(0, _s25_);
  113146. if (A.CharacterExtension_get_isHex0(_0_0)) {
  113147. for (i = 0; i < 6; ++i) {
  113148. next = t1.peekChar$0();
  113149. if (next != null) {
  113150. t2 = true;
  113151. if (!(next >= 48 && next <= 57))
  113152. if (!(next >= 97 && next <= 102))
  113153. t2 = next >= 65 && next <= 70;
  113154. t2 = !t2;
  113155. } else
  113156. t2 = true;
  113157. if (t2)
  113158. break;
  113159. value *= 16;
  113160. value += A.asHex0(t1.readChar$0());
  113161. }
  113162. this.scanCharIf$1(new A.Parser_escape_closure0());
  113163. break $label0$1;
  113164. }
  113165. value = t1.readChar$0();
  113166. }
  113167. if (identifierStart) {
  113168. t2 = value;
  113169. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128;
  113170. } else {
  113171. t2 = value;
  113172. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128))
  113173. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  113174. else
  113175. t2 = true;
  113176. }
  113177. if (t2)
  113178. try {
  113179. t2 = A.Primitives_stringFromCharCode(value);
  113180. return t2;
  113181. } catch (exception) {
  113182. if (type$.RangeError._is(A.unwrapException(exception)))
  113183. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  113184. else
  113185. throw exception;
  113186. }
  113187. else {
  113188. t1 = true;
  113189. if (!(value <= 31))
  113190. if (!J.$eq$(value, 127))
  113191. if (identifierStart) {
  113192. t1 = value;
  113193. t1 = t1 >= 48 && t1 <= 57;
  113194. } else
  113195. t1 = false;
  113196. if (t1) {
  113197. t1 = "" + A.Primitives_stringFromCharCode(92);
  113198. if (value > 15)
  113199. t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  113200. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
  113201. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113202. } else
  113203. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  113204. }
  113205. },
  113206. escape$0() {
  113207. return this.escape$1$identifierStart(false);
  113208. },
  113209. scanCharIf$1(condition) {
  113210. var t1 = this.scanner;
  113211. if (!condition.call$1(t1.peekChar$0()))
  113212. return false;
  113213. t1.readChar$0();
  113214. return true;
  113215. },
  113216. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  113217. var t3,
  113218. t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
  113219. t2 = this.scanner,
  113220. _0_0 = t2.peekChar$0();
  113221. if (_0_0 != null) {
  113222. t3 = t1.call$1(_0_0);
  113223. t3 = t3;
  113224. } else
  113225. t3 = false;
  113226. if (t3) {
  113227. t2.readChar$0();
  113228. return true;
  113229. }
  113230. if (92 === _0_0) {
  113231. t3 = t2._string_scanner$_position;
  113232. if (t1.call$1(A.consumeEscapedCharacter0(t2)))
  113233. return true;
  113234. t2.set$state(new A._SpanScannerState(t2, t3));
  113235. }
  113236. return false;
  113237. },
  113238. scanIdentChar$1(char) {
  113239. return this.scanIdentChar$2$caseSensitive(char, false);
  113240. },
  113241. expectIdentChar$1(letter) {
  113242. var t1;
  113243. if (this.scanIdentChar$2$caseSensitive(letter, false))
  113244. return;
  113245. t1 = this.scanner;
  113246. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  113247. },
  113248. lookingAtIdentifier$1($forward) {
  113249. var t1, _1_0, t2, _0_0;
  113250. if ($forward == null)
  113251. $forward = 0;
  113252. t1 = this.scanner;
  113253. _1_0 = t1.peekChar$1($forward);
  113254. $label0$0: {
  113255. if (A._isInt(_1_0))
  113256. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128;
  113257. else
  113258. t2 = false;
  113259. if (t2 || 92 === _1_0) {
  113260. t1 = true;
  113261. break $label0$0;
  113262. }
  113263. if (45 === _1_0) {
  113264. _0_0 = t1.peekChar$1($forward + 1);
  113265. $label1$1: {
  113266. if (A._isInt(_0_0))
  113267. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128;
  113268. else
  113269. t1 = false;
  113270. t1 = t1 || 92 === _0_0 || 45 === _0_0;
  113271. if (t1)
  113272. break $label1$1;
  113273. break $label1$1;
  113274. }
  113275. break $label0$0;
  113276. }
  113277. t1 = false;
  113278. break $label0$0;
  113279. }
  113280. return t1;
  113281. },
  113282. lookingAtIdentifier$0() {
  113283. return this.lookingAtIdentifier$1(null);
  113284. },
  113285. lookingAtIdentifierBody$0() {
  113286. var t1,
  113287. next = this.scanner.peekChar$0();
  113288. if (next != null) {
  113289. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic0(next) || next >= 128))
  113290. t1 = next >= 48 && next <= 57 || next === 45;
  113291. else
  113292. t1 = true;
  113293. t1 = t1 || next === 92;
  113294. } else
  113295. t1 = false;
  113296. return t1;
  113297. },
  113298. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  113299. var t1, t2, _this = this;
  113300. if (!_this.lookingAtIdentifier$0())
  113301. return false;
  113302. t1 = _this.scanner;
  113303. t2 = t1._string_scanner$_position;
  113304. if (_this._parser1$_consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  113305. return true;
  113306. else {
  113307. t1.set$state(new A._SpanScannerState(t1, t2));
  113308. return false;
  113309. }
  113310. },
  113311. scanIdentifier$1(text) {
  113312. return this.scanIdentifier$2$caseSensitive(text, false);
  113313. },
  113314. _parser1$_consumeIdentifier$2(text, caseSensitive) {
  113315. var t1, t2, t3;
  113316. 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();) {
  113317. t3 = t1.__internal$_current;
  113318. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  113319. return false;
  113320. }
  113321. return true;
  113322. },
  113323. expectIdentifier$2$name(text, $name) {
  113324. var t1, start, t2, t3, t4, t5, t6;
  113325. if ($name == null)
  113326. $name = '"' + text + '"';
  113327. t1 = this.scanner;
  113328. start = t1._string_scanner$_position;
  113329. 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();) {
  113330. t6 = t2.__internal$_current;
  113331. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  113332. continue;
  113333. t1.error$2$position(0, t5, start);
  113334. }
  113335. if (!this.lookingAtIdentifierBody$0())
  113336. return;
  113337. t1.error$2$position(0, t4, start);
  113338. },
  113339. expectIdentifier$1(text) {
  113340. return this.expectIdentifier$2$name(text, null);
  113341. },
  113342. rawText$1(consumer) {
  113343. var t1 = this.scanner,
  113344. start = t1._string_scanner$_position;
  113345. consumer.call$0();
  113346. return t1.substring$1(0, start);
  113347. },
  113348. spanFrom$1(state) {
  113349. var span = this.scanner.spanFrom$1(state);
  113350. return this._parser1$_interpolationMap == null ? span : new A.LazyFileSpan0(new A.Parser_spanFrom_closure0(this, span));
  113351. },
  113352. error$3(_, message, span, trace) {
  113353. var exception = new A.StringScannerException(this.scanner.string, message, span);
  113354. if (trace == null)
  113355. throw A.wrapException(exception);
  113356. else
  113357. A.throwWithTrace0(exception, this.get$error(this), trace);
  113358. },
  113359. error$2(_, message, span) {
  113360. return this.error$3(0, message, span, null);
  113361. },
  113362. withErrorMessage$1$2(message, callback) {
  113363. var error, stackTrace, t1, exception;
  113364. try {
  113365. t1 = callback.call$0();
  113366. return t1;
  113367. } catch (exception) {
  113368. t1 = A.unwrapException(exception);
  113369. if (type$.SourceSpanFormatException._is(t1)) {
  113370. error = t1;
  113371. stackTrace = A.getTraceFromException(exception);
  113372. t1 = J.get$span$z(error);
  113373. A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  113374. } else
  113375. throw exception;
  113376. }
  113377. },
  113378. withErrorMessage$2(message, callback) {
  113379. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  113380. },
  113381. wrapSpanFormatException$1$1(callback) {
  113382. var error, stackTrace, map, error0, stackTrace0, span, secondarySpans, t1, t2, span0, description, _0_0, error1, stackTrace1, span1, t3, exception, t4, _this = this,
  113383. _s8_ = "expected";
  113384. try {
  113385. try {
  113386. t3 = callback.call$0();
  113387. return t3;
  113388. } catch (exception) {
  113389. t3 = A.unwrapException(exception);
  113390. if (type$.SourceSpanFormatException._is(t3)) {
  113391. error = t3;
  113392. stackTrace = A.getTraceFromException(exception);
  113393. map = _this._parser1$_interpolationMap;
  113394. if (map == null)
  113395. throw exception;
  113396. A.throwWithTrace0(map.mapException$1(error), error, stackTrace);
  113397. } else
  113398. throw exception;
  113399. }
  113400. } catch (exception) {
  113401. t3 = A.unwrapException(exception);
  113402. if (type$.MultiSourceSpanFormatException._is(t3)) {
  113403. error0 = t3;
  113404. stackTrace0 = A.getTraceFromException(exception);
  113405. span = J.get$span$z(error0);
  113406. t3 = type$.FileSpan;
  113407. t4 = type$.String;
  113408. secondarySpans = error0.get$secondarySpans().cast$2$0(0, t3, t4);
  113409. if (A.startsWithIgnoreCase0(error0._span_exception$_message, _s8_)) {
  113410. span = _this._parser1$_adjustExceptionSpan$1(span);
  113411. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  113412. for (t3 = A.MapExtensions_get_pairs0(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  113413. t2 = t3.get$current(t3);
  113414. span0 = null;
  113415. description = null;
  113416. _0_0 = t2;
  113417. span0 = _0_0._0;
  113418. description = _0_0._1;
  113419. J.$indexSet$ax(t1, _this._parser1$_adjustExceptionSpan$1(span0), description);
  113420. }
  113421. secondarySpans = t1;
  113422. }
  113423. A.throwWithTrace0(A.MultiSpanSassFormatException$0(error0._span_exception$_message, span, error0.get$primaryLabel(), secondarySpans, null), error0, stackTrace0);
  113424. } else if (type$.SourceSpanFormatException._is(t3)) {
  113425. error1 = t3;
  113426. stackTrace1 = A.getTraceFromException(exception);
  113427. span1 = J.get$span$z(error1);
  113428. if (A.startsWithIgnoreCase0(error1._span_exception$_message, _s8_))
  113429. span1 = _this._parser1$_adjustExceptionSpan$1(span1);
  113430. t1 = error1._span_exception$_message;
  113431. t2 = span1;
  113432. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, t1, t2), error1, stackTrace1);
  113433. } else
  113434. throw exception;
  113435. }
  113436. },
  113437. wrapSpanFormatException$1(callback) {
  113438. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  113439. },
  113440. _parser1$_adjustExceptionSpan$1(span) {
  113441. var start, t1;
  113442. if (span.get$length(span) > 0)
  113443. return span;
  113444. start = this._parser1$_firstNewlineBefore$1(span.get$start(span));
  113445. if (start.$eq(0, span.get$start(span)))
  113446. t1 = span;
  113447. else {
  113448. t1 = start.offset;
  113449. t1 = A._FileSpan$(start.file, t1, t1);
  113450. }
  113451. return t1;
  113452. },
  113453. _parser1$_firstNewlineBefore$1($location) {
  113454. var lastNewline, codeUnit,
  113455. t1 = $location.file,
  113456. t2 = $location.offset,
  113457. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  113458. index = t2 - 1;
  113459. for (lastNewline = null; index >= 0;) {
  113460. codeUnit = text.charCodeAt(index);
  113461. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  113462. if (lastNewline == null)
  113463. t1 = $location;
  113464. else {
  113465. t2 = new A.FileLocation(t1, lastNewline);
  113466. t2.FileLocation$_$2(t1, lastNewline);
  113467. t1 = t2;
  113468. }
  113469. return t1;
  113470. }
  113471. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  113472. lastNewline = index;
  113473. --index;
  113474. }
  113475. return $location;
  113476. }
  113477. };
  113478. A.Parser__parseIdentifier_closure0.prototype = {
  113479. call$0() {
  113480. var t1 = this.$this,
  113481. result = t1.identifier$0();
  113482. t1.scanner.expectDone$0();
  113483. return result;
  113484. },
  113485. $signature: 32
  113486. };
  113487. A.Parser_escape_closure0.prototype = {
  113488. call$1(char) {
  113489. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  113490. },
  113491. $signature: 30
  113492. };
  113493. A.Parser_scanIdentChar_matches0.prototype = {
  113494. call$1(actual) {
  113495. var t1 = this.char;
  113496. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
  113497. },
  113498. $signature: 48
  113499. };
  113500. A.Parser_spanFrom_closure0.prototype = {
  113501. call$0() {
  113502. var t1 = this.$this._parser1$_interpolationMap;
  113503. if (t1 == null)
  113504. t1 = type$.InterpolationMap_2._as(t1);
  113505. return t1.mapSpan$1(this.span);
  113506. },
  113507. $signature: 27
  113508. };
  113509. A.PlaceholderSelector0.prototype = {
  113510. accept$1$1(visitor) {
  113511. return visitor.visitPlaceholderSelector$1(this);
  113512. },
  113513. accept$1(visitor) {
  113514. return this.accept$1$1(visitor, type$.dynamic);
  113515. },
  113516. addSuffix$1(suffix) {
  113517. return new A.PlaceholderSelector0(this.name + suffix, this.span);
  113518. },
  113519. $eq(_, other) {
  113520. if (other == null)
  113521. return false;
  113522. return other instanceof A.PlaceholderSelector0 && other.name === this.name;
  113523. },
  113524. get$hashCode(_) {
  113525. return B.JSString_methods.get$hashCode(this.name);
  113526. }
  113527. };
  113528. A.PlainCssCallable0.prototype = {
  113529. $eq(_, other) {
  113530. if (other == null)
  113531. return false;
  113532. return other instanceof A.PlainCssCallable0 && this.name === other.name;
  113533. },
  113534. get$hashCode(_) {
  113535. return B.JSString_methods.get$hashCode(this.name);
  113536. },
  113537. $isAsyncCallable0: 1,
  113538. $isCallable: 1,
  113539. get$name(receiver) {
  113540. return this.name;
  113541. }
  113542. };
  113543. A.PrefixedMapView0.prototype = {
  113544. get$keys(_) {
  113545. return new A._PrefixedKeys0(this);
  113546. },
  113547. get$length(_) {
  113548. var t1 = this._prefixed_map_view0$_map;
  113549. return t1.get$length(t1);
  113550. },
  113551. get$isEmpty(_) {
  113552. var t1 = this._prefixed_map_view0$_map;
  113553. return t1.get$isEmpty(t1);
  113554. },
  113555. get$isNotEmpty(_) {
  113556. var t1 = this._prefixed_map_view0$_map;
  113557. return t1.get$isNotEmpty(t1);
  113558. },
  113559. $index(_, key) {
  113560. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefixed_map_view0$_prefix) ? this._prefixed_map_view0$_map.$index(0, J.substring$1$s(key, this._prefixed_map_view0$_prefix.length)) : null;
  113561. },
  113562. containsKey$1(key) {
  113563. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefixed_map_view0$_prefix) && this._prefixed_map_view0$_map.containsKey$1(J.substring$1$s(key, this._prefixed_map_view0$_prefix.length));
  113564. }
  113565. };
  113566. A._PrefixedKeys0.prototype = {
  113567. get$length(_) {
  113568. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  113569. return t1.get$length(t1);
  113570. },
  113571. get$iterator(_) {
  113572. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  113573. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
  113574. return t1.get$iterator(t1);
  113575. },
  113576. contains$1(_, key) {
  113577. return this._prefixed_map_view0$_view.containsKey$1(key);
  113578. }
  113579. };
  113580. A._PrefixedKeys_iterator_closure0.prototype = {
  113581. call$1(key) {
  113582. return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
  113583. },
  113584. $signature: 6
  113585. };
  113586. A.ProphotoRgbColorSpace0.prototype = {
  113587. get$isBoundedInternal() {
  113588. return true;
  113589. },
  113590. toLinear$1(channel) {
  113591. var abs = Math.abs(channel);
  113592. return abs <= 0.03125 ? channel / 16 : J.get$sign$in(channel) * Math.pow(abs, 1.8);
  113593. },
  113594. fromLinear$1(channel) {
  113595. var abs = Math.abs(channel);
  113596. return abs >= 0.001953125 ? J.get$sign$in(channel) * Math.pow(abs, 0.5555555555555556) : 16 * channel;
  113597. },
  113598. transformationMatrix$1(dest) {
  113599. var t1;
  113600. $label0$0: {
  113601. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  113602. t1 = $.$get$linearProphotoRgbToLinearSrgb0();
  113603. break $label0$0;
  113604. }
  113605. if (B.A98RgbColorSpace_lf20 === dest) {
  113606. t1 = $.$get$linearProphotoRgbToLinearA98Rgb0();
  113607. break $label0$0;
  113608. }
  113609. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  113610. t1 = $.$get$linearProphotoRgbToLinearDisplayP30();
  113611. break $label0$0;
  113612. }
  113613. if (B.Rec2020ColorSpace_6oo0 === dest) {
  113614. t1 = $.$get$linearProphotoRgbToLinearRec20200();
  113615. break $label0$0;
  113616. }
  113617. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  113618. t1 = $.$get$linearProphotoRgbToXyzD650();
  113619. break $label0$0;
  113620. }
  113621. if (B.XyzD50ColorSpace_2OB0 === dest) {
  113622. t1 = $.$get$linearProphotoRgbToXyzD500();
  113623. break $label0$0;
  113624. }
  113625. if (B.LmsColorSpace_Os30 === dest) {
  113626. t1 = $.$get$linearProphotoRgbToLms0();
  113627. break $label0$0;
  113628. }
  113629. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  113630. break $label0$0;
  113631. }
  113632. return t1;
  113633. }
  113634. };
  113635. A.PseudoSelector0.prototype = {
  113636. get$isHostContext() {
  113637. return this.isClass && this.name === "host-context" && this.selector != null;
  113638. },
  113639. get$hasComplicatedSuperselectorSemantics() {
  113640. return !this.isClass || this.selector != null;
  113641. },
  113642. get$specificity() {
  113643. var result, _this = this,
  113644. value = _this._pseudo$__PseudoSelector_specificity_FI;
  113645. if (value === $) {
  113646. result = new A.PseudoSelector_specificity_closure0(_this).call$0();
  113647. _this._pseudo$__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  113648. _this._pseudo$__PseudoSelector_specificity_FI = result;
  113649. value = result;
  113650. }
  113651. return value;
  113652. },
  113653. withSelector$1(selector) {
  113654. var _this = this;
  113655. return A.PseudoSelector$0(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  113656. },
  113657. addSuffix$1(suffix) {
  113658. var _this = this;
  113659. if (_this.argument != null || _this.selector != null)
  113660. _this.super$SimpleSelector$addSuffix0(suffix);
  113661. return A.PseudoSelector$0(_this.name + suffix, _this.span, null, !_this.isClass, null);
  113662. },
  113663. unify$1(compound) {
  113664. var other, result, t2, addedThis, _i, simple, _this = this,
  113665. t1 = _this.name;
  113666. if (t1 === "host" || t1 === "host-context") {
  113667. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
  113668. return null;
  113669. } else {
  113670. t1 = false;
  113671. if (compound.length === 1) {
  113672. other = compound[0];
  113673. if (!(other instanceof A.UniversalSelector0)) {
  113674. if (other instanceof A.PseudoSelector0)
  113675. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  113676. } else
  113677. t1 = true;
  113678. } else
  113679. other = null;
  113680. if (t1)
  113681. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  113682. }
  113683. if (B.JSArray_methods.contains$1(compound, _this))
  113684. return compound;
  113685. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  113686. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  113687. simple = compound[_i];
  113688. if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
  113689. if (t2)
  113690. return null;
  113691. result.push(_this);
  113692. addedThis = true;
  113693. }
  113694. result.push(simple);
  113695. }
  113696. if (!addedThis)
  113697. result.push(_this);
  113698. return result;
  113699. },
  113700. isSuperselector$1(other) {
  113701. var selector, t1, t2, _this = this;
  113702. if (_this.super$SimpleSelector$isSuperselector0(other))
  113703. return true;
  113704. selector = _this.selector;
  113705. if (selector == null)
  113706. return _this.$eq(0, other);
  113707. if (other instanceof A.PseudoSelector0 && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  113708. t1 = A.NullableExtension_andThen0(other.selector, selector.get$isSuperselector());
  113709. return t1 == null ? false : t1;
  113710. }
  113711. t1 = type$.JSArray_SimpleSelector_2;
  113712. t2 = _this.span;
  113713. return A.compoundIsSuperselector0(A.CompoundSelector$0(A._setArrayType([_this], t1), t2), A.CompoundSelector$0(A._setArrayType([other], t1), t2), null);
  113714. },
  113715. accept$1$1(visitor) {
  113716. return visitor.visitPseudoSelector$1(this);
  113717. },
  113718. accept$1(visitor) {
  113719. return this.accept$1$1(visitor, type$.dynamic);
  113720. },
  113721. $eq(_, other) {
  113722. var _this = this;
  113723. if (other == null)
  113724. return false;
  113725. return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  113726. },
  113727. get$hashCode(_) {
  113728. var _this = this,
  113729. t1 = B.JSString_methods.get$hashCode(_this.name),
  113730. t2 = !_this.isClass ? 519018 : 218159;
  113731. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  113732. }
  113733. };
  113734. A.PseudoSelector_specificity_closure0.prototype = {
  113735. call$0() {
  113736. var selector, t2,
  113737. t1 = this.$this;
  113738. if (!t1.isClass)
  113739. return 1;
  113740. selector = t1.selector;
  113741. if (selector == null)
  113742. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  113743. switch (t1.normalizedName) {
  113744. case "where":
  113745. return 0;
  113746. case "is":
  113747. case "not":
  113748. case "has":
  113749. case "matches":
  113750. t1 = selector.components;
  113751. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  113752. case "nth-child":
  113753. case "nth-last-child":
  113754. t1 = A.SimpleSelector0.prototype.get$specificity.call(t1);
  113755. t2 = selector.components;
  113756. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  113757. default:
  113758. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  113759. }
  113760. },
  113761. $signature: 10
  113762. };
  113763. A.PseudoSelector_specificity__closure1.prototype = {
  113764. call$1(component) {
  113765. return component.get$specificity();
  113766. },
  113767. $signature: 217
  113768. };
  113769. A.PseudoSelector_specificity__closure2.prototype = {
  113770. call$1(component) {
  113771. return component.get$specificity();
  113772. },
  113773. $signature: 217
  113774. };
  113775. A.PseudoSelector_unify_closure0.prototype = {
  113776. call$1(simple) {
  113777. var t1;
  113778. if (simple instanceof A.PseudoSelector0)
  113779. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  113780. else
  113781. t1 = false;
  113782. return t1;
  113783. },
  113784. $signature: 14
  113785. };
  113786. A.PublicMemberMapView0.prototype = {
  113787. get$keys(_) {
  113788. var t1 = this._public_member_map_view0$_inner;
  113789. return J.where$1$ax(t1.get$keys(t1), A.utils1__isPublic$closure());
  113790. },
  113791. containsKey$1(key) {
  113792. return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
  113793. },
  113794. $index(_, key) {
  113795. if (typeof key == "string" && A.isPublic0(key))
  113796. return this._public_member_map_view0$_inner.$index(0, key);
  113797. return null;
  113798. }
  113799. };
  113800. A.QualifiedName0.prototype = {
  113801. $eq(_, other) {
  113802. if (other == null)
  113803. return false;
  113804. return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
  113805. },
  113806. get$hashCode(_) {
  113807. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  113808. },
  113809. toString$0(_) {
  113810. var t1 = this.namespace,
  113811. t2 = this.name;
  113812. return t1 == null ? t2 : t1 + "|" + t2;
  113813. }
  113814. };
  113815. A.Rec2020ColorSpace0.prototype = {
  113816. get$isBoundedInternal() {
  113817. return true;
  113818. },
  113819. toLinear$1(channel) {
  113820. var abs = Math.abs(channel);
  113821. return abs < 0.08124285829863151 ? channel / 4.5 : J.get$sign$in(channel) * Math.pow((abs + 1.09929682680944 - 1) / 1.09929682680944, 2.2222222222222223);
  113822. },
  113823. fromLinear$1(channel) {
  113824. var abs = Math.abs(channel);
  113825. return abs > 0.018053968510807 ? J.get$sign$in(channel) * (1.09929682680944 * Math.pow(abs, 0.45) - 0.09929682680944008) : 4.5 * channel;
  113826. },
  113827. transformationMatrix$1(dest) {
  113828. var t1;
  113829. $label0$0: {
  113830. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  113831. t1 = $.$get$linearRec2020ToLinearSrgb0();
  113832. break $label0$0;
  113833. }
  113834. if (B.A98RgbColorSpace_lf20 === dest) {
  113835. t1 = $.$get$linearRec2020ToLinearA98Rgb0();
  113836. break $label0$0;
  113837. }
  113838. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  113839. t1 = $.$get$linearRec2020ToLinearDisplayP30();
  113840. break $label0$0;
  113841. }
  113842. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  113843. t1 = $.$get$linearRec2020ToLinearProphotoRgb0();
  113844. break $label0$0;
  113845. }
  113846. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  113847. t1 = $.$get$linearRec2020ToXyzD650();
  113848. break $label0$0;
  113849. }
  113850. if (B.XyzD50ColorSpace_2OB0 === dest) {
  113851. t1 = $.$get$linearRec2020ToXyzD500();
  113852. break $label0$0;
  113853. }
  113854. if (B.LmsColorSpace_Os30 === dest) {
  113855. t1 = $.$get$linearRec2020ToLms0();
  113856. break $label0$0;
  113857. }
  113858. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  113859. break $label0$0;
  113860. }
  113861. return t1;
  113862. }
  113863. };
  113864. A.JSClass0.prototype = {};
  113865. A.JSClassExtension_setCustomInspect_closure.prototype = {
  113866. call$4($self, _, __, ___) {
  113867. return this.inspect.call$1($self);
  113868. },
  113869. call$3($self, _, __) {
  113870. return this.call$4($self, _, __, null);
  113871. },
  113872. "call*": "call$4",
  113873. $requiredArgCount: 3,
  113874. $defaultValues() {
  113875. return [null];
  113876. },
  113877. $signature: 562
  113878. };
  113879. A.JSClassExtension_get_defineStaticMethod_closure.prototype = {
  113880. call$2($name, body) {
  113881. this._this[$name] = A.allowInteropNamed($name, body);
  113882. return null;
  113883. },
  113884. $signature: 135
  113885. };
  113886. A.JSClassExtension_get_defineMethod_closure.prototype = {
  113887. call$2($name, body) {
  113888. J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
  113889. return null;
  113890. },
  113891. $signature: 135
  113892. };
  113893. A.JSClassExtension_get_defineGetter_closure.prototype = {
  113894. call$2($name, body) {
  113895. A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
  113896. return null;
  113897. },
  113898. $signature: 135
  113899. };
  113900. A.RenderContext0.prototype = {};
  113901. A.RenderContextOptions0.prototype = {};
  113902. A.RenderContextResult0.prototype = {};
  113903. A.RenderContextResultStats0.prototype = {};
  113904. A.RenderOptions.prototype = {};
  113905. A.RenderResult.prototype = {};
  113906. A.RenderResultStats.prototype = {};
  113907. A.ReplaceExpressionVisitor0.prototype = {
  113908. visitBinaryOperationExpression$1(_, node) {
  113909. return new A.BinaryOperationExpression0(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  113910. },
  113911. visitBooleanExpression$1(_, node) {
  113912. return node;
  113913. },
  113914. visitColorExpression$1(_, node) {
  113915. return node;
  113916. },
  113917. visitFunctionExpression$1(_, node) {
  113918. var t1 = node.originalName,
  113919. t2 = this.visitArgumentList$1(node.$arguments);
  113920. return new A.FunctionExpression0(node.namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, node.span);
  113921. },
  113922. visitInterpolatedFunctionExpression$1(_, node) {
  113923. return new A.InterpolatedFunctionExpression0(this.visitInterpolation$1(node.name), this.visitArgumentList$1(node.$arguments), node.span);
  113924. },
  113925. visitIfExpression$1(_, node) {
  113926. return new A.IfExpression0(this.visitArgumentList$1(node.$arguments), node.span);
  113927. },
  113928. visitListExpression$1(_, node) {
  113929. var t1 = node.contents;
  113930. 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);
  113931. },
  113932. visitMapExpression$1(_, node) {
  113933. var t2, t3, _i, t4,
  113934. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression_2);
  113935. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  113936. t4 = t2[_i];
  113937. t1.push(new A._Record_2(t4._0.accept$1(this), t4._1.accept$1(this)));
  113938. }
  113939. return new A.MapExpression0(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression_2), node.span);
  113940. },
  113941. visitNullExpression$1(_, node) {
  113942. return node;
  113943. },
  113944. visitNumberExpression$1(_, node) {
  113945. return node;
  113946. },
  113947. visitParenthesizedExpression$1(_, node) {
  113948. return new A.ParenthesizedExpression0(node.expression.accept$1(this), node.span);
  113949. },
  113950. visitSelectorExpression$1(_, node) {
  113951. return node;
  113952. },
  113953. visitStringExpression$1(_, node) {
  113954. return new A.StringExpression0(this.visitInterpolation$1(node.text), node.hasQuotes);
  113955. },
  113956. visitSupportsExpression$1(_, node) {
  113957. return new A.SupportsExpression0(this.visitSupportsCondition$1(node.condition));
  113958. },
  113959. visitUnaryOperationExpression$1(_, node) {
  113960. return new A.UnaryOperationExpression0(node.operator, node.operand.accept$1(this), node.span);
  113961. },
  113962. visitValueExpression$1(_, node) {
  113963. return node;
  113964. },
  113965. visitVariableExpression$1(_, node) {
  113966. return node;
  113967. },
  113968. visitArgumentList$1(invocation) {
  113969. var t5, t6, _this = this,
  113970. t1 = invocation.positional,
  113971. t2 = type$.String,
  113972. t3 = type$.Expression_2,
  113973. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  113974. for (t5 = A.MapExtensions_get_pairs0(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  113975. t6 = t5.get$current(t5);
  113976. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  113977. }
  113978. t5 = invocation.rest;
  113979. t5 = t5 == null ? null : t5.accept$1(_this);
  113980. t6 = invocation.keywordRest;
  113981. t6 = t6 == null ? null : t6.accept$1(_this);
  113982. 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);
  113983. },
  113984. visitSupportsCondition$1(condition) {
  113985. var _this = this;
  113986. if (condition instanceof A.SupportsOperation0)
  113987. return A.SupportsOperation$0(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  113988. else if (condition instanceof A.SupportsNegation0)
  113989. return new A.SupportsNegation0(_this.visitSupportsCondition$1(condition.condition), condition.span);
  113990. else if (condition instanceof A.SupportsInterpolation0)
  113991. return new A.SupportsInterpolation0(condition.expression.accept$1(_this), condition.span);
  113992. else if (condition instanceof A.SupportsDeclaration0)
  113993. return new A.SupportsDeclaration0(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  113994. else
  113995. throw A.wrapException(A.SassException$0("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  113996. },
  113997. visitInterpolation$1(interpolation) {
  113998. var t1 = interpolation.contents;
  113999. 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);
  114000. }
  114001. };
  114002. A.ReplaceExpressionVisitor_visitListExpression_closure0.prototype = {
  114003. call$1(item) {
  114004. return item.accept$1(this.$this);
  114005. },
  114006. $signature: 189
  114007. };
  114008. A.ReplaceExpressionVisitor_visitArgumentList_closure0.prototype = {
  114009. call$1(expression) {
  114010. return expression.accept$1(this.$this);
  114011. },
  114012. $signature: 189
  114013. };
  114014. A.ReplaceExpressionVisitor_visitInterpolation_closure0.prototype = {
  114015. call$1(node) {
  114016. return node instanceof A.Expression0 ? node.accept$1(this.$this) : node;
  114017. },
  114018. $signature: 74
  114019. };
  114020. A.ImporterResult0.prototype = {
  114021. get$sourceMapUrl(_) {
  114022. var t1 = this._result$_sourceMapUrl;
  114023. return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
  114024. }
  114025. };
  114026. A.ReturnRule0.prototype = {
  114027. accept$1$1(visitor) {
  114028. return visitor.visitReturnRule$1(0, this);
  114029. },
  114030. accept$1(visitor) {
  114031. return this.accept$1$1(visitor, type$.dynamic);
  114032. },
  114033. toString$0(_) {
  114034. return "@return " + this.expression.toString$0(0) + ";";
  114035. },
  114036. get$span(receiver) {
  114037. return this.span;
  114038. }
  114039. };
  114040. A.RgbColorSpace0.prototype = {
  114041. get$isBoundedInternal() {
  114042. return true;
  114043. },
  114044. get$isLegacyInternal() {
  114045. return true;
  114046. },
  114047. convert$5(dest, red, green, blue, alpha) {
  114048. var t1 = red == null ? null : red / 255,
  114049. t2 = green == null ? null : green / 255;
  114050. return B.SrgbColorSpace_thf0.convert$5(dest, t1, t2, blue == null ? null : blue / 255, alpha);
  114051. },
  114052. toLinear$1(channel) {
  114053. return A.srgbAndDisplayP3ToLinear0(channel / 255);
  114054. },
  114055. fromLinear$1(channel) {
  114056. return A.srgbAndDisplayP3FromLinear0(channel) * 255;
  114057. }
  114058. };
  114059. A.SassParser0.prototype = {
  114060. get$currentIndentation() {
  114061. return this._sass0$_currentIndentation;
  114062. },
  114063. get$indented() {
  114064. return true;
  114065. },
  114066. styleRuleSelector$0() {
  114067. var t4,
  114068. t1 = this.scanner,
  114069. t2 = t1._string_scanner$_position,
  114070. t3 = new A.StringBuffer(""),
  114071. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  114072. do {
  114073. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  114074. t4 = A.Primitives_stringFromCharCode(10);
  114075. t4 = t3._contents += t4;
  114076. } 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()));
  114077. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  114078. },
  114079. expectStatementSeparator$1($name) {
  114080. var t1, _this = this,
  114081. trailingSemicolon = _this._sass0$_tryTrailingSemicolon$0();
  114082. if (!_this.atEndOfStatement$0())
  114083. _this._sass0$_expectNewline$1$trailingSemicolon(trailingSemicolon);
  114084. if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
  114085. return;
  114086. t1 = $name == null ? "here" : "beneath a " + $name;
  114087. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._sass0$_nextIndentationEnd.position);
  114088. },
  114089. expectStatementSeparator$0() {
  114090. return this.expectStatementSeparator$1(null);
  114091. },
  114092. atEndOfStatement$0() {
  114093. var t1 = this.scanner.peekChar$0();
  114094. if (t1 == null)
  114095. t1 = null;
  114096. else
  114097. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  114098. return t1 !== false;
  114099. },
  114100. lookingAtChildren$0() {
  114101. return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
  114102. },
  114103. importArgument$0() {
  114104. var url, span, innerError, stackTrace, t1, _0_0, start, next, t2, exception, _this = this;
  114105. $label0$0: {
  114106. t1 = _this.scanner;
  114107. _0_0 = t1.peekChar$0();
  114108. if (117 === _0_0 || 85 === _0_0) {
  114109. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114110. if (_this.scanIdentifier$1("url"))
  114111. if (t1.scanChar$1(40)) {
  114112. t1.set$state(start);
  114113. return _this.super$StylesheetParser$importArgument0();
  114114. } else
  114115. t1.set$state(start);
  114116. break $label0$0;
  114117. }
  114118. if (39 === _0_0 || 34 === _0_0)
  114119. return _this.super$StylesheetParser$importArgument0();
  114120. }
  114121. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114122. next = t1.peekChar$0();
  114123. while (true) {
  114124. t2 = false;
  114125. if (next != null)
  114126. if (next !== 44)
  114127. if (next !== 59)
  114128. t2 = !(next === 10 || next === 13 || next === 12);
  114129. if (!t2)
  114130. break;
  114131. t1.readChar$0();
  114132. next = t1.peekChar$0();
  114133. }
  114134. url = t1.substring$1(0, start.position);
  114135. span = t1.spanFrom$1(start);
  114136. if (_this.isPlainImportUrl$1(url))
  114137. 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);
  114138. else
  114139. try {
  114140. t1 = _this.parseImportUrl$1(url);
  114141. return new A.DynamicImport0(t1, span);
  114142. } catch (exception) {
  114143. t1 = A.unwrapException(exception);
  114144. if (type$.FormatException._is(t1)) {
  114145. innerError = t1;
  114146. stackTrace = A.getTraceFromException(exception);
  114147. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  114148. } else
  114149. throw exception;
  114150. }
  114151. },
  114152. scanElse$1(ifIndentation) {
  114153. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  114154. if (_this._sass0$_peekIndentation$0() !== ifIndentation)
  114155. return false;
  114156. t1 = _this.scanner;
  114157. t2 = t1._string_scanner$_position;
  114158. startIndentation = _this._sass0$_currentIndentation;
  114159. startNextIndentation = _this._sass0$_nextIndentation;
  114160. startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
  114161. _this._sass0$_readIndentation$0();
  114162. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  114163. return true;
  114164. t1.set$state(new A._SpanScannerState(t1, t2));
  114165. _this._sass0$_currentIndentation = startIndentation;
  114166. _this._sass0$_nextIndentation = startNextIndentation;
  114167. _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
  114168. return false;
  114169. },
  114170. children$1(_, child) {
  114171. var children = A._setArrayType([], type$.JSArray_Statement_2);
  114172. this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
  114173. return children;
  114174. },
  114175. statements$1(statement) {
  114176. var statements, t2, _1_0,
  114177. t1 = this.scanner,
  114178. _0_0 = t1.peekChar$0();
  114179. if (9 === _0_0 || 32 === _0_0)
  114180. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  114181. statements = A._setArrayType([], type$.JSArray_Statement_2);
  114182. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  114183. _1_0 = this._sass0$_child$1(statement);
  114184. if (_1_0 != null)
  114185. statements.push(_1_0);
  114186. this._sass0$_readIndentation$0();
  114187. }
  114188. return statements;
  114189. },
  114190. _sass0$_child$1(child) {
  114191. var _0_0, _this = this,
  114192. t1 = _this.scanner,
  114193. _1_0 = t1.peekChar$0();
  114194. $label0$0: {
  114195. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  114196. t1 = null;
  114197. break $label0$0;
  114198. }
  114199. if (36 === _1_0) {
  114200. t1 = _this.variableDeclarationWithoutNamespace$0();
  114201. break $label0$0;
  114202. }
  114203. if (47 === _1_0) {
  114204. _0_0 = t1.peekChar$1(1);
  114205. $label1$1: {
  114206. if (47 === _0_0) {
  114207. t1 = _this._sass0$_silentComment$0();
  114208. break $label1$1;
  114209. }
  114210. if (42 === _0_0) {
  114211. t1 = _this._sass0$_loudComment$0();
  114212. break $label1$1;
  114213. }
  114214. t1 = child.call$0();
  114215. break $label1$1;
  114216. }
  114217. break $label0$0;
  114218. }
  114219. t1 = child.call$0();
  114220. break $label0$0;
  114221. }
  114222. return t1;
  114223. },
  114224. _sass0$_silentComment$0() {
  114225. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  114226. t1 = _this.scanner,
  114227. t2 = t1._string_scanner$_position;
  114228. t1.expect$1("//");
  114229. buffer = new A.StringBuffer("");
  114230. parentIndentation = _this._sass0$_currentIndentation;
  114231. t3 = t1.string.length;
  114232. t4 = 1 + parentIndentation;
  114233. t5 = 2 + parentIndentation;
  114234. $label0$0:
  114235. do {
  114236. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  114237. for (i = commentPrefix.length; true;) {
  114238. t6 = buffer._contents += commentPrefix;
  114239. for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
  114240. t6 += A.Primitives_stringFromCharCode(32);
  114241. buffer._contents = t6;
  114242. }
  114243. while (true) {
  114244. if (t1._string_scanner$_position !== t3) {
  114245. t7 = t1.peekChar$0();
  114246. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  114247. } else
  114248. t7 = false;
  114249. if (!t7)
  114250. break;
  114251. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  114252. buffer._contents = t6;
  114253. }
  114254. buffer._contents = t6 + "\n";
  114255. if (_this._sass0$_peekIndentation$0() < parentIndentation)
  114256. break $label0$0;
  114257. if (_this._sass0$_peekIndentation$0() === parentIndentation) {
  114258. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  114259. _this._sass0$_readIndentation$0();
  114260. break;
  114261. }
  114262. _this._sass0$_readIndentation$0();
  114263. }
  114264. } while (t1.scan$1("//"));
  114265. t3 = buffer._contents;
  114266. return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  114267. },
  114268. _sass0$_loudComment$0() {
  114269. var t2, t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _1_0, _0_0, endPosition, span, _this = this,
  114270. t1 = _this.scanner,
  114271. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114272. t1.expect$1("/*");
  114273. t2 = new A.StringBuffer("");
  114274. t3 = A._setArrayType([], type$.JSArray_Object);
  114275. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  114276. buffer = new A.InterpolationBuffer0(t2, t3, t4);
  114277. t2._contents = "" + "/*";
  114278. parentIndentation = _this._sass0$_currentIndentation;
  114279. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  114280. if (first) {
  114281. beginningOfComment = t1._string_scanner$_position;
  114282. _this.spaces$0();
  114283. t7 = t1.peekChar$0();
  114284. if (t7 === 10 || t7 === 13 || t7 === 12) {
  114285. _this._sass0$_readIndentation$0();
  114286. t7 = A.Primitives_stringFromCharCode(32);
  114287. t2._contents += t7;
  114288. } else {
  114289. end = t1._string_scanner$_position;
  114290. t2._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  114291. }
  114292. } else {
  114293. t7 = t2._contents += "\n";
  114294. t2._contents = t7 + " * ";
  114295. }
  114296. for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
  114297. t7 = A.Primitives_stringFromCharCode(32);
  114298. t2._contents += t7;
  114299. }
  114300. for (; t1._string_scanner$_position !== t6;) {
  114301. _1_0 = t1.peekChar$0();
  114302. if (10 === _1_0 || 13 === _1_0 || 12 === _1_0)
  114303. break;
  114304. if (35 === _1_0) {
  114305. if (t1.peekChar$1(1) === 123) {
  114306. _0_0 = _this.singleInterpolation$0();
  114307. buffer._interpolation_buffer0$_flushText$0();
  114308. t3.push(_0_0._0);
  114309. t4.push(_0_0._1);
  114310. } else {
  114311. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114312. t2._contents += t7;
  114313. }
  114314. continue;
  114315. }
  114316. if (42 === _1_0) {
  114317. if (t1.peekChar$1(1) === 47) {
  114318. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114319. t2._contents += t3;
  114320. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114321. t2._contents += t3;
  114322. endPosition = t1._string_scanner$_position;
  114323. t2 = t1._sourceFile;
  114324. t3 = start.position;
  114325. span = new A._FileSpan(t2, t3, endPosition);
  114326. span._FileSpan$3(t2, t3, endPosition);
  114327. _this.whitespace$1$consumeNewlines(false);
  114328. while (true) {
  114329. t2 = t1.peekChar$0();
  114330. if (!((t2 === 10 || t2 === 13 || t2 === 12) && _this._sass0$_peekIndentation$0() > parentIndentation))
  114331. break;
  114332. for (; _this._sass0$_lookingAtDoubleNewline$0();)
  114333. _this._sass0$_expectNewline$0();
  114334. _this._sass0$_readIndentation$0();
  114335. _this.whitespace$1$consumeNewlines(false);
  114336. }
  114337. if (t1._string_scanner$_position !== t6) {
  114338. t2 = t1.peekChar$0();
  114339. t2 = !(t2 === 10 || t2 === 13 || t2 === 12);
  114340. } else
  114341. t2 = false;
  114342. if (t2) {
  114343. t2 = t1._string_scanner$_position;
  114344. while (true) {
  114345. if (t1._string_scanner$_position !== t6) {
  114346. t3 = t1.peekChar$0();
  114347. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  114348. } else
  114349. t3 = false;
  114350. if (!t3)
  114351. break;
  114352. t1.readChar$0();
  114353. }
  114354. 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));
  114355. } else
  114356. return new A.LoudComment0(buffer.interpolation$1(span));
  114357. } else {
  114358. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114359. t2._contents += t7;
  114360. }
  114361. continue;
  114362. }
  114363. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114364. t2._contents += t7;
  114365. }
  114366. if (_this._sass0$_peekIndentation$0() <= parentIndentation)
  114367. break;
  114368. for (; _this._sass0$_lookingAtDoubleNewline$0();) {
  114369. _this._sass0$_expectNewline$0();
  114370. t7 = t2._contents += "\n";
  114371. t2._contents = t7 + " *";
  114372. }
  114373. _this._sass0$_readIndentation$0();
  114374. }
  114375. return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(start)));
  114376. },
  114377. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  114378. var t1, t2, next, t3;
  114379. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  114380. next = t1.peekChar$0();
  114381. if (consumeNewlines)
  114382. t3 = !(next === 32 || next === 9 || next === 10 || next === 13 || next === 12);
  114383. else
  114384. t3 = !(next === 32 || next === 9);
  114385. if (t3)
  114386. break;
  114387. t1.readChar$0();
  114388. }
  114389. },
  114390. _sass0$_expectNewline$1$trailingSemicolon(trailingSemicolon) {
  114391. var t1 = this.scanner,
  114392. _0_0 = t1.peekChar$0();
  114393. if (13 === _0_0) {
  114394. t1.readChar$0();
  114395. if (t1.peekChar$0() === 10)
  114396. t1.readChar$0();
  114397. return;
  114398. }
  114399. if (10 === _0_0 || 12 === _0_0) {
  114400. t1.readChar$0();
  114401. return;
  114402. }
  114403. t1.error$1(0, trailingSemicolon ? string$.multip : "expected newline.");
  114404. },
  114405. _sass0$_expectNewline$0() {
  114406. return this._sass0$_expectNewline$1$trailingSemicolon(false);
  114407. },
  114408. _sass0$_lookingAtDoubleNewline$0() {
  114409. var t2, _0_0,
  114410. t1 = this.scanner,
  114411. _1_0 = t1.peekChar$0();
  114412. $label1$1: {
  114413. t2 = false;
  114414. if (13 === _1_0) {
  114415. _0_0 = t1.peekChar$1(1);
  114416. $label0$0: {
  114417. if (10 === _0_0) {
  114418. t1 = t1.peekChar$1(2);
  114419. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  114420. break $label0$0;
  114421. }
  114422. if (13 === _0_0 || 12 === _0_0) {
  114423. t1 = true;
  114424. break $label0$0;
  114425. }
  114426. t1 = t2;
  114427. break $label0$0;
  114428. }
  114429. break $label1$1;
  114430. }
  114431. if (10 === _1_0 || 12 === _1_0) {
  114432. t1 = t1.peekChar$1(1);
  114433. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  114434. break $label1$1;
  114435. }
  114436. t1 = t2;
  114437. break $label1$1;
  114438. }
  114439. return t1;
  114440. },
  114441. _sass0$_whileIndentedLower$1(body) {
  114442. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  114443. parentIndentation = _this._sass0$_currentIndentation;
  114444. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
  114445. indentation = _this._sass0$_readIndentation$0();
  114446. if (childIndentation == null)
  114447. childIndentation = indentation;
  114448. if (childIndentation !== indentation) {
  114449. t3 = t1._string_scanner$_position;
  114450. t4 = t2.getColumn$1(t3);
  114451. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  114452. }
  114453. body.call$0();
  114454. }
  114455. },
  114456. _sass0$_readIndentation$0() {
  114457. var t1, _this = this,
  114458. currentIndentation = _this._sass0$_nextIndentation;
  114459. if (currentIndentation == null)
  114460. currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
  114461. _this._sass0$_currentIndentation = currentIndentation;
  114462. t1 = _this._sass0$_nextIndentationEnd;
  114463. t1.toString;
  114464. _this.scanner.set$state(t1);
  114465. _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
  114466. return currentIndentation;
  114467. },
  114468. _sass0$_peekIndentation$0() {
  114469. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  114470. _0_0 = _this._sass0$_nextIndentation;
  114471. if (_0_0 != null)
  114472. return _0_0;
  114473. t1 = _this.scanner;
  114474. t2 = t1._string_scanner$_position;
  114475. t3 = t1.string.length;
  114476. if (t2 === t3) {
  114477. _this._sass0$_nextIndentation = 0;
  114478. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  114479. return 0;
  114480. }
  114481. start = new A._SpanScannerState(t1, t2);
  114482. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure1()))
  114483. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  114484. containsTab = A._Cell$();
  114485. containsSpace = A._Cell$();
  114486. nextIndentation = A._Cell$();
  114487. do {
  114488. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  114489. nextIndentation.__late_helper$_value = 0;
  114490. for (; true;) {
  114491. $label0$0: {
  114492. _1_0 = t1.peekChar$0();
  114493. if (32 === _1_0) {
  114494. containsSpace.__late_helper$_value = true;
  114495. break $label0$0;
  114496. }
  114497. if (9 === _1_0) {
  114498. containsTab.__late_helper$_value = true;
  114499. break $label0$0;
  114500. }
  114501. break;
  114502. }
  114503. t2 = nextIndentation.__late_helper$_value;
  114504. if (t2 === nextIndentation)
  114505. A.throwExpression(A.LateError$localNI(""));
  114506. nextIndentation.__late_helper$_value = t2 + 1;
  114507. t1.readChar$0();
  114508. }
  114509. t2 = t1._string_scanner$_position;
  114510. if (t2 === t3) {
  114511. _this._sass0$_nextIndentation = 0;
  114512. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  114513. t1.set$state(start);
  114514. return 0;
  114515. }
  114516. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure2()));
  114517. t2 = containsTab._readLocal$0();
  114518. t3 = containsSpace._readLocal$0();
  114519. if (t2) {
  114520. if (t3) {
  114521. t2 = t1._string_scanner$_position;
  114522. t3 = t1._sourceFile;
  114523. t4 = t3.getColumn$1(t2);
  114524. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  114525. } else if (_this._sass0$_spaces === true) {
  114526. t2 = t1._string_scanner$_position;
  114527. t3 = t1._sourceFile;
  114528. t4 = t3.getColumn$1(t2);
  114529. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  114530. }
  114531. } else if (t3 && _this._sass0$_spaces === false) {
  114532. t2 = t1._string_scanner$_position;
  114533. t3 = t1._sourceFile;
  114534. t4 = t3.getColumn$1(t2);
  114535. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  114536. }
  114537. _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
  114538. if (nextIndentation._readLocal$0() > 0)
  114539. if (_this._sass0$_spaces == null)
  114540. _this._sass0$_spaces = containsSpace._readLocal$0();
  114541. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114542. t1.set$state(start);
  114543. return nextIndentation._readLocal$0();
  114544. },
  114545. _sass0$_tryTrailingSemicolon$0() {
  114546. if (this.scanCharIf$1(new A.SassParser__tryTrailingSemicolon_closure0())) {
  114547. this.whitespace$1$consumeNewlines(false);
  114548. return true;
  114549. }
  114550. return false;
  114551. }
  114552. };
  114553. A.SassParser_styleRuleSelector_closure0.prototype = {
  114554. call$1(char) {
  114555. return char === 10 || char === 13 || char === 12;
  114556. },
  114557. $signature: 30
  114558. };
  114559. A.SassParser_children_closure0.prototype = {
  114560. call$0() {
  114561. var _0_0 = this.$this._sass0$_child$1(this.child);
  114562. if (_0_0 != null)
  114563. this.children.push(_0_0);
  114564. },
  114565. $signature: 0
  114566. };
  114567. A.SassParser__peekIndentation_closure1.prototype = {
  114568. call$1(char) {
  114569. return char === 10 || char === 13 || char === 12;
  114570. },
  114571. $signature: 30
  114572. };
  114573. A.SassParser__peekIndentation_closure2.prototype = {
  114574. call$1(char) {
  114575. return char === 10 || char === 13 || char === 12;
  114576. },
  114577. $signature: 30
  114578. };
  114579. A.SassParser__tryTrailingSemicolon_closure0.prototype = {
  114580. call$1(char) {
  114581. return char === 59;
  114582. },
  114583. $signature: 30
  114584. };
  114585. A._Exports.prototype = {};
  114586. A._wrapMain_closure.prototype = {
  114587. call$1(_) {
  114588. return A._translateReturnValue(this.main.call$0());
  114589. },
  114590. $signature: 93
  114591. };
  114592. A._wrapMain_closure0.prototype = {
  114593. call$1(args) {
  114594. return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
  114595. },
  114596. $signature: 93
  114597. };
  114598. A.ScssParser0.prototype = {
  114599. get$indented() {
  114600. return false;
  114601. },
  114602. get$currentIndentation() {
  114603. return 0;
  114604. },
  114605. styleRuleSelector$0() {
  114606. return this.almostAnyValue$0();
  114607. },
  114608. expectStatementSeparator$1($name) {
  114609. var t1, _0_0;
  114610. this.whitespaceWithoutComments$1$consumeNewlines(true);
  114611. t1 = this.scanner;
  114612. if (t1._string_scanner$_position === t1.string.length)
  114613. return;
  114614. _0_0 = t1.peekChar$0();
  114615. if (59 === _0_0 || 125 === _0_0)
  114616. return;
  114617. t1.expectChar$1(59);
  114618. },
  114619. expectStatementSeparator$0() {
  114620. return this.expectStatementSeparator$1(null);
  114621. },
  114622. atEndOfStatement$0() {
  114623. var next = this.scanner.peekChar$0();
  114624. return next == null || next === 59 || next === 125 || next === 123;
  114625. },
  114626. lookingAtChildren$0() {
  114627. return this.scanner.peekChar$0() === 123;
  114628. },
  114629. scanElse$1(ifIndentation) {
  114630. var t3, _this = this,
  114631. t1 = _this.scanner,
  114632. t2 = t1._string_scanner$_position;
  114633. _this.whitespace$1$consumeNewlines(true);
  114634. t3 = t1._string_scanner$_position;
  114635. if (t1.scanChar$1(64)) {
  114636. if (_this.scanIdentifier$2$caseSensitive("else", true))
  114637. return true;
  114638. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  114639. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_8ki, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3))));
  114640. t1.set$position(t1._string_scanner$_position - 2);
  114641. return true;
  114642. }
  114643. }
  114644. t1.set$state(new A._SpanScannerState(t1, t2));
  114645. return false;
  114646. },
  114647. children$1(_, child) {
  114648. var children, _this = this,
  114649. t1 = _this.scanner;
  114650. t1.expectChar$1(123);
  114651. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114652. children = A._setArrayType([], type$.JSArray_Statement_2);
  114653. for (; true;)
  114654. switch (t1.peekChar$0()) {
  114655. case 36:
  114656. children.push(_this.variableDeclarationWithoutNamespace$0());
  114657. break;
  114658. case 47:
  114659. switch (t1.peekChar$1(1)) {
  114660. case 47:
  114661. children.push(_this._scss0$_silentComment$0());
  114662. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114663. break;
  114664. case 42:
  114665. children.push(_this._scss0$_loudComment$0());
  114666. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114667. break;
  114668. default:
  114669. children.push(child.call$0());
  114670. }
  114671. break;
  114672. case 59:
  114673. t1.readChar$0();
  114674. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114675. break;
  114676. case 125:
  114677. t1.expectChar$1(125);
  114678. return children;
  114679. default:
  114680. children.push(child.call$0());
  114681. }
  114682. },
  114683. statements$1(statement) {
  114684. var t1, t2, _0_0, _1_0, _this = this,
  114685. statements = A._setArrayType([], type$.JSArray_Statement_2);
  114686. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114687. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  114688. switch (t1.peekChar$0()) {
  114689. case 36:
  114690. statements.push(_this.variableDeclarationWithoutNamespace$0());
  114691. break;
  114692. case 47:
  114693. switch (t1.peekChar$1(1)) {
  114694. case 47:
  114695. statements.push(_this._scss0$_silentComment$0());
  114696. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114697. break;
  114698. case 42:
  114699. statements.push(_this._scss0$_loudComment$0());
  114700. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114701. break;
  114702. default:
  114703. _0_0 = statement.call$0();
  114704. if (_0_0 != null)
  114705. statements.push(_0_0);
  114706. }
  114707. break;
  114708. case 59:
  114709. t1.readChar$0();
  114710. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114711. break;
  114712. default:
  114713. _1_0 = statement.call$0();
  114714. if (_1_0 != null)
  114715. statements.push(_1_0);
  114716. }
  114717. return statements;
  114718. },
  114719. _scss0$_silentComment$0() {
  114720. var t2, t3, _this = this,
  114721. t1 = _this.scanner,
  114722. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114723. t1.expect$1("//");
  114724. t2 = t1.string.length;
  114725. do {
  114726. while (true) {
  114727. if (t1._string_scanner$_position !== t2) {
  114728. t3 = t1.readChar$0();
  114729. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  114730. } else
  114731. t3 = false;
  114732. if (!t3)
  114733. break;
  114734. }
  114735. if (t1._string_scanner$_position === t2)
  114736. break;
  114737. _this.spaces$0();
  114738. } while (t1.scan$1("//"));
  114739. if (_this.get$plainCss())
  114740. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  114741. return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  114742. },
  114743. _scss0$_loudComment$0() {
  114744. var t3, t4, t5, buffer, _0_0, t6, endPosition,
  114745. t1 = this.scanner,
  114746. t2 = t1._string_scanner$_position;
  114747. t1.expect$1("/*");
  114748. t3 = new A.StringBuffer("");
  114749. t4 = A._setArrayType([], type$.JSArray_Object);
  114750. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  114751. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  114752. t3._contents = "" + "/*";
  114753. $label0$1:
  114754. for (; true;)
  114755. switch (t1.peekChar$0()) {
  114756. case 35:
  114757. if (t1.peekChar$1(1) === 123) {
  114758. _0_0 = this.singleInterpolation$0();
  114759. buffer._interpolation_buffer0$_flushText$0();
  114760. t4.push(_0_0._0);
  114761. t5.push(_0_0._1);
  114762. } else {
  114763. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114764. t3._contents += t6;
  114765. }
  114766. break;
  114767. case 42:
  114768. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114769. t3._contents += t6;
  114770. if (t1.peekChar$0() !== 47)
  114771. continue $label0$1;
  114772. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114773. t3._contents += t4;
  114774. endPosition = t1._string_scanner$_position;
  114775. t3 = t1._sourceFile;
  114776. t4 = new A._SpanScannerState(t1, t2).position;
  114777. t1 = new A._FileSpan(t3, t4, endPosition);
  114778. t1._FileSpan$3(t3, t4, endPosition);
  114779. return new A.LoudComment0(buffer.interpolation$1(t1));
  114780. case 13:
  114781. t1.readChar$0();
  114782. if (t1.peekChar$0() !== 10) {
  114783. t6 = A.Primitives_stringFromCharCode(10);
  114784. t3._contents += t6;
  114785. }
  114786. break;
  114787. case 12:
  114788. t1.readChar$0();
  114789. t6 = A.Primitives_stringFromCharCode(10);
  114790. t3._contents += t6;
  114791. break;
  114792. default:
  114793. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114794. t3._contents += t6;
  114795. }
  114796. }
  114797. };
  114798. A.Selector0.prototype = {
  114799. assertNotBogus$1$name($name) {
  114800. if (!this.accept$1(B._IsBogusVisitor_true0))
  114801. return;
  114802. A.warnForDeprecation0("$" + $name + ": " + (this.toString$0(0) + string$.x20is_nov), B.Deprecation_SHb);
  114803. },
  114804. toString$0(_) {
  114805. var _null = null,
  114806. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  114807. this.accept$1(visitor);
  114808. return visitor._serialize0$_buffer.toString$0(0);
  114809. },
  114810. $isAstNode0: 1,
  114811. get$span(receiver) {
  114812. return this.span;
  114813. }
  114814. };
  114815. A._IsInvisibleVisitor2.prototype = {
  114816. visitSelectorList$1(list) {
  114817. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  114818. },
  114819. visitComplexSelector$1(complex) {
  114820. var t1;
  114821. if (!this.super$AnySelectorVisitor$visitComplexSelector0(complex))
  114822. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false0);
  114823. else
  114824. t1 = true;
  114825. return t1;
  114826. },
  114827. visitPlaceholderSelector$1(placeholder) {
  114828. return true;
  114829. },
  114830. visitPseudoSelector$1(pseudo) {
  114831. var t1,
  114832. _0_0 = pseudo.selector;
  114833. if (_0_0 != null) {
  114834. if (pseudo.name === "not")
  114835. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true0);
  114836. else
  114837. t1 = this.visitSelectorList$1(_0_0);
  114838. return t1;
  114839. } else
  114840. return false;
  114841. }
  114842. };
  114843. A._IsBogusVisitor0.prototype = {
  114844. visitComplexSelector$1(complex) {
  114845. var t2,
  114846. t1 = complex.components;
  114847. if (t1.length === 0)
  114848. return complex.leadingCombinators.length !== 0;
  114849. else {
  114850. t2 = this.includeLeadingCombinator ? 0 : 1;
  114851. 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));
  114852. }
  114853. },
  114854. visitPseudoSelector$1(pseudo) {
  114855. var selector = pseudo.selector;
  114856. if (selector == null)
  114857. return false;
  114858. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false0) : selector.accept$1(B._IsBogusVisitor_true0);
  114859. }
  114860. };
  114861. A._IsBogusVisitor_visitComplexSelector_closure0.prototype = {
  114862. call$1(component) {
  114863. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  114864. },
  114865. $signature: 56
  114866. };
  114867. A._IsUselessVisitor0.prototype = {
  114868. visitComplexSelector$1(complex) {
  114869. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure0(this));
  114870. },
  114871. visitPseudoSelector$1(pseudo) {
  114872. return pseudo.accept$1(B._IsBogusVisitor_true0);
  114873. }
  114874. };
  114875. A._IsUselessVisitor_visitComplexSelector_closure0.prototype = {
  114876. call$1(component) {
  114877. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  114878. },
  114879. $signature: 56
  114880. };
  114881. A.__IsBogusVisitor_Object_AnySelectorVisitor0.prototype = {};
  114882. A.__IsInvisibleVisitor_Object_AnySelectorVisitor0.prototype = {};
  114883. A.__IsUselessVisitor_Object_AnySelectorVisitor0.prototype = {};
  114884. A.SelectorExpression0.prototype = {
  114885. accept$1$1(visitor) {
  114886. return visitor.visitSelectorExpression$1(0, this);
  114887. },
  114888. accept$1(visitor) {
  114889. return this.accept$1$1(visitor, type$.dynamic);
  114890. },
  114891. toString$0(_) {
  114892. return "&";
  114893. },
  114894. get$span(receiver) {
  114895. return this.span;
  114896. }
  114897. };
  114898. A._nest_closure0.prototype = {
  114899. call$1($arguments) {
  114900. var t1 = {},
  114901. selectors = J.$index$asx($arguments, 0).get$asList();
  114902. if (selectors.length === 0)
  114903. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  114904. t1.first = true;
  114905. 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();
  114906. },
  114907. $signature: 26
  114908. };
  114909. A._nest__closure1.prototype = {
  114910. call$1(selector) {
  114911. var t1 = this._box_0,
  114912. result = A.SassApiValue_assertSelector0(selector, !t1.first, null);
  114913. t1.first = false;
  114914. return result;
  114915. },
  114916. $signature: 215
  114917. };
  114918. A._nest__closure2.prototype = {
  114919. call$2($parent, child) {
  114920. return child.nestWithin$1($parent);
  114921. },
  114922. $signature: 212
  114923. };
  114924. A._append_closure1.prototype = {
  114925. call$1($arguments) {
  114926. var t1,
  114927. selectors = J.$index$asx($arguments, 0).get$asList();
  114928. if (selectors.length === 0)
  114929. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  114930. t1 = A.EvaluationContext_currentOrNull0();
  114931. 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();
  114932. },
  114933. $signature: 26
  114934. };
  114935. A._append__closure1.prototype = {
  114936. call$1(selector) {
  114937. return A.SassApiValue_assertSelector0(selector, false, null);
  114938. },
  114939. $signature: 215
  114940. };
  114941. A._append__closure2.prototype = {
  114942. call$2($parent, child) {
  114943. var t1 = child.components,
  114944. t2 = this.span;
  114945. 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);
  114946. },
  114947. $signature: 212
  114948. };
  114949. A._append___closure0.prototype = {
  114950. call$1(complex) {
  114951. var _0_0, t1, component, rest, newCompound, t2, _null = null;
  114952. if (complex.leadingCombinators.length !== 0)
  114953. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  114954. _0_0 = complex.components;
  114955. t1 = _0_0.length >= 1;
  114956. if (t1) {
  114957. component = _0_0[0];
  114958. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  114959. } else {
  114960. rest = _null;
  114961. component = rest;
  114962. }
  114963. if (!t1)
  114964. throw A.wrapException(A.StateError$("Pattern matching error"));
  114965. newCompound = A._prependParent0(component.selector);
  114966. if (newCompound == null)
  114967. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  114968. t1 = this.span;
  114969. t2 = A._setArrayType([new A.ComplexSelectorComponent0(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator_2), t1)], type$.JSArray_ComplexSelectorComponent_2);
  114970. B.JSArray_methods.addAll$1(t2, rest);
  114971. return A.ComplexSelector$0(B.List_empty14, t2, t1, false);
  114972. },
  114973. $signature: 59
  114974. };
  114975. A._extend_closure0.prototype = {
  114976. call$1($arguments) {
  114977. var target, source,
  114978. _s8_ = "selector",
  114979. _s8_0 = "extendee",
  114980. _s8_1 = "extender",
  114981. t1 = J.getInterceptor$asx($arguments),
  114982. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  114983. selector.assertNotBogus$1$name(_s8_);
  114984. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  114985. target.assertNotBogus$1$name(_s8_0);
  114986. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s8_1);
  114987. source.assertNotBogus$1$name(_s8_1);
  114988. t1 = A.EvaluationContext_currentOrNull0();
  114989. 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();
  114990. },
  114991. $signature: 26
  114992. };
  114993. A._replace_closure0.prototype = {
  114994. call$1($arguments) {
  114995. var target, source,
  114996. _s8_ = "selector",
  114997. _s8_0 = "original",
  114998. _s11_ = "replacement",
  114999. t1 = J.getInterceptor$asx($arguments),
  115000. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  115001. selector.assertNotBogus$1$name(_s8_);
  115002. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  115003. target.assertNotBogus$1$name(_s8_0);
  115004. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s11_);
  115005. source.assertNotBogus$1$name(_s11_);
  115006. t1 = A.EvaluationContext_currentOrNull0();
  115007. 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();
  115008. },
  115009. $signature: 26
  115010. };
  115011. A._unify_closure0.prototype = {
  115012. call$1($arguments) {
  115013. var selector2,
  115014. _s9_ = "selector1",
  115015. _s9_0 = "selector2",
  115016. t1 = J.getInterceptor$asx($arguments),
  115017. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s9_);
  115018. selector1.assertNotBogus$1$name(_s9_);
  115019. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s9_0);
  115020. selector2.assertNotBogus$1$name(_s9_0);
  115021. t1 = selector1.unify$1(selector2);
  115022. t1 = t1 == null ? null : t1.get$asSassList();
  115023. return t1 == null ? B.C__SassNull0 : t1;
  115024. },
  115025. $signature: 3
  115026. };
  115027. A._isSuperselector_closure0.prototype = {
  115028. call$1($arguments) {
  115029. var selector2,
  115030. t1 = J.getInterceptor$asx($arguments),
  115031. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, "super");
  115032. selector1.assertNotBogus$1$name("super");
  115033. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, "sub");
  115034. selector2.assertNotBogus$1$name("sub");
  115035. return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  115036. },
  115037. $signature: 11
  115038. };
  115039. A._simpleSelectors_closure0.prototype = {
  115040. call$1($arguments) {
  115041. var t1 = A.SassApiValue_assertCompoundSelector0(J.$index$asx($arguments, 0), "selector").components;
  115042. return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_qVN0, false);
  115043. },
  115044. $signature: 26
  115045. };
  115046. A._simpleSelectors__closure0.prototype = {
  115047. call$1(simple) {
  115048. return new A.SassString0(A.serializeSelector0(simple, true), false);
  115049. },
  115050. $signature: 567
  115051. };
  115052. A._parse_closure0.prototype = {
  115053. call$1($arguments) {
  115054. return A.SassApiValue_assertSelector0(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  115055. },
  115056. $signature: 26
  115057. };
  115058. A.SelectorParser0.prototype = {
  115059. parse$0(_) {
  115060. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
  115061. },
  115062. parseCompoundSelector$0() {
  115063. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
  115064. },
  115065. _selector$_selectorList$0() {
  115066. var t4, t5, lineBreak, _this = this,
  115067. t1 = _this.scanner,
  115068. t2 = t1._string_scanner$_position,
  115069. t3 = t1._sourceFile,
  115070. previousLine = t3.getLine$1(t2),
  115071. components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
  115072. _this.whitespace$1$consumeNewlines(true);
  115073. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  115074. _this.whitespace$1$consumeNewlines(true);
  115075. if (t1.peekChar$0() === 44)
  115076. continue;
  115077. t5 = t1._string_scanner$_position;
  115078. if (t5 === t4)
  115079. break;
  115080. lineBreak = t3.getLine$1(t5) !== previousLine;
  115081. if (lineBreak)
  115082. previousLine = t3.getLine$1(t1._string_scanner$_position);
  115083. components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
  115084. }
  115085. return A.SelectorList$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115086. },
  115087. _selector$_complexSelector$1$lineBreak(lineBreak) {
  115088. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  115089. _s18_ = "expected selector.",
  115090. t1 = _this.scanner,
  115091. t2 = t1._string_scanner$_position,
  115092. componentStart = new A._SpanScannerState(t1, t2),
  115093. t3 = type$.JSArray_CssValue_Combinator_2,
  115094. combinators = A._setArrayType([], t3),
  115095. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  115096. for (t4 = type$.CssValue_Combinator_2, lastCompound = null, initialCombinators = null; true;) {
  115097. _this.whitespace$1$consumeNewlines(true);
  115098. _0_0 = t1.peekChar$0();
  115099. if (43 === _0_0) {
  115100. t5 = t1._string_scanner$_position;
  115101. t1.readChar$0();
  115102. combinators.push(new A.CssValue0(B.Combinator_bOP0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  115103. continue;
  115104. }
  115105. if (62 === _0_0) {
  115106. t5 = t1._string_scanner$_position;
  115107. t1.readChar$0();
  115108. combinators.push(new A.CssValue0(B.Combinator_0mp0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  115109. continue;
  115110. }
  115111. if (126 === _0_0) {
  115112. t5 = t1._string_scanner$_position;
  115113. t1.readChar$0();
  115114. combinators.push(new A.CssValue0(B.Combinator_55N0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  115115. continue;
  115116. }
  115117. if (_0_0 == null)
  115118. break;
  115119. t5 = true;
  115120. if (91 !== _0_0)
  115121. if (46 !== _0_0)
  115122. if (35 !== _0_0)
  115123. if (37 !== _0_0)
  115124. if (58 !== _0_0)
  115125. if (38 !== _0_0)
  115126. if (42 !== _0_0)
  115127. if (124 !== _0_0)
  115128. t5 = _this.lookingAtIdentifier$0();
  115129. if (t5) {
  115130. if (lastCompound != null) {
  115131. t5 = _this.spanFrom$1(componentStart);
  115132. result = A.List_List$from(combinators, false, t4);
  115133. result.$flags = 3;
  115134. components.push(new A.ComplexSelectorComponent0(lastCompound, result, t5));
  115135. } else if (combinators.length !== 0) {
  115136. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115137. initialCombinators = combinators;
  115138. }
  115139. lastCompound = _this._selector$_compoundSelector$0();
  115140. combinators = A._setArrayType([], t3);
  115141. if (t1.peekChar$0() === 38)
  115142. t1.error$1(0, string$.x22x26__ma);
  115143. continue;
  115144. }
  115145. break;
  115146. }
  115147. t3 = combinators.length !== 0;
  115148. if (t3 && _this._selector$_plainCss)
  115149. t1.error$1(0, _s18_);
  115150. else if (lastCompound != null) {
  115151. t3 = _this.spanFrom$1(componentStart);
  115152. components.push(new A.ComplexSelectorComponent0(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  115153. } else if (t3)
  115154. initialCombinators = combinators;
  115155. else
  115156. t1.error$1(0, _s18_);
  115157. t3 = initialCombinators == null ? B.List_empty14 : initialCombinators;
  115158. return A.ComplexSelector$0(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  115159. },
  115160. _selector$_complexSelector$0() {
  115161. return this._selector$_complexSelector$1$lineBreak(false);
  115162. },
  115163. _selector$_compoundSelector$0() {
  115164. var t3, _this = this,
  115165. t1 = _this.scanner,
  115166. t2 = t1._string_scanner$_position,
  115167. components = A._setArrayType([_this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2);
  115168. for (t3 = _this._selector$_plainCss; _this._selector$_isSimpleSelectorStart$1(t1.peekChar$0());)
  115169. components.push(_this._selector$_simpleSelector$1$allowParent(t3));
  115170. return A.CompoundSelector$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115171. },
  115172. _selector$_simpleSelector$1$allowParent(allowParent) {
  115173. var t2, $name, text, t3, suffix, _this = this,
  115174. t1 = _this.scanner,
  115175. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115176. if (allowParent == null)
  115177. allowParent = _this._selector$_allowParent;
  115178. switch (t1.peekChar$0()) {
  115179. case 91:
  115180. return _this._selector$_attributeSelector$0();
  115181. case 46:
  115182. t2 = t1._string_scanner$_position;
  115183. t1.expectChar$1(46);
  115184. return new A.ClassSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115185. case 35:
  115186. t2 = t1._string_scanner$_position;
  115187. t1.expectChar$1(35);
  115188. return new A.IDSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115189. case 37:
  115190. t2 = t1._string_scanner$_position;
  115191. t1.expectChar$1(37);
  115192. $name = _this.identifier$0();
  115193. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  115194. if (_this._selector$_plainCss)
  115195. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  115196. return new A.PlaceholderSelector0($name, t2);
  115197. case 58:
  115198. return _this._selector$_pseudoSelector$0();
  115199. case 38:
  115200. t2 = t1._string_scanner$_position;
  115201. t1.expectChar$1(38);
  115202. if (_this.lookingAtIdentifierBody$0()) {
  115203. text = new A.StringBuffer("");
  115204. _this._parser1$_identifierBody$1(text);
  115205. if (text._contents.length === 0)
  115206. t1.error$1(0, "Expected identifier body.");
  115207. t3 = text._contents;
  115208. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  115209. } else
  115210. suffix = null;
  115211. if (_this._selector$_plainCss && suffix != null)
  115212. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  115213. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  115214. if (!allowParent)
  115215. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  115216. return new A.ParentSelector0(suffix, t2);
  115217. default:
  115218. return _this._selector$_typeOrUniversalSelector$0();
  115219. }
  115220. },
  115221. _selector$_simpleSelector$0() {
  115222. return this._selector$_simpleSelector$1$allowParent(null);
  115223. },
  115224. _selector$_attributeSelector$0() {
  115225. var $name, operator, next, value, modifier, _this = this, _null = null,
  115226. t1 = _this.scanner,
  115227. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115228. t1.expectChar$1(91);
  115229. _this.whitespace$1$consumeNewlines(true);
  115230. $name = _this._selector$_attributeName$0();
  115231. _this.whitespace$1$consumeNewlines(true);
  115232. if (t1.scanChar$1(93))
  115233. return new A.AttributeSelector0($name, _null, _null, _null, _this.spanFrom$1(start));
  115234. operator = _this._selector$_attributeOperator$0();
  115235. _this.whitespace$1$consumeNewlines(true);
  115236. next = t1.peekChar$0();
  115237. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  115238. _this.whitespace$1$consumeNewlines(true);
  115239. next = t1.peekChar$0();
  115240. modifier = next != null && A.CharacterExtension_get_isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  115241. t1.expectChar$1(93);
  115242. return new A.AttributeSelector0($name, operator, value, modifier, _this.spanFrom$1(start));
  115243. },
  115244. _selector$_attributeName$0() {
  115245. var nameOrNamespace, _this = this,
  115246. t1 = _this.scanner;
  115247. if (t1.scanChar$1(42)) {
  115248. t1.expectChar$1(124);
  115249. return new A.QualifiedName0(_this.identifier$0(), "*");
  115250. }
  115251. if (t1.scanChar$1(124))
  115252. return new A.QualifiedName0(_this.identifier$0(), "");
  115253. nameOrNamespace = _this.identifier$0();
  115254. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  115255. return new A.QualifiedName0(nameOrNamespace, null);
  115256. t1.readChar$0();
  115257. return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
  115258. },
  115259. _selector$_attributeOperator$0() {
  115260. var t1 = this.scanner,
  115261. t2 = t1._string_scanner$_position;
  115262. switch (t1.readChar$0()) {
  115263. case 61:
  115264. return B.AttributeOperator_Lvy0;
  115265. case 126:
  115266. t1.expectChar$1(61);
  115267. return B.AttributeOperator_fp20;
  115268. case 124:
  115269. t1.expectChar$1(61);
  115270. return B.AttributeOperator_iyP0;
  115271. case 94:
  115272. t1.expectChar$1(61);
  115273. return B.AttributeOperator_JzP0;
  115274. case 36:
  115275. t1.expectChar$1(61);
  115276. return B.AttributeOperator_U1W0;
  115277. case 42:
  115278. t1.expectChar$1(61);
  115279. return B.AttributeOperator_GWq0;
  115280. default:
  115281. t1.error$2$position(0, 'Expected "]".', t2);
  115282. }
  115283. },
  115284. _selector$_pseudoSelector$0() {
  115285. var element, $name, unvendored, argument, selector, t2, _this = this, _null = null,
  115286. t1 = _this.scanner,
  115287. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115288. t1.expectChar$1(58);
  115289. element = t1.scanChar$1(58);
  115290. $name = _this.identifier$0();
  115291. if (!t1.scanChar$1(40))
  115292. return A.PseudoSelector$0($name, _this.spanFrom$1(start), _null, element, _null);
  115293. _this.whitespace$1$consumeNewlines(true);
  115294. unvendored = A.unvendor0($name);
  115295. argument = _null;
  115296. selector = _null;
  115297. if (element)
  115298. if ($._selectorPseudoElements0.contains$1(0, unvendored))
  115299. selector = _this._selector$_selectorList$0();
  115300. else
  115301. argument = _this.declarationValue$1$allowEmpty(true);
  115302. else if ($._selectorPseudoClasses0.contains$1(0, unvendored))
  115303. selector = _this._selector$_selectorList$0();
  115304. else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  115305. argument = _this._selector$_aNPlusB$0();
  115306. _this.whitespace$1$consumeNewlines(true);
  115307. t2 = t1.peekChar$1(-1);
  115308. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  115309. _this.expectIdentifier$1("of");
  115310. argument += " of";
  115311. _this.whitespace$1$consumeNewlines(true);
  115312. selector = _this._selector$_selectorList$0();
  115313. }
  115314. } else
  115315. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  115316. t1.expectChar$1(41);
  115317. return A.PseudoSelector$0($name, _this.spanFrom$1(start), argument, element, selector);
  115318. },
  115319. _selector$_aNPlusB$0() {
  115320. var t1, _0_0, t2, $self, next, _this = this;
  115321. $label0$0: {
  115322. t1 = _this.scanner;
  115323. _0_0 = t1.peekChar$0();
  115324. if (101 === _0_0 || 69 === _0_0) {
  115325. _this.expectIdentifier$1("even");
  115326. return "even";
  115327. }
  115328. if (111 === _0_0 || 79 === _0_0) {
  115329. _this.expectIdentifier$1("odd");
  115330. return "odd";
  115331. }
  115332. if (43 === _0_0 || 45 === _0_0) {
  115333. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  115334. break $label0$0;
  115335. }
  115336. t2 = "";
  115337. }
  115338. $self = t1.peekChar$0();
  115339. if ($self != null && $self >= 48 && $self <= 57) {
  115340. do {
  115341. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  115342. $self = t1.peekChar$0();
  115343. } while ($self != null && $self >= 48 && $self <= 57);
  115344. _this.whitespace$1$consumeNewlines(true);
  115345. if (!_this.scanIdentChar$1(110))
  115346. return t2.charCodeAt(0) == 0 ? t2 : t2;
  115347. } else
  115348. _this.expectIdentChar$1(110);
  115349. t2 += A.Primitives_stringFromCharCode(110);
  115350. _this.whitespace$1$consumeNewlines(true);
  115351. next = t1.peekChar$0();
  115352. if (next !== 43 && next !== 45)
  115353. return t2.charCodeAt(0) == 0 ? t2 : t2;
  115354. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  115355. _this.whitespace$1$consumeNewlines(true);
  115356. $self = t1.peekChar$0();
  115357. if (!($self != null && $self >= 48 && $self <= 57))
  115358. t1.error$1(0, "Expected a number.");
  115359. do {
  115360. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  115361. $self = t1.peekChar$0();
  115362. } while ($self != null && $self >= 48 && $self <= 57);
  115363. return t2.charCodeAt(0) == 0 ? t2 : t2;
  115364. },
  115365. _selector$_typeOrUniversalSelector$0() {
  115366. var nameOrNamespace, _this = this,
  115367. t1 = _this.scanner,
  115368. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115369. if (t1.scanChar$1(42)) {
  115370. if (!t1.scanChar$1(124))
  115371. return new A.UniversalSelector0(null, _this.spanFrom$1(start));
  115372. 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));
  115373. } else if (t1.scanChar$1(124))
  115374. 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));
  115375. nameOrNamespace = _this.identifier$0();
  115376. if (!t1.scanChar$1(124))
  115377. return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null), _this.spanFrom$1(start));
  115378. else if (t1.scanChar$1(42))
  115379. return new A.UniversalSelector0(nameOrNamespace, _this.spanFrom$1(start));
  115380. else
  115381. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  115382. },
  115383. _selector$_isSimpleSelectorStart$1(character) {
  115384. var t1;
  115385. $label0$0: {
  115386. if (42 === character || 91 === character || 46 === character || 35 === character || 37 === character || 58 === character) {
  115387. t1 = true;
  115388. break $label0$0;
  115389. }
  115390. if (38 === character) {
  115391. t1 = this._selector$_plainCss;
  115392. break $label0$0;
  115393. }
  115394. t1 = false;
  115395. break $label0$0;
  115396. }
  115397. return t1;
  115398. }
  115399. };
  115400. A.SelectorParser_parse_closure0.prototype = {
  115401. call$0() {
  115402. var t1 = this.$this,
  115403. selector = t1._selector$_selectorList$0();
  115404. t1 = t1.scanner;
  115405. if (t1._string_scanner$_position !== t1.string.length)
  115406. t1.error$1(0, "expected selector.");
  115407. return selector;
  115408. },
  115409. $signature: 568
  115410. };
  115411. A.SelectorParser_parseCompoundSelector_closure0.prototype = {
  115412. call$0() {
  115413. var t1 = this.$this,
  115414. compound = t1._selector$_compoundSelector$0();
  115415. t1 = t1.scanner;
  115416. if (t1._string_scanner$_position !== t1.string.length)
  115417. t1.error$1(0, "expected selector.");
  115418. return compound;
  115419. },
  115420. $signature: 569
  115421. };
  115422. A.SelectorSearchVisitor0.prototype = {
  115423. visitAttributeSelector$1(attribute) {
  115424. return null;
  115425. },
  115426. visitClassSelector$1(klass) {
  115427. return null;
  115428. },
  115429. visitIDSelector$1(id) {
  115430. return null;
  115431. },
  115432. visitParentSelector$1(placeholder) {
  115433. return null;
  115434. },
  115435. visitPlaceholderSelector$1(placeholder) {
  115436. return null;
  115437. },
  115438. visitTypeSelector$1(type) {
  115439. return null;
  115440. },
  115441. visitUniversalSelector$1(universal) {
  115442. return null;
  115443. },
  115444. visitComplexSelector$1(complex) {
  115445. return A.IterableExtension_search0(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure0(this));
  115446. },
  115447. visitCompoundSelector$1(compound) {
  115448. return A.IterableExtension_search0(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure0(this));
  115449. },
  115450. visitPseudoSelector$1(pseudo) {
  115451. return A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  115452. },
  115453. visitSelectorList$1(list) {
  115454. return A.IterableExtension_search0(list.components, this.get$visitComplexSelector());
  115455. }
  115456. };
  115457. A.SelectorSearchVisitor_visitComplexSelector_closure0.prototype = {
  115458. call$1(component) {
  115459. return this.$this.visitCompoundSelector$1(component.selector);
  115460. },
  115461. $signature() {
  115462. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(ComplexSelectorComponent0)");
  115463. }
  115464. };
  115465. A.SelectorSearchVisitor_visitCompoundSelector_closure0.prototype = {
  115466. call$1(simple) {
  115467. return simple.accept$1(this.$this);
  115468. },
  115469. $signature() {
  115470. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(SimpleSelector0)");
  115471. }
  115472. };
  115473. A.serialize_closure0.prototype = {
  115474. call$1(codeUnit) {
  115475. return codeUnit > 127;
  115476. },
  115477. $signature: 48
  115478. };
  115479. A._SerializeVisitor0.prototype = {
  115480. visitCssStylesheet$1(node) {
  115481. var t1, t2, t3, t4, t5, t6, t7, previous, previous0, t8, _this = this;
  115482. 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();) {
  115483. previous0 = t1.get$current(t1);
  115484. if (t2)
  115485. t8 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  115486. else
  115487. t8 = false;
  115488. if (t8)
  115489. continue;
  115490. if (previous != null) {
  115491. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0))
  115492. t6.writeCharCode$1(59);
  115493. if (_this._serialize0$_isTrailingComment$2(previous0, previous)) {
  115494. if (t4)
  115495. t6.writeCharCode$1(32);
  115496. } else {
  115497. if (t4)
  115498. t6.write$1(0, t7);
  115499. if (previous.get$isGroupEnd())
  115500. if (t4)
  115501. t6.write$1(0, t7);
  115502. }
  115503. }
  115504. previous0.accept$1(_this);
  115505. previous = previous0;
  115506. }
  115507. if (previous != null)
  115508. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t4;
  115509. else
  115510. t1 = false;
  115511. if (t1)
  115512. t6.writeCharCode$1(59);
  115513. },
  115514. visitCssComment$1(node) {
  115515. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
  115516. },
  115517. visitCssAtRule$1(node) {
  115518. var t1, _this = this;
  115519. _this._serialize0$_writeIndentation$0();
  115520. t1 = _this._serialize0$_buffer;
  115521. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
  115522. if (!node.isChildless) {
  115523. if (_this._serialize0$_style !== B.OutputStyle_10)
  115524. t1.writeCharCode$1(32);
  115525. _this._serialize0$_visitChildren$1(node);
  115526. }
  115527. },
  115528. visitCssMediaRule$1(node) {
  115529. var t1, _this = this;
  115530. _this._serialize0$_writeIndentation$0();
  115531. t1 = _this._serialize0$_buffer;
  115532. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
  115533. if (_this._serialize0$_style !== B.OutputStyle_10)
  115534. t1.writeCharCode$1(32);
  115535. _this._serialize0$_visitChildren$1(node);
  115536. },
  115537. visitCssImport$1(node) {
  115538. this._serialize0$_writeIndentation$0();
  115539. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
  115540. },
  115541. _serialize0$_writeImportUrl$1(url) {
  115542. var urlContents, maybeQuote, _this = this;
  115543. if (_this._serialize0$_style !== B.OutputStyle_10 || url.charCodeAt(0) !== 117) {
  115544. _this._serialize0$_buffer.write$1(0, url);
  115545. return;
  115546. }
  115547. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  115548. maybeQuote = urlContents.charCodeAt(0);
  115549. if (maybeQuote === 39 || maybeQuote === 34)
  115550. _this._serialize0$_buffer.write$1(0, urlContents);
  115551. else
  115552. _this._serialize0$_visitQuotedString$1(urlContents);
  115553. },
  115554. visitCssKeyframeBlock$1(node) {
  115555. var t1, _this = this;
  115556. _this._serialize0$_writeIndentation$0();
  115557. t1 = _this._serialize0$_buffer;
  115558. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
  115559. if (_this._serialize0$_style !== B.OutputStyle_10)
  115560. t1.writeCharCode$1(32);
  115561. _this._serialize0$_visitChildren$1(node);
  115562. },
  115563. _serialize0$_visitMediaQuery$1(query) {
  115564. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  115565. _0_0 = query.modifier;
  115566. if (_0_0 != null) {
  115567. t1 = _this._serialize0$_buffer;
  115568. t1.write$1(0, _0_0);
  115569. t1.writeCharCode$1(32);
  115570. }
  115571. _1_0 = query.type;
  115572. if (_1_0 != null) {
  115573. t1 = _this._serialize0$_buffer;
  115574. t1.write$1(0, _1_0);
  115575. if (query.conditions.length !== 0)
  115576. t1.write$1(0, " and ");
  115577. }
  115578. _2_0 = query.conditions;
  115579. if (_2_0.length === 1)
  115580. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  115581. else
  115582. t1 = false;
  115583. if (t1) {
  115584. t1 = _this._serialize0$_buffer;
  115585. t1.write$1(0, "not ");
  115586. condition = B.JSArray_methods.get$first(_2_0);
  115587. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  115588. } else {
  115589. operator = query.conjunction ? "and" : "or";
  115590. t1 = _this._serialize0$_style === B.OutputStyle_10 ? operator + " " : " " + operator + " ";
  115591. t2 = _this._serialize0$_buffer;
  115592. _this._serialize0$_writeBetween$3(_2_0, t1, t2.get$write(t2));
  115593. }
  115594. },
  115595. visitCssStyleRule$1(node) {
  115596. var t1, _this = this;
  115597. _this._serialize0$_writeIndentation$0();
  115598. t1 = _this._serialize0$_buffer;
  115599. t1.forSpan$2(node._style_rule0$_selector._box0$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
  115600. if (_this._serialize0$_style !== B.OutputStyle_10)
  115601. t1.writeCharCode$1(32);
  115602. _this._serialize0$_visitChildren$1(node);
  115603. },
  115604. visitCssSupportsRule$1(node) {
  115605. var t1, _this = this;
  115606. _this._serialize0$_writeIndentation$0();
  115607. t1 = _this._serialize0$_buffer;
  115608. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
  115609. if (_this._serialize0$_style !== B.OutputStyle_10)
  115610. t1.writeCharCode$1(32);
  115611. _this._serialize0$_visitChildren$1(node);
  115612. },
  115613. visitCssDeclaration$1(node) {
  115614. var error, stackTrace, error0, stackTrace0, t3, declSpecificities, t4, t5, t6, t7, _i, rule, ruleSpecificities, exception, _this = this,
  115615. t1 = node.interleavedRules,
  115616. t2 = t1.length;
  115617. if (t2 !== 0) {
  115618. t3 = node._node$_parent;
  115619. t3.toString;
  115620. declSpecificities = _this._serialize0$_specificities$1(t3);
  115621. for (t3 = _this._serialize0$_logger, t4 = node.span, t5 = type$.SourceSpan, t6 = type$.String, t7 = node.trace, _i = 0; _i < t2; ++_i) {
  115622. rule = t1[_i];
  115623. ruleSpecificities = _this._serialize0$_specificities$1(rule);
  115624. if (!declSpecificities.any$1(0, ruleSpecificities.get$contains(ruleSpecificities)))
  115625. continue;
  115626. 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);
  115627. }
  115628. }
  115629. _this._serialize0$_writeIndentation$0();
  115630. t1 = node.name;
  115631. _this._serialize0$_write$1(t1);
  115632. t2 = _this._serialize0$_buffer;
  115633. t2.writeCharCode$1(58);
  115634. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  115635. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
  115636. else {
  115637. if (_this._serialize0$_style !== B.OutputStyle_10)
  115638. t2.writeCharCode$1(32);
  115639. try {
  115640. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
  115641. } catch (exception) {
  115642. t1 = A.unwrapException(exception);
  115643. if (t1 instanceof A.MultiSpanSassScriptException0) {
  115644. error = t1;
  115645. stackTrace = A.getTraceFromException(exception);
  115646. A.throwWithTrace0(A.MultiSpanSassException$0(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  115647. } else if (t1 instanceof A.SassScriptException0) {
  115648. error0 = t1;
  115649. stackTrace0 = A.getTraceFromException(exception);
  115650. t1 = error0.message;
  115651. A.throwWithTrace0(new A.SassException0(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  115652. } else
  115653. throw exception;
  115654. }
  115655. }
  115656. },
  115657. _serialize0$_specificities$1(node) {
  115658. var $parent, t2, t3, _i,
  115659. t1 = this.get$_serialize0$_specificities();
  115660. if (node instanceof A.ModifiableCssStyleRule0) {
  115661. t1 = A.NullableExtension_andThen0(node._node$_parent, t1);
  115662. $parent = t1 == null ? null : A.IterableIntegerExtension_get_max(t1);
  115663. if ($parent == null)
  115664. $parent = 0;
  115665. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.int);
  115666. for (t2 = node._style_rule0$_selector._box0$_inner.value.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  115667. t1.add$1(0, $parent + t2[_i].get$specificity());
  115668. return t1;
  115669. } else {
  115670. t1 = A.NullableExtension_andThen0(node.get$parent(node), t1);
  115671. return t1 == null ? B.Set_WDSXk : t1;
  115672. }
  115673. },
  115674. _serialize0$_writeFoldedValue$1(node) {
  115675. var t1, t2, next, t3,
  115676. scanner = A.StringScanner$(type$.SassString_2._as(node.value.value)._string0$_text, null, null);
  115677. for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
  115678. next = scanner.readChar$0();
  115679. if (next !== 10) {
  115680. t2.writeCharCode$1(next);
  115681. continue;
  115682. }
  115683. t2.writeCharCode$1(32);
  115684. while (true) {
  115685. t3 = scanner.peekChar$0();
  115686. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  115687. break;
  115688. scanner.readChar$0();
  115689. }
  115690. }
  115691. },
  115692. _serialize0$_writeReindentedValue$1(node) {
  115693. var _0_0, t1, _this = this,
  115694. value = type$.SassString_2._as(node.value.value)._string0$_text;
  115695. $label0$0: {
  115696. _0_0 = _this._serialize0$_minimumIndentation$1(value);
  115697. if (_0_0 == null) {
  115698. _this._serialize0$_buffer.write$1(0, value);
  115699. break $label0$0;
  115700. }
  115701. if (-1 === _0_0) {
  115702. t1 = _this._serialize0$_buffer;
  115703. t1.write$1(0, A.trimAsciiRight0(value, true));
  115704. t1.writeCharCode$1(32);
  115705. break $label0$0;
  115706. }
  115707. t1 = node.name.span;
  115708. t1 = t1.get$start(t1);
  115709. _this._serialize0$_writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  115710. }
  115711. },
  115712. _serialize0$_minimumIndentation$1(text) {
  115713. var character, t2, min, next, min0,
  115714. scanner = A.LineScanner$(text),
  115715. t1 = scanner.string.length;
  115716. while (true) {
  115717. if (scanner._string_scanner$_position !== t1) {
  115718. character = scanner.super$StringScanner$readChar();
  115719. scanner._adjustLineAndColumn$1(character);
  115720. t2 = character !== 10;
  115721. } else
  115722. t2 = false;
  115723. if (!t2)
  115724. break;
  115725. }
  115726. if (scanner._string_scanner$_position === t1)
  115727. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  115728. for (min = null; scanner._string_scanner$_position !== t1;) {
  115729. for (; scanner._string_scanner$_position !== t1;) {
  115730. next = scanner.peekChar$0();
  115731. if (next !== 32 && next !== 9)
  115732. break;
  115733. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  115734. }
  115735. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  115736. continue;
  115737. min0 = scanner._line_scanner$_column;
  115738. min = min == null ? min0 : Math.min(min, min0);
  115739. while (true) {
  115740. if (scanner._string_scanner$_position !== t1) {
  115741. character = scanner.super$StringScanner$readChar();
  115742. scanner._adjustLineAndColumn$1(character);
  115743. t2 = character !== 10;
  115744. } else
  115745. t2 = false;
  115746. if (!t2)
  115747. break;
  115748. }
  115749. }
  115750. return min == null ? -1 : min;
  115751. },
  115752. _serialize0$_writeWithIndent$2(text, minimumIndentation) {
  115753. var t1, t2, t3, character, lineStart, newlines, end,
  115754. scanner = A.LineScanner$(text);
  115755. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
  115756. character = scanner.super$StringScanner$readChar();
  115757. scanner._adjustLineAndColumn$1(character);
  115758. if (character === 10)
  115759. break;
  115760. t3.writeCharCode$1(character);
  115761. }
  115762. for (; true;) {
  115763. lineStart = scanner._string_scanner$_position;
  115764. for (newlines = 1; true;) {
  115765. if (scanner._string_scanner$_position === t2) {
  115766. t3.writeCharCode$1(32);
  115767. return;
  115768. }
  115769. $label0$2: {
  115770. character = scanner.super$StringScanner$readChar();
  115771. scanner._adjustLineAndColumn$1(character);
  115772. if (32 === character || 9 === character)
  115773. continue;
  115774. if (10 === character) {
  115775. lineStart = scanner._string_scanner$_position;
  115776. ++newlines;
  115777. break $label0$2;
  115778. }
  115779. break;
  115780. }
  115781. }
  115782. this._serialize0$_writeTimes$2(10, newlines);
  115783. this._serialize0$_writeIndentation$0();
  115784. end = scanner._string_scanner$_position;
  115785. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  115786. for (; true;) {
  115787. if (scanner._string_scanner$_position === t2)
  115788. return;
  115789. character = scanner.super$StringScanner$readChar();
  115790. scanner._adjustLineAndColumn$1(character);
  115791. if (character === 10)
  115792. break;
  115793. t3.writeCharCode$1(character);
  115794. }
  115795. }
  115796. },
  115797. visitCalculation$1(value) {
  115798. var t2, _this = this,
  115799. t1 = _this._serialize0$_buffer;
  115800. t1.write$1(0, value.name);
  115801. t1.writeCharCode$1(40);
  115802. t2 = _this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  115803. _this._serialize0$_writeBetween$3(value.$arguments, t2, _this.get$_serialize0$_writeCalculationValue());
  115804. t1.writeCharCode$1(41);
  115805. },
  115806. _serialize0$_writeCalculationValue$1(value) {
  115807. var _2_4_isSet, _2_4, t1, _0_0, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, t2, _this = this, _null = null;
  115808. $label1$1: {
  115809. _2_4_isSet = value instanceof A.SassNumber0;
  115810. if (_2_4_isSet) {
  115811. _2_4 = value.get$hasComplexUnits();
  115812. t1 = _2_4 && !_this._serialize0$_inspect;
  115813. } else {
  115814. _2_4 = _null;
  115815. t1 = false;
  115816. }
  115817. if (t1)
  115818. throw A.wrapException(A.SassScriptException$0(A.S(value) + " isn't a valid CSS value.", _null));
  115819. if (_2_4_isSet && !isFinite(value._number1$_value)) {
  115820. $label0$0: {
  115821. _0_0 = value._number1$_value;
  115822. if (1 / 0 === _0_0) {
  115823. _this._serialize0$_buffer.write$1(0, "infinity");
  115824. break $label0$0;
  115825. }
  115826. if (-1 / 0 === _0_0) {
  115827. _this._serialize0$_buffer.write$1(0, "-infinity");
  115828. break $label0$0;
  115829. }
  115830. if (isNaN(_0_0))
  115831. _this._serialize0$_buffer.write$1(0, "NaN");
  115832. }
  115833. t1 = J.getInterceptor$x(value);
  115834. _this._serialize0$_writeCalculationUnits$2(t1.get$numeratorUnits(value), t1.get$denominatorUnits(value));
  115835. break $label1$1;
  115836. }
  115837. if (_2_4_isSet)
  115838. t1 = _2_4;
  115839. else
  115840. t1 = false;
  115841. if (t1) {
  115842. _this._serialize0$_writeNumber$1(value._number1$_value);
  115843. t1 = J.getInterceptor$x(value);
  115844. _1_0 = t1.get$numeratorUnits(value);
  115845. if (_1_0.length >= 1) {
  115846. first = _1_0[0];
  115847. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  115848. _this._serialize0$_buffer.write$1(0, first);
  115849. _this._serialize0$_writeCalculationUnits$2(rest, t1.get$denominatorUnits(value));
  115850. } else
  115851. _this._serialize0$_writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), t1.get$denominatorUnits(value));
  115852. break $label1$1;
  115853. }
  115854. if (value instanceof A.Value0) {
  115855. value.accept$1(_this);
  115856. break $label1$1;
  115857. }
  115858. t1 = value instanceof A.CalculationOperation0;
  115859. left = _null;
  115860. right = _null;
  115861. if (t1) {
  115862. operator = value._calculation0$_operator;
  115863. left = value._calculation0$_left;
  115864. right = value._calculation0$_right;
  115865. right = right;
  115866. } else
  115867. operator = _null;
  115868. if (t1) {
  115869. parenthesizeLeft = left instanceof A.CalculationOperation0 && left._calculation0$_operator.precedence < operator.precedence;
  115870. if (parenthesizeLeft)
  115871. _this._serialize0$_buffer.writeCharCode$1(40);
  115872. _this._serialize0$_writeCalculationValue$1(left);
  115873. if (parenthesizeLeft)
  115874. _this._serialize0$_buffer.writeCharCode$1(41);
  115875. operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_10 || operator.precedence === 1;
  115876. if (operatorWhitespace)
  115877. _this._serialize0$_buffer.writeCharCode$1(32);
  115878. t1 = _this._serialize0$_buffer;
  115879. t1.write$1(0, operator.operator);
  115880. if (operatorWhitespace)
  115881. t1.writeCharCode$1(32);
  115882. if (!(right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(operator, right._calculation0$_operator))) {
  115883. parenthesizeRight = false;
  115884. if (operator === B.CalculationOperator_bo50) {
  115885. if (right instanceof A.SassNumber0)
  115886. t2 = isFinite(right._number1$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  115887. else
  115888. t2 = parenthesizeRight;
  115889. parenthesizeRight = t2;
  115890. }
  115891. } else
  115892. parenthesizeRight = true;
  115893. if (parenthesizeRight)
  115894. t1.writeCharCode$1(40);
  115895. _this._serialize0$_writeCalculationValue$1(right);
  115896. if (parenthesizeRight)
  115897. t1.writeCharCode$1(41);
  115898. }
  115899. }
  115900. },
  115901. _serialize0$_writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  115902. var t1, t2, t3, t4;
  115903. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize0$_buffer, t3 = this._serialize0$_style !== B.OutputStyle_10; t1.moveNext$0();) {
  115904. t4 = t1.get$current(t1);
  115905. if (t3)
  115906. t2.writeCharCode$1(32);
  115907. t2.writeCharCode$1(42);
  115908. if (t3)
  115909. t2.writeCharCode$1(32);
  115910. t2.writeCharCode$1(49);
  115911. t2.write$1(0, t4);
  115912. }
  115913. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  115914. t4 = t1.get$current(t1);
  115915. if (t3)
  115916. t2.writeCharCode$1(32);
  115917. t2.writeCharCode$1(47);
  115918. if (t3)
  115919. t2.writeCharCode$1(32);
  115920. t2.writeCharCode$1(49);
  115921. t2.write$1(0, t4);
  115922. }
  115923. },
  115924. _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
  115925. var t1;
  115926. $label0$0: {
  115927. if (B.CalculationOperator_bo50 === outer) {
  115928. t1 = true;
  115929. break $label0$0;
  115930. }
  115931. if (B.CalculationOperator_F7i0 === outer) {
  115932. t1 = false;
  115933. break $label0$0;
  115934. }
  115935. t1 = right === B.CalculationOperator_F7i0 || right === B.CalculationOperator_oum0;
  115936. break $label0$0;
  115937. }
  115938. return t1;
  115939. },
  115940. visitColor$1(value) {
  115941. 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;
  115942. $label0$0: {
  115943. _0_0 = value._color0$_space;
  115944. _0_2 = B.RgbColorSpace_i0P0 === _0_0;
  115945. _0_6 = _null;
  115946. t1 = true;
  115947. if (!_0_2) {
  115948. _0_4 = B.HslColorSpace_JQ20 === _0_0;
  115949. _0_6_isSet = !_0_4;
  115950. if (_0_6_isSet) {
  115951. _0_6 = B.HwbColorSpace_guQ0 === _0_0;
  115952. t1 = _0_6;
  115953. }
  115954. } else {
  115955. _0_4 = _null;
  115956. _0_6_isSet = false;
  115957. }
  115958. if (t1 && value.channel0OrNull != null && value.channel1OrNull != null && value.channel2OrNull != null && value.alphaOrNull != null) {
  115959. _this._serialize0$_writeLegacyColor$1(value);
  115960. break $label0$0;
  115961. }
  115962. if (_0_2) {
  115963. t1 = _this._serialize0$_buffer;
  115964. t1.write$1(0, "rgb(");
  115965. _this._serialize0$_writeChannel$1(value.channel0OrNull);
  115966. t1.writeCharCode$1(32);
  115967. _this._serialize0$_writeChannel$1(value.channel1OrNull);
  115968. t1.writeCharCode$1(32);
  115969. _this._serialize0$_writeChannel$1(value.channel2OrNull);
  115970. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  115971. t1.writeCharCode$1(41);
  115972. break $label0$0;
  115973. }
  115974. if (!_0_4)
  115975. t1 = _0_6_isSet ? _0_6 : B.HwbColorSpace_guQ0 === _0_0;
  115976. else
  115977. t1 = true;
  115978. if (t1) {
  115979. t1 = _this._serialize0$_buffer;
  115980. t1.write$1(0, _0_0);
  115981. t1.writeCharCode$1(40);
  115982. t2 = _this._serialize0$_style === B.OutputStyle_10 ? _null : "deg";
  115983. _this._serialize0$_writeChannel$2(value.channel0OrNull, t2);
  115984. t1.writeCharCode$1(32);
  115985. _this._serialize0$_writeChannel$2(value.channel1OrNull, "%");
  115986. t1.writeCharCode$1(32);
  115987. _this._serialize0$_writeChannel$2(value.channel2OrNull, "%");
  115988. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  115989. t1.writeCharCode$1(41);
  115990. break $label0$0;
  115991. }
  115992. _0_10_isSet = B.LabColorSpace_2nT0 !== _0_0;
  115993. if (_0_10_isSet) {
  115994. _0_10 = B.LchColorSpace_Bpv0 === _0_0;
  115995. t1 = _0_10;
  115996. } else {
  115997. _0_10 = _null;
  115998. t1 = true;
  115999. }
  116000. t2 = false;
  116001. if (t1)
  116002. if (!_this._serialize0$_inspect) {
  116003. t1 = value.channel0OrNull;
  116004. if (t1 == null)
  116005. t1 = 0;
  116006. if (t1 > 0 || A.fuzzyEquals0(t1, 0))
  116007. t1 = t1 < 100 || A.fuzzyEquals0(t1, 100);
  116008. else
  116009. t1 = false;
  116010. t1 = !t1 && value.channel1OrNull != null && value.channel2OrNull != null;
  116011. } else
  116012. t1 = t2;
  116013. else
  116014. t1 = t2;
  116015. _0_12_isSet = !t1;
  116016. _0_14 = _null;
  116017. if (_0_12_isSet) {
  116018. _0_12 = B.OklabColorSpace_5400 === _0_0;
  116019. t1 = false;
  116020. _0_14_isSet = !_0_12;
  116021. if (_0_14_isSet) {
  116022. _0_14 = B.OklchColorSpace_9Gj0 === _0_0;
  116023. t2 = _0_14;
  116024. } else
  116025. t2 = true;
  116026. t3 = false;
  116027. if (t2)
  116028. if (!_this._serialize0$_inspect) {
  116029. t2 = value.channel0OrNull;
  116030. if (t2 == null)
  116031. t2 = 0;
  116032. if (t2 > 0 || A.fuzzyEquals0(t2, 0))
  116033. t2 = t2 < 1 || A.fuzzyEquals0(t2, 1);
  116034. else
  116035. t2 = false;
  116036. t2 = !t2 && value.channel1OrNull != null && value.channel2OrNull != null;
  116037. } else
  116038. t2 = t3;
  116039. else
  116040. t2 = t3;
  116041. if (!t2) {
  116042. if (_0_10_isSet) {
  116043. t2 = _0_10;
  116044. _0_10_isSet0 = _0_10_isSet;
  116045. } else {
  116046. _0_10 = B.LchColorSpace_Bpv0 === _0_0;
  116047. t2 = _0_10;
  116048. _0_10_isSet0 = true;
  116049. }
  116050. if (!t2)
  116051. if (_0_14_isSet)
  116052. t2 = _0_14;
  116053. else {
  116054. _0_14 = B.OklchColorSpace_9Gj0 === _0_0;
  116055. t2 = _0_14;
  116056. _0_14_isSet = true;
  116057. }
  116058. else
  116059. t2 = true;
  116060. if (t2)
  116061. if (!_this._serialize0$_inspect) {
  116062. t1 = value.channel1OrNull;
  116063. t2 = t1 == null;
  116064. if (t2)
  116065. t1 = 0;
  116066. t1 = t1 < 0 && !A.fuzzyEquals0(t1, 0) && value.channel0OrNull != null && !t2;
  116067. }
  116068. } else {
  116069. _0_10_isSet0 = _0_10_isSet;
  116070. t1 = true;
  116071. }
  116072. } else {
  116073. _0_12 = _null;
  116074. _0_10_isSet0 = _0_10_isSet;
  116075. _0_14_isSet = false;
  116076. t1 = true;
  116077. }
  116078. if (t1) {
  116079. t1 = _this._serialize0$_buffer;
  116080. t1.write$1(0, "color-mix(in ");
  116081. t1.write$1(0, _0_0);
  116082. t2 = _this._serialize0$_style === B.OutputStyle_10;
  116083. t1.write$1(0, t2 ? "," : ", ");
  116084. _this._serialize0$_writeColorFunction$1(value.toSpace$1(B.XyzD65ColorSpace_WiJ0));
  116085. if (!t2)
  116086. t1.writeCharCode$1(32);
  116087. t1.write$1(0, "100%");
  116088. t1.write$1(0, t2 ? "," : ", ");
  116089. t1.write$1(0, t2 ? "red" : "black");
  116090. t1.writeCharCode$1(41);
  116091. break $label0$0;
  116092. }
  116093. t1 = true;
  116094. if (_0_10_isSet)
  116095. if (!(_0_12_isSet ? _0_12 : B.OklabColorSpace_5400 === _0_0))
  116096. if (!(_0_10_isSet0 ? _0_10 : B.LchColorSpace_Bpv0 === _0_0))
  116097. t1 = _0_14_isSet ? _0_14 : B.OklchColorSpace_9Gj0 === _0_0;
  116098. if (t1) {
  116099. t1 = _this._serialize0$_buffer;
  116100. t1.write$1(0, _0_0);
  116101. t1.writeCharCode$1(40);
  116102. t2 = _0_0._space$_channels;
  116103. polar = t2[2].isPolarAngle;
  116104. t3 = false;
  116105. if (!_this._serialize0$_inspect) {
  116106. t4 = value.channel0OrNull;
  116107. if (t4 == null)
  116108. t4 = 0;
  116109. if (t4 > 0 || A.fuzzyEquals0(t4, 0))
  116110. t4 = t4 < 100 || A.fuzzyEquals0(t4, 100);
  116111. else
  116112. t4 = false;
  116113. if (t4) {
  116114. if (polar) {
  116115. t3 = value.channel1OrNull;
  116116. if (t3 == null)
  116117. t3 = 0;
  116118. t3 = t3 < 0 && !A.fuzzyEquals0(t3, 0);
  116119. }
  116120. } else
  116121. t3 = true;
  116122. }
  116123. if (t3) {
  116124. t1.write$1(0, "from ");
  116125. t1.write$1(0, _this._serialize0$_style === B.OutputStyle_10 ? "red" : "black");
  116126. t1.writeCharCode$1(32);
  116127. }
  116128. t3 = _this._serialize0$_style !== B.OutputStyle_10;
  116129. t4 = t3 && value.channel0OrNull != null;
  116130. t5 = value.channel0OrNull;
  116131. if (t4) {
  116132. t2 = type$.LinearChannel_2._as(t2[0]);
  116133. _this._serialize0$_writeNumber$1((t5 == null ? 0 : t5) * 100 / t2.max);
  116134. t1.writeCharCode$1(37);
  116135. } else
  116136. _this._serialize0$_writeChannel$1(t5);
  116137. t1.writeCharCode$1(32);
  116138. _this._serialize0$_writeChannel$1(value.channel1OrNull);
  116139. t1.writeCharCode$1(32);
  116140. t2 = polar && t3 ? "deg" : _null;
  116141. _this._serialize0$_writeChannel$2(value.channel2OrNull, t2);
  116142. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  116143. t1.writeCharCode$1(41);
  116144. break $label0$0;
  116145. }
  116146. _this._serialize0$_writeColorFunction$1(value);
  116147. }
  116148. },
  116149. _serialize0$_writeChannel$2(channel, unit) {
  116150. var _this = this;
  116151. if (channel == null)
  116152. _this._serialize0$_buffer.write$1(0, "none");
  116153. else if (isFinite(channel)) {
  116154. _this._serialize0$_writeNumber$1(channel);
  116155. if (unit != null)
  116156. _this._serialize0$_buffer.write$1(0, unit);
  116157. } else
  116158. _this.visitNumber$1(A.SassNumber_SassNumber0(channel, unit));
  116159. },
  116160. _serialize0$_writeChannel$1(channel) {
  116161. return this._serialize0$_writeChannel$2(channel, null);
  116162. },
  116163. _serialize0$_writeLegacyColor$1(color) {
  116164. var rgb, t3, red, green, blue, hsl, hue, saturation, lightness, hwb, _0_0, format, _1_0, _this = this,
  116165. t1 = color.alphaOrNull,
  116166. t2 = t1 == null,
  116167. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1);
  116168. if (!color.get$isInGamut() && !_this._serialize0$_inspect) {
  116169. _this._serialize0$_writeHsl$1(color);
  116170. return;
  116171. }
  116172. if (_this._serialize0$_style === B.OutputStyle_10) {
  116173. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  116174. if (opaque && _this._serialize0$_tryIntegerRgb$1(rgb))
  116175. return;
  116176. t3 = rgb.channel0OrNull;
  116177. red = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116178. t3 = rgb.channel1OrNull;
  116179. green = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116180. t3 = rgb.channel2OrNull;
  116181. blue = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116182. hsl = color.toSpace$1(B.HslColorSpace_JQ20);
  116183. t3 = hsl.channel0OrNull;
  116184. hue = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116185. t3 = hsl.channel1OrNull;
  116186. saturation = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116187. t3 = hsl.channel2OrNull;
  116188. lightness = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116189. t3 = _this._serialize0$_buffer;
  116190. if (red.length + green.length + blue.length <= hue.length + saturation.length + lightness.length + 2) {
  116191. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  116192. t3.write$1(0, red);
  116193. t3.writeCharCode$1(44);
  116194. t3.write$1(0, green);
  116195. t3.writeCharCode$1(44);
  116196. t3.write$1(0, blue);
  116197. } else {
  116198. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  116199. t3.write$1(0, hue);
  116200. t3.writeCharCode$1(44);
  116201. t3.write$1(0, saturation);
  116202. t3.write$1(0, "%,");
  116203. t3.write$1(0, lightness);
  116204. t3.writeCharCode$1(37);
  116205. }
  116206. if (!opaque) {
  116207. t3.writeCharCode$1(44);
  116208. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116209. }
  116210. t3.writeCharCode$1(41);
  116211. return;
  116212. }
  116213. t3 = color._color0$_space;
  116214. if (t3 === B.HslColorSpace_JQ20) {
  116215. _this._serialize0$_writeHsl$1(color);
  116216. return;
  116217. } else if (_this._serialize0$_inspect && t3 === B.HwbColorSpace_guQ0) {
  116218. t3 = _this._serialize0$_buffer;
  116219. t3.write$1(0, "hwb(");
  116220. hwb = color.toSpace$1(B.HwbColorSpace_guQ0);
  116221. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "hue"));
  116222. t3.writeCharCode$1(32);
  116223. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "whiteness"));
  116224. t3.writeCharCode$1(37);
  116225. t3.writeCharCode$1(32);
  116226. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "blackness"));
  116227. t3.writeCharCode$1(37);
  116228. if (!A.fuzzyEquals0(t2 ? 0 : t1, 1)) {
  116229. t3.write$1(0, " / ");
  116230. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116231. }
  116232. t3.writeCharCode$1(41);
  116233. return;
  116234. }
  116235. _0_0 = color.format;
  116236. if (B.C__ColorFormatEnum0 === _0_0) {
  116237. _this._serialize0$_writeRgb$1(color);
  116238. return;
  116239. }
  116240. t1 = _0_0 instanceof A.SpanColorFormat0;
  116241. format = t1 ? _0_0 : null;
  116242. if (t1) {
  116243. _this._serialize0$_buffer.write$1(0, format._color0$_span.get$text());
  116244. return;
  116245. }
  116246. if (opaque) {
  116247. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  116248. _1_0 = $.$get$namesByColor0().$index(0, rgb);
  116249. if (_1_0 != null) {
  116250. _this._serialize0$_buffer.write$1(0, _1_0);
  116251. return;
  116252. }
  116253. if (_this._serialize0$_canUseHex$1(rgb)) {
  116254. _this._serialize0$_buffer.writeCharCode$1(35);
  116255. t1 = rgb.channel0OrNull;
  116256. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  116257. t1 = rgb.channel1OrNull;
  116258. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  116259. t1 = rgb.channel2OrNull;
  116260. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  116261. return;
  116262. }
  116263. }
  116264. if (t3 === B.HwbColorSpace_guQ0)
  116265. _this._serialize0$_writeHsl$1(color);
  116266. else
  116267. _this._serialize0$_writeRgb$1(color);
  116268. },
  116269. _serialize0$_tryIntegerRgb$1(rgb) {
  116270. var t1, redInt, greenInt, blueInt, shortHex, _0_0, t2, t3, $name, _this = this;
  116271. if (!_this._serialize0$_canUseHex$1(rgb))
  116272. return false;
  116273. t1 = rgb.channel0OrNull;
  116274. redInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  116275. t1 = rgb.channel1OrNull;
  116276. greenInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  116277. t1 = rgb.channel2OrNull;
  116278. blueInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  116279. t1 = redInt & 15;
  116280. 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);
  116281. _0_0 = $.$get$namesByColor0().$index(0, rgb);
  116282. t2 = false;
  116283. if (_0_0 != null) {
  116284. t3 = _0_0.length;
  116285. t2 = t3 <= (shortHex ? 4 : 7);
  116286. $name = _0_0;
  116287. } else
  116288. $name = null;
  116289. if (t2)
  116290. _this._serialize0$_buffer.write$1(0, $name);
  116291. else {
  116292. t2 = _this._serialize0$_buffer;
  116293. if (shortHex) {
  116294. t2.writeCharCode$1(35);
  116295. t2.writeCharCode$1(A.hexCharFor0(t1));
  116296. t2.writeCharCode$1(A.hexCharFor0(greenInt & 15));
  116297. t2.writeCharCode$1(A.hexCharFor0(blueInt & 15));
  116298. } else {
  116299. t2.writeCharCode$1(35);
  116300. _this._serialize0$_writeHexComponent$1(redInt);
  116301. _this._serialize0$_writeHexComponent$1(greenInt);
  116302. _this._serialize0$_writeHexComponent$1(blueInt);
  116303. }
  116304. }
  116305. return true;
  116306. },
  116307. _serialize0$_canUseHex$1(rgb) {
  116308. var t2,
  116309. t1 = rgb.channel0OrNull;
  116310. if (t1 == null)
  116311. t1 = 0;
  116312. if (A.fuzzyIsInt0(t1))
  116313. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  116314. else
  116315. t1 = false;
  116316. t2 = false;
  116317. if (t1) {
  116318. t1 = rgb.channel1OrNull;
  116319. if (t1 == null)
  116320. t1 = 0;
  116321. if (A.fuzzyIsInt0(t1))
  116322. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  116323. else
  116324. t1 = false;
  116325. if (t1) {
  116326. t1 = rgb.channel2OrNull;
  116327. if (t1 == null)
  116328. t1 = 0;
  116329. if (A.fuzzyIsInt0(t1))
  116330. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  116331. else
  116332. t1 = t2;
  116333. } else
  116334. t1 = t2;
  116335. } else
  116336. t1 = t2;
  116337. return t1;
  116338. },
  116339. _serialize0$_writeRgb$1(color) {
  116340. var t4, _this = this,
  116341. t1 = color.alphaOrNull,
  116342. t2 = t1 == null,
  116343. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1),
  116344. rgb = color.toSpace$1(B.RgbColorSpace_i0P0),
  116345. t3 = _this._serialize0$_buffer;
  116346. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  116347. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "red"));
  116348. t4 = _this._serialize0$_style === B.OutputStyle_10;
  116349. t3.write$1(0, t4 ? "," : ", ");
  116350. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "green"));
  116351. t3.write$1(0, t4 ? "," : ", ");
  116352. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "blue"));
  116353. if (!opaque) {
  116354. t3.write$1(0, t4 ? "," : ", ");
  116355. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116356. }
  116357. t3.writeCharCode$1(41);
  116358. },
  116359. _serialize0$_writeHsl$1(color) {
  116360. var t4, _this = this,
  116361. t1 = color.alphaOrNull,
  116362. t2 = t1 == null,
  116363. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1),
  116364. hsl = color.toSpace$1(B.HslColorSpace_JQ20),
  116365. t3 = _this._serialize0$_buffer;
  116366. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  116367. _this._serialize0$_writeChannel$1(hsl.channel$1(0, "hue"));
  116368. t4 = _this._serialize0$_style === B.OutputStyle_10;
  116369. t3.write$1(0, t4 ? "," : ", ");
  116370. _this._serialize0$_writeChannel$2(hsl.channel$1(0, "saturation"), "%");
  116371. t3.write$1(0, t4 ? "," : ", ");
  116372. _this._serialize0$_writeChannel$2(hsl.channel$1(0, "lightness"), "%");
  116373. if (!opaque) {
  116374. t3.write$1(0, t4 ? "," : ", ");
  116375. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116376. }
  116377. t3.writeCharCode$1(41);
  116378. },
  116379. _serialize0$_writeColorFunction$1(color) {
  116380. var _this = this,
  116381. t1 = _this._serialize0$_buffer;
  116382. t1.write$1(0, "color(");
  116383. t1.write$1(0, color._color0$_space);
  116384. t1.writeCharCode$1(32);
  116385. _this._serialize0$_writeBetween$3(color.get$channelsOrNull(), " ", _this.get$_serialize0$_writeChannel());
  116386. _this._serialize0$_maybeWriteSlashAlpha$1(color);
  116387. t1.writeCharCode$1(41);
  116388. },
  116389. _serialize0$_writeHexComponent$1(color) {
  116390. var t1 = this._serialize0$_buffer;
  116391. t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  116392. t1.writeCharCode$1(A.hexCharFor0(color & 15));
  116393. },
  116394. _serialize0$_maybeWriteSlashAlpha$1(color) {
  116395. var t2, t3, _this = this,
  116396. t1 = color.alphaOrNull;
  116397. if (A.fuzzyEquals0(t1 == null ? 0 : t1, 1))
  116398. return;
  116399. t2 = _this._serialize0$_style !== B.OutputStyle_10;
  116400. if (t2)
  116401. _this._serialize0$_buffer.writeCharCode$1(32);
  116402. t3 = _this._serialize0$_buffer;
  116403. t3.writeCharCode$1(47);
  116404. if (t2)
  116405. t3.writeCharCode$1(32);
  116406. _this._serialize0$_writeChannel$1(t1);
  116407. },
  116408. visitList$1(value) {
  116409. var t2, singleton, t3, t4, t5, _this = this,
  116410. t1 = value._list1$_hasBrackets;
  116411. if (t1)
  116412. _this._serialize0$_buffer.writeCharCode$1(91);
  116413. else if (value._list1$_contents.length === 0) {
  116414. if (!_this._serialize0$_inspect)
  116415. throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value.", null));
  116416. _this._serialize0$_buffer.write$1(0, "()");
  116417. return;
  116418. }
  116419. t2 = _this._serialize0$_inspect;
  116420. singleton = false;
  116421. if (t2)
  116422. if (value._list1$_contents.length === 1) {
  116423. t3 = value._list1$_separator;
  116424. t3 = t3 === B.ListSeparator_qVN0 || t3 === B.ListSeparator_bRz0;
  116425. singleton = t3;
  116426. }
  116427. if (singleton && !t1)
  116428. _this._serialize0$_buffer.writeCharCode$1(40);
  116429. t3 = value._list1$_contents;
  116430. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  116431. t4 = value._list1$_separator;
  116432. t5 = _this._serialize0$_separatorString$1(t4);
  116433. _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
  116434. if (singleton) {
  116435. t2 = _this._serialize0$_buffer;
  116436. t2.write$1(0, t4.separator);
  116437. if (!t1)
  116438. t2.writeCharCode$1(41);
  116439. }
  116440. if (t1)
  116441. _this._serialize0$_buffer.writeCharCode$1(93);
  116442. },
  116443. _serialize0$_separatorString$1(separator) {
  116444. var t1;
  116445. $label0$0: {
  116446. if (B.ListSeparator_qVN0 === separator) {
  116447. t1 = this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  116448. break $label0$0;
  116449. }
  116450. if (B.ListSeparator_bRz0 === separator) {
  116451. t1 = this._serialize0$_style === B.OutputStyle_10 ? "/" : " / ";
  116452. break $label0$0;
  116453. }
  116454. if (B.ListSeparator_qSL0 === separator) {
  116455. t1 = " ";
  116456. break $label0$0;
  116457. }
  116458. t1 = "";
  116459. break $label0$0;
  116460. }
  116461. return t1;
  116462. },
  116463. _serialize0$_elementNeedsParens$2(separator, value) {
  116464. var t1;
  116465. $label1$1: {
  116466. if (value instanceof A.SassList0 && value._list1$_contents.length > 1 && !value._list1$_hasBrackets) {
  116467. $label0$0: {
  116468. if (B.ListSeparator_qVN0 === separator) {
  116469. t1 = value._list1$_separator === B.ListSeparator_qVN0;
  116470. break $label0$0;
  116471. }
  116472. if (B.ListSeparator_bRz0 === separator) {
  116473. t1 = value._list1$_separator;
  116474. t1 = t1 === B.ListSeparator_qVN0 || t1 === B.ListSeparator_bRz0;
  116475. break $label0$0;
  116476. }
  116477. t1 = value._list1$_separator !== B.ListSeparator_undecided_null_undecided0;
  116478. break $label0$0;
  116479. }
  116480. break $label1$1;
  116481. }
  116482. t1 = false;
  116483. break $label1$1;
  116484. }
  116485. return t1;
  116486. },
  116487. visitMap$1(map) {
  116488. var t1, t2, _this = this;
  116489. if (!_this._serialize0$_inspect)
  116490. throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value.", null));
  116491. t1 = _this._serialize0$_buffer;
  116492. t1.writeCharCode$1(40);
  116493. t2 = map._map0$_contents;
  116494. _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
  116495. t1.writeCharCode$1(41);
  116496. },
  116497. _serialize0$_writeMapElement$1(value) {
  116498. var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_qVN0 && !value._list1$_hasBrackets;
  116499. if (needsParens)
  116500. this._serialize0$_buffer.writeCharCode$1(40);
  116501. value.accept$1(this);
  116502. if (needsParens)
  116503. this._serialize0$_buffer.writeCharCode$1(41);
  116504. },
  116505. visitNumber$1(value) {
  116506. var before, after, t1, _1_0, _this = this,
  116507. _0_0 = value.asSlash;
  116508. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  116509. before = _0_0._0;
  116510. after = _0_0._1;
  116511. _this.visitNumber$1(before);
  116512. _this._serialize0$_buffer.writeCharCode$1(47);
  116513. _this.visitNumber$1(after);
  116514. return;
  116515. }
  116516. t1 = value._number1$_value;
  116517. if (!isFinite(t1)) {
  116518. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  116519. return;
  116520. }
  116521. if (value.get$hasComplexUnits()) {
  116522. if (!_this._serialize0$_inspect)
  116523. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", null));
  116524. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  116525. } else {
  116526. _this._serialize0$_writeNumber$1(t1);
  116527. _1_0 = value.get$numeratorUnits(value);
  116528. if (_1_0.length === 1)
  116529. _this._serialize0$_buffer.write$1(0, _1_0[0]);
  116530. }
  116531. },
  116532. _serialize0$_writeNumberToString$1(number) {
  116533. var t1 = new A.StringBuffer("");
  116534. this._serialize0$_writeNumber$2(number, new A.NoSourceMapBuffer0(t1));
  116535. t1 = t1._contents;
  116536. return t1.charCodeAt(0) == 0 ? t1 : t1;
  116537. },
  116538. _serialize0$_writeNumber$2(number, buffer) {
  116539. var _0_0, text, _this = this;
  116540. if (buffer == null)
  116541. buffer = _this._serialize0$_buffer;
  116542. _0_0 = A.fuzzyAsInt0(number);
  116543. if (_0_0 != null) {
  116544. buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(_0_0)));
  116545. return;
  116546. }
  116547. text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
  116548. if (text.length < 12) {
  116549. buffer.write$1(0, _this._serialize0$_style === B.OutputStyle_10 && text.charCodeAt(0) === 48 ? B.JSString_methods.substring$1(text, 1) : text);
  116550. return;
  116551. }
  116552. _this._serialize0$_writeRounded$2(text, buffer);
  116553. },
  116554. _serialize0$_writeNumber$1(number) {
  116555. return this._serialize0$_writeNumber$2(number, null);
  116556. },
  116557. _serialize0$_removeExponent$1(text) {
  116558. var buffer, t2, t3, additionalZeroes,
  116559. negative = text.charCodeAt(0) === 45,
  116560. exponent = A._Cell$(),
  116561. t1 = text.length,
  116562. i = 0;
  116563. while (true) {
  116564. if (!(i < t1)) {
  116565. buffer = null;
  116566. break;
  116567. }
  116568. c$0: {
  116569. if (text.charCodeAt(i) !== 101)
  116570. break c$0;
  116571. buffer = new A.StringBuffer("");
  116572. t2 = buffer._contents = "" + A.Primitives_stringFromCharCode(text.charCodeAt(0));
  116573. if (negative) {
  116574. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  116575. buffer._contents = t2;
  116576. if (i > 3)
  116577. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  116578. } else if (i > 2)
  116579. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  116580. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  116581. break;
  116582. }
  116583. ++i;
  116584. }
  116585. if (buffer == null)
  116586. return text;
  116587. if (exponent._readLocal$0() > 0) {
  116588. t1 = exponent._readLocal$0();
  116589. t2 = buffer._contents;
  116590. t3 = negative ? 1 : 0;
  116591. additionalZeroes = t1 - (t2.length - 1 - t3);
  116592. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  116593. t1 = A.Primitives_stringFromCharCode(48);
  116594. t1 = buffer._contents += t1;
  116595. }
  116596. return t1.charCodeAt(0) == 0 ? t1 : t1;
  116597. } else {
  116598. negative = text.charCodeAt(0) === 45;
  116599. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  116600. i = -1;
  116601. while (true) {
  116602. t2 = exponent.__late_helper$_value;
  116603. if (t2 === exponent)
  116604. A.throwExpression(A.LateError$localNI(""));
  116605. if (!(i > t2))
  116606. break;
  116607. t1 += A.Primitives_stringFromCharCode(48);
  116608. --i;
  116609. }
  116610. if (negative) {
  116611. t2 = buffer._contents;
  116612. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  116613. } else
  116614. t2 = buffer;
  116615. t2 = t1 + A.S(t2);
  116616. return t2.charCodeAt(0) == 0 ? t2 : t2;
  116617. }
  116618. },
  116619. _serialize0$_writeRounded$2(text, buffer) {
  116620. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex;
  116621. if (B.JSString_methods.endsWith$1(text, ".0")) {
  116622. buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  116623. return;
  116624. }
  116625. t1 = text.length;
  116626. digits = new Uint8Array(t1 + 1);
  116627. negative = text.charCodeAt(0) === 45;
  116628. textIndex = negative ? 1 : 0;
  116629. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  116630. if (textIndex === t1) {
  116631. buffer.write$1(0, text);
  116632. return;
  116633. }
  116634. textIndex0 = textIndex + 1;
  116635. codeUnit = text.charCodeAt(textIndex);
  116636. if (codeUnit === 46) {
  116637. textIndex = textIndex0;
  116638. break;
  116639. }
  116640. digitsIndex0 = digitsIndex + 1;
  116641. digits[digitsIndex] = codeUnit - 48;
  116642. }
  116643. indexAfterPrecision = textIndex + 10;
  116644. if (indexAfterPrecision >= t1) {
  116645. buffer.write$1(0, text);
  116646. return;
  116647. }
  116648. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  116649. digitsIndex1 = digitsIndex0 + 1;
  116650. textIndex0 = textIndex + 1;
  116651. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  116652. }
  116653. if (text.charCodeAt(textIndex) - 48 >= 5)
  116654. for (; true; digitsIndex0 = digitsIndex1) {
  116655. digitsIndex1 = digitsIndex0 - 1;
  116656. newDigit = digits[digitsIndex1] + 1;
  116657. digits[digitsIndex1] = newDigit;
  116658. if (newDigit !== 10)
  116659. break;
  116660. }
  116661. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  116662. digits[digitsIndex0] = 0;
  116663. while (true) {
  116664. t1 = digitsIndex0 > digitsIndex;
  116665. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  116666. break;
  116667. --digitsIndex0;
  116668. }
  116669. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  116670. buffer.writeCharCode$1(48);
  116671. return;
  116672. }
  116673. if (negative)
  116674. buffer.writeCharCode$1(45);
  116675. if (digits[0] === 0)
  116676. writtenIndex = this._serialize0$_style === B.OutputStyle_10 && digits[1] === 0 ? 2 : 1;
  116677. else
  116678. writtenIndex = 0;
  116679. for (; writtenIndex < digitsIndex; ++writtenIndex)
  116680. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  116681. if (t1) {
  116682. buffer.writeCharCode$1(46);
  116683. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  116684. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  116685. }
  116686. },
  116687. _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  116688. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  116689. buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
  116690. if (forceDoubleQuote)
  116691. buffer.writeCharCode$1(34);
  116692. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  116693. char = string.charCodeAt(i);
  116694. _1_2 = 39 === char;
  116695. if (_1_2 && forceDoubleQuote) {
  116696. buffer.writeCharCode$1(39);
  116697. continue;
  116698. }
  116699. if (_1_2 && includesDoubleQuote) {
  116700. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  116701. return;
  116702. }
  116703. if (_1_2) {
  116704. buffer.writeCharCode$1(39);
  116705. includesSingleQuote = true;
  116706. continue;
  116707. }
  116708. _1_4 = 34 === char;
  116709. if (_1_4 && forceDoubleQuote) {
  116710. buffer.writeCharCode$1(92);
  116711. buffer.writeCharCode$1(34);
  116712. continue;
  116713. }
  116714. if (_1_4 && includesSingleQuote) {
  116715. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  116716. return;
  116717. }
  116718. if (_1_4) {
  116719. buffer.writeCharCode$1(34);
  116720. includesDoubleQuote = true;
  116721. continue;
  116722. }
  116723. 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) {
  116724. _this._serialize0$_writeEscape$4(buffer, char, string, i);
  116725. continue;
  116726. }
  116727. if (92 === char) {
  116728. buffer.writeCharCode$1(92);
  116729. buffer.writeCharCode$1(92);
  116730. continue;
  116731. }
  116732. _0_0 = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
  116733. if (_0_0 != null)
  116734. i = _0_0;
  116735. else
  116736. buffer.writeCharCode$1(char);
  116737. }
  116738. if (forceDoubleQuote)
  116739. buffer.writeCharCode$1(34);
  116740. else {
  116741. quote = includesDoubleQuote ? 39 : 34;
  116742. t1 = _this._serialize0$_buffer;
  116743. t1.writeCharCode$1(quote);
  116744. t1.write$1(0, buffer);
  116745. t1.writeCharCode$1(quote);
  116746. }
  116747. },
  116748. _serialize0$_visitQuotedString$1(string) {
  116749. return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
  116750. },
  116751. _serialize0$_visitUnquotedString$1(string) {
  116752. var t1, t2, afterNewline, i, _1_0, _0_0;
  116753. for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  116754. _1_0 = string.charCodeAt(i);
  116755. if (10 === _1_0) {
  116756. t2.writeCharCode$1(32);
  116757. afterNewline = true;
  116758. continue;
  116759. }
  116760. if (32 === _1_0) {
  116761. if (!afterNewline)
  116762. t2.writeCharCode$1(32);
  116763. continue;
  116764. }
  116765. _0_0 = this._serialize0$_tryPrivateUseCharacter$4(t2, _1_0, string, i);
  116766. if (_0_0 != null)
  116767. i = _0_0;
  116768. else
  116769. t2.writeCharCode$1(_1_0);
  116770. afterNewline = false;
  116771. }
  116772. },
  116773. _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  116774. var t1;
  116775. if (this._serialize0$_style === B.OutputStyle_10)
  116776. return null;
  116777. if (codeUnit >= 57344 && codeUnit <= 63743) {
  116778. this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
  116779. return i;
  116780. }
  116781. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  116782. t1 = i + 1;
  116783. this._serialize0$_writeEscape$4(buffer, A.combineSurrogates(codeUnit, string.charCodeAt(t1)), string, t1);
  116784. return t1;
  116785. }
  116786. return null;
  116787. },
  116788. _serialize0$_writeEscape$4(buffer, character, string, i) {
  116789. var t1, next;
  116790. buffer.writeCharCode$1(92);
  116791. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  116792. t1 = i + 1;
  116793. if (string.length === t1)
  116794. return;
  116795. next = string.charCodeAt(t1);
  116796. if (A.CharacterExtension_get_isHex0(next) || 32 === next || 9 === next)
  116797. buffer.writeCharCode$1(32);
  116798. },
  116799. visitAttributeSelector$1(attribute) {
  116800. var _0_0, t2,
  116801. t1 = this._serialize0$_buffer;
  116802. t1.writeCharCode$1(91);
  116803. t1.write$1(0, attribute.name);
  116804. _0_0 = attribute.value;
  116805. if (_0_0 != null) {
  116806. t1.write$1(0, attribute.op);
  116807. if (A.Parser_isIdentifier0(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  116808. t1.write$1(0, _0_0);
  116809. t2 = attribute.modifier;
  116810. if (t2 != null)
  116811. t1.writeCharCode$1(32);
  116812. } else {
  116813. this._serialize0$_visitQuotedString$1(_0_0);
  116814. t2 = attribute.modifier;
  116815. if (t2 != null)
  116816. if (this._serialize0$_style !== B.OutputStyle_10)
  116817. t1.writeCharCode$1(32);
  116818. }
  116819. A.NullableExtension_andThen0(t2, t1.get$write(t1));
  116820. }
  116821. t1.writeCharCode$1(93);
  116822. },
  116823. visitClassSelector$1(klass) {
  116824. var t1 = this._serialize0$_buffer;
  116825. t1.writeCharCode$1(46);
  116826. t1.write$1(0, klass.name);
  116827. },
  116828. visitComplexSelector$1(complex) {
  116829. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  116830. t1 = complex.leadingCombinators;
  116831. _this._serialize0$_writeCombinators$1(t1);
  116832. if (t1.length >= 1 && complex.components.length >= 1)
  116833. if (_this._serialize0$_style !== B.OutputStyle_10)
  116834. _this._serialize0$_buffer.writeCharCode$1(32);
  116835. 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) {
  116836. component = t1[i];
  116837. _this.visitCompoundSelector$1(component.selector);
  116838. t7 = component.combinators;
  116839. t8 = t7.length === 0;
  116840. if (!t8)
  116841. if (t6)
  116842. t4.writeCharCode$1(32);
  116843. t9 = t5 ? "" : " ";
  116844. _this._serialize0$_writeBetween$3(t7, t9, t4.get$write(t4));
  116845. if (i !== t3)
  116846. t7 = !t5 || t8;
  116847. else
  116848. t7 = false;
  116849. if (t7)
  116850. t4.writeCharCode$1(32);
  116851. }
  116852. },
  116853. _serialize0$_writeCombinators$1(combinators) {
  116854. var t1 = this._serialize0$_style === B.OutputStyle_10 ? "" : " ",
  116855. t2 = this._serialize0$_buffer;
  116856. return this._serialize0$_writeBetween$3(combinators, t1, t2.get$write(t2));
  116857. },
  116858. visitCompoundSelector$1(compound) {
  116859. var t2, t3, _i,
  116860. t1 = this._serialize0$_buffer,
  116861. start = t1.get$length(t1);
  116862. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  116863. t2[_i].accept$1(this);
  116864. if (t1.get$length(t1) === start)
  116865. t1.writeCharCode$1(42);
  116866. },
  116867. visitIDSelector$1(id) {
  116868. var t1 = this._serialize0$_buffer;
  116869. t1.writeCharCode$1(35);
  116870. t1.write$1(0, id.name);
  116871. },
  116872. visitSelectorList$1(list) {
  116873. var t1, t2, t3, t4, first, t5, _this = this,
  116874. complexes = list.components;
  116875. 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();) {
  116876. t5 = t1.get$current(t1);
  116877. if (first)
  116878. first = false;
  116879. else {
  116880. t3.writeCharCode$1(44);
  116881. if (t5.lineBreak) {
  116882. if (t2)
  116883. t3.write$1(0, t4);
  116884. _this._serialize0$_writeIndentation$0();
  116885. } else if (t2)
  116886. t3.writeCharCode$1(32);
  116887. }
  116888. _this.visitComplexSelector$1(t5);
  116889. }
  116890. },
  116891. visitParentSelector$1($parent) {
  116892. var t1 = this._serialize0$_buffer;
  116893. t1.writeCharCode$1(38);
  116894. A.NullableExtension_andThen0($parent.suffix, t1.get$write(t1));
  116895. },
  116896. visitPlaceholderSelector$1(placeholder) {
  116897. var t1 = this._serialize0$_buffer;
  116898. t1.writeCharCode$1(37);
  116899. t1.write$1(0, placeholder.name);
  116900. },
  116901. visitPseudoSelector$1(pseudo) {
  116902. var _0_4, t3,
  116903. t1 = pseudo.name,
  116904. t2 = false;
  116905. if ("not" === t1) {
  116906. _0_4 = pseudo.selector;
  116907. if (_0_4 instanceof A.SelectorList0)
  116908. t2 = (_0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true0);
  116909. }
  116910. if (t2)
  116911. return;
  116912. t2 = this._serialize0$_buffer;
  116913. t2.writeCharCode$1(58);
  116914. if (!pseudo.isSyntacticClass)
  116915. t2.writeCharCode$1(58);
  116916. t2.write$1(0, t1);
  116917. t1 = pseudo.argument;
  116918. t3 = t1 == null;
  116919. if (t3 && pseudo.selector == null)
  116920. return;
  116921. t2.writeCharCode$1(40);
  116922. if (!t3) {
  116923. t2.write$1(0, t1);
  116924. if (pseudo.selector != null)
  116925. t2.writeCharCode$1(32);
  116926. }
  116927. A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  116928. t2.writeCharCode$1(41);
  116929. },
  116930. visitTypeSelector$1(type) {
  116931. this._serialize0$_buffer.write$1(0, type.name);
  116932. },
  116933. visitUniversalSelector$1(universal) {
  116934. var t2,
  116935. t1 = universal.namespace;
  116936. if (t1 != null) {
  116937. t2 = this._serialize0$_buffer;
  116938. t2.write$1(0, t1);
  116939. t2.writeCharCode$1(124);
  116940. }
  116941. this._serialize0$_buffer.writeCharCode$1(42);
  116942. },
  116943. _serialize0$_write$1(value) {
  116944. return this._serialize0$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure0(this, value));
  116945. },
  116946. _serialize0$_visitChildren$1($parent) {
  116947. var t2, t3, t4, t5, t6, t7, t8, prePrevious, previous, t9, previous0, t10, savedIndentation, _this = this,
  116948. t1 = _this._serialize0$_buffer;
  116949. t1.writeCharCode$1(123);
  116950. 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();) {
  116951. t9 = t2.__internal$_current;
  116952. previous0 = t9 == null ? t3._as(t9) : t9;
  116953. if (t7)
  116954. t9 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  116955. else
  116956. t9 = false;
  116957. if (t9)
  116958. continue;
  116959. t9 = previous == null;
  116960. t10 = t9 ? null : t6.call$1(previous);
  116961. if (t10 == null ? false : t10)
  116962. t1.writeCharCode$1(59);
  116963. if (_this._serialize0$_isTrailingComment$2(previous0, t9 ? $parent : previous)) {
  116964. if (t5)
  116965. t1.writeCharCode$1(32);
  116966. savedIndentation = _this._serialize0$_indentation;
  116967. _this._serialize0$_indentation = 0;
  116968. new A._SerializeVisitor__visitChildren_closure1(_this, previous0).call$0();
  116969. _this._serialize0$_indentation = savedIndentation;
  116970. } else {
  116971. if (t5)
  116972. t1.write$1(0, t8);
  116973. ++_this._serialize0$_indentation;
  116974. new A._SerializeVisitor__visitChildren_closure2(_this, previous0).call$0();
  116975. --_this._serialize0$_indentation;
  116976. }
  116977. prePrevious = previous;
  116978. previous = previous0;
  116979. }
  116980. if (previous != null) {
  116981. if ((type$.CssParentNode_2._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t5)
  116982. t1.writeCharCode$1(59);
  116983. if (prePrevious == null && _this._serialize0$_isTrailingComment$2(previous, $parent)) {
  116984. if (t5)
  116985. t1.writeCharCode$1(32);
  116986. } else {
  116987. _this._serialize0$_writeLineFeed$0();
  116988. _this._serialize0$_writeIndentation$0();
  116989. }
  116990. }
  116991. t1.writeCharCode$1(125);
  116992. },
  116993. _serialize0$_requiresSemicolon$1(node) {
  116994. return type$.CssParentNode_2._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment0);
  116995. },
  116996. _serialize0$_isTrailingComment$2(node, previous) {
  116997. var t1, t2, t3, searchFrom, endOffset, t4, span;
  116998. if (this._serialize0$_style === B.OutputStyle_10)
  116999. return false;
  117000. if (!(node instanceof A.ModifiableCssComment0))
  117001. return false;
  117002. t1 = node.span;
  117003. t2 = t1.get$sourceUrl(t1);
  117004. t3 = previous.get$span(previous);
  117005. if (!J.$eq$(t2, t3.get$sourceUrl(t3)))
  117006. return false;
  117007. t2 = previous.get$span(previous);
  117008. 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)) {
  117009. t1 = t1.get$start(t1);
  117010. t1 = t1.file.getLine$1(t1.offset);
  117011. t2 = previous.get$span(previous);
  117012. t2 = t2.get$end(t2);
  117013. return t1 === t2.file.getLine$1(t2.offset);
  117014. }
  117015. t2 = t1.get$start(t1);
  117016. t3 = previous.get$span(previous);
  117017. searchFrom = t2.offset - t3.get$start(t3).offset - 1;
  117018. if (searchFrom < 0)
  117019. return false;
  117020. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  117021. t2 = previous.get$span(previous);
  117022. t2 = t2.get$file(t2);
  117023. t3 = previous.get$span(previous);
  117024. t3 = t3.get$start(t3);
  117025. t4 = previous.get$span(previous);
  117026. span = t2.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  117027. t1 = t1.get$start(t1);
  117028. t1 = t1.file.getLine$1(t1.offset);
  117029. t4 = A.FileLocation$_(span.file, span._end);
  117030. return t1 === t4.file.getLine$1(t4.offset);
  117031. },
  117032. _serialize0$_writeLineFeed$0() {
  117033. if (this._serialize0$_style !== B.OutputStyle_10)
  117034. this._serialize0$_buffer.write$1(0, this._lineFeed.text);
  117035. },
  117036. _serialize0$_writeIndentation$0() {
  117037. var _this = this;
  117038. if (_this._serialize0$_style === B.OutputStyle_10)
  117039. return;
  117040. _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
  117041. },
  117042. _serialize0$_writeTimes$2(char, times) {
  117043. var t1, i;
  117044. for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
  117045. t1.writeCharCode$1(char);
  117046. },
  117047. _serialize0$_writeBetween$1$3(iterable, text, callback) {
  117048. var t1, t2, first, value;
  117049. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
  117050. value = t1.get$current(t1);
  117051. if (first)
  117052. first = false;
  117053. else
  117054. t2.write$1(0, text);
  117055. callback.call$1(value);
  117056. }
  117057. },
  117058. _serialize0$_writeBetween$3(iterable, text, callback) {
  117059. return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
  117060. }
  117061. };
  117062. A._SerializeVisitor_visitCssComment_closure0.prototype = {
  117063. call$0() {
  117064. var t2, t3, _0_0, minimumIndentation,
  117065. t1 = this.$this;
  117066. if (t1._serialize0$_style === B.OutputStyle_10 && this.node.text.charCodeAt(2) !== 33)
  117067. return;
  117068. t2 = this.node;
  117069. t3 = t2.text;
  117070. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  117071. return;
  117072. _0_0 = t1._serialize0$_minimumIndentation$1(t3);
  117073. if (_0_0 != null) {
  117074. t2 = t2.span;
  117075. t2 = t2.get$start(t2);
  117076. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  117077. t1._serialize0$_writeIndentation$0();
  117078. t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
  117079. } else {
  117080. t1._serialize0$_writeIndentation$0();
  117081. t1._serialize0$_buffer.write$1(0, t3);
  117082. }
  117083. },
  117084. $signature: 1
  117085. };
  117086. A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
  117087. call$0() {
  117088. var t3, _0_0,
  117089. t1 = this.$this,
  117090. t2 = t1._serialize0$_buffer;
  117091. t2.writeCharCode$1(64);
  117092. t3 = this.node;
  117093. t1._serialize0$_write$1(t3.name);
  117094. _0_0 = t3.value;
  117095. if (_0_0 != null) {
  117096. t2.writeCharCode$1(32);
  117097. t1._serialize0$_write$1(_0_0);
  117098. }
  117099. },
  117100. $signature: 1
  117101. };
  117102. A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
  117103. call$0() {
  117104. var t3, firstQuery, t4, t5,
  117105. t1 = this.$this,
  117106. t2 = t1._serialize0$_buffer;
  117107. t2.write$1(0, "@media");
  117108. t3 = this.node.queries;
  117109. firstQuery = B.JSArray_methods.get$first(t3);
  117110. t4 = t1._serialize0$_style === B.OutputStyle_10;
  117111. t5 = true;
  117112. if (t4)
  117113. if (firstQuery.modifier == null)
  117114. if (firstQuery.type == null) {
  117115. t5 = firstQuery.conditions;
  117116. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  117117. }
  117118. if (t5)
  117119. t2.writeCharCode$1(32);
  117120. t2 = t4 ? "," : ", ";
  117121. t1._serialize0$_writeBetween$3(t3, t2, t1.get$_serialize0$_visitMediaQuery());
  117122. },
  117123. $signature: 1
  117124. };
  117125. A._SerializeVisitor_visitCssImport_closure0.prototype = {
  117126. call$0() {
  117127. var t3, t4, _0_0,
  117128. t1 = this.$this,
  117129. t2 = t1._serialize0$_buffer;
  117130. t2.write$1(0, "@import");
  117131. t3 = t1._serialize0$_style !== B.OutputStyle_10;
  117132. if (t3)
  117133. t2.writeCharCode$1(32);
  117134. t4 = this.node;
  117135. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure0(t1, t4));
  117136. _0_0 = t4.modifiers;
  117137. if (_0_0 != null) {
  117138. if (t3)
  117139. t2.writeCharCode$1(32);
  117140. t2.write$1(0, _0_0);
  117141. }
  117142. },
  117143. $signature: 1
  117144. };
  117145. A._SerializeVisitor_visitCssImport__closure0.prototype = {
  117146. call$0() {
  117147. return this.$this._serialize0$_writeImportUrl$1(this.node.url.value);
  117148. },
  117149. $signature: 0
  117150. };
  117151. A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
  117152. call$0() {
  117153. var t1 = this.$this,
  117154. t2 = t1._serialize0$_style === B.OutputStyle_10 ? "," : ", ",
  117155. t3 = t1._serialize0$_buffer;
  117156. return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  117157. },
  117158. $signature: 0
  117159. };
  117160. A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
  117161. call$0() {
  117162. return this.$this.visitSelectorList$1(this.node._style_rule0$_selector._box0$_inner.value);
  117163. },
  117164. $signature: 0
  117165. };
  117166. A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
  117167. call$0() {
  117168. var t1 = this.$this,
  117169. t2 = t1._serialize0$_buffer;
  117170. t2.write$1(0, "@supports");
  117171. if (!(t1._serialize0$_style === B.OutputStyle_10 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  117172. t2.writeCharCode$1(32);
  117173. t1._serialize0$_write$1(this.node.condition);
  117174. },
  117175. $signature: 1
  117176. };
  117177. A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
  117178. call$0() {
  117179. var t1 = this.$this,
  117180. t2 = this.node;
  117181. if (t1._serialize0$_style === B.OutputStyle_10)
  117182. t1._serialize0$_writeFoldedValue$1(t2);
  117183. else
  117184. t1._serialize0$_writeReindentedValue$1(t2);
  117185. },
  117186. $signature: 1
  117187. };
  117188. A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
  117189. call$0() {
  117190. return this.node.value.value.accept$1(this.$this);
  117191. },
  117192. $signature: 0
  117193. };
  117194. A._SerializeVisitor_visitList_closure2.prototype = {
  117195. call$1(element) {
  117196. return !element.get$isBlank();
  117197. },
  117198. $signature: 54
  117199. };
  117200. A._SerializeVisitor_visitList_closure3.prototype = {
  117201. call$1(element) {
  117202. var t1 = this.$this,
  117203. needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
  117204. if (needsParens)
  117205. t1._serialize0$_buffer.writeCharCode$1(40);
  117206. element.accept$1(t1);
  117207. if (needsParens)
  117208. t1._serialize0$_buffer.writeCharCode$1(41);
  117209. },
  117210. $signature: 62
  117211. };
  117212. A._SerializeVisitor_visitList_closure4.prototype = {
  117213. call$1(element) {
  117214. element.accept$1(this.$this);
  117215. },
  117216. $signature: 62
  117217. };
  117218. A._SerializeVisitor_visitMap_closure0.prototype = {
  117219. call$1(entry) {
  117220. var t1 = this.$this;
  117221. t1._serialize0$_writeMapElement$1(entry.key);
  117222. t1._serialize0$_buffer.write$1(0, ": ");
  117223. t1._serialize0$_writeMapElement$1(entry.value);
  117224. },
  117225. $signature: 573
  117226. };
  117227. A._SerializeVisitor_visitSelectorList_closure0.prototype = {
  117228. call$1(complex) {
  117229. return !complex.accept$1(B._IsInvisibleVisitor_true0);
  117230. },
  117231. $signature: 20
  117232. };
  117233. A._SerializeVisitor__write_closure0.prototype = {
  117234. call$0() {
  117235. return this.$this._serialize0$_buffer.write$1(0, this.value.value);
  117236. },
  117237. $signature: 0
  117238. };
  117239. A._SerializeVisitor__visitChildren_closure1.prototype = {
  117240. call$0() {
  117241. return this.child.accept$1(this.$this);
  117242. },
  117243. $signature: 0
  117244. };
  117245. A._SerializeVisitor__visitChildren_closure2.prototype = {
  117246. call$0() {
  117247. this.child.accept$1(this.$this);
  117248. },
  117249. $signature: 0
  117250. };
  117251. A.OutputStyle0.prototype = {
  117252. _enumToString$0() {
  117253. return "OutputStyle." + this._name;
  117254. }
  117255. };
  117256. A.LineFeed0.prototype = {
  117257. _enumToString$0() {
  117258. return "LineFeed." + this._name;
  117259. },
  117260. toString$0(_) {
  117261. return this.name;
  117262. }
  117263. };
  117264. A.JSSet.prototype = {};
  117265. A.ShadowedModuleView0.prototype = {
  117266. get$url(_) {
  117267. var t1 = this._shadowed_view0$_inner;
  117268. return t1.get$url(t1);
  117269. },
  117270. get$upstream() {
  117271. return this._shadowed_view0$_inner.get$upstream();
  117272. },
  117273. get$extensionStore() {
  117274. return this._shadowed_view0$_inner.get$extensionStore();
  117275. },
  117276. get$css(_) {
  117277. var t1 = this._shadowed_view0$_inner;
  117278. return t1.get$css(t1);
  117279. },
  117280. get$preModuleComments() {
  117281. return this._shadowed_view0$_inner.get$preModuleComments();
  117282. },
  117283. get$transitivelyContainsCss() {
  117284. return this._shadowed_view0$_inner.get$transitivelyContainsCss();
  117285. },
  117286. get$transitivelyContainsExtensions() {
  117287. return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
  117288. },
  117289. setVariable$3($name, value, nodeWithSpan) {
  117290. if (!this.variables.containsKey$1($name))
  117291. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  117292. else
  117293. this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  117294. },
  117295. variableIdentity$1($name) {
  117296. return this._shadowed_view0$_inner.variableIdentity$1($name);
  117297. },
  117298. $eq(_, other) {
  117299. var t1, t2, t3, _this = this;
  117300. if (other == null)
  117301. return false;
  117302. t1 = false;
  117303. if (other instanceof A.ShadowedModuleView0)
  117304. if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
  117305. t2 = _this.variables;
  117306. t2 = t2.get$keys(t2);
  117307. t3 = other.variables;
  117308. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  117309. t2 = _this.functions;
  117310. t2 = t2.get$keys(t2);
  117311. t3 = other.functions;
  117312. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  117313. t1 = _this.mixins;
  117314. t1 = t1.get$keys(t1);
  117315. t2 = other.mixins;
  117316. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  117317. t1 = t2;
  117318. }
  117319. }
  117320. }
  117321. return t1;
  117322. },
  117323. get$hashCode(_) {
  117324. var t1 = this._shadowed_view0$_inner;
  117325. return t1.get$hashCode(t1);
  117326. },
  117327. cloneCss$0() {
  117328. var _this = this;
  117329. return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  117330. },
  117331. toString$0(_) {
  117332. return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
  117333. },
  117334. $isModule1: 1,
  117335. get$variables() {
  117336. return this.variables;
  117337. },
  117338. get$variableNodes() {
  117339. return this.variableNodes;
  117340. },
  117341. get$functions(receiver) {
  117342. return this.functions;
  117343. },
  117344. get$mixins() {
  117345. return this.mixins;
  117346. }
  117347. };
  117348. A.SilentComment0.prototype = {
  117349. accept$1$1(visitor) {
  117350. return visitor.visitSilentComment$1(0, this);
  117351. },
  117352. accept$1(visitor) {
  117353. return this.accept$1$1(visitor, type$.dynamic);
  117354. },
  117355. toString$0(_) {
  117356. return this.text;
  117357. },
  117358. get$span(receiver) {
  117359. return this.span;
  117360. }
  117361. };
  117362. A.SimpleSelector0.prototype = {
  117363. get$specificity() {
  117364. return 1000;
  117365. },
  117366. get$hasComplicatedSuperselectorSemantics() {
  117367. return false;
  117368. },
  117369. addSuffix$1(suffix) {
  117370. 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));
  117371. },
  117372. unify$1(compound) {
  117373. var other, result, addedThis, _i, simple, _this = this,
  117374. t1 = false;
  117375. if (compound.length === 1) {
  117376. other = compound[0];
  117377. if (!(other instanceof A.UniversalSelector0)) {
  117378. if (other instanceof A.PseudoSelector0)
  117379. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  117380. } else
  117381. t1 = true;
  117382. } else
  117383. other = null;
  117384. if (t1)
  117385. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  117386. if (B.JSArray_methods.contains$1(compound, _this))
  117387. return compound;
  117388. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  117389. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  117390. simple = compound[_i];
  117391. if (!addedThis && simple instanceof A.PseudoSelector0) {
  117392. result.push(_this);
  117393. addedThis = true;
  117394. }
  117395. result.push(simple);
  117396. }
  117397. if (!addedThis)
  117398. result.push(_this);
  117399. return result;
  117400. },
  117401. isSuperselector$1(other) {
  117402. var list;
  117403. if (this.$eq(0, other))
  117404. return true;
  117405. if (other instanceof A.PseudoSelector0 && other.isClass) {
  117406. list = other.selector;
  117407. if (list != null && $._subselectorPseudos0.contains$1(0, other.normalizedName))
  117408. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure0(this));
  117409. }
  117410. return false;
  117411. }
  117412. };
  117413. A.SimpleSelector_isSuperselector_closure0.prototype = {
  117414. call$1(complex) {
  117415. var t1 = complex.components;
  117416. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure0(this.$this));
  117417. },
  117418. $signature: 20
  117419. };
  117420. A.SimpleSelector_isSuperselector__closure0.prototype = {
  117421. call$1(simple) {
  117422. return this.$this.isSuperselector$1(simple);
  117423. },
  117424. $signature: 14
  117425. };
  117426. A.SingleUnitSassNumber0.prototype = {
  117427. get$numeratorUnits(_) {
  117428. return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
  117429. },
  117430. get$denominatorUnits(_) {
  117431. return B.List_empty;
  117432. },
  117433. get$hasUnits() {
  117434. return true;
  117435. },
  117436. get$hasComplexUnits() {
  117437. return false;
  117438. },
  117439. withValue$1(value) {
  117440. return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
  117441. },
  117442. withSlash$2(numerator, denominator) {
  117443. return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A._Record_2(numerator, denominator));
  117444. },
  117445. hasUnit$1(unit) {
  117446. return unit === this._single_unit$_unit;
  117447. },
  117448. hasCompatibleUnits$1(other) {
  117449. return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
  117450. },
  117451. hasPossiblyCompatibleUnits$1(other) {
  117452. var t1, knownCompatibilities, otherUnit;
  117453. if (!(other instanceof A.SingleUnitSassNumber0))
  117454. return false;
  117455. t1 = $.$get$_knownCompatibilitiesByUnit0();
  117456. knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
  117457. if (knownCompatibilities == null)
  117458. return true;
  117459. otherUnit = other._single_unit$_unit.toLowerCase();
  117460. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  117461. },
  117462. compatibleWithUnit$1(unit) {
  117463. return A.conversionFactor0(this._single_unit$_unit, unit) != null;
  117464. },
  117465. coerceToMatch$3(other, $name, otherName) {
  117466. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  117467. return t1 == null ? this.super$SassNumber$coerceToMatch0(other, $name, otherName) : t1;
  117468. },
  117469. coerceToMatch$1(other) {
  117470. return this.coerceToMatch$3(other, null, null);
  117471. },
  117472. coerceValueToMatch$3(other, $name, otherName) {
  117473. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  117474. return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
  117475. },
  117476. coerceValueToMatch$1(other) {
  117477. return this.coerceValueToMatch$3(other, null, null);
  117478. },
  117479. convertToMatch$3(other, $name, otherName) {
  117480. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  117481. return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
  117482. },
  117483. convertValueToMatch$3(other, $name, otherName) {
  117484. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  117485. return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
  117486. },
  117487. convertValueToMatch$1(other) {
  117488. return this.convertValueToMatch$3(other, null, null);
  117489. },
  117490. coerce$3(newNumerators, newDenominators, $name) {
  117491. var t1 = J.getInterceptor$asx(newNumerators);
  117492. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
  117493. return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
  117494. },
  117495. coerce$2(newNumerators, newDenominators) {
  117496. return this.coerce$3(newNumerators, newDenominators, null);
  117497. },
  117498. coerceValue$3(newNumerators, newDenominators, $name) {
  117499. var t1 = J.getInterceptor$asx(newNumerators);
  117500. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
  117501. return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
  117502. },
  117503. coerceValueToUnit$2(unit, $name) {
  117504. var t1 = this._single_unit$_coerceValueToUnit$1(unit);
  117505. return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
  117506. },
  117507. coerceValueToUnit$1(unit) {
  117508. return this.coerceValueToUnit$2(unit, null);
  117509. },
  117510. _single_unit$_coerceToUnit$1(unit) {
  117511. var t1 = this._single_unit$_unit;
  117512. if (t1 === unit)
  117513. return this;
  117514. return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
  117515. },
  117516. _single_unit$_coerceValueToUnit$1(unit) {
  117517. return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
  117518. },
  117519. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  117520. var mutableOtherDenominators, t1 = {};
  117521. t1.value = value;
  117522. t1.newNumerators = otherNumerators;
  117523. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  117524. A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
  117525. return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
  117526. },
  117527. unaryMinus$0() {
  117528. return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
  117529. },
  117530. $eq(_, other) {
  117531. var factor;
  117532. if (other == null)
  117533. return false;
  117534. if (other instanceof A.SingleUnitSassNumber0) {
  117535. factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
  117536. return factor != null && A.fuzzyEquals0(this._number1$_value * factor, other._number1$_value);
  117537. } else
  117538. return false;
  117539. },
  117540. get$hashCode(_) {
  117541. var _this = this,
  117542. t1 = _this.hashCache;
  117543. return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
  117544. }
  117545. };
  117546. A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
  117547. call$1(factor) {
  117548. return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
  117549. },
  117550. $signature: 574
  117551. };
  117552. A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
  117553. call$1(factor) {
  117554. return this.$this._number1$_value * factor;
  117555. },
  117556. $signature: 16
  117557. };
  117558. A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
  117559. call$1(denominator) {
  117560. var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
  117561. if (factor == null)
  117562. return false;
  117563. this._box_0.value *= factor;
  117564. return true;
  117565. },
  117566. $signature: 5
  117567. };
  117568. A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
  117569. call$0() {
  117570. var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
  117571. t2 = this._box_0;
  117572. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  117573. t2.newNumerators = t1;
  117574. },
  117575. $signature: 0
  117576. };
  117577. A.SourceInterpolationVisitor.prototype = {
  117578. visitBinaryOperationExpression$1(_, node) {
  117579. return this.buffer = null;
  117580. },
  117581. visitBooleanExpression$1(_, node) {
  117582. return this.buffer = null;
  117583. },
  117584. visitColorExpression$1(_, node) {
  117585. var t2,
  117586. t1 = this.buffer;
  117587. if (t1 != null) {
  117588. t2 = node.span.get$text();
  117589. t1 = t1._interpolation_buffer0$_text;
  117590. t1._contents += t2;
  117591. }
  117592. return null;
  117593. },
  117594. visitFunctionExpression$1(_, node) {
  117595. return this.buffer = null;
  117596. },
  117597. visitInterpolatedFunctionExpression$1(_, node) {
  117598. var t1 = this.buffer;
  117599. if (t1 != null)
  117600. t1.addInterpolation$1(node.name);
  117601. this._visitArguments$1(node.$arguments);
  117602. },
  117603. _visitArguments$1($arguments) {
  117604. var t2, t3, _this = this,
  117605. t1 = $arguments.named;
  117606. if (t1.get$isNotEmpty(t1) || $arguments.rest != null)
  117607. return;
  117608. t1 = $arguments.positional;
  117609. if (t1.length === 0) {
  117610. t1 = _this.buffer;
  117611. if (t1 != null) {
  117612. t2 = $arguments.span.get$text();
  117613. t1 = t1._interpolation_buffer0$_text;
  117614. t1._contents += t2;
  117615. }
  117616. return;
  117617. }
  117618. t2 = _this.buffer;
  117619. if (t2 != null) {
  117620. t3 = A.SpanExtensions_before($arguments.span, J.get$span$z(B.JSArray_methods.get$first(t1)));
  117621. t3 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3.file._decodedChars, t3._file$_start, t3._end), 0, null);
  117622. t2 = t2._interpolation_buffer0$_text;
  117623. t2._contents += t3;
  117624. }
  117625. _this._writeListAndBetween$2(t1, null);
  117626. t2 = _this.buffer;
  117627. if (t2 != null) {
  117628. t1 = A.SpanExtensions_after($arguments.span, J.get$span$z(B.JSArray_methods.get$last(t1)));
  117629. t1 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  117630. t2 = t2._interpolation_buffer0$_text;
  117631. t2._contents += t1;
  117632. }
  117633. },
  117634. visitIfExpression$1(_, node) {
  117635. return this.buffer = null;
  117636. },
  117637. visitListExpression$1(_, node) {
  117638. var t3, t4, _this = this,
  117639. t1 = node.contents,
  117640. t2 = t1.length;
  117641. if (t2 <= 1 && !node.hasBrackets) {
  117642. _this.buffer = null;
  117643. return;
  117644. }
  117645. t3 = node.hasBrackets;
  117646. if (t3 && t2 === 0) {
  117647. t1 = _this.buffer;
  117648. if (t1 != null) {
  117649. t2 = node.span.get$text();
  117650. t1 = t1._interpolation_buffer0$_text;
  117651. t1._contents += t2;
  117652. }
  117653. return;
  117654. }
  117655. if (t3) {
  117656. t2 = _this.buffer;
  117657. if (t2 != null) {
  117658. t4 = A.SpanExtensions_before(node.span, J.get$span$z(B.JSArray_methods.get$first(t1)));
  117659. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  117660. t2 = t2._interpolation_buffer0$_text;
  117661. t2._contents += t4;
  117662. }
  117663. }
  117664. _this._writeListAndBetween$1(t1);
  117665. if (t3) {
  117666. t2 = _this.buffer;
  117667. if (t2 != null) {
  117668. t1 = A.SpanExtensions_after(node.span, J.get$span$z(B.JSArray_methods.get$last(t1)));
  117669. t1 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  117670. t2 = t2._interpolation_buffer0$_text;
  117671. t2._contents += t1;
  117672. }
  117673. }
  117674. },
  117675. visitMapExpression$1(_, node) {
  117676. return this.buffer = null;
  117677. },
  117678. visitNullExpression$1(_, node) {
  117679. return this.buffer = null;
  117680. },
  117681. visitNumberExpression$1(_, node) {
  117682. var t2,
  117683. t1 = this.buffer;
  117684. if (t1 != null) {
  117685. t2 = node.span.get$text();
  117686. t1 = t1._interpolation_buffer0$_text;
  117687. t1._contents += t2;
  117688. }
  117689. return null;
  117690. },
  117691. visitParenthesizedExpression$1(_, node) {
  117692. return this.buffer = null;
  117693. },
  117694. visitSelectorExpression$1(_, node) {
  117695. return this.buffer = null;
  117696. },
  117697. visitStringExpression$1(_, node) {
  117698. var t2, t3, t4, t5, i, span, _0_0, t6, expression, t7, t8, t9, _this = this,
  117699. t1 = node.text;
  117700. if (t1.get$asPlain() != null) {
  117701. t2 = _this.buffer;
  117702. if (t2 != null) {
  117703. t1 = t1.span.get$text();
  117704. t2 = t2._interpolation_buffer0$_text;
  117705. t2._contents += t1;
  117706. }
  117707. return;
  117708. }
  117709. for (t2 = t1.contents, t3 = t2.length, t4 = t3 - 1, t5 = t1.span, i = 0; i < t3; ++i) {
  117710. span = t1.spanForElement$1(i);
  117711. _0_0 = t2[i];
  117712. t6 = _0_0 instanceof A.Expression0;
  117713. expression = t6 ? _0_0 : null;
  117714. if (t6) {
  117715. if (i === 0) {
  117716. t6 = _this.buffer;
  117717. if (t6 != null) {
  117718. t7 = A.SpanExtensions_before(t5, span);
  117719. t8 = t7._file$_start;
  117720. t9 = t7.file._decodedChars;
  117721. t9 = A.String_String$fromCharCodes(new Uint32Array(t9.subarray(t8, A._checkValidRange(t8, t7._end, t9.length))), 0, null);
  117722. t6 = t6._interpolation_buffer0$_text;
  117723. t6._contents += t9;
  117724. }
  117725. }
  117726. t6 = _this.buffer;
  117727. if (t6 != null) {
  117728. t6._interpolation_buffer0$_flushText$0();
  117729. t6._interpolation_buffer0$_contents.push(expression);
  117730. t6._interpolation_buffer0$_spans.push(span);
  117731. }
  117732. if (i === t4) {
  117733. t6 = _this.buffer;
  117734. if (t6 != null) {
  117735. t7 = A.SpanExtensions_after(t5, span);
  117736. t8 = t7._file$_start;
  117737. t9 = t7.file._decodedChars;
  117738. t9 = A.String_String$fromCharCodes(new Uint32Array(t9.subarray(t8, A._checkValidRange(t8, t7._end, t9.length))), 0, null);
  117739. t6 = t6._interpolation_buffer0$_text;
  117740. t6._contents += t9;
  117741. }
  117742. }
  117743. continue;
  117744. }
  117745. t6 = _this.buffer;
  117746. if (t6 != null) {
  117747. t6 = t6._interpolation_buffer0$_text;
  117748. t7 = span.toString$0(0);
  117749. t6._contents += t7;
  117750. }
  117751. }
  117752. },
  117753. visitSupportsExpression$1(_, node) {
  117754. return this.buffer = null;
  117755. },
  117756. visitUnaryOperationExpression$1(_, node) {
  117757. return this.buffer = null;
  117758. },
  117759. visitValueExpression$1(_, node) {
  117760. return this.buffer = null;
  117761. },
  117762. visitVariableExpression$1(_, node) {
  117763. return this.buffer = null;
  117764. },
  117765. _writeListAndBetween$2(expressions, visitor) {
  117766. var t1, lastExpression, _i, expression, t2, t3, t4, t5;
  117767. for (t1 = expressions.length, lastExpression = null, _i = 0; _i < t1; ++_i, lastExpression = expression) {
  117768. expression = expressions[_i];
  117769. if (lastExpression != null) {
  117770. t2 = this.buffer;
  117771. if (t2 != null) {
  117772. t3 = A.SpanExtensions_between(lastExpression.get$span(lastExpression), expression.get$span(expression));
  117773. t4 = t3._file$_start;
  117774. t5 = t3.file._decodedChars;
  117775. t5 = A.String_String$fromCharCodes(new Uint32Array(t5.subarray(t4, A._checkValidRange(t4, t3._end, t5.length))), 0, null);
  117776. t2 = t2._interpolation_buffer0$_text;
  117777. t2._contents += t5;
  117778. }
  117779. }
  117780. expression.accept$1(this);
  117781. if (this.buffer == null)
  117782. return;
  117783. }
  117784. },
  117785. _writeListAndBetween$1(expressions) {
  117786. return this._writeListAndBetween$2(expressions, null);
  117787. },
  117788. $isExpressionVisitor: 1
  117789. };
  117790. A.SourceMapBuffer0.prototype = {
  117791. get$_source_map_buffer0$_targetLocation() {
  117792. var t1 = this._source_map_buffer0$_buffer._contents,
  117793. t2 = this._source_map_buffer0$_line;
  117794. return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
  117795. },
  117796. get$length(_) {
  117797. return this._source_map_buffer0$_buffer._contents.length;
  117798. },
  117799. forSpan$1$2(span, callback) {
  117800. var t1, _this = this,
  117801. wasInSpan = _this._source_map_buffer0$_inSpan;
  117802. _this._source_map_buffer0$_inSpan = true;
  117803. _this._source_map_buffer0$_addEntry$2(span.get$start(span), _this.get$_source_map_buffer0$_targetLocation());
  117804. try {
  117805. t1 = callback.call$0();
  117806. return t1;
  117807. } finally {
  117808. _this._source_map_buffer0$_inSpan = wasInSpan;
  117809. }
  117810. },
  117811. forSpan$2(span, callback) {
  117812. return this.forSpan$1$2(span, callback, type$.dynamic);
  117813. },
  117814. _source_map_buffer0$_addEntry$2(source, target) {
  117815. var entry, t2,
  117816. t1 = this._source_map_buffer0$_entries;
  117817. if (t1.length !== 0) {
  117818. entry = B.JSArray_methods.get$last(t1);
  117819. t2 = entry.source;
  117820. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  117821. return;
  117822. if (entry.target.offset === target.offset)
  117823. return;
  117824. }
  117825. t1.push(new A.Entry(source, target, null));
  117826. },
  117827. write$1(_, object) {
  117828. var t1, i,
  117829. string = J.toString$0$(object);
  117830. this._source_map_buffer0$_buffer._contents += string;
  117831. for (t1 = string.length, i = 0; i < t1; ++i)
  117832. if (string.charCodeAt(i) === 10)
  117833. this._source_map_buffer0$_writeLine$0();
  117834. else
  117835. ++this._source_map_buffer0$_column;
  117836. },
  117837. writeCharCode$1(charCode) {
  117838. var t1 = this._source_map_buffer0$_buffer,
  117839. t2 = A.Primitives_stringFromCharCode(charCode);
  117840. t1._contents += t2;
  117841. if (charCode === 10)
  117842. this._source_map_buffer0$_writeLine$0();
  117843. else
  117844. ++this._source_map_buffer0$_column;
  117845. },
  117846. _source_map_buffer0$_writeLine$0() {
  117847. var _this = this,
  117848. t1 = _this._source_map_buffer0$_entries;
  117849. 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)
  117850. t1.pop();
  117851. ++_this._source_map_buffer0$_line;
  117852. _this._source_map_buffer0$_column = 0;
  117853. if (_this._source_map_buffer0$_inSpan)
  117854. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
  117855. },
  117856. toString$0(_) {
  117857. var t1 = this._source_map_buffer0$_buffer._contents;
  117858. return t1.charCodeAt(0) == 0 ? t1 : t1;
  117859. },
  117860. buildSourceMap$1$prefix(prefix) {
  117861. var i, t2, prefixColumn, _box_0 = {},
  117862. t1 = prefix.length;
  117863. if (t1 === 0)
  117864. return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
  117865. _box_0.prefixColumn = _box_0.prefixLines = 0;
  117866. for (i = 0, t2 = 0; i < t1; ++i)
  117867. if (prefix.charCodeAt(i) === 10) {
  117868. ++_box_0.prefixLines;
  117869. _box_0.prefixColumn = 0;
  117870. t2 = 0;
  117871. } else {
  117872. prefixColumn = t2 + 1;
  117873. _box_0.prefixColumn = prefixColumn;
  117874. t2 = prefixColumn;
  117875. }
  117876. t2 = this._source_map_buffer0$_entries;
  117877. 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>")));
  117878. }
  117879. };
  117880. A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
  117881. call$1(entry) {
  117882. var t1 = entry.target,
  117883. t2 = t1.line,
  117884. t3 = this._box_0,
  117885. t4 = t3.prefixLines;
  117886. t3 = t2 === 0 ? t3.prefixColumn : 0;
  117887. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  117888. },
  117889. $signature: 163
  117890. };
  117891. A.updateSourceSpanPrototype_closure.prototype = {
  117892. call$0() {
  117893. return this.span;
  117894. },
  117895. $signature: 27
  117896. };
  117897. A.updateSourceSpanPrototype_closure0.prototype = {
  117898. call$1(span) {
  117899. return span.get$start(span);
  117900. },
  117901. $signature: 197
  117902. };
  117903. A.updateSourceSpanPrototype_closure1.prototype = {
  117904. call$1(span) {
  117905. return span.get$end(span);
  117906. },
  117907. $signature: 197
  117908. };
  117909. A.updateSourceSpanPrototype_closure2.prototype = {
  117910. call$1(span) {
  117911. return A.NullableExtension_andThen0(span.get$sourceUrl(span), new A.updateSourceSpanPrototype__closure());
  117912. },
  117913. $signature: 576
  117914. };
  117915. A.updateSourceSpanPrototype__closure.prototype = {
  117916. call$1(url) {
  117917. var t1, _null = null;
  117918. if (url.get$scheme() === "") {
  117919. t1 = $.$get$context();
  117920. 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));
  117921. } else
  117922. t1 = url;
  117923. return new self.URL(t1.toString$0(0));
  117924. },
  117925. $signature: 230
  117926. };
  117927. A.updateSourceSpanPrototype_closure3.prototype = {
  117928. call$1(span) {
  117929. return span.get$text();
  117930. },
  117931. $signature: 223
  117932. };
  117933. A.updateSourceSpanPrototype_closure4.prototype = {
  117934. call$1(span) {
  117935. return span.get$context(span);
  117936. },
  117937. $signature: 223
  117938. };
  117939. A.updateSourceSpanPrototype_closure5.prototype = {
  117940. call$1($location) {
  117941. return $location.get$line();
  117942. },
  117943. $signature: 205
  117944. };
  117945. A.updateSourceSpanPrototype_closure6.prototype = {
  117946. call$1($location) {
  117947. return $location.get$column();
  117948. },
  117949. $signature: 205
  117950. };
  117951. A.ColorSpace0.prototype = {
  117952. get$isLegacyInternal() {
  117953. return false;
  117954. },
  117955. get$isPolarInternal() {
  117956. return false;
  117957. },
  117958. convert$5(dest, channel0, channel1, channel2, alpha) {
  117959. return this.convertLinear$5(dest, channel0, channel1, channel2, alpha);
  117960. },
  117961. convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  117962. var t1, t2, transformedBlue, transformedGreen, transformedRed, linearRed, linearGreen, linearBlue, matrix, _this = this;
  117963. $label0$0: {
  117964. t1 = B.HslColorSpace_JQ20 !== dest;
  117965. if (!t1 || B.HwbColorSpace_guQ0 === dest) {
  117966. t2 = B.SrgbColorSpace_thf0;
  117967. break $label0$0;
  117968. }
  117969. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  117970. t2 = B.XyzD50ColorSpace_2OB0;
  117971. break $label0$0;
  117972. }
  117973. if (B.OklabColorSpace_5400 === dest || B.OklchColorSpace_9Gj0 === dest) {
  117974. t2 = B.LmsColorSpace_Os30;
  117975. break $label0$0;
  117976. }
  117977. t2 = dest;
  117978. break $label0$0;
  117979. }
  117980. if (t2 === _this) {
  117981. transformedBlue = blue;
  117982. transformedGreen = green;
  117983. transformedRed = red;
  117984. } else {
  117985. linearRed = _this.toLinear$1(red == null ? 0 : red);
  117986. linearGreen = _this.toLinear$1(green == null ? 0 : green);
  117987. linearBlue = _this.toLinear$1(blue == null ? 0 : blue);
  117988. matrix = _this.transformationMatrix$1(t2);
  117989. transformedRed = t2.fromLinear$1(matrix[0] * linearRed + matrix[1] * linearGreen + matrix[2] * linearBlue);
  117990. transformedGreen = t2.fromLinear$1(matrix[3] * linearRed + matrix[4] * linearGreen + matrix[5] * linearBlue);
  117991. transformedBlue = t2.fromLinear$1(matrix[6] * linearRed + matrix[7] * linearGreen + matrix[8] * linearBlue);
  117992. }
  117993. $label1$1: {
  117994. if (!t1 || B.HwbColorSpace_guQ0 === dest) {
  117995. t1 = B.SrgbColorSpace_thf0.convert$8$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingChroma, missingHue, missingLightness);
  117996. break $label1$1;
  117997. }
  117998. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  117999. t1 = B.XyzD50ColorSpace_2OB0.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  118000. break $label1$1;
  118001. }
  118002. if (B.OklabColorSpace_5400 === dest || B.OklchColorSpace_9Gj0 === dest) {
  118003. t1 = B.LmsColorSpace_Os30.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  118004. break $label1$1;
  118005. }
  118006. t1 = red == null ? null : transformedRed;
  118007. t2 = green == null ? null : transformedGreen;
  118008. t1 = A.SassColor_SassColor$forSpaceInternal0(dest, t1, t2, blue == null ? null : transformedBlue, alpha);
  118009. break $label1$1;
  118010. }
  118011. return t1;
  118012. },
  118013. convertLinear$5(dest, red, green, blue, alpha) {
  118014. return this.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false, false, false);
  118015. },
  118016. toLinear$1(channel) {
  118017. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  118018. },
  118019. fromLinear$1(channel) {
  118020. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  118021. },
  118022. transformationMatrix$1(dest) {
  118023. return A.throwExpression(A.UnimplementedError$("[BUG] Color space conversion from " + this.toString$0(0) + " to " + dest.toString$0(0) + " not implemented."));
  118024. },
  118025. toString$0(_) {
  118026. return this.name;
  118027. }
  118028. };
  118029. A.SrgbColorSpace0.prototype = {
  118030. get$isBoundedInternal() {
  118031. return true;
  118032. },
  118033. convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingChroma, missingHue, missingLightness) {
  118034. var max, min, delta, hue, lightness, saturation, t1, t2, whiteness, blackness, _null = null;
  118035. if (B.HslColorSpace_JQ20 === dest || B.HwbColorSpace_guQ0 === dest) {
  118036. if (red == null)
  118037. red = 0;
  118038. if (green == null)
  118039. green = 0;
  118040. if (blue == null)
  118041. blue = 0;
  118042. max = Math.max(Math.max(red, green), blue);
  118043. min = Math.min(Math.min(red, green), blue);
  118044. delta = max - min;
  118045. if (max === min)
  118046. hue = 0;
  118047. else if (max === red)
  118048. hue = 60 * (green - blue) / delta + 360;
  118049. else
  118050. hue = max === green ? 60 * (blue - red) / delta + 120 : 60 * (red - green) / delta + 240;
  118051. if (dest === B.HslColorSpace_JQ20) {
  118052. lightness = (min + max) / 2;
  118053. saturation = lightness === 0 || lightness === 1 ? 0 : 100 * (max - lightness) / Math.min(lightness, 1 - lightness);
  118054. if (saturation < 0) {
  118055. hue += 180;
  118056. saturation = Math.abs(saturation);
  118057. }
  118058. t1 = missingHue || A.fuzzyEquals0(saturation, 0) ? _null : B.JSNumber_methods.$mod(hue, 360);
  118059. t2 = missingChroma ? _null : saturation;
  118060. return A.SassColor_SassColor$forSpaceInternal0(dest, t1, t2, missingLightness ? _null : lightness * 100, alpha);
  118061. } else {
  118062. whiteness = min * 100;
  118063. blackness = 100 - max * 100;
  118064. if (!missingHue) {
  118065. t1 = whiteness + blackness;
  118066. t1 = t1 > 100 || A.fuzzyEquals0(t1, 100);
  118067. } else
  118068. t1 = true;
  118069. return A.SassColor_SassColor$forSpaceInternal0(dest, t1 ? _null : B.JSNumber_methods.$mod(hue, 360), whiteness, blackness, alpha);
  118070. }
  118071. }
  118072. if (B.RgbColorSpace_i0P0 === dest) {
  118073. t1 = red == null ? _null : red * 255;
  118074. t2 = green == null ? _null : green * 255;
  118075. return A.SassColor_SassColor$rgbInternal0(t1, t2, blue == null ? _null : blue * 255, alpha, _null);
  118076. }
  118077. if (B.SrgbLinearColorSpace_kUj0 === dest) {
  118078. t1 = this.get$toLinear();
  118079. return A.SassColor_SassColor$forSpaceInternal0(dest, A.NullableExtension_andThen0(red, t1), A.NullableExtension_andThen0(green, t1), A.NullableExtension_andThen0(blue, t1), alpha);
  118080. }
  118081. return this.super$ColorSpace$convertLinear0(dest, red, green, blue, alpha, false, false, missingChroma, missingHue, missingLightness);
  118082. },
  118083. convert$5(dest, red, green, blue, alpha) {
  118084. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false);
  118085. },
  118086. convert$6$missingHue(dest, red, green, blue, alpha, missingHue) {
  118087. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, missingHue, false);
  118088. },
  118089. toLinear$1(channel) {
  118090. return A.srgbAndDisplayP3ToLinear0(channel);
  118091. },
  118092. fromLinear$1(channel) {
  118093. return A.srgbAndDisplayP3FromLinear0(channel);
  118094. },
  118095. transformationMatrix$1(dest) {
  118096. var t1;
  118097. $label0$0: {
  118098. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  118099. t1 = $.$get$linearSrgbToLinearDisplayP30();
  118100. break $label0$0;
  118101. }
  118102. if (B.A98RgbColorSpace_lf20 === dest) {
  118103. t1 = $.$get$linearSrgbToLinearA98Rgb0();
  118104. break $label0$0;
  118105. }
  118106. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  118107. t1 = $.$get$linearSrgbToLinearProphotoRgb0();
  118108. break $label0$0;
  118109. }
  118110. if (B.Rec2020ColorSpace_6oo0 === dest) {
  118111. t1 = $.$get$linearSrgbToLinearRec20200();
  118112. break $label0$0;
  118113. }
  118114. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  118115. t1 = $.$get$linearSrgbToXyzD650();
  118116. break $label0$0;
  118117. }
  118118. if (B.XyzD50ColorSpace_2OB0 === dest) {
  118119. t1 = $.$get$linearSrgbToXyzD500();
  118120. break $label0$0;
  118121. }
  118122. if (B.LmsColorSpace_Os30 === dest) {
  118123. t1 = $.$get$linearSrgbToLms0();
  118124. break $label0$0;
  118125. }
  118126. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  118127. break $label0$0;
  118128. }
  118129. return t1;
  118130. }
  118131. };
  118132. A.SrgbLinearColorSpace0.prototype = {
  118133. get$isBoundedInternal() {
  118134. return true;
  118135. },
  118136. convert$5(dest, red, green, blue, alpha) {
  118137. var t1;
  118138. $label0$0: {
  118139. if (B.RgbColorSpace_i0P0 === dest || B.HslColorSpace_JQ20 === dest || B.HwbColorSpace_guQ0 === dest || B.SrgbColorSpace_thf0 === dest) {
  118140. 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);
  118141. break $label0$0;
  118142. }
  118143. t1 = this.super$ColorSpace$convert0(dest, red, green, blue, alpha);
  118144. break $label0$0;
  118145. }
  118146. return t1;
  118147. },
  118148. toLinear$1(channel) {
  118149. return channel;
  118150. },
  118151. fromLinear$1(channel) {
  118152. return channel;
  118153. },
  118154. transformationMatrix$1(dest) {
  118155. var t1;
  118156. $label0$0: {
  118157. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  118158. t1 = $.$get$linearSrgbToLinearDisplayP30();
  118159. break $label0$0;
  118160. }
  118161. if (B.A98RgbColorSpace_lf20 === dest) {
  118162. t1 = $.$get$linearSrgbToLinearA98Rgb0();
  118163. break $label0$0;
  118164. }
  118165. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  118166. t1 = $.$get$linearSrgbToLinearProphotoRgb0();
  118167. break $label0$0;
  118168. }
  118169. if (B.Rec2020ColorSpace_6oo0 === dest) {
  118170. t1 = $.$get$linearSrgbToLinearRec20200();
  118171. break $label0$0;
  118172. }
  118173. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  118174. t1 = $.$get$linearSrgbToXyzD650();
  118175. break $label0$0;
  118176. }
  118177. if (B.XyzD50ColorSpace_2OB0 === dest) {
  118178. t1 = $.$get$linearSrgbToXyzD500();
  118179. break $label0$0;
  118180. }
  118181. if (B.LmsColorSpace_Os30 === dest) {
  118182. t1 = $.$get$linearSrgbToLms0();
  118183. break $label0$0;
  118184. }
  118185. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  118186. break $label0$0;
  118187. }
  118188. return t1;
  118189. }
  118190. };
  118191. A.Statement0.prototype = {$isAstNode0: 1, $isSassNode: 1};
  118192. A.JSStatementVisitor.prototype = {
  118193. visitAtRootRule$1(_, node) {
  118194. return J.visitAtRootRule$1$x(this._statement$_inner, node);
  118195. },
  118196. visitAtRule$1(_, node) {
  118197. return J.visitAtRule$1$x(this._statement$_inner, node);
  118198. },
  118199. visitContentBlock$1(_, node) {
  118200. return J.visitContentBlock$1$x(this._statement$_inner, node);
  118201. },
  118202. visitContentRule$1(_, node) {
  118203. return J.visitContentRule$1$x(this._statement$_inner, node);
  118204. },
  118205. visitDebugRule$1(_, node) {
  118206. return J.visitDebugRule$1$x(this._statement$_inner, node);
  118207. },
  118208. visitDeclaration$1(_, node) {
  118209. return J.visitDeclaration$1$x(this._statement$_inner, node);
  118210. },
  118211. visitEachRule$1(_, node) {
  118212. return J.visitEachRule$1$x(this._statement$_inner, node);
  118213. },
  118214. visitErrorRule$1(_, node) {
  118215. return J.visitErrorRule$1$x(this._statement$_inner, node);
  118216. },
  118217. visitExtendRule$1(_, node) {
  118218. return J.visitExtendRule$1$x(this._statement$_inner, node);
  118219. },
  118220. visitForRule$1(_, node) {
  118221. return J.visitForRule$1$x(this._statement$_inner, node);
  118222. },
  118223. visitForwardRule$1(_, node) {
  118224. return J.visitForwardRule$1$x(this._statement$_inner, node);
  118225. },
  118226. visitFunctionRule$1(_, node) {
  118227. return J.visitFunctionRule$1$x(this._statement$_inner, node);
  118228. },
  118229. visitIfRule$1(_, node) {
  118230. return J.visitIfRule$1$x(this._statement$_inner, node);
  118231. },
  118232. visitImportRule$1(_, node) {
  118233. return J.visitImportRule$1$x(this._statement$_inner, node);
  118234. },
  118235. visitIncludeRule$1(_, node) {
  118236. return J.visitIncludeRule$1$x(this._statement$_inner, node);
  118237. },
  118238. visitLoudComment$1(_, node) {
  118239. return J.visitLoudComment$1$x(this._statement$_inner, node);
  118240. },
  118241. visitMediaRule$1(_, node) {
  118242. return J.visitMediaRule$1$x(this._statement$_inner, node);
  118243. },
  118244. visitMixinRule$1(_, node) {
  118245. return J.visitMixinRule$1$x(this._statement$_inner, node);
  118246. },
  118247. visitReturnRule$1(_, node) {
  118248. return J.visitReturnRule$1$x(this._statement$_inner, node);
  118249. },
  118250. visitSilentComment$1(_, node) {
  118251. return J.visitSilentComment$1$x(this._statement$_inner, node);
  118252. },
  118253. visitStyleRule$1(_, node) {
  118254. return J.visitStyleRule$1$x(this._statement$_inner, node);
  118255. },
  118256. visitStylesheet$1(_, node) {
  118257. return J.visitStylesheet$1$x(this._statement$_inner, node);
  118258. },
  118259. visitSupportsRule$1(_, node) {
  118260. return J.visitSupportsRule$1$x(this._statement$_inner, node);
  118261. },
  118262. visitUseRule$1(_, node) {
  118263. return J.visitUseRule$1$x(this._statement$_inner, node);
  118264. },
  118265. visitVariableDeclaration$1(_, node) {
  118266. return J.visitVariableDeclaration$1$x(this._statement$_inner, node);
  118267. },
  118268. visitWarnRule$1(_, node) {
  118269. return J.visitWarnRule$1$x(this._statement$_inner, node);
  118270. },
  118271. visitWhileRule$1(_, node) {
  118272. return J.visitWhileRule$1$x(this._statement$_inner, node);
  118273. },
  118274. $isStatementVisitor: 1
  118275. };
  118276. A.JSStatementVisitorObject.prototype = {};
  118277. A.StatementSearchVisitor0.prototype = {
  118278. visitAtRootRule$1(_, node) {
  118279. return this.visitChildren$1(node.children);
  118280. },
  118281. visitAtRule$1(_, node) {
  118282. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  118283. },
  118284. visitContentBlock$1(_, node) {
  118285. return this.visitChildren$1(node.children);
  118286. },
  118287. visitContentRule$1(_, node) {
  118288. return null;
  118289. },
  118290. visitDebugRule$1(_, node) {
  118291. return null;
  118292. },
  118293. visitDeclaration$1(_, node) {
  118294. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  118295. },
  118296. visitEachRule$1(_, node) {
  118297. return this.visitChildren$1(node.children);
  118298. },
  118299. visitErrorRule$1(_, node) {
  118300. return null;
  118301. },
  118302. visitExtendRule$1(_, node) {
  118303. return null;
  118304. },
  118305. visitForRule$1(_, node) {
  118306. return this.visitChildren$1(node.children);
  118307. },
  118308. visitForwardRule$1(_, node) {
  118309. return null;
  118310. },
  118311. visitFunctionRule$1(_, node) {
  118312. return this.visitChildren$1(node.children);
  118313. },
  118314. visitIfRule$1(_, node) {
  118315. var t1 = A.IterableExtension_search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
  118316. return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
  118317. },
  118318. visitImportRule$1(_, node) {
  118319. return null;
  118320. },
  118321. visitIncludeRule$1(_, node) {
  118322. return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock(this));
  118323. },
  118324. visitLoudComment$1(_, node) {
  118325. return null;
  118326. },
  118327. visitMediaRule$1(_, node) {
  118328. return this.visitChildren$1(node.children);
  118329. },
  118330. visitMixinRule$1(_, node) {
  118331. return this.visitChildren$1(node.children);
  118332. },
  118333. visitReturnRule$1(_, node) {
  118334. return null;
  118335. },
  118336. visitSilentComment$1(_, node) {
  118337. return null;
  118338. },
  118339. visitStyleRule$1(_, node) {
  118340. return this.visitChildren$1(node.children);
  118341. },
  118342. visitStylesheet$1(_, node) {
  118343. return this.visitChildren$1(node.children);
  118344. },
  118345. visitSupportsRule$1(_, node) {
  118346. return this.visitChildren$1(node.children);
  118347. },
  118348. visitUseRule$1(_, node) {
  118349. return null;
  118350. },
  118351. visitVariableDeclaration$1(_, node) {
  118352. return null;
  118353. },
  118354. visitWarnRule$1(_, node) {
  118355. return null;
  118356. },
  118357. visitWhileRule$1(_, node) {
  118358. return this.visitChildren$1(node.children);
  118359. },
  118360. visitChildren$1(children) {
  118361. return A.IterableExtension_search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
  118362. }
  118363. };
  118364. A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
  118365. call$1(clause) {
  118366. return A.IterableExtension_search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
  118367. },
  118368. $signature() {
  118369. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
  118370. }
  118371. };
  118372. A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
  118373. call$1(child) {
  118374. return child.accept$1(this.$this);
  118375. },
  118376. $signature() {
  118377. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  118378. }
  118379. };
  118380. A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
  118381. call$1(lastClause) {
  118382. return A.IterableExtension_search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
  118383. },
  118384. $signature() {
  118385. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
  118386. }
  118387. };
  118388. A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
  118389. call$1(child) {
  118390. return child.accept$1(this.$this);
  118391. },
  118392. $signature() {
  118393. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  118394. }
  118395. };
  118396. A.StatementSearchVisitor_visitChildren_closure0.prototype = {
  118397. call$1(child) {
  118398. return child.accept$1(this.$this);
  118399. },
  118400. $signature() {
  118401. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  118402. }
  118403. };
  118404. A.StaticImport0.prototype = {
  118405. toString$0(_) {
  118406. var t1 = this.url.toString$0(0),
  118407. t2 = this.modifiers;
  118408. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  118409. },
  118410. $isImport0: 1,
  118411. $isAstNode0: 1,
  118412. $isSassNode: 1,
  118413. get$span(receiver) {
  118414. return this.span;
  118415. }
  118416. };
  118417. A.StderrLogger0.prototype = {
  118418. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  118419. var t3,
  118420. result = new A.StringBuffer(""),
  118421. t1 = deprecation != null,
  118422. showDeprecation = t1 && deprecation !== B.Deprecation_ZVM,
  118423. t2 = this.color;
  118424. if (t2) {
  118425. t3 = result._contents = "" + "\x1b[33m\x1b[1m";
  118426. t3 = result._contents = (t1 ? result._contents = t3 + "Deprecation " : t3) + "Warning\x1b[0m";
  118427. if (showDeprecation) {
  118428. t1 = t3 + (" [\x1b[34m" + A.S(deprecation) + "\x1b[0m]");
  118429. result._contents = t1;
  118430. } else
  118431. t1 = t3;
  118432. } else {
  118433. t3 = result._contents = (t1 ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  118434. if (showDeprecation) {
  118435. t1 = t3 + (" [" + A.S(deprecation) + "]");
  118436. result._contents = t1;
  118437. } else
  118438. t1 = t3;
  118439. }
  118440. if (span == null)
  118441. t1 = result._contents = t1 + (": " + message + "\n");
  118442. else if (trace != null) {
  118443. t1 += ": " + message + "\n\n" + span.highlight$1$color(t2) + "\n";
  118444. result._contents = t1;
  118445. } else {
  118446. t1 += " on " + span.message$2$color(0, "\n" + message, t2) + "\n";
  118447. result._contents = t1;
  118448. }
  118449. if (trace != null)
  118450. result._contents = t1 + (A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  118451. A.printError0(result);
  118452. },
  118453. debug$2(_, message, span) {
  118454. var url, t3, t4,
  118455. t1 = span.file,
  118456. t2 = span._file$_start;
  118457. if (A.FileLocation$_(t1, t2).file.url == null)
  118458. url = "-";
  118459. else {
  118460. t3 = A.FileLocation$_(t1, t2).file.url;
  118461. t4 = $.$get$context();
  118462. t3.toString;
  118463. url = t4.prettyUri$1(t3);
  118464. }
  118465. t1 = A.FileLocation$_(t1, t2);
  118466. t1 = t1.file.getLine$1(t1.offset);
  118467. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  118468. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  118469. A.printError0(t2.charCodeAt(0) == 0 ? t2 : t2);
  118470. }
  118471. };
  118472. A.StringExpression0.prototype = {
  118473. get$span(_) {
  118474. return this.text.span;
  118475. },
  118476. accept$1$1(visitor) {
  118477. return visitor.visitStringExpression$1(0, this);
  118478. },
  118479. accept$1(visitor) {
  118480. return this.accept$1$1(visitor, type$.dynamic);
  118481. },
  118482. asInterpolation$1$static($static) {
  118483. var t1, t2, quote, t3, t4, t5, buffer, t6, i, value, t7;
  118484. if (!this.hasQuotes)
  118485. return this.text;
  118486. t1 = this.text;
  118487. t2 = t1.contents;
  118488. quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  118489. t3 = new A.StringBuffer("");
  118490. t4 = A._setArrayType([], type$.JSArray_Object);
  118491. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  118492. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  118493. t6 = A.Primitives_stringFromCharCode(quote);
  118494. t3._contents += t6;
  118495. for (t6 = t2.length, i = 0; i < t6; ++i) {
  118496. value = t2[i];
  118497. if (value instanceof A.Expression0) {
  118498. t7 = t1.spanForElement$1(i);
  118499. buffer._interpolation_buffer0$_flushText$0();
  118500. t4.push(value);
  118501. t5.push(t7);
  118502. continue;
  118503. }
  118504. if (typeof value == "string")
  118505. A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
  118506. }
  118507. t2 = A.Primitives_stringFromCharCode(quote);
  118508. t3._contents += t2;
  118509. return buffer.interpolation$1(t1.span);
  118510. },
  118511. asInterpolation$0() {
  118512. return this.asInterpolation$1$static(false);
  118513. },
  118514. toString$0(_) {
  118515. return this.asInterpolation$0().toString$0(0);
  118516. }
  118517. };
  118518. A.module_closure25.prototype = {
  118519. call$1($arguments) {
  118520. var limit, t2, chunks, i, lastEnd, match, t3,
  118521. t1 = J.getInterceptor$asx($arguments),
  118522. string = t1.$index($arguments, 0).assertString$1("string"),
  118523. separator = t1.$index($arguments, 1).assertString$1("separator");
  118524. t1 = t1.$index($arguments, 2).get$realNull();
  118525. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  118526. if (limit != null && limit < 1)
  118527. throw A.wrapException(A.SassScriptException$0("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  118528. t1 = string._string0$_text;
  118529. if (t1.length === 0)
  118530. return B.SassList_qAD0;
  118531. else {
  118532. t2 = separator._string0$_text;
  118533. if (t2.length === 0)
  118534. 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);
  118535. }
  118536. chunks = A._setArrayType([], type$.JSArray_String);
  118537. 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();) {
  118538. match = t2.__js_helper$_current;
  118539. t3 = match.start;
  118540. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  118541. lastEnd = t3 + match.pattern.length;
  118542. ++i;
  118543. if (i === limit)
  118544. break;
  118545. }
  118546. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  118547. return A.SassList$0(new A.MappedListIterable(chunks, new A.module__closure4(string), type$.MappedListIterable_String_Value_2), B.ListSeparator_qVN0, true);
  118548. },
  118549. $signature: 26
  118550. };
  118551. A.module__closure3.prototype = {
  118552. call$1(rune) {
  118553. return new A.SassString0(A.Primitives_stringFromCharCode(rune), this.string._string0$_hasQuotes);
  118554. },
  118555. $signature: 580
  118556. };
  118557. A.module__closure4.prototype = {
  118558. call$1(chunk) {
  118559. return new A.SassString0(chunk, this.string._string0$_hasQuotes);
  118560. },
  118561. $signature: 581
  118562. };
  118563. A._unquote_closure0.prototype = {
  118564. call$1($arguments) {
  118565. var string = J.$index$asx($arguments, 0).assertString$1("string");
  118566. if (!string._string0$_hasQuotes)
  118567. return string;
  118568. return new A.SassString0(string._string0$_text, false);
  118569. },
  118570. $signature: 18
  118571. };
  118572. A._quote_closure0.prototype = {
  118573. call$1($arguments) {
  118574. var string = J.$index$asx($arguments, 0).assertString$1("string");
  118575. if (string._string0$_hasQuotes)
  118576. return string;
  118577. return new A.SassString0(string._string0$_text, true);
  118578. },
  118579. $signature: 18
  118580. };
  118581. A._length_closure1.prototype = {
  118582. call$1($arguments) {
  118583. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength(), null);
  118584. },
  118585. $signature: 25
  118586. };
  118587. A._insert_closure0.prototype = {
  118588. call$1($arguments) {
  118589. var indexInt, codeUnitIndex, _s5_ = "index",
  118590. t1 = J.getInterceptor$asx($arguments),
  118591. string = t1.$index($arguments, 0).assertString$1("string"),
  118592. insert = t1.$index($arguments, 1).assertString$1("insert"),
  118593. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  118594. index.assertNoUnits$1(_s5_);
  118595. indexInt = index.assertInt$1(_s5_);
  118596. if (indexInt < 0)
  118597. indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
  118598. t1 = string._string0$_text;
  118599. codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
  118600. return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
  118601. },
  118602. $signature: 18
  118603. };
  118604. A._index_closure1.prototype = {
  118605. call$1($arguments) {
  118606. var t1 = J.getInterceptor$asx($arguments),
  118607. t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
  118608. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
  118609. if (codeUnitIndex === -1)
  118610. return B.C__SassNull0;
  118611. return A.SassNumber_SassNumber0(A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex) + 1, null);
  118612. },
  118613. $signature: 3
  118614. };
  118615. A._slice_closure0.prototype = {
  118616. call$1($arguments) {
  118617. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  118618. _s8_ = "start-at",
  118619. t1 = J.getInterceptor$asx($arguments),
  118620. string = t1.$index($arguments, 0).assertString$1("string"),
  118621. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  118622. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  118623. start.assertNoUnits$1(_s8_);
  118624. end.assertNoUnits$1("end-at");
  118625. lengthInCodepoints = string.get$_string0$_sassLength();
  118626. endInt = end.assertInt$0();
  118627. if (endInt === 0)
  118628. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  118629. startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
  118630. endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
  118631. if (endCodepoint === lengthInCodepoints)
  118632. --endCodepoint;
  118633. if (endCodepoint < startCodepoint)
  118634. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  118635. t1 = string._string0$_text;
  118636. return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
  118637. },
  118638. $signature: 18
  118639. };
  118640. A._toUpperCase_closure0.prototype = {
  118641. call$1($arguments) {
  118642. var t1, t2, i, t3, t4,
  118643. string = J.$index$asx($arguments, 0).assertString$1("string");
  118644. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  118645. t4 = t1.charCodeAt(i);
  118646. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  118647. }
  118648. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  118649. },
  118650. $signature: 18
  118651. };
  118652. A._toLowerCase_closure0.prototype = {
  118653. call$1($arguments) {
  118654. var t1, t2, i, t3, t4,
  118655. string = J.$index$asx($arguments, 0).assertString$1("string");
  118656. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  118657. t4 = t1.charCodeAt(i);
  118658. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  118659. }
  118660. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  118661. },
  118662. $signature: 18
  118663. };
  118664. A._uniqueId_closure0.prototype = {
  118665. call$1($arguments) {
  118666. var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
  118667. $._previousUniqueId0 = t1;
  118668. if (t1 > Math.pow(36, 6))
  118669. $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
  118670. return new A.SassString0("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId0(), 36), 6, "0"), false);
  118671. },
  118672. $signature: 18
  118673. };
  118674. A.StringExtension_toCssIdentifier_writeEscape.prototype = {
  118675. call$1(character) {
  118676. var _0_0,
  118677. t1 = this.buffer,
  118678. t2 = A.Primitives_stringFromCharCode(92);
  118679. t1._contents += t2;
  118680. t2 = B.JSInt_methods.toRadixString$1(character, 16);
  118681. t1._contents += t2;
  118682. _0_0 = this.scanner.peekChar$0();
  118683. if (A._isInt(_0_0) && A.CharacterExtension_get_isHex0(_0_0)) {
  118684. t2 = A.Primitives_stringFromCharCode(32);
  118685. t1._contents += t2;
  118686. }
  118687. },
  118688. $signature: 210
  118689. };
  118690. A.StringExtension_toCssIdentifier_consumeSurrogatePair.prototype = {
  118691. call$1(character) {
  118692. var t2, t3,
  118693. t1 = this.scanner,
  118694. _1_0 = t1.peekChar$1(1);
  118695. if (_1_0 == null || _1_0 >>> 10 !== 55)
  118696. t1.error$2$length(0, "An individual surrogates can't be represented as a CSS identifier.", 1);
  118697. else if (character >>> 7 === 439)
  118698. this.writeEscape.call$1(A.combineSurrogates(t1.readChar$0(), t1.readChar$0()));
  118699. else {
  118700. t2 = this.buffer;
  118701. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  118702. t2._contents += t3;
  118703. t1 = A.Primitives_stringFromCharCode(t1.readChar$0());
  118704. t2._contents += t1;
  118705. }
  118706. },
  118707. $signature: 210
  118708. };
  118709. A.stringClass_closure.prototype = {
  118710. call$0() {
  118711. var t2,
  118712. t1 = type$.JSClass,
  118713. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
  118714. 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));
  118715. J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
  118716. t2 = $.$get$_emptyQuoted0();
  118717. A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
  118718. return jsClass;
  118719. },
  118720. $signature: 15
  118721. };
  118722. A.stringClass__closure.prototype = {
  118723. call$3($self, textOrOptions, options) {
  118724. var t1;
  118725. if (typeof textOrOptions == "string") {
  118726. t1 = options == null ? null : J.get$quotes$x(options);
  118727. t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
  118728. } else {
  118729. type$.nullable__ConstructorOptions_3._as(textOrOptions);
  118730. t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
  118731. t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  118732. }
  118733. return t1;
  118734. },
  118735. call$1($self) {
  118736. return this.call$3($self, null, null);
  118737. },
  118738. call$2($self, textOrOptions) {
  118739. return this.call$3($self, textOrOptions, null);
  118740. },
  118741. "call*": "call$3",
  118742. $requiredArgCount: 1,
  118743. $defaultValues() {
  118744. return [null, null];
  118745. },
  118746. $signature: 583
  118747. };
  118748. A.stringClass__closure0.prototype = {
  118749. call$1($self) {
  118750. return $self._string0$_text;
  118751. },
  118752. $signature: 584
  118753. };
  118754. A.stringClass__closure1.prototype = {
  118755. call$1($self) {
  118756. return $self._string0$_hasQuotes;
  118757. },
  118758. $signature: 585
  118759. };
  118760. A.stringClass__closure2.prototype = {
  118761. call$1($self) {
  118762. return $self.get$_string0$_sassLength();
  118763. },
  118764. $signature: 586
  118765. };
  118766. A.stringClass__closure3.prototype = {
  118767. call$3($self, sassIndex, $name) {
  118768. var t1,
  118769. index = sassIndex.assertNumber$1($name).assertInt$1($name);
  118770. if (index === 0)
  118771. A.throwExpression(A.SassScriptException$0("String index may not be 0.", $name));
  118772. else if (Math.abs(index) > $self.get$_string0$_sassLength())
  118773. A.throwExpression(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
  118774. t1 = index < 0 ? $self.get$_string0$_sassLength() + index : index - 1;
  118775. return A.codepointIndexToCodeUnitIndex0($self._string0$_text, t1);
  118776. },
  118777. call$2($self, sassIndex) {
  118778. return this.call$3($self, sassIndex, null);
  118779. },
  118780. "call*": "call$3",
  118781. $requiredArgCount: 2,
  118782. $defaultValues() {
  118783. return [null];
  118784. },
  118785. $signature: 587
  118786. };
  118787. A._ConstructorOptions1.prototype = {};
  118788. A._NodeSassString.prototype = {};
  118789. A.legacyStringClass_closure.prototype = {
  118790. call$3(thisArg, value, dartValue) {
  118791. var t1;
  118792. if (dartValue == null) {
  118793. value.toString;
  118794. t1 = new A.SassString0(value, false);
  118795. } else
  118796. t1 = dartValue;
  118797. J.set$dartValue$x(thisArg, t1);
  118798. },
  118799. call$2(thisArg, value) {
  118800. return this.call$3(thisArg, value, null);
  118801. },
  118802. "call*": "call$3",
  118803. $requiredArgCount: 2,
  118804. $defaultValues() {
  118805. return [null];
  118806. },
  118807. $signature: 588
  118808. };
  118809. A.legacyStringClass_closure0.prototype = {
  118810. call$1(thisArg) {
  118811. return J.get$dartValue$x(thisArg)._string0$_text;
  118812. },
  118813. $signature: 589
  118814. };
  118815. A.legacyStringClass_closure1.prototype = {
  118816. call$2(thisArg, value) {
  118817. J.set$dartValue$x(thisArg, new A.SassString0(value, false));
  118818. },
  118819. $signature: 590
  118820. };
  118821. A.SassString0.prototype = {
  118822. get$_string0$_sassLength() {
  118823. var result, _this = this,
  118824. value = _this._string0$__SassString__sassLength_FI;
  118825. if (value === $) {
  118826. result = new A.Runes(_this._string0$_text).get$length(0);
  118827. _this._string0$__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  118828. _this._string0$__SassString__sassLength_FI = result;
  118829. value = result;
  118830. }
  118831. return value;
  118832. },
  118833. get$isSpecialNumber() {
  118834. var t1, _2_0, t2, _0_0, _1_0;
  118835. if (this._string0$_hasQuotes)
  118836. return false;
  118837. t1 = this._string0$_text;
  118838. if (t1.length < 6)
  118839. return false;
  118840. _2_0 = t1.charCodeAt(0);
  118841. $label1$1: {
  118842. t2 = false;
  118843. if (99 === _2_0 || 67 === _2_0) {
  118844. _0_0 = t1.charCodeAt(1);
  118845. $label0$0: {
  118846. if (108 === _0_0 || 76 === _0_0) {
  118847. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  118848. break $label0$0;
  118849. }
  118850. if (97 === _0_0 || 65 === _0_0) {
  118851. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  118852. break $label0$0;
  118853. }
  118854. t1 = t2;
  118855. break $label0$0;
  118856. }
  118857. break $label1$1;
  118858. }
  118859. if (118 === _2_0 || 86 === _2_0) {
  118860. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  118861. break $label1$1;
  118862. }
  118863. if (101 === _2_0 || 69 === _2_0) {
  118864. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  118865. break $label1$1;
  118866. }
  118867. if (109 === _2_0 || 77 === _2_0) {
  118868. _1_0 = t1.charCodeAt(1);
  118869. $label2$2: {
  118870. if (97 === _1_0 || 65 === _1_0) {
  118871. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  118872. break $label2$2;
  118873. }
  118874. if (105 === _1_0 || 73 === _1_0) {
  118875. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  118876. break $label2$2;
  118877. }
  118878. t1 = t2;
  118879. break $label2$2;
  118880. }
  118881. break $label1$1;
  118882. }
  118883. t1 = t2;
  118884. break $label1$1;
  118885. }
  118886. return t1;
  118887. },
  118888. get$isVar() {
  118889. if (this._string0$_hasQuotes)
  118890. return false;
  118891. var t1 = this._string0$_text;
  118892. if (t1.length < 8)
  118893. return false;
  118894. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  118895. },
  118896. get$isBlank() {
  118897. return !this._string0$_hasQuotes && this._string0$_text.length === 0;
  118898. },
  118899. assertQuoted$1($name) {
  118900. if (this._string0$_hasQuotes)
  118901. return;
  118902. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be a quoted string.", $name));
  118903. },
  118904. assertUnquoted$1($name) {
  118905. if (!this._string0$_hasQuotes)
  118906. return;
  118907. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be an unquoted string.", $name));
  118908. },
  118909. assertUnquoted$0() {
  118910. return this.assertUnquoted$1(null);
  118911. },
  118912. accept$1$1(visitor) {
  118913. var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
  118914. t2 = this._string0$_text;
  118915. if (t1)
  118916. visitor._serialize0$_visitQuotedString$1(t2);
  118917. else
  118918. visitor._serialize0$_visitUnquotedString$1(t2);
  118919. return null;
  118920. },
  118921. accept$1(visitor) {
  118922. return this.accept$1$1(visitor, type$.dynamic);
  118923. },
  118924. assertString$1($name) {
  118925. return this;
  118926. },
  118927. plus$1(other) {
  118928. var t1 = this._string0$_text,
  118929. t2 = this._string0$_hasQuotes;
  118930. return other instanceof A.SassString0 ? new A.SassString0(t1 + other._string0$_text, t2) : new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
  118931. },
  118932. $eq(_, other) {
  118933. if (other == null)
  118934. return false;
  118935. return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
  118936. },
  118937. get$hashCode(_) {
  118938. var t1 = this._string0$_hashCache;
  118939. return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
  118940. }
  118941. };
  118942. A.ModifiableCssStyleRule0.prototype = {
  118943. accept$1$1(visitor) {
  118944. return visitor.visitCssStyleRule$1(this);
  118945. },
  118946. accept$1(visitor) {
  118947. return this.accept$1$1(visitor, type$.dynamic);
  118948. },
  118949. equalsIgnoringChildren$1(other) {
  118950. var t1;
  118951. if (other instanceof A.ModifiableCssStyleRule0)
  118952. t1 = B.C_ListEquality.equals$2(0, other._style_rule0$_selector._box0$_inner.value.components, this._style_rule0$_selector._box0$_inner.value.components);
  118953. else
  118954. t1 = false;
  118955. return t1;
  118956. },
  118957. copyWithoutChildren$0() {
  118958. return A.ModifiableCssStyleRule$0(this._style_rule0$_selector, this.span, false, this.originalSelector);
  118959. },
  118960. $isCssStyleRule0: 1,
  118961. get$span(receiver) {
  118962. return this.span;
  118963. }
  118964. };
  118965. A.StyleRule0.prototype = {
  118966. accept$1$1(visitor) {
  118967. return visitor.visitStyleRule$1(0, this);
  118968. },
  118969. accept$1(visitor) {
  118970. return this.accept$1$1(visitor, type$.dynamic);
  118971. },
  118972. toString$0(_) {
  118973. var t1 = this.children;
  118974. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  118975. },
  118976. get$span(receiver) {
  118977. return this.span;
  118978. }
  118979. };
  118980. A.CssStylesheet0.prototype = {
  118981. get$parent(_) {
  118982. return null;
  118983. },
  118984. get$isGroupEnd() {
  118985. return false;
  118986. },
  118987. get$isChildless() {
  118988. return false;
  118989. },
  118990. accept$1$1(visitor) {
  118991. return visitor.visitCssStylesheet$1(this);
  118992. },
  118993. accept$1(visitor) {
  118994. return this.accept$1$1(visitor, type$.dynamic);
  118995. },
  118996. get$children(receiver) {
  118997. return this.children;
  118998. },
  118999. get$span(receiver) {
  119000. return this.span;
  119001. }
  119002. };
  119003. A.ModifiableCssStylesheet0.prototype = {
  119004. accept$1$1(visitor) {
  119005. return visitor.visitCssStylesheet$1(this);
  119006. },
  119007. accept$1(visitor) {
  119008. return this.accept$1$1(visitor, type$.dynamic);
  119009. },
  119010. equalsIgnoringChildren$1(other) {
  119011. return other instanceof A.ModifiableCssStylesheet0;
  119012. },
  119013. copyWithoutChildren$0() {
  119014. return A.ModifiableCssStylesheet$0(this.span);
  119015. },
  119016. $isCssStylesheet0: 1,
  119017. get$span(receiver) {
  119018. return this.span;
  119019. }
  119020. };
  119021. A.StylesheetParser0.prototype = {
  119022. parse$0(_) {
  119023. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
  119024. },
  119025. parseParameterList$0() {
  119026. return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseParameterList_closure0(this), type$.ParameterList_2);
  119027. },
  119028. _stylesheet0$_parseSingleProduction$1$1(production, $T) {
  119029. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
  119030. },
  119031. parseSignature$1$requireParens(requireParens) {
  119032. return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
  119033. },
  119034. _stylesheet0$_statement$1$root(root) {
  119035. var t2, _this = this,
  119036. t1 = _this.scanner,
  119037. _0_0 = t1.peekChar$0();
  119038. if (64 === _0_0)
  119039. return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
  119040. if (43 === _0_0) {
  119041. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  119042. return _this._stylesheet0$_styleRule$0();
  119043. _this._stylesheet0$_isUseAllowed = false;
  119044. t2 = t1._string_scanner$_position;
  119045. t1.readChar$0();
  119046. return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
  119047. }
  119048. if (61 === _0_0) {
  119049. if (!_this.get$indented())
  119050. return _this._stylesheet0$_styleRule$0();
  119051. _this._stylesheet0$_isUseAllowed = false;
  119052. t2 = t1._string_scanner$_position;
  119053. t1.readChar$0();
  119054. _this.whitespace$1$consumeNewlines(true);
  119055. return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
  119056. }
  119057. if (125 === _0_0)
  119058. t1.error$2$length(0, 'unmatched "}".', 1);
  119059. return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
  119060. },
  119061. _stylesheet0$_statement$0() {
  119062. return this._stylesheet0$_statement$1$root(false);
  119063. },
  119064. variableDeclarationWithoutNamespace$2(namespace, start_) {
  119065. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  119066. precedingComment = _this.lastSilentComment;
  119067. _this.lastSilentComment = null;
  119068. if (start_ == null) {
  119069. t1 = _this.scanner;
  119070. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119071. } else
  119072. start = start_;
  119073. $name = _this.variableName$0();
  119074. t1 = namespace != null;
  119075. if (t1)
  119076. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
  119077. if (_this.get$plainCss())
  119078. _this.error$2(0, string$.Sassx20v, _this.scanner.spanFrom$1(start));
  119079. _this.whitespace$1$consumeNewlines(true);
  119080. t2 = _this.scanner;
  119081. t2.expectChar$1(58);
  119082. _this.whitespace$1$consumeNewlines(true);
  119083. value = _this._stylesheet0$_expression$0();
  119084. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  119085. for (t3 = _this.warnings, guarded = false, global = false; t2.scanChar$1(33);) {
  119086. $label0$0: {
  119087. _0_0 = _this.identifier$0();
  119088. if ("default" === _0_0) {
  119089. if (guarded) {
  119090. endPosition = t2._string_scanner$_position;
  119091. t4 = t2._sourceFile;
  119092. t5 = flagStart.position;
  119093. t6 = new A._FileSpan(t4, t5, endPosition);
  119094. t6._FileSpan$3(t4, t5, endPosition);
  119095. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_BzI, string$.x21defau, t6));
  119096. }
  119097. guarded = true;
  119098. break $label0$0;
  119099. }
  119100. if ("global" === _0_0) {
  119101. if (t1) {
  119102. endPosition = t2._string_scanner$_position;
  119103. t4 = t2._sourceFile;
  119104. t5 = flagStart.position;
  119105. t6 = new A._FileSpan(t4, t5, endPosition);
  119106. t6._FileSpan$3(t4, t5, endPosition);
  119107. _this.error$2(0, string$.x21globai, t6);
  119108. } else if (global) {
  119109. endPosition = t2._string_scanner$_position;
  119110. t4 = t2._sourceFile;
  119111. t5 = flagStart.position;
  119112. t6 = new A._FileSpan(t4, t5, endPosition);
  119113. t6._FileSpan$3(t4, t5, endPosition);
  119114. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_BzI, string$.x21globas, t6));
  119115. }
  119116. global = true;
  119117. break $label0$0;
  119118. }
  119119. endPosition = t2._string_scanner$_position;
  119120. t4 = t2._sourceFile;
  119121. t5 = flagStart.position;
  119122. t6 = new A._FileSpan(t4, t5, endPosition);
  119123. t6._FileSpan$3(t4, t5, endPosition);
  119124. _this.error$2(0, "Invalid flag name.", t6);
  119125. }
  119126. _this.whitespace$1$consumeNewlines(false);
  119127. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  119128. }
  119129. _this.expectStatementSeparator$1("variable declaration");
  119130. declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  119131. if (global)
  119132. _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
  119133. return declaration;
  119134. },
  119135. variableDeclarationWithoutNamespace$0() {
  119136. return this.variableDeclarationWithoutNamespace$2(null, null);
  119137. },
  119138. _stylesheet0$_variableDeclarationOrStyleRule$0() {
  119139. var t1, t2, variableOrInterpolation, t3, _this = this;
  119140. if (_this.get$plainCss())
  119141. return _this._stylesheet0$_styleRule$0();
  119142. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  119143. return _this._stylesheet0$_styleRule$0();
  119144. if (!_this.lookingAtIdentifier$0())
  119145. return _this._stylesheet0$_styleRule$0();
  119146. t1 = _this.scanner;
  119147. t2 = t1._string_scanner$_position;
  119148. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  119149. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  119150. t1 = variableOrInterpolation;
  119151. else {
  119152. t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119153. t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  119154. t2 = _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
  119155. t1 = t2;
  119156. }
  119157. return t1;
  119158. },
  119159. _stylesheet0$_declarationOrStyleRule$0() {
  119160. var t1, t2, declarationOrBuffer, _this = this;
  119161. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  119162. return _this._stylesheet0$_styleRule$0();
  119163. t1 = _this.scanner;
  119164. t2 = t1._string_scanner$_position;
  119165. declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
  119166. return declarationOrBuffer instanceof A.Statement0 ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  119167. },
  119168. _stylesheet0$_declarationOrBuffer$0() {
  119169. var midBuffer, couldBeSelector, beforeDeclaration, value, additional, t2, t3, variableOrInterpolation, t4, $name, postColonWhitespace, _0_0, exception, _1_0, _this = this,
  119170. t1 = _this.scanner,
  119171. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  119172. nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  119173. startsWithPunctuation = _this._stylesheet0$_lookingAtPotentialPropertyHack$0();
  119174. if (startsWithPunctuation) {
  119175. t2 = t1.readChar$0();
  119176. t3 = nameBuffer._interpolation_buffer0$_text;
  119177. t2 = A.Primitives_stringFromCharCode(t2);
  119178. t3._contents += t2;
  119179. t2 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure2(_this));
  119180. t3 = nameBuffer._interpolation_buffer0$_text;
  119181. t3._contents += t2;
  119182. }
  119183. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  119184. return nameBuffer;
  119185. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  119186. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  119187. return variableOrInterpolation;
  119188. else
  119189. nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  119190. _this._stylesheet0$_isUseAllowed = false;
  119191. if (t1.matches$1("/*")) {
  119192. t2 = _this.rawText$1(_this.get$loudComment());
  119193. t3 = nameBuffer._interpolation_buffer0$_text;
  119194. t3._contents += t2;
  119195. }
  119196. midBuffer = new A.StringBuffer("");
  119197. t2 = midBuffer;
  119198. t3 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure3(_this));
  119199. t2._contents += t3;
  119200. t3 = t1._string_scanner$_position;
  119201. if (!t1.scanChar$1(58)) {
  119202. if (midBuffer._contents.length !== 0) {
  119203. t1 = nameBuffer._interpolation_buffer0$_text;
  119204. t2 = A.Primitives_stringFromCharCode(32);
  119205. t1._contents += t2;
  119206. }
  119207. return nameBuffer;
  119208. }
  119209. t2 = midBuffer;
  119210. t4 = A.Primitives_stringFromCharCode(58);
  119211. t2._contents += t4;
  119212. $name = nameBuffer.interpolation$1(t1.spanFrom$2(start, new A._SpanScannerState(t1, t3)));
  119213. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  119214. t2 = _this._stylesheet0$_interpolatedDeclarationValue$1$silentComments(false);
  119215. _this.expectStatementSeparator$1("custom property");
  119216. return A.Declaration$0($name, new A.StringExpression0(t2, false), t1.spanFrom$1(start));
  119217. }
  119218. if (t1.scanChar$1(58)) {
  119219. t1 = nameBuffer;
  119220. t2 = t1._interpolation_buffer0$_text;
  119221. t3 = A.S(midBuffer);
  119222. t2._contents += t3;
  119223. t3 = A.Primitives_stringFromCharCode(58);
  119224. t2._contents += t3;
  119225. return t1;
  119226. } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  119227. t1 = nameBuffer;
  119228. t2 = t1._interpolation_buffer0$_text;
  119229. t3 = A.S(midBuffer);
  119230. t2._contents += t3;
  119231. return t1;
  119232. }
  119233. postColonWhitespace = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure4(_this));
  119234. _0_0 = _this._stylesheet0$_tryDeclarationChildren$2($name, start);
  119235. if (_0_0 != null)
  119236. return _0_0;
  119237. midBuffer._contents += postColonWhitespace;
  119238. couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
  119239. beforeDeclaration = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119240. value = null;
  119241. try {
  119242. value = _this._stylesheet0$_expression$0();
  119243. if (_this.lookingAtChildren$0()) {
  119244. if (couldBeSelector)
  119245. _this.expectStatementSeparator$0();
  119246. } else if (!_this.atEndOfStatement$0())
  119247. _this.expectStatementSeparator$0();
  119248. } catch (exception) {
  119249. if (type$.FormatException._is(A.unwrapException(exception))) {
  119250. if (!couldBeSelector)
  119251. throw exception;
  119252. t1.set$state(beforeDeclaration);
  119253. additional = _this.almostAnyValue$0();
  119254. if (!_this.get$indented() && t1.peekChar$0() === 59)
  119255. throw exception;
  119256. t1 = nameBuffer._interpolation_buffer0$_text;
  119257. t2 = A.S(midBuffer);
  119258. t1._contents += t2;
  119259. nameBuffer.addInterpolation$1(additional);
  119260. return nameBuffer;
  119261. } else
  119262. throw exception;
  119263. }
  119264. _1_0 = _this._stylesheet0$_tryDeclarationChildren$3$value($name, start, value);
  119265. if (_1_0 != null)
  119266. return _1_0;
  119267. else {
  119268. _this.expectStatementSeparator$0();
  119269. return A.Declaration$0($name, value, t1.spanFrom$1(start));
  119270. }
  119271. },
  119272. _stylesheet0$_variableDeclarationOrInterpolation$0() {
  119273. var t1, start, identifier, t2, buffer, _this = this;
  119274. if (!_this.lookingAtIdentifier$0())
  119275. return _this.interpolatedIdentifier$0();
  119276. t1 = _this.scanner;
  119277. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119278. identifier = _this.identifier$0();
  119279. if (t1.matches$1(".$")) {
  119280. t1.readChar$0();
  119281. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  119282. } else {
  119283. t2 = new A.StringBuffer("");
  119284. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119285. t2._contents = "" + identifier;
  119286. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  119287. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  119288. return buffer.interpolation$1(t1.spanFrom$1(start));
  119289. }
  119290. },
  119291. _stylesheet0$_styleRule$2(buffer, start_) {
  119292. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  119293. _this._stylesheet0$_isUseAllowed = false;
  119294. if (start_ == null) {
  119295. t2 = _this.scanner;
  119296. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  119297. } else
  119298. start = start_;
  119299. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  119300. if (buffer != null) {
  119301. buffer.addInterpolation$1(interpolation);
  119302. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  119303. } else
  119304. t2 = interpolation;
  119305. if (t2.contents.length === 0)
  119306. _this.scanner.error$1(0, 'expected "}".');
  119307. wasInStyleRule = _this._stylesheet0$_inStyleRule;
  119308. _this._stylesheet0$_inStyleRule = true;
  119309. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
  119310. },
  119311. _stylesheet0$_styleRule$0() {
  119312. return this._stylesheet0$_styleRule$2(null, null);
  119313. },
  119314. _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  119315. var t2, nameBuffer, t3, $name, variableOrInterpolation, _0_0, value, _1_0, _this = this,
  119316. t1 = _this.scanner,
  119317. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119318. if (_this._stylesheet0$_lookingAtPotentialPropertyHack$0()) {
  119319. t2 = new A.StringBuffer("");
  119320. nameBuffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119321. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  119322. t2._contents += t3;
  119323. t3 = _this.rawText$1(new A.StylesheetParser__propertyOrVariableDeclaration_closure0(_this));
  119324. t2._contents += t3;
  119325. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  119326. $name = nameBuffer.interpolation$1(t1.spanFrom$1(start));
  119327. } else if (!_this.get$plainCss()) {
  119328. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  119329. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  119330. return variableOrInterpolation;
  119331. else
  119332. type$.Interpolation_2._as(variableOrInterpolation);
  119333. $name = variableOrInterpolation;
  119334. } else
  119335. $name = _this.interpolatedIdentifier$0();
  119336. _this.whitespace$1$consumeNewlines(false);
  119337. t1.expectChar$1(58);
  119338. _this.whitespace$1$consumeNewlines(false);
  119339. _0_0 = _this._stylesheet0$_tryDeclarationChildren$2($name, start);
  119340. if (_0_0 != null)
  119341. return _0_0;
  119342. value = _this._stylesheet0$_expression$0();
  119343. _1_0 = _this._stylesheet0$_tryDeclarationChildren$3$value($name, start, value);
  119344. if (_1_0 != null)
  119345. return _1_0;
  119346. else {
  119347. _this.expectStatementSeparator$0();
  119348. return A.Declaration$0($name, value, t1.spanFrom$1(start));
  119349. }
  119350. },
  119351. _stylesheet0$_tryDeclarationChildren$3$value($name, start, value) {
  119352. var _this = this;
  119353. if (!_this.lookingAtChildren$0())
  119354. return null;
  119355. if (_this.get$plainCss())
  119356. _this.scanner.error$1(0, string$.Nested);
  119357. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__tryDeclarationChildren_closure0($name, value));
  119358. },
  119359. _stylesheet0$_tryDeclarationChildren$2($name, start) {
  119360. return this._stylesheet0$_tryDeclarationChildren$3$value($name, start, null);
  119361. },
  119362. _stylesheet0$_declarationChild$0() {
  119363. return this.scanner.peekChar$0() === 64 ? this._stylesheet0$_declarationAtRule$0() : this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
  119364. },
  119365. atRule$2$root(child, root) {
  119366. var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
  119367. t1 = _this.scanner,
  119368. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119369. t1.expectChar$2$name(64, "@-rule");
  119370. $name = _this.interpolatedIdentifier$0();
  119371. wasUseAllowed = _this._stylesheet0$_isUseAllowed;
  119372. _this._stylesheet0$_isUseAllowed = false;
  119373. switch ($name.get$asPlain()) {
  119374. case "at-root":
  119375. return _this._stylesheet0$_atRootRule$1(start);
  119376. case "content":
  119377. return _this._stylesheet0$_contentRule$1(start);
  119378. case "debug":
  119379. return _this._stylesheet0$_debugRule$1(start);
  119380. case "each":
  119381. return _this._stylesheet0$_eachRule$2(start, child);
  119382. case "else":
  119383. return _this._stylesheet0$_disallowedAtRule$1(start);
  119384. case "error":
  119385. return _this._stylesheet0$_errorRule$1(start);
  119386. case "extend":
  119387. _this.whitespace$1$consumeNewlines(true);
  119388. if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
  119389. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  119390. value = _this.almostAnyValue$0();
  119391. optional = t1.scanChar$1(33);
  119392. if (optional) {
  119393. _this.expectIdentifier$1("optional");
  119394. _this.whitespace$1$consumeNewlines(false);
  119395. }
  119396. _this.expectStatementSeparator$1("@extend rule");
  119397. return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
  119398. case "for":
  119399. return _this._stylesheet0$_forRule$2(start, child);
  119400. case "forward":
  119401. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  119402. if (!root)
  119403. _this._stylesheet0$_disallowedAtRule$1(start);
  119404. return _this._stylesheet0$_forwardRule$1(start);
  119405. case "function":
  119406. return _this._stylesheet0$_functionRule$1(start);
  119407. case "if":
  119408. return _this._stylesheet0$_ifRule$2(start, child);
  119409. case "import":
  119410. return _this._stylesheet0$_importRule$1(start);
  119411. case "include":
  119412. return _this._stylesheet0$_includeRule$1(start);
  119413. case "media":
  119414. return _this.mediaRule$1(start);
  119415. case "mixin":
  119416. return _this._stylesheet0$_mixinRule$1(start);
  119417. case "-moz-document":
  119418. return _this.mozDocumentRule$2(start, $name);
  119419. case "return":
  119420. return _this._stylesheet0$_disallowedAtRule$1(start);
  119421. case "supports":
  119422. return _this.supportsRule$1(start);
  119423. case "use":
  119424. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  119425. if (!root)
  119426. _this._stylesheet0$_disallowedAtRule$1(start);
  119427. _this.whitespace$1$consumeNewlines(true);
  119428. url = _this._stylesheet0$_urlString$0();
  119429. _this.whitespace$1$consumeNewlines(false);
  119430. namespace = _this._stylesheet0$_useNamespace$2(url, start);
  119431. _this.whitespace$1$consumeNewlines(false);
  119432. configuration = _this._stylesheet0$_configuration$0();
  119433. _this.whitespace$1$consumeNewlines(false);
  119434. span = t1.spanFrom$1(start);
  119435. if (!_this._stylesheet0$_isUseAllowed)
  119436. _this.error$2(0, string$.x40use_r, span);
  119437. _this.expectStatementSeparator$1("@use rule");
  119438. t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty22 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  119439. t1.UseRule$4$configuration0(url, namespace, span, configuration);
  119440. return t1;
  119441. case "warn":
  119442. return _this._stylesheet0$_warnRule$1(start);
  119443. case "while":
  119444. return _this._stylesheet0$_whileRule$2(start, child);
  119445. default:
  119446. return _this.unknownAtRule$2(start, $name);
  119447. }
  119448. },
  119449. _stylesheet0$_declarationAtRule$0() {
  119450. var _this = this,
  119451. t1 = _this.scanner,
  119452. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  119453. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  119454. $label0$0: {
  119455. if ("content" === _0_0) {
  119456. t1 = _this._stylesheet0$_contentRule$1(start);
  119457. break $label0$0;
  119458. }
  119459. if ("debug" === _0_0) {
  119460. t1 = _this._stylesheet0$_debugRule$1(start);
  119461. break $label0$0;
  119462. }
  119463. if ("each" === _0_0) {
  119464. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
  119465. break $label0$0;
  119466. }
  119467. if ("else" === _0_0)
  119468. _this._stylesheet0$_disallowedAtRule$1(start);
  119469. if ("error" === _0_0) {
  119470. t1 = _this._stylesheet0$_errorRule$1(start);
  119471. break $label0$0;
  119472. }
  119473. if ("for" === _0_0) {
  119474. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
  119475. break $label0$0;
  119476. }
  119477. if ("if" === _0_0) {
  119478. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
  119479. break $label0$0;
  119480. }
  119481. if ("include" === _0_0) {
  119482. t1 = _this._stylesheet0$_includeRule$1(start);
  119483. break $label0$0;
  119484. }
  119485. if ("warn" === _0_0) {
  119486. t1 = _this._stylesheet0$_warnRule$1(start);
  119487. break $label0$0;
  119488. }
  119489. if ("while" === _0_0) {
  119490. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
  119491. break $label0$0;
  119492. }
  119493. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  119494. }
  119495. return t1;
  119496. },
  119497. _stylesheet0$_functionChild$0() {
  119498. var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, _0_0, value, _this = this,
  119499. t1 = _this.scanner;
  119500. if (t1.peekChar$0() !== 64) {
  119501. t2 = t1._string_scanner$_position;
  119502. state = new A._SpanScannerState(t1, t2);
  119503. try {
  119504. namespace = _this.identifier$0();
  119505. t1.expectChar$1(46);
  119506. t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  119507. return t2;
  119508. } catch (exception) {
  119509. t2 = A.unwrapException(exception);
  119510. t3 = type$.SourceSpanFormatException;
  119511. if (t3._is(t2)) {
  119512. variableDeclarationError = t2;
  119513. stackTrace = A.getTraceFromException(exception);
  119514. t1.set$state(state);
  119515. statement = null;
  119516. try {
  119517. statement = _this._stylesheet0$_declarationOrStyleRule$0();
  119518. } catch (exception) {
  119519. if (t3._is(A.unwrapException(exception)))
  119520. throw A.wrapException(variableDeclarationError);
  119521. else
  119522. throw exception;
  119523. }
  119524. t2 = statement instanceof A.StyleRule0 ? "style rules" : "declarations";
  119525. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  119526. } else
  119527. throw exception;
  119528. }
  119529. }
  119530. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119531. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  119532. $label0$0: {
  119533. if ("debug" === _0_0) {
  119534. t1 = _this._stylesheet0$_debugRule$1(start);
  119535. break $label0$0;
  119536. }
  119537. if ("each" === _0_0) {
  119538. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
  119539. break $label0$0;
  119540. }
  119541. if ("else" === _0_0)
  119542. _this._stylesheet0$_disallowedAtRule$1(start);
  119543. if ("error" === _0_0) {
  119544. t1 = _this._stylesheet0$_errorRule$1(start);
  119545. break $label0$0;
  119546. }
  119547. if ("for" === _0_0) {
  119548. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
  119549. break $label0$0;
  119550. }
  119551. if ("if" === _0_0) {
  119552. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
  119553. break $label0$0;
  119554. }
  119555. if ("return" === _0_0) {
  119556. _this.whitespace$1$consumeNewlines(true);
  119557. value = _this._stylesheet0$_expression$0();
  119558. _this.expectStatementSeparator$1("@return rule");
  119559. t1 = new A.ReturnRule0(value, t1.spanFrom$1(start));
  119560. break $label0$0;
  119561. }
  119562. if ("warn" === _0_0) {
  119563. t1 = _this._stylesheet0$_warnRule$1(start);
  119564. break $label0$0;
  119565. }
  119566. if ("while" === _0_0) {
  119567. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
  119568. break $label0$0;
  119569. }
  119570. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  119571. }
  119572. return t1;
  119573. },
  119574. _stylesheet0$_plainAtRuleName$0() {
  119575. this.scanner.expectChar$2$name(64, "@-rule");
  119576. return this.identifier$0();
  119577. },
  119578. _stylesheet0$_atRootRule$1(start) {
  119579. var t1, t2, t3, buffer, t4, _this = this;
  119580. _this.whitespace$1$consumeNewlines(false);
  119581. t1 = _this.scanner;
  119582. if (t1.peekChar$0() === 40) {
  119583. t2 = t1._string_scanner$_position;
  119584. t3 = new A.StringBuffer("");
  119585. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119586. t1.expectChar$1(40);
  119587. t4 = A.Primitives_stringFromCharCode(40);
  119588. t3._contents += t4;
  119589. _this.whitespace$1$consumeNewlines(true);
  119590. _this._stylesheet0$_addOrInject$2(buffer, _this._stylesheet0$_expression$1$consumeNewlines(true));
  119591. if (t1.scanChar$1(58)) {
  119592. _this.whitespace$1$consumeNewlines(true);
  119593. t4 = A.Primitives_stringFromCharCode(58);
  119594. t3._contents += t4;
  119595. t4 = A.Primitives_stringFromCharCode(32);
  119596. t3._contents += t4;
  119597. _this._stylesheet0$_addOrInject$2(buffer, _this._stylesheet0$_expression$1$consumeNewlines(true));
  119598. }
  119599. t1.expectChar$1(41);
  119600. _this.whitespace$1$consumeNewlines(false);
  119601. t4 = A.Primitives_stringFromCharCode(41);
  119602. t3._contents += t4;
  119603. 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)))));
  119604. } else {
  119605. if (!_this.lookingAtChildren$0())
  119606. t2 = _this.get$indented() && _this.atEndOfStatement$0();
  119607. else
  119608. t2 = true;
  119609. if (t2)
  119610. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
  119611. else
  119612. return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
  119613. }
  119614. },
  119615. _stylesheet0$_contentRule$1(start) {
  119616. var t1, beforeWhitespace, $arguments, t2, _this = this;
  119617. if (!_this._stylesheet0$_inMixin)
  119618. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  119619. t1 = _this.scanner;
  119620. beforeWhitespace = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  119621. _this.whitespace$1$consumeNewlines(false);
  119622. if (t1.peekChar$0() === 40) {
  119623. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  119624. _this.whitespace$1$consumeNewlines(false);
  119625. } else {
  119626. t2 = beforeWhitespace.offset;
  119627. $arguments = A.ArgumentList$empty0(A._FileSpan$(beforeWhitespace.file, t2, t2));
  119628. }
  119629. _this.expectStatementSeparator$1("@content rule");
  119630. return new A.ContentRule0($arguments, t1.spanFrom$1(start));
  119631. },
  119632. _stylesheet0$_debugRule$1(start) {
  119633. var value, t1, t2, _this = this;
  119634. _this.whitespace$1$consumeNewlines(true);
  119635. value = _this._stylesheet0$_expression$0();
  119636. t1 = _this.scanner;
  119637. t2 = t1._string_scanner$_position;
  119638. _this.expectStatementSeparator$1("@debug rule");
  119639. return new A.DebugRule0(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  119640. },
  119641. _stylesheet0$_eachRule$2(start, child) {
  119642. var wasInControlDirective, variables, t1, _this = this;
  119643. _this.whitespace$1$consumeNewlines(true);
  119644. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  119645. _this._stylesheet0$_inControlDirective = true;
  119646. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  119647. _this.whitespace$1$consumeNewlines(true);
  119648. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  119649. _this.whitespace$1$consumeNewlines(true);
  119650. t1.expectChar$1(36);
  119651. variables.push(_this.identifier$1$normalize(true));
  119652. _this.whitespace$1$consumeNewlines(true);
  119653. }
  119654. _this.whitespace$1$consumeNewlines(true);
  119655. _this.expectIdentifier$1("in");
  119656. _this.whitespace$1$consumeNewlines(true);
  119657. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this._stylesheet0$_expression$0()));
  119658. },
  119659. _stylesheet0$_errorRule$1(start) {
  119660. var value, t1, t2, _this = this;
  119661. _this.whitespace$1$consumeNewlines(true);
  119662. value = _this._stylesheet0$_expression$0();
  119663. t1 = _this.scanner;
  119664. t2 = t1._string_scanner$_position;
  119665. _this.expectStatementSeparator$1("@error rule");
  119666. return new A.ErrorRule0(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  119667. },
  119668. _stylesheet0$_functionRule$1(start) {
  119669. var precedingComment, t1, t2, $name, parameters, _0_0, _this = this;
  119670. _this.whitespace$1$consumeNewlines(true);
  119671. precedingComment = _this.lastSilentComment;
  119672. _this.lastSilentComment = null;
  119673. t1 = _this.scanner;
  119674. t2 = t1._string_scanner$_position;
  119675. $name = _this.identifier$0();
  119676. if (B.JSString_methods.startsWith$1($name, "--"))
  119677. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_d4j, string$.Sassx20_fm, t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  119678. _this.whitespace$1$consumeNewlines(true);
  119679. parameters = _this._stylesheet0$_parameterList$0();
  119680. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  119681. _this.error$2(0, string$.Mixinscf, t1.spanFrom$1(start));
  119682. else if (_this._stylesheet0$_inControlDirective)
  119683. _this.error$2(0, string$.Functi, t1.spanFrom$1(start));
  119684. _0_0 = A.unvendor0($name);
  119685. 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)
  119686. _this.error$2(0, "Invalid function name.", t1.spanFrom$1(start));
  119687. _this.whitespace$1$consumeNewlines(false);
  119688. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, parameters, precedingComment));
  119689. },
  119690. _stylesheet0$_forRule$2(start, child) {
  119691. var wasInControlDirective, variable, from, _this = this, t1 = {};
  119692. _this.whitespace$1$consumeNewlines(true);
  119693. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  119694. _this._stylesheet0$_inControlDirective = true;
  119695. variable = _this.variableName$0();
  119696. _this.whitespace$1$consumeNewlines(true);
  119697. _this.expectIdentifier$1("from");
  119698. _this.whitespace$1$consumeNewlines(true);
  119699. t1.exclusive = null;
  119700. from = _this._stylesheet0$_expression$2$consumeNewlines$until(true, new A.StylesheetParser__forRule_closure1(t1, _this));
  119701. if (t1.exclusive == null)
  119702. _this.scanner.error$1(0, 'Expected "to" or "through".');
  119703. _this.whitespace$1$consumeNewlines(true);
  119704. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this._stylesheet0$_expression$0()));
  119705. },
  119706. _stylesheet0$_forwardRule$1(start) {
  119707. var url, prefix, hiddenMixinsAndFunctions, hiddenVariables, _0_0, shownMixinsAndFunctions, shownVariables, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null;
  119708. _this.whitespace$1$consumeNewlines(true);
  119709. url = _this._stylesheet0$_urlString$0();
  119710. _this.whitespace$1$consumeNewlines(false);
  119711. if (_this.scanIdentifier$1("as")) {
  119712. _this.whitespace$1$consumeNewlines(true);
  119713. prefix = _this.identifier$1$normalize(true);
  119714. _this.scanner.expectChar$1(42);
  119715. _this.whitespace$1$consumeNewlines(false);
  119716. } else
  119717. prefix = _null;
  119718. hiddenMixinsAndFunctions = _null;
  119719. hiddenVariables = _null;
  119720. if (_this.scanIdentifier$1("show")) {
  119721. _this.whitespace$1$consumeNewlines(true);
  119722. _0_0 = _this._stylesheet0$_memberList$0();
  119723. shownMixinsAndFunctions = _0_0._0;
  119724. shownVariables = _0_0._1;
  119725. } else {
  119726. if (_this.scanIdentifier$1("hide")) {
  119727. _this.whitespace$1$consumeNewlines(true);
  119728. _1_0 = _this._stylesheet0$_memberList$0();
  119729. hiddenMixinsAndFunctions = _1_0._0;
  119730. hiddenVariables = _1_0._1;
  119731. }
  119732. shownVariables = _null;
  119733. shownMixinsAndFunctions = shownVariables;
  119734. }
  119735. configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
  119736. _this.whitespace$1$consumeNewlines(false);
  119737. _this.expectStatementSeparator$1("@forward rule");
  119738. span = _this.scanner.spanFrom$1(start);
  119739. if (!_this._stylesheet0$_isUseAllowed)
  119740. _this.error$2(0, string$.x40forwa, span);
  119741. if (shownMixinsAndFunctions != null) {
  119742. shownVariables.toString;
  119743. t1 = type$.String;
  119744. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  119745. t3 = type$.UnmodifiableSetView_String;
  119746. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  119747. t4 = configuration == null ? B.List_empty22 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  119748. return new A.ForwardRule0(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  119749. } else if (hiddenMixinsAndFunctions != null) {
  119750. hiddenVariables.toString;
  119751. t1 = type$.String;
  119752. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  119753. t3 = type$.UnmodifiableSetView_String;
  119754. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  119755. t4 = configuration == null ? B.List_empty22 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  119756. return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  119757. } else
  119758. return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty22 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  119759. },
  119760. _stylesheet0$_memberList$0() {
  119761. var _this = this,
  119762. t1 = type$.String,
  119763. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  119764. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  119765. t1 = _this.scanner;
  119766. do {
  119767. _this.whitespace$1$consumeNewlines(true);
  119768. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
  119769. _this.whitespace$1$consumeNewlines(false);
  119770. } while (t1.scanChar$1(44));
  119771. return new A._Record_2(identifiers, variables);
  119772. },
  119773. _stylesheet0$_ifRule$2(start, child) {
  119774. var ifIndentation, wasInControlDirective, condition, children, clauses, lastClause, span, _this = this;
  119775. _this.whitespace$1$consumeNewlines(true);
  119776. ifIndentation = _this.get$currentIndentation();
  119777. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  119778. _this._stylesheet0$_inControlDirective = true;
  119779. condition = _this._stylesheet0$_expression$0();
  119780. children = _this.children$1(0, child);
  119781. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  119782. clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
  119783. while (true) {
  119784. if (!_this.scanElse$1(ifIndentation)) {
  119785. lastClause = null;
  119786. break;
  119787. }
  119788. _this.whitespace$1$consumeNewlines(false);
  119789. if (_this.scanIdentifier$1("if")) {
  119790. _this.whitespace$1$consumeNewlines(true);
  119791. clauses.push(A.IfClause$0(_this._stylesheet0$_expression$0(), _this.children$1(0, child)));
  119792. } else {
  119793. lastClause = A.ElseClause$0(_this.children$1(0, child));
  119794. break;
  119795. }
  119796. }
  119797. _this._stylesheet0$_inControlDirective = wasInControlDirective;
  119798. span = _this.scanner.spanFrom$1(start);
  119799. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  119800. return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
  119801. },
  119802. _stylesheet0$_importRule$1(start) {
  119803. var argument, t3, _this = this,
  119804. imports = A._setArrayType([], type$.JSArray_Import_2),
  119805. t1 = _this.scanner,
  119806. t2 = _this.warnings;
  119807. do {
  119808. _this.whitespace$1$consumeNewlines(false);
  119809. argument = _this.importArgument$0();
  119810. t3 = argument instanceof A.DynamicImport0;
  119811. if (t3)
  119812. t2.push(new A._Record_3_deprecation_message_span(B.Deprecation_OHJ, string$.Sassx20_i, argument.span));
  119813. if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && t3)
  119814. _this._stylesheet0$_disallowedAtRule$1(start);
  119815. imports.push(argument);
  119816. _this.whitespace$1$consumeNewlines(false);
  119817. } while (t1.scanChar$1(44));
  119818. _this.expectStatementSeparator$1("@import rule");
  119819. t1 = t1.spanFrom$1(start);
  119820. return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
  119821. },
  119822. importArgument$0() {
  119823. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  119824. t1 = _this.scanner,
  119825. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  119826. _0_0 = t1.peekChar$0();
  119827. if (117 === _0_0 || 85 === _0_0) {
  119828. url = _this.dynamicUrl$0();
  119829. _this.whitespace$1$consumeNewlines(false);
  119830. modifiers = _this.tryImportModifiers$0();
  119831. 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));
  119832. return new A.StaticImport0(t2, modifiers, t1.spanFrom$1(start));
  119833. }
  119834. url = _this.string$0();
  119835. urlSpan = t1.spanFrom$1(start);
  119836. _this.whitespace$1$consumeNewlines(false);
  119837. modifiers = _this.tryImportModifiers$0();
  119838. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  119839. t2 = urlSpan;
  119840. 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));
  119841. } else
  119842. try {
  119843. t1 = _this.parseImportUrl$1(url);
  119844. return new A.DynamicImport0(t1, urlSpan);
  119845. } catch (exception) {
  119846. t1 = A.unwrapException(exception);
  119847. if (type$.FormatException._is(t1)) {
  119848. innerError = t1;
  119849. stackTrace = A.getTraceFromException(exception);
  119850. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  119851. } else
  119852. throw exception;
  119853. }
  119854. },
  119855. parseImportUrl$1(url) {
  119856. var t1 = $.$get$windows();
  119857. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  119858. return t1.toUri$1(url).toString$0(0);
  119859. A.Uri_parse(url);
  119860. return url;
  119861. },
  119862. isPlainImportUrl$1(url) {
  119863. var _0_0, t1;
  119864. if (url.length < 5)
  119865. return false;
  119866. if (B.JSString_methods.endsWith$1(url, ".css"))
  119867. return true;
  119868. _0_0 = url.charCodeAt(0);
  119869. $label0$0: {
  119870. if (47 === _0_0) {
  119871. t1 = url.charCodeAt(1) === 47;
  119872. break $label0$0;
  119873. }
  119874. if (104 === _0_0) {
  119875. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  119876. break $label0$0;
  119877. }
  119878. t1 = false;
  119879. break $label0$0;
  119880. }
  119881. return t1;
  119882. },
  119883. tryImportModifiers$0() {
  119884. var t1, start, t2, t3, t4, buffer, t5, identifier, $name, query, t6, endPosition, _this = this;
  119885. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  119886. return null;
  119887. t1 = _this.scanner;
  119888. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119889. t2 = new A.StringBuffer("");
  119890. t3 = A._setArrayType([], type$.JSArray_Object);
  119891. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  119892. buffer = new A.InterpolationBuffer0(t2, t3, t4);
  119893. for (; true;)
  119894. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  119895. if (!(t3.length === 0 && t2._contents.length === 0)) {
  119896. t5 = A.Primitives_stringFromCharCode(32);
  119897. t2._contents += t5;
  119898. }
  119899. identifier = _this.interpolatedIdentifier$0();
  119900. buffer.addInterpolation$1(identifier);
  119901. t5 = identifier.get$asPlain();
  119902. $name = t5 == null ? null : t5.toLowerCase();
  119903. if ($name !== "and" && t1.scanChar$1(40)) {
  119904. if ($name === "supports") {
  119905. query = _this._stylesheet0$_importSupportsQuery$0();
  119906. t5 = !(query instanceof A.SupportsDeclaration0);
  119907. if (t5) {
  119908. t6 = A.Primitives_stringFromCharCode(40);
  119909. t2._contents += t6;
  119910. }
  119911. t6 = query.get$span(query);
  119912. buffer._interpolation_buffer0$_flushText$0();
  119913. t3.push(new A.SupportsExpression0(query));
  119914. t4.push(t6);
  119915. if (t5) {
  119916. t5 = A.Primitives_stringFromCharCode(41);
  119917. t2._contents += t5;
  119918. }
  119919. } else {
  119920. t5 = A.Primitives_stringFromCharCode(40);
  119921. t2._contents += t5;
  119922. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true));
  119923. t5 = A.Primitives_stringFromCharCode(41);
  119924. t2._contents += t5;
  119925. }
  119926. t1.expectChar$1(41);
  119927. _this.whitespace$1$consumeNewlines(false);
  119928. } else {
  119929. _this.whitespace$1$consumeNewlines(false);
  119930. if (t1.scanChar$1(44)) {
  119931. t2._contents += ", ";
  119932. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  119933. endPosition = t1._string_scanner$_position;
  119934. t2 = t1._sourceFile;
  119935. t3 = start.position;
  119936. t1 = new A._FileSpan(t2, t3, endPosition);
  119937. t1._FileSpan$3(t2, t3, endPosition);
  119938. return buffer.interpolation$1(t1);
  119939. }
  119940. }
  119941. } else if (t1.peekChar$0() === 40) {
  119942. if (!(t3.length === 0 && t2._contents.length === 0)) {
  119943. t3 = A.Primitives_stringFromCharCode(32);
  119944. t2._contents += t3;
  119945. }
  119946. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  119947. endPosition = t1._string_scanner$_position;
  119948. t1 = t1._sourceFile;
  119949. t2 = start.position;
  119950. t3 = new A._FileSpan(t1, t2, endPosition);
  119951. t3._FileSpan$3(t1, t2, endPosition);
  119952. return buffer.interpolation$1(t3);
  119953. } else {
  119954. endPosition = t1._string_scanner$_position;
  119955. t1 = t1._sourceFile;
  119956. t2 = start.position;
  119957. t3 = new A._FileSpan(t1, t2, endPosition);
  119958. t3._FileSpan$3(t1, t2, endPosition);
  119959. return buffer.interpolation$1(t3);
  119960. }
  119961. },
  119962. _stylesheet0$_importSupportsQuery$0() {
  119963. var t1, t2, _0_0, $name, _this = this;
  119964. _this.whitespace$1$consumeNewlines(true);
  119965. if (_this.scanIdentifier$1("not")) {
  119966. _this.whitespace$1$consumeNewlines(true);
  119967. t1 = _this.scanner;
  119968. t2 = t1._string_scanner$_position;
  119969. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  119970. } else {
  119971. t1 = _this.scanner;
  119972. if (t1.peekChar$0() === 40)
  119973. return _this._stylesheet0$_supportsCondition$1$inParentheses(true);
  119974. else {
  119975. _0_0 = _this._stylesheet0$_tryImportSupportsFunction$0();
  119976. if (_0_0 != null)
  119977. return _0_0;
  119978. t2 = t1._string_scanner$_position;
  119979. $name = _this._stylesheet0$_expression$1$consumeNewlines(true);
  119980. t1.expectChar$1(58);
  119981. return new A.SupportsDeclaration0($name, _this._stylesheet0$_supportsDeclarationValue$1($name), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  119982. }
  119983. }
  119984. },
  119985. _stylesheet0$_tryImportSupportsFunction$0() {
  119986. var t1, start, $name, value, _this = this;
  119987. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  119988. return null;
  119989. t1 = _this.scanner;
  119990. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119991. $name = _this.interpolatedIdentifier$0();
  119992. if (!t1.scanChar$1(40)) {
  119993. t1.set$state(start);
  119994. return null;
  119995. }
  119996. value = _this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  119997. t1.expectChar$1(41);
  119998. return new A.SupportsFunction0($name, value, t1.spanFrom$1(start));
  119999. },
  120000. _stylesheet0$_includeRule$1(start) {
  120001. var $name, t1, name0, namespace, $arguments, t2, t3, contentParameters, contentParameters_, wasInContentBlock, $content, span, _this = this, _null = null;
  120002. _this.whitespace$1$consumeNewlines(true);
  120003. $name = _this.identifier$0();
  120004. t1 = _this.scanner;
  120005. if (t1.scanChar$1(46)) {
  120006. name0 = _this._stylesheet0$_publicIdentifier$0();
  120007. namespace = $name;
  120008. $name = name0;
  120009. } else
  120010. namespace = _null;
  120011. _this.whitespace$1$consumeNewlines(false);
  120012. if (t1.peekChar$0() === 40)
  120013. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  120014. else {
  120015. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120016. t3 = t2.offset;
  120017. $arguments = A.ArgumentList$empty0(A._FileSpan$(t2.file, t3, t3));
  120018. }
  120019. _this.whitespace$1$consumeNewlines(false);
  120020. if (_this.scanIdentifier$1("using")) {
  120021. _this.whitespace$1$consumeNewlines(true);
  120022. contentParameters = _this._stylesheet0$_parameterList$0();
  120023. _this.whitespace$1$consumeNewlines(false);
  120024. } else
  120025. contentParameters = _null;
  120026. t2 = contentParameters == null;
  120027. if (!t2 || _this.lookingAtChildren$0()) {
  120028. if (t2) {
  120029. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120030. t3 = t2.offset;
  120031. contentParameters_ = new A.ParameterList0(B.List_empty24, _null, A._FileSpan$(t2.file, t3, t3));
  120032. } else
  120033. contentParameters_ = contentParameters;
  120034. wasInContentBlock = _this._stylesheet0$_inContentBlock;
  120035. _this._stylesheet0$_inContentBlock = true;
  120036. $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentParameters_));
  120037. _this._stylesheet0$_inContentBlock = wasInContentBlock;
  120038. } else {
  120039. _this.expectStatementSeparator$0();
  120040. $content = _null;
  120041. }
  120042. t1 = t1.spanFrom$2(start, start);
  120043. t2 = $content == null ? $arguments : $content;
  120044. span = t1.expand$1(0, t2.get$span(t2));
  120045. return new A.IncludeRule0(namespace, A.stringReplaceAllUnchecked($name, "_", "-"), $name, $arguments, $content, span);
  120046. },
  120047. mediaRule$1(start) {
  120048. var _this = this;
  120049. _this.whitespace$1$consumeNewlines(false);
  120050. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(_this._stylesheet0$_mediaQueryList$0()));
  120051. },
  120052. _stylesheet0$_mixinRule$1(start) {
  120053. var precedingComment, t1, t2, $name, parameters, t3, _this = this;
  120054. _this.whitespace$1$consumeNewlines(true);
  120055. precedingComment = _this.lastSilentComment;
  120056. _this.lastSilentComment = null;
  120057. t1 = _this.scanner;
  120058. t2 = t1._string_scanner$_position;
  120059. $name = _this.identifier$0();
  120060. if (B.JSString_methods.startsWith$1($name, "--"))
  120061. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_d4j, string$.Sassx20_m, t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  120062. _this.whitespace$1$consumeNewlines(false);
  120063. if (t1.peekChar$0() === 40)
  120064. parameters = _this._stylesheet0$_parameterList$0();
  120065. else {
  120066. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120067. t3 = t2.offset;
  120068. parameters = new A.ParameterList0(B.List_empty24, null, A._FileSpan$(t2.file, t3, t3));
  120069. }
  120070. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  120071. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  120072. else if (_this._stylesheet0$_inControlDirective)
  120073. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  120074. _this.whitespace$1$consumeNewlines(false);
  120075. _this._stylesheet0$_inMixin = true;
  120076. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, parameters, precedingComment));
  120077. },
  120078. mozDocumentRule$2(start, $name) {
  120079. var t1, t2, t3, t4, t5, buffer, _0_0, t6, identifier, _1_0, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {};
  120080. _this.whitespace$1$consumeNewlines(false);
  120081. t1 = _this.scanner;
  120082. t2 = t1._string_scanner$_position;
  120083. t3 = new A.StringBuffer("");
  120084. t4 = A._setArrayType([], type$.JSArray_Object);
  120085. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  120086. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  120087. _box_0.needsDeprecationWarning = false;
  120088. for (; true;) {
  120089. if (t1.peekChar$0() === 35) {
  120090. _0_0 = _this.singleInterpolation$0();
  120091. buffer._interpolation_buffer0$_flushText$0();
  120092. t4.push(_0_0._0);
  120093. t5.push(_0_0._1);
  120094. _box_0.needsDeprecationWarning = true;
  120095. } else {
  120096. t6 = t1._string_scanner$_position;
  120097. identifier = _this.identifier$0();
  120098. $label0$0: {
  120099. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  120100. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  120101. if (_1_0 != null)
  120102. buffer.addInterpolation$1(_1_0);
  120103. else {
  120104. t1.expectChar$1(40);
  120105. _this.whitespace$1$consumeNewlines(false);
  120106. argument = _this.interpolatedString$0();
  120107. t1.expectChar$1(41);
  120108. t3._contents += identifier;
  120109. t6 = A.Primitives_stringFromCharCode(40);
  120110. t3._contents += t6;
  120111. buffer.addInterpolation$1(argument.asInterpolation$0());
  120112. t6 = A.Primitives_stringFromCharCode(41);
  120113. t3._contents += t6;
  120114. }
  120115. t6 = t3._contents;
  120116. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  120117. 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("")'))
  120118. _box_0.needsDeprecationWarning = true;
  120119. break $label0$0;
  120120. }
  120121. if ("regexp" === identifier) {
  120122. t3._contents += "regexp(";
  120123. t1.expectChar$1(40);
  120124. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  120125. t1.expectChar$1(41);
  120126. t6 = A.Primitives_stringFromCharCode(41);
  120127. t3._contents += t6;
  120128. _box_0.needsDeprecationWarning = true;
  120129. break $label0$0;
  120130. }
  120131. endPosition = t1._string_scanner$_position;
  120132. t7 = t1._sourceFile;
  120133. t8 = new A._FileSpan(t7, t6, endPosition);
  120134. t8._FileSpan$3(t7, t6, endPosition);
  120135. _this.error$2(0, "Invalid function name.", t8);
  120136. }
  120137. }
  120138. _this.whitespace$1$consumeNewlines(false);
  120139. if (!t1.scanChar$1(44))
  120140. break;
  120141. t6 = A.Primitives_stringFromCharCode(44);
  120142. t3._contents += t6;
  120143. start0 = t1._string_scanner$_position;
  120144. new A.StylesheetParser_mozDocumentRule_closure1(_this).call$0();
  120145. end = t1._string_scanner$_position;
  120146. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  120147. }
  120148. 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)))));
  120149. },
  120150. supportsRule$1(start) {
  120151. var condition, _this = this;
  120152. _this.whitespace$1$consumeNewlines(false);
  120153. condition = _this._stylesheet0$_supportsCondition$0();
  120154. _this.whitespace$1$consumeNewlines(false);
  120155. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
  120156. },
  120157. _stylesheet0$_useNamespace$2(url, start) {
  120158. var namespace, basename, dot, t1, exception, _this = this;
  120159. if (_this.scanIdentifier$1("as")) {
  120160. _this.whitespace$1$consumeNewlines(true);
  120161. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  120162. }
  120163. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  120164. dot = B.JSString_methods.indexOf$1(basename, ".");
  120165. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  120166. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  120167. try {
  120168. t1 = new A.Parser1(A.SpanScanner$(namespace, null), null)._parser1$_parseIdentifier$0();
  120169. return t1;
  120170. } catch (exception) {
  120171. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  120172. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  120173. else
  120174. throw exception;
  120175. }
  120176. },
  120177. _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
  120178. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  120179. if (!_this.scanIdentifier$1("with"))
  120180. return null;
  120181. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  120182. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
  120183. _this.whitespace$1$consumeNewlines(true);
  120184. t1 = _this.scanner;
  120185. t1.expectChar$1(40);
  120186. for (; true;) {
  120187. _this.whitespace$1$consumeNewlines(true);
  120188. t2 = t1._string_scanner$_position;
  120189. t1.expectChar$1(36);
  120190. $name = _this.identifier$1$normalize(true);
  120191. _this.whitespace$1$consumeNewlines(true);
  120192. t1.expectChar$1(58);
  120193. _this.whitespace$1$consumeNewlines(true);
  120194. expression = _this.expressionUntilComma$0();
  120195. t3 = t1._string_scanner$_position;
  120196. if (allowGuarded && t1.scanChar$1(33)) {
  120197. guarded = _this.identifier$0() === "default";
  120198. if (guarded)
  120199. _this.whitespace$1$consumeNewlines(true);
  120200. else {
  120201. endPosition = t1._string_scanner$_position;
  120202. t4 = t1._sourceFile;
  120203. t5 = new A._FileSpan(t4, t3, endPosition);
  120204. t5._FileSpan$3(t4, t3, endPosition);
  120205. _this.error$2(0, "Invalid flag name.", t5);
  120206. }
  120207. } else
  120208. guarded = false;
  120209. endPosition = t1._string_scanner$_position;
  120210. t3 = t1._sourceFile;
  120211. span = new A._FileSpan(t3, t2, endPosition);
  120212. span._FileSpan$3(t3, t2, endPosition);
  120213. if (variableNames.contains$1(0, $name))
  120214. _this.error$2(0, string$.The_sa, span);
  120215. variableNames.add$1(0, $name);
  120216. configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
  120217. if (!t1.scanChar$1(44))
  120218. break;
  120219. _this.whitespace$1$consumeNewlines(true);
  120220. if (!_this._stylesheet0$_lookingAtExpression$0())
  120221. break;
  120222. }
  120223. t1.expectChar$1(41);
  120224. return configuration;
  120225. },
  120226. _stylesheet0$_configuration$0() {
  120227. return this._stylesheet0$_configuration$1$allowGuarded(false);
  120228. },
  120229. _stylesheet0$_warnRule$1(start) {
  120230. var value, t1, t2, _this = this;
  120231. _this.whitespace$1$consumeNewlines(true);
  120232. value = _this._stylesheet0$_expression$0();
  120233. t1 = _this.scanner;
  120234. t2 = t1._string_scanner$_position;
  120235. _this.expectStatementSeparator$1("@warn rule");
  120236. return new A.WarnRule0(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  120237. },
  120238. _stylesheet0$_whileRule$2(start, child) {
  120239. var wasInControlDirective, _this = this;
  120240. _this.whitespace$1$consumeNewlines(true);
  120241. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  120242. _this._stylesheet0$_inControlDirective = true;
  120243. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this._stylesheet0$_expression$0()));
  120244. },
  120245. unknownAtRule$2(start, $name) {
  120246. var t2, t3, rule, _this = this, t1 = {},
  120247. wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
  120248. _this._stylesheet0$_inUnknownAtRule = true;
  120249. _this.whitespace$1$consumeNewlines(false);
  120250. t1.value = null;
  120251. t2 = _this.scanner;
  120252. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this._stylesheet0$_interpolatedDeclarationValue$1$allowOpenBrace(false) : null;
  120253. if (_this.lookingAtChildren$0())
  120254. rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
  120255. else {
  120256. _this.expectStatementSeparator$0();
  120257. rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
  120258. }
  120259. _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
  120260. return rule;
  120261. },
  120262. _stylesheet0$_disallowedAtRule$1(start) {
  120263. var _this = this;
  120264. _this.whitespace$1$consumeNewlines(false);
  120265. _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(true, false);
  120266. _this.error$2(0, "This at-rule is not allowed here.", _this.scanner.spanFrom$1(start));
  120267. },
  120268. _stylesheet0$_parameterList$0() {
  120269. var parameters, named, restParameter, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  120270. t1 = _this.scanner,
  120271. t2 = t1._string_scanner$_position;
  120272. t1.expectChar$1(40);
  120273. _this.whitespace$1$consumeNewlines(true);
  120274. parameters = A._setArrayType([], type$.JSArray_Parameter_2);
  120275. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  120276. for (; restParameter = null, t1.peekChar$0() === 36;) {
  120277. t3 = t1._string_scanner$_position;
  120278. t1.expectChar$1(36);
  120279. $name = _this.identifier$1$normalize(true);
  120280. _this.whitespace$1$consumeNewlines(true);
  120281. if (t1.scanChar$1(58)) {
  120282. _this.whitespace$1$consumeNewlines(true);
  120283. defaultValue = _this.expressionUntilComma$0();
  120284. } else {
  120285. if (t1.scanChar$1(46)) {
  120286. t1.expectChar$1(46);
  120287. t1.expectChar$1(46);
  120288. _this.whitespace$1$consumeNewlines(true);
  120289. if (t1.scanChar$1(44))
  120290. _this.whitespace$1$consumeNewlines(true);
  120291. restParameter = $name;
  120292. break;
  120293. }
  120294. defaultValue = null;
  120295. }
  120296. endPosition = t1._string_scanner$_position;
  120297. t4 = t1._sourceFile;
  120298. t5 = new A._FileSpan(t4, t3, endPosition);
  120299. t5._FileSpan$3(t4, t3, endPosition);
  120300. parameters.push(new A.Parameter0($name, defaultValue, t5));
  120301. if (!named.add$1(0, $name))
  120302. _this.error$2(0, "Duplicate parameter.", B.JSArray_methods.get$last(parameters).span);
  120303. if (!t1.scanChar$1(44))
  120304. break;
  120305. _this.whitespace$1$consumeNewlines(true);
  120306. }
  120307. t1.expectChar$1(41);
  120308. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  120309. return new A.ParameterList0(A.List_List$unmodifiable(parameters, type$.Parameter_2), restParameter, t1);
  120310. },
  120311. _stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  120312. var positional, t3, t4, named, t5, rest, keywordRest, expression, t6, t7, result, _this = this,
  120313. t1 = _this.scanner,
  120314. t2 = t1._string_scanner$_position;
  120315. t1.expectChar$1(40);
  120316. _this.whitespace$1$consumeNewlines(true);
  120317. positional = A._setArrayType([], type$.JSArray_Expression_2);
  120318. t3 = type$.String;
  120319. t4 = type$.Expression_2;
  120320. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  120321. for (t5 = !mixin, rest = null; keywordRest = null, _this._stylesheet0$_lookingAtExpression$0();) {
  120322. expression = _this.expressionUntilComma$1$singleEquals(t5);
  120323. _this.whitespace$1$consumeNewlines(true);
  120324. if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
  120325. _this.whitespace$1$consumeNewlines(true);
  120326. t6 = expression.name;
  120327. if (named.containsKey$1(t6))
  120328. _this.error$2(0, "Duplicate argument.", expression.span);
  120329. named.$indexSet(0, t6, _this.expressionUntilComma$1$singleEquals(t5));
  120330. } else if (t1.scanChar$1(46)) {
  120331. t1.expectChar$1(46);
  120332. t1.expectChar$1(46);
  120333. if (rest != null) {
  120334. _this.whitespace$1$consumeNewlines(true);
  120335. if (t1.scanChar$1(44))
  120336. _this.whitespace$1$consumeNewlines(true);
  120337. keywordRest = expression;
  120338. break;
  120339. }
  120340. rest = expression;
  120341. } else if (named.__js_helper$_length !== 0)
  120342. _this.error$2(0, string$.Positi, expression.get$span(expression));
  120343. else
  120344. positional.push(expression);
  120345. _this.whitespace$1$consumeNewlines(true);
  120346. if (!t1.scanChar$1(44))
  120347. break;
  120348. _this.whitespace$1$consumeNewlines(true);
  120349. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  120350. t5 = t1._sourceFile;
  120351. t6 = t1._string_scanner$_position;
  120352. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  120353. t7 = new A._FileSpan(t5, t6, t6);
  120354. t7._FileSpan$3(t5, t6, t6);
  120355. result = A.List_List$from([""], false, type$.Object);
  120356. result.$flags = 3;
  120357. positional.push(new A.StringExpression0(new A.Interpolation0(result, B.List_null, t7), false));
  120358. break;
  120359. }
  120360. }
  120361. t1.expectChar$1(41);
  120362. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  120363. return new A.ArgumentList0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  120364. },
  120365. _stylesheet0$_argumentInvocation$0() {
  120366. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  120367. },
  120368. _stylesheet0$_argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  120369. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  120370. },
  120371. _stylesheet0$_argumentInvocation$1$mixin(mixin) {
  120372. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  120373. },
  120374. _stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, consumeNewlines, singleEquals, until) {
  120375. 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,
  120376. _s20_ = "Expected expression.",
  120377. _box_0 = {},
  120378. t1 = until != null;
  120379. if (t1 && until.call$0())
  120380. _this.scanner.error$1(0, _s20_);
  120381. if (bracketList) {
  120382. t2 = _this.scanner;
  120383. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  120384. t2.expectChar$1(91);
  120385. _this.whitespace$1$consumeNewlines(true);
  120386. if (t2.scanChar$1(93)) {
  120387. t1 = A._setArrayType([], type$.JSArray_Expression_2);
  120388. t2 = t2.spanFrom$1(beforeBracket);
  120389. return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  120390. }
  120391. } else
  120392. beforeBracket = null;
  120393. t2 = _this.scanner;
  120394. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  120395. wasInExpression = _this._stylesheet0$_inExpression;
  120396. wasInParentheses = _this._stylesheet0$_inParentheses;
  120397. _this._stylesheet0$_inExpression = true;
  120398. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  120399. _box_0.allowSlash = true;
  120400. _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
  120401. resetState = new A.StylesheetParser__expression_resetState0(_box_0, _this, start);
  120402. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation0(_box_0, _this);
  120403. resolveOperations = new A.StylesheetParser__expression_resolveOperations0(_box_0, resolveOneOperation);
  120404. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
  120405. addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation);
  120406. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
  120407. for (t3 = !consumeNewlines, t4 = type$.JSArray_Expression_2; true;) {
  120408. _this.whitespace$1$consumeNewlines(!t3 || bracketList);
  120409. if (t1 && until.call$0())
  120410. break;
  120411. _3_0 = t2.peekChar$0();
  120412. if (_3_0 == null)
  120413. break;
  120414. if (40 === _3_0) {
  120415. addSingleExpression.call$1(_this.parentheses$0());
  120416. continue;
  120417. }
  120418. if (91 === _3_0) {
  120419. addSingleExpression.call$1(_this._stylesheet0$_expression$1$bracketList(true));
  120420. continue;
  120421. }
  120422. if (36 === _3_0) {
  120423. addSingleExpression.call$1(_this._stylesheet0$_variable$0());
  120424. continue;
  120425. }
  120426. if (38 === _3_0) {
  120427. addSingleExpression.call$1(_this._stylesheet0$_selector$0());
  120428. continue;
  120429. }
  120430. if (39 === _3_0 || 34 === _3_0) {
  120431. addSingleExpression.call$1(_this.interpolatedString$0());
  120432. continue;
  120433. }
  120434. if (35 === _3_0) {
  120435. addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
  120436. continue;
  120437. }
  120438. if (61 === _3_0) {
  120439. t2.readChar$0();
  120440. if (singleEquals && t2.peekChar$0() !== 61)
  120441. addOperator.call$1(B.BinaryOperator_Kyq0);
  120442. else {
  120443. t2.expectChar$1(61);
  120444. addOperator.call$1(B.BinaryOperator_r840);
  120445. }
  120446. continue;
  120447. }
  120448. if (33 === _3_0) {
  120449. $label0$1: {
  120450. _1_0 = t2.peekChar$1(1);
  120451. if (61 === _1_0) {
  120452. t2.readChar$0();
  120453. t2.readChar$0();
  120454. addOperator.call$1(B.BinaryOperator_qGq0);
  120455. break $label0$1;
  120456. }
  120457. t5 = true;
  120458. if (_1_0 != null)
  120459. if (105 !== _1_0)
  120460. if (73 !== _1_0)
  120461. t5 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  120462. if (t5) {
  120463. addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
  120464. break $label0$1;
  120465. }
  120466. break;
  120467. }
  120468. continue;
  120469. }
  120470. if (60 === _3_0) {
  120471. t2.readChar$0();
  120472. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_FPG0 : B.BinaryOperator_qHy0);
  120473. continue;
  120474. }
  120475. if (62 === _3_0) {
  120476. t2.readChar$0();
  120477. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_JiR0 : B.BinaryOperator_o8O0);
  120478. continue;
  120479. }
  120480. if (42 === _3_0) {
  120481. t2.readChar$0();
  120482. addOperator.call$1(B.BinaryOperator_tht0);
  120483. continue;
  120484. }
  120485. _3_28 = 43 === _3_0;
  120486. if (_3_28 && _box_0.singleExpression_ == null) {
  120487. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  120488. continue;
  120489. }
  120490. if (_3_28) {
  120491. t2.readChar$0();
  120492. addOperator.call$1(B.BinaryOperator_Swh0);
  120493. continue;
  120494. }
  120495. if (45 === _3_0) {
  120496. _2_0 = t2.peekChar$1(1);
  120497. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  120498. if (_box_0.singleExpression_ != null) {
  120499. t5 = t2.peekChar$1(-1);
  120500. t5 = t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12;
  120501. } else
  120502. t5 = true;
  120503. else
  120504. t5 = false;
  120505. if (t5)
  120506. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  120507. else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  120508. addSingleExpression.call$1(_this.identifierLike$0());
  120509. else if (_box_0.singleExpression_ == null)
  120510. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  120511. else {
  120512. t2.readChar$0();
  120513. addOperator.call$1(B.BinaryOperator_QG10);
  120514. }
  120515. continue;
  120516. }
  120517. _3_32 = 47 === _3_0;
  120518. if (_3_32 && _box_0.singleExpression_ == null) {
  120519. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  120520. continue;
  120521. }
  120522. if (_3_32) {
  120523. t2.readChar$0();
  120524. addOperator.call$1(B.BinaryOperator_Mh50);
  120525. continue;
  120526. }
  120527. if (37 === _3_0) {
  120528. t2.readChar$0();
  120529. addOperator.call$1(B.BinaryOperator_s7T0);
  120530. continue;
  120531. }
  120532. if (_3_0 >= 48 && _3_0 <= 57) {
  120533. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  120534. continue;
  120535. }
  120536. _3_40 = 46 === _3_0;
  120537. if (_3_40 && t2.peekChar$1(1) === 46)
  120538. break;
  120539. if (_3_40) {
  120540. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  120541. continue;
  120542. }
  120543. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  120544. addOperator.call$1(B.BinaryOperator_uke0);
  120545. continue;
  120546. }
  120547. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  120548. addOperator.call$1(B.BinaryOperator_tKu0);
  120549. continue;
  120550. }
  120551. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  120552. addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
  120553. continue;
  120554. }
  120555. if (!(_3_0 >= 97 && _3_0 <= 122))
  120556. t5 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  120557. else
  120558. t5 = true;
  120559. if (t5) {
  120560. addSingleExpression.call$1(_this.identifierLike$0());
  120561. continue;
  120562. }
  120563. if (44 === _3_0) {
  120564. if (_this._stylesheet0$_inParentheses) {
  120565. _this._stylesheet0$_inParentheses = false;
  120566. if (_box_0.allowSlash) {
  120567. resetState.call$0();
  120568. continue;
  120569. }
  120570. }
  120571. commaExpressions = _box_0.commaExpressions_;
  120572. if (commaExpressions == null)
  120573. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t4);
  120574. if (_box_0.singleExpression_ == null)
  120575. t2.error$1(0, _s20_);
  120576. resolveSpaceExpressions.call$0();
  120577. t5 = _box_0.singleExpression_;
  120578. t5.toString;
  120579. commaExpressions.push(t5);
  120580. t2.readChar$0();
  120581. _box_0.allowSlash = true;
  120582. _box_0.singleExpression_ = null;
  120583. continue;
  120584. }
  120585. break;
  120586. }
  120587. if (bracketList)
  120588. t2.expectChar$1(93);
  120589. commaExpressions = _box_0.commaExpressions_;
  120590. spaceExpressions = _box_0.spaceExpressions_;
  120591. if (commaExpressions != null) {
  120592. resolveSpaceExpressions.call$0();
  120593. _this._stylesheet0$_inParentheses = wasInParentheses;
  120594. singleExpression = _box_0.singleExpression_;
  120595. if (singleExpression != null)
  120596. commaExpressions.push(singleExpression);
  120597. _this._stylesheet0$_inExpression = wasInExpression;
  120598. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  120599. return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_qVN0, bracketList, t1);
  120600. } else if (bracketList && spaceExpressions != null) {
  120601. resolveOperations.call$0();
  120602. _this._stylesheet0$_inExpression = wasInExpression;
  120603. t1 = _box_0.singleExpression_;
  120604. t1.toString;
  120605. spaceExpressions.push(t1);
  120606. beforeBracket.toString;
  120607. t2 = t2.spanFrom$1(beforeBracket);
  120608. return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_qSL0, true, t2);
  120609. } else {
  120610. resolveSpaceExpressions.call$0();
  120611. if (bracketList) {
  120612. t1 = _box_0.singleExpression_;
  120613. t1.toString;
  120614. t4 = A._setArrayType([t1], t4);
  120615. beforeBracket.toString;
  120616. t2 = t2.spanFrom$1(beforeBracket);
  120617. _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t4, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  120618. }
  120619. _this._stylesheet0$_inExpression = wasInExpression;
  120620. t1 = _box_0.singleExpression_;
  120621. t1.toString;
  120622. return t1;
  120623. }
  120624. },
  120625. _stylesheet0$_expression$3$consumeNewlines$singleEquals$until(consumeNewlines, singleEquals, until) {
  120626. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, singleEquals, until);
  120627. },
  120628. _stylesheet0$_expression$1$bracketList(bracketList) {
  120629. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, false, false, null);
  120630. },
  120631. _stylesheet0$_expression$1$consumeNewlines(consumeNewlines) {
  120632. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, null);
  120633. },
  120634. _stylesheet0$_expression$0() {
  120635. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, false, false, null);
  120636. },
  120637. _stylesheet0$_expression$2$consumeNewlines$until(consumeNewlines, until) {
  120638. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, until);
  120639. },
  120640. expressionUntilComma$1$singleEquals(singleEquals) {
  120641. return this._stylesheet0$_expression$3$consumeNewlines$singleEquals$until(true, singleEquals, new A.StylesheetParser_expressionUntilComma_closure0(this));
  120642. },
  120643. expressionUntilComma$0() {
  120644. return this.expressionUntilComma$1$singleEquals(false);
  120645. },
  120646. _stylesheet0$_isSlashOperand$1(expression) {
  120647. var t1 = true;
  120648. if (!(expression instanceof A.NumberExpression0))
  120649. if (!(expression instanceof A.FunctionExpression0))
  120650. t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
  120651. return t1;
  120652. },
  120653. _stylesheet0$_singleExpression$0() {
  120654. var next, t2, _this = this,
  120655. _s20_ = "Expected expression.",
  120656. t1 = _this.scanner,
  120657. _0_0 = t1.peekChar$0();
  120658. $label0$0: {
  120659. if (_0_0 == null)
  120660. t1.error$1(0, _s20_);
  120661. if (40 === _0_0) {
  120662. t1 = _this.parentheses$0();
  120663. break $label0$0;
  120664. }
  120665. if (47 === _0_0) {
  120666. t1 = _this._stylesheet0$_unaryOperation$0();
  120667. break $label0$0;
  120668. }
  120669. if (46 === _0_0) {
  120670. t1 = _this._stylesheet0$_number$0();
  120671. break $label0$0;
  120672. }
  120673. if (91 === _0_0) {
  120674. t1 = _this._stylesheet0$_expression$1$bracketList(true);
  120675. break $label0$0;
  120676. }
  120677. if (36 === _0_0) {
  120678. t1 = _this._stylesheet0$_variable$0();
  120679. break $label0$0;
  120680. }
  120681. if (38 === _0_0) {
  120682. t1 = _this._stylesheet0$_selector$0();
  120683. break $label0$0;
  120684. }
  120685. if (39 === _0_0 || 34 === _0_0) {
  120686. t1 = _this.interpolatedString$0();
  120687. break $label0$0;
  120688. }
  120689. if (35 === _0_0) {
  120690. t1 = _this._stylesheet0$_hashExpression$0();
  120691. break $label0$0;
  120692. }
  120693. if (43 === _0_0) {
  120694. next = t1.peekChar$1(1);
  120695. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
  120696. break $label0$0;
  120697. }
  120698. if (45 === _0_0) {
  120699. t1 = _this._stylesheet0$_minusExpression$0();
  120700. break $label0$0;
  120701. }
  120702. if (33 === _0_0) {
  120703. t1 = _this._stylesheet0$_importantExpression$0();
  120704. break $label0$0;
  120705. }
  120706. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  120707. t1 = _this._stylesheet0$_unicodeRange$0();
  120708. break $label0$0;
  120709. }
  120710. if (_0_0 >= 48 && _0_0 <= 57) {
  120711. t1 = _this._stylesheet0$_number$0();
  120712. break $label0$0;
  120713. }
  120714. if (!(_0_0 >= 97 && _0_0 <= 122))
  120715. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  120716. else
  120717. t2 = true;
  120718. if (t2) {
  120719. t1 = _this.identifierLike$0();
  120720. break $label0$0;
  120721. }
  120722. t1 = t1.error$1(0, _s20_);
  120723. }
  120724. return t1;
  120725. },
  120726. parentheses$0() {
  120727. var start, first, expressions, t1, t2, _this = this,
  120728. wasInParentheses = _this._stylesheet0$_inParentheses;
  120729. _this._stylesheet0$_inParentheses = true;
  120730. try {
  120731. t1 = _this.scanner;
  120732. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120733. t1.expectChar$1(40);
  120734. _this.whitespace$1$consumeNewlines(true);
  120735. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  120736. t1.expectChar$1(41);
  120737. t2 = A._setArrayType([], type$.JSArray_Expression_2);
  120738. t1 = t1.spanFrom$1(start);
  120739. t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
  120740. return new A.ListExpression0(t2, B.ListSeparator_undecided_null_undecided0, false, t1);
  120741. }
  120742. first = _this.expressionUntilComma$0();
  120743. if (t1.scanChar$1(58)) {
  120744. _this.whitespace$1$consumeNewlines(true);
  120745. t1 = _this._stylesheet0$_map$2(first, start);
  120746. return t1;
  120747. }
  120748. if (!t1.scanChar$1(44)) {
  120749. t1.expectChar$1(41);
  120750. t1 = t1.spanFrom$1(start);
  120751. return new A.ParenthesizedExpression0(first, t1);
  120752. }
  120753. _this.whitespace$1$consumeNewlines(true);
  120754. expressions = A._setArrayType([first], type$.JSArray_Expression_2);
  120755. for (; true;) {
  120756. if (!_this._stylesheet0$_lookingAtExpression$0())
  120757. break;
  120758. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  120759. if (!t1.scanChar$1(44))
  120760. break;
  120761. _this.whitespace$1$consumeNewlines(true);
  120762. }
  120763. t1.expectChar$1(41);
  120764. t1 = t1.spanFrom$1(start);
  120765. t2 = A.List_List$unmodifiable(expressions, type$.Expression_2);
  120766. return new A.ListExpression0(t2, B.ListSeparator_qVN0, false, t1);
  120767. } finally {
  120768. _this._stylesheet0$_inParentheses = wasInParentheses;
  120769. }
  120770. },
  120771. _stylesheet0$_map$2(first, start) {
  120772. var t1, key, _this = this,
  120773. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression_2);
  120774. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  120775. _this.whitespace$1$consumeNewlines(true);
  120776. if (!_this._stylesheet0$_lookingAtExpression$0())
  120777. break;
  120778. key = _this.expressionUntilComma$0();
  120779. t1.expectChar$1(58);
  120780. _this.whitespace$1$consumeNewlines(true);
  120781. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  120782. }
  120783. t1.expectChar$1(41);
  120784. t1 = t1.spanFrom$1(start);
  120785. return new A.MapExpression0(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression_2), t1);
  120786. },
  120787. _stylesheet0$_hashExpression$0() {
  120788. var start, t2, identifier, buffer, t3, _this = this,
  120789. t1 = _this.scanner;
  120790. if (t1.peekChar$1(1) === 123)
  120791. return _this.identifierLike$0();
  120792. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120793. t1.expectChar$1(35);
  120794. t2 = t1.peekChar$0();
  120795. if (t2 == null)
  120796. t2 = null;
  120797. else
  120798. t2 = t2 >= 48 && t2 <= 57;
  120799. if (t2 === true)
  120800. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  120801. t2 = t1._string_scanner$_position;
  120802. identifier = _this.interpolatedIdentifier$0();
  120803. if (_this._stylesheet0$_isHexColor$1(identifier)) {
  120804. t1.set$state(new A._SpanScannerState(t1, t2));
  120805. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  120806. }
  120807. t2 = new A.StringBuffer("");
  120808. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  120809. t3 = A.Primitives_stringFromCharCode(35);
  120810. t2._contents += t3;
  120811. buffer.addInterpolation$1(identifier);
  120812. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  120813. },
  120814. _stylesheet0$_hexColorContents$1(start) {
  120815. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  120816. digit1 = _this._stylesheet0$_hexDigit$0(),
  120817. digit2 = _this._stylesheet0$_hexDigit$0(),
  120818. digit3 = _this._stylesheet0$_hexDigit$0(),
  120819. t1 = _this.scanner,
  120820. $self = t1.peekChar$0();
  120821. if (!($self != null && A.CharacterExtension_get_isHex0($self))) {
  120822. red = (digit1 << 4 >>> 0) + digit1;
  120823. green = (digit2 << 4 >>> 0) + digit2;
  120824. blue = (digit3 << 4 >>> 0) + digit3;
  120825. alpha = null;
  120826. } else {
  120827. digit4 = _this._stylesheet0$_hexDigit$0();
  120828. $self = t1.peekChar$0();
  120829. t2 = $self != null && A.CharacterExtension_get_isHex0($self);
  120830. t3 = digit1 << 4 >>> 0;
  120831. t4 = digit3 << 4 >>> 0;
  120832. if (!t2) {
  120833. red = t3 + digit1;
  120834. green = (digit2 << 4 >>> 0) + digit2;
  120835. blue = t4 + digit3;
  120836. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  120837. } else {
  120838. red = t3 + digit2;
  120839. green = t4 + digit4;
  120840. blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
  120841. $self = t1.peekChar$0();
  120842. alpha = $self != null && A.CharacterExtension_get_isHex0($self) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
  120843. }
  120844. }
  120845. t2 = alpha == null;
  120846. t3 = t2 ? 1 : alpha;
  120847. return A.SassColor_SassColor$rgbInternal0(red, green, blue, t3, t2 ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
  120848. },
  120849. _stylesheet0$_isHexColor$1(interpolation) {
  120850. var _0_2, t1,
  120851. plain = interpolation.get$asPlain();
  120852. if (typeof plain == "string") {
  120853. _0_2 = plain.length;
  120854. t1 = true;
  120855. if (3 !== _0_2)
  120856. if (4 !== _0_2)
  120857. if (6 !== _0_2)
  120858. t1 = 8 === _0_2;
  120859. } else
  120860. t1 = false;
  120861. if (t1) {
  120862. t1 = new A.CodeUnits(plain);
  120863. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure0());
  120864. } else
  120865. return false;
  120866. },
  120867. _stylesheet0$_hexDigit$0() {
  120868. var t1 = this.scanner,
  120869. t2 = t1.peekChar$0();
  120870. t2 = t2 == null ? null : A.CharacterExtension_get_isHex0(t2);
  120871. return t2 === true ? A.asHex0(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  120872. },
  120873. _stylesheet0$_minusExpression$0() {
  120874. var _this = this,
  120875. _0_0 = _this.scanner.peekChar$1(1);
  120876. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  120877. return _this._stylesheet0$_number$0();
  120878. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  120879. return _this.identifierLike$0();
  120880. return _this._stylesheet0$_unaryOperation$0();
  120881. },
  120882. _stylesheet0$_importantExpression$0() {
  120883. var t1 = this.scanner,
  120884. t2 = t1._string_scanner$_position;
  120885. t1.readChar$0();
  120886. this.whitespace$1$consumeNewlines(true);
  120887. this.expectIdentifier$1("important");
  120888. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  120889. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["!important"], type$.Object), B.List_null, t2), false);
  120890. },
  120891. _stylesheet0$_unaryOperation$0() {
  120892. var _this = this,
  120893. t1 = _this.scanner,
  120894. t2 = t1._string_scanner$_position,
  120895. operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
  120896. if (operator == null)
  120897. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  120898. else if (_this.get$plainCss() && operator !== B.UnaryOperator_lZV0)
  120899. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  120900. _this.whitespace$1$consumeNewlines(true);
  120901. return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  120902. },
  120903. _stylesheet0$_unaryOperatorFor$1(character) {
  120904. var t1;
  120905. $label0$0: {
  120906. if (43 === character) {
  120907. t1 = B.UnaryOperator_Rbl0;
  120908. break $label0$0;
  120909. }
  120910. if (45 === character) {
  120911. t1 = B.UnaryOperator_UCP0;
  120912. break $label0$0;
  120913. }
  120914. if (47 === character) {
  120915. t1 = B.UnaryOperator_lZV0;
  120916. break $label0$0;
  120917. }
  120918. t1 = null;
  120919. break $label0$0;
  120920. }
  120921. return t1;
  120922. },
  120923. _stylesheet0$_number$0() {
  120924. var number, unit, _this = this,
  120925. t1 = _this.scanner,
  120926. t2 = t1._string_scanner$_position,
  120927. first = t1.peekChar$0(),
  120928. t3 = first !== 43;
  120929. if (!t3 || first === 45)
  120930. t1.readChar$0();
  120931. if (t1.peekChar$0() !== 46)
  120932. _this._stylesheet0$_consumeNaturalNumber$0();
  120933. _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  120934. _this._stylesheet0$_tryExponent$0();
  120935. number = A.double_parse(t1.substring$1(0, t2));
  120936. if (t1.scanChar$1(37))
  120937. unit = "%";
  120938. else {
  120939. if (_this.lookingAtIdentifier$0())
  120940. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  120941. else
  120942. t3 = false;
  120943. unit = t3 ? _this.identifier$1$unit(true) : null;
  120944. }
  120945. return new A.NumberExpression0(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  120946. },
  120947. _stylesheet0$_consumeNaturalNumber$0() {
  120948. var $self,
  120949. t1 = this.scanner,
  120950. t2 = t1.readChar$0();
  120951. if (!(t2 >= 48 && t2 <= 57))
  120952. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  120953. while (true) {
  120954. $self = t1.peekChar$0();
  120955. if (!($self != null && $self >= 48 && $self <= 57))
  120956. break;
  120957. t1.readChar$0();
  120958. }
  120959. },
  120960. _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  120961. var $self,
  120962. t1 = this.scanner;
  120963. if (t1.peekChar$0() !== 46)
  120964. return;
  120965. $self = t1.peekChar$1(1);
  120966. if (!($self != null && $self >= 48 && $self <= 57)) {
  120967. if (allowTrailingDot)
  120968. return;
  120969. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  120970. }
  120971. t1.readChar$0();
  120972. while (true) {
  120973. $self = t1.peekChar$0();
  120974. if (!($self != null && $self >= 48 && $self <= 57))
  120975. break;
  120976. t1.readChar$0();
  120977. }
  120978. },
  120979. _stylesheet0$_tryExponent$0() {
  120980. var next, $self,
  120981. t1 = this.scanner,
  120982. first = t1.peekChar$0();
  120983. if (first !== 101 && first !== 69)
  120984. return;
  120985. next = t1.peekChar$1(1);
  120986. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  120987. return;
  120988. t1.readChar$0();
  120989. if (43 === next || 45 === next)
  120990. t1.readChar$0();
  120991. $self = t1.peekChar$0();
  120992. if (!($self != null && $self >= 48 && $self <= 57))
  120993. t1.error$1(0, "Expected digit.");
  120994. while (true) {
  120995. $self = t1.peekChar$0();
  120996. if (!($self != null && $self >= 48 && $self <= 57))
  120997. break;
  120998. t1.readChar$0();
  120999. }
  121000. },
  121001. _stylesheet0$_unicodeRange$0() {
  121002. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  121003. _s26_ = "Expected at most 6 digits.",
  121004. t1 = _this.scanner,
  121005. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121006. _this.expectIdentChar$1(117);
  121007. t1.expectChar$1(43);
  121008. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
  121009. ++firstRangeLength;
  121010. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  121011. ++firstRangeLength;
  121012. if (firstRangeLength === 0)
  121013. t1.error$1(0, 'Expected hex digit or "?".');
  121014. else if (firstRangeLength > 6)
  121015. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  121016. else if (hasQuestionMark) {
  121017. t2 = t1.substring$1(0, start.position);
  121018. t1 = t1.spanFrom$1(start);
  121019. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  121020. }
  121021. if (t1.scanChar$1(45)) {
  121022. t2 = t1._string_scanner$_position;
  121023. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
  121024. ++secondRangeLength;
  121025. if (secondRangeLength === 0)
  121026. t1.error$1(0, "Expected hex digit.");
  121027. else if (secondRangeLength > 6)
  121028. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121029. }
  121030. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  121031. t1.error$1(0, "Expected end of identifier.");
  121032. t2 = t1.substring$1(0, start.position);
  121033. t1 = t1.spanFrom$1(start);
  121034. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  121035. },
  121036. _stylesheet0$_variable$0() {
  121037. var _this = this,
  121038. t1 = _this.scanner,
  121039. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  121040. $name = _this.variableName$0();
  121041. if (_this.get$plainCss())
  121042. _this.error$2(0, string$.Sassx20v, t1.spanFrom$1(start));
  121043. return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
  121044. },
  121045. _stylesheet0$_selector$0() {
  121046. var t1, start, _this = this;
  121047. if (_this.get$plainCss())
  121048. _this.scanner.error$2$length(0, string$.The_pa, 1);
  121049. t1 = _this.scanner;
  121050. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121051. t1.expectChar$1(38);
  121052. if (t1.scanChar$1(38)) {
  121053. _this.warnings.push(new A._Record_3_deprecation_message_span(null, string$.In_Sas, t1.spanFrom$1(start)));
  121054. t1.set$position(t1._string_scanner$_position - 1);
  121055. }
  121056. return new A.SelectorExpression0(t1.spanFrom$1(start));
  121057. },
  121058. interpolatedString$0() {
  121059. var t3, t4, t5, buffer, _1_0, second, t6, _0_0,
  121060. t1 = this.scanner,
  121061. t2 = t1._string_scanner$_position,
  121062. quote = t1.readChar$0();
  121063. if (quote !== 39 && quote !== 34)
  121064. t1.error$2$position(0, "Expected string.", t2);
  121065. t3 = new A.StringBuffer("");
  121066. t4 = A._setArrayType([], type$.JSArray_Object);
  121067. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  121068. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  121069. for (; true;) {
  121070. _1_0 = t1.peekChar$0();
  121071. if (_1_0 === quote) {
  121072. t1.readChar$0();
  121073. break;
  121074. }
  121075. if (_1_0 == null || _1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  121076. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  121077. if (92 === _1_0) {
  121078. second = t1.peekChar$1(1);
  121079. if (second === 10 || second === 13 || second === 12) {
  121080. t1.readChar$0();
  121081. t1.readChar$0();
  121082. if (second === 13)
  121083. t1.scanChar$1(10);
  121084. } else {
  121085. t6 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  121086. t3._contents += t6;
  121087. }
  121088. continue;
  121089. }
  121090. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  121091. _0_0 = this.singleInterpolation$0();
  121092. buffer._interpolation_buffer0$_flushText$0();
  121093. t4.push(_0_0._0);
  121094. t5.push(_0_0._1);
  121095. continue;
  121096. }
  121097. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121098. t3._contents += t6;
  121099. }
  121100. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  121101. },
  121102. identifierLike$0() {
  121103. var invocation, expression, _0_0, t3, t4, t5, _1_0, _2_0, _2_2, _2_4, _this = this,
  121104. t1 = _this.scanner,
  121105. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  121106. identifier = _this.interpolatedIdentifier$0(),
  121107. plain = identifier.get$asPlain(),
  121108. lower = A._Cell$(),
  121109. t2 = plain != null;
  121110. if (t2) {
  121111. if (plain === "if" && t1.peekChar$0() === 40) {
  121112. invocation = _this._stylesheet0$_argumentInvocation$0();
  121113. return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
  121114. } else if (plain === "not") {
  121115. _this.whitespace$1$consumeNewlines(true);
  121116. expression = _this._stylesheet0$_singleExpression$0();
  121117. return new A.UnaryOperationExpression0(B.UnaryOperator_not_not_not0, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  121118. }
  121119. lower.__late_helper$_value = plain.toLowerCase();
  121120. if (t1.peekChar$0() !== 40) {
  121121. switch (plain) {
  121122. case "false":
  121123. return new A.BooleanExpression0(false, identifier.span);
  121124. case "null":
  121125. return new A.NullExpression0(identifier.span);
  121126. case "true":
  121127. return new A.BooleanExpression0(true, identifier.span);
  121128. }
  121129. _0_0 = $.$get$colorsByName0().$index(0, lower._readLocal$0());
  121130. if (_0_0 != null) {
  121131. t1 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  121132. t2 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  121133. t3 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  121134. t4 = _0_0.alphaOrNull;
  121135. if (t4 == null)
  121136. t4 = 0;
  121137. t5 = identifier.span;
  121138. return new A.ColorExpression0(A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4, new A.SpanColorFormat0(t5)), t5);
  121139. }
  121140. }
  121141. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  121142. if (_1_0 != null)
  121143. return _1_0;
  121144. }
  121145. _2_0 = t1.peekChar$0();
  121146. _2_2 = 46 === _2_0;
  121147. if (_2_2 && t1.peekChar$1(1) === 46)
  121148. return new A.StringExpression0(identifier, false);
  121149. if (_2_2) {
  121150. t1.readChar$0();
  121151. if (t2)
  121152. return _this.namespacedExpression$2(plain, start);
  121153. _this.error$2(0, string$.Interpn, identifier.span);
  121154. }
  121155. _2_4 = 40 === _2_0;
  121156. if (_2_4 && t2) {
  121157. t2 = _this._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var"));
  121158. t1 = t1.spanFrom$1(start);
  121159. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, t2, t1);
  121160. }
  121161. if (_2_4)
  121162. return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  121163. return new A.StringExpression0(identifier, false);
  121164. },
  121165. namespacedExpression$2(namespace, start) {
  121166. var $name, t2, t3, _this = this,
  121167. t1 = _this.scanner;
  121168. if (t1.peekChar$0() === 36) {
  121169. $name = _this.variableName$0();
  121170. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
  121171. return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
  121172. }
  121173. t2 = _this._stylesheet0$_publicIdentifier$0();
  121174. t3 = _this._stylesheet0$_argumentInvocation$0();
  121175. t1 = t1.spanFrom$1(start);
  121176. return new A.FunctionExpression0(namespace, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, t3, t1);
  121177. },
  121178. trySpecialFunction$2($name, start) {
  121179. var t1, buffer, t2, next, t3, _this = this,
  121180. normalized = A.unvendor0($name);
  121181. $label0$0: {
  121182. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  121183. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  121184. else
  121185. t1 = true;
  121186. if (t1) {
  121187. t1 = new A.StringBuffer("");
  121188. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121189. t1._contents = "" + $name;
  121190. t2 = A.Primitives_stringFromCharCode(40);
  121191. t1._contents += t2;
  121192. break $label0$0;
  121193. }
  121194. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  121195. t1 = new A.StringBuffer("");
  121196. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121197. t1._contents = "" + $name;
  121198. t2 = A.Primitives_stringFromCharCode(58);
  121199. t1._contents += t2;
  121200. t2 = _this.scanner;
  121201. next = t2.peekChar$0();
  121202. while (true) {
  121203. if (next != null) {
  121204. if (!(next >= 97 && next <= 122))
  121205. t3 = next >= 65 && next <= 90;
  121206. else
  121207. t3 = true;
  121208. t3 = t3 || next === 46;
  121209. } else
  121210. t3 = false;
  121211. if (!t3)
  121212. break;
  121213. t3 = A.Primitives_stringFromCharCode(t2.readChar$0());
  121214. t1._contents += t3;
  121215. next = t2.peekChar$0();
  121216. }
  121217. t2.expectChar$1(40);
  121218. t2 = A.Primitives_stringFromCharCode(40);
  121219. t1._contents += t2;
  121220. break $label0$0;
  121221. }
  121222. if ("url" === normalized)
  121223. return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
  121224. return null;
  121225. }
  121226. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
  121227. t1 = _this.scanner;
  121228. t1.expectChar$1(41);
  121229. t2 = buffer._interpolation_buffer0$_text;
  121230. t3 = A.Primitives_stringFromCharCode(41);
  121231. t2._contents += t3;
  121232. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  121233. },
  121234. _stylesheet0$_tryUrlContents$2$name(start, $name) {
  121235. var t3, t4, t5, buffer, t6, _1_0, _1_6, _0_0, endPosition, _this = this,
  121236. t1 = _this.scanner,
  121237. t2 = t1._string_scanner$_position;
  121238. if (!t1.scanChar$1(40))
  121239. return null;
  121240. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  121241. t3 = new A.StringBuffer("");
  121242. t4 = A._setArrayType([], type$.JSArray_Object);
  121243. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  121244. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  121245. t3._contents = "" + ($name == null ? "url" : $name);
  121246. t6 = A.Primitives_stringFromCharCode(40);
  121247. t3._contents += t6;
  121248. for (; true;) {
  121249. _1_0 = t1.peekChar$0();
  121250. if (_1_0 == null)
  121251. break;
  121252. if (92 === _1_0) {
  121253. t6 = _this.escape$0();
  121254. t3._contents += t6;
  121255. continue;
  121256. }
  121257. _1_6 = 35 === _1_0;
  121258. if (_1_6 && t1.peekChar$1(1) === 123) {
  121259. _0_0 = _this.singleInterpolation$0();
  121260. buffer._interpolation_buffer0$_flushText$0();
  121261. t4.push(_0_0._0);
  121262. t5.push(_0_0._1);
  121263. continue;
  121264. }
  121265. t6 = true;
  121266. if (33 !== _1_0)
  121267. if (37 !== _1_0)
  121268. if (38 !== _1_0)
  121269. if (!_1_6)
  121270. t6 = _1_0 >= 42 && _1_0 <= 126 || _1_0 >= 128;
  121271. if (t6) {
  121272. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121273. t3._contents += t6;
  121274. continue;
  121275. }
  121276. if (_1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  121277. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  121278. if (t1.peekChar$0() !== 41)
  121279. break;
  121280. continue;
  121281. }
  121282. if (41 === _1_0) {
  121283. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121284. t3._contents += t2;
  121285. endPosition = t1._string_scanner$_position;
  121286. t2 = t1._sourceFile;
  121287. t3 = start.position;
  121288. t1 = new A._FileSpan(t2, t3, endPosition);
  121289. t1._FileSpan$3(t2, t3, endPosition);
  121290. return buffer.interpolation$1(t1);
  121291. }
  121292. break;
  121293. }
  121294. t1.set$state(new A._SpanScannerState(t1, t2));
  121295. return null;
  121296. },
  121297. _stylesheet0$_tryUrlContents$1(start) {
  121298. return this._stylesheet0$_tryUrlContents$2$name(start, null);
  121299. },
  121300. dynamicUrl$0() {
  121301. var _0_0, t2, _this = this,
  121302. t1 = _this.scanner,
  121303. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121304. _this.expectIdentifier$1("url");
  121305. _0_0 = _this._stylesheet0$_tryUrlContents$1(start);
  121306. if (_0_0 != null)
  121307. return new A.StringExpression0(_0_0, false);
  121308. t2 = t1.spanFrom$1(start);
  121309. 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));
  121310. },
  121311. almostAnyValue$1$omitComments(omitComments) {
  121312. var t4, t5, t6, t7, _2_0, t8, _0_0, _0_2, start, end, _0_4, identifier, _1_0, bracket, char, _this = this,
  121313. t1 = _this.scanner,
  121314. t2 = t1._string_scanner$_position,
  121315. t3 = new A.StringBuffer(""),
  121316. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  121317. brackets = A._setArrayType([], type$.JSArray_int);
  121318. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments, t7 = _this.get$loudComment(); true;)
  121319. $label0$0: {
  121320. _2_0 = t1.peekChar$0();
  121321. if (92 === _2_0) {
  121322. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121323. t3._contents += t8;
  121324. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121325. t3._contents += t8;
  121326. break $label0$0;
  121327. }
  121328. if (34 === _2_0 || 39 === _2_0) {
  121329. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  121330. break $label0$0;
  121331. }
  121332. if (47 === _2_0) {
  121333. $label1$1: {
  121334. _0_0 = t1.peekChar$1(1);
  121335. _0_2 = 42 === _0_0;
  121336. if (_0_2 && t6) {
  121337. start = t1._string_scanner$_position;
  121338. t7.call$0();
  121339. end = t1._string_scanner$_position;
  121340. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  121341. break $label1$1;
  121342. }
  121343. if (_0_2) {
  121344. _this.loudComment$0();
  121345. break $label1$1;
  121346. }
  121347. _0_4 = 47 === _0_0;
  121348. if (_0_4 && t6) {
  121349. t8 = _this.get$silentComment();
  121350. start = t1._string_scanner$_position;
  121351. t8.call$0();
  121352. end = t1._string_scanner$_position;
  121353. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  121354. break $label1$1;
  121355. }
  121356. if (_0_4) {
  121357. _this.silentComment$0();
  121358. break $label1$1;
  121359. }
  121360. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121361. t3._contents += t8;
  121362. }
  121363. break $label0$0;
  121364. }
  121365. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  121366. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  121367. break $label0$0;
  121368. }
  121369. if (13 === _2_0 || 10 === _2_0 || 12 === _2_0) {
  121370. if (_this.get$indented() && brackets.length === 0)
  121371. break;
  121372. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121373. t3._contents += t8;
  121374. break $label0$0;
  121375. }
  121376. if (33 === _2_0 || 59 === _2_0 || 123 === _2_0 || 125 === _2_0)
  121377. break;
  121378. if (117 === _2_0 || 85 === _2_0) {
  121379. t8 = t1._string_scanner$_position;
  121380. identifier = _this.identifier$0();
  121381. if (identifier !== "url" && identifier !== "url-prefix") {
  121382. t3._contents += identifier;
  121383. continue;
  121384. }
  121385. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t8), identifier);
  121386. if (_1_0 != null)
  121387. buffer.addInterpolation$1(_1_0);
  121388. else {
  121389. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  121390. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  121391. t1._string_scanner$_position = t8;
  121392. t1._lastMatch = null;
  121393. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121394. t3._contents += t8;
  121395. }
  121396. break $label0$0;
  121397. }
  121398. if (40 === _2_0 || 91 === _2_0) {
  121399. bracket = t1.readChar$0();
  121400. t8 = A.Primitives_stringFromCharCode(bracket);
  121401. t3._contents += t8;
  121402. brackets.push(A.opposite0(bracket));
  121403. break $label0$0;
  121404. }
  121405. if (41 === _2_0 || 93 === _2_0) {
  121406. t8 = _2_0 != null;
  121407. char = t8 ? _2_0 : null;
  121408. } else {
  121409. char = null;
  121410. t8 = false;
  121411. }
  121412. if (t8) {
  121413. if (brackets.length === 0)
  121414. t1.error$1(0, 'Unexpected "' + A.Primitives_stringFromCharCode(char) + '".');
  121415. bracket = brackets.pop();
  121416. t1.expectChar$1(bracket);
  121417. t8 = A.Primitives_stringFromCharCode(bracket);
  121418. t3._contents += t8;
  121419. break $label0$0;
  121420. }
  121421. if (_2_0 == null)
  121422. break;
  121423. t8 = _this.lookingAtIdentifier$0();
  121424. if (t8) {
  121425. t8 = _this.identifier$0();
  121426. t3._contents += t8;
  121427. break $label0$0;
  121428. }
  121429. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121430. t3._contents += t8;
  121431. }
  121432. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121433. },
  121434. almostAnyValue$0() {
  121435. return this.almostAnyValue$1$omitComments(false);
  121436. },
  121437. _stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, allowOpenBrace, allowSemicolon, consumeNewlines, silentComments) {
  121438. var t4, t5, t6, t7, t8, t9, t10, wroteNewline, _2_0, wroteNewline0, t11, _0_0, start, end, _2_14_isSet, _2_14, t12, _2_18_isSet, _2_20, _2_18, _2_20_isSet, _2_22, bracket, identifier, _1_0, _this = this, _null = null,
  121439. t1 = _this.scanner,
  121440. t2 = t1._string_scanner$_position,
  121441. t3 = new A.StringBuffer(""),
  121442. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  121443. brackets = A._setArrayType([], type$.JSArray_int);
  121444. for (t4 = !consumeNewlines, t5 = !allowOpenBrace, t6 = t1.string, t7 = t6.length, t8 = !allowColon, t9 = !allowSemicolon, t10 = _this.get$loudComment(), wroteNewline = false; true;)
  121445. $label0$0: {
  121446. _2_0 = t1.peekChar$0();
  121447. wroteNewline0 = false;
  121448. if (92 === _2_0) {
  121449. t11 = _this.escape$1$identifierStart(true);
  121450. t3._contents += t11;
  121451. wroteNewline = wroteNewline0;
  121452. break $label0$0;
  121453. }
  121454. if (34 === _2_0 || 39 === _2_0) {
  121455. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  121456. wroteNewline = wroteNewline0;
  121457. break $label0$0;
  121458. }
  121459. if (47 === _2_0) {
  121460. $label1$1: {
  121461. _0_0 = t1.peekChar$1(1);
  121462. if (42 === _0_0) {
  121463. start = t1._string_scanner$_position;
  121464. t10.call$0();
  121465. end = t1._string_scanner$_position;
  121466. t3._contents += B.JSString_methods.substring$2(t6, start, end);
  121467. break $label1$1;
  121468. }
  121469. if (47 === _0_0 && silentComments) {
  121470. _this.silentComment$0();
  121471. break $label1$1;
  121472. }
  121473. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121474. t3._contents += t11;
  121475. }
  121476. wroteNewline = wroteNewline0;
  121477. break $label0$0;
  121478. }
  121479. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  121480. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  121481. wroteNewline = wroteNewline0;
  121482. break $label0$0;
  121483. }
  121484. _2_14_isSet = 32 !== _2_0;
  121485. if (_2_14_isSet) {
  121486. _2_14 = 9 === _2_0;
  121487. t11 = _2_14;
  121488. } else {
  121489. _2_14 = _null;
  121490. t11 = true;
  121491. }
  121492. t12 = false;
  121493. if (t11)
  121494. if (!wroteNewline) {
  121495. t11 = t1.peekChar$1(1);
  121496. t11 = t11 === 32 || t11 === 9 || t11 === 10 || t11 === 13 || t11 === 12;
  121497. } else
  121498. t11 = t12;
  121499. else
  121500. t11 = t12;
  121501. if (t11) {
  121502. t1.readChar$0();
  121503. break $label0$0;
  121504. }
  121505. if (_2_14_isSet)
  121506. t11 = _2_14;
  121507. else
  121508. t11 = true;
  121509. if (t11) {
  121510. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121511. t3._contents += t11;
  121512. break $label0$0;
  121513. }
  121514. _2_18_isSet = 10 !== _2_0;
  121515. _2_20 = _null;
  121516. t11 = true;
  121517. if (_2_18_isSet) {
  121518. _2_18 = 13 === _2_0;
  121519. _2_20_isSet = !_2_18;
  121520. if (_2_20_isSet) {
  121521. _2_20 = 12 === _2_0;
  121522. t11 = _2_20;
  121523. }
  121524. } else {
  121525. _2_18 = _null;
  121526. _2_20_isSet = false;
  121527. }
  121528. if (t11 && _this.get$indented() && t4 && brackets.length === 0)
  121529. break;
  121530. t11 = true;
  121531. if (_2_18_isSet)
  121532. if (!_2_18)
  121533. t11 = _2_20_isSet ? _2_20 : 12 === _2_0;
  121534. if (t11) {
  121535. t11 = t1.peekChar$1(-1);
  121536. if (!(t11 === 10 || t11 === 13 || t11 === 12))
  121537. t3._contents += "\n";
  121538. t1.readChar$0();
  121539. wroteNewline = true;
  121540. break $label0$0;
  121541. }
  121542. _2_22 = 123 === _2_0;
  121543. if (_2_22 && t5)
  121544. break;
  121545. if (40 !== _2_0)
  121546. t11 = _2_22 || 91 === _2_0;
  121547. else
  121548. t11 = true;
  121549. if (t11) {
  121550. bracket = t1.readChar$0();
  121551. t11 = A.Primitives_stringFromCharCode(bracket);
  121552. t3._contents += t11;
  121553. brackets.push(A.opposite0(bracket));
  121554. wroteNewline = wroteNewline0;
  121555. break $label0$0;
  121556. }
  121557. if (41 === _2_0 || 125 === _2_0 || 93 === _2_0) {
  121558. if (brackets.length === 0)
  121559. break;
  121560. bracket = brackets.pop();
  121561. t1.expectChar$1(bracket);
  121562. t11 = A.Primitives_stringFromCharCode(bracket);
  121563. t3._contents += t11;
  121564. wroteNewline = wroteNewline0;
  121565. break $label0$0;
  121566. }
  121567. if (59 === _2_0) {
  121568. if (t9 && brackets.length === 0)
  121569. break;
  121570. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121571. t3._contents += t11;
  121572. wroteNewline = wroteNewline0;
  121573. break $label0$0;
  121574. }
  121575. if (58 === _2_0) {
  121576. if (t8 && brackets.length === 0)
  121577. break;
  121578. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121579. t3._contents += t11;
  121580. wroteNewline = wroteNewline0;
  121581. break $label0$0;
  121582. }
  121583. if (117 === _2_0 || 85 === _2_0) {
  121584. t11 = t1._string_scanner$_position;
  121585. identifier = _this.identifier$0();
  121586. if (identifier !== "url" && identifier !== "url-prefix") {
  121587. t3._contents += identifier;
  121588. wroteNewline = wroteNewline0;
  121589. continue;
  121590. }
  121591. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t11), identifier);
  121592. if (_1_0 != null)
  121593. buffer.addInterpolation$1(_1_0);
  121594. else {
  121595. if ((t11 === 0 ? 1 / t11 < 0 : t11 < 0) || t11 > t7)
  121596. A.throwExpression(A.ArgumentError$("Invalid position " + t11, _null));
  121597. t1._string_scanner$_position = t11;
  121598. t1._lastMatch = null;
  121599. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121600. t3._contents += t11;
  121601. }
  121602. wroteNewline = wroteNewline0;
  121603. break $label0$0;
  121604. }
  121605. if (_2_0 == null)
  121606. break;
  121607. t11 = _this.lookingAtIdentifier$0();
  121608. if (t11) {
  121609. t11 = _this.identifier$0();
  121610. t3._contents += t11;
  121611. wroteNewline = wroteNewline0;
  121612. break $label0$0;
  121613. }
  121614. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121615. t3._contents += t11;
  121616. wroteNewline = wroteNewline0;
  121617. }
  121618. if (brackets.length !== 0)
  121619. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  121620. if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
  121621. t1.error$1(0, "Expected token.");
  121622. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121623. },
  121624. _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  121625. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, false, false, true);
  121626. },
  121627. _stylesheet0$_interpolatedDeclarationValue$1$allowOpenBrace(allowOpenBrace) {
  121628. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, allowOpenBrace, false, false, true);
  121629. },
  121630. _stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(allowEmpty, allowSemicolon, consumeNewlines) {
  121631. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  121632. },
  121633. _stylesheet0$_interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(allowColon, allowEmpty, allowSemicolon, consumeNewlines) {
  121634. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  121635. },
  121636. _stylesheet0$_interpolatedDeclarationValue$0() {
  121637. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, true);
  121638. },
  121639. _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(allowEmpty, allowOpenBrace) {
  121640. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, allowOpenBrace, false, false, true);
  121641. },
  121642. _stylesheet0$_interpolatedDeclarationValue$1$silentComments(silentComments) {
  121643. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, silentComments);
  121644. },
  121645. interpolatedIdentifier$0() {
  121646. var t3, _1_0, _0_0, _this = this,
  121647. _s20_ = "Expected identifier.",
  121648. t1 = _this.scanner,
  121649. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  121650. t2 = new A.StringBuffer(""),
  121651. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121652. if (t1.scanChar$1(45)) {
  121653. t3 = A.Primitives_stringFromCharCode(45);
  121654. t2._contents += t3;
  121655. if (t1.scanChar$1(45)) {
  121656. t3 = A.Primitives_stringFromCharCode(45);
  121657. t2._contents += t3;
  121658. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  121659. return buffer.interpolation$1(t1.spanFrom$1(start));
  121660. }
  121661. }
  121662. $label0$0: {
  121663. _1_0 = t1.peekChar$0();
  121664. if (_1_0 == null)
  121665. t1.error$1(0, _s20_);
  121666. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128) {
  121667. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121668. t2._contents += t3;
  121669. break $label0$0;
  121670. }
  121671. if (92 === _1_0) {
  121672. t3 = _this.escape$1$identifierStart(true);
  121673. t2._contents += t3;
  121674. break $label0$0;
  121675. }
  121676. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  121677. _0_0 = _this.singleInterpolation$0();
  121678. buffer.add$2(0, _0_0._0, _0_0._1);
  121679. break $label0$0;
  121680. }
  121681. t1.error$1(0, _s20_);
  121682. }
  121683. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  121684. return buffer.interpolation$1(t1.spanFrom$1(start));
  121685. },
  121686. _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
  121687. var t1, t2, t3, t4, _1_0, t5, _0_0;
  121688. for (t1 = buffer._interpolation_buffer0$_contents, t2 = buffer._interpolation_buffer0$_spans, t3 = this.scanner, t4 = buffer._interpolation_buffer0$_text; true;) {
  121689. _1_0 = t3.peekChar$0();
  121690. if (_1_0 == null)
  121691. break;
  121692. t5 = true;
  121693. if (95 !== _1_0)
  121694. if (45 !== _1_0) {
  121695. if (!(_1_0 >= 97 && _1_0 <= 122))
  121696. t5 = _1_0 >= 65 && _1_0 <= 90;
  121697. else
  121698. t5 = true;
  121699. if (!t5)
  121700. t5 = _1_0 >= 48 && _1_0 <= 57;
  121701. else
  121702. t5 = true;
  121703. t5 = t5 || _1_0 >= 128;
  121704. }
  121705. if (t5) {
  121706. t5 = A.Primitives_stringFromCharCode(t3.readChar$0());
  121707. t4._contents += t5;
  121708. continue;
  121709. }
  121710. if (92 === _1_0) {
  121711. t5 = this.escape$0();
  121712. t4._contents += t5;
  121713. continue;
  121714. }
  121715. if (35 === _1_0 && t3.peekChar$1(1) === 123) {
  121716. _0_0 = this.singleInterpolation$0();
  121717. buffer._interpolation_buffer0$_flushText$0();
  121718. t1.push(_0_0._0);
  121719. t2.push(_0_0._1);
  121720. continue;
  121721. }
  121722. break;
  121723. }
  121724. },
  121725. singleInterpolation$0() {
  121726. var contents, span, _this = this,
  121727. t1 = _this.scanner,
  121728. t2 = t1._string_scanner$_position;
  121729. t1.expect$1("#{");
  121730. _this.whitespace$1$consumeNewlines(true);
  121731. contents = _this._stylesheet0$_expression$1$consumeNewlines(true);
  121732. t1.expectChar$1(125);
  121733. span = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  121734. if (_this.get$plainCss())
  121735. _this.error$2(0, string$.Interpp, span);
  121736. return new A._Record_2(contents, span);
  121737. },
  121738. _stylesheet0$_mediaQueryList$0() {
  121739. var t4, _this = this,
  121740. t1 = _this.scanner,
  121741. t2 = t1._string_scanner$_position,
  121742. t3 = new A.StringBuffer(""),
  121743. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121744. for (; true;) {
  121745. _this.whitespace$1$consumeNewlines(false);
  121746. _this._stylesheet0$_mediaQuery$1(buffer);
  121747. _this.whitespace$1$consumeNewlines(false);
  121748. if (!t1.scanChar$1(44))
  121749. break;
  121750. t4 = A.Primitives_stringFromCharCode(44);
  121751. t3._contents += t4;
  121752. t4 = A.Primitives_stringFromCharCode(32);
  121753. t3._contents += t4;
  121754. }
  121755. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121756. },
  121757. _stylesheet0$_mediaQuery$1(buffer) {
  121758. var identifier1, t1, t2, identifier2, _this = this, _s3_ = "and";
  121759. if (_this.scanner.peekChar$0() === 40) {
  121760. _this._stylesheet0$_mediaInParens$1(buffer);
  121761. _this.whitespace$1$consumeNewlines(false);
  121762. if (_this.scanIdentifier$1(_s3_)) {
  121763. buffer._interpolation_buffer0$_text._contents += " and ";
  121764. _this.expectWhitespace$0();
  121765. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  121766. } else if (_this.scanIdentifier$1("or")) {
  121767. buffer._interpolation_buffer0$_text._contents += " or ";
  121768. _this.expectWhitespace$0();
  121769. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  121770. }
  121771. return;
  121772. }
  121773. identifier1 = _this.interpolatedIdentifier$0();
  121774. if (A.equalsIgnoreCase0(identifier1.get$asPlain(), "not")) {
  121775. _this.expectWhitespace$0();
  121776. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  121777. buffer._interpolation_buffer0$_text._contents += "not ";
  121778. _this._stylesheet0$_mediaOrInterp$1(buffer);
  121779. return;
  121780. }
  121781. }
  121782. _this.whitespace$1$consumeNewlines(false);
  121783. buffer.addInterpolation$1(identifier1);
  121784. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  121785. return;
  121786. t1 = buffer._interpolation_buffer0$_text;
  121787. t2 = A.Primitives_stringFromCharCode(32);
  121788. t1._contents += t2;
  121789. identifier2 = _this.interpolatedIdentifier$0();
  121790. if (A.equalsIgnoreCase0(identifier2.get$asPlain(), _s3_)) {
  121791. _this.expectWhitespace$0();
  121792. t1._contents += " and ";
  121793. } else {
  121794. _this.whitespace$1$consumeNewlines(false);
  121795. buffer.addInterpolation$1(identifier2);
  121796. if (_this.scanIdentifier$1(_s3_)) {
  121797. _this.expectWhitespace$0();
  121798. t1._contents += " and ";
  121799. } else
  121800. return;
  121801. }
  121802. if (_this.scanIdentifier$1("not")) {
  121803. _this.expectWhitespace$0();
  121804. t1._contents += "not ";
  121805. _this._stylesheet0$_mediaOrInterp$1(buffer);
  121806. return;
  121807. }
  121808. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  121809. return;
  121810. },
  121811. _stylesheet0$_mediaLogicSequence$2(buffer, operator) {
  121812. var t1, t2, _this = this;
  121813. for (t1 = buffer._interpolation_buffer0$_text; true;) {
  121814. _this._stylesheet0$_mediaOrInterp$1(buffer);
  121815. _this.whitespace$1$consumeNewlines(false);
  121816. if (!_this.scanIdentifier$1(operator))
  121817. return;
  121818. _this.expectWhitespace$1$consumeNewlines(false);
  121819. t2 = A.Primitives_stringFromCharCode(32);
  121820. t2 = t1._contents += t2;
  121821. t1._contents = t2 + operator;
  121822. t2 = A.Primitives_stringFromCharCode(32);
  121823. t1._contents += t2;
  121824. }
  121825. },
  121826. _stylesheet0$_mediaOrInterp$1(buffer) {
  121827. var _0_0;
  121828. if (this.scanner.peekChar$0() === 35) {
  121829. _0_0 = this.singleInterpolation$0();
  121830. buffer.add$2(0, _0_0._0, _0_0._1);
  121831. } else
  121832. this._stylesheet0$_mediaInParens$1(buffer);
  121833. },
  121834. _stylesheet0$_mediaInParens$1(buffer) {
  121835. var t2, t3, expressionBefore, expressionAfter, next, t4, expressionMiddle, _this = this,
  121836. t1 = _this.scanner;
  121837. t1.expectChar$2$name(40, "media condition in parentheses");
  121838. t2 = buffer._interpolation_buffer0$_text;
  121839. t3 = A.Primitives_stringFromCharCode(40);
  121840. t2._contents += t3;
  121841. _this.whitespace$1$consumeNewlines(true);
  121842. if (t1.peekChar$0() === 40) {
  121843. _this._stylesheet0$_mediaInParens$1(buffer);
  121844. _this.whitespace$1$consumeNewlines(true);
  121845. if (_this.scanIdentifier$1("and")) {
  121846. t2._contents += " and ";
  121847. _this.expectWhitespace$1$consumeNewlines(true);
  121848. _this._stylesheet0$_mediaLogicSequence$2(buffer, "and");
  121849. } else if (_this.scanIdentifier$1("or")) {
  121850. t2._contents += " or ";
  121851. _this.expectWhitespace$1$consumeNewlines(true);
  121852. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  121853. }
  121854. } else if (_this.scanIdentifier$1("not")) {
  121855. t2._contents += "not ";
  121856. _this.expectWhitespace$1$consumeNewlines(true);
  121857. _this._stylesheet0$_mediaOrInterp$1(buffer);
  121858. } else {
  121859. expressionBefore = _this._stylesheet0$_expressionUntilComparison$0();
  121860. buffer.add$2(0, expressionBefore, expressionBefore.get$span(expressionBefore));
  121861. if (t1.scanChar$1(58)) {
  121862. _this.whitespace$1$consumeNewlines(true);
  121863. t3 = A.Primitives_stringFromCharCode(58);
  121864. t2._contents += t3;
  121865. t3 = A.Primitives_stringFromCharCode(32);
  121866. t2._contents += t3;
  121867. expressionAfter = _this._stylesheet0$_expression$1$consumeNewlines(true);
  121868. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  121869. } else {
  121870. next = t1.peekChar$0();
  121871. t3 = 60 !== next;
  121872. if (!t3 || 62 === next || 61 === next) {
  121873. t4 = A.Primitives_stringFromCharCode(32);
  121874. t2._contents += t4;
  121875. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121876. t2._contents += t4;
  121877. if ((!t3 || 62 === next) && t1.scanChar$1(61)) {
  121878. t4 = A.Primitives_stringFromCharCode(61);
  121879. t2._contents += t4;
  121880. }
  121881. t4 = A.Primitives_stringFromCharCode(32);
  121882. t2._contents += t4;
  121883. _this.whitespace$1$consumeNewlines(true);
  121884. expressionMiddle = _this._stylesheet0$_expressionUntilComparison$0();
  121885. buffer.add$2(0, expressionMiddle, expressionMiddle.get$span(expressionMiddle));
  121886. if (!t3 || 62 === next) {
  121887. next.toString;
  121888. t3 = t1.scanChar$1(next);
  121889. } else
  121890. t3 = false;
  121891. if (t3) {
  121892. t3 = A.Primitives_stringFromCharCode(32);
  121893. t2._contents += t3;
  121894. t3 = A.Primitives_stringFromCharCode(next);
  121895. t2._contents += t3;
  121896. if (t1.scanChar$1(61)) {
  121897. t3 = A.Primitives_stringFromCharCode(61);
  121898. t2._contents += t3;
  121899. }
  121900. t3 = A.Primitives_stringFromCharCode(32);
  121901. t2._contents += t3;
  121902. _this.whitespace$1$consumeNewlines(true);
  121903. expressionAfter = _this._stylesheet0$_expressionUntilComparison$0();
  121904. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  121905. }
  121906. }
  121907. }
  121908. }
  121909. t1.expectChar$1(41);
  121910. _this.whitespace$1$consumeNewlines(false);
  121911. t1 = A.Primitives_stringFromCharCode(41);
  121912. t2._contents += t1;
  121913. },
  121914. _stylesheet0$_expressionUntilComparison$0() {
  121915. return this._stylesheet0$_expression$2$consumeNewlines$until(true, new A.StylesheetParser__expressionUntilComparison_closure0(this));
  121916. },
  121917. _stylesheet0$_supportsCondition$1$inParentheses(inParentheses) {
  121918. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  121919. t1 = _this.scanner,
  121920. t2 = t1._string_scanner$_position;
  121921. if (_this.scanIdentifier$1("not")) {
  121922. _this.whitespace$1$consumeNewlines(inParentheses);
  121923. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121924. }
  121925. condition = _this._stylesheet0$_supportsConditionInParens$0();
  121926. _this.whitespace$1$consumeNewlines(inParentheses);
  121927. for (operator = null; _this.lookingAtIdentifier$0();) {
  121928. if (operator != null)
  121929. _this.expectIdentifier$1(operator);
  121930. else if (_this.scanIdentifier$1("or"))
  121931. operator = "or";
  121932. else {
  121933. _this.expectIdentifier$1("and");
  121934. operator = "and";
  121935. }
  121936. _this.whitespace$1$consumeNewlines(inParentheses);
  121937. right = _this._stylesheet0$_supportsConditionInParens$0();
  121938. endPosition = t1._string_scanner$_position;
  121939. t3 = t1._sourceFile;
  121940. t4 = new A._FileSpan(t3, t2, endPosition);
  121941. t4._FileSpan$3(t3, t2, endPosition);
  121942. condition = new A.SupportsOperation0(condition, right, operator, t4);
  121943. lowerOperator = operator.toLowerCase();
  121944. if (lowerOperator !== "and" && lowerOperator !== "or")
  121945. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  121946. _this.whitespace$1$consumeNewlines(inParentheses);
  121947. }
  121948. return condition;
  121949. },
  121950. _stylesheet0$_supportsCondition$0() {
  121951. return this._stylesheet0$_supportsCondition$1$inParentheses(false);
  121952. },
  121953. _stylesheet0$_supportsConditionInParens$0() {
  121954. var $name, nameStart, wasInParentheses, identifier, _1_0, operation, contents, identifier0, t2, $arguments, _0_0, _0_4_isSet, _0_4, _0_40, condition, exception, value, _this = this,
  121955. t1 = _this.scanner,
  121956. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121957. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  121958. identifier0 = _this.interpolatedIdentifier$0();
  121959. t2 = identifier0.get$asPlain();
  121960. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  121961. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  121962. if (t1.scanChar$1(40)) {
  121963. $arguments = _this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  121964. t1.expectChar$1(41);
  121965. return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
  121966. } else {
  121967. _0_0 = identifier0.contents;
  121968. _0_4_isSet = _0_0.length === 1;
  121969. if (_0_4_isSet) {
  121970. _0_4 = _0_0[0];
  121971. _0_40 = _0_4;
  121972. t2 = _0_4 instanceof A.Expression0;
  121973. _0_4 = _0_40;
  121974. } else {
  121975. _0_4 = null;
  121976. t2 = false;
  121977. }
  121978. if (t2) {
  121979. t2 = _0_4_isSet ? _0_4 : _0_0[0];
  121980. return new A.SupportsInterpolation0(type$.Expression_2._as(t2), t1.spanFrom$1(start));
  121981. } else
  121982. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  121983. }
  121984. }
  121985. t1.expectChar$1(40);
  121986. _this.whitespace$1$consumeNewlines(true);
  121987. if (_this.scanIdentifier$1("not")) {
  121988. _this.whitespace$1$consumeNewlines(true);
  121989. condition = _this._stylesheet0$_supportsConditionInParens$0();
  121990. t1.expectChar$1(41);
  121991. return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
  121992. } else if (t1.peekChar$0() === 40) {
  121993. condition = _this._stylesheet0$_supportsCondition$1$inParentheses(true);
  121994. t1.expectChar$1(41);
  121995. return condition.withSpan$1(t1.spanFrom$1(start));
  121996. }
  121997. $name = null;
  121998. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121999. wasInParentheses = _this._stylesheet0$_inParentheses;
  122000. try {
  122001. $name = _this._stylesheet0$_expression$1$consumeNewlines(true);
  122002. t1.expectChar$1(58);
  122003. } catch (exception) {
  122004. if (type$.FormatException._is(A.unwrapException(exception))) {
  122005. t1.set$state(nameStart);
  122006. _this._stylesheet0$_inParentheses = wasInParentheses;
  122007. identifier = _this.interpolatedIdentifier$0();
  122008. _1_0 = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
  122009. operation = null;
  122010. if (_1_0 != null) {
  122011. operation = _1_0;
  122012. t1.expectChar$1(41);
  122013. t2 = operation;
  122014. t1 = t1.spanFrom$1(start);
  122015. return A.SupportsOperation$0(t2.left, t2.right, t2.operator, t1);
  122016. }
  122017. t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  122018. t2.addInterpolation$1(identifier);
  122019. t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(false, true, true, true));
  122020. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  122021. if (t1.peekChar$0() === 58)
  122022. throw exception;
  122023. t1.expectChar$1(41);
  122024. return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
  122025. } else
  122026. throw exception;
  122027. }
  122028. value = _this._stylesheet0$_supportsDeclarationValue$1($name);
  122029. t1.expectChar$1(41);
  122030. return new A.SupportsDeclaration0($name, value, t1.spanFrom$1(start));
  122031. },
  122032. _stylesheet0$_supportsDeclarationValue$1($name) {
  122033. var t1 = false;
  122034. if ($name instanceof A.StringExpression0)
  122035. if (!$name.hasQuotes)
  122036. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  122037. if (t1)
  122038. return new A.StringExpression0(this._stylesheet0$_interpolatedDeclarationValue$0(), false);
  122039. else {
  122040. this.whitespace$1$consumeNewlines(true);
  122041. return this._stylesheet0$_expression$1$consumeNewlines(true);
  122042. }
  122043. },
  122044. _stylesheet0$_trySupportsOperation$2(interpolation, start) {
  122045. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  122046. t1 = interpolation.contents;
  122047. if (t1.length !== 1)
  122048. return _null;
  122049. expression = B.JSArray_methods.get$first(t1);
  122050. if (!(expression instanceof A.Expression0))
  122051. return _null;
  122052. t1 = _this.scanner;
  122053. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  122054. _this.whitespace$1$consumeNewlines(true);
  122055. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  122056. if (operator != null)
  122057. _this.expectIdentifier$1(operator);
  122058. else if (_this.scanIdentifier$1("and"))
  122059. operator = "and";
  122060. else {
  122061. if (!_this.scanIdentifier$1("or")) {
  122062. if (beforeWhitespace._scanner !== t1)
  122063. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  122064. t2 = beforeWhitespace.position;
  122065. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  122066. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  122067. t1._string_scanner$_position = t2;
  122068. return t1._lastMatch = null;
  122069. }
  122070. operator = "or";
  122071. }
  122072. _this.whitespace$1$consumeNewlines(true);
  122073. right = _this._stylesheet0$_supportsConditionInParens$0();
  122074. t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
  122075. endPosition = t1._string_scanner$_position;
  122076. t5 = t1._sourceFile;
  122077. t6 = new A._FileSpan(t5, t2, endPosition);
  122078. t6._FileSpan$3(t5, t2, endPosition);
  122079. operation = new A.SupportsOperation0(t4, right, operator, t6);
  122080. lowerOperator = operator.toLowerCase();
  122081. if (lowerOperator !== "and" && lowerOperator !== "or")
  122082. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  122083. _this.whitespace$1$consumeNewlines(true);
  122084. }
  122085. return operation;
  122086. },
  122087. _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
  122088. var t2, _0_0,
  122089. t1 = this.scanner,
  122090. _1_0 = t1.peekChar$0();
  122091. $label0$0: {
  122092. t2 = false;
  122093. if (_1_0 == null) {
  122094. t1 = t2;
  122095. break $label0$0;
  122096. }
  122097. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  122098. t1 = true;
  122099. break $label0$0;
  122100. }
  122101. if (35 === _1_0) {
  122102. t1 = t1.peekChar$1(1) === 123;
  122103. break $label0$0;
  122104. }
  122105. if (45 === _1_0) {
  122106. _0_0 = t1.peekChar$1(1);
  122107. $label1$1: {
  122108. if (_0_0 == null) {
  122109. t1 = t2;
  122110. break $label1$1;
  122111. }
  122112. if (35 === _0_0) {
  122113. t1 = t1.peekChar$1(2) === 123;
  122114. break $label1$1;
  122115. }
  122116. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  122117. t1 = true;
  122118. break $label1$1;
  122119. }
  122120. t1 = t2;
  122121. break $label1$1;
  122122. }
  122123. break $label0$0;
  122124. }
  122125. t1 = t2;
  122126. break $label0$0;
  122127. }
  122128. return t1;
  122129. },
  122130. _stylesheet0$_lookingAtPotentialPropertyHack$0() {
  122131. var t1 = this.scanner,
  122132. _0_0 = t1.peekChar$0();
  122133. $label0$0: {
  122134. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  122135. t1 = true;
  122136. break $label0$0;
  122137. }
  122138. if (35 === _0_0) {
  122139. t1 = t1.peekChar$1(1) !== 123;
  122140. break $label0$0;
  122141. }
  122142. t1 = false;
  122143. break $label0$0;
  122144. }
  122145. return t1;
  122146. },
  122147. _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
  122148. var t2, t3,
  122149. t1 = this.scanner,
  122150. _0_0 = t1.peekChar$0();
  122151. $label0$0: {
  122152. t2 = false;
  122153. if (_0_0 == null) {
  122154. t1 = t2;
  122155. break $label0$0;
  122156. }
  122157. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128))
  122158. t3 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  122159. else
  122160. t3 = true;
  122161. if (t3 || 92 === _0_0) {
  122162. t1 = true;
  122163. break $label0$0;
  122164. }
  122165. if (35 === _0_0) {
  122166. t1 = t1.peekChar$1(1) === 123;
  122167. break $label0$0;
  122168. }
  122169. t1 = t2;
  122170. break $label0$0;
  122171. }
  122172. return t1;
  122173. },
  122174. _stylesheet0$_lookingAtExpression$0() {
  122175. var t2, _0_0,
  122176. t1 = this.scanner,
  122177. _1_0 = t1.peekChar$0();
  122178. $label0$0: {
  122179. t2 = true;
  122180. if (_1_0 == null) {
  122181. t1 = false;
  122182. break $label0$0;
  122183. }
  122184. if (46 === _1_0) {
  122185. t1 = t1.peekChar$1(1) !== 46;
  122186. break $label0$0;
  122187. }
  122188. if (33 === _1_0) {
  122189. _0_0 = t1.peekChar$1(1);
  122190. $label1$1: {
  122191. if (_0_0 != null)
  122192. if (105 !== _0_0)
  122193. if (73 !== _0_0)
  122194. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  122195. else
  122196. t1 = t2;
  122197. else
  122198. t1 = t2;
  122199. else
  122200. t1 = t2;
  122201. if (t1)
  122202. break $label1$1;
  122203. break $label1$1;
  122204. }
  122205. break $label0$0;
  122206. }
  122207. t1 = true;
  122208. if (40 !== _1_0)
  122209. if (47 !== _1_0)
  122210. if (91 !== _1_0)
  122211. if (39 !== _1_0)
  122212. if (34 !== _1_0)
  122213. if (35 !== _1_0)
  122214. if (43 !== _1_0)
  122215. if (45 !== _1_0)
  122216. if (92 !== _1_0)
  122217. if (36 !== _1_0)
  122218. if (38 !== _1_0)
  122219. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128))
  122220. t1 = _1_0 >= 48 && _1_0 <= 57;
  122221. if (t1) {
  122222. t1 = t2;
  122223. break $label0$0;
  122224. }
  122225. t1 = false;
  122226. break $label0$0;
  122227. }
  122228. return t1;
  122229. },
  122230. _stylesheet0$_withChildren$1$3(child, start, create) {
  122231. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  122232. this.whitespaceWithoutComments$1$consumeNewlines(false);
  122233. return result;
  122234. },
  122235. _stylesheet0$_withChildren$3(child, start, create) {
  122236. return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
  122237. },
  122238. _stylesheet0$_urlString$0() {
  122239. var innerError, stackTrace, t2, exception,
  122240. t1 = this.scanner,
  122241. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  122242. url = this.string$0();
  122243. try {
  122244. t2 = A.Uri_parse(url);
  122245. return t2;
  122246. } catch (exception) {
  122247. t2 = A.unwrapException(exception);
  122248. if (type$.FormatException._is(t2)) {
  122249. innerError = t2;
  122250. stackTrace = A.getTraceFromException(exception);
  122251. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  122252. } else
  122253. throw exception;
  122254. }
  122255. },
  122256. _stylesheet0$_publicIdentifier$0() {
  122257. var _this = this,
  122258. t1 = _this.scanner,
  122259. t2 = t1._string_scanner$_position,
  122260. result = _this.identifier$0();
  122261. _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
  122262. return result;
  122263. },
  122264. _stylesheet0$_assertPublic$2(identifier, span) {
  122265. var first = identifier.charCodeAt(0);
  122266. if (!(first === 45 || first === 95))
  122267. return;
  122268. this.error$2(0, string$.Privat, span.call$0());
  122269. },
  122270. _stylesheet0$_addOrInject$2(buffer, expression) {
  122271. if (expression instanceof A.StringExpression0 && !expression.hasQuotes)
  122272. buffer.addInterpolation$1(expression.text);
  122273. else
  122274. buffer.add$2(0, expression, expression.get$span(expression));
  122275. },
  122276. get$plainCss() {
  122277. return false;
  122278. }
  122279. };
  122280. A.StylesheetParser_parse_closure0.prototype = {
  122281. call$0() {
  122282. var statements,
  122283. t1 = this.$this,
  122284. t2 = t1.scanner,
  122285. t3 = t2._string_scanner$_position;
  122286. t2.scanChar$1(65279);
  122287. statements = t1.statements$1(new A.StylesheetParser_parse__closure0(t1));
  122288. t2.expectDone$0();
  122289. return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.warnings, t1._stylesheet0$_globalVariables, t1.get$plainCss());
  122290. },
  122291. $signature: 594
  122292. };
  122293. A.StylesheetParser_parse__closure0.prototype = {
  122294. call$0() {
  122295. var t1 = this.$this;
  122296. if (t1.scanner.scan$1("@charset")) {
  122297. t1.whitespace$1$consumeNewlines(false);
  122298. t1.string$0();
  122299. return null;
  122300. }
  122301. return t1._stylesheet0$_statement$1$root(true);
  122302. },
  122303. $signature: 595
  122304. };
  122305. A.StylesheetParser_parseParameterList_closure0.prototype = {
  122306. call$0() {
  122307. var parameters,
  122308. t1 = this.$this,
  122309. t2 = t1.scanner;
  122310. t2.expectChar$2$name(64, "@-rule");
  122311. t1.identifier$0();
  122312. t1.whitespace$1$consumeNewlines(true);
  122313. t1.identifier$0();
  122314. parameters = t1._stylesheet0$_parameterList$0();
  122315. t1.whitespace$1$consumeNewlines(true);
  122316. t2.expectChar$1(123);
  122317. return parameters;
  122318. },
  122319. $signature: 596
  122320. };
  122321. A.StylesheetParser__parseSingleProduction_closure0.prototype = {
  122322. call$0() {
  122323. var result = this.production.call$0();
  122324. this.$this.scanner.expectDone$0();
  122325. return result;
  122326. },
  122327. $signature() {
  122328. return this.T._eval$1("0()");
  122329. }
  122330. };
  122331. A.StylesheetParser_parseSignature_closure.prototype = {
  122332. call$0() {
  122333. var parameters, t2, t3,
  122334. t1 = this.$this,
  122335. $name = t1.identifier$0();
  122336. if (this.requireParens || t1.scanner.peekChar$0() === 40)
  122337. parameters = t1._stylesheet0$_parameterList$0();
  122338. else {
  122339. t2 = t1.scanner;
  122340. t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
  122341. t3 = t2.offset;
  122342. parameters = new A.ParameterList0(B.List_empty24, null, A._FileSpan$(t2.file, t3, t3));
  122343. }
  122344. t1.scanner.expectDone$0();
  122345. return new A._Record_2($name, parameters);
  122346. },
  122347. $signature: 597
  122348. };
  122349. A.StylesheetParser__statement_closure0.prototype = {
  122350. call$0() {
  122351. return this.$this._stylesheet0$_statement$0();
  122352. },
  122353. $signature: 136
  122354. };
  122355. A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
  122356. call$0() {
  122357. return this.$this.scanner.spanFrom$1(this.start);
  122358. },
  122359. $signature: 27
  122360. };
  122361. A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
  122362. call$0() {
  122363. return this.declaration.span;
  122364. },
  122365. $signature: 27
  122366. };
  122367. A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
  122368. call$0() {
  122369. return this.$this.whitespace$1$consumeNewlines(false);
  122370. },
  122371. $signature: 0
  122372. };
  122373. A.StylesheetParser__declarationOrBuffer_closure3.prototype = {
  122374. call$0() {
  122375. return this.$this.whitespace$1$consumeNewlines(false);
  122376. },
  122377. $signature: 0
  122378. };
  122379. A.StylesheetParser__declarationOrBuffer_closure4.prototype = {
  122380. call$0() {
  122381. return this.$this.whitespace$1$consumeNewlines(false);
  122382. },
  122383. $signature: 0
  122384. };
  122385. A.StylesheetParser__styleRule_closure0.prototype = {
  122386. call$2(children, span) {
  122387. var _this = this,
  122388. t1 = _this.$this;
  122389. if (t1.get$indented() && children.length === 0)
  122390. t1.warnings.push(new A._Record_3_deprecation_message_span(null, string$.This_s, _this._box_0.interpolation.span));
  122391. t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
  122392. return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  122393. },
  122394. $signature: 598
  122395. };
  122396. A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
  122397. call$0() {
  122398. return this.$this.whitespace$1$consumeNewlines(false);
  122399. },
  122400. $signature: 0
  122401. };
  122402. A.StylesheetParser__tryDeclarationChildren_closure0.prototype = {
  122403. call$2(children, span) {
  122404. return A.Declaration$nested0(this.name, children, span, this.value);
  122405. },
  122406. $signature: 599
  122407. };
  122408. A.StylesheetParser__atRootRule_closure1.prototype = {
  122409. call$2(children, span) {
  122410. return A.AtRootRule$0(children, span, this.query);
  122411. },
  122412. $signature: 204
  122413. };
  122414. A.StylesheetParser__atRootRule_closure2.prototype = {
  122415. call$2(children, span) {
  122416. return A.AtRootRule$0(children, span, null);
  122417. },
  122418. $signature: 204
  122419. };
  122420. A.StylesheetParser__eachRule_closure0.prototype = {
  122421. call$2(children, span) {
  122422. var _this = this;
  122423. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  122424. return A.EachRule$0(_this.variables, _this.list, children, span);
  122425. },
  122426. $signature: 601
  122427. };
  122428. A.StylesheetParser__functionRule_closure0.prototype = {
  122429. call$2(children, span) {
  122430. return A.FunctionRule$0(this.name, this.parameters, children, span, this.precedingComment);
  122431. },
  122432. $signature: 602
  122433. };
  122434. A.StylesheetParser__forRule_closure1.prototype = {
  122435. call$0() {
  122436. var t1 = this.$this;
  122437. if (!t1.lookingAtIdentifier$0())
  122438. return false;
  122439. if (t1.scanIdentifier$1("to"))
  122440. return this._box_0.exclusive = true;
  122441. else if (t1.scanIdentifier$1("through")) {
  122442. this._box_0.exclusive = false;
  122443. return true;
  122444. } else
  122445. return false;
  122446. },
  122447. $signature: 21
  122448. };
  122449. A.StylesheetParser__forRule_closure2.prototype = {
  122450. call$2(children, span) {
  122451. var t1, _this = this;
  122452. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  122453. t1 = _this._box_0.exclusive;
  122454. t1.toString;
  122455. return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
  122456. },
  122457. $signature: 603
  122458. };
  122459. A.StylesheetParser__memberList_closure0.prototype = {
  122460. call$0() {
  122461. var t1 = this.$this;
  122462. if (t1.scanner.peekChar$0() === 36)
  122463. this.variables.add$1(0, t1.variableName$0());
  122464. else
  122465. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  122466. },
  122467. $signature: 1
  122468. };
  122469. A.StylesheetParser__includeRule_closure0.prototype = {
  122470. call$2(children, span) {
  122471. return A.ContentBlock$0(this.contentParameters_, children, span);
  122472. },
  122473. $signature: 604
  122474. };
  122475. A.StylesheetParser_mediaRule_closure0.prototype = {
  122476. call$2(children, span) {
  122477. return A.MediaRule$0(this.query, children, span);
  122478. },
  122479. $signature: 605
  122480. };
  122481. A.StylesheetParser__mixinRule_closure0.prototype = {
  122482. call$2(children, span) {
  122483. var _this = this;
  122484. _this.$this._stylesheet0$_inMixin = false;
  122485. return A.MixinRule$0(_this.name, _this.parameters, children, span, _this.precedingComment);
  122486. },
  122487. $signature: 606
  122488. };
  122489. A.StylesheetParser_mozDocumentRule_closure1.prototype = {
  122490. call$0() {
  122491. return this.$this.whitespace$1$consumeNewlines(false);
  122492. },
  122493. $signature: 0
  122494. };
  122495. A.StylesheetParser_mozDocumentRule_closure2.prototype = {
  122496. call$2(children, span) {
  122497. var _this = this;
  122498. if (_this._box_0.needsDeprecationWarning)
  122499. _this.$this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_L0R, string$.x40_moz_, span));
  122500. return A.AtRule$0(_this.name, span, children, _this.value);
  122501. },
  122502. $signature: 190
  122503. };
  122504. A.StylesheetParser_supportsRule_closure0.prototype = {
  122505. call$2(children, span) {
  122506. return A.SupportsRule$0(this.condition, children, span);
  122507. },
  122508. $signature: 608
  122509. };
  122510. A.StylesheetParser__whileRule_closure0.prototype = {
  122511. call$2(children, span) {
  122512. this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
  122513. return A.WhileRule$0(this.condition, children, span);
  122514. },
  122515. $signature: 609
  122516. };
  122517. A.StylesheetParser_unknownAtRule_closure0.prototype = {
  122518. call$2(children, span) {
  122519. return A.AtRule$0(this.name, span, children, this._box_0.value);
  122520. },
  122521. $signature: 190
  122522. };
  122523. A.StylesheetParser__expression_resetState0.prototype = {
  122524. call$0() {
  122525. var t2,
  122526. t1 = this._box_0;
  122527. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  122528. t2 = this.$this;
  122529. t2.scanner.set$state(this.start);
  122530. t1.allowSlash = true;
  122531. t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
  122532. },
  122533. $signature: 0
  122534. };
  122535. A.StylesheetParser__expression_resolveOneOperation0.prototype = {
  122536. call$0() {
  122537. var t2, t3, t4, t5, t6, t7, _this = this,
  122538. t1 = _this._box_0,
  122539. operator = t1.operators_.pop(),
  122540. left = t1.operands_.pop(),
  122541. right = t1.singleExpression_;
  122542. if (right == null) {
  122543. t2 = _this.$this.scanner;
  122544. t3 = operator.operator.length;
  122545. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  122546. }
  122547. if (t1.allowSlash) {
  122548. t2 = _this.$this;
  122549. t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_Mh50 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
  122550. } else
  122551. t2 = false;
  122552. if (t2)
  122553. t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_Mh50, left, right, true);
  122554. else {
  122555. t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
  122556. t2 = t1.allowSlash = false;
  122557. if (B.BinaryOperator_Swh0 === operator || B.BinaryOperator_QG10 === operator) {
  122558. t3 = _this.$this;
  122559. t4 = t3.scanner.string;
  122560. t5 = right.get$span(right);
  122561. t5 = t5.get$start(t5);
  122562. t6 = right.get$span(right);
  122563. t7 = operator.operator;
  122564. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  122565. t2 = left.get$span(left);
  122566. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  122567. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  122568. }
  122569. if (t2) {
  122570. t2 = left.toString$0(0);
  122571. t4 = right.toString$0(0);
  122572. t5 = left.toString$0(0);
  122573. t6 = right.toString$0(0);
  122574. t1 = t1.singleExpression_;
  122575. 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)));
  122576. }
  122577. }
  122578. }
  122579. },
  122580. $signature: 0
  122581. };
  122582. A.StylesheetParser__expression_resolveOperations0.prototype = {
  122583. call$0() {
  122584. var t1,
  122585. operators = this._box_0.operators_;
  122586. if (operators == null)
  122587. return;
  122588. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  122589. t1.call$0();
  122590. },
  122591. $signature: 0
  122592. };
  122593. A.StylesheetParser__expression_addSingleExpression0.prototype = {
  122594. call$1(expression) {
  122595. var t2, spaceExpressions, _this = this,
  122596. t1 = _this._box_0;
  122597. if (t1.singleExpression_ != null) {
  122598. t2 = _this.$this;
  122599. if (t2._stylesheet0$_inParentheses) {
  122600. t2._stylesheet0$_inParentheses = false;
  122601. if (t1.allowSlash) {
  122602. _this.resetState.call$0();
  122603. return;
  122604. }
  122605. }
  122606. spaceExpressions = t1.spaceExpressions_;
  122607. if (spaceExpressions == null)
  122608. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
  122609. _this.resolveOperations.call$0();
  122610. t2 = t1.singleExpression_;
  122611. t2.toString;
  122612. spaceExpressions.push(t2);
  122613. t1.allowSlash = true;
  122614. }
  122615. t1.singleExpression_ = expression;
  122616. },
  122617. $signature: 610
  122618. };
  122619. A.StylesheetParser__expression_addOperator0.prototype = {
  122620. call$1(operator) {
  122621. var t2, t3, operators, operands, t4, singleExpression,
  122622. t1 = this.$this;
  122623. if (t1.get$plainCss() && operator !== B.BinaryOperator_Kyq0 && operator !== B.BinaryOperator_Swh0 && operator !== B.BinaryOperator_QG10 && operator !== B.BinaryOperator_tht0 && operator !== B.BinaryOperator_Mh50) {
  122624. t2 = t1.scanner;
  122625. t3 = operator.operator.length;
  122626. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  122627. }
  122628. t2 = this._box_0;
  122629. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_Mh50;
  122630. operators = t2.operators_;
  122631. if (operators == null)
  122632. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
  122633. operands = t2.operands_;
  122634. if (operands == null)
  122635. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
  122636. t3 = this.resolveOneOperation;
  122637. t4 = operator.precedence;
  122638. while (true) {
  122639. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  122640. break;
  122641. t3.call$0();
  122642. }
  122643. operators.push(operator);
  122644. singleExpression = t2.singleExpression_;
  122645. if (singleExpression == null) {
  122646. t3 = t1.scanner;
  122647. t4 = operator.operator.length;
  122648. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  122649. }
  122650. operands.push(singleExpression);
  122651. t1.whitespace$1$consumeNewlines(true);
  122652. t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
  122653. },
  122654. $signature: 611
  122655. };
  122656. A.StylesheetParser__expression_resolveSpaceExpressions0.prototype = {
  122657. call$0() {
  122658. var t1, spaceExpressions, singleExpression, t2;
  122659. this.resolveOperations.call$0();
  122660. t1 = this._box_0;
  122661. spaceExpressions = t1.spaceExpressions_;
  122662. if (spaceExpressions == null)
  122663. return;
  122664. singleExpression = t1.singleExpression_;
  122665. if (singleExpression == null)
  122666. this.$this.scanner.error$1(0, "Expected expression.");
  122667. spaceExpressions.push(singleExpression);
  122668. t2 = B.JSArray_methods.get$first(spaceExpressions);
  122669. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  122670. t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_qSL0, false, t2);
  122671. t1.spaceExpressions_ = null;
  122672. },
  122673. $signature: 0
  122674. };
  122675. A.StylesheetParser_expressionUntilComma_closure0.prototype = {
  122676. call$0() {
  122677. return this.$this.scanner.peekChar$0() === 44;
  122678. },
  122679. $signature: 21
  122680. };
  122681. A.StylesheetParser__isHexColor_closure0.prototype = {
  122682. call$1(char) {
  122683. return A.CharacterExtension_get_isHex0(char);
  122684. },
  122685. $signature: 48
  122686. };
  122687. A.StylesheetParser__unicodeRange_closure1.prototype = {
  122688. call$1(char) {
  122689. return char != null && A.CharacterExtension_get_isHex0(char);
  122690. },
  122691. $signature: 30
  122692. };
  122693. A.StylesheetParser__unicodeRange_closure2.prototype = {
  122694. call$1(char) {
  122695. return char != null && A.CharacterExtension_get_isHex0(char);
  122696. },
  122697. $signature: 30
  122698. };
  122699. A.StylesheetParser_namespacedExpression_closure0.prototype = {
  122700. call$0() {
  122701. return this.$this.scanner.spanFrom$1(this.start);
  122702. },
  122703. $signature: 27
  122704. };
  122705. A.StylesheetParser_trySpecialFunction_closure0.prototype = {
  122706. call$1(contents) {
  122707. return new A.StringExpression0(contents, false);
  122708. },
  122709. $signature: 612
  122710. };
  122711. A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
  122712. call$0() {
  122713. var t1 = this.$this.scanner,
  122714. _0_0 = t1.peekChar$0();
  122715. $label0$0: {
  122716. if (61 === _0_0) {
  122717. t1 = t1.peekChar$1(1) !== 61;
  122718. break $label0$0;
  122719. }
  122720. if (60 === _0_0 || 62 === _0_0) {
  122721. t1 = true;
  122722. break $label0$0;
  122723. }
  122724. t1 = false;
  122725. break $label0$0;
  122726. }
  122727. return t1;
  122728. },
  122729. $signature: 21
  122730. };
  122731. A.StylesheetParser__publicIdentifier_closure0.prototype = {
  122732. call$0() {
  122733. return this.$this.scanner.spanFrom$1(this.start);
  122734. },
  122735. $signature: 27
  122736. };
  122737. A.Stylesheet0.prototype = {
  122738. Stylesheet$internal$5$globalVariables$plainCss0(children, span, parseTimeWarnings, globalVariables, plainCss) {
  122739. var t1, t2, t3, t4, _i, child;
  122740. for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
  122741. child = t1[_i];
  122742. if (child instanceof A.UseRule0) {
  122743. t4.push(child);
  122744. continue;
  122745. }
  122746. if (child instanceof A.ForwardRule0) {
  122747. t3.push(child);
  122748. continue;
  122749. }
  122750. if (child instanceof A.SilentComment0 || child instanceof A.LoudComment0 || child instanceof A.VariableDeclaration0)
  122751. continue;
  122752. break;
  122753. }
  122754. },
  122755. accept$1$1(visitor) {
  122756. return visitor.visitStylesheet$1(0, this);
  122757. },
  122758. accept$1(visitor) {
  122759. return this.accept$1$1(visitor, type$.dynamic);
  122760. },
  122761. toString$0(_) {
  122762. var t1 = this.children;
  122763. return (t1 && B.JSArray_methods).join$1(t1, " ");
  122764. },
  122765. get$span(receiver) {
  122766. return this.span;
  122767. }
  122768. };
  122769. A.SupportsExpression0.prototype = {
  122770. get$span(_) {
  122771. var t1 = this.condition;
  122772. return t1.get$span(t1);
  122773. },
  122774. accept$1$1(visitor) {
  122775. return visitor.visitSupportsExpression$1(0, this);
  122776. },
  122777. accept$1(visitor) {
  122778. return this.accept$1$1(visitor, type$.dynamic);
  122779. },
  122780. toString$0(_) {
  122781. return this.condition.toString$0(0);
  122782. }
  122783. };
  122784. A.ModifiableCssSupportsRule0.prototype = {
  122785. accept$1$1(visitor) {
  122786. return visitor.visitCssSupportsRule$1(this);
  122787. },
  122788. accept$1(visitor) {
  122789. return this.accept$1$1(visitor, type$.dynamic);
  122790. },
  122791. equalsIgnoringChildren$1(other) {
  122792. var t1, t2;
  122793. if (other instanceof A.ModifiableCssSupportsRule0) {
  122794. t1 = this.condition;
  122795. t2 = other.condition;
  122796. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  122797. } else
  122798. t1 = false;
  122799. return t1;
  122800. },
  122801. copyWithoutChildren$0() {
  122802. return A.ModifiableCssSupportsRule$0(this.condition, this.span);
  122803. },
  122804. get$span(receiver) {
  122805. return this.span;
  122806. }
  122807. };
  122808. A.SupportsRule0.prototype = {
  122809. accept$1$1(visitor) {
  122810. return visitor.visitSupportsRule$1(0, this);
  122811. },
  122812. accept$1(visitor) {
  122813. return this.accept$1$1(visitor, type$.dynamic);
  122814. },
  122815. toString$0(_) {
  122816. var t1 = this.children;
  122817. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  122818. },
  122819. get$span(receiver) {
  122820. return this.span;
  122821. }
  122822. };
  122823. A.JSToDartImporter.prototype = {
  122824. canonicalize$1(_, url) {
  122825. var t1,
  122826. result = A.wrapJSExceptions(new A.JSToDartImporter_canonicalize_closure(this, url));
  122827. if (result == null)
  122828. return null;
  122829. t1 = self.URL;
  122830. if (result instanceof t1)
  122831. return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  122832. t1 = self.Promise;
  122833. if (result instanceof t1)
  122834. A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
  122835. else
  122836. A.jsThrow(new self.Error(string$.The_ca));
  122837. },
  122838. load$1(_, url) {
  122839. var t1, contents, syntax, t2,
  122840. result = A.wrapJSExceptions(new A.JSToDartImporter_load_closure(this, url));
  122841. if (result == null)
  122842. return null;
  122843. t1 = self.Promise;
  122844. if (result instanceof t1)
  122845. A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
  122846. type$.JSImporterResult._as(result);
  122847. t1 = J.getInterceptor$x(result);
  122848. contents = t1.get$contents(result);
  122849. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  122850. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  122851. syntax = t1.get$syntax(result);
  122852. if (contents == null || syntax == null)
  122853. A.jsThrow(new self.Error(string$.The_lo));
  122854. t2 = A.parseSyntax(syntax);
  122855. return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils3__jsToDartUrl$closure()), t2);
  122856. },
  122857. isNonCanonicalScheme$1(scheme) {
  122858. return this._sync$_nonCanonicalSchemes.contains$1(0, scheme);
  122859. }
  122860. };
  122861. A.JSToDartImporter_canonicalize_closure.prototype = {
  122862. call$0() {
  122863. return this.$this._sync$_canonicalize.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  122864. },
  122865. $signature: 37
  122866. };
  122867. A.JSToDartImporter_load_closure.prototype = {
  122868. call$0() {
  122869. return this.$this._sync$_load.call$1(new self.URL(this.url.toString$0(0)));
  122870. },
  122871. $signature: 37
  122872. };
  122873. A.Syntax0.prototype = {
  122874. _enumToString$0() {
  122875. return "Syntax." + this._name;
  122876. },
  122877. toString$0(_) {
  122878. return this._syntax0$_name;
  122879. }
  122880. };
  122881. A.TypeSelector0.prototype = {
  122882. get$specificity() {
  122883. return 1;
  122884. },
  122885. accept$1$1(visitor) {
  122886. return visitor.visitTypeSelector$1(this);
  122887. },
  122888. accept$1(visitor) {
  122889. return this.accept$1$1(visitor, type$.dynamic);
  122890. },
  122891. addSuffix$1(suffix) {
  122892. var t1 = this.name;
  122893. return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace), this.span);
  122894. },
  122895. unify$1(compound) {
  122896. var unified, t1,
  122897. _0_0 = A.IterableExtensions_get_firstOrNull(compound);
  122898. if (_0_0 instanceof A.UniversalSelector0 || _0_0 instanceof A.TypeSelector0) {
  122899. unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
  122900. if (unified == null)
  122901. return null;
  122902. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  122903. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  122904. return t1;
  122905. } else {
  122906. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
  122907. B.JSArray_methods.addAll$1(t1, compound);
  122908. return t1;
  122909. }
  122910. },
  122911. isSuperselector$1(other) {
  122912. var t1, t2, t3;
  122913. if (!this.super$SimpleSelector$isSuperselector0(other)) {
  122914. t1 = false;
  122915. if (other instanceof A.TypeSelector0) {
  122916. t2 = this.name;
  122917. t3 = other.name;
  122918. if (t2.name === t3.name) {
  122919. t1 = t2.namespace;
  122920. t1 = t1 === "*" || t1 == t3.namespace;
  122921. }
  122922. }
  122923. } else
  122924. t1 = true;
  122925. return t1;
  122926. },
  122927. $eq(_, other) {
  122928. if (other == null)
  122929. return false;
  122930. return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
  122931. },
  122932. get$hashCode(_) {
  122933. var t1 = this.name;
  122934. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  122935. }
  122936. };
  122937. A.Types.prototype = {};
  122938. A.UnaryOperationExpression0.prototype = {
  122939. accept$1$1(visitor) {
  122940. return visitor.visitUnaryOperationExpression$1(0, this);
  122941. },
  122942. accept$1(visitor) {
  122943. return this.accept$1$1(visitor, type$.dynamic);
  122944. },
  122945. toString$0(_) {
  122946. var operand,
  122947. t1 = this.operator,
  122948. t2 = t1.operator;
  122949. t1 = t1 === B.UnaryOperator_not_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  122950. operand = this.operand;
  122951. $label0$0: {
  122952. t2 = true;
  122953. if (!(operand instanceof A.BinaryOperationExpression0))
  122954. if (!(operand instanceof A.UnaryOperationExpression0))
  122955. t2 = operand instanceof A.ListExpression0 && !operand.hasBrackets && operand.contents.length >= 2;
  122956. if (t2)
  122957. break $label0$0;
  122958. break $label0$0;
  122959. }
  122960. if (t2)
  122961. t1 += "40";
  122962. t1 += operand.toString$0(0);
  122963. if (t2)
  122964. t1 += "41";
  122965. return t1.charCodeAt(0) == 0 ? t1 : t1;
  122966. },
  122967. get$span(receiver) {
  122968. return this.span;
  122969. }
  122970. };
  122971. A.UnaryOperator0.prototype = {
  122972. _enumToString$0() {
  122973. return "UnaryOperator." + this._name;
  122974. },
  122975. toString$0(_) {
  122976. return this.name;
  122977. }
  122978. };
  122979. A.UnitlessSassNumber0.prototype = {
  122980. get$numeratorUnits(_) {
  122981. return B.List_empty;
  122982. },
  122983. get$denominatorUnits(_) {
  122984. return B.List_empty;
  122985. },
  122986. get$hasUnits() {
  122987. return false;
  122988. },
  122989. get$hasComplexUnits() {
  122990. return false;
  122991. },
  122992. withValue$1(value) {
  122993. return new A.UnitlessSassNumber0(value, null);
  122994. },
  122995. withSlash$2(numerator, denominator) {
  122996. return new A.UnitlessSassNumber0(this._number1$_value, new A._Record_2(numerator, denominator));
  122997. },
  122998. hasUnit$1(unit) {
  122999. return false;
  123000. },
  123001. hasCompatibleUnits$1(other) {
  123002. return other instanceof A.UnitlessSassNumber0;
  123003. },
  123004. hasPossiblyCompatibleUnits$1(other) {
  123005. return other instanceof A.UnitlessSassNumber0;
  123006. },
  123007. compatibleWithUnit$1(unit) {
  123008. return true;
  123009. },
  123010. coerceToMatch$3(other, $name, otherName) {
  123011. return other.withValue$1(this._number1$_value);
  123012. },
  123013. coerceToMatch$1(other) {
  123014. return this.coerceToMatch$3(other, null, null);
  123015. },
  123016. coerceValueToMatch$3(other, $name, otherName) {
  123017. return this._number1$_value;
  123018. },
  123019. coerceValueToMatch$1(other) {
  123020. return this.coerceValueToMatch$3(other, null, null);
  123021. },
  123022. convertToMatch$3(other, $name, otherName) {
  123023. return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
  123024. },
  123025. convertValueToMatch$3(other, $name, otherName) {
  123026. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
  123027. },
  123028. convertValueToMatch$1(other) {
  123029. return this.convertValueToMatch$3(other, null, null);
  123030. },
  123031. coerce$3(newNumerators, newDenominators, $name) {
  123032. return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
  123033. },
  123034. coerce$2(newNumerators, newDenominators) {
  123035. return this.coerce$3(newNumerators, newDenominators, null);
  123036. },
  123037. coerceValue$3(newNumerators, newDenominators, $name) {
  123038. return this._number1$_value;
  123039. },
  123040. coerceValueToUnit$2(unit, $name) {
  123041. return this._number1$_value;
  123042. },
  123043. coerceValueToUnit$1(unit) {
  123044. return this.coerceValueToUnit$2(unit, null);
  123045. },
  123046. greaterThan$1(other) {
  123047. var t1, t2;
  123048. if (other instanceof A.SassNumber0) {
  123049. t1 = this._number1$_value;
  123050. t2 = other._number1$_value;
  123051. return t1 > t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123052. }
  123053. return this.super$SassNumber$greaterThan0(other);
  123054. },
  123055. greaterThanOrEquals$1(other) {
  123056. var t1, t2;
  123057. if (other instanceof A.SassNumber0) {
  123058. t1 = this._number1$_value;
  123059. t2 = other._number1$_value;
  123060. return t1 > t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123061. }
  123062. return this.super$SassNumber$greaterThanOrEquals0(other);
  123063. },
  123064. lessThan$1(other) {
  123065. var t1, t2;
  123066. if (other instanceof A.SassNumber0) {
  123067. t1 = this._number1$_value;
  123068. t2 = other._number1$_value;
  123069. return t1 < t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123070. }
  123071. return this.super$SassNumber$lessThan0(other);
  123072. },
  123073. lessThanOrEquals$1(other) {
  123074. var t1, t2;
  123075. if (other instanceof A.SassNumber0) {
  123076. t1 = this._number1$_value;
  123077. t2 = other._number1$_value;
  123078. return t1 < t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123079. }
  123080. return this.super$SassNumber$lessThanOrEquals0(other);
  123081. },
  123082. modulo$1(other) {
  123083. if (other instanceof A.SassNumber0)
  123084. return other.withValue$1(A.moduloLikeSass0(this._number1$_value, other._number1$_value));
  123085. return this.super$SassNumber$modulo0(other);
  123086. },
  123087. plus$1(other) {
  123088. if (other instanceof A.SassNumber0)
  123089. return other.withValue$1(this._number1$_value + other._number1$_value);
  123090. return this.super$SassNumber$plus0(other);
  123091. },
  123092. minus$1(other) {
  123093. if (other instanceof A.SassNumber0)
  123094. return other.withValue$1(this._number1$_value - other._number1$_value);
  123095. return this.super$SassNumber$minus0(other);
  123096. },
  123097. times$1(other) {
  123098. if (other instanceof A.SassNumber0)
  123099. return other.withValue$1(this._number1$_value * other._number1$_value);
  123100. return this.super$SassNumber$times0(other);
  123101. },
  123102. dividedBy$1(other) {
  123103. var t1, t2;
  123104. if (other instanceof A.SassNumber0) {
  123105. t1 = this._number1$_value / other._number1$_value;
  123106. if (other.get$hasUnits()) {
  123107. t2 = other.get$denominatorUnits(other);
  123108. t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
  123109. t1 = t2;
  123110. } else
  123111. t1 = new A.UnitlessSassNumber0(t1, null);
  123112. return t1;
  123113. }
  123114. return this.super$SassNumber$dividedBy0(other);
  123115. },
  123116. unaryMinus$0() {
  123117. return new A.UnitlessSassNumber0(-this._number1$_value, null);
  123118. },
  123119. $eq(_, other) {
  123120. if (other == null)
  123121. return false;
  123122. return other instanceof A.UnitlessSassNumber0 && A.fuzzyEquals0(this._number1$_value, other._number1$_value);
  123123. },
  123124. get$hashCode(_) {
  123125. var t1 = this.hashCache;
  123126. return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
  123127. }
  123128. };
  123129. A.UniversalSelector0.prototype = {
  123130. get$specificity() {
  123131. return 0;
  123132. },
  123133. accept$1$1(visitor) {
  123134. return visitor.visitUniversalSelector$1(this);
  123135. },
  123136. accept$1(visitor) {
  123137. return this.accept$1$1(visitor, type$.dynamic);
  123138. },
  123139. unify$1(compound) {
  123140. var _0_4, t1, rest, unified, t2, _this = this, _null = null,
  123141. _0_1 = compound.length,
  123142. _0_4_isSet = _0_1 >= 1;
  123143. if (_0_4_isSet) {
  123144. _0_4 = compound[0];
  123145. if (!(_0_4 instanceof A.UniversalSelector0))
  123146. t1 = _0_4 instanceof A.TypeSelector0;
  123147. else
  123148. t1 = true;
  123149. rest = t1 ? B.JSArray_methods.sublist$1(compound, 1) : _null;
  123150. } else {
  123151. rest = _null;
  123152. _0_4 = rest;
  123153. t1 = false;
  123154. }
  123155. if (t1) {
  123156. unified = A.unifyUniversalAndElement0(_this, B.JSArray_methods.get$first(compound));
  123157. if (unified == null)
  123158. return _null;
  123159. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  123160. B.JSArray_methods.addAll$1(t1, rest);
  123161. return t1;
  123162. }
  123163. t1 = false;
  123164. if (_0_1 === 1) {
  123165. if (_0_4_isSet)
  123166. t2 = _0_4;
  123167. else {
  123168. _0_4 = compound[0];
  123169. t2 = _0_4;
  123170. _0_4_isSet = true;
  123171. }
  123172. if (t2 instanceof A.PseudoSelector0) {
  123173. t2 = _0_4_isSet ? _0_4 : compound[0];
  123174. type$.PseudoSelector_2._as(t2);
  123175. t1 = t2.isClass && t2.name === "host" || t2.get$isHostContext();
  123176. }
  123177. }
  123178. if (t1)
  123179. return _null;
  123180. if (_0_1 <= 0)
  123181. return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  123182. t1 = _this.namespace;
  123183. if (t1 == null || t1 === "*")
  123184. t1 = compound;
  123185. else {
  123186. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  123187. B.JSArray_methods.addAll$1(t1, compound);
  123188. }
  123189. return t1;
  123190. },
  123191. isSuperselector$1(other) {
  123192. var t1 = this.namespace;
  123193. if (t1 === "*")
  123194. return true;
  123195. if (other instanceof A.TypeSelector0)
  123196. return t1 == other.name.namespace;
  123197. if (other instanceof A.UniversalSelector0)
  123198. return t1 == other.namespace;
  123199. return t1 == null || this.super$SimpleSelector$isSuperselector0(other);
  123200. },
  123201. $eq(_, other) {
  123202. if (other == null)
  123203. return false;
  123204. return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
  123205. },
  123206. get$hashCode(_) {
  123207. return J.get$hashCode$(this.namespace);
  123208. }
  123209. };
  123210. A.UnprefixedMapView0.prototype = {
  123211. get$keys(_) {
  123212. return new A._UnprefixedKeys0(this);
  123213. },
  123214. $index(_, key) {
  123215. return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
  123216. },
  123217. containsKey$1(key) {
  123218. return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
  123219. },
  123220. remove$1(_, key) {
  123221. var t1 = this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key);
  123222. return t1;
  123223. }
  123224. };
  123225. A._UnprefixedKeys0.prototype = {
  123226. get$iterator(_) {
  123227. var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
  123228. t1 = J.where$1$ax(t1.get$keys(t1), new A._UnprefixedKeys_iterator_closure1(this)).map$1$1(0, new A._UnprefixedKeys_iterator_closure2(this), type$.String);
  123229. return t1.get$iterator(t1);
  123230. },
  123231. contains$1(_, key) {
  123232. return this._unprefixed_map_view0$_view.containsKey$1(key);
  123233. }
  123234. };
  123235. A._UnprefixedKeys_iterator_closure1.prototype = {
  123236. call$1(key) {
  123237. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
  123238. },
  123239. $signature: 5
  123240. };
  123241. A._UnprefixedKeys_iterator_closure2.prototype = {
  123242. call$1(key) {
  123243. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
  123244. },
  123245. $signature: 6
  123246. };
  123247. A.JSUrl0.prototype = {};
  123248. A.UseRule0.prototype = {
  123249. UseRule$4$configuration0(url, namespace, span, configuration) {
  123250. var t1, t2, _i, variable;
  123251. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  123252. variable = t1[_i];
  123253. if (variable.isGuarded)
  123254. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  123255. }
  123256. },
  123257. accept$1$1(visitor) {
  123258. return visitor.visitUseRule$1(0, this);
  123259. },
  123260. accept$1(visitor) {
  123261. return this.accept$1$1(visitor, type$.dynamic);
  123262. },
  123263. toString$0(_) {
  123264. var t1 = this.url,
  123265. t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
  123266. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  123267. dot = B.JSString_methods.indexOf$1(basename, ".");
  123268. t1 = this.namespace;
  123269. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  123270. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  123271. else
  123272. t1 = t2;
  123273. t2 = this.configuration;
  123274. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  123275. return t1.charCodeAt(0) == 0 ? t1 : t1;
  123276. },
  123277. get$span(receiver) {
  123278. return this.span;
  123279. }
  123280. };
  123281. A.UserDefinedCallable0.prototype = {
  123282. get$name(_) {
  123283. return this.declaration.name;
  123284. },
  123285. $isAsyncCallable0: 1,
  123286. $isCallable: 1
  123287. };
  123288. A.resolveImportPath_closure1.prototype = {
  123289. call$0() {
  123290. return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  123291. },
  123292. $signature: 47
  123293. };
  123294. A.resolveImportPath_closure2.prototype = {
  123295. call$0() {
  123296. return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
  123297. },
  123298. $signature: 47
  123299. };
  123300. A._tryPathAsDirectory_closure0.prototype = {
  123301. call$0() {
  123302. return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
  123303. },
  123304. $signature: 47
  123305. };
  123306. A._exactlyOne_closure0.prototype = {
  123307. call$1(path) {
  123308. var t1 = $.$get$context();
  123309. return " " + t1.prettyUri$1(t1.toUri$1(path));
  123310. },
  123311. $signature: 6
  123312. };
  123313. A._PropertyDescriptor0.prototype = {};
  123314. A.futureToPromise_closure0.prototype = {
  123315. call$2(resolve, reject) {
  123316. this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
  123317. },
  123318. $signature: 613
  123319. };
  123320. A.futureToPromise__closure0.prototype = {
  123321. call$1(result) {
  123322. return this.resolve.call$1(result);
  123323. },
  123324. $signature: 38
  123325. };
  123326. A.futureToPromise__closure1.prototype = {
  123327. call$2(error, stackTrace) {
  123328. A.attachTrace0(error, stackTrace);
  123329. this.reject.call$1(error);
  123330. },
  123331. $signature: 46
  123332. };
  123333. A.objectToMap_closure.prototype = {
  123334. call$2(key, value) {
  123335. this.map.$indexSet(0, key, value);
  123336. return value;
  123337. },
  123338. $signature: 127
  123339. };
  123340. A._RequireMain0.prototype = {};
  123341. A.indent_closure0.prototype = {
  123342. call$1(line) {
  123343. return B.JSString_methods.$mul(" ", this.indentation) + line;
  123344. },
  123345. $signature: 6
  123346. };
  123347. A.flattenVertically_closure1.prototype = {
  123348. call$1(inner) {
  123349. return A.QueueList_QueueList$from(inner, this.T);
  123350. },
  123351. $signature() {
  123352. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  123353. }
  123354. };
  123355. A.flattenVertically_closure2.prototype = {
  123356. call$1(queue) {
  123357. this.result.push(queue.removeFirst$0());
  123358. return queue.get$length(0) === 0;
  123359. },
  123360. $signature() {
  123361. return this.T._eval$1("bool(QueueList<0>)");
  123362. }
  123363. };
  123364. A.longestCommonSubsequence_backtrack0.prototype = {
  123365. call$2(i, j) {
  123366. var selection, t1, _this = this;
  123367. if (i === -1 || j === -1)
  123368. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  123369. selection = _this.selections[i][j];
  123370. if (selection != null) {
  123371. t1 = _this.call$2(i - 1, j - 1);
  123372. J.add$1$ax(t1, selection);
  123373. return t1;
  123374. }
  123375. t1 = _this.lengths;
  123376. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  123377. },
  123378. $signature() {
  123379. return this.T._eval$1("List<0>(int,int)");
  123380. }
  123381. };
  123382. A.mapAddAll2_closure0.prototype = {
  123383. call$2(key, inner) {
  123384. var t1 = this.destination,
  123385. _0_0 = t1.$index(0, key);
  123386. if (_0_0 != null)
  123387. _0_0.addAll$1(0, inner);
  123388. else
  123389. t1.$indexSet(0, key, inner);
  123390. },
  123391. $signature() {
  123392. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  123393. }
  123394. };
  123395. A.CssValue0.prototype = {
  123396. $eq(_, other) {
  123397. if (other == null)
  123398. return false;
  123399. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  123400. },
  123401. get$hashCode(_) {
  123402. return J.get$hashCode$(this.value);
  123403. },
  123404. toString$0(_) {
  123405. return J.toString$0$(this.value);
  123406. },
  123407. $isAstNode0: 1,
  123408. get$span(receiver) {
  123409. return this.span;
  123410. }
  123411. };
  123412. A.ValueExpression0.prototype = {
  123413. accept$1$1(visitor) {
  123414. return visitor.visitValueExpression$1(0, this);
  123415. },
  123416. accept$1(visitor) {
  123417. return this.accept$1$1(visitor, type$.dynamic);
  123418. },
  123419. toString$0(_) {
  123420. return this.value.toString$0(0);
  123421. },
  123422. get$span(receiver) {
  123423. return this.span;
  123424. }
  123425. };
  123426. A.valueClass_closure.prototype = {
  123427. call$0() {
  123428. var t2,
  123429. t1 = type$.JSClass,
  123430. jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
  123431. A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
  123432. t1 = type$.String;
  123433. t2 = type$.Function;
  123434. 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));
  123435. 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));
  123436. return jsClass;
  123437. },
  123438. $signature: 15
  123439. };
  123440. A.valueClass__closure.prototype = {
  123441. call$1($self) {
  123442. return J.toString$0$($self);
  123443. },
  123444. $signature: 132
  123445. };
  123446. A.valueClass__closure0.prototype = {
  123447. call$1($self) {
  123448. return new self.immutable.List($self.get$asList());
  123449. },
  123450. $signature: 614
  123451. };
  123452. A.valueClass__closure1.prototype = {
  123453. call$1($self) {
  123454. return $self.get$hasBrackets();
  123455. },
  123456. $signature: 54
  123457. };
  123458. A.valueClass__closure2.prototype = {
  123459. call$1($self) {
  123460. return $self.get$isTruthy();
  123461. },
  123462. $signature: 54
  123463. };
  123464. A.valueClass__closure3.prototype = {
  123465. call$1($self) {
  123466. return $self.get$realNull();
  123467. },
  123468. $signature: 192
  123469. };
  123470. A.valueClass__closure4.prototype = {
  123471. call$1($self) {
  123472. return $self.get$separator($self).separator;
  123473. },
  123474. $signature: 615
  123475. };
  123476. A.valueClass__closure5.prototype = {
  123477. call$3($self, sassIndex, $name) {
  123478. return $self.sassIndexToListIndex$2(sassIndex, $name);
  123479. },
  123480. call$2($self, sassIndex) {
  123481. return this.call$3($self, sassIndex, null);
  123482. },
  123483. "call*": "call$3",
  123484. $requiredArgCount: 2,
  123485. $defaultValues() {
  123486. return [null];
  123487. },
  123488. $signature: 616
  123489. };
  123490. A.valueClass__closure6.prototype = {
  123491. call$2($self, index) {
  123492. return index < 1 && index >= -1 ? $self : self.undefined;
  123493. },
  123494. $signature: 253
  123495. };
  123496. A.valueClass__closure7.prototype = {
  123497. call$2($self, $name) {
  123498. return $self.assertBoolean$1($name);
  123499. },
  123500. call$1($self) {
  123501. return this.call$2($self, null);
  123502. },
  123503. "call*": "call$2",
  123504. $requiredArgCount: 1,
  123505. $defaultValues() {
  123506. return [null];
  123507. },
  123508. $signature: 617
  123509. };
  123510. A.valueClass__closure8.prototype = {
  123511. call$2($self, $name) {
  123512. return $self.assertCalculation$1($name);
  123513. },
  123514. call$1($self) {
  123515. return this.call$2($self, null);
  123516. },
  123517. "call*": "call$2",
  123518. $requiredArgCount: 1,
  123519. $defaultValues() {
  123520. return [null];
  123521. },
  123522. $signature: 618
  123523. };
  123524. A.valueClass__closure9.prototype = {
  123525. call$2($self, $name) {
  123526. return $self.assertColor$1($name);
  123527. },
  123528. call$1($self) {
  123529. return this.call$2($self, null);
  123530. },
  123531. "call*": "call$2",
  123532. $requiredArgCount: 1,
  123533. $defaultValues() {
  123534. return [null];
  123535. },
  123536. $signature: 619
  123537. };
  123538. A.valueClass__closure10.prototype = {
  123539. call$2($self, $name) {
  123540. return $self.assertFunction$1($name);
  123541. },
  123542. call$1($self) {
  123543. return this.call$2($self, null);
  123544. },
  123545. "call*": "call$2",
  123546. $requiredArgCount: 1,
  123547. $defaultValues() {
  123548. return [null];
  123549. },
  123550. $signature: 620
  123551. };
  123552. A.valueClass__closure11.prototype = {
  123553. call$2($self, $name) {
  123554. return $self.assertMap$1($name);
  123555. },
  123556. call$1($self) {
  123557. return this.call$2($self, null);
  123558. },
  123559. "call*": "call$2",
  123560. $requiredArgCount: 1,
  123561. $defaultValues() {
  123562. return [null];
  123563. },
  123564. $signature: 621
  123565. };
  123566. A.valueClass__closure12.prototype = {
  123567. call$2($self, $name) {
  123568. return $self.assertMixin$1($name);
  123569. },
  123570. call$1($self) {
  123571. return this.call$2($self, null);
  123572. },
  123573. "call*": "call$2",
  123574. $requiredArgCount: 1,
  123575. $defaultValues() {
  123576. return [null];
  123577. },
  123578. $signature: 622
  123579. };
  123580. A.valueClass__closure13.prototype = {
  123581. call$2($self, $name) {
  123582. return $self.assertNumber$1($name);
  123583. },
  123584. call$1($self) {
  123585. return this.call$2($self, null);
  123586. },
  123587. "call*": "call$2",
  123588. $requiredArgCount: 1,
  123589. $defaultValues() {
  123590. return [null];
  123591. },
  123592. $signature: 623
  123593. };
  123594. A.valueClass__closure14.prototype = {
  123595. call$2($self, $name) {
  123596. return $self.assertString$1($name);
  123597. },
  123598. call$1($self) {
  123599. return this.call$2($self, null);
  123600. },
  123601. "call*": "call$2",
  123602. $requiredArgCount: 1,
  123603. $defaultValues() {
  123604. return [null];
  123605. },
  123606. $signature: 624
  123607. };
  123608. A.valueClass__closure15.prototype = {
  123609. call$1($self) {
  123610. return $self.tryMap$0();
  123611. },
  123612. $signature: 625
  123613. };
  123614. A.valueClass__closure16.prototype = {
  123615. call$2($self, other) {
  123616. return $self.$eq(0, other);
  123617. },
  123618. $signature: 626
  123619. };
  123620. A.valueClass__closure17.prototype = {
  123621. call$2($self, _) {
  123622. return $self.get$hashCode($self);
  123623. },
  123624. call$1($self) {
  123625. return this.call$2($self, null);
  123626. },
  123627. "call*": "call$2",
  123628. $requiredArgCount: 1,
  123629. $defaultValues() {
  123630. return [null];
  123631. },
  123632. $signature: 627
  123633. };
  123634. A.valueClass__closure18.prototype = {
  123635. call$1($self) {
  123636. return $self.toString$0(0);
  123637. },
  123638. $signature: 214
  123639. };
  123640. A.Value0.prototype = {
  123641. get$isTruthy() {
  123642. return true;
  123643. },
  123644. get$separator(_) {
  123645. return B.ListSeparator_undecided_null_undecided0;
  123646. },
  123647. get$hasBrackets() {
  123648. return false;
  123649. },
  123650. get$asList() {
  123651. return A._setArrayType([this], type$.JSArray_Value_2);
  123652. },
  123653. get$lengthAsList() {
  123654. return 1;
  123655. },
  123656. get$isBlank() {
  123657. return false;
  123658. },
  123659. get$isSpecialNumber() {
  123660. return false;
  123661. },
  123662. get$isVar() {
  123663. return false;
  123664. },
  123665. get$realNull() {
  123666. return this;
  123667. },
  123668. sassIndexToListIndex$2(sassIndex, $name) {
  123669. var t1, index,
  123670. indexValue = sassIndex.assertNumber$1($name);
  123671. if (indexValue.get$hasUnits()) {
  123672. t1 = indexValue.get$unitString();
  123673. 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);
  123674. }
  123675. index = indexValue.assertInt$1($name);
  123676. if (index === 0)
  123677. throw A.wrapException(A.SassScriptException$0("List index may not be 0.", $name));
  123678. if (Math.abs(index) > this.get$lengthAsList())
  123679. throw A.wrapException(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  123680. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  123681. },
  123682. assertBoolean$1($name) {
  123683. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a boolean.", $name));
  123684. },
  123685. assertCalculation$1($name) {
  123686. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a calculation.", $name));
  123687. },
  123688. assertColor$1($name) {
  123689. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a color.", $name));
  123690. },
  123691. assertFunction$1($name) {
  123692. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a function reference.", $name));
  123693. },
  123694. assertMixin$1($name) {
  123695. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a mixin reference.", $name));
  123696. },
  123697. assertMap$1($name) {
  123698. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a map.", $name));
  123699. },
  123700. tryMap$0() {
  123701. return null;
  123702. },
  123703. assertNumber$1($name) {
  123704. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a number.", $name));
  123705. },
  123706. assertNumber$0() {
  123707. return this.assertNumber$1(null);
  123708. },
  123709. assertString$1($name) {
  123710. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a string.", $name));
  123711. },
  123712. assertCommonListStyle$2$allowSlash($name, allowSlash) {
  123713. var invalidSeparator, buffer, t1, _this = this,
  123714. _s8_ = "Expected";
  123715. if (_this.get$separator(_this) !== B.ListSeparator_qVN0)
  123716. invalidSeparator = !allowSlash && _this.get$separator(_this) === B.ListSeparator_bRz0;
  123717. else
  123718. invalidSeparator = true;
  123719. if (!invalidSeparator && !_this.get$hasBrackets())
  123720. return _this.get$asList();
  123721. buffer = new A.StringBuffer(_s8_);
  123722. if (_this.get$hasBrackets()) {
  123723. t1 = "Expected" + " an unbracketed";
  123724. buffer._contents = t1;
  123725. } else
  123726. t1 = _s8_;
  123727. if (invalidSeparator) {
  123728. t1 += _this.get$hasBrackets() ? "," : " a";
  123729. buffer._contents = t1;
  123730. t1 = buffer._contents = t1 + " space-";
  123731. t1 = buffer._contents = (allowSlash ? buffer._contents = t1 + " or slash-" : t1) + "separated";
  123732. }
  123733. buffer._contents = t1 + (" list, was " + _this.toString$0(0));
  123734. throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0), $name));
  123735. },
  123736. _value$_selectorString$1($name) {
  123737. var _0_0 = this._value$_selectorStringOrNull$0();
  123738. if (_0_0 != null)
  123739. return _0_0;
  123740. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + string$.x20is_noav, $name));
  123741. },
  123742. _value$_selectorStringOrNull$0() {
  123743. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  123744. if (_this instanceof A.SassString0)
  123745. return _this._string0$_text;
  123746. if (!(_this instanceof A.SassList0))
  123747. return _null;
  123748. t1 = _this._list1$_contents;
  123749. t2 = t1.length;
  123750. if (t2 === 0)
  123751. return _null;
  123752. result = A._setArrayType([], type$.JSArray_String);
  123753. $label0$1: {
  123754. _1_0 = _this._list1$_separator;
  123755. if (B.ListSeparator_qVN0 === _1_0) {
  123756. for (_i = 0; _i < t2; ++_i) {
  123757. complex = t1[_i];
  123758. if (complex instanceof A.SassString0) {
  123759. result.push(complex._string0$_text);
  123760. continue;
  123761. }
  123762. if (complex instanceof A.SassList0 && B.ListSeparator_qSL0 === complex._list1$_separator) {
  123763. string = complex._value$_selectorStringOrNull$0();
  123764. if (string == null)
  123765. return _null;
  123766. result.push(string);
  123767. continue;
  123768. }
  123769. return _null;
  123770. }
  123771. break $label0$1;
  123772. }
  123773. if (B.ListSeparator_bRz0 === _1_0)
  123774. return _null;
  123775. for (_i = 0; _i < t2; ++_i) {
  123776. compound = t1[_i];
  123777. if (!(compound instanceof A.SassString0))
  123778. return _null;
  123779. result.push(compound._string0$_text);
  123780. }
  123781. }
  123782. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_qVN0 ? ", " : " ");
  123783. },
  123784. withListContents$2$separator(contents, separator) {
  123785. var t1 = separator == null ? this.get$separator(this) : separator,
  123786. t2 = this.get$hasBrackets();
  123787. return A.SassList$0(contents, t1, t2);
  123788. },
  123789. withListContents$1(contents) {
  123790. return this.withListContents$2$separator(contents, null);
  123791. },
  123792. greaterThan$1(other) {
  123793. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  123794. },
  123795. greaterThanOrEquals$1(other) {
  123796. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  123797. },
  123798. lessThan$1(other) {
  123799. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  123800. },
  123801. lessThanOrEquals$1(other) {
  123802. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  123803. },
  123804. times$1(other) {
  123805. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  123806. },
  123807. modulo$1(other) {
  123808. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  123809. },
  123810. plus$1(other) {
  123811. var t1;
  123812. $label0$0: {
  123813. if (other instanceof A.SassString0) {
  123814. t1 = new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
  123815. break $label0$0;
  123816. }
  123817. if (other instanceof A.SassCalculation0)
  123818. A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  123819. t1 = new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
  123820. break $label0$0;
  123821. }
  123822. return t1;
  123823. },
  123824. minus$1(other) {
  123825. 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);
  123826. },
  123827. dividedBy$1(other) {
  123828. return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
  123829. },
  123830. unaryPlus$0() {
  123831. return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
  123832. },
  123833. unaryMinus$0() {
  123834. return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
  123835. },
  123836. unaryNot$0() {
  123837. return B.SassBoolean_false0;
  123838. },
  123839. withoutSlash$0() {
  123840. return this;
  123841. },
  123842. toString$0(_) {
  123843. return A.serializeValue0(this, true, true);
  123844. }
  123845. };
  123846. A.VariableExpression0.prototype = {
  123847. accept$1$1(visitor) {
  123848. return visitor.visitVariableExpression$1(0, this);
  123849. },
  123850. accept$1(visitor) {
  123851. return this.accept$1$1(visitor, type$.dynamic);
  123852. },
  123853. toString$0(_) {
  123854. var t1 = this.span;
  123855. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  123856. },
  123857. get$span(receiver) {
  123858. return this.span;
  123859. }
  123860. };
  123861. A.VariableDeclaration0.prototype = {
  123862. accept$1$1(visitor) {
  123863. return visitor.visitVariableDeclaration$1(0, this);
  123864. },
  123865. accept$1(visitor) {
  123866. return this.accept$1$1(visitor, type$.dynamic);
  123867. },
  123868. toString$0(_) {
  123869. var t1 = this.namespace;
  123870. t1 = t1 != null ? "" + (t1 + ".") : "";
  123871. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  123872. return t1.charCodeAt(0) == 0 ? t1 : t1;
  123873. },
  123874. get$span(receiver) {
  123875. return this.span;
  123876. }
  123877. };
  123878. A.WarnRule0.prototype = {
  123879. accept$1$1(visitor) {
  123880. return visitor.visitWarnRule$1(0, this);
  123881. },
  123882. accept$1(visitor) {
  123883. return this.accept$1$1(visitor, type$.dynamic);
  123884. },
  123885. toString$0(_) {
  123886. return "@warn " + this.expression.toString$0(0) + ";";
  123887. },
  123888. get$span(receiver) {
  123889. return this.span;
  123890. }
  123891. };
  123892. A.WhileRule0.prototype = {
  123893. accept$1$1(visitor) {
  123894. return visitor.visitWhileRule$1(0, this);
  123895. },
  123896. accept$1(visitor) {
  123897. return this.accept$1$1(visitor, type$.dynamic);
  123898. },
  123899. toString$0(_) {
  123900. var t1 = this.children;
  123901. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  123902. },
  123903. get$span(receiver) {
  123904. return this.span;
  123905. }
  123906. };
  123907. A.XyzD50ColorSpace0.prototype = {
  123908. get$isBoundedInternal() {
  123909. return false;
  123910. },
  123911. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  123912. var f0, f1, f2, lightness, a, b, t1, _this = this, _null = null;
  123913. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  123914. f0 = _this._xyz_d50$_convertComponentToLabF$1((x == null ? 0 : x) / 0.9642956764295677);
  123915. f1 = _this._xyz_d50$_convertComponentToLabF$1((y == null ? 0 : y) / 1);
  123916. f2 = _this._xyz_d50$_convertComponentToLabF$1((z == null ? 0 : z) / 0.8251046025104602);
  123917. lightness = missingLightness ? _null : 116 * f1 - 16;
  123918. a = 500 * (f0 - f1);
  123919. b = 200 * (f1 - f2);
  123920. if (dest === B.LabColorSpace_2nT0) {
  123921. t1 = missingA ? _null : a;
  123922. t1 = A.SassColor$_forSpace0(B.LabColorSpace_2nT0, lightness, t1, missingB ? _null : b, alpha, _null);
  123923. } else
  123924. t1 = A.labToLch0(B.LchColorSpace_Bpv0, lightness, a, b, alpha, missingChroma, missingHue);
  123925. return t1;
  123926. }
  123927. return _this.super$ColorSpace$convertLinear0(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  123928. },
  123929. convert$5(dest, x, y, z, alpha) {
  123930. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, false, false, false, false, false);
  123931. },
  123932. _xyz_d50$_convertComponentToLabF$1(component) {
  123933. return component > 0.008856451679035631 ? Math.pow(component, 0.3333333333333333) + 0 : (903.2962962962963 * component + 16) / 116;
  123934. },
  123935. toLinear$1(channel) {
  123936. return channel;
  123937. },
  123938. fromLinear$1(channel) {
  123939. return channel;
  123940. },
  123941. transformationMatrix$1(dest) {
  123942. var t1;
  123943. $label0$0: {
  123944. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  123945. t1 = $.$get$xyzD50ToLinearSrgb0();
  123946. break $label0$0;
  123947. }
  123948. if (B.A98RgbColorSpace_lf20 === dest) {
  123949. t1 = $.$get$xyzD50ToLinearA98Rgb0();
  123950. break $label0$0;
  123951. }
  123952. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  123953. t1 = $.$get$xyzD50ToLinearProphotoRgb0();
  123954. break $label0$0;
  123955. }
  123956. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  123957. t1 = $.$get$xyzD50ToLinearDisplayP30();
  123958. break $label0$0;
  123959. }
  123960. if (B.Rec2020ColorSpace_6oo0 === dest) {
  123961. t1 = $.$get$xyzD50ToLinearRec20200();
  123962. break $label0$0;
  123963. }
  123964. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  123965. t1 = $.$get$xyzD50ToXyzD650();
  123966. break $label0$0;
  123967. }
  123968. if (B.LmsColorSpace_Os30 === dest) {
  123969. t1 = $.$get$xyzD50ToLms0();
  123970. break $label0$0;
  123971. }
  123972. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  123973. break $label0$0;
  123974. }
  123975. return t1;
  123976. }
  123977. };
  123978. A.XyzD65ColorSpace0.prototype = {
  123979. get$isBoundedInternal() {
  123980. return false;
  123981. },
  123982. toLinear$1(channel) {
  123983. return channel;
  123984. },
  123985. fromLinear$1(channel) {
  123986. return channel;
  123987. },
  123988. transformationMatrix$1(dest) {
  123989. var t1;
  123990. $label0$0: {
  123991. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  123992. t1 = $.$get$xyzD65ToLinearSrgb0();
  123993. break $label0$0;
  123994. }
  123995. if (B.A98RgbColorSpace_lf20 === dest) {
  123996. t1 = $.$get$xyzD65ToLinearA98Rgb0();
  123997. break $label0$0;
  123998. }
  123999. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  124000. t1 = $.$get$xyzD65ToLinearProphotoRgb0();
  124001. break $label0$0;
  124002. }
  124003. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  124004. t1 = $.$get$xyzD65ToLinearDisplayP30();
  124005. break $label0$0;
  124006. }
  124007. if (B.Rec2020ColorSpace_6oo0 === dest) {
  124008. t1 = $.$get$xyzD65ToLinearRec20200();
  124009. break $label0$0;
  124010. }
  124011. if (B.XyzD50ColorSpace_2OB0 === dest) {
  124012. t1 = $.$get$xyzD65ToXyzD500();
  124013. break $label0$0;
  124014. }
  124015. if (B.LmsColorSpace_Os30 === dest) {
  124016. t1 = $.$get$xyzD65ToLms0();
  124017. break $label0$0;
  124018. }
  124019. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  124020. break $label0$0;
  124021. }
  124022. return t1;
  124023. }
  124024. };
  124025. (function aliases() {
  124026. var _ = J.LegacyJavaScriptObject.prototype;
  124027. _.super$LegacyJavaScriptObject$toString = _.toString$0;
  124028. _ = A.JsLinkedHashMap.prototype;
  124029. _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
  124030. _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
  124031. _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
  124032. _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
  124033. _ = A._BufferingStreamSubscription.prototype;
  124034. _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
  124035. _.super$_BufferingStreamSubscription$_addError = _._addError$2;
  124036. _ = A.ListBase.prototype;
  124037. _.super$ListBase$setRange = _.setRange$4;
  124038. _ = A.Iterable.prototype;
  124039. _.super$Iterable$where = _.where$1;
  124040. _.super$Iterable$skipWhile = _.skipWhile$1;
  124041. _ = A.ModifiableCssParentNode.prototype;
  124042. _.super$ModifiableCssParentNode$addChild = _.addChild$1;
  124043. _ = A.SimpleSelector.prototype;
  124044. _.super$SimpleSelector$addSuffix = _.addSuffix$1;
  124045. _.super$SimpleSelector$unify = _.unify$1;
  124046. _.super$SimpleSelector$isSuperselector = _.isSuperselector$1;
  124047. _ = A.Parser.prototype;
  124048. _.super$Parser$silentComment = _.silentComment$0;
  124049. _ = A.StylesheetParser.prototype;
  124050. _.super$StylesheetParser$importArgument = _.importArgument$0;
  124051. _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
  124052. _ = A.Value.prototype;
  124053. _.super$Value$assertMap = _.assertMap$1;
  124054. _.super$Value$plus = _.plus$1;
  124055. _.super$Value$minus = _.minus$1;
  124056. _.super$Value$dividedBy = _.dividedBy$1;
  124057. _.super$Value$toString = _.toString$0;
  124058. _ = A.ColorSpace.prototype;
  124059. _.super$ColorSpace$convert = _.convert$5;
  124060. _.super$ColorSpace$convertLinear = _.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness;
  124061. _.super$ColorSpace$transformationMatrix = _.transformationMatrix$1;
  124062. _ = A.SassNumber.prototype;
  124063. _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
  124064. _.super$SassNumber$coerce = _.coerce$3;
  124065. _.super$SassNumber$coerceValue = _.coerceValue$3;
  124066. _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
  124067. _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
  124068. _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
  124069. _.super$SassNumber$greaterThan = _.greaterThan$1;
  124070. _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
  124071. _.super$SassNumber$lessThan = _.lessThan$1;
  124072. _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
  124073. _.super$SassNumber$modulo = _.modulo$1;
  124074. _.super$SassNumber$plus = _.plus$1;
  124075. _.super$SassNumber$minus = _.minus$1;
  124076. _.super$SassNumber$times = _.times$1;
  124077. _.super$SassNumber$dividedBy = _.dividedBy$1;
  124078. _ = A.AnySelectorVisitor.prototype;
  124079. _.super$AnySelectorVisitor$visitComplexSelector = _.visitComplexSelector$1;
  124080. _ = A.EveryCssVisitor.prototype;
  124081. _.super$EveryCssVisitor$visitCssStyleRule = _.visitCssStyleRule$1;
  124082. _ = A.ReplaceExpressionVisitor.prototype;
  124083. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression = _.visitBinaryOperationExpression$1;
  124084. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression = _.visitUnaryOperationExpression$1;
  124085. _ = A.SourceSpanMixin.prototype;
  124086. _.super$SourceSpanMixin$compareTo = _.compareTo$1;
  124087. _.super$SourceSpanMixin$$eq = _.$eq;
  124088. _ = A.StringScanner.prototype;
  124089. _.super$StringScanner$readChar = _.readChar$0;
  124090. _.super$StringScanner$scanChar = _.scanChar$1;
  124091. _.super$StringScanner$scan = _.scan$1;
  124092. _.super$StringScanner$matches = _.matches$1;
  124093. _ = A.AnySelectorVisitor0.prototype;
  124094. _.super$AnySelectorVisitor$visitComplexSelector0 = _.visitComplexSelector$1;
  124095. _ = A.EveryCssVisitor0.prototype;
  124096. _.super$EveryCssVisitor$visitCssStyleRule0 = _.visitCssStyleRule$1;
  124097. _ = A.ModifiableCssParentNode0.prototype;
  124098. _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
  124099. _ = A.SassNumber0.prototype;
  124100. _.super$SassNumber$convertToMatch = _.convertToMatch$3;
  124101. _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
  124102. _.super$SassNumber$coerce0 = _.coerce$3;
  124103. _.super$SassNumber$coerceValue0 = _.coerceValue$3;
  124104. _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
  124105. _.super$SassNumber$coerceToMatch0 = _.coerceToMatch$3;
  124106. _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
  124107. _.super$SassNumber$greaterThan0 = _.greaterThan$1;
  124108. _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
  124109. _.super$SassNumber$lessThan0 = _.lessThan$1;
  124110. _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
  124111. _.super$SassNumber$modulo0 = _.modulo$1;
  124112. _.super$SassNumber$plus0 = _.plus$1;
  124113. _.super$SassNumber$minus0 = _.minus$1;
  124114. _.super$SassNumber$times0 = _.times$1;
  124115. _.super$SassNumber$dividedBy0 = _.dividedBy$1;
  124116. _ = A.Parser1.prototype;
  124117. _.super$Parser$silentComment0 = _.silentComment$0;
  124118. _ = A.ReplaceExpressionVisitor0.prototype;
  124119. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0 = _.visitBinaryOperationExpression$1;
  124120. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0 = _.visitUnaryOperationExpression$1;
  124121. _ = A.SimpleSelector0.prototype;
  124122. _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
  124123. _.super$SimpleSelector$unify0 = _.unify$1;
  124124. _.super$SimpleSelector$isSuperselector0 = _.isSuperselector$1;
  124125. _ = A.ColorSpace0.prototype;
  124126. _.super$ColorSpace$convert0 = _.convert$5;
  124127. _.super$ColorSpace$convertLinear0 = _.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness;
  124128. _.super$ColorSpace$transformationMatrix0 = _.transformationMatrix$1;
  124129. _ = A.StylesheetParser0.prototype;
  124130. _.super$StylesheetParser$importArgument0 = _.importArgument$0;
  124131. _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
  124132. _ = A.Value0.prototype;
  124133. _.super$Value$assertMap0 = _.assertMap$1;
  124134. _.super$Value$plus0 = _.plus$1;
  124135. _.super$Value$minus0 = _.minus$1;
  124136. _.super$Value$dividedBy0 = _.dividedBy$1;
  124137. _.super$Value$toString0 = _.toString$0;
  124138. })();
  124139. (function installTearOffs() {
  124140. var _static_2 = hunkHelpers._static_2,
  124141. _instance_1_i = hunkHelpers._instance_1i,
  124142. _instance_1_u = hunkHelpers._instance_1u,
  124143. _static_1 = hunkHelpers._static_1,
  124144. _static_0 = hunkHelpers._static_0,
  124145. _static = hunkHelpers.installStaticTearOff,
  124146. _instance = hunkHelpers.installInstanceTearOff,
  124147. _instance_2_u = hunkHelpers._instance_2u,
  124148. _instance_0_i = hunkHelpers._instance_0i,
  124149. _instance_0_u = hunkHelpers._instance_0u;
  124150. _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 209);
  124151. _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 9);
  124152. _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 9);
  124153. _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 9);
  124154. _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 9);
  124155. _instance_1_i(A.ConstantStringSet.prototype, "get$contains", "contains$1", 9);
  124156. _instance_1_i(A.GeneralConstantSet.prototype, "get$contains", "contains$1", 9);
  124157. _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  124158. _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 137);
  124159. _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 137);
  124160. _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 137);
  124161. _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
  124162. _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 68);
  124163. _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 76);
  124164. _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
  124165. _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 630, 0);
  124166. _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
  124167. return A._rootRun($self, $parent, zone, f, type$.dynamic);
  124168. }], 631, 1);
  124169. _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
  124170. var t1 = type$.dynamic;
  124171. return A._rootRunUnary($self, $parent, zone, f, arg, t1, t1);
  124172. }], 632, 1);
  124173. _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
  124174. var t1 = type$.dynamic;
  124175. return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, t1, t1, t1);
  124176. }], 633, 1);
  124177. _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
  124178. return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
  124179. }], 634, 0);
  124180. _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
  124181. var t1 = type$.dynamic;
  124182. return A._rootRegisterUnaryCallback($self, $parent, zone, f, t1, t1);
  124183. }], 635, 0);
  124184. _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
  124185. var t1 = type$.dynamic;
  124186. return A._rootRegisterBinaryCallback($self, $parent, zone, f, t1, t1, t1);
  124187. }], 636, 0);
  124188. _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 637, 0);
  124189. _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 638, 0);
  124190. _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 639, 0);
  124191. _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 640, 0);
  124192. _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 641, 0);
  124193. _static_1(A, "async___printToZone$closure", "_printToZone", 110);
  124194. _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 642, 0);
  124195. _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
  124196. return [null];
  124197. }, ["call$1", "call$0"], ["complete$1", "complete$0"], 231, 0, 0);
  124198. _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 76);
  124199. var _;
  124200. _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 38);
  124201. _instance(_, "get$addError", 0, 1, function() {
  124202. return [null];
  124203. }, ["call$2", "call$1"], ["addError$2", "addError$1"], 145, 0, 0);
  124204. _instance_0_i(_, "get$close", "close$0", 579);
  124205. _instance_1_u(_, "get$_async$_add", "_async$_add$1", 38);
  124206. _instance_2_u(_, "get$_addError", "_addError$2", 76);
  124207. _instance_0_u(_, "get$_close", "_close$0", 0);
  124208. _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  124209. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  124210. _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 575, 0, 0);
  124211. _instance_0_i(_, "get$resume", "resume$0", 0);
  124212. _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
  124213. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  124214. _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 38);
  124215. _instance_2_u(_, "get$_onError", "_onError$2", 76);
  124216. _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
  124217. _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  124218. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  124219. _instance_1_u(_, "get$_handleData", "_handleData$1", 38);
  124220. _instance_2_u(_, "get$_handleError", "_handleError$2", 565);
  124221. _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
  124222. _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 206);
  124223. _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 241);
  124224. _static_2(A, "collection_ListBase__compareAny$closure", "ListBase__compareAny", 209);
  124225. _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 9);
  124226. _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  124227. _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 158, 0, 0);
  124228. _instance_1_i(_, "get$contains", "contains$1", 9);
  124229. _instance_1_i(_, "get$add", "add$1", 9);
  124230. _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 158, 0, 0);
  124231. _instance_1_u(A.MapBase.prototype, "get$containsKey", "containsKey$1", 9);
  124232. _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 9);
  124233. _instance_1_i(A.UnmodifiableSetView.prototype, "get$contains", "contains$1", 9);
  124234. _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 93);
  124235. _instance_1_u(A._JsonMap.prototype, "get$containsKey", "containsKey$1", 9);
  124236. _static_1(A, "core__identityHashCode$closure", "identityHashCode", 241);
  124237. _static_2(A, "core__identical$closure", "identical", 206);
  124238. _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 6);
  124239. _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 9);
  124240. _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 38);
  124241. _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
  124242. return A.max(a, b, type$.num);
  124243. }], 645, 1);
  124244. _instance_1_u(A.ArgResults.prototype, "get$wasParsed", "wasParsed$1", 5);
  124245. _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 38);
  124246. _instance(_, "get$setError", 0, 1, function() {
  124247. return [null];
  124248. }, ["call$2", "call$1"], ["setError$2", "setError$1"], 145, 0, 0);
  124249. _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
  124250. _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
  124251. _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
  124252. _instance_0_u(_, "get$_onCancel", "_onCancel$0", 219);
  124253. _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
  124254. _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  124255. _instance_1_i(A.UnionSet.prototype, "get$contains", "contains$1", 9);
  124256. _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 9);
  124257. _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 9);
  124258. _static_1(A, "version_Version___parse_tearOff$closure", "Version___parse_tearOff", 199);
  124259. _instance_1_u(A.VersionRange.prototype, "get$allows", "allows$1", 629);
  124260. _instance_1_u(A._IsInvisibleVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  124261. _instance_1_u(A._IsBogusVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  124262. _instance_1_u(A._IsUselessVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  124263. _instance_1_u(A.SelectorList.prototype, "get$isSuperselector", "isSuperselector$1", 67);
  124264. _instance_1_u(A.PseudoSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124265. _instance_1_u(A.SimpleSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124266. _instance_1_u(A.TypeSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124267. _instance_1_u(A.UniversalSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124268. _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 246);
  124269. _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 246);
  124270. _static_1(A, "functions___isUnique$closure", "_isUnique", 13);
  124271. _instance_2_u(A.NodePackageImporter.prototype, "get$_compareExpansionKeys", "_compareExpansionKeys$2", 146);
  124272. _instance_0_u(A.CssParser.prototype, "get$silentComment", "silentComment$0", 21);
  124273. _instance_0_u(_ = A.Parser.prototype, "get$silentComment", "silentComment$0", 21);
  124274. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  124275. _instance_0_u(_, "get$string", "string$0", 32);
  124276. _instance(_, "get$error", 1, 2, function() {
  124277. return [null];
  124278. }, ["call$3", "call$2"], ["error$3", "error$2"], 157, 0, 0);
  124279. _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 523, 0, 0);
  124280. _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 121);
  124281. _instance_0_u(_, "get$_functionChild", "_functionChild$0", 121);
  124282. _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"], 521, 0, 0);
  124283. _instance_0_u(_, "get$_number", "_number$0", 508);
  124284. _instance(A.LazyFileSpan.prototype, "get$message", 1, 1, function() {
  124285. return {color: null};
  124286. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 120, 0, 0);
  124287. _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124288. _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124289. _instance(A.MultiSpan.prototype, "get$message", 1, 1, function() {
  124290. return {color: null};
  124291. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 162, 0, 0);
  124292. _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 38);
  124293. _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124294. _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124295. _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 38);
  124296. _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124297. _static_1(A, "utils__isPublic$closure", "isPublic", 5);
  124298. _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 74);
  124299. _instance_1_u(A.ColorChannel.prototype, "get$isAnalogous", "isAnalogous$1", 92);
  124300. _instance_1_u(A.SrgbColorSpace.prototype, "get$toLinear", "toLinear$1", 16);
  124301. _instance_1_u(A.AnySelectorVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  124302. _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"], 396, 0, 0);
  124303. _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 165);
  124304. _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"], 312, 0, 0);
  124305. _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 165);
  124306. _instance_1_i(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 271);
  124307. _instance_1_u(_, "get$visitChildren", "visitChildren$1", 272);
  124308. _instance_1_u(_ = A.SelectorSearchVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor.T?(ComplexSelector)");
  124309. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor.T?(SelectorList)");
  124310. _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 275);
  124311. _instance_1_u(_, "get$_specificities", "_specificities$1", 276);
  124312. _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 89);
  124313. _instance(_, "get$_writeChannel", 0, 1, null, ["call$2", "call$1"], ["_writeChannel$2", "_writeChannel$1"], 269, 0, 0);
  124314. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 278);
  124315. _instance_1_u(_, "get$_requiresSemicolon", "_requiresSemicolon$1", 8);
  124316. _instance_1_i(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
  124317. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
  124318. _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
  124319. return {color: null};
  124320. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 120, 0, 0);
  124321. _static_1(A, "frame_Frame___parseVM_tearOff$closure", "Frame___parseVM_tearOff", 87);
  124322. _static_1(A, "frame_Frame___parseV8_tearOff$closure", "Frame___parseV8_tearOff", 87);
  124323. _static_1(A, "frame_Frame___parseFirefox_tearOff$closure", "Frame___parseFirefox_tearOff", 87);
  124324. _static_1(A, "frame_Frame___parseFriendly_tearOff$closure", "Frame___parseFriendly_tearOff", 87);
  124325. _static_1(A, "trace_Trace___parseVM_tearOff$closure", "Trace___parseVM_tearOff", 213);
  124326. _static_1(A, "trace_Trace___parseFriendly_tearOff$closure", "Trace___parseFriendly_tearOff", 213);
  124327. _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
  124328. return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
  124329. }], 648, 0);
  124330. _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
  124331. return A._collect($event, soFar, type$.dynamic);
  124332. }], 649, 0);
  124333. _instance_1_u(A.AnySelectorVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  124334. _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"], 317, 0, 0);
  124335. _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 142);
  124336. _static_1(A, "calculation1___assertCalculationValue$closure", "_assertCalculationValue", 89);
  124337. _static_1(A, "calculation1___isValidClampArg$closure", "_isValidClampArg", 9);
  124338. _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 74);
  124339. _instance_1_u(A.ColorChannel0.prototype, "get$isAnalogous", "isAnalogous$1", 69);
  124340. _static(A, "compile__compile$closure", 1, function() {
  124341. return [null];
  124342. }, ["call$2", "call$1"], ["compile0", function(path) {
  124343. return A.compile0(path, null);
  124344. }], 650, 0);
  124345. _static(A, "compile__compileString$closure", 1, function() {
  124346. return [null];
  124347. }, ["call$2", "call$1"], ["compileString0", function(text) {
  124348. return A.compileString0(text, null);
  124349. }], 651, 0);
  124350. _static(A, "compile__compileAsync$closure", 1, function() {
  124351. return [null];
  124352. }, ["call$2", "call$1"], ["compileAsync1", function(path) {
  124353. return A.compileAsync1(path, null);
  124354. }], 652, 0);
  124355. _static(A, "compile__compileStringAsync$closure", 1, function() {
  124356. return [null];
  124357. }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
  124358. return A.compileStringAsync1(text, null);
  124359. }], 653, 0);
  124360. _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 654);
  124361. _static_1(A, "compile___simplifyCalcArg$closure", "_simplifyCalcArg", 74);
  124362. _static_0(A, "compiler__initCompiler$closure", "initCompiler", 655);
  124363. _static_0(A, "compiler__initAsyncCompiler$closure", "initAsyncCompiler", 656);
  124364. _instance_0_u(A.CssParser0.prototype, "get$silentComment", "silentComment$0", 21);
  124365. _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 198);
  124366. _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"], 448, 0, 0);
  124367. _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 142);
  124368. _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 198);
  124369. _static_1(A, "functions0___isUnique$closure", "_isUnique0", 14);
  124370. _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 657);
  124371. _instance(A.LazyFileSpan0.prototype, "get$message", 1, 1, function() {
  124372. return {color: null};
  124373. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 120, 0, 0);
  124374. _static_2(A, "legacy__render$closure", "render", 658);
  124375. _static_1(A, "legacy__renderSync$closure", "renderSync", 659);
  124376. _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124377. _instance_1_u(A.SelectorList0.prototype, "get$isSuperselector", "isSuperselector$1", 79);
  124378. _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124379. _instance(A.MultiSpan0.prototype, "get$message", 1, 1, function() {
  124380. return {color: null};
  124381. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 162, 0, 0);
  124382. _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 38);
  124383. _instance_2_u(A.NodePackageImporter0.prototype, "get$_node_package$_compareExpansionKeys", "_node_package$_compareExpansionKeys$2", 146);
  124384. _static_0(A, "parser0__loadParserExports$closure", "loadParserExports", 660);
  124385. _static(A, "parser0___parse$closure", 3, null, ["call$3"], ["_parse"], 661, 0);
  124386. _static_1(A, "parser0___parseIdentifier$closure", "_parseIdentifier", 662);
  124387. _static_1(A, "parser0___toCssIdentifier$closure", "_toCssIdentifier", 6);
  124388. _instance_0_u(_ = A.Parser1.prototype, "get$silentComment", "silentComment$0", 21);
  124389. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  124390. _instance_0_u(_, "get$string", "string$0", 32);
  124391. _instance(_, "get$error", 1, 2, function() {
  124392. return [null];
  124393. }, ["call$3", "call$2"], ["error$3", "error$2"], 157, 0, 0);
  124394. _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124395. _instance_1_u(A.PseudoSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124396. _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124397. _instance_1_u(A._IsInvisibleVisitor2.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  124398. _instance_1_u(A._IsBogusVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  124399. _instance_1_u(A._IsUselessVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  124400. _instance_1_u(_ = A.SelectorSearchVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor0.T?(ComplexSelector0)");
  124401. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor0.T?(SelectorList0)");
  124402. _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 570);
  124403. _instance_1_u(_, "get$_serialize0$_specificities", "_serialize0$_specificities$1", 571);
  124404. _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 89);
  124405. _instance(_, "get$_serialize0$_writeChannel", 0, 1, null, ["call$2", "call$1"], ["_serialize0$_writeChannel$2", "_serialize0$_writeChannel$1"], 269, 0, 0);
  124406. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 572);
  124407. _instance_1_u(_, "get$_serialize0$_requiresSemicolon", "_serialize0$_requiresSemicolon$1", 7);
  124408. _instance_1_u(A.SimpleSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124409. _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 38);
  124410. _instance_1_u(A.SrgbColorSpace0.prototype, "get$toLinear", "toLinear$1", 16);
  124411. _instance_1_i(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
  124412. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
  124413. _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 591, 0, 0);
  124414. _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 136);
  124415. _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 136);
  124416. _instance_0_u(_, "get$_stylesheet0$_number", "_stylesheet0$_number$0", 593);
  124417. _instance_1_u(A.TypeSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124418. _instance_1_u(A.UniversalSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124419. _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124420. _static_1(A, "utils3__jsToDartUrl$closure", "jsToDartUrl", 663);
  124421. _static_1(A, "utils3__dartToJSUrl$closure", "dartToJSUrl", 230);
  124422. _static_1(A, "utils3__mapToObject$closure", "mapToObject", 664);
  124423. _static_1(A, "utils1__isPublic$closure", "isPublic0", 5);
  124424. _static(A, "path__absolute$closure", 1, function() {
  124425. return [null, null, null, null, null, null, null, null, null, null, null, null, null, null];
  124426. }, ["call$15", "call$1", "call$2", "call$3", "call$4", "call$5", "call$6"], ["absolute", function(part1) {
  124427. var _null = null;
  124428. return A.absolute(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124429. }, function(part1, part2) {
  124430. var _null = null;
  124431. return A.absolute(part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124432. }, function(part1, part2, part3) {
  124433. var _null = null;
  124434. return A.absolute(part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124435. }, function(part1, part2, part3, part4) {
  124436. var _null = null;
  124437. return A.absolute(part1, part2, part3, part4, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124438. }, function(part1, part2, part3, part4, part5) {
  124439. var _null = null;
  124440. return A.absolute(part1, part2, part3, part4, part5, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124441. }, function(part1, part2, part3, part4, part5, part6) {
  124442. var _null = null;
  124443. return A.absolute(part1, part2, part3, part4, part5, part6, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124444. }], 665, 0);
  124445. _static_1(A, "path__toUri$closure", "toUri", 122);
  124446. _static_1(A, "path__prettyUri$closure", "prettyUri", 666);
  124447. _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 50);
  124448. _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 50);
  124449. _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 50);
  124450. _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 50);
  124451. _static_2(A, "number0__moduloLikeSass$closure", "moduloLikeSass", 61);
  124452. _static_1(A, "number0__sqrt$closure", "sqrt", 57);
  124453. _static_1(A, "number0__sin$closure", "sin", 57);
  124454. _static_1(A, "number0__cos$closure", "cos", 57);
  124455. _static_1(A, "number0__tan$closure", "tan", 57);
  124456. _static_1(A, "number0__atan$closure", "atan", 57);
  124457. _static_1(A, "number0__asin$closure", "asin", 57);
  124458. _static_1(A, "number0__acos$closure", "acos", 57);
  124459. _static_1(A, "utils0__srgbAndDisplayP3FromLinear$closure", "srgbAndDisplayP3FromLinear", 16);
  124460. _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 50);
  124461. _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 50);
  124462. _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 50);
  124463. _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 50);
  124464. _static_2(A, "number2__moduloLikeSass$closure", "moduloLikeSass0", 61);
  124465. _static_1(A, "number2__sqrt$closure", "sqrt0", 53);
  124466. _static_1(A, "number2__sin$closure", "sin0", 53);
  124467. _static_1(A, "number2__cos$closure", "cos0", 53);
  124468. _static_1(A, "number2__tan$closure", "tan0", 53);
  124469. _static_1(A, "number2__atan$closure", "atan0", 53);
  124470. _static_1(A, "number2__asin$closure", "asin0", 53);
  124471. _static_1(A, "number2__acos$closure", "acos0", 53);
  124472. _static_1(A, "sass__main$closure", "main1", 494);
  124473. _static_1(A, "utils4__validateUrlScheme$closure", "validateUrlScheme", 110);
  124474. _static_1(A, "utils2__srgbAndDisplayP3FromLinear$closure", "srgbAndDisplayP3FromLinear0", 16);
  124475. _static_1(A, "value0__wrapValue$closure", "wrapValue", 447);
  124476. })();
  124477. (function inheritance() {
  124478. var _mixin = hunkHelpers.mixin,
  124479. _inherit = hunkHelpers.inherit,
  124480. _inheritMany = hunkHelpers.inheritMany;
  124481. _inherit(A.Object, null);
  124482. _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, J.ArrayIterator, A.Iterable, A.CastIterator, A.Closure, A.MapBase, A.Error, A.ListBase, A.SentinelValue, A.ListIterator, A.MappedIterator, A.WhereIterator, A.ExpandIterator, A.TakeIterator, A.SkipIterator, A.SkipWhileIterator, A.EmptyIterator, A.FollowedByIterator, A.WhereTypeIterator, A.NonNullsIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A.Symbol, A._Record, A.MapView, A.ConstantMap, A._KeysOrValuesOrElementsIterator, A.SetBase, A.JSInvocationMirror, A.TypeErrorDecoder, A.NullThrownFromJavaScriptException, A.ExceptionAndStackTrace, A._StackTrace, A._Required, A.LinkedHashMapCell, A.LinkedHashMapKeyIterator, A.LinkedHashMapValueIterator, A.LinkedHashMapEntryIterator, A.JSSyntaxRegExp, A._MatchImplementation, A._AllMatchesIterator, A.StringMatch, A._StringAllMatchesIterator, A._Cell, A.Rti, A._FunctionParameters, A._Type, A._TimerImpl, A._AsyncAwaitCompleter, A._SyncStarIterator, A.AsyncError, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A.Stream, A._StreamController, A._SyncStreamControllerDispatch, A._AsyncStreamControllerDispatch, A._BufferingStreamSubscription, A._AddStreamState, A._DelayedEvent, A._DelayedDone, A._PendingEvents, A._StreamIterator, A._ZoneFunction, A._ZoneSpecification, A._ZoneDelegate, A._Zone, A._HashMapKeyIterator, A._LinkedHashSetCell, A._LinkedHashSetIterator, A._MapBaseValueIterator, A._UnmodifiableMapMixin, A._ListQueueIterator, A._UnmodifiableSetMixin, A.Codec, A.Converter, A._Base64Encoder, A.ByteConversionSink, A._JsonStringifier, A.StringConversionSink, A._Utf8Encoder, A._Utf8Decoder, A.DateTime, A.Duration, A._Enum, A.OutOfMemoryError, A.StackOverflowError, A._Exception, A.FormatException, A.MapEntry, A.Null, A._StringStackTrace, A.RuneIterator, A.StringBuffer, A._Uri, A.UriData, A._SimpleUri, A.Expando, A.NullRejectionException, A._JSRandom, A.ArgParser, A.ArgResults, A.Option, A.OptionType, A.Parser0, A._Usage, A.FutureGroup, A.ErrorResult, A.ValueResult, A.StreamCompleter, A.StreamGroup, A._StreamGroupState, A.StreamQueue, A._NextRequest, A.Repl, A.ReplAdapter, A.DefaultEquality, A.IterableEquality, A.ListEquality, A._MapEntry, A.MapEquality, A._QueueList_Object_ListMixin, A._DelegatingIterableBase, A.UnmodifiableSetMixin, A.Context, A._PathDirection, A._PathRelation, A.Style, A.ParsedPath, A.PathException, A.Version, A.VersionRange, A.CssMediaQuery, A.MediaQuerySuccessfulMergeResult, A.CssNode, A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.CssValue, A._FakeAstNode, A.ArgumentList, A.AtRootQuery, A.ConfiguredVariable, A.Expression, A.DynamicImport, A.StaticImport, A.Interpolation, A.Parameter, A.ParameterList, A.Statement, A.IfRuleClause, A.__HasContentVisitor_Object_StatementSearchVisitor, A.SupportsAnything, A.SupportsDeclaration, A.SupportsFunction, A.SupportsInterpolation, A.SupportsNegation, A.SupportsOperation, A.Selector, A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor, A.ComplexSelectorComponent, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor, A.QualifiedName, A.AsyncEnvironment, A._EnvironmentModule0, A.AsyncImportCache, A.AsyncBuiltInCallable, A.BuiltInCallable, A.PlainCssCallable, A.UserDefinedCallable, A.CompileResult, A.Configuration, A.ConfiguredValue, A.Environment, A._EnvironmentModule, A.SourceSpanException, A.SassScriptException, A.ExecutableOptions, A.UsageException, A._Watcher, A.EmptyExtensionStore, A.Extension, A.Extender, A.ExtensionStore, A.ImportCache, A.AsyncImporter, A.CanonicalizeContext, A.ImporterResult, A.InterpolationBuffer, A.InterpolationMap, A.FileSystemException, A.LoggerWithDeprecationType, A._QuietLogger, A.TrackingLogger, A.BuiltInModule, A.ForwardedModuleView, A.ShadowedModuleView, A.Parser, A.StylesheetGraph, A.StylesheetNode, A.Box, A.ModifiableBox, A.LazyFileSpan, A.MultiDirWatcher, A.MultiSpan, A.NoSourceMapBuffer, A.SourceMapBuffer, A.Value, A.CalculationOperation, A._ColorFormatEnum, A.SpanColorFormat, A.ColorChannel, A.GamutMapMethod, A.InterpolationMethod, A.ColorSpace, A.AnySelectorVisitor, A._EvaluateVisitor0, A._ImportedCssVisitor0, A._EvaluationContext0, A._CloneCssVisitor, A.Evaluator, A._EvaluateVisitor, A._ImportedCssVisitor, A._EvaluationContext, A.EveryCssVisitor, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.DependencyReport, A.IsCalculationSafeVisitor, A.RecursiveStatementVisitor, A.ReplaceExpressionVisitor, A.SelectorSearchVisitor, A._SerializeVisitor, A.StatementSearchVisitor, A.Entry, A.Mapping, A.TargetLineEntry, A.TargetEntry, A.SourceFile, A.SourceLocationMixin, A.SourceSpanMixin, A.Highlighter, A._Highlight, A._Line, A.SourceLocation, A.Chain, A.Frame, A.LazyTrace, A.Trace, A.UnparsedFrame, A.StringScanner, A._SpanScannerState, A.AsciiGlyphSet, A.UnicodeGlyphSet, A.WatchEvent, A.ChangeType, A.ColorSpace0, A.AnySelectorVisitor0, A.SupportsAnything0, A.ArgumentList0, A.Value0, A.AsyncImporter0, A.AsyncBuiltInCallable0, A.AsyncEnvironment0, A._EnvironmentModule2, A._EvaluateVisitor2, A._ImportedCssVisitor2, A._EvaluationContext2, A.AsyncImportCache0, A.Parser1, A.AtRootQuery0, A.Statement0, A.CssNode0, A.Selector0, A.Expression0, A.Box0, A.ModifiableBox0, A.BuiltInCallable0, A.BuiltInModule0, A.CalculationOperation0, A.CalculationInterpolation, A.CanonicalizeContext0, A.ColorChannel0, A.GamutMapMethod0, A._CloneCssVisitor0, A._ColorFormatEnum0, A.SpanColorFormat0, A.CompileResult0, A.Compiler, A.ComplexSelectorComponent0, A.Configuration0, A.ConfiguredValue0, A.ConfiguredVariable0, A.SupportsDeclaration0, A.LoggerWithDeprecationType0, A.DynamicImport0, A.EmptyExtensionStore0, A.Environment0, A._EnvironmentModule1, A._EvaluateVisitor1, A._ImportedCssVisitor1, A._EvaluationContext1, A.EveryCssVisitor0, A.SassScriptException0, A.JSExpressionVisitor, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.Extension0, A.Extender0, A.ExtensionStore0, A.ForwardedModuleView0, A.SupportsFunction0, A.IfRuleClause0, A.NodeImporter, A.ImportCache0, A.Interpolation0, A.SupportsInterpolation0, A.InterpolationBuffer0, A.InterpolationMap0, A.InterpolationMethod0, A.IsCalculationSafeVisitor0, A.FileSystemException0, A.LazyFileSpan0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A.CssMediaQuery0, A.MediaQuerySuccessfulMergeResult0, A.__HasContentVisitor_Object_StatementSearchVisitor0, A.MultiSpan0, A.SupportsNegation0, A.NoSourceMapBuffer0, A._FakeAstNode0, A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.SupportsOperation0, A.Parameter0, A.ParameterList0, A.PlainCssCallable0, A.QualifiedName0, A.ReplaceExpressionVisitor0, A.ImporterResult0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.SelectorSearchVisitor0, A._SerializeVisitor0, A.ShadowedModuleView0, A.SourceInterpolationVisitor, A.SourceMapBuffer0, A.JSStatementVisitor, A.StatementSearchVisitor0, A.StaticImport0, A.UserDefinedCallable0, A.CssValue0]);
  124483. _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JavaScriptBigInt, J.JavaScriptSymbol, J.JSNumber, J.JSString]);
  124484. _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, J.JSArray, A.NativeByteBuffer, A.NativeTypedData]);
  124485. _inheritMany(J.LegacyJavaScriptObject, [J.PlainJavaScriptObject, J.UnknownJavaScriptObject, J.JavaScriptFunction, A.Stdin, A.Stdout, A.ReadlineModule, A.ReadlineOptions, A.ReadlineInterface, A.BufferModule, A.BufferConstants, A.Buffer, A.ConsoleModule, A.Console, A.EventEmitter, A.FS, A.FSConstants, A.FSWatcher, A.ReadStream, A.ReadStreamOptions, A.WriteStream, A.WriteStreamOptions, A.FileOptions, A.StatOptions, A.MkdirOptions, A.RmdirOptions, A.WatchOptions, A.WatchFileOptions, A.Stats, A.Promise, A.Date, A.JsError, A.Atomics, A.Modules, A.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]);
  124486. _inherit(J.JSUnmodifiableArray, J.JSArray);
  124487. _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
  124488. _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]);
  124489. _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
  124490. _inherit(A._EfficientLengthCastIterable, A.CastIterable);
  124491. _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
  124492. _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__chainForeignFuture_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure, A.Stream_Stream$fromFuture_closure, A.Stream_length_closure, A._CustomZone_bindUnaryCallback_closure, A._RootZone_bindUnaryCallback_closure, A._HashMap_values_closure, A._LinkedCustomHashMap_closure, A.MapBase_entries_closure, A._JsonMap_values_closure, A._Uri__makePath_closure, A.jsify__convert, A.promiseToFuture_closure, A.promiseToFuture_closure0, A.ArgParser__addOption_closure, A._Usage__writeOption_closure, A._Usage__buildAllowedList_closure, A.FutureGroup_add_closure, A.StreamGroup__onListen_closure, A.StreamGroup__onCancel_closure, A.StreamQueue__ensureListening_closure, A.alwaysValid_closure, A.ReplAdapter_runAsync__closure, A.UnionSet__iterable_closure, A.UnionSet_contains_closure, A.MapKeySet_difference_closure, A.promiseToFuture_closure1, A.promiseToFuture_closure2, A.futureToPromise__closure, A.Context_joinAll_closure, A.Context_split_closure, A._validateArgList_closure, A.ParsedPath__splitExtension_closure, A.PathMap__create_closure0, A.PathMap__create_closure1, A.WindowsStyle_absolutePathToUri_closure, A.Version__splitParts_closure, A.ModifiableCssNode_hasFollowingSibling_closure, A.ListExpression_toString_closure, A.Interpolation_toString_closure, A.ParameterList_verify_closure, A.ParameterList_verify_closure0, A.EachRule_toString_closure, A.IfRuleClause$__closure, A.IfRuleClause$___closure, A.ParentStatement_closure, A.ParentStatement__closure, A._IsBogusVisitor_visitComplexSelector_closure, A._IsUselessVisitor_visitComplexSelector_closure, A.ComplexSelectorComponent_toString_closure, A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure, A.IDSelector_unify_closure, A.SelectorList_asSassList_closure, A.SelectorList_nestWithin_closure, A.SelectorList_nestWithin__closure, A.SelectorList_nestWithin__closure0, A.SelectorList__nestWithinCompound_closure, A.SelectorList__nestWithinCompound_closure0, A.SelectorList__nestWithinCompound_closure1, A.SelectorList_withAdditionalCombinators_closure, A.PseudoSelector_specificity__closure, A.PseudoSelector_specificity__closure0, A.PseudoSelector_unify_closure, A.SimpleSelector_isSuperselector_closure, A.SimpleSelector_isSuperselector__closure, A._compileStylesheet_closure0, A.AsyncEnvironment__getVariableFromGlobalModule_closure, A.AsyncEnvironment_setVariable_closure0, A.AsyncEnvironment__getFunctionFromGlobalModule_closure, A.AsyncEnvironment__getMixinFromGlobalModule_closure, A.AsyncEnvironment_toModule_closure, A.AsyncEnvironment_toDummyModule_closure, A._EnvironmentModule__EnvironmentModule_closure5, A._EnvironmentModule__EnvironmentModule_closure6, A._EnvironmentModule__EnvironmentModule_closure7, A._EnvironmentModule__EnvironmentModule_closure8, A._EnvironmentModule__EnvironmentModule_closure9, A._EnvironmentModule__EnvironmentModule_closure10, A.AsyncImportCache_humanize_closure, A.AsyncImportCache_humanize_closure0, A.AsyncImportCache_humanize_closure1, A.AsyncImportCache_humanize_closure2, A.AsyncBuiltInCallable$mixin_closure, A.AsyncBuiltInCallable_withDeprecationWarning_closure, A.BuiltInCallable$mixin_closure, A.BuiltInCallable_withDeprecationWarning_closure, A._compileStylesheet_closure, A.Deprecation_fromId_closure, A.Environment__getVariableFromGlobalModule_closure, A.Environment_setVariable_closure0, A.Environment__getFunctionFromGlobalModule_closure, A.Environment__getMixinFromGlobalModule_closure, A.Environment_toModule_closure, A.Environment_toDummyModule_closure, A._EnvironmentModule__EnvironmentModule_closure, A._EnvironmentModule__EnvironmentModule_closure0, A._EnvironmentModule__EnvironmentModule_closure1, A._EnvironmentModule__EnvironmentModule_closure2, A._EnvironmentModule__EnvironmentModule_closure3, A._EnvironmentModule__EnvironmentModule_closure4, A._writeSourceMap_closure, A.ExecutableOptions_emitErrorCss_closure, A.repl_warn, A.watch_closure, A._Watcher__debounceEvents_closure, A.ExtensionStore_extensionsWhereTarget_closure, A.ExtensionStore__extendComplex_closure, A.ExtensionStore__extendComplex__closure, A.ExtensionStore__extendCompound_closure, A.ExtensionStore__extendCompound_closure0, A.ExtensionStore__extendCompound_closure1, A.ExtensionStore__extendSimple_withoutPseudo, A.ExtensionStore__extendSimple_closure, A.ExtensionStore__extendSimple_closure0, A.ExtensionStore__extendPseudo_closure, A.ExtensionStore__extendPseudo_closure0, A.ExtensionStore__extendPseudo_closure1, A.ExtensionStore__extendPseudo_closure2, A.ExtensionStore__extendPseudo_closure3, A.ExtensionStore__trim_closure, A.ExtensionStore__trim_closure0, A.unifyComplex_closure, A._weaveParents_closure0, A._weaveParents_closure1, A._weaveParents_closure2, A._mustUnify_closure, A._mustUnify__closure, A.paths__closure, A.paths___closure, A.listIsSuperselector_closure, A.listIsSuperselector__closure, A.complexIsSuperselector_closure, A.complexIsSuperselector_closure0, A._compatibleWithPreviousCombinator_closure, A.compoundIsSuperselector_closure, A._selectorPseudoIsSuperselector_closure, A._selectorPseudoIsSuperselector_closure0, A._selectorPseudoIsSuperselector_closure1, A._selectorPseudoIsSuperselector_closure2, A._selectorPseudoIsSuperselector_closure3, A._selectorPseudoIsSuperselector__closure, A._selectorPseudoIsSuperselector___closure, A._selectorPseudoIsSuperselector___closure0, A._selectorPseudoIsSuperselector_closure4, A._selectorPseudoIsSuperselector_closure5, A._selectorPseudoArgs_closure, A._selectorPseudoArgs_closure0, A.globalFunctions_closure, A.global_closure0, A.global_closure1, A.global_closure2, A.global_closure3, A.global_closure4, A.global_closure5, A.global_closure6, A.global_closure7, A.global_closure8, A.global_closure9, A.global_closure10, A.global_closure11, A.global_closure12, A.global_closure13, A.global_closure14, A.global_closure15, A.global_closure16, A.global_closure17, A.global_closure18, A.global_closure19, A.global_closure20, A.global_closure21, A.global_closure22, A.global_closure23, A.global_closure24, A.global_closure25, A.global_closure26, A.global_closure27, A.global_closure28, A.global_closure29, A.global_closure30, A.global_closure31, A.global_closure32, A.global_closure33, A.global_closure34, A.global_closure35, A.global__closure, A.global_closure36, A.global_closure37, A.global_closure38, A.global_closure39, A.global_closure40, A.global_closure41, A.global_closure42, A.module_closure1, A.module_closure2, A.module_closure3, A.module_closure4, A.module_closure5, A.module_closure6, A.module_closure7, A.module_closure8, A.module_closure9, A.module_closure10, A.module_closure11, A.module_closure12, A.module_closure13, A.module_closure14, A.module__closure2, A.module_closure15, A.module_closure16, A.module_closure17, A.module_closure18, A.module_closure19, A.module_closure20, A.module_closure21, A.module_closure22, A.module__closure1, A.module_closure23, A.module_closure_toXyzNoMissing, A.module_closure24, A._mix_closure, A._complement_closure, A._adjust_closure, A._scale_closure, A._change_closure, A._ieHexStr_closure, A._ieHexStr_closure_hexString, A._updateComponents_closure, A._updateComponents_closure0, A._adjustColor_closure, A._functionString_closure, A._removedColorFunction_closure, A._rgb_closure, A._hsl_closure, A._parseChannels_closure, A._parseChannels_closure0, A._colorFromChannels_closure, A._colorFromChannels_closure0, A._channelFromValue_closure, A._channelFunction_closure, A._suggestScaleAndAdjust_closure, A._length_closure0, A._nth_closure, A._setNth_closure, A._join_closure, A._append_closure0, A._zip_closure, A._zip__closure, A._zip__closure0, A._zip__closure1, A._index_closure0, A._separator_closure, A._isBracketed_closure, A._slash_closure, A._get_closure, A._set_closure, A._set__closure0, A._set_closure0, A._set__closure, A._merge_closure, A._merge_closure0, A._merge__closure, A._deepMerge_closure, A._deepRemove_closure, A._deepRemove__closure, A._remove_closure, A._remove_closure0, A._keys_closure, A._values_closure, A._hasKey_closure, A._modify_modifyNestedMap, A.global_closure, A.module_closure0, A._ceil_closure, A._clamp_closure, A._floor_closure, A._max_closure, A._min_closure, A._round_closure, A._hypot_closure, A._hypot__closure, A._log_closure, A._pow_closure, A._atan2_closure, A._compatible_closure, A._isUnitless_closure, A._unit_closure, A._percentage_closure, A._randomFunction_closure, A._div_closure, A._singleArgumentMathFunc_closure, A._numberFunction_closure, A._shared_closure, A._shared_closure0, A._shared_closure1, A._shared_closure2, A.moduleFunctions_closure, A.moduleFunctions_closure0, A.moduleFunctions__closure, A.moduleFunctions_closure1, A._nest_closure, A._nest__closure, A._append_closure, A._append__closure, A._append___closure, A._extend_closure, A._replace_closure, A._unify_closure, A._isSuperselector_closure, A._simpleSelectors_closure, A._simpleSelectors__closure, A._parse_closure, A.module_closure, A.module__closure, A.module__closure0, A._unquote_closure, A._quote_closure, A._length_closure, A._insert_closure, A._index_closure, A._slice_closure, A._toUpperCase_closure, A._toLowerCase_closure, A._uniqueId_closure, A.ImportCache_humanize_closure, A.ImportCache_humanize_closure0, A.ImportCache_humanize_closure1, A.ImportCache_humanize_closure2, A.FilesystemImporter_canonicalize_closure, A.NodePackageImporter__nodePackageExportsResolve_closure, A.NodePackageImporter__nodePackageExportsResolve_closure0, A.NodePackageImporter__nodePackageExportsResolve_closure1, A.NodePackageImporter__nodePackageExportsResolve_closure2, A.NodePackageImporter__nodePackageExportsResolve__closure, A.NodePackageImporter__nodePackageExportsResolve__closure0, A.NodePackageImporter__getMainExport_closure, A._exactlyOne_closure, A.InterpolationMap_mapException_closure, A._realCasePath_helper, A._realCasePath_helper__closure, A.readStdin_closure, A.readStdin_closure0, A.readStdin_closure1, A.readStdin_closure2, A.listDir__closure, A.listDir__closure0, A.listDir_closure_list, A.listDir__list_closure, A.watchDir_closure1, A.watchDir_closure2, A.watchDir_closure3, A.watchDir_closure4, A.DeprecationProcessingLogger_summarize_closure, A.DeprecationProcessingLogger_summarize_closure0, A._disallowedFunctionNames_closure, A.Parser_escape_closure, A.Parser_scanIdentChar_matches, A.SassParser_styleRuleSelector_closure, A.SassParser__peekIndentation_closure, A.SassParser__peekIndentation_closure0, A.SassParser__tryTrailingSemicolon_closure, A.StylesheetParser__expression_addSingleExpression, A.StylesheetParser__expression_addOperator, A.StylesheetParser__isHexColor_closure, A.StylesheetParser__unicodeRange_closure, A.StylesheetParser__unicodeRange_closure0, A.StylesheetParser_trySpecialFunction_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime, A.MapExtensions_get_pairs_closure, A._PrefixedKeys_iterator_closure, A.SourceMapBuffer_buildSourceMap_closure, A._UnprefixedKeys_iterator_closure, A._UnprefixedKeys_iterator_closure0, A.indent_closure, A.flattenVertically_closure, A.flattenVertically_closure0, A.SassCalculation__verifyLength_closure, A.SassColor$_forSpace_closure, A.HwbColorSpace_convert_toRgb, A.SassList_isBlank_closure, A.SassNumber__coerceOrConvertValue_closure, A.SassNumber__coerceOrConvertValue_closure1, A.SassNumber_multiplyUnits_closure, A.SassNumber_multiplyUnits_closure1, A.SassNumber__areAnyConvertible_closure, A.SassNumber__canonicalizeUnitList_closure, A.SassNumber_unitSuggestion_closure, A.SassNumber_unitSuggestion_closure0, A.SingleUnitSassNumber__coerceToUnit_closure, A.SingleUnitSassNumber__coerceValueToUnit_closure, A.SingleUnitSassNumber_multiplyUnits_closure, A.AnySelectorVisitor_visitComplexSelector_closure, A.AnySelectorVisitor_visitCompoundSelector_closure, A._EvaluateVisitor_closure12, A._EvaluateVisitor_closure13, A._EvaluateVisitor_closure14, A._EvaluateVisitor_closure15, A._EvaluateVisitor_closure16, A._EvaluateVisitor_closure17, A._EvaluateVisitor_closure18, A._EvaluateVisitor_closure19, A._EvaluateVisitor_closure20, A._EvaluateVisitor_closure21, A._EvaluateVisitor_closure22, A._EvaluateVisitor_closure23, A._EvaluateVisitor_closure24, A._EvaluateVisitor__loadModule__closure1, A._EvaluateVisitor__combineCss_closure1, A._EvaluateVisitor__combineCss_closure2, A._EvaluateVisitor__combineCss_visitModule0, A._EvaluateVisitor__extendModules_closure1, A._EvaluateVisitor__scopeForAtRoot_closure5, A._EvaluateVisitor__scopeForAtRoot_closure6, A._EvaluateVisitor__scopeForAtRoot_closure7, A._EvaluateVisitor__scopeForAtRoot_closure8, A._EvaluateVisitor__scopeForAtRoot_closure9, A._EvaluateVisitor__scopeForAtRoot_closure10, A._EvaluateVisitor_visitEachRule_closure2, A._EvaluateVisitor_visitEachRule_closure3, A._EvaluateVisitor_visitEachRule__closure0, A._EvaluateVisitor_visitEachRule___closure0, A._EvaluateVisitor_visitAtRule_closure2, A._EvaluateVisitor_visitAtRule_closure4, A._EvaluateVisitor_visitForRule__closure0, A._EvaluateVisitor_visitIfRule_closure0, A._EvaluateVisitor_visitIfRule___closure0, A._EvaluateVisitor__visitDynamicImport__closure3, A._EvaluateVisitor__visitDynamicImport__closure4, A._EvaluateVisitor__visitDynamicImport__closure5, A._EvaluateVisitor_visitIncludeRule_closure3, A._EvaluateVisitor_visitMediaRule_closure2, A._EvaluateVisitor_visitMediaRule_closure4, A._EvaluateVisitor_visitStyleRule_closure4, A._EvaluateVisitor_visitStyleRule_closure5, A._EvaluateVisitor__warnForBogusCombinators_closure0, A._EvaluateVisitor_visitSupportsRule_closure2, A._EvaluateVisitor_visitWhileRule__closure0, A._EvaluateVisitor__slash_recommendation0, A._EvaluateVisitor_visitListExpression_closure0, A._EvaluateVisitor_visitFunctionExpression_closure3, A._EvaluateVisitor__visitCalculation_closure0, A._EvaluateVisitor__checkCalculationArguments_check0, A._EvaluateVisitor__visitCalculationExpression__closure0, A._EvaluateVisitor__runUserDefinedCallable____closure0, A._EvaluateVisitor__runBuiltInCallable_closure4, A._EvaluateVisitor__evaluateArguments_closure3, A._EvaluateVisitor__evaluateArguments_closure4, A._EvaluateVisitor__evaluateArguments_closure6, A._EvaluateVisitor__evaluateMacroArguments_closure3, A._EvaluateVisitor__evaluateMacroArguments_closure4, A._EvaluateVisitor__evaluateMacroArguments_closure6, A._EvaluateVisitor_visitCssAtRule_closure2, A._EvaluateVisitor_visitCssKeyframeBlock_closure2, A._EvaluateVisitor_visitCssMediaRule_closure2, A._EvaluateVisitor_visitCssMediaRule_closure4, A._EvaluateVisitor_visitCssStyleRule_closure1, A._EvaluateVisitor_visitCssSupportsRule_closure2, A._EvaluateVisitor__performInterpolationHelper_closure0, A._EvaluateVisitor__withoutSlash_recommendation0, A._EvaluateVisitor__stackFrame_closure0, A._ImportedCssVisitor_visitCssAtRule_closure0, A._ImportedCssVisitor_visitCssMediaRule_closure0, A._ImportedCssVisitor_visitCssStyleRule_closure0, A._ImportedCssVisitor_visitCssSupportsRule_closure0, A._EvaluateVisitor_closure, A._EvaluateVisitor_closure0, A._EvaluateVisitor_closure1, A._EvaluateVisitor_closure2, A._EvaluateVisitor_closure3, A._EvaluateVisitor_closure4, A._EvaluateVisitor_closure5, A._EvaluateVisitor_closure6, A._EvaluateVisitor_closure7, A._EvaluateVisitor_closure8, A._EvaluateVisitor_closure9, A._EvaluateVisitor_closure10, A._EvaluateVisitor_closure11, A._EvaluateVisitor__loadModule__closure, A._EvaluateVisitor__combineCss_closure, A._EvaluateVisitor__combineCss_closure0, A._EvaluateVisitor__combineCss_visitModule, A._EvaluateVisitor__extendModules_closure, A._EvaluateVisitor__scopeForAtRoot_closure, A._EvaluateVisitor__scopeForAtRoot_closure0, A._EvaluateVisitor__scopeForAtRoot_closure1, A._EvaluateVisitor__scopeForAtRoot_closure2, A._EvaluateVisitor__scopeForAtRoot_closure3, A._EvaluateVisitor__scopeForAtRoot_closure4, A._EvaluateVisitor_visitEachRule_closure, A._EvaluateVisitor_visitEachRule_closure0, A._EvaluateVisitor_visitEachRule__closure, A._EvaluateVisitor_visitEachRule___closure, A._EvaluateVisitor_visitAtRule_closure, A._EvaluateVisitor_visitAtRule_closure1, A._EvaluateVisitor_visitForRule__closure, A._EvaluateVisitor_visitIfRule_closure, A._EvaluateVisitor_visitIfRule___closure, A._EvaluateVisitor__visitDynamicImport__closure, A._EvaluateVisitor__visitDynamicImport__closure0, A._EvaluateVisitor__visitDynamicImport__closure1, A._EvaluateVisitor_visitIncludeRule_closure0, A._EvaluateVisitor_visitMediaRule_closure, A._EvaluateVisitor_visitMediaRule_closure1, A._EvaluateVisitor_visitStyleRule_closure0, A._EvaluateVisitor_visitStyleRule_closure1, A._EvaluateVisitor__warnForBogusCombinators_closure, A._EvaluateVisitor_visitSupportsRule_closure0, A._EvaluateVisitor_visitWhileRule__closure, A._EvaluateVisitor__slash_recommendation, A._EvaluateVisitor_visitListExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure0, A._EvaluateVisitor__visitCalculation_closure, A._EvaluateVisitor__checkCalculationArguments_check, A._EvaluateVisitor__visitCalculationExpression__closure, A._EvaluateVisitor__runUserDefinedCallable____closure, A._EvaluateVisitor__runBuiltInCallable_closure1, A._EvaluateVisitor__evaluateArguments_closure, A._EvaluateVisitor__evaluateArguments_closure0, A._EvaluateVisitor__evaluateArguments_closure2, A._EvaluateVisitor__evaluateMacroArguments_closure, A._EvaluateVisitor__evaluateMacroArguments_closure0, A._EvaluateVisitor__evaluateMacroArguments_closure2, A._EvaluateVisitor_visitCssAtRule_closure0, A._EvaluateVisitor_visitCssKeyframeBlock_closure0, A._EvaluateVisitor_visitCssMediaRule_closure, A._EvaluateVisitor_visitCssMediaRule_closure1, A._EvaluateVisitor_visitCssStyleRule_closure, A._EvaluateVisitor_visitCssSupportsRule_closure0, A._EvaluateVisitor__performInterpolationHelper_closure, A._EvaluateVisitor__withoutSlash_recommendation, A._EvaluateVisitor__stackFrame_closure, A._ImportedCssVisitor_visitCssAtRule_closure, A._ImportedCssVisitor_visitCssMediaRule_closure, A._ImportedCssVisitor_visitCssStyleRule_closure, A._ImportedCssVisitor_visitCssSupportsRule_closure, A.EveryCssVisitor_visitCssAtRule_closure, A.EveryCssVisitor_visitCssKeyframeBlock_closure, A.EveryCssVisitor_visitCssMediaRule_closure, A.EveryCssVisitor_visitCssStyleRule_closure, A.EveryCssVisitor_visitCssStylesheet_closure, A.EveryCssVisitor_visitCssSupportsRule_closure, A.IsCalculationSafeVisitor_visitListExpression_closure, A.ReplaceExpressionVisitor_visitListExpression_closure, A.ReplaceExpressionVisitor_visitArgumentList_closure, A.ReplaceExpressionVisitor_visitInterpolation_closure, A.SelectorSearchVisitor_visitComplexSelector_closure, A.SelectorSearchVisitor_visitCompoundSelector_closure, A.serialize_closure, A._SerializeVisitor_visitList_closure, A._SerializeVisitor_visitList_closure0, A._SerializeVisitor_visitList_closure1, A._SerializeVisitor_visitMap_closure, A._SerializeVisitor_visitSelectorList_closure, A.StatementSearchVisitor_visitIfRule_closure, A.StatementSearchVisitor_visitIfRule__closure0, A.StatementSearchVisitor_visitIfRule_closure0, A.StatementSearchVisitor_visitIfRule__closure, A.StatementSearchVisitor_visitChildren_closure, A.SingleMapping_SingleMapping$fromEntries_closure1, A.SingleMapping_toJson_closure, A.Highlighter$__closure, A.Highlighter$___closure, A.Highlighter$__closure0, A.Highlighter__collateLines_closure, A.Highlighter__collateLines_closure1, A.Highlighter__collateLines__closure, A.Highlighter_highlight_closure, A.Chain_Chain$parse_closure, A.Chain_toTrace_closure, A.Chain_toString_closure0, A.Chain_toString__closure0, A.Chain_toString_closure, A.Chain_toString__closure, A.Trace__parseVM_closure, A.Trace$parseV8_closure, A.Trace$parseJSCore_closure, A.Trace$parseFirefox_closure, A.Trace$parseFriendly_closure, A.Trace_terse_closure, A.Trace_foldFrames_closure, A.Trace_foldFrames_closure0, A.Trace_toString_closure0, A.Trace_toString_closure, A.TransformByHandlers_transformByHandlers__closure, A.RateLimit__debounceAggregate_closure0, A.AnySelectorVisitor_visitComplexSelector_closure0, A.AnySelectorVisitor_visitCompoundSelector_closure0, A.argumentListClass__closure, A.argumentListClass__closure0, A.AsyncBuiltInCallable$mixin_closure0, A.AsyncBuiltInCallable_withDeprecationWarning_closure0, A._compileStylesheet_closure2, A.AsyncEnvironment__getVariableFromGlobalModule_closure0, A.AsyncEnvironment_setVariable_closure3, A.AsyncEnvironment__getFunctionFromGlobalModule_closure0, A.AsyncEnvironment__getMixinFromGlobalModule_closure0, A.AsyncEnvironment_toModule_closure0, A.AsyncEnvironment_toDummyModule_closure0, A._EnvironmentModule__EnvironmentModule_closure17, A._EnvironmentModule__EnvironmentModule_closure18, A._EnvironmentModule__EnvironmentModule_closure19, A._EnvironmentModule__EnvironmentModule_closure20, A._EnvironmentModule__EnvironmentModule_closure21, A._EnvironmentModule__EnvironmentModule_closure22, A._EvaluateVisitor_closure38, A._EvaluateVisitor_closure39, A._EvaluateVisitor_closure40, A._EvaluateVisitor_closure41, A._EvaluateVisitor_closure42, A._EvaluateVisitor_closure43, A._EvaluateVisitor_closure44, A._EvaluateVisitor_closure45, A._EvaluateVisitor_closure46, A._EvaluateVisitor_closure47, A._EvaluateVisitor_closure48, A._EvaluateVisitor_closure49, A._EvaluateVisitor_closure50, A._EvaluateVisitor__loadModule__closure5, A._EvaluateVisitor__combineCss_closure5, A._EvaluateVisitor__combineCss_closure6, A._EvaluateVisitor__combineCss_visitModule2, A._EvaluateVisitor__extendModules_closure5, A._EvaluateVisitor__scopeForAtRoot_closure17, A._EvaluateVisitor__scopeForAtRoot_closure18, A._EvaluateVisitor__scopeForAtRoot_closure19, A._EvaluateVisitor__scopeForAtRoot_closure20, A._EvaluateVisitor__scopeForAtRoot_closure21, A._EvaluateVisitor__scopeForAtRoot_closure22, A._EvaluateVisitor_visitEachRule_closure8, A._EvaluateVisitor_visitEachRule_closure9, A._EvaluateVisitor_visitEachRule__closure2, A._EvaluateVisitor_visitEachRule___closure2, A._EvaluateVisitor_visitAtRule_closure8, A._EvaluateVisitor_visitAtRule_closure10, A._EvaluateVisitor_visitForRule__closure2, A._EvaluateVisitor_visitIfRule_closure2, A._EvaluateVisitor_visitIfRule___closure2, A._EvaluateVisitor__visitDynamicImport__closure11, A._EvaluateVisitor__visitDynamicImport__closure12, A._EvaluateVisitor__visitDynamicImport__closure13, A._EvaluateVisitor_visitIncludeRule_closure9, A._EvaluateVisitor_visitMediaRule_closure8, A._EvaluateVisitor_visitMediaRule_closure10, A._EvaluateVisitor_visitStyleRule_closure12, A._EvaluateVisitor_visitStyleRule_closure13, A._EvaluateVisitor__warnForBogusCombinators_closure2, A._EvaluateVisitor_visitSupportsRule_closure6, A._EvaluateVisitor_visitWhileRule__closure2, A._EvaluateVisitor__slash_recommendation2, A._EvaluateVisitor_visitListExpression_closure2, A._EvaluateVisitor_visitFunctionExpression_closure9, A._EvaluateVisitor__visitCalculation_closure2, A._EvaluateVisitor__checkCalculationArguments_check2, A._EvaluateVisitor__visitCalculationExpression__closure2, A._EvaluateVisitor__runUserDefinedCallable____closure2, A._EvaluateVisitor__runBuiltInCallable_closure10, A._EvaluateVisitor__evaluateArguments_closure11, A._EvaluateVisitor__evaluateArguments_closure12, A._EvaluateVisitor__evaluateArguments_closure14, A._EvaluateVisitor__evaluateMacroArguments_closure11, A._EvaluateVisitor__evaluateMacroArguments_closure12, A._EvaluateVisitor__evaluateMacroArguments_closure14, A._EvaluateVisitor_visitCssAtRule_closure6, A._EvaluateVisitor_visitCssKeyframeBlock_closure6, A._EvaluateVisitor_visitCssMediaRule_closure8, A._EvaluateVisitor_visitCssMediaRule_closure10, A._EvaluateVisitor_visitCssStyleRule_closure5, A._EvaluateVisitor_visitCssSupportsRule_closure6, A._EvaluateVisitor__performInterpolationHelper_closure2, A._EvaluateVisitor__withoutSlash_recommendation2, A._EvaluateVisitor__stackFrame_closure2, A._ImportedCssVisitor_visitCssAtRule_closure2, A._ImportedCssVisitor_visitCssMediaRule_closure2, A._ImportedCssVisitor_visitCssStyleRule_closure2, A._ImportedCssVisitor_visitCssSupportsRule_closure2, A.AsyncImportCache_humanize_closure3, A.AsyncImportCache_humanize_closure4, A.AsyncImportCache_humanize_closure5, A.AsyncImportCache_humanize_closure6, A.booleanClass__closure, A.legacyBooleanClass__closure, A.legacyBooleanClass__closure0, A.BuiltInCallable$mixin_closure0, A.BuiltInCallable_withDeprecationWarning_closure0, A.calculationClass__closure, A.calculationClass__closure0, A.calculationClass__closure1, A.calculationClass__closure2, A.calculationClass__closure3, A.calculationClass__closure4, A.calculationClass__closure5, A.calculationOperationClass__closure, A.calculationOperationClass___closure, A.calculationOperationClass__closure1, A.calculationOperationClass__closure2, A.calculationOperationClass__closure3, A.calculationOperationClass__closure4, A.calculationInterpolationClass__closure1, A.calculationInterpolationClass__closure2, A.SassCalculation__verifyLength_closure0, A.updateCanonicalizeContextPrototype_closure, A.updateCanonicalizeContextPrototype_closure0, A.global_closure44, A.global_closure45, A.global_closure46, A.global_closure47, A.global_closure48, A.global_closure49, A.global_closure50, A.global_closure51, A.global_closure52, A.global_closure53, A.global_closure54, A.global_closure55, A.global_closure56, A.global_closure57, A.global_closure58, A.global_closure59, A.global_closure60, A.global_closure61, A.global_closure62, A.global_closure63, A.global_closure64, A.global_closure65, A.global_closure66, A.global_closure67, A.global_closure68, A.global_closure69, A.global_closure70, A.global_closure71, A.global_closure72, A.global_closure73, A.global_closure74, A.global_closure75, A.global_closure76, A.global_closure77, A.global_closure78, A.global_closure79, A.global__closure0, A.global_closure80, A.global_closure81, A.global_closure82, A.global_closure83, A.global_closure84, A.global_closure85, A.global_closure86, A.module_closure27, A.module_closure28, A.module_closure29, A.module_closure30, A.module_closure31, A.module_closure32, A.module_closure33, A.module_closure34, A.module_closure35, A.module_closure36, A.module_closure37, A.module_closure38, A.module_closure39, A.module_closure40, A.module__closure6, A.module_closure41, A.module_closure42, A.module_closure43, A.module_closure44, A.module_closure45, A.module_closure46, A.module_closure47, A.module_closure48, A.module__closure5, A.module_closure49, A.module_closure_toXyzNoMissing0, A.module_closure50, A._mix_closure0, A._complement_closure0, A._adjust_closure0, A._scale_closure0, A._change_closure0, A._ieHexStr_closure0, A._ieHexStr_closure_hexString0, A._updateComponents_closure1, A._updateComponents_closure2, A._adjustColor_closure0, A._functionString_closure0, A._removedColorFunction_closure0, A._rgb_closure0, A._hsl_closure0, A._parseChannels_closure1, A._parseChannels_closure2, A._colorFromChannels_closure1, A._colorFromChannels_closure2, A._channelFromValue_closure0, A._channelFunction_closure0, A._suggestScaleAndAdjust_closure0, A.colorClass__closure1, A.colorClass__closure3, A.colorClass__closure5, A.colorClass__closure7, A.colorClass___closure, A.colorClass__closure_changedValue, A.colorClass__closure9, A.colorClass__closure10, A.colorClass__closure11, A.colorClass__closure12, A.colorClass__closure13, A.colorClass__closure14, A.colorClass__closure15, A.colorClass__closure16, A.colorClass__closure17, A.colorClass__closure18, A.colorClass__closure19, A.colorClass__closure20, A.colorClass__closure21, A.colorClass__closure22, A.legacyColorClass_closure, A.legacyColorClass__closure, A.legacyColorClass_closure0, A.legacyColorClass_closure1, A.legacyColorClass_closure2, A.legacyColorClass_closure3, A.SassColor$_forSpace_closure0, A.compileAsync__closure, A.compileStringAsync__closure, A.compileStringAsync__closure0, A._wrapAsyncSassExceptions_closure, A._parseFunctions__closure2, A._parseFunctions__closure3, A.nodePackageImporterClass__closure, A._compileStylesheet_closure1, A.AsyncCompiler_addCompilation_closure, A.compilerClass__closure, A.compilerClass__closure0, A.compilerClass__closure1, A.compilerClass__closure2, A.asyncCompilerClass__closure, A.asyncCompilerClass__closure0, A.asyncCompilerClass__closure1, A.asyncCompilerClass__closure2, A.ComplexSelectorComponent_toString_closure0, A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0, A._disallowedFunctionNames_closure0, A.Deprecation_fromId_closure0, A.DeprecationProcessingLogger_summarize_closure1, A.DeprecationProcessingLogger_summarize_closure2, A.versionClass__closure, A.versionClass__closure0, A.EachRule_toString_closure0, A.Environment__getVariableFromGlobalModule_closure0, A.Environment_setVariable_closure3, A.Environment__getFunctionFromGlobalModule_closure0, A.Environment__getMixinFromGlobalModule_closure0, A.Environment_toModule_closure0, A.Environment_toDummyModule_closure0, A._EnvironmentModule__EnvironmentModule_closure11, A._EnvironmentModule__EnvironmentModule_closure12, A._EnvironmentModule__EnvironmentModule_closure13, A._EnvironmentModule__EnvironmentModule_closure14, A._EnvironmentModule__EnvironmentModule_closure15, A._EnvironmentModule__EnvironmentModule_closure16, A._EvaluateVisitor_closure25, A._EvaluateVisitor_closure26, A._EvaluateVisitor_closure27, A._EvaluateVisitor_closure28, A._EvaluateVisitor_closure29, A._EvaluateVisitor_closure30, A._EvaluateVisitor_closure31, A._EvaluateVisitor_closure32, A._EvaluateVisitor_closure33, A._EvaluateVisitor_closure34, A._EvaluateVisitor_closure35, A._EvaluateVisitor_closure36, A._EvaluateVisitor_closure37, A._EvaluateVisitor__loadModule__closure3, A._EvaluateVisitor__combineCss_closure3, A._EvaluateVisitor__combineCss_closure4, A._EvaluateVisitor__combineCss_visitModule1, A._EvaluateVisitor__extendModules_closure3, A._EvaluateVisitor__scopeForAtRoot_closure11, A._EvaluateVisitor__scopeForAtRoot_closure12, A._EvaluateVisitor__scopeForAtRoot_closure13, A._EvaluateVisitor__scopeForAtRoot_closure14, A._EvaluateVisitor__scopeForAtRoot_closure15, A._EvaluateVisitor__scopeForAtRoot_closure16, A._EvaluateVisitor_visitEachRule_closure5, A._EvaluateVisitor_visitEachRule_closure6, A._EvaluateVisitor_visitEachRule__closure1, A._EvaluateVisitor_visitEachRule___closure1, A._EvaluateVisitor_visitAtRule_closure5, A._EvaluateVisitor_visitAtRule_closure7, A._EvaluateVisitor_visitForRule__closure1, A._EvaluateVisitor_visitIfRule_closure1, A._EvaluateVisitor_visitIfRule___closure1, A._EvaluateVisitor__visitDynamicImport__closure7, A._EvaluateVisitor__visitDynamicImport__closure8, A._EvaluateVisitor__visitDynamicImport__closure9, A._EvaluateVisitor_visitIncludeRule_closure6, A._EvaluateVisitor_visitMediaRule_closure5, A._EvaluateVisitor_visitMediaRule_closure7, A._EvaluateVisitor_visitStyleRule_closure8, A._EvaluateVisitor_visitStyleRule_closure9, A._EvaluateVisitor__warnForBogusCombinators_closure1, A._EvaluateVisitor_visitSupportsRule_closure4, A._EvaluateVisitor_visitWhileRule__closure1, A._EvaluateVisitor__slash_recommendation1, A._EvaluateVisitor_visitListExpression_closure1, A._EvaluateVisitor_visitFunctionExpression_closure6, A._EvaluateVisitor__visitCalculation_closure1, A._EvaluateVisitor__checkCalculationArguments_check1, A._EvaluateVisitor__visitCalculationExpression__closure1, A._EvaluateVisitor__runUserDefinedCallable____closure1, A._EvaluateVisitor__runBuiltInCallable_closure7, A._EvaluateVisitor__evaluateArguments_closure7, A._EvaluateVisitor__evaluateArguments_closure8, A._EvaluateVisitor__evaluateArguments_closure10, A._EvaluateVisitor__evaluateMacroArguments_closure7, A._EvaluateVisitor__evaluateMacroArguments_closure8, A._EvaluateVisitor__evaluateMacroArguments_closure10, A._EvaluateVisitor_visitCssAtRule_closure4, A._EvaluateVisitor_visitCssKeyframeBlock_closure4, A._EvaluateVisitor_visitCssMediaRule_closure5, A._EvaluateVisitor_visitCssMediaRule_closure7, A._EvaluateVisitor_visitCssStyleRule_closure3, A._EvaluateVisitor_visitCssSupportsRule_closure4, A._EvaluateVisitor__performInterpolationHelper_closure1, A._EvaluateVisitor__withoutSlash_recommendation1, A._EvaluateVisitor__stackFrame_closure1, A._ImportedCssVisitor_visitCssAtRule_closure1, A._ImportedCssVisitor_visitCssMediaRule_closure1, A._ImportedCssVisitor_visitCssStyleRule_closure1, A._ImportedCssVisitor_visitCssSupportsRule_closure1, A.EveryCssVisitor_visitCssAtRule_closure0, A.EveryCssVisitor_visitCssKeyframeBlock_closure0, A.EveryCssVisitor_visitCssMediaRule_closure0, A.EveryCssVisitor_visitCssStyleRule_closure0, A.EveryCssVisitor_visitCssStylesheet_closure0, A.EveryCssVisitor_visitCssSupportsRule_closure0, A.exceptionClass__closure, A.exceptionClass__closure0, A.exceptionClass__closure1, A.ExtensionStore_extensionsWhereTarget_closure0, A.ExtensionStore__extendComplex_closure0, A.ExtensionStore__extendComplex__closure0, A.ExtensionStore__extendCompound_closure2, A.ExtensionStore__extendCompound_closure3, A.ExtensionStore__extendCompound_closure4, A.ExtensionStore__extendSimple_withoutPseudo0, A.ExtensionStore__extendSimple_closure1, A.ExtensionStore__extendSimple_closure2, A.ExtensionStore__extendPseudo_closure4, A.ExtensionStore__extendPseudo_closure5, A.ExtensionStore__extendPseudo_closure6, A.ExtensionStore__extendPseudo_closure7, A.ExtensionStore__extendPseudo_closure8, A.ExtensionStore__trim_closure1, A.ExtensionStore__trim_closure2, A.FilesystemImporter_canonicalize_closure0, A.functionClass__closure, A.functionClass__closure0, A.unifyComplex_closure0, A._weaveParents_closure4, A._weaveParents_closure5, A._weaveParents_closure6, A._mustUnify_closure0, A._mustUnify__closure0, A.paths__closure0, A.paths___closure0, A.listIsSuperselector_closure0, A.listIsSuperselector__closure0, A.complexIsSuperselector_closure1, A.complexIsSuperselector_closure2, A._compatibleWithPreviousCombinator_closure0, A.compoundIsSuperselector_closure0, A._selectorPseudoIsSuperselector_closure6, A._selectorPseudoIsSuperselector_closure7, A._selectorPseudoIsSuperselector_closure8, A._selectorPseudoIsSuperselector_closure9, A._selectorPseudoIsSuperselector_closure10, A._selectorPseudoIsSuperselector__closure0, A._selectorPseudoIsSuperselector___closure1, A._selectorPseudoIsSuperselector___closure2, A._selectorPseudoIsSuperselector_closure11, A._selectorPseudoIsSuperselector_closure12, A._selectorPseudoArgs_closure1, A._selectorPseudoArgs_closure2, A.globalFunctions_closure0, A.HwbColorSpace_convert_toRgb0, A.IDSelector_unify_closure0, A.IfRuleClause$__closure0, A.IfRuleClause$___closure0, A.immutableMapToDartMap_closure, A.NodeImporter__tryPath_closure0, A.ImportCache_humanize_closure3, A.ImportCache_humanize_closure4, A.ImportCache_humanize_closure5, A.ImportCache_humanize_closure6, A.Interpolation_toString_closure0, A.InterpolationMap_mapException_closure0, A._realCasePath_helper0, A._realCasePath_helper__closure0, A.IsCalculationSafeVisitor_visitListExpression_closure0, A.listDir__closure1, A.listDir__closure2, A.listDir_closure_list0, A.listDir__list_closure0, A.render_closure0, A._parseFunctions__closure, A._parseFunctions___closure2, A._parseFunctions__closure0, A._parseFunctions__closure1, A._parseFunctions___closure, A._parseImporter_closure, A._parseImporter__closure, A._parseImporter___closure, A.ListExpression_toString_closure0, A._length_closure2, A._nth_closure0, A._setNth_closure0, A._join_closure0, A._append_closure2, A._zip_closure0, A._zip__closure2, A._zip__closure3, A._zip__closure4, A._index_closure2, A._separator_closure0, A._isBracketed_closure0, A._slash_closure0, A.SelectorList_asSassList_closure0, A.SelectorList_nestWithin_closure0, A.SelectorList_nestWithin__closure1, A.SelectorList_nestWithin__closure2, A.SelectorList__nestWithinCompound_closure2, A.SelectorList__nestWithinCompound_closure3, A.SelectorList__nestWithinCompound_closure4, A.SelectorList_withAdditionalCombinators_closure0, A.listClass__closure, A.legacyListClass_closure, A.legacyListClass__closure, A.legacyListClass_closure1, A.legacyListClass_closure2, A.legacyListClass_closure4, A.SassList_isBlank_closure0, A._get_closure0, A._set_closure1, A._set__closure2, A._set_closure2, A._set__closure1, A._merge_closure1, A._merge_closure2, A._merge__closure0, A._deepMerge_closure0, A._deepRemove_closure0, A._deepRemove__closure0, A._remove_closure1, A._remove_closure2, A._keys_closure0, A._values_closure0, A._hasKey_closure0, A._modify_modifyNestedMap0, A.MapExtensions_get_pairs_closure0, A.mapClass__closure, A.mapClass__closure0, A.legacyMapClass_closure, A.legacyMapClass__closure, A.legacyMapClass__closure0, A.legacyMapClass_closure2, A.legacyMapClass_closure3, A.legacyMapClass_closure4, A.global_closure43, A.module_closure26, A._ceil_closure0, A._clamp_closure0, A._floor_closure0, A._max_closure0, A._min_closure0, A._round_closure0, A._hypot_closure0, A._hypot__closure0, A._log_closure0, A._pow_closure0, A._atan2_closure0, A._compatible_closure0, A._isUnitless_closure0, A._unit_closure0, A._percentage_closure0, A._randomFunction_closure0, A._div_closure0, A._singleArgumentMathFunc_closure0, A._numberFunction_closure0, A._shared_closure3, A._shared_closure4, A._shared_closure5, A._shared_closure6, A.moduleFunctions_closure2, A.moduleFunctions_closure3, A.moduleFunctions__closure0, A.moduleFunctions_closure4, A.mixinClass__closure, A.mixinClass__closure0, A.ModifiableCssNode_hasFollowingSibling_closure0, A.NodePackageImporter__nodePackageExportsResolve_closure3, A.NodePackageImporter__nodePackageExportsResolve_closure4, A.NodePackageImporter__nodePackageExportsResolve_closure5, A.NodePackageImporter__nodePackageExportsResolve_closure6, A.NodePackageImporter__nodePackageExportsResolve__closure1, A.NodePackageImporter__nodePackageExportsResolve__closure2, A.NodePackageImporter__getMainExport_closure0, A.legacyNullClass__closure, A.numberClass__closure, A.numberClass__closure0, A.numberClass__closure1, A.numberClass__closure2, A.numberClass__closure3, A.numberClass__closure4, A.numberClass__closure5, A.numberClass__closure6, A.numberClass__closure7, A.numberClass__closure8, A.numberClass__closure9, A.numberClass__closure12, A.numberClass__closure13, A.numberClass__closure14, A.numberClass__closure15, A.numberClass__closure16, A.numberClass__closure17, A.numberClass__closure18, A.numberClass__closure19, A.legacyNumberClass_closure, A.legacyNumberClass_closure0, A.legacyNumberClass_closure2, A._parseNumber_closure, A._parseNumber_closure0, A.SassNumber__coerceOrConvertValue_closure3, A.SassNumber__coerceOrConvertValue_closure5, A.SassNumber_multiplyUnits_closure3, A.SassNumber_multiplyUnits_closure5, A.SassNumber__areAnyConvertible_closure0, A.SassNumber__canonicalizeUnitList_closure0, A.SassNumber_unitSuggestion_closure1, A.SassNumber_unitSuggestion_closure2, A.ParameterList_verify_closure1, A.ParameterList_verify_closure2, A.ParentStatement_closure0, A.ParentStatement__closure0, A.loadParserExports_closure, A.loadParserExports_closure0, A.loadParserExports_closure1, A._updateAstPrototypes_closure, A._updateAstPrototypes_closure0, A._updateAstPrototypes_closure1, A._updateAstPrototypes_closure4, A._updateAstPrototypes_closure5, A._updateAstPrototypes_closure6, A._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]);
  124493. _inheritMany(A.Closure2Args, [A._CastListBase_sort_closure, A.CastMap_forEach_closure, A.Primitives_functionNoSuchMethod_closure, A.JsLinkedHashMap_addAll_closure, A.initHooks_closure0, A._awaitOnObject_closure0, A._wrapJsFunctionForAsync_closure, A.Future_wait_handleError, A._Future__chainForeignFuture_closure0, A._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]);
  124494. _inherit(A.CastList, A._CastListBase);
  124495. _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A._JsonMap, A.MergedMapView, A.MergedMapView0]);
  124496. _inheritMany(A.Error, [A.LateError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A._CyclicInitializationError, A.RuntimeError, A._Error, A.JsonUnsupportedObjectError, A.AssertionError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError]);
  124497. _inherit(A.UnmodifiableListBase, A.ListBase);
  124498. _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
  124499. _inheritMany(A.Closure0Args, [A.nullFuture_closure, A._AsyncRun__scheduleImmediateJsOverride_internalCallback, A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback, A._TimerImpl_internalCallback, A._TimerImpl$periodic_closure, A._Future__addListener_closure, A._Future__prependListeners_closure, A._Future__chainForeignFuture_closure1, A._Future__chainCoreFuture_closure, A._Future__asyncCompleteWithValue_closure, A._Future__asyncCompleteError_closure, A._Future__propagateToListeners_handleWhenCompleteCallback, A._Future__propagateToListeners_handleValueCallback, A._Future__propagateToListeners_handleError, A.Stream_length_closure0, A._StreamController__subscribe_closure, A._StreamController__recordCancel_complete, A._AddStreamState_cancel_closure, A._BufferingStreamSubscription__sendError_sendError, A._BufferingStreamSubscription__sendDone_sendDone, A._PendingEvents_schedule_closure, A._CustomZone_bindCallback_closure, A._CustomZone_bindCallbackGuarded_closure, A._rootHandleError_closure, A._RootZone_bindCallback_closure, A._RootZone_bindCallbackGuarded_closure, A._Utf8Decoder__decoder_closure, A._Utf8Decoder__decoderNonfatal_closure, A.Parser__setOption_closure, A.StreamGroup_add_closure, A.StreamGroup_add_closure0, A.StreamGroup__listenToStream_closure, A.StreamQueue__ensureListening_closure0, A._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.ensureDir_closure, A.listDir_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.listDir_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]);
  124500. _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeysIterable, A.LinkedHashMapValuesIterable, A.LinkedHashMapEntriesIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
  124501. _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._JsonMapKeyIterable, A._GeneratorIterable]);
  124502. _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
  124503. _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
  124504. _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
  124505. _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
  124506. _inheritMany(A._Record, [A._Record1, A._Record2, A._Record3, A._RecordN]);
  124507. _inherit(A._Record_1, A._Record1);
  124508. _inheritMany(A._Record2, [A._Record_2, A._Record_2_forImport, A._Record_2_imports_modules, A._Record_2_loadedUrls_stylesheet, A._Record_2_sourceMap]);
  124509. _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]);
  124510. _inherit(A._Record_5_named_namedNodes_positional_positionalNodes_separator, A._RecordN);
  124511. _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
  124512. _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
  124513. _inherit(A.ConstantMapView, A.UnmodifiableMapView);
  124514. _inherit(A.ConstantStringMap, A.ConstantMap);
  124515. _inheritMany(A.SetBase, [A.ConstantSet, A._SetBase, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnionSet_SetBase_UnmodifiableSetMixin]);
  124516. _inheritMany(A.ConstantSet, [A.ConstantStringSet, A.GeneralConstantSet]);
  124517. _inherit(A.Instantiation1, A.Instantiation);
  124518. _inherit(A.NullError, A.TypeError);
  124519. _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
  124520. _inheritMany(A.JsLinkedHashMap, [A.JsIdentityLinkedHashMap, A.JsConstantLinkedHashMap, A._LinkedCustomHashMap]);
  124521. _inheritMany(A.NativeTypedData, [A.NativeByteData, A.NativeTypedArray]);
  124522. _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
  124523. _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
  124524. _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
  124525. _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
  124526. _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
  124527. _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
  124528. _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
  124529. _inherit(A._TypeError, A._Error);
  124530. _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
  124531. _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
  124532. _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
  124533. _inherit(A._ControllerStream, A._StreamImpl);
  124534. _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
  124535. _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
  124536. _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
  124537. _inherit(A._MapStream, A._ForwardingStream);
  124538. _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
  124539. _inherit(A._IdentityHashMap, A._HashMap);
  124540. _inherit(A._LinkedHashSet, A._SetBase);
  124541. _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
  124542. _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin);
  124543. _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
  124544. _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
  124545. _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.JsonDecoder, A.Utf8Encoder, A.Utf8Decoder]);
  124546. _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
  124547. _inheritMany(A.ByteConversionSink, [A._Base64EncoderSink, A._Utf8StringSinkAdapter]);
  124548. _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
  124549. _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
  124550. _inherit(A._JsonStringStringifier, A._JsonStringifier);
  124551. _inherit(A._StringSinkConversionSink, A.StringConversionSink);
  124552. _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
  124553. _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
  124554. _inherit(A._DataUri, A._Uri);
  124555. _inherit(A.ArgParserException, A.FormatException);
  124556. _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
  124557. _inherit(A.QueueList, A._QueueList_Object_ListMixin);
  124558. _inherit(A._CastQueueList, A.QueueList);
  124559. _inherit(A.UnionSet, A._UnionSet_SetBase_UnmodifiableSetMixin);
  124560. _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
  124561. _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
  124562. _inherit(A.UnmodifiableSetView0, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
  124563. _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
  124564. _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
  124565. _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
  124566. _inherit(A.InternalStyle, A.Style);
  124567. _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
  124568. _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]);
  124569. _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
  124570. _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
  124571. _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
  124572. _inherit(A._IsInvisibleVisitor, A.__IsInvisibleVisitor_Object_EveryCssVisitor);
  124573. _inherit(A.CssStylesheet, A.CssParentNode);
  124574. _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]);
  124575. _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]);
  124576. _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]);
  124577. _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
  124578. _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
  124579. _inherit(A._HasContentVisitor, A.__HasContentVisitor_Object_StatementSearchVisitor);
  124580. _inherit(A._IsInvisibleVisitor0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor);
  124581. _inherit(A._IsBogusVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor);
  124582. _inherit(A._IsUselessVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor);
  124583. _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
  124584. _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
  124585. _inherit(A._ParentSelectorVisitor, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor);
  124586. _inherit(A.ExplicitConfiguration, A.Configuration);
  124587. _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.MultiSourceSpanException, A.SassException0]);
  124588. _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
  124589. _inheritMany(A.MultiSpanSassException, [A.MultiSpanSassRuntimeException, A.MultiSpanSassFormatException]);
  124590. _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
  124591. _inherit(A.MergedExtension, A.Extension);
  124592. _inherit(A.Importer, A.AsyncImporter);
  124593. _inheritMany(A.Importer, [A.FilesystemImporter, A.NoOpImporter, A.NodePackageImporter]);
  124594. _inheritMany(A.LoggerWithDeprecationType, [A.DeprecationProcessingLogger, A.StderrLogger]);
  124595. _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
  124596. _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
  124597. _inherit(A.CssParser, A.ScssParser);
  124598. _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
  124599. _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A.SassMixin, A._SassNull, A.SassNumber, A.SassString]);
  124600. _inherit(A.SassArgumentList, A.SassList);
  124601. _inherit(A.LinearChannel, A.ColorChannel);
  124602. _inheritMany(A.GamutMapMethod, [A.ClipGamutMap, A.LocalMindeGamutMap]);
  124603. _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]);
  124604. _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
  124605. _inherit(A._MakeExpressionCalculationSafe, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor);
  124606. _inherit(A._FindDependenciesVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor);
  124607. _inherit(A.SingleMapping, A.Mapping);
  124608. _inherit(A.FileLocation, A.SourceLocationMixin);
  124609. _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
  124610. _inherit(A.MultiSourceSpanFormatException, A.MultiSourceSpanException);
  124611. _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
  124612. _inherit(A.StringScannerException, A.SourceSpanFormatException);
  124613. _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
  124614. _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]);
  124615. _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A.SassMixin0, A._SassNull0, A.SassString0]);
  124616. _inherit(A.SassArgumentList0, A.SassList0);
  124617. _inheritMany(A.AsyncImporter0, [A.JSToDartAsyncImporter, A.JSToDartAsyncFileImporter, A.Importer0]);
  124618. _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
  124619. _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]);
  124620. _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]);
  124621. _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
  124622. _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
  124623. _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
  124624. _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
  124625. _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
  124626. _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]);
  124627. _inherit(A.LinearChannel0, A.ColorChannel0);
  124628. _inheritMany(A.GamutMapMethod0, [A.ClipGamutMap0, A.LocalMindeGamutMap0]);
  124629. _inherit(A._ConstructionOptions, A._Channels);
  124630. _inherit(A.CompileStringOptions, A.CompileOptions);
  124631. _inherit(A.AsyncCompiler, A.Compiler);
  124632. _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
  124633. _inherit(A.ExplicitConfiguration0, A.Configuration0);
  124634. _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
  124635. _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
  124636. _inherit(A.CssParser0, A.ScssParser0);
  124637. _inheritMany(A.LoggerWithDeprecationType0, [A.DeprecationProcessingLogger0, A.JSToDartLogger, A.StderrLogger0]);
  124638. _inherit(A._NodeException, A.JsError);
  124639. _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
  124640. _inheritMany(A.MultiSpanSassException0, [A.MultiSpanSassRuntimeException0, A.MultiSpanSassFormatException0]);
  124641. _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
  124642. _inherit(A._MakeExpressionCalculationSafe0, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0);
  124643. _inheritMany(A.Importer0, [A.JSToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter0, A.NodePackageImporter0, A.JSToDartImporter]);
  124644. _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
  124645. _inherit(A._ParentSelectorVisitor0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0);
  124646. _inherit(A.MergedExtension0, A.Extension0);
  124647. _inherit(A._HasContentVisitor0, A.__HasContentVisitor_Object_StatementSearchVisitor0);
  124648. _inherit(A._IsInvisibleVisitor1, A.__IsInvisibleVisitor_Object_EveryCssVisitor0);
  124649. _inherit(A._IsInvisibleVisitor2, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0);
  124650. _inherit(A._IsBogusVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0);
  124651. _inherit(A._IsUselessVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0);
  124652. _inherit(A.CssStylesheet0, A.CssParentNode0);
  124653. _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
  124654. _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListBase);
  124655. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListBase);
  124656. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  124657. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListBase);
  124658. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  124659. _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
  124660. _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
  124661. _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
  124662. _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
  124663. _mixin(A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
  124664. _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  124665. _mixin(A._QueueList_Object_ListMixin, A.ListBase);
  124666. _mixin(A._UnionSet_SetBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  124667. _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  124668. _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  124669. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.EveryCssVisitor);
  124670. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor, A.StatementSearchVisitor);
  124671. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  124672. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  124673. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  124674. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor, A.SelectorSearchVisitor);
  124675. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.ReplaceExpressionVisitor);
  124676. _mixin(A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.RecursiveStatementVisitor);
  124677. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.ReplaceExpressionVisitor0);
  124678. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A.SelectorSearchVisitor0);
  124679. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor0, A.StatementSearchVisitor0);
  124680. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.EveryCssVisitor0);
  124681. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  124682. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  124683. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  124684. })();
  124685. var init = {
  124686. typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
  124687. mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List", Object: "Object", Map: "Map"},
  124688. mangledNames: {},
  124689. types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "Value(List<Value>)", "bool(String)", "String(String)", "bool(CssNode0)", "bool(CssNode)", "bool(Object?)", "int()", "SassBoolean0(List<Value0>)", "SassBoolean(List<Value>)", "bool(SimpleSelector)", "bool(SimpleSelector0)", "JSClass0()", "double(double)", "SassString(List<Value>)", "SassString0(List<Value0>)", "bool(ComplexSelector)", "bool(ComplexSelector0)", "bool()", "SassColor(List<Value>)", "SassNumber(List<Value>)", "SassColor0(List<Value0>)", "SassNumber0(List<Value0>)", "SassList0(List<Value0>)", "FileSpan()", "SassList(List<Value>)", "double(SassColor0)", "bool(int?)", "Future<~>()", "String()", "SassMap(List<Value>)", "SassMap0(List<Value0>)", "Null(~())", "Value()", "Object?()", "~(Object?)", "Future<Null>(Future<~>())", "int(SassColor0)", "Value(Value)", "Value0?()", "Value?()", "Value0(Value0)", "double(SassColor)", "Null(Object,StackTrace)", "String?()", "bool(int)", "Value0()", "bool(num,num)", "Uri(Uri)", "bool(ComplexSelectorComponent)", "SassNumber0(SassNumber0)", "bool(Value0)", "Null(@)", "bool(ComplexSelectorComponent0)", "SassNumber(SassNumber)", "int(SassColor)", "ComplexSelector0(ComplexSelector0)", "~(Value)", "double(double,double)", "~(Value0)", "@()", "ValueExpression0(Value0)", "ComplexSelector(ComplexSelector)", "ValueExpression(Value)", "bool(SelectorList)", "~(@)", "bool(ColorChannel0)", "Future<Value>()", "bool(Object)", "bool(Value)", "Future<Value?>()", "Object(Object)", "Frame()", "~(Object,StackTrace)", "Future<Value0?>()", "Future<Value0>()", "bool(SelectorList0)", "~(Module0<Callable0>,bool)", "Callable0?()", "Value0?(Statement0)", "Value?(Statement)", "Object()", "Future<Value?>(Statement)", "Future<Value0>(List<Value0>)", "Frame(String)", "Null([Object?])", "~(Object)", "int(Uri)", "List<CssMediaQuery>?(List<CssMediaQuery>)", "bool(ColorChannel)", "@(@)", "double(SassNumber0)", "~(Module1<Callable>,bool)", "~(String[Deprecation0?])", "AsyncCallable0?()", "~(Value0,Value0)", "SassRuntimeException0(AstNode0)", "~(Value,Value)", "~(String[Deprecation?])", "Future<Value0?>(Statement0)", "Callable?()", "SassRuntimeException(AstNode)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "Null(_NodeSassColor,num)", "~([int?])", "~(String,Value0)", "~(String,Value)", "~(String)", "AsyncCallable?()", "Stylesheet?()", "String(Expression0)", "Null(Module1<AsyncCallable0>,bool)", "bool(Module1<AsyncCallable0>)", "SassCalculation0(Object)", "bool(_Highlight)", "bool(Expression)", "Null(Module0<AsyncCallable>,bool)", "String(String{color:Object?})", "Statement()", "Uri(String)", "+originalUrl(Importer,Uri,Uri)?()", "double(SassNumber)", "int(_NodeSassColor)", "bool(Module1<Callable>)", "~(String,Object?)", "Map<ComplexSelector,Extension>()", "bool(Module0<Callable0>)", "bool(Module0<AsyncCallable>)", "Map<ComplexSelector0,Extension0>()", "String(Object)", "String(Expression)", "String(@)", "~(String,Function)", "Statement0()", "~(~())", "List<String>()", "~(String,@)", "bool(Expression0)", "bool(Queue<List<ComplexSelectorComponent>>)", "AstNode0(AstNode0)", "SelectorList(SelectorList,SelectorList)", "Uri?()", "~(Object[StackTrace?])", "int(String,String)", "String?(String?)", "String?(Object)", "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)", "List<ExtensionStore>()", "bool(ModifiableCssParentNode)", "AsyncCallable?(Module0<AsyncCallable>)", "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>)", "AstNode?()", "String(SassNumber)", "Future<Value>(List<Value>)", "~(List<Value>)", "SassNumber()", "Expression0(Expression0)", "AtRule0(List<Statement0>,FileSpan)", "SassNumber0()", "Value0?(Value0)", "~(List<Value0>)", "Map<String,Callable>(Module1<Callable>)", "MapKeySet<Module1<Callable>>(Map<Module1<Callable>,AstNode0>)", "Callable?(Module1<Callable>)", "FileLocation(FileSpan)", "~(Iterable<ExtensionStore0>)", "Version(String)", "Set<0&>(Object)", "double()", "AsyncImporter0(Object?)", "Future<NodeCompileResult>()", "AtRootRule0(List<Statement0>,FileSpan)", "int(SourceLocation)", "bool(Object?,Object?)", "String(double)", "ImmutableList0(SassColor0)", "int(@,@)", "~(int)", "double(Value0)", "SelectorList0(SelectorList0,SelectorList0)", "Trace(String)", "String(Value0)", "SelectorList0(Value0)", "String(_NodeException)", "int(ComplexSelector0)", "bool(String?)", "Future<~>?()", "Object(CalculationOperation0)", "0&(@[@])", "0&(Object[Object?])", "String(FileSpan)", "double(SassNumber0,SassNumber0[String?,String?])", "String(SassNumber0)", "double(SassNumber0,Object,Object[String?])", "AstNode0?()", "SassNumber0(SassNumber0,SassNumber0[String?,String?])", "InterpolationMap0(List<SourceLocation>)", "JSUrl0(Uri)", "~([Object?])", "bool(ForwardRule0)", "SassNumber0(SassNumber0,Object,Object[String?])", "bool(UseRule0)", "bool(SassNumber0,String)", "List<CssComment0>()", "ImmutableList0(SassNumber0)", "bool(SassNumber0)", "Future<SassNumber0>()", "Null(_NodeSassMap,int,Object)", "int(Object?)", "Expression(Expression)", "bool(ModifiableCssParentNode0)", "Object(_NodeSassMap,int)", "List<ExtensionStore0>()", "~(Iterable<ExtensionStore>)", "Future<~>(List<Value0>)", "SassMixin0(List<Value0>)", "Value0(int)", "SassFunction0(List<Value0>)", "SelectorList(Value)", "Map<String,AsyncCallable0>(Module1<AsyncCallable0>)", "@(Value0,num)", "bool(Import0)", "bool(Statement0)", "MapKeySet<Module1<AsyncCallable0>>(Map<Module1<AsyncCallable0>,AstNode0>)", "bool(Queue<List<ComplexSelectorComponent0>>)", "List<Extension0>()", "AsyncCallable0?(Module1<AsyncCallable0>)", "@(String)", "Map<String,Callable0>(Module0<Callable0>)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode>)", "bool(Frame)", "Trace()", "Callable0?(Module0<Callable0>)", "double(Value)", "String(Frame)", "int(Frame)", "~(double?[String?])", "List<Extension>()", "~(ContentBlock)", "~(List<Statement>)", "bool(Deprecation)", "Value?(Module0<Callable0>)", "~(CssMediaQuery)", "Set<int>(CssParentNode)", "Value(Expression)", "~(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)", "UserDefinedCallable<Environment>(ContentBlock)", "String(Trace)", "Value?(IfRuleClause)", "CssValue<String>(Interpolation)", "Frame(String,String)", "int(int,int)", "Value?(Value)", "Frame(Frame)", "~(Module0<Callable0>)", "Map<String,Value>(Module0<Callable0>)", "Map<String,AstNode>(Module0<Callable0>)", "Module0<Callable0>()", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap0(SassArgumentList0)", "+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)()", "ArgParser()", "Value0/(List<Value0>)", "Value0?(Module1<AsyncCallable0>)", "Module1<AsyncCallable0>?(Module1<AsyncCallable0>)", "Value/(List<Value>)", "CssValue<String>(Interpolation{trim:bool,warnForColor:bool})", "Map<String,Value0>(Module1<AsyncCallable0>)", "Map<String,AstNode0>(Module1<AsyncCallable0>)", "~(String,int?)", "Set<Deprecation>()", "Future<CssValue0<String>>(Interpolation0{trim:bool,warnForColor:bool})", "~(String,int)", "~(+deprecation,message,span(Deprecation?,String,FileSpan))", "Future<~>(String)", "Value/()", "List<WatchEvent>(List<WatchEvent>)", "Uri(+originalUrl(AsyncImporter,Uri,Uri))", "bool(+originalUrl(AsyncImporter,Uri,Uri))", "Future<Stylesheet?>()", "~(Module1<AsyncCallable0>,bool)", "Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>()", "Future<Module1<AsyncCallable0>>()", "bool(Extension)", "~(Module1<AsyncCallable0>)", "Future<Value>(Expression)", "Future<+originalUrl(AsyncImporter,Uri,Uri)?>()", "Set<ModifiableBox<SelectorList>>()", "Object?(Object?)", "~(Module0<AsyncCallable>)", "~(Symbol0,@)", "Future<CssValue0<String>>(Interpolation0)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "List<SimpleSelector>(Extender)", "Future<Value?>(IfRuleClause)", "Future<Value0?>(IfRuleClause0)", "Map<String,AstNode>(Module0<AsyncCallable>)", "Map<String,Value>(Module0<AsyncCallable>)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "List<Extender>?(SimpleSelector)", "List<Extender>(PseudoSelector)", "List<List<Extender>>(List<Extender>)", "List<ComplexSelector>(ComplexSelector)", "PseudoSelector(ComplexSelector)", "Future<Value0>(Expression0)", "~(SimpleSelector,Set<ModifiableBox<SelectorList>>)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "Value0/()", "Future<CssValue<String>>(Interpolation)", "bool(List<Iterable<ComplexSelectorComponent>>)", "bool(PseudoSelector)", "Future<Value?>(Value)", "Module0<AsyncCallable>?(Module0<AsyncCallable>)", "Value?(Module0<AsyncCallable>)", "Future<+originalUrl(AsyncImporter0,Uri,Uri)?>()", "Future<Stylesheet0?>()", "bool(+originalUrl(AsyncImporter0,Uri,Uri))", "Uri(+originalUrl(AsyncImporter0,Uri,Uri))", "AtRootQuery0()", "~(int,@)", "SimpleSelector(SimpleSelector)", "SelectorList?(PseudoSelector)", "~(String,Option)", "SassCalculation0(Object[Object?,Object?])", "SassCalculation0(SassCalculation0[String?])", "ImmutableList(SassCalculation0)", "Object(Object,String,Object,Object)", "bool(CalculationOperator0)", "bool(CalculationOperation0,Object)", "int(CalculationOperation0)", "String(CalculationOperation0)", "Future<Module0<AsyncCallable>>()", "CalculationInterpolation(Object,String)", "bool(CalculationInterpolation,Object)", "int(CalculationInterpolation)", "String(CalculationInterpolation)", "bool(CanonicalizeContext0)", "JSUrl0?(CanonicalizeContext0)", "@(@,String)", "Null(@,@)", "Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>()", "Null(@,StackTrace)", "Null(Function,Function)", "String(String?)", "~(Module0<AsyncCallable>,bool)", "SassColor0(SassColor0)", "SassColor0(ColorSpace0)", "Iterable<ComplexSelector>(ComplexSelector)", "0&(List<Value0>)", "Future<CssValue<String>>(Interpolation{trim:bool,warnForColor:bool})", "SassColor(SassColor)", "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?])", "SingleUnitSassNumber(double)", "double?(String)", "SassColor0(SassColor0,SassColor0[_InterpolationOptions?])", "String(SassColor0)", "bool(SassColor0)", "SassList(ComplexSelector)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "double(num)", "SassScriptException()", "double(_NodeSassColor)", "SassColor(ColorSpace)", "DateTime(StylesheetNode)", "StringExpression(Interpolation)", "AsyncImporter0(JSImporter)", "0&(@)", "~(BinaryOperator)", "NodePackageImporter0(Object[String?])", "~(Expression)", "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)", "WhileRule(List<Statement>,FileSpan)", "SupportsRule(List<Statement>,FileSpan)", "Value0?(Module1<Callable>)", "Module1<Callable>?(Module1<Callable>)", "MixinRule(List<Statement>,FileSpan)", "MediaRule(List<Statement>,FileSpan)", "Map<String,Value0>(Module1<Callable>)", "Map<String,AstNode0>(Module1<Callable>)", "ContentBlock(List<Statement>,FileSpan)", "Object(Value0)", "CssValue0<String>(Interpolation0{trim:bool,warnForColor:bool})", "bool(String?,String?)", "ForRule(List<Statement>,FileSpan)", "String(Value)", "+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)()", "Module1<Callable>()", "~(Module1<Callable>)", "FunctionRule(List<Statement>,FileSpan)", "0&(List<Value>)", "CssValue0<String>(Interpolation0)", "EachRule(List<Statement>,FileSpan)", "Value0?(IfRuleClause0)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "Declaration(List<Statement>,FileSpan)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableBox0<SelectorList0>>()", "StyleRule(List<Statement>,FileSpan)", "UseRule()", "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>)", "VariableDeclaration()", "bool(List<Iterable<ComplexSelectorComponent0>>)", "bool(@)", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "ParameterList()", "Statement?()", "~(Object?,Object,Object?)", "+(String,String)(String)", "+originalUrl(Importer0,Uri,Uri)?()", "Stylesheet0?()", "bool(+originalUrl(Importer0,Uri,Uri))", "Uri(+originalUrl(Importer0,Uri,Uri))", "~(String,WarnOptions)", "Future<~>(List<String>)", "Null(RenderResult)", "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?])", "Stylesheet()", "Null(_NodeSassList,int?[bool?,SassList0?])", "NumberExpression()", "Object(_NodeSassList,int)", "Null(_NodeSassList,int,Object)", "bool(_NodeSassList)", "Null(_NodeSassList,bool)", "int(_NodeSassList)", "SassMap0(Value0)", "SassMap0(SassMap0)", "SassMap0(Object[ImmutableMap0?])", "ImmutableMap0(SassMap0)", "@(SassMap0,Object)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "Expression({bracketList:bool,consumeNewlines:bool,singleEquals:bool,until:bool()?})", "int(_NodeSassMap)", "Statement({root:bool})", "SassNumber0(Value0)", "List<CssMediaQuery0>()", "Value0(Object)", "0&(Object)", "bool(ModifiableCssNode0)", "SassNumber0(Object,num[Object?])", "CompoundSelector()", "int?(SassNumber0)", "SelectorList()", "int(SassNumber0[String?])", "double(SassNumber0,num,num[String?])", "SassNumber0(SassNumber0[String?])", "SassNumber0(SassNumber0,String[String?])", "int(int,SimpleSelector)", "String(CssValue<Combinator>)", "List<CssMediaQuery>()", "String(BuiltInCallable)", "AtRootQuery()", "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)", "FileSpan(SassNode)", "Interpolation0(SupportsCondition)", "int(int,ComplexSelectorComponent)", "String(Object,@,@[@])", "bool(List<Value>)", "Null(JSObject?,JSArray<Object?>)", "~(@,StackTrace)", "~(Object?,List<JSObject>)", "SassString0(SimpleSelector0)", "SelectorList0()", "CompoundSelector0()", "~(CssMediaQuery0)", "Set<int>(CssParentNode0)", "~(SelectorList0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(double)", "~([Future<~>?])", "JSUrl0?(FileSpan)", "String(int,IfClause)", "String(Parameter)", "Future<@>()", "SassString0(int)", "SassString0(String)", "~(String,DebugOptions)", "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)", "Uri(+originalUrl(Importer,Uri,Uri))", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "bool(+originalUrl(Importer,Uri,Uri))", "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?])", "bool(ModifiableCssNode)", "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?>?)", "SassString(String)", "SassString(int)", "0^(0^,0^)<num>", "SassMap(Value)", "SassString(SimpleSelector)", "~(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)", "SassColor0(SassColor0,_ConstructionOptions)", "Future<Value0?>(Value0)"],
  124690. interceptorsByTag: null,
  124691. leafTags: null,
  124692. arrayRti: Symbol("$ti"),
  124693. rttc: {
  124694. "1;": t1 => o => o instanceof A._Record_1 && t1._is(o._0),
  124695. "2;": (t1, t2) => o => o instanceof A._Record_2 && t1._is(o._0) && t2._is(o._1),
  124696. "2;forImport": (t1, t2) => o => o instanceof A._Record_2_forImport && t1._is(o._0) && t2._is(o._1),
  124697. "2;sourceMap": (t1, t2) => o => o instanceof A._Record_2_sourceMap && t1._is(o._0) && t2._is(o._1),
  124698. "2;imports,modules": (t1, t2) => o => o instanceof A._Record_2_imports_modules && t1._is(o._0) && t2._is(o._1),
  124699. "2;loadedUrls,stylesheet": (t1, t2) => o => o instanceof A._Record_2_loadedUrls_stylesheet && t1._is(o._0) && t2._is(o._1),
  124700. "3;": (t1, t2, t3) => o => o instanceof A._Record_3 && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  124701. "3;forImport": (t1, t2, t3) => o => o instanceof A._Record_3_forImport && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  124702. "3;originalUrl": (t1, t2, t3) => o => o instanceof A._Record_3_originalUrl && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  124703. "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),
  124704. "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),
  124705. "5;named,namedNodes,positional,positionalNodes,separator": types => o => o instanceof A._Record_5_named_namedNodes_positional_positionalNodes_separator && A.pairwiseIsTest(types, o._values)
  124706. }
  124707. };
  124708. A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","Stdin":"LegacyJavaScriptObject","Stdout":"LegacyJavaScriptObject","ReadlineModule":"LegacyJavaScriptObject","ReadlineOptions":"LegacyJavaScriptObject","ReadlineInterface":"LegacyJavaScriptObject","BufferModule":"LegacyJavaScriptObject","BufferConstants":"LegacyJavaScriptObject","Buffer":"LegacyJavaScriptObject","ConsoleModule":"LegacyJavaScriptObject","Console":"LegacyJavaScriptObject","EventEmitter":"LegacyJavaScriptObject","FS":"LegacyJavaScriptObject","FSConstants":"LegacyJavaScriptObject","FSWatcher":"LegacyJavaScriptObject","ReadStream":"LegacyJavaScriptObject","ReadStreamOptions":"LegacyJavaScriptObject","WriteStream":"LegacyJavaScriptObject","WriteStreamOptions":"LegacyJavaScriptObject","FileOptions":"LegacyJavaScriptObject","StatOptions":"LegacyJavaScriptObject","MkdirOptions":"LegacyJavaScriptObject","RmdirOptions":"LegacyJavaScriptObject","WatchOptions":"LegacyJavaScriptObject","WatchFileOptions":"LegacyJavaScriptObject","Stats":"LegacyJavaScriptObject","Promise":"LegacyJavaScriptObject","Date":"LegacyJavaScriptObject","JsError":"LegacyJavaScriptObject","Atomics":"LegacyJavaScriptObject","Modules":"LegacyJavaScriptObject","Module":"LegacyJavaScriptObject","Net":"LegacyJavaScriptObject","Socket":"LegacyJavaScriptObject","NetAddress":"LegacyJavaScriptObject","NetServer":"LegacyJavaScriptObject","NodeJsError":"LegacyJavaScriptObject","JsAssertionError":"LegacyJavaScriptObject","JsRangeError":"LegacyJavaScriptObject","JsReferenceError":"LegacyJavaScriptObject","JsSyntaxError":"LegacyJavaScriptObject","JsTypeError":"LegacyJavaScriptObject","JsSystemError":"LegacyJavaScriptObject","Process":"LegacyJavaScriptObject","CPUUsage":"LegacyJavaScriptObject","Release":"LegacyJavaScriptObject","StreamModule":"LegacyJavaScriptObject","Readable":"LegacyJavaScriptObject","Writable":"LegacyJavaScriptObject","Duplex":"LegacyJavaScriptObject","Transform":"LegacyJavaScriptObject","WritableOptions":"LegacyJavaScriptObject","ReadableOptions":"LegacyJavaScriptObject","Immediate":"LegacyJavaScriptObject","Timeout":"LegacyJavaScriptObject","TTY":"LegacyJavaScriptObject","TTYReadStream":"LegacyJavaScriptObject","TTYWriteStream":"LegacyJavaScriptObject","Util":"LegacyJavaScriptObject","JSArray0":"LegacyJavaScriptObject","Chokidar":"LegacyJavaScriptObject","ChokidarOptions":"LegacyJavaScriptObject","ChokidarWatcher":"LegacyJavaScriptObject","JSFunction":"LegacyJavaScriptObject","ImmutableList":"LegacyJavaScriptObject","ImmutableMap":"LegacyJavaScriptObject","NodeImporterResult":"LegacyJavaScriptObject","RenderContext":"LegacyJavaScriptObject","RenderContextOptions":"LegacyJavaScriptObject","RenderContextResult":"LegacyJavaScriptObject","RenderContextResultStats":"LegacyJavaScriptObject","JSModule":"LegacyJavaScriptObject","JSModuleRequire":"LegacyJavaScriptObject","JSClass":"LegacyJavaScriptObject","JSUrl":"LegacyJavaScriptObject","_PropertyDescriptor":"LegacyJavaScriptObject","_RequireMain":"LegacyJavaScriptObject","JSArray1":"LegacyJavaScriptObject","Chokidar0":"LegacyJavaScriptObject","ChokidarOptions0":"LegacyJavaScriptObject","ChokidarWatcher0":"LegacyJavaScriptObject","_ConstructionOptions":"LegacyJavaScriptObject","_ChannelOptions":"LegacyJavaScriptObject","_ToGamutOptions":"LegacyJavaScriptObject","_InterpolationOptions":"LegacyJavaScriptObject","_Channels":"LegacyJavaScriptObject","_NodeSassColor":"LegacyJavaScriptObject","CompileOptions":"LegacyJavaScriptObject","CompileStringOptions":"LegacyJavaScriptObject","NodeCompileResult":"LegacyJavaScriptObject","Deprecation1":"LegacyJavaScriptObject","_NodeException":"LegacyJavaScriptObject","Exports":"LegacyJavaScriptObject","LoggerNamespace":"LegacyJavaScriptObject","JSExpressionVisitorObject":"LegacyJavaScriptObject","Fiber":"LegacyJavaScriptObject","FiberClass":"LegacyJavaScriptObject","JSFunction0":"LegacyJavaScriptObject","ImmutableList0":"LegacyJavaScriptObject","ImmutableMap0":"LegacyJavaScriptObject","JSImporter":"LegacyJavaScriptObject","JSImporterResult":"LegacyJavaScriptObject","NodeImporterResult0":"LegacyJavaScriptObject","_ConstructorOptions":"LegacyJavaScriptObject","_NodeSassList":"LegacyJavaScriptObject","WarnOptions":"LegacyJavaScriptObject","DebugOptions":"LegacyJavaScriptObject","JSLogger":"LegacyJavaScriptObject","_NodeSassMap":"LegacyJavaScriptObject","JSModule0":"LegacyJavaScriptObject","JSModuleRequire0":"LegacyJavaScriptObject","_ConstructorOptions0":"LegacyJavaScriptObject","_NodeSassNumber":"LegacyJavaScriptObject","ParserExports":"LegacyJavaScriptObject","JSClass0":"LegacyJavaScriptObject","RenderContext0":"LegacyJavaScriptObject","RenderContextOptions0":"LegacyJavaScriptObject","RenderContextResult0":"LegacyJavaScriptObject","RenderContextResultStats0":"LegacyJavaScriptObject","RenderOptions":"LegacyJavaScriptObject","RenderResult":"LegacyJavaScriptObject","RenderResultStats":"LegacyJavaScriptObject","_Exports":"LegacyJavaScriptObject","JSSet":"LegacyJavaScriptObject","JSStatementVisitorObject":"LegacyJavaScriptObject","_ConstructorOptions1":"LegacyJavaScriptObject","_NodeSassString":"LegacyJavaScriptObject","Types":"LegacyJavaScriptObject","JSUrl0":"LegacyJavaScriptObject","_PropertyDescriptor0":"LegacyJavaScriptObject","_RequireMain0":"LegacyJavaScriptObject","JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"JSObject":[],"Iterable":["1"]},"JSBool":{"bool":[],"TrustedGetRuntimeType":[]},"JSNull":{"Null":[],"TrustedGetRuntimeType":[]},"JavaScriptObject":{"JSObject":[]},"LegacyJavaScriptObject":{"JSObject":[],"Promise":[],"JsSystemError":[],"ImmutableList":[],"_ConstructionOptions":[],"_ChannelOptions":[],"_ToGamutOptions":[],"_InterpolationOptions":[],"_NodeSassColor":[],"CompileOptions":[],"CompileStringOptions":[],"NodeCompileResult":[],"Deprecation1":[],"_NodeException":[],"JSExpressionVisitorObject":[],"Fiber":[],"JSFunction0":[],"ImmutableList0":[],"ImmutableMap0":[],"JSImporter":[],"JSImporterResult":[],"NodeImporterResult0":[],"_ConstructorOptions":[],"_NodeSassList":[],"WarnOptions":[],"DebugOptions":[],"_NodeSassMap":[],"_ConstructorOptions0":[],"_NodeSassNumber":[],"ParserExports":[],"JSClass0":[],"RenderContextOptions0":[],"RenderOptions":[],"RenderResult":[],"JSSet":[],"JSStatementVisitorObject":[],"_ConstructorOptions1":[],"_NodeSassString":[],"JSUrl0":[]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"JSObject":[],"Iterable":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"],"TrustedGetRuntimeType":[]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"],"TrustedGetRuntimeType":[]},"JSString":{"String":[],"Comparable":["String"],"TrustedGetRuntimeType":[]},"_CastIterableBase":{"Iterable":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListBase.E":"2","Iterable.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapBase":["3","4"],"Map":["3","4"],"MapBase.V":"4","MapBase.K":"3"},"LateError":{"Error":[]},"CodeUnits":{"ListBase":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListBase.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"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":[]},"_CyclicInitializationError":{"Error":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"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.V":"2","MapBase.K":"1"},"JsConstantLinkedHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"_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.V":"2","MapBase.K":"1"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"_LinkedHashSet":{"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedIdentityHashSet":{"_LinkedHashSet":["1"],"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableListView":{"ListBase":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1"},"ListBase":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"Map":["1","2"]},"UnmodifiableMapBase":{"MapBase":["1","2"],"Map":["1","2"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"Map":["1","2"]},"ListQueue":{"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.V":"@","MapBase.K":"String"},"_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.V":"2","MapBase.K":"1"},"MergedMapView":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"MultiSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"PrefixedMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"_PrefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"PublicMemberMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"UnprefixedMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"_UnprefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"SassArgumentList":{"SassList":[],"Value":[]},"SassBoolean":{"Value":[]},"SassCalculation":{"Value":[]},"SassColor":{"Value":[]},"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.V":"2","MapBase.K":"1"},"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.V":"2","MapBase.K":"1"},"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.V":"1","MapBase.K":"String"},"_PrefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"ProphotoRgbColorSpace0":{"ColorSpace0":[]},"PseudoSelector0":{"SimpleSelector0":[],"AstNode0":[]},"PublicMemberMapView0":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"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.V":"1","MapBase.K":"String"},"_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":[]}}'));
  124709. 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}'));
  124710. var string$ = {
  124711. 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",
  124712. x0a_BUG_: "\n\nBUG: This should include a source span!",
  124713. x0a_Morex20: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
  124714. x0a_Morex3ac: "\n\nMore info: https://sass-lang.com/d/color-functions",
  124715. x0a_Morex3af: "\n\nMore info: https://sass-lang.com/d/function-units",
  124716. x0a_See_: "\n\nSee https://sass-lang.com/d/function-units",
  124717. x0a_This: "\n\nThis is only an error because you've set the ",
  124718. x0a_To_p: "\n\nTo preserve current behavior: math.random(math.div($limit, 1",
  124719. x0a_but_: "\n\nbut you may have intended it to mean:\n\n ",
  124720. x0aRun_i: "\nRun in verbose mode to see all warnings.",
  124721. x0aThis_: "\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  124722. x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
  124723. x20It_wi: " It will be omitted from the generated CSS.",
  124724. 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",
  124725. x20can_n: " can not have both conditions and paths at the same level.\nFound ",
  124726. x20deprex20: " deprecation to be fatal.\nRemove this setting if you need to keep using this feature.",
  124727. x20deprex2c: " deprecation, since it has also been made fatal.",
  124728. x20hue__: ' hue" may not be set for rectangular color space ',
  124729. x20in_in: " in interpolation here.\nIt may end up represented as ",
  124730. x20inste: " instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  124731. x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
  124732. x20is_av: " is available from multiple global modules.",
  124733. x20is_de: " is deprecated.\n\nTo preserve current behavior: ",
  124734. x20is_noaf: " is not a future deprecation, so it does not need to be explicitly enabled.",
  124735. x20is_noav: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
  124736. 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",
  124737. x20must_b: " must be either nearest, up, down or to-zero.",
  124738. x20must_n: " must not be greater than the number of characters in the file, ",
  124739. x20repet: " repetitive deprecation warnings omitted.",
  124740. x20targe: " targetLocations if the interpolation has ",
  124741. x20to_be: " to be in the legacy RGB, HSL, or HWB color space.",
  124742. x20to_be_: " to be in the legacy RGB, HSL, or HWB color space.\n\nRecommendation: color.change(",
  124743. 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",
  124744. x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
  124745. x20was_a: ' was already loaded, so it can\'t be configured using "with".',
  124746. x20was_n: " was not declared with !default in the @used module.",
  124747. x20was_p: " was passed both by position and by name.",
  124748. x21defau: "!default should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  124749. x21globai: "!global isn't allowed for variables in other modules.",
  124750. x21globas: "!global should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  124751. x22x20can_: "\" can't be used as a parent in a compound selector.",
  124752. 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',
  124753. 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',
  124754. x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
  124755. x22x20is_o: "\" is only valid for nesting and shouldn't\nhave children other than style rules.",
  124756. x22x26__ma: '"&" may only used at the beginning of a compound selector.',
  124757. x22x29__If: "\").\nIf you really want to use the color value here, use '",
  124758. x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
  124759. x22packa: '"package:" URLs aren\'t supported on this platform.',
  124760. x24color: "$color1, $color2, $weight: 50%, $method: null",
  124761. x24css_a: "$css and $module may not both be passed at once.",
  124762. x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
  124763. x24selec: "$selectors: At least one selector must be passed.",
  124764. x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
  124765. x27x20must: "' must be a path relative to the package root at '",
  124766. x27x2c_whi: "', which is not a '.scss', '.sass', or '.css' file.",
  124767. 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.",
  124768. x28__ins: "() instead.\n\nSee https://sass-lang.com/d/import",
  124769. x28__is_d: '() is deprecated. Suggestion:\n\ncolor.channel($color, "',
  124770. x28__is_oa: "() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  124771. x28__is_oc: "() is only supported for legacy colors. Please use color.channel() instead with an explicit $space argument.",
  124772. x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
  124773. x29x0a_Mor_: ")\n\nMore info: https://sass-lang.com/d/color-functions",
  124774. x29x0a_Moro: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
  124775. x29x20in_a: ") in a future release.\n\nRecommendation: math.random(math.div($limit, 1",
  124776. x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: ",
  124777. x29x20to_cg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
  124778. x29x20to_ci: ") to color.invert() is deprecated.\n\nRecommendation: ",
  124779. x29x29__Mo: "))\n\nMore info: https://sass-lang.com/d/function-units",
  124780. x2c_whicu: ", which uses a scheme declared as non-canonical.",
  124781. x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
  124782. x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.",
  124783. x3d_____: "===== asynchronous gap ===========================\n",
  124784. 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.",
  124785. x40conte: "@content is only allowed within mixin declarations.",
  124786. x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
  124787. x40exten: "@extend may only be used within style rules.",
  124788. x40forwa: "@forward rules must be written before any other rules.",
  124789. x40funct: "@function if($condition, $if-true, $if-false) {",
  124790. x40use_r: "@use rules must be written before any other rules.",
  124791. A_list: "A list with more than one element must have an explicit separator.",
  124792. A_pkg_h: "A pkg: URL must not have a host, port, username or password.",
  124793. A_pkg_q: "A pkg: URL must not have a query or fragment.",
  124794. ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  124795. An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
  124796. An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
  124797. As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
  124798. 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.",
  124799. At_rul: "At-rules may not be used within nested declarations.",
  124800. Becaus: "Because the CSS working group is still deciding on the best behavior, Sass doesn't currently support modifying missing channels (color: ",
  124801. Cannotff: "Cannot extract a file path from a URI with a fragment component",
  124802. Cannotfq: "Cannot extract a file path from a URI with a query component",
  124803. Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
  124804. Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
  124805. Could_: 'Could not find an option with short name "-',
  124806. CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
  124807. Custom: "Custom importers are required to load stylesheets when compiling in the browser.",
  124808. Declarm: "Declarations may only be used within style rules.",
  124809. Declarw: 'Declarations whose names begin with "--" may not be nested.',
  124810. Either: "Either options.data or options.file must be set.",
  124811. Entrie: "Entries may not be removed from MergedMapView.",
  124812. 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",
  124813. Evalua: "Evaluation handles @include and its content block together.",
  124814. Expecta: "Expected a color interpolation method, got an empty list.",
  124815. Expectu: 'Expected unquoted string "hue" at the end of ',
  124816. Expectv: "Expected variable, mixin, or function name",
  124817. Functi: "Functions may not be declared in control directives.",
  124818. Global: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse ",
  124819. 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",
  124820. 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",
  124821. 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",
  124822. 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",
  124823. 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",
  124824. 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",
  124825. Hue_in: "Hue interpolation method may not be set for rectangular color space ",
  124826. If_con: "If conditions is longer than one element, conjunction may not be null.",
  124827. If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
  124828. If_str: "If strategy is not null, step is required.",
  124829. In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
  124830. 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",
  124831. Indent: "Indenting at the beginning of the document is illegal.",
  124832. Interpn: "Interpolation isn't allowed in namespaces.",
  124833. Interpp: "Interpolation isn't allowed in plain CSS.",
  124834. Invali: 'Invalid return value for custom function "',
  124835. It_s_n: "It's not clear which file to import. Found:\n",
  124836. Keywor: "Keyword arguments can't be used with calculations.",
  124837. May_no: "May not have a value for string elements (at index ",
  124838. Media_: "Media rules may not be used within nested declarations.",
  124839. Mixinsb: "Mixins may not be declared in control directives.",
  124840. Mixinscf: "Mixins may not contain function declarations.",
  124841. Mixinscm: "Mixins may not contain mixin declarations.",
  124842. Modulel: "Module loop: this module is already being loaded.",
  124843. Modulen: "Module namespaces aren't allowed in plain CSS.",
  124844. Must_n: "Must not have a value for expression elements (at index ",
  124845. Nested: "Nested declarations aren't allowed in plain CSS.",
  124846. New_en: "New entries may not be added to MergedMapView.",
  124847. No_Sasc: "No Sass callable is currently being evaluated.",
  124848. No_Sass: "No Sass stylesheet is currently being evaluated.",
  124849. NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
  124850. Number: "Number to round and step arguments are required.",
  124851. Only_2: "Only 2 slash-separated elements allowed, but ",
  124852. Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
  124853. Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
  124854. Other_: "Other modules' members can't be defined with !global.",
  124855. Parent: "Parent selectors can't have suffixes in plain CSS.",
  124856. Passin_: "Passing `alpha: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/null-alpha",
  124857. Passina: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
  124858. 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(",
  124859. Placeh: "Placeholder selectors aren't allowed in plain CSS.",
  124860. Plain_: "Plain CSS functions don't support keyword arguments.",
  124861. Positi: "Positional arguments must come before keyword arguments.",
  124862. Privat: "Private members can't be accessed from outside their modules.",
  124863. Rest_a: "Rest arguments can't be used with calculations.",
  124864. Sassx20_ff: "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",
  124865. Sassx20_fm: "Sass @function names beginning with -- are deprecated for forward-compatibility with plain CSS mixins.\n\nFor details, see https://sass-lang.com/d/css-function-mixin",
  124866. 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",
  124867. 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",
  124868. Sassx20v: "Sass variables aren't allowed in plain CSS.",
  124869. 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",
  124870. Silent: "Silent comments aren't allowed in plain CSS.",
  124871. Style_k: "Style rules may not be used within keyframe blocks.",
  124872. Style_n: "Style rules may not be used within nested declarations.",
  124873. Suppor: "Supports rules may not be used within nested declarations.",
  124874. The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
  124875. The_No: "The Node package importer cannot be used without a filesystem.",
  124876. The_ca: "The canonicalize() method must return a URL.",
  124877. The_co: "The color() function doesn't support the color space ",
  124878. The_fe: "The feature-exists() function is deprecated.\n\nMore info: https://sass-lang.com/d/feature-exists",
  124879. The_fie: "The findFileUrl() method must return a URL.",
  124880. The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
  124881. The_gi: "The given LineScannerState was not returned by this LineScanner.",
  124882. 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",
  124883. The_lo: "The load() function must return an object with contents and syntax fields.",
  124884. The_pa: "The parent selector isn't allowed in plain CSS.",
  124885. The_sa: "The same variable may only be configured once.",
  124886. The_ta: 'The target selector was not found.\nUse "@extend ',
  124887. There_: "There's already a module with namespace \"",
  124888. This_d: 'This declaration has no parameter named "$',
  124889. This_e: "This expression can't be used in a calculation.",
  124890. This_f: "This function isn't allowed in plain CSS.",
  124891. This_ma: 'This module and the new module both define a variable named "$',
  124892. This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
  124893. This_o: "This operation can't be used in a calculation.",
  124894. This_s: "This selector doesn't have any properties and won't be rendered.",
  124895. This_v: "This variable was not declared with !default in the @used module.",
  124896. To_usei: "To use color.invert() with non-legacy color ",
  124897. To_usem: "To use color.mix() with non-legacy color ",
  124898. Top_lel: "Top-level leading combinators aren't allowed in plain CSS.",
  124899. Top_les: 'Top-level selectors may not contain the parent selector "&".',
  124900. Unable: "Unable to determine which of multiple potential resolutions found for ",
  124901. Unexpe: "Unexpected Zone.current[#_canonicalizeContext] value ",
  124902. User_a: "User-authored deprecations should not be silenced.",
  124903. Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  124904. Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  124905. Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
  124906. 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.",
  124907. Variab_: "Variable keyword argument map must have string keys.\n",
  124908. Variabs: "Variable keyword arguments must be a map (was ",
  124909. You_ma: "You may not @extend selectors across media queries.",
  124910. You_pr: "You probably don't mean to use the color value ",
  124911. x60_inst: "` instead.\nSee https://sass-lang.com/d/extend-compound for details.\n",
  124912. addExt: "addExtensions() can't be called for a const ExtensionStore.",
  124913. adjustd: "adjust-hue() is deprecated. Suggestion:\n\ncolor.adjust($color, $hue: ",
  124914. adjusto: "adjust-hue() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  124915. alpha_: "alpha() is only supported for legacy colors. Please use color.channel() instead.",
  124916. canoni: "canonicalizeContext may only be accessed within a call to canonicalize().",
  124917. color_a: "color.alpha() is only supported for legacy colors. Please use color.channel() instead.",
  124918. color_c: "color.changeHsl() is only supported for legacy colors. Please use color.changeChannels() instead with an explicit $space argument.",
  124919. color_t: "color.to-gamut() requires a $method argument for forwards-compatibility with changes in the CSS spec. Suggestion:\n\n$method: local-minde",
  124920. compou: "compound selectors may no longer be extended.\nConsider `@extend ",
  124921. conten: "content-exists() may only be called within a mixin.",
  124922. darken: "darken() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  124923. desatu: "desaturate() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  124924. fileEx: "fileExists() is only supported on Node.js",
  124925. leadin: "leadingCombinators and components may not both be empty.",
  124926. lighte: "lighten() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  124927. math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
  124928. math_r: "math.random() will no longer ignore $limit units (",
  124929. multip: "multiple statements on one line are not supported in the indented syntax.",
  124930. must_b: "must be a UniversalSelector or a TypeSelector",
  124931. parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
  124932. satura: "saturate() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  124933. throug: "through() must return false for at least one parent of ",
  124934. x7d__Mor: "})\nMore info: https://sass-lang.com/d/abs-percent"
  124935. };
  124936. var type$ = (function rtii() {
  124937. var findType = A.findType;
  124938. return {
  124939. $env_1_1_String: findType("@<String>"),
  124940. ArgParser: findType("ArgParser"),
  124941. AstNode: findType("AstNode"),
  124942. AstNode_2: findType("AstNode0"),
  124943. AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
  124944. AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
  124945. AsyncCallable: findType("AsyncCallable"),
  124946. AsyncCallable_2: findType("AsyncCallable0"),
  124947. AsyncCompiler: findType("AsyncCompiler"),
  124948. AsyncImporter: findType("AsyncImporter0"),
  124949. Box_SelectorList: findType("Box<SelectorList>"),
  124950. Box_SelectorList_2: findType("Box0<SelectorList0>"),
  124951. BuiltInCallable: findType("BuiltInCallable"),
  124952. BuiltInCallable_2: findType("BuiltInCallable0"),
  124953. BuiltInModule_AsyncCallable: findType("BuiltInModule<AsyncCallable>"),
  124954. BuiltInModule_AsyncCallable_2: findType("BuiltInModule0<AsyncCallable0>"),
  124955. BuiltInModule_Callable: findType("BuiltInModule<Callable0>"),
  124956. BuiltInModule_Callable_2: findType("BuiltInModule0<Callable>"),
  124957. ByteBuffer: findType("ByteBuffer"),
  124958. ByteData: findType("ByteData"),
  124959. Callable: findType("Callable0"),
  124960. Callable_2: findType("Callable"),
  124961. ChangeType: findType("ChangeType"),
  124962. CodeUnits: findType("CodeUnits"),
  124963. Combinator: findType("Combinator"),
  124964. Combinator_2: findType("Combinator0"),
  124965. Comparable_dynamic: findType("Comparable<@>"),
  124966. Comparable_nullable_Object: findType("Comparable<Object?>"),
  124967. CompileResult: findType("CompileResult"),
  124968. CompileResult_2: findType("CompileResult0"),
  124969. ComplexSelector: findType("ComplexSelector"),
  124970. ComplexSelectorComponent: findType("ComplexSelectorComponent"),
  124971. ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
  124972. ComplexSelector_2: findType("ComplexSelector0"),
  124973. Configuration: findType("Configuration"),
  124974. Configuration_2: findType("Configuration0"),
  124975. ConfiguredValue: findType("ConfiguredValue"),
  124976. ConfiguredValue_2: findType("ConfiguredValue0"),
  124977. ConfiguredVariable: findType("ConfiguredVariable"),
  124978. ConfiguredVariable_2: findType("ConfiguredVariable0"),
  124979. ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
  124980. ConstantStringMap_String_double: findType("ConstantStringMap<String,double>"),
  124981. ConstantStringSet_String: findType("ConstantStringSet<String>"),
  124982. CssComment: findType("CssComment"),
  124983. CssComment_2: findType("CssComment0"),
  124984. CssMediaQuery: findType("CssMediaQuery"),
  124985. CssMediaQuery_2: findType("CssMediaQuery0"),
  124986. CssParentNode: findType("CssParentNode"),
  124987. CssParentNode_2: findType("CssParentNode0"),
  124988. CssStyleRule: findType("CssStyleRule"),
  124989. CssStyleRule_2: findType("CssStyleRule0"),
  124990. CssStylesheet: findType("CssStylesheet"),
  124991. CssStylesheet_2: findType("CssStylesheet0"),
  124992. CssValue_Combinator: findType("CssValue<Combinator>"),
  124993. CssValue_Combinator_2: findType("CssValue0<Combinator0>"),
  124994. CssValue_List_String: findType("CssValue<List<String>>"),
  124995. CssValue_List_String_2: findType("CssValue0<List<String>>"),
  124996. CssValue_String: findType("CssValue<String>"),
  124997. CssValue_String_2: findType("CssValue0<String>"),
  124998. CssValue_Value: findType("CssValue<Value>"),
  124999. CssValue_Value_2: findType("CssValue0<Value0>"),
  125000. DateTime: findType("DateTime"),
  125001. Deprecation: findType("Deprecation"),
  125002. Deprecation_2: findType("Deprecation1"),
  125003. Deprecation_3: findType("Deprecation0"),
  125004. EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
  125005. Error: findType("Error"),
  125006. EvaluationContext: findType("EvaluationContext"),
  125007. EvaluationContext_2: findType("EvaluationContext0"),
  125008. Exception: findType("Exception"),
  125009. Expression: findType("Expression"),
  125010. Expression_2: findType("Expression0"),
  125011. Extender: findType("Extender"),
  125012. Extender_2: findType("Extender0"),
  125013. Extension: findType("Extension"),
  125014. Extension_2: findType("Extension0"),
  125015. FileLocation: findType("FileLocation"),
  125016. FileSpan: findType("FileSpan"),
  125017. Float32List: findType("Float32List"),
  125018. Float64List: findType("Float64List"),
  125019. FormatException: findType("FormatException"),
  125020. Frame: findType("Frame"),
  125021. Function: findType("Function"),
  125022. FutureGroup_void: findType("FutureGroup<~>"),
  125023. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)/"),
  125024. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)/"),
  125025. FutureOr_nullable_Uri: findType("Uri?/"),
  125026. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>"),
  125027. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>"),
  125028. Future_Value: findType("Future<Value>"),
  125029. Future_Value_2: findType("Future<Value0>"),
  125030. Future_nullable_CssValue_String: findType("Future<CssValue<String>?>"),
  125031. Future_nullable_CssValue_String_2: findType("Future<CssValue0<String>?>"),
  125032. Future_nullable_ImporterResult: findType("Future<ImporterResult0?>"),
  125033. Future_nullable_Uri: findType("Future<Uri?>"),
  125034. Future_nullable_Value: findType("Future<Value?>"),
  125035. Future_nullable_Value_2: findType("Future<Value0?>"),
  125036. IfClause: findType("IfClause"),
  125037. IfClause_2: findType("IfClause0"),
  125038. ImmutableList: findType("ImmutableList0"),
  125039. ImmutableList_2: findType("ImmutableList"),
  125040. ImmutableMap: findType("ImmutableMap0"),
  125041. Import: findType("Import"),
  125042. Import_2: findType("Import0"),
  125043. Importer: findType("Importer0"),
  125044. ImporterResult: findType("ImporterResult"),
  125045. ImporterResult_2: findType("ImporterResult0"),
  125046. Importer_2: findType("Importer"),
  125047. Int16List: findType("Int16List"),
  125048. Int32List: findType("Int32List"),
  125049. Int8List: findType("Int8List"),
  125050. Interpolation: findType("Interpolation"),
  125051. InterpolationBuffer: findType("InterpolationBuffer"),
  125052. InterpolationBuffer_2: findType("InterpolationBuffer0"),
  125053. InterpolationMap: findType("InterpolationMap"),
  125054. InterpolationMap_2: findType("InterpolationMap0"),
  125055. Interpolation_2: findType("Interpolation0"),
  125056. Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
  125057. Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
  125058. Iterable_dynamic: findType("Iterable<@>"),
  125059. Iterable_nullable_Object: findType("Iterable<Object?>"),
  125060. JSArray_AstNode: findType("JSArray<AstNode>"),
  125061. JSArray_AstNode_2: findType("JSArray<AstNode0>"),
  125062. JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
  125063. JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
  125064. JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
  125065. JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
  125066. JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
  125067. JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
  125068. JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
  125069. JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
  125070. JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
  125071. JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
  125072. JSArray_Callable: findType("JSArray<Callable0>"),
  125073. JSArray_Callable_2: findType("JSArray<Callable>"),
  125074. JSArray_ColorChannel: findType("JSArray<ColorChannel>"),
  125075. JSArray_ColorChannel_2: findType("JSArray<ColorChannel0>"),
  125076. JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
  125077. JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
  125078. JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
  125079. JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
  125080. JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
  125081. JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
  125082. JSArray_CssComment: findType("JSArray<CssComment>"),
  125083. JSArray_CssComment_2: findType("JSArray<CssComment0>"),
  125084. JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
  125085. JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
  125086. JSArray_CssNode: findType("JSArray<CssNode>"),
  125087. JSArray_CssNode_2: findType("JSArray<CssNode0>"),
  125088. JSArray_CssStyleRule: findType("JSArray<CssStyleRule>"),
  125089. JSArray_CssStyleRule_2: findType("JSArray<CssStyleRule0>"),
  125090. JSArray_CssValue_Combinator: findType("JSArray<CssValue<Combinator>>"),
  125091. JSArray_CssValue_Combinator_2: findType("JSArray<CssValue0<Combinator0>>"),
  125092. JSArray_Entry: findType("JSArray<Entry>"),
  125093. JSArray_Expression: findType("JSArray<Expression>"),
  125094. JSArray_Expression_2: findType("JSArray<Expression0>"),
  125095. JSArray_Extender: findType("JSArray<Extender>"),
  125096. JSArray_Extender_2: findType("JSArray<Extender0>"),
  125097. JSArray_Extension: findType("JSArray<Extension>"),
  125098. JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
  125099. JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
  125100. JSArray_Extension_2: findType("JSArray<Extension0>"),
  125101. JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
  125102. JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
  125103. JSArray_Frame: findType("JSArray<Frame>"),
  125104. JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<Future<+(int,String,String?)?>>"),
  125105. JSArray_IfClause: findType("JSArray<IfClause>"),
  125106. JSArray_IfClause_2: findType("JSArray<IfClause0>"),
  125107. JSArray_Import: findType("JSArray<Import>"),
  125108. JSArray_Import_2: findType("JSArray<Import0>"),
  125109. JSArray_Importer: findType("JSArray<Importer>"),
  125110. JSArray_Importer_2: findType("JSArray<Importer0>"),
  125111. JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
  125112. JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
  125113. JSArray_JSFunction: findType("JSArray<JSFunction0>"),
  125114. JSArray_LinearChannel: findType("JSArray<LinearChannel>"),
  125115. JSArray_LinearChannel_2: findType("JSArray<LinearChannel0>"),
  125116. JSArray_List_ComplexSelector: findType("JSArray<List<ComplexSelector>>"),
  125117. JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
  125118. JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
  125119. JSArray_List_ComplexSelector_2: findType("JSArray<List<ComplexSelector0>>"),
  125120. JSArray_List_Extender: findType("JSArray<List<Extender>>"),
  125121. JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
  125122. JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
  125123. JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
  125124. JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
  125125. JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
  125126. JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
  125127. JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
  125128. JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable0>>"),
  125129. JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable>>"),
  125130. JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
  125131. JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
  125132. JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
  125133. JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
  125134. JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
  125135. JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
  125136. JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
  125137. JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
  125138. JSArray_Module_AsyncCallable: findType("JSArray<Module0<AsyncCallable>>"),
  125139. JSArray_Module_AsyncCallable_2: findType("JSArray<Module1<AsyncCallable0>>"),
  125140. JSArray_Module_Callable: findType("JSArray<Module0<Callable0>>"),
  125141. JSArray_Module_Callable_2: findType("JSArray<Module1<Callable>>"),
  125142. JSArray_Object: findType("JSArray<Object>"),
  125143. JSArray_Parameter: findType("JSArray<Parameter>"),
  125144. JSArray_Parameter_2: findType("JSArray<Parameter0>"),
  125145. JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
  125146. JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
  125147. JSArray_Record_2_Expression_and_Expression: findType("JSArray<+(Expression,Expression)>"),
  125148. JSArray_Record_2_Expression_and_Expression_2: findType("JSArray<+(Expression0,Expression0)>"),
  125149. JSArray_Record_2_ParameterList_and_Value_Function_List_Value: findType("JSArray<+(ParameterList,Value(List<Value>))>"),
  125150. JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2: findType("JSArray<+(ParameterList0,Value0(List<Value0>))>"),
  125151. JSArray_Record_2_String_and_AstNode: findType("JSArray<+(String,AstNode)>"),
  125152. JSArray_Record_2_String_and_AstNode_2: findType("JSArray<+(String,AstNode0)>"),
  125153. JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span: findType("JSArray<+deprecation,message,span(Deprecation?,String,FileSpan)>"),
  125154. JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2: findType("JSArray<+deprecation,message,span(Deprecation0?,String,FileSpan)>"),
  125155. JSArray_SassList: findType("JSArray<SassList>"),
  125156. JSArray_SassList_2: findType("JSArray<SassList0>"),
  125157. JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
  125158. JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
  125159. JSArray_SourceLocation: findType("JSArray<SourceLocation>"),
  125160. JSArray_Statement: findType("JSArray<Statement>"),
  125161. JSArray_Statement_2: findType("JSArray<Statement0>"),
  125162. JSArray_String: findType("JSArray<String>"),
  125163. JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
  125164. JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
  125165. JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
  125166. JSArray_Trace: findType("JSArray<Trace>"),
  125167. JSArray_UseRule: findType("JSArray<UseRule>"),
  125168. JSArray_UseRule_2: findType("JSArray<UseRule0>"),
  125169. JSArray_Value: findType("JSArray<Value>"),
  125170. JSArray_Value_2: findType("JSArray<Value0>"),
  125171. JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
  125172. JSArray__Highlight: findType("JSArray<_Highlight>"),
  125173. JSArray__Line: findType("JSArray<_Line>"),
  125174. JSArray_double: findType("JSArray<double>"),
  125175. JSArray_dynamic: findType("JSArray<@>"),
  125176. JSArray_int: findType("JSArray<int>"),
  125177. JSArray_nullable_FileSpan: findType("JSArray<FileSpan?>"),
  125178. JSArray_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<+(int,String,String?)?>"),
  125179. JSArray_nullable_SassNumber: findType("JSArray<SassNumber?>"),
  125180. JSArray_nullable_SassNumber_2: findType("JSArray<SassNumber0?>"),
  125181. JSArray_nullable_String: findType("JSArray<String?>"),
  125182. JSClass: findType("JSClass0"),
  125183. JSFunction: findType("JSFunction0"),
  125184. JSImporter: findType("JSImporter"),
  125185. JSImporterResult: findType("JSImporterResult"),
  125186. JSNull: findType("JSNull"),
  125187. JSObject: findType("JSObject"),
  125188. JSUrl: findType("JSUrl0"),
  125189. JavaScriptFunction: findType("JavaScriptFunction"),
  125190. JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
  125191. JsIdentityLinkedHashMap_SimpleSelector_int: findType("JsIdentityLinkedHashMap<SimpleSelector,int>"),
  125192. JsIdentityLinkedHashMap_SimpleSelector_int_2: findType("JsIdentityLinkedHashMap<SimpleSelector0,int>"),
  125193. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList: findType("JsIdentityLinkedHashMap<SelectorList,Box<SelectorList>>"),
  125194. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2: findType("JsIdentityLinkedHashMap<SelectorList0,Box0<SelectorList0>>"),
  125195. JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
  125196. JsSystemError: findType("JsSystemError"),
  125197. LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
  125198. LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
  125199. LinearChannel: findType("LinearChannel"),
  125200. LinearChannel_2: findType("LinearChannel0"),
  125201. List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
  125202. List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
  125203. List_CssComment: findType("List<CssComment>"),
  125204. List_CssComment_2: findType("List<CssComment0>"),
  125205. List_CssMediaQuery: findType("List<CssMediaQuery>"),
  125206. List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
  125207. List_CssValue_Combinator: findType("List<CssValue<Combinator>>"),
  125208. List_CssValue_Combinator_2: findType("List<CssValue0<Combinator0>>"),
  125209. List_Extension: findType("List<Extension>"),
  125210. List_ExtensionStore: findType("List<ExtensionStore>"),
  125211. List_ExtensionStore_2: findType("List<ExtensionStore0>"),
  125212. List_Extension_2: findType("List<Extension0>"),
  125213. List_JSObject: findType("List<JSObject>"),
  125214. List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
  125215. List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
  125216. List_Module_AsyncCallable: findType("List<Module0<AsyncCallable>>"),
  125217. List_Module_AsyncCallable_2: findType("List<Module1<AsyncCallable0>>"),
  125218. List_Module_Callable: findType("List<Module0<Callable0>>"),
  125219. List_Module_Callable_2: findType("List<Module1<Callable>>"),
  125220. List_String: findType("List<String>"),
  125221. List_WatchEvent: findType("List<WatchEvent>"),
  125222. List_dynamic: findType("List<@>"),
  125223. List_int: findType("List<int>"),
  125224. List_nullable_Object: findType("List<Object?>"),
  125225. MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module0<AsyncCallable>>"),
  125226. MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module1<AsyncCallable0>>"),
  125227. MapKeySet_Module_Callable: findType("MapKeySet<Module0<Callable0>>"),
  125228. MapKeySet_Module_Callable_2: findType("MapKeySet<Module1<Callable>>"),
  125229. MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
  125230. MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
  125231. MapKeySet_String: findType("MapKeySet<String>"),
  125232. MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
  125233. Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
  125234. Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
  125235. Map_String_AstNode: findType("Map<String,AstNode>"),
  125236. Map_String_AstNode_2: findType("Map<String,AstNode0>"),
  125237. Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
  125238. Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
  125239. Map_String_Callable: findType("Map<String,Callable0>"),
  125240. Map_String_Callable_2: findType("Map<String,Callable>"),
  125241. Map_String_Value: findType("Map<String,Value>"),
  125242. Map_String_Value_2: findType("Map<String,Value0>"),
  125243. Map_String_dynamic: findType("Map<String,@>"),
  125244. Map_dynamic_dynamic: findType("Map<@,@>"),
  125245. Map_of_nullable_Object_and_nullable_Object: findType("Map<Object?,Object?>"),
  125246. MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
  125247. MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
  125248. MappedListIterable_String_Object: findType("MappedListIterable<String,Object>"),
  125249. MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
  125250. MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
  125251. MappedListIterable_String_Value: findType("MappedListIterable<String,Value>"),
  125252. MappedListIterable_String_Value_2: findType("MappedListIterable<String,Value0>"),
  125253. MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
  125254. MixinRule: findType("MixinRule"),
  125255. MixinRule_2: findType("MixinRule0"),
  125256. ModifiableBox_SelectorList: findType("ModifiableBox<SelectorList>"),
  125257. ModifiableBox_SelectorList_2: findType("ModifiableBox0<SelectorList0>"),
  125258. ModifiableCssAtRule: findType("ModifiableCssAtRule"),
  125259. ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
  125260. ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
  125261. ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
  125262. ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
  125263. ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
  125264. ModifiableCssNode: findType("ModifiableCssNode"),
  125265. ModifiableCssNode_2: findType("ModifiableCssNode0"),
  125266. ModifiableCssParentNode: findType("ModifiableCssParentNode"),
  125267. ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
  125268. ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
  125269. ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
  125270. ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
  125271. ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
  125272. Module_AsyncCallable: findType("Module0<AsyncCallable>"),
  125273. Module_AsyncCallable_2: findType("Module1<AsyncCallable0>"),
  125274. Module_Callable: findType("Module0<Callable0>"),
  125275. Module_Callable_2: findType("Module1<Callable>"),
  125276. MultiSourceSpanFormatException: findType("MultiSourceSpanFormatException"),
  125277. NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
  125278. NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
  125279. NativeUint8List: findType("NativeUint8List"),
  125280. Never: findType("0&"),
  125281. NodeCompileResult: findType("NodeCompileResult"),
  125282. NodeImporterResult: findType("NodeImporterResult0"),
  125283. NonNullsIterable_Future_void: findType("NonNullsIterable<Future<~>>"),
  125284. NonNullsIterable_Object: findType("NonNullsIterable<Object>"),
  125285. NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("NonNullsIterable<+originalUrl(AsyncImporter,Uri,Uri)>"),
  125286. NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("NonNullsIterable<+originalUrl(AsyncImporter0,Uri,Uri)>"),
  125287. NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("NonNullsIterable<+originalUrl(Importer,Uri,Uri)>"),
  125288. NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("NonNullsIterable<+originalUrl(Importer0,Uri,Uri)>"),
  125289. NonNullsIterable_SelectorList: findType("NonNullsIterable<SelectorList>"),
  125290. NonNullsIterable_SelectorList_2: findType("NonNullsIterable<SelectorList0>"),
  125291. NonNullsIterable_String: findType("NonNullsIterable<String>"),
  125292. Null: findType("Null"),
  125293. NumberExpression: findType("NumberExpression"),
  125294. NumberExpression_2: findType("NumberExpression0"),
  125295. Object: findType("Object"),
  125296. Option: findType("Option"),
  125297. Parameter: findType("Parameter"),
  125298. ParameterList: findType("ParameterList"),
  125299. ParameterList_2: findType("ParameterList0"),
  125300. Parameter_2: findType("Parameter0"),
  125301. PathMap_ChangeType: findType("PathMap<ChangeType>"),
  125302. PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
  125303. PathMap_String: findType("PathMap<String>"),
  125304. PathMap_nullable_String: findType("PathMap<String?>"),
  125305. Promise: findType("Promise"),
  125306. PseudoSelector: findType("PseudoSelector"),
  125307. PseudoSelector_2: findType("PseudoSelector0"),
  125308. RangeError: findType("RangeError"),
  125309. Record: findType("Record"),
  125310. Record_0: findType("+()"),
  125311. Record_1_nullable_Object: findType("+(Object?)"),
  125312. Record_2_Expression_and_Expression: findType("+(Expression,Expression)"),
  125313. Record_2_Expression_and_Expression_2: findType("+(Expression0,Expression0)"),
  125314. Record_2_List_Expression_and_Map_String_Expression: findType("+(List<Expression>,Map<String,Expression>)"),
  125315. Record_2_List_Expression_and_Map_String_Expression_2: findType("+(List<Expression0>,Map<String,Expression0>)"),
  125316. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)"),
  125317. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)"),
  125318. Record_2_String_and_InterpolationMap: findType("+(String,InterpolationMap)"),
  125319. Record_2_String_and_InterpolationMap_2: findType("+(String,InterpolationMap0)"),
  125320. Record_2_String_and_SourceSpan: findType("+(String,SourceSpan)"),
  125321. Record_2_String_and_nullable_InterpolationMap: findType("+(String,InterpolationMap?)"),
  125322. Record_2_String_and_nullable_InterpolationMap_2: findType("+(String,InterpolationMap0?)"),
  125323. Record_2_Uri_and_bool_forImport: findType("+forImport(Uri,bool)"),
  125324. Record_2_nullable_Object_and_nullable_Object: findType("+(Object?,Object?)"),
  125325. Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool: findType("+(+originalUrl(AsyncImporter,Uri,Uri)?,bool)"),
  125326. Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2: findType("+(+originalUrl(AsyncImporter0,Uri,Uri)?,bool)"),
  125327. Record_2_nullable_String_and_nullable_String: findType("+(String?,String?)"),
  125328. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)"),
  125329. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)"),
  125330. Record_3_AsyncImporter_and_Uri_and_bool_forImport: findType("+forImport(AsyncImporter,Uri,bool)"),
  125331. Record_3_AsyncImporter_and_Uri_and_bool_forImport_2: findType("+forImport(AsyncImporter0,Uri,bool)"),
  125332. Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)"),
  125333. Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)"),
  125334. Record_3_Importer_and_Uri_and_bool_forImport: findType("+forImport(Importer,Uri,bool)"),
  125335. Record_3_Importer_and_Uri_and_bool_forImport_2: findType("+forImport(Importer0,Uri,bool)"),
  125336. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet,AsyncImporter?,bool)"),
  125337. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)"),
  125338. Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl: findType("+originalUrl(Object?,Object?,Object?)"),
  125339. 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)"),
  125340. 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)"),
  125341. RegExpMatch: findType("RegExpMatch"),
  125342. RenderContextOptions: findType("RenderContextOptions0"),
  125343. RenderResult: findType("RenderResult"),
  125344. Result_String: findType("Result<String>"),
  125345. ReversedListIterable_Frame: findType("ReversedListIterable<Frame>"),
  125346. Runes: findType("Runes"),
  125347. SassArgumentList: findType("SassArgumentList"),
  125348. SassArgumentList_2: findType("SassArgumentList0"),
  125349. SassBoolean: findType("SassBoolean"),
  125350. SassBoolean_2: findType("SassBoolean0"),
  125351. SassColor: findType("SassColor"),
  125352. SassColor_2: findType("SassColor0"),
  125353. SassFormatException: findType("SassFormatException"),
  125354. SassFormatException_2: findType("SassFormatException0"),
  125355. SassList: findType("SassList"),
  125356. SassList_2: findType("SassList0"),
  125357. SassMap: findType("SassMap"),
  125358. SassMap_2: findType("SassMap0"),
  125359. SassNumber: findType("SassNumber"),
  125360. SassNumber_2: findType("SassNumber0"),
  125361. SassRuntimeException: findType("SassRuntimeException"),
  125362. SassRuntimeException_2: findType("SassRuntimeException0"),
  125363. SassString: findType("SassString"),
  125364. SassString_2: findType("SassString0"),
  125365. SelectorList: findType("SelectorList"),
  125366. SelectorList_2: findType("SelectorList0"),
  125367. Set_ModifiableBox_SelectorList: findType("Set<ModifiableBox<SelectorList>>"),
  125368. Set_ModifiableBox_SelectorList_2: findType("Set<ModifiableBox0<SelectorList0>>"),
  125369. Set_Uri: findType("Set<Uri>"),
  125370. SimpleSelector: findType("SimpleSelector"),
  125371. SimpleSelector_2: findType("SimpleSelector0"),
  125372. SourceFile: findType("SourceFile"),
  125373. SourceLocation: findType("SourceLocation"),
  125374. SourceSpan: findType("SourceSpan"),
  125375. SourceSpanFormatException: findType("SourceSpanFormatException"),
  125376. SourceSpanWithContext: findType("SourceSpanWithContext"),
  125377. StackTrace: findType("StackTrace"),
  125378. Statement: findType("Statement"),
  125379. Statement_2: findType("Statement0"),
  125380. StaticImport: findType("StaticImport"),
  125381. StaticImport_2: findType("StaticImport0"),
  125382. StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
  125383. StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
  125384. StreamQueue_String: findType("StreamQueue<String>"),
  125385. Stream_WatchEvent: findType("Stream<WatchEvent>"),
  125386. String: findType("String"),
  125387. StringExpression: findType("StringExpression"),
  125388. StringExpression_2: findType("StringExpression0"),
  125389. StylesheetNode: findType("StylesheetNode"),
  125390. Timer: findType("Timer"),
  125391. Trace: findType("Trace"),
  125392. TrustedGetRuntimeType: findType("TrustedGetRuntimeType"),
  125393. TypeError: findType("TypeError"),
  125394. TypeSelector: findType("TypeSelector"),
  125395. TypeSelector_2: findType("TypeSelector0"),
  125396. Uint16List: findType("Uint16List"),
  125397. Uint32List: findType("Uint32List"),
  125398. Uint8ClampedList: findType("Uint8ClampedList"),
  125399. Uint8List: findType("Uint8List"),
  125400. UnionSet_Uri: findType("UnionSet<Uri>"),
  125401. UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
  125402. UnmodifiableListView_CssComment: findType("UnmodifiableListView<CssComment>"),
  125403. UnmodifiableListView_CssComment_2: findType("UnmodifiableListView<CssComment0>"),
  125404. UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
  125405. UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
  125406. UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
  125407. UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
  125408. UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
  125409. UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
  125410. UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span: findType("UnmodifiableListView<+deprecation,message,span(Deprecation?,String,FileSpan)>"),
  125411. UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2: findType("UnmodifiableListView<+deprecation,message,span(Deprecation0?,String,FileSpan)>"),
  125412. UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
  125413. UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
  125414. UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
  125415. UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
  125416. UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
  125417. UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
  125418. UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
  125419. UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
  125420. UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
  125421. UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
  125422. UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
  125423. UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
  125424. UnmodifiableSetView_String: findType("UnmodifiableSetView0<String>"),
  125425. UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView0<StylesheetNode>"),
  125426. UnmodifiableSetView_Uri: findType("UnmodifiableSetView0<Uri>"),
  125427. UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
  125428. UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
  125429. Uri: findType("Uri"),
  125430. UseRule: findType("UseRule"),
  125431. UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
  125432. UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
  125433. UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
  125434. UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
  125435. Value: findType("Value"),
  125436. Value_2: findType("Value0"),
  125437. Value_Function_List_Value: findType("Value(List<Value>)"),
  125438. Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
  125439. VariableDeclaration: findType("VariableDeclaration"),
  125440. VersionRange: findType("VersionRange"),
  125441. WatchEvent: findType("WatchEvent"),
  125442. WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
  125443. WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
  125444. WhereIterable_String: findType("WhereIterable<String>"),
  125445. WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
  125446. WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
  125447. WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
  125448. _AsyncCompleter_List_void: findType("_AsyncCompleter<List<~>>"),
  125449. _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
  125450. _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
  125451. _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
  125452. _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
  125453. _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
  125454. _EventRequest_dynamic: findType("_EventRequest<@>"),
  125455. _Future_List_void: findType("_Future<List<~>>"),
  125456. _Future_Object: findType("_Future<Object>"),
  125457. _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
  125458. _Future_String: findType("_Future<String>"),
  125459. _Future_Value: findType("_Future<Value>"),
  125460. _Future_Value_2: findType("_Future<Value0>"),
  125461. _Future_bool: findType("_Future<bool>"),
  125462. _Future_dynamic: findType("_Future<@>"),
  125463. _Future_int: findType("_Future<int>"),
  125464. _Future_nullable_Object: findType("_Future<Object?>"),
  125465. _Future_void: findType("_Future<~>"),
  125466. _Highlight: findType("_Highlight"),
  125467. _IdentityHashMap_of_nullable_Object_and_nullable_Object: findType("_IdentityHashMap<Object?,Object?>"),
  125468. _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
  125469. _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
  125470. _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
  125471. _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
  125472. _MapEntry: findType("_MapEntry"),
  125473. _NodeException: findType("_NodeException"),
  125474. _PlatformUri: findType("_PlatformUri"),
  125475. _SyncStarIterable_Deprecation: findType("_SyncStarIterable<Deprecation0>"),
  125476. _SyncStarIterable_Extension: findType("_SyncStarIterable<Extension>"),
  125477. _SyncStarIterable_Extension_2: findType("_SyncStarIterable<Extension0>"),
  125478. _SyncStarIterable_SimpleSelector: findType("_SyncStarIterable<SimpleSelector>"),
  125479. _SyncStarIterable_SimpleSelector_2: findType("_SyncStarIterable<SimpleSelector0>"),
  125480. _SyncStarIterable_String: findType("_SyncStarIterable<String>"),
  125481. bool: findType("bool"),
  125482. double: findType("double"),
  125483. dynamic: findType("@"),
  125484. dynamic_Function: findType("@()"),
  125485. dynamic_Function_Object: findType("@(Object)"),
  125486. dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
  125487. int: findType("int"),
  125488. legacy_Never: findType("0&*"),
  125489. legacy_Object: findType("Object*"),
  125490. nullable_AstNode: findType("AstNode?"),
  125491. nullable_AstNode_2: findType("AstNode0?"),
  125492. nullable_CanonicalizeContext: findType("CanonicalizeContext?"),
  125493. nullable_CanonicalizeContext_2: findType("CanonicalizeContext0?"),
  125494. nullable_CssValue_String: findType("CssValue<String>?"),
  125495. nullable_CssValue_String_2: findType("CssValue0<String>?"),
  125496. nullable_FileSpan: findType("FileSpan?"),
  125497. nullable_Future_Null: findType("Future<Null>?"),
  125498. nullable_Future_void: findType("Future<~>?"),
  125499. nullable_ImporterResult: findType("ImporterResult?"),
  125500. nullable_ImporterResult_2: findType("ImporterResult0?"),
  125501. nullable_Object: findType("Object?"),
  125502. nullable_Record_2_String_and_String: findType("+(String,String)?"),
  125503. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)?"),
  125504. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)?"),
  125505. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)?"),
  125506. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)?"),
  125507. nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)?"),
  125508. nullable_Record_3_int_and_String_and_nullable_String: findType("+(int,String,String?)?"),
  125509. nullable_SourceFile: findType("SourceFile?"),
  125510. nullable_SourceSpan: findType("SourceSpan?"),
  125511. nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
  125512. nullable_String: findType("String?"),
  125513. nullable_Stylesheet: findType("Stylesheet?"),
  125514. nullable_StylesheetNode: findType("StylesheetNode?"),
  125515. nullable_Stylesheet_2: findType("Stylesheet0?"),
  125516. nullable_Uri: findType("Uri?"),
  125517. nullable_Value: findType("Value?"),
  125518. nullable_Value_2: findType("Value0?"),
  125519. nullable__ConstructorOptions: findType("_ConstructorOptions?"),
  125520. nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
  125521. nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
  125522. nullable__Highlight: findType("_Highlight?"),
  125523. nullable_double: findType("double?"),
  125524. num: findType("num"),
  125525. void: findType("~"),
  125526. void_Function_Object: findType("~(Object)"),
  125527. void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
  125528. };
  125529. })();
  125530. (function constants() {
  125531. var makeConstList = hunkHelpers.makeConstList;
  125532. B.Interceptor_methods = J.Interceptor.prototype;
  125533. B.JSArray_methods = J.JSArray.prototype;
  125534. B.JSBool_methods = J.JSBool.prototype;
  125535. B.JSInt_methods = J.JSInt.prototype;
  125536. B.JSNull_methods = J.JSNull.prototype;
  125537. B.JSNumber_methods = J.JSNumber.prototype;
  125538. B.JSString_methods = J.JSString.prototype;
  125539. B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
  125540. B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
  125541. B.NativeUint32List_methods = A.NativeUint32List.prototype;
  125542. B.NativeUint8List_methods = A.NativeUint8List.prototype;
  125543. B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
  125544. B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
  125545. B.LinearChannel_Y0V = new A.LinearChannel(0, 1, false, false, false, "red", false, null);
  125546. B.LinearChannel_cPl = new A.LinearChannel(0, 1, false, false, false, "green", false, null);
  125547. B.LinearChannel_ABN = new A.LinearChannel(0, 1, false, false, false, "blue", false, null);
  125548. B.List_U47 = A._setArrayType(makeConstList([B.LinearChannel_Y0V, B.LinearChannel_cPl, B.LinearChannel_ABN]), type$.JSArray_LinearChannel);
  125549. B.A98RgbColorSpace_lf2 = new A.A98RgbColorSpace("a98-rgb", B.List_U47);
  125550. B.LinearChannel_Y0V0 = new A.LinearChannel0(0, 1, false, false, false, "red", false, null);
  125551. B.LinearChannel_cPl0 = new A.LinearChannel0(0, 1, false, false, false, "green", false, null);
  125552. B.LinearChannel_ABN0 = new A.LinearChannel0(0, 1, false, false, false, "blue", false, null);
  125553. B.List_U470 = A._setArrayType(makeConstList([B.LinearChannel_Y0V0, B.LinearChannel_cPl0, B.LinearChannel_ABN0]), type$.JSArray_LinearChannel_2);
  125554. B.A98RgbColorSpace_lf20 = new A.A98RgbColorSpace0("a98-rgb", B.List_U470);
  125555. B.AsciiEncoder_127 = new A.AsciiEncoder(127);
  125556. B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
  125557. B.AtRootQuery_bfj = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
  125558. B.AtRootQuery_bfj0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
  125559. B.AttributeOperator_GWq = new A.AttributeOperator("*=", "substring");
  125560. B.AttributeOperator_GWq0 = new A.AttributeOperator0("*=", "substring");
  125561. B.AttributeOperator_JzP = new A.AttributeOperator("^=", "prefix");
  125562. B.AttributeOperator_JzP0 = new A.AttributeOperator0("^=", "prefix");
  125563. B.AttributeOperator_Lvy = new A.AttributeOperator("=", "equal");
  125564. B.AttributeOperator_Lvy0 = new A.AttributeOperator0("=", "equal");
  125565. B.AttributeOperator_U1W = new A.AttributeOperator("$=", "suffix");
  125566. B.AttributeOperator_U1W0 = new A.AttributeOperator0("$=", "suffix");
  125567. B.AttributeOperator_fp2 = new A.AttributeOperator("~=", "include");
  125568. B.AttributeOperator_fp20 = new A.AttributeOperator0("~=", "include");
  125569. B.AttributeOperator_iyP = new A.AttributeOperator("|=", "dash");
  125570. B.AttributeOperator_iyP0 = new A.AttributeOperator0("|=", "dash");
  125571. B.BinaryOperator_FPG = new A.BinaryOperator("less than or equals", "<=", 4, false, "lessThanOrEquals");
  125572. B.BinaryOperator_FPG0 = new A.BinaryOperator0("less than or equals", "<=", 4, false, "lessThanOrEquals");
  125573. B.BinaryOperator_JiR = new A.BinaryOperator("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  125574. B.BinaryOperator_JiR0 = new A.BinaryOperator0("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  125575. B.BinaryOperator_Kyq = new A.BinaryOperator("single equals", "=", 0, false, "singleEquals");
  125576. B.BinaryOperator_Kyq0 = new A.BinaryOperator0("single equals", "=", 0, false, "singleEquals");
  125577. B.BinaryOperator_Mh5 = new A.BinaryOperator("divided by", "/", 6, false, "dividedBy");
  125578. B.BinaryOperator_Mh50 = new A.BinaryOperator0("divided by", "/", 6, false, "dividedBy");
  125579. B.BinaryOperator_QG1 = new A.BinaryOperator("minus", "-", 5, false, "minus");
  125580. B.BinaryOperator_QG10 = new A.BinaryOperator0("minus", "-", 5, false, "minus");
  125581. B.BinaryOperator_Swh = new A.BinaryOperator("plus", "+", 5, true, "plus");
  125582. B.BinaryOperator_Swh0 = new A.BinaryOperator0("plus", "+", 5, true, "plus");
  125583. B.BinaryOperator_o8O = new A.BinaryOperator("greater than", ">", 4, false, "greaterThan");
  125584. B.BinaryOperator_o8O0 = new A.BinaryOperator0("greater than", ">", 4, false, "greaterThan");
  125585. B.BinaryOperator_qGq = new A.BinaryOperator("not equals", "!=", 3, false, "notEquals");
  125586. B.BinaryOperator_qGq0 = new A.BinaryOperator0("not equals", "!=", 3, false, "notEquals");
  125587. B.BinaryOperator_qHy = new A.BinaryOperator("less than", "<", 4, false, "lessThan");
  125588. B.BinaryOperator_qHy0 = new A.BinaryOperator0("less than", "<", 4, false, "lessThan");
  125589. B.BinaryOperator_r84 = new A.BinaryOperator("equals", "==", 3, false, "equals");
  125590. B.BinaryOperator_r840 = new A.BinaryOperator0("equals", "==", 3, false, "equals");
  125591. B.BinaryOperator_s7T = new A.BinaryOperator("modulo", "%", 6, false, "modulo");
  125592. B.BinaryOperator_s7T0 = new A.BinaryOperator0("modulo", "%", 6, false, "modulo");
  125593. B.BinaryOperator_tKu = new A.BinaryOperator("or", "or", 1, true, "or");
  125594. B.BinaryOperator_tKu0 = new A.BinaryOperator0("or", "or", 1, true, "or");
  125595. B.BinaryOperator_tht = new A.BinaryOperator("times", "*", 6, true, "times");
  125596. B.BinaryOperator_tht0 = new A.BinaryOperator0("times", "*", 6, true, "times");
  125597. B.BinaryOperator_uke = new A.BinaryOperator("and", "and", 2, true, "and");
  125598. B.BinaryOperator_uke0 = new A.BinaryOperator0("and", "and", 2, true, "and");
  125599. B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
  125600. B.C_AsciiCodec = new A.AsciiCodec();
  125601. B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
  125602. B.C_Base64Encoder = new A.Base64Encoder();
  125603. B.C_Base64Codec = new A.Base64Codec();
  125604. B.C_DefaultEquality = new A.DefaultEquality();
  125605. B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
  125606. B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
  125607. B.C_EmptyIterator = new A.EmptyIterator();
  125608. B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
  125609. B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
  125610. B.C_IsCalculationSafeVisitor = new A.IsCalculationSafeVisitor();
  125611. B.C_IsCalculationSafeVisitor0 = new A.IsCalculationSafeVisitor0();
  125612. B.C_IterableEquality = new A.IterableEquality();
  125613. B.C_JS_CONST = function getTagFallback(o) {
  125614. var s = Object.prototype.toString.call(o);
  125615. return s.substring(8, s.length - 1);
  125616. };
  125617. B.C_JS_CONST0 = function() {
  125618. var toStringFunction = Object.prototype.toString;
  125619. function getTag(o) {
  125620. var s = toStringFunction.call(o);
  125621. return s.substring(8, s.length - 1);
  125622. }
  125623. function getUnknownTag(object, tag) {
  125624. if (/^HTML[A-Z].*Element$/.test(tag)) {
  125625. var name = toStringFunction.call(object);
  125626. if (name == "[object Object]") return null;
  125627. return "HTMLElement";
  125628. }
  125629. }
  125630. function getUnknownTagGenericBrowser(object, tag) {
  125631. if (object instanceof HTMLElement) return "HTMLElement";
  125632. return getUnknownTag(object, tag);
  125633. }
  125634. function prototypeForTag(tag) {
  125635. if (typeof window == "undefined") return null;
  125636. if (typeof window[tag] == "undefined") return null;
  125637. var constructor = window[tag];
  125638. if (typeof constructor != "function") return null;
  125639. return constructor.prototype;
  125640. }
  125641. function discriminator(tag) { return null; }
  125642. var isBrowser = typeof HTMLElement == "function";
  125643. return {
  125644. getTag: getTag,
  125645. getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
  125646. prototypeForTag: prototypeForTag,
  125647. discriminator: discriminator };
  125648. };
  125649. B.C_JS_CONST6 = function(getTagFallback) {
  125650. return function(hooks) {
  125651. if (typeof navigator != "object") return hooks;
  125652. var userAgent = navigator.userAgent;
  125653. if (typeof userAgent != "string") return hooks;
  125654. if (userAgent.indexOf("DumpRenderTree") >= 0) return hooks;
  125655. if (userAgent.indexOf("Chrome") >= 0) {
  125656. function confirm(p) {
  125657. return typeof window == "object" && window[p] && window[p].name == p;
  125658. }
  125659. if (confirm("Window") && confirm("HTMLElement")) return hooks;
  125660. }
  125661. hooks.getTag = getTagFallback;
  125662. };
  125663. };
  125664. B.C_JS_CONST1 = function(hooks) {
  125665. if (typeof dartExperimentalFixupGetTag != "function") return hooks;
  125666. hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
  125667. };
  125668. B.C_JS_CONST5 = function(hooks) {
  125669. if (typeof navigator != "object") return hooks;
  125670. var userAgent = navigator.userAgent;
  125671. if (typeof userAgent != "string") return hooks;
  125672. if (userAgent.indexOf("Firefox") == -1) return hooks;
  125673. var getTag = hooks.getTag;
  125674. var quickMap = {
  125675. "BeforeUnloadEvent": "Event",
  125676. "DataTransfer": "Clipboard",
  125677. "GeoGeolocation": "Geolocation",
  125678. "Location": "!Location",
  125679. "WorkerMessageEvent": "MessageEvent",
  125680. "XMLDocument": "!Document"};
  125681. function getTagFirefox(o) {
  125682. var tag = getTag(o);
  125683. return quickMap[tag] || tag;
  125684. }
  125685. hooks.getTag = getTagFirefox;
  125686. };
  125687. B.C_JS_CONST4 = function(hooks) {
  125688. if (typeof navigator != "object") return hooks;
  125689. var userAgent = navigator.userAgent;
  125690. if (typeof userAgent != "string") return hooks;
  125691. if (userAgent.indexOf("Trident/") == -1) return hooks;
  125692. var getTag = hooks.getTag;
  125693. var quickMap = {
  125694. "BeforeUnloadEvent": "Event",
  125695. "DataTransfer": "Clipboard",
  125696. "HTMLDDElement": "HTMLElement",
  125697. "HTMLDTElement": "HTMLElement",
  125698. "HTMLPhraseElement": "HTMLElement",
  125699. "Position": "Geoposition"
  125700. };
  125701. function getTagIE(o) {
  125702. var tag = getTag(o);
  125703. var newTag = quickMap[tag];
  125704. if (newTag) return newTag;
  125705. if (tag == "Object") {
  125706. if (window.DataView && (o instanceof window.DataView)) return "DataView";
  125707. }
  125708. return tag;
  125709. }
  125710. function prototypeForTagIE(tag) {
  125711. var constructor = window[tag];
  125712. if (constructor == null) return null;
  125713. return constructor.prototype;
  125714. }
  125715. hooks.getTag = getTagIE;
  125716. hooks.prototypeForTag = prototypeForTagIE;
  125717. };
  125718. B.C_JS_CONST2 = function(hooks) {
  125719. var getTag = hooks.getTag;
  125720. var prototypeForTag = hooks.prototypeForTag;
  125721. function getTagFixed(o) {
  125722. var tag = getTag(o);
  125723. if (tag == "Document") {
  125724. if (!!o.xmlVersion) return "!Document";
  125725. return "!HTMLDocument";
  125726. }
  125727. return tag;
  125728. }
  125729. function prototypeForTagFixed(tag) {
  125730. if (tag == "Document") return null;
  125731. return prototypeForTag(tag);
  125732. }
  125733. hooks.getTag = getTagFixed;
  125734. hooks.prototypeForTag = prototypeForTagFixed;
  125735. };
  125736. B.C_JS_CONST3 = function(hooks) { return hooks; }
  125737. ;
  125738. B.C_JsonCodec = new A.JsonCodec();
  125739. B.C_ListEquality0 = new A.ListEquality();
  125740. B.C_ListEquality = new A.ListEquality();
  125741. B.C_MapEquality = new A.MapEquality(A.findType("MapEquality<Object,Object>"));
  125742. B.C_OutOfMemoryError = new A.OutOfMemoryError();
  125743. B.C_SentinelValue = new A.SentinelValue();
  125744. B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
  125745. B.C_Utf8Codec = new A.Utf8Codec();
  125746. B.C_Utf8Encoder = new A.Utf8Encoder();
  125747. B.C__ColorFormatEnum = new A._ColorFormatEnum();
  125748. B.C__ColorFormatEnum0 = new A._ColorFormatEnum0();
  125749. B.C__DelayedDone = new A._DelayedDone();
  125750. B.C__HasContentVisitor = new A._HasContentVisitor();
  125751. B.C__HasContentVisitor0 = new A._HasContentVisitor0();
  125752. B.C__IsUselessVisitor = new A._IsUselessVisitor();
  125753. B.C__IsUselessVisitor0 = new A._IsUselessVisitor0();
  125754. B.C__JSRandom = new A._JSRandom();
  125755. B.C__MakeExpressionCalculationSafe = new A._MakeExpressionCalculationSafe();
  125756. B.C__MakeExpressionCalculationSafe0 = new A._MakeExpressionCalculationSafe0();
  125757. B.C__ParentSelectorVisitor = new A._ParentSelectorVisitor();
  125758. B.C__ParentSelectorVisitor0 = new A._ParentSelectorVisitor0();
  125759. B.C__Required = new A._Required();
  125760. B.C__RootZone = new A._RootZone();
  125761. B.C__SassNull = new A._SassNull();
  125762. B.C__SassNull0 = new A._SassNull0();
  125763. B.CalculationOperator_F7i = new A.CalculationOperator("plus", "+", 1, "plus");
  125764. B.CalculationOperator_F7i0 = new A.CalculationOperator0("plus", "+", 1, "plus");
  125765. B.CalculationOperator_bo5 = new A.CalculationOperator("divided by", "/", 2, "dividedBy");
  125766. B.CalculationOperator_bo50 = new A.CalculationOperator0("divided by", "/", 2, "dividedBy");
  125767. B.CalculationOperator_kkN = new A.CalculationOperator("times", "*", 2, "times");
  125768. B.CalculationOperator_kkN0 = new A.CalculationOperator0("times", "*", 2, "times");
  125769. B.CalculationOperator_oum = new A.CalculationOperator("minus", "-", 1, "minus");
  125770. B.CalculationOperator_oum0 = new A.CalculationOperator0("minus", "-", 1, "minus");
  125771. B.ChangeType_add = new A.ChangeType("add");
  125772. B.ChangeType_modify = new A.ChangeType("modify");
  125773. B.ChangeType_remove = new A.ChangeType("remove");
  125774. B.ClipGamutMap_clip = new A.ClipGamutMap("clip");
  125775. B.ClipGamutMap_clip0 = new A.ClipGamutMap0("clip");
  125776. B.Combinator_0mp = new A.Combinator(">", "child");
  125777. B.Combinator_0mp0 = new A.Combinator0(">", "child");
  125778. B.Combinator_55N = new A.Combinator("~", "followingSibling");
  125779. B.Combinator_55N0 = new A.Combinator0("~", "followingSibling");
  125780. B.Combinator_bOP = new A.Combinator("+", "nextSibling");
  125781. B.Combinator_bOP0 = new A.Combinator0("+", "nextSibling");
  125782. B.Object_empty = {};
  125783. B.Map_empty18 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue>"));
  125784. B.Configuration_Map_empty_null = new A.Configuration(B.Map_empty18, null);
  125785. B.Map_empty19 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue0>"));
  125786. B.Configuration_Map_empty_null0 = new A.Configuration0(B.Map_empty19, null);
  125787. B.Deprecation_0NP = new A.Deprecation("duplicate-var-flags", "1.62.0", "duplicateVarFlags");
  125788. B.Deprecation_1AX = new A.Deprecation("global-builtin", "1.80.0", "globalBuiltin");
  125789. B.Deprecation_2g5 = new A.Deprecation("import", "1.80.0", "import");
  125790. B.Deprecation_39u = new A.Deprecation("mixed-decls", "1.77.7", "mixedDecls");
  125791. B.Deprecation_746 = new A.Deprecation("relative-canonical", "1.14.2", "relativeCanonical");
  125792. B.Deprecation_89v = new A.Deprecation("moz-document", "1.7.2", "mozDocument");
  125793. B.Deprecation_8ki = new A.Deprecation0("elseif", "1.3.2", "@elseif.", "elseif");
  125794. B.Deprecation_9hF = new A.Deprecation("bogus-combinators", "1.54.0", "bogusCombinators");
  125795. B.Deprecation_BvP = new A.Deprecation("slash-div", "1.33.0", "slashDiv");
  125796. B.Deprecation_BzI = new A.Deprecation0("duplicate-var-flags", "1.62.0", "Using !default or !global multiple times for one variable.", "duplicateVarFlags");
  125797. B.Deprecation_CRw = new A.Deprecation0("strict-unary", "1.55.0", "Ambiguous + and - operators.", "strictUnary");
  125798. B.Deprecation_Ds6 = new A.Deprecation0("fs-importer-cwd", "1.73.0", "Using the current working directory as an implicit load path.", "fsImporterCwd");
  125799. B.Deprecation_F8y = new A.Deprecation0("legacy-js-api", "1.79.0", "Legacy JS API.", "legacyJsApi");
  125800. B.Deprecation_FD1 = new A.Deprecation0("color-4-api", "1.79.0", "Certain uses of built-in sass:color functions.", "color4Api");
  125801. B.Deprecation_FyB = new A.Deprecation0("slash-div", "1.33.0", "/ operator for division.", "slashDiv");
  125802. B.Deprecation_HIp = new A.Deprecation0("feature-exists", "1.78.0", "meta.feature-exists", "featureExists");
  125803. B.Deprecation_Kg6 = new A.Deprecation("css-function-mixin", "1.76.0", "cssFunctionMixin");
  125804. B.Deprecation_Kry = new A.Deprecation0("color-module-compat", "1.23.0", "Using color module functions in place of plain CSS functions.", "colorModuleCompat");
  125805. B.Deprecation_KtC = new A.Deprecation("user-authored", null, "userAuthored");
  125806. B.Deprecation_L0R = new A.Deprecation0("moz-document", "1.7.2", "@-moz-document.", "mozDocument");
  125807. B.Deprecation_MSr = new A.Deprecation0("mixed-decls", "1.77.7", "Declarations after or between nested rules.", "mixedDecls");
  125808. B.Deprecation_OHJ = new A.Deprecation0("import", "1.80.0", "@import rules.", "import");
  125809. B.Deprecation_Ord = new A.Deprecation0("relative-canonical", "1.14.2", "Imports using relative canonical URLs.", "relativeCanonical");
  125810. B.Deprecation_Rg0 = new A.Deprecation("new-global", "1.17.2", "newGlobal");
  125811. B.Deprecation_SHb = new A.Deprecation0("bogus-combinators", "1.54.0", "Leading, trailing, and repeated combinators.", "bogusCombinators");
  125812. B.Deprecation_UYp = new A.Deprecation0("abs-percent", "1.65.0", "Passing percentages to the Sass abs() function.", "absPercent");
  125813. B.Deprecation_ZDV = new A.Deprecation0("global-builtin", "1.80.0", "Global built-in functions that are available in sass: modules.", "globalBuiltin");
  125814. B.Deprecation_ZVM = new A.Deprecation0("user-authored", null, null, "userAuthored");
  125815. B.Deprecation_aM0 = new A.Deprecation0("call-string", "0.0.0", "Passing a string directly to meta.call().", "callString");
  125816. B.Deprecation_cyE = new A.Deprecation("color-functions", "1.79.0", "colorFunctions");
  125817. B.Deprecation_d4j = new A.Deprecation0("css-function-mixin", "1.76.0", "Function and mixin names beginning with --.", "cssFunctionMixin");
  125818. B.Deprecation_dAn = new A.Deprecation("call-string", "0.0.0", "callString");
  125819. B.Deprecation_f5Y = new A.Deprecation0("calc-interp", null, null, "calcInterp");
  125820. B.Deprecation_fdF = new A.Deprecation0("color-functions", "1.79.0", "Using global color functions instead of sass:color.", "colorFunctions");
  125821. B.Deprecation_hAa = new A.Deprecation("elseif", "1.3.2", "elseif");
  125822. B.Deprecation_hcg = new A.Deprecation("feature-exists", "1.78.0", "featureExists");
  125823. B.Deprecation_jG1 = new A.Deprecation("function-units", "1.56.0", "functionUnits");
  125824. B.Deprecation_l0m = new A.Deprecation0("null-alpha", "1.62.3", "Passing null as alpha in the JS API.", "nullAlpha");
  125825. B.Deprecation_mSy = new A.Deprecation0("new-global", "1.17.2", "Declaring new variables with !global.", "newGlobal");
  125826. B.Deprecation_pLJ = new A.Deprecation("abs-percent", "1.65.0", "absPercent");
  125827. B.Deprecation_t60 = new A.Deprecation("strict-unary", "1.55.0", "strictUnary");
  125828. B.Deprecation_tms = new A.Deprecation("fs-importer-cwd", "1.73.0", "fsImporterCwd");
  125829. B.Deprecation_u0j = new A.Deprecation("color-module-compat", "1.23.0", "colorModuleCompat");
  125830. B.Deprecation_vn5 = new A.Deprecation0("function-units", "1.56.0", "Passing invalid units to built-in functions.", "functionUnits");
  125831. B.DisplayP3ColorSpace_MmT = new A.DisplayP3ColorSpace("display-p3", B.List_U47);
  125832. B.DisplayP3ColorSpace_MmT0 = new A.DisplayP3ColorSpace0("display-p3", B.List_U470);
  125833. B.Duration_0 = new A.Duration(0);
  125834. B.ExtendMode_allTargets_allTargets = new A.ExtendMode("allTargets", "allTargets");
  125835. B.ExtendMode_allTargets_allTargets0 = new A.ExtendMode0("allTargets", "allTargets");
  125836. B.ExtendMode_normal_normal = new A.ExtendMode("normal", "normal");
  125837. B.ExtendMode_normal_normal0 = new A.ExtendMode0("normal", "normal");
  125838. B.ExtendMode_replace_replace = new A.ExtendMode("replace", "replace");
  125839. B.ExtendMode_replace_replace0 = new A.ExtendMode0("replace", "replace");
  125840. B.ColorChannel_hue_true_deg = new A.ColorChannel("hue", true, "deg");
  125841. B.LinearChannel_Cal = new A.LinearChannel(0, 100, true, true, false, "saturation", false, "%");
  125842. B.LinearChannel_w1m = new A.LinearChannel(0, 100, true, false, false, "lightness", false, "%");
  125843. B.List_oAL = A._setArrayType(makeConstList([B.ColorChannel_hue_true_deg, B.LinearChannel_Cal, B.LinearChannel_w1m]), type$.JSArray_ColorChannel);
  125844. B.HslColorSpace_JQ2 = new A.HslColorSpace("hsl", B.List_oAL);
  125845. B.ColorChannel_hue_true_deg0 = new A.ColorChannel0("hue", true, "deg");
  125846. B.LinearChannel_Cal0 = new A.LinearChannel0(0, 100, true, true, false, "saturation", false, "%");
  125847. B.LinearChannel_w1m0 = new A.LinearChannel0(0, 100, true, false, false, "lightness", false, "%");
  125848. B.List_oAL0 = A._setArrayType(makeConstList([B.ColorChannel_hue_true_deg0, B.LinearChannel_Cal0, B.LinearChannel_w1m0]), type$.JSArray_ColorChannel_2);
  125849. B.HslColorSpace_JQ20 = new A.HslColorSpace0("hsl", B.List_oAL0);
  125850. B.HueInterpolationMethod_0 = new A.HueInterpolationMethod("shorter");
  125851. B.HueInterpolationMethod_00 = new A.HueInterpolationMethod0("shorter");
  125852. B.HueInterpolationMethod_1 = new A.HueInterpolationMethod("longer");
  125853. B.HueInterpolationMethod_10 = new A.HueInterpolationMethod0("longer");
  125854. B.HueInterpolationMethod_2 = new A.HueInterpolationMethod("increasing");
  125855. B.HueInterpolationMethod_20 = new A.HueInterpolationMethod0("increasing");
  125856. B.HueInterpolationMethod_3 = new A.HueInterpolationMethod("decreasing");
  125857. B.HueInterpolationMethod_30 = new A.HueInterpolationMethod0("decreasing");
  125858. B.LinearChannel_mPM = new A.LinearChannel(0, 100, true, false, false, "whiteness", false, "%");
  125859. B.LinearChannel_NBP = new A.LinearChannel(0, 100, true, false, false, "blackness", false, "%");
  125860. B.List_Ar1 = A._setArrayType(makeConstList([B.ColorChannel_hue_true_deg, B.LinearChannel_mPM, B.LinearChannel_NBP]), type$.JSArray_ColorChannel);
  125861. B.HwbColorSpace_guQ = new A.HwbColorSpace("hwb", B.List_Ar1);
  125862. B.LinearChannel_mPM0 = new A.LinearChannel0(0, 100, true, false, false, "whiteness", false, "%");
  125863. B.LinearChannel_NBP0 = new A.LinearChannel0(0, 100, true, false, false, "blackness", false, "%");
  125864. B.List_Ar10 = A._setArrayType(makeConstList([B.ColorChannel_hue_true_deg0, B.LinearChannel_mPM0, B.LinearChannel_NBP0]), type$.JSArray_ColorChannel_2);
  125865. B.HwbColorSpace_guQ0 = new A.HwbColorSpace0("hwb", B.List_Ar10);
  125866. B.JsonDecoder_null = new A.JsonDecoder(null);
  125867. B.JsonEncoder_null = new A.JsonEncoder(null);
  125868. B.LinearChannel_rY5 = new A.LinearChannel(0, 100, false, true, true, "lightness", false, "%");
  125869. B.LinearChannel_vtc = new A.LinearChannel(-125, 125, false, false, false, "a", false, null);
  125870. B.LinearChannel_r83 = new A.LinearChannel(-125, 125, false, false, false, "b", false, null);
  125871. B.List_KEo = A._setArrayType(makeConstList([B.LinearChannel_rY5, B.LinearChannel_vtc, B.LinearChannel_r83]), type$.JSArray_ColorChannel);
  125872. B.LabColorSpace_2nT = new A.LabColorSpace("lab", B.List_KEo);
  125873. B.LinearChannel_rY50 = new A.LinearChannel0(0, 100, false, true, true, "lightness", false, "%");
  125874. B.LinearChannel_vtc0 = new A.LinearChannel0(-125, 125, false, false, false, "a", false, null);
  125875. B.LinearChannel_r830 = new A.LinearChannel0(-125, 125, false, false, false, "b", false, null);
  125876. B.List_KEo0 = A._setArrayType(makeConstList([B.LinearChannel_rY50, B.LinearChannel_vtc0, B.LinearChannel_r830]), type$.JSArray_ColorChannel_2);
  125877. B.LabColorSpace_2nT0 = new A.LabColorSpace0("lab", B.List_KEo0);
  125878. B.LinearChannel_JUs = new A.LinearChannel(0, 150, false, true, false, "chroma", false, null);
  125879. B.List_grF = A._setArrayType(makeConstList([B.LinearChannel_rY5, B.LinearChannel_JUs, B.ColorChannel_hue_true_deg]), type$.JSArray_ColorChannel);
  125880. B.LchColorSpace_Bpv = new A.LchColorSpace("lch", B.List_grF);
  125881. B.LinearChannel_JUs0 = new A.LinearChannel0(0, 150, false, true, false, "chroma", false, null);
  125882. B.List_grF0 = A._setArrayType(makeConstList([B.LinearChannel_rY50, B.LinearChannel_JUs0, B.ColorChannel_hue_true_deg0]), type$.JSArray_ColorChannel_2);
  125883. B.LchColorSpace_Bpv0 = new A.LchColorSpace0("lch", B.List_grF0);
  125884. B.LineFeed_9HY = new A.LineFeed0("lf", "\n", "lf");
  125885. B.LineFeed_G7N = new A.LineFeed0("lfcr", "\n\r", "lfcr");
  125886. B.LineFeed_Pcs = new A.LineFeed0("crlf", "\r\n", "crlf");
  125887. B.LineFeed_lf = new A.LineFeed("lf");
  125888. B.LineFeed_ybQ = new A.LineFeed0("cr", "\r", "cr");
  125889. B.LinearChannel_XL8 = new A.LinearChannel(0, 1, false, false, false, "alpha", false, null);
  125890. B.LinearChannel_XL80 = new A.LinearChannel0(0, 1, false, false, false, "alpha", false, null);
  125891. B.LinearChannel_Z5r = new A.LinearChannel(0, 255, false, true, true, "green", false, null);
  125892. B.LinearChannel_Z5r0 = new A.LinearChannel0(0, 255, false, true, true, "green", false, null);
  125893. B.LinearChannel_qXC = new A.LinearChannel(0, 255, false, true, true, "red", false, null);
  125894. B.LinearChannel_qXC0 = new A.LinearChannel0(0, 255, false, true, true, "red", false, null);
  125895. B.LinearChannel_vJ3 = new A.LinearChannel(0, 255, false, true, true, "blue", false, null);
  125896. B.LinearChannel_vJ30 = new A.LinearChannel0(0, 255, false, true, true, "blue", false, null);
  125897. B.ListSeparator_bRz = new A.ListSeparator("slash", "/", "slash");
  125898. B.ListSeparator_bRz0 = new A.ListSeparator0("slash", "/", "slash");
  125899. B.ListSeparator_qSL = new A.ListSeparator("space", " ", "space");
  125900. B.ListSeparator_qSL0 = new A.ListSeparator0("space", " ", "space");
  125901. B.ListSeparator_qVN = new A.ListSeparator("comma", ",", "comma");
  125902. B.ListSeparator_qVN0 = new A.ListSeparator0("comma", ",", "comma");
  125903. B.ListSeparator_undecided_null_undecided = new A.ListSeparator("undecided", null, "undecided");
  125904. B.ListSeparator_undecided_null_undecided0 = new A.ListSeparator0("undecided", null, "undecided");
  125905. 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};
  125906. B.Set_V30th = new A.ConstantStringSet(B.Object_84Z, 49, type$.ConstantStringSet_String);
  125907. B.Object_a6W = {deg: 0, grad: 1, rad: 2, turn: 3};
  125908. B.Set_5FBBb = new A.ConstantStringSet(B.Object_a6W, 4, type$.ConstantStringSet_String);
  125909. B.Object_s_0_ms_1 = {s: 0, ms: 1};
  125910. B.Set_cXesm = new A.ConstantStringSet(B.Object_s_0_ms_1, 2, type$.ConstantStringSet_String);
  125911. B.Object_hz_0_khz_1 = {hz: 0, khz: 1};
  125912. B.Set_1Tayw = new A.ConstantStringSet(B.Object_hz_0_khz_1, 2, type$.ConstantStringSet_String);
  125913. B.Object_CHz = {dpi: 0, dpcm: 1, dppx: 2};
  125914. B.Set_w2NC6 = new A.ConstantStringSet(B.Object_CHz, 3, type$.ConstantStringSet_String);
  125915. B.List_BFg = A._setArrayType(makeConstList([B.Set_V30th, B.Set_5FBBb, B.Set_cXesm, B.Set_1Tayw, B.Set_w2NC6]), A.findType("JSArray<Set<String>>"));
  125916. B.Deprecation_MJf = new A.Deprecation("null-alpha", "1.62.3", "nullAlpha");
  125917. B.Deprecation_Nem = new A.Deprecation("color-4-api", "1.79.0", "color4Api");
  125918. B.Deprecation_fsU = new A.Deprecation("legacy-js-api", "1.79.0", "legacyJsApi");
  125919. B.Deprecation_ggp = new A.Deprecation("calc-interp", null, "calcInterp");
  125920. B.List_DfK = A._setArrayType(makeConstList([B.Deprecation_dAn, B.Deprecation_hAa, B.Deprecation_89v, B.Deprecation_746, B.Deprecation_Rg0, B.Deprecation_u0j, B.Deprecation_BvP, B.Deprecation_9hF, B.Deprecation_t60, B.Deprecation_jG1, B.Deprecation_0NP, B.Deprecation_MJf, B.Deprecation_pLJ, B.Deprecation_tms, B.Deprecation_Kg6, B.Deprecation_39u, B.Deprecation_hcg, B.Deprecation_Nem, B.Deprecation_cyE, B.Deprecation_fsU, B.Deprecation_2g5, B.Deprecation_1AX, B.Deprecation_KtC, B.Deprecation_ggp]), A.findType("JSArray<Deprecation>"));
  125921. B.List_SJo = A._setArrayType(makeConstList([B.Deprecation_aM0, B.Deprecation_8ki, B.Deprecation_L0R, B.Deprecation_Ord, B.Deprecation_mSy, B.Deprecation_Kry, B.Deprecation_FyB, B.Deprecation_SHb, B.Deprecation_CRw, B.Deprecation_vn5, B.Deprecation_BzI, B.Deprecation_l0m, B.Deprecation_UYp, B.Deprecation_Ds6, B.Deprecation_d4j, B.Deprecation_MSr, B.Deprecation_HIp, B.Deprecation_FD1, B.Deprecation_fdF, B.Deprecation_F8y, B.Deprecation_OHJ, B.Deprecation_ZDV, B.Deprecation_ZVM, B.Deprecation_f5Y]), A.findType("JSArray<Deprecation0>"));
  125922. B.List_empty26 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
  125923. B.List_empty27 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
  125924. B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
  125925. B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
  125926. B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent);
  125927. B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent_2);
  125928. B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
  125929. B.List_empty22 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
  125930. B.List_empty3 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
  125931. B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
  125932. B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_CssStyleRule);
  125933. B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_CssStyleRule_2);
  125934. B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator);
  125935. B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator_2);
  125936. B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
  125937. B.List_empty21 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
  125938. B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
  125939. B.List_empty18 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
  125940. B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_Importer_2);
  125941. B.List_empty7 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
  125942. B.List_empty19 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module1<0&>>"));
  125943. B.List_empty28 = A._setArrayType(makeConstList([]), type$.JSArray_Object);
  125944. B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_Parameter);
  125945. B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_Parameter_2);
  125946. B.List_empty13 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
  125947. B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
  125948. B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
  125949. B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
  125950. B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_int);
  125951. B.List_empty6 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
  125952. B.List_empty29 = A._setArrayType(makeConstList([]), type$.JSArray_nullable_FileSpan);
  125953. B.List_g9w = A._setArrayType(makeConstList([B.CalculationOperator_F7i0, B.CalculationOperator_oum0, B.CalculationOperator_kkN0, B.CalculationOperator_bo50]), A.findType("JSArray<CalculationOperator0>"));
  125954. B.List_nm2 = A._setArrayType(makeConstList([B.HueInterpolationMethod_00, B.HueInterpolationMethod_10, B.HueInterpolationMethod_20, B.HueInterpolationMethod_30]), A.findType("JSArray<HueInterpolationMethod0>"));
  125955. B.List_null = A._setArrayType(makeConstList([null]), type$.JSArray_nullable_FileSpan);
  125956. B.LinearChannel_n2W = new A.LinearChannel(0, 1, false, false, false, "long", false, null);
  125957. B.LinearChannel_ZmQ = new A.LinearChannel(0, 1, false, false, false, "medium", false, null);
  125958. B.LinearChannel_yJH = new A.LinearChannel(0, 1, false, false, false, "short", false, null);
  125959. B.List_wOx = A._setArrayType(makeConstList([B.LinearChannel_n2W, B.LinearChannel_ZmQ, B.LinearChannel_yJH]), type$.JSArray_ColorChannel);
  125960. B.LmsColorSpace_Os3 = new A.LmsColorSpace("lms", B.List_wOx);
  125961. B.LinearChannel_n2W0 = new A.LinearChannel0(0, 1, false, false, false, "long", false, null);
  125962. B.LinearChannel_ZmQ0 = new A.LinearChannel0(0, 1, false, false, false, "medium", false, null);
  125963. B.LinearChannel_yJH0 = new A.LinearChannel0(0, 1, false, false, false, "short", false, null);
  125964. B.List_wOx0 = A._setArrayType(makeConstList([B.LinearChannel_n2W0, B.LinearChannel_ZmQ0, B.LinearChannel_yJH0]), type$.JSArray_ColorChannel_2);
  125965. B.LmsColorSpace_Os30 = new A.LmsColorSpace0("lms", B.List_wOx0);
  125966. B.LocalMindeGamutMap_A2x = new A.LocalMindeGamutMap("local-minde");
  125967. B.LocalMindeGamutMap_A2x0 = new A.LocalMindeGamutMap0("local-minde");
  125968. 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};
  125969. B.Object_R4j = {in: 0, cm: 1, pc: 2, mm: 3, q: 4, pt: 5, px: 6};
  125970. 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);
  125971. 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);
  125972. 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);
  125973. 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);
  125974. B.Map_Ld577 = new A.ConstantStringMap(B.Object_R4j, [101.6, 40, 16.933333333333334, 4, 1, 1.411111111111111, 1.0583333333333333], type$.ConstantStringMap_String_double);
  125975. B.Map_LdIVT = new A.ConstantStringMap(B.Object_R4j, [72, 28.346456692913385, 12, 2.834645669291339, 0.7086614173228347, 1, 0.75], type$.ConstantStringMap_String_double);
  125976. B.Map_Ld6L5 = new A.ConstantStringMap(B.Object_R4j, [96, 37.79527559055118, 16, 3.7795275590551185, 0.9448818897637796, 1.3333333333333333, 1], type$.ConstantStringMap_String_double);
  125977. B.Map_LjNxM = new A.ConstantStringMap(B.Object_a6W, [1, 0.9, 57.29577951308232, 360], type$.ConstantStringMap_String_double);
  125978. B.Map_Lj8V1 = new A.ConstantStringMap(B.Object_a6W, [1.1111111111111112, 1, 63.66197723675813, 400], type$.ConstantStringMap_String_double);
  125979. B.Map_LjePw = new A.ConstantStringMap(B.Object_a6W, [0.017453292519943295, 0.015707963267948967, 1, 6.283185307179586], type$.ConstantStringMap_String_double);
  125980. B.Map_LjtMd = new A.ConstantStringMap(B.Object_a6W, [0.002777777777777778, 0.0025, 0.15915494309189535, 1], type$.ConstantStringMap_String_double);
  125981. B.Map_Aezv1 = new A.ConstantStringMap(B.Object_s_0_ms_1, [1, 0.001], type$.ConstantStringMap_String_double);
  125982. B.Map_AeI7g = new A.ConstantStringMap(B.Object_s_0_ms_1, [1000, 1], type$.ConstantStringMap_String_double);
  125983. B.Object_Hz_0_kHz_1 = {Hz: 0, kHz: 1};
  125984. B.Map_kdDCg = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [1, 1000], type$.ConstantStringMap_String_double);
  125985. B.Map_kdBEM = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [0.001, 1], type$.ConstantStringMap_String_double);
  125986. B.Map_vIkFS = new A.ConstantStringMap(B.Object_CHz, [1, 2.54, 96], type$.ConstantStringMap_String_double);
  125987. B.Map_vIY7E = new A.ConstantStringMap(B.Object_CHz, [0.39370078740157477, 1, 37.79527559055118], type$.ConstantStringMap_String_double);
  125988. B.Map_vIcSC = new A.ConstantStringMap(B.Object_CHz, [0.010416666666666666, 0.026458333333333334, 1], type$.ConstantStringMap_String_double);
  125989. 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>>"));
  125990. B.Object_J3y = {length: 0, angle: 1, time: 2, frequency: 3, "pixel density": 4};
  125991. B.List_Ldp = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
  125992. B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
  125993. B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
  125994. B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
  125995. B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
  125996. 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>>"));
  125997. B.Map_empty8 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<AsyncCallable>,List<CssComment>>"));
  125998. B.Map_empty0 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<Callable0>,List<CssComment>>"));
  125999. B.Map_empty2 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<0&>,List<CssComment>>"));
  126000. B.Map_empty16 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<AsyncCallable0>,List<CssComment0>>"));
  126001. B.Map_empty10 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<Callable>,List<CssComment0>>"));
  126002. B.Map_empty12 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<0&>,List<CssComment0>>"));
  126003. B.Map_empty4 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode>"));
  126004. B.Map_empty13 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode0>"));
  126005. B.Map_empty5 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression>"));
  126006. B.Map_empty14 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression0>"));
  126007. B.Map_empty7 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,FileSpan>"));
  126008. B.Map_empty9 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<AsyncCallable>>"));
  126009. B.Map_empty1 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<Callable0>>"));
  126010. B.Map_empty17 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<AsyncCallable0>>"));
  126011. B.Map_empty11 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<Callable>>"));
  126012. B.Map_empty6 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value>"));
  126013. B.Map_empty15 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value0>"));
  126014. B.Map_empty3 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Symbol0,@>"));
  126015. B.Map_empty = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String?,String>"));
  126016. B.LinearChannel_fS8 = new A.LinearChannel(0, 1, false, true, true, "lightness", false, "%");
  126017. B.LinearChannel_ffI = new A.LinearChannel(-0.4, 0.4, false, false, false, "a", false, null);
  126018. B.LinearChannel_Y6D = new A.LinearChannel(-0.4, 0.4, false, false, false, "b", false, null);
  126019. B.List_ZWr = A._setArrayType(makeConstList([B.LinearChannel_fS8, B.LinearChannel_ffI, B.LinearChannel_Y6D]), type$.JSArray_ColorChannel);
  126020. B.OklabColorSpace_540 = new A.OklabColorSpace("oklab", B.List_ZWr);
  126021. B.LinearChannel_fS80 = new A.LinearChannel0(0, 1, false, true, true, "lightness", false, "%");
  126022. B.LinearChannel_ffI0 = new A.LinearChannel0(-0.4, 0.4, false, false, false, "a", false, null);
  126023. B.LinearChannel_Y6D0 = new A.LinearChannel0(-0.4, 0.4, false, false, false, "b", false, null);
  126024. B.List_ZWr0 = A._setArrayType(makeConstList([B.LinearChannel_fS80, B.LinearChannel_ffI0, B.LinearChannel_Y6D0]), type$.JSArray_ColorChannel_2);
  126025. B.OklabColorSpace_5400 = new A.OklabColorSpace0("oklab", B.List_ZWr0);
  126026. B.LinearChannel_HTj = new A.LinearChannel(0, 0.4, false, true, false, "chroma", false, null);
  126027. B.List_g5j = A._setArrayType(makeConstList([B.LinearChannel_fS8, B.LinearChannel_HTj, B.ColorChannel_hue_true_deg]), type$.JSArray_ColorChannel);
  126028. B.OklchColorSpace_9Gj = new A.OklchColorSpace("oklch", B.List_g5j);
  126029. B.LinearChannel_HTj0 = new A.LinearChannel0(0, 0.4, false, true, false, "chroma", false, null);
  126030. B.List_g5j0 = A._setArrayType(makeConstList([B.LinearChannel_fS80, B.LinearChannel_HTj0, B.ColorChannel_hue_true_deg0]), type$.JSArray_ColorChannel_2);
  126031. B.OklchColorSpace_9Gj0 = new A.OklchColorSpace0("oklch", B.List_g5j0);
  126032. B.OptionType_1Ol = new A.OptionType("OptionType.multiple");
  126033. B.OptionType_tI9 = new A.OptionType("OptionType.flag");
  126034. B.OptionType_zZK = new A.OptionType("OptionType.single");
  126035. B.OutputStyle_0 = new A.OutputStyle("expanded");
  126036. B.OutputStyle_00 = new A.OutputStyle0("expanded");
  126037. B.OutputStyle_1 = new A.OutputStyle("compressed");
  126038. B.OutputStyle_10 = new A.OutputStyle0("compressed");
  126039. B.ProphotoRgbColorSpace_BDz = new A.ProphotoRgbColorSpace("prophoto-rgb", B.List_U47);
  126040. B.ProphotoRgbColorSpace_BDz0 = new A.ProphotoRgbColorSpace0("prophoto-rgb", B.List_U470);
  126041. B.Rec2020ColorSpace_6oo = new A.Rec2020ColorSpace("rec2020", B.List_U47);
  126042. B.Rec2020ColorSpace_6oo0 = new A.Rec2020ColorSpace0("rec2020", B.List_U470);
  126043. B.Map_empty20 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList,Box<SelectorList>>"));
  126044. B.Record2_EmptyExtensionStore_Map_empty = new A._Record_2(B.C_EmptyExtensionStore, B.Map_empty20);
  126045. B.Map_empty21 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList0,Box0<SelectorList0>>"));
  126046. B.Record2_EmptyExtensionStore_Map_empty0 = new A._Record_2(B.C_EmptyExtensionStore0, B.Map_empty21);
  126047. B.List_Ds2 = A._setArrayType(makeConstList([B.LinearChannel_qXC, B.LinearChannel_Z5r, B.LinearChannel_vJ3]), type$.JSArray_ColorChannel);
  126048. B.RgbColorSpace_i0P = new A.RgbColorSpace("rgb", B.List_Ds2);
  126049. B.List_Ds20 = A._setArrayType(makeConstList([B.LinearChannel_qXC0, B.LinearChannel_Z5r0, B.LinearChannel_vJ30]), type$.JSArray_ColorChannel_2);
  126050. B.RgbColorSpace_i0P0 = new A.RgbColorSpace0("rgb", B.List_Ds20);
  126051. B.SassBoolean_false = new A.SassBoolean(false);
  126052. B.SassBoolean_false0 = new A.SassBoolean0(false);
  126053. B.SassBoolean_true = new A.SassBoolean(true);
  126054. B.SassBoolean_true0 = new A.SassBoolean0(true);
  126055. B.SassList_BlY = new A.SassList(B.List_empty8, B.ListSeparator_qVN, false);
  126056. B.SassList_BlY0 = new A.SassList0(B.List_empty20, B.ListSeparator_qVN0, false);
  126057. B.SassList_apG = new A.SassList0(B.List_empty20, B.ListSeparator_undecided_null_undecided0, false);
  126058. B.SassList_qAD = new A.SassList(B.List_empty8, B.ListSeparator_qVN, true);
  126059. B.SassList_qAD0 = new A.SassList0(B.List_empty20, B.ListSeparator_qVN0, true);
  126060. B.Map_empty22 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value,Value>"));
  126061. B.SassMap_Map_empty = new A.SassMap(B.Map_empty22);
  126062. B.Map_empty23 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value0,Value0>"));
  126063. B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty23);
  126064. B.Object_Tro = {is: 0, matches: 1, where: 2};
  126065. B.Set_0egh6 = new A.ConstantStringSet(B.Object_Tro, 3, type$.ConstantStringSet_String);
  126066. B.Object_ssn = {sass: 0, style: 1, default: 2};
  126067. B.Set_8229z = new A.ConstantStringSet(B.Object_ssn, 3, type$.ConstantStringSet_String);
  126068. B.Set_9FDyj = new A.GeneralConstantSet([B.RgbColorSpace_i0P, B.HslColorSpace_JQ2], A.findType("GeneralConstantSet<ColorSpace>"));
  126069. B.Set_9FDyj0 = new A.GeneralConstantSet([B.RgbColorSpace_i0P0, B.HslColorSpace_JQ20], A.findType("GeneralConstantSet<ColorSpace0>"));
  126070. B.Object_BKa = {".scss": 0, ".sass": 1, ".css": 2};
  126071. B.Set_FTDN4 = new A.ConstantStringSet(B.Object_BKa, 3, type$.ConstantStringSet_String);
  126072. 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};
  126073. B.Set_Pr3yj = new A.ConstantStringSet(B.Object_GR4, 18, type$.ConstantStringSet_String);
  126074. B.Set_WDSXk = new A.GeneralConstantSet([0], A.findType("GeneralConstantSet<int>"));
  126075. B.Set_empty1 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery>"));
  126076. B.Set_empty5 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery0>"));
  126077. B.Set_empty2 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<AsyncCallable>>"));
  126078. B.Set_empty0 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<Callable0>>"));
  126079. B.Set_empty6 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<AsyncCallable0>>"));
  126080. B.Set_empty4 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<Callable>>"));
  126081. B.Set_empty7 = new A.ConstantStringSet(B.Object_empty, 0, type$.ConstantStringSet_String);
  126082. B.Set_empty3 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<StylesheetNode>"));
  126083. B.Set_empty = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Uri>"));
  126084. B.Set_oQTdo = new A.GeneralConstantSet([B.BinaryOperator_tht, B.BinaryOperator_Mh5, B.BinaryOperator_Swh, B.BinaryOperator_QG1], A.findType("GeneralConstantSet<BinaryOperator>"));
  126085. B.Set_oQTdo0 = new A.GeneralConstantSet([B.BinaryOperator_tht0, B.BinaryOperator_Mh50, B.BinaryOperator_Swh0, B.BinaryOperator_QG10], A.findType("GeneralConstantSet<BinaryOperator0>"));
  126086. B.SrgbColorSpace_thf = new A.SrgbColorSpace("srgb", B.List_U47);
  126087. B.SrgbColorSpace_thf0 = new A.SrgbColorSpace0("srgb", B.List_U470);
  126088. B.SrgbLinearColorSpace_kUj = new A.SrgbLinearColorSpace("srgb-linear", B.List_U47);
  126089. B.SrgbLinearColorSpace_kUj0 = new A.SrgbLinearColorSpace0("srgb-linear", B.List_U470);
  126090. B.StderrLogger_false = new A.StderrLogger(false);
  126091. B.StderrLogger_false0 = new A.StderrLogger0(false);
  126092. B.Symbol__canonicalizeContext = new A.Symbol("_canonicalizeContext");
  126093. B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
  126094. B.Symbol__extensions = new A.Symbol("_extensions");
  126095. B.Symbol__sourceSpecificity = new A.Symbol("_sourceSpecificity");
  126096. B.Symbol_call = new A.Symbol("call");
  126097. B.Syntax_CSS_css = new A.Syntax("CSS", "css");
  126098. B.Syntax_CSS_css0 = new A.Syntax0("CSS", "css");
  126099. B.Syntax_SCSS_scss = new A.Syntax("SCSS", "scss");
  126100. B.Syntax_SCSS_scss0 = new A.Syntax0("SCSS", "scss");
  126101. B.Syntax_Sass_sass = new A.Syntax("Sass", "sass");
  126102. B.Syntax_Sass_sass0 = new A.Syntax0("Sass", "sass");
  126103. B.Type_ByteBuffer_rqD = A.typeLiteral("ByteBuffer");
  126104. B.Type_ByteData_9dB = A.typeLiteral("ByteData");
  126105. B.Type_Float32List_9Kz = A.typeLiteral("Float32List");
  126106. B.Type_Float64List_9Kz = A.typeLiteral("Float64List");
  126107. B.Type_Int16List_s5h = A.typeLiteral("Int16List");
  126108. B.Type_Int32List_O8Z = A.typeLiteral("Int32List");
  126109. B.Type_Int8List_rFV = A.typeLiteral("Int8List");
  126110. B.Type_Object_A4p = A.typeLiteral("Object");
  126111. B.Type_Uint16List_kmP = A.typeLiteral("Uint16List");
  126112. B.Type_Uint32List_kmP = A.typeLiteral("Uint32List");
  126113. B.Type_Uint8ClampedList_04U = A.typeLiteral("Uint8ClampedList");
  126114. B.Type_Uint8List_8Eb = A.typeLiteral("Uint8List");
  126115. B.UnaryOperator_Rbl = new A.UnaryOperator("plus", "+", "plus");
  126116. B.UnaryOperator_Rbl0 = new A.UnaryOperator0("plus", "+", "plus");
  126117. B.UnaryOperator_UCP = new A.UnaryOperator("minus", "-", "minus");
  126118. B.UnaryOperator_UCP0 = new A.UnaryOperator0("minus", "-", "minus");
  126119. B.UnaryOperator_lZV = new A.UnaryOperator("divide", "/", "divide");
  126120. B.UnaryOperator_lZV0 = new A.UnaryOperator0("divide", "/", "divide");
  126121. B.UnaryOperator_not_not_not = new A.UnaryOperator("not", "not", "not");
  126122. B.UnaryOperator_not_not_not0 = new A.UnaryOperator0("not", "not", "not");
  126123. B.Utf8Decoder_false = new A.Utf8Decoder(false);
  126124. B.LinearChannel_LYw = new A.LinearChannel(0, 1, false, false, false, "x", false, null);
  126125. B.LinearChannel_eR7 = new A.LinearChannel(0, 1, false, false, false, "y", false, null);
  126126. B.LinearChannel_gZl = new A.LinearChannel(0, 1, false, false, false, "z", false, null);
  126127. B.List_QRs = A._setArrayType(makeConstList([B.LinearChannel_LYw, B.LinearChannel_eR7, B.LinearChannel_gZl]), type$.JSArray_LinearChannel);
  126128. B.XyzD50ColorSpace_2OB = new A.XyzD50ColorSpace("xyz-d50", B.List_QRs);
  126129. B.LinearChannel_LYw0 = new A.LinearChannel0(0, 1, false, false, false, "x", false, null);
  126130. B.LinearChannel_eR70 = new A.LinearChannel0(0, 1, false, false, false, "y", false, null);
  126131. B.LinearChannel_gZl0 = new A.LinearChannel0(0, 1, false, false, false, "z", false, null);
  126132. B.List_QRs0 = A._setArrayType(makeConstList([B.LinearChannel_LYw0, B.LinearChannel_eR70, B.LinearChannel_gZl0]), type$.JSArray_LinearChannel_2);
  126133. B.XyzD50ColorSpace_2OB0 = new A.XyzD50ColorSpace0("xyz-d50", B.List_QRs0);
  126134. B.XyzD65ColorSpace_WiJ = new A.XyzD65ColorSpace("xyz", B.List_QRs);
  126135. B.XyzD65ColorSpace_WiJ0 = new A.XyzD65ColorSpace0("xyz", B.List_QRs0);
  126136. B._IsBogusVisitor_false = new A._IsBogusVisitor(false);
  126137. B._IsBogusVisitor_false0 = new A._IsBogusVisitor0(false);
  126138. B._IsBogusVisitor_true = new A._IsBogusVisitor(true);
  126139. B._IsBogusVisitor_true0 = new A._IsBogusVisitor0(true);
  126140. B._IsInvisibleVisitor_false = new A._IsInvisibleVisitor0(false);
  126141. B._IsInvisibleVisitor_false0 = new A._IsInvisibleVisitor2(false);
  126142. B._IsInvisibleVisitor_false_false = new A._IsInvisibleVisitor(false, false);
  126143. B._IsInvisibleVisitor_false_false0 = new A._IsInvisibleVisitor1(false, false);
  126144. B._IsInvisibleVisitor_true = new A._IsInvisibleVisitor0(true);
  126145. B._IsInvisibleVisitor_true0 = new A._IsInvisibleVisitor2(true);
  126146. B._IsInvisibleVisitor_true_false = new A._IsInvisibleVisitor(true, false);
  126147. B._IsInvisibleVisitor_true_false0 = new A._IsInvisibleVisitor1(true, false);
  126148. B._IsInvisibleVisitor_true_true = new A._IsInvisibleVisitor(true, true);
  126149. B._IsInvisibleVisitor_true_true0 = new A._IsInvisibleVisitor1(true, true);
  126150. B._PathDirection_6kc = new A._PathDirection("reaches root");
  126151. B._PathDirection_Wme = new A._PathDirection("below root");
  126152. B._PathDirection_dMN = new A._PathDirection("at root");
  126153. B._PathDirection_vgO = new A._PathDirection("above root");
  126154. B._PathRelation_different = new A._PathRelation("different");
  126155. B._PathRelation_equal = new A._PathRelation("equal");
  126156. B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
  126157. B._PathRelation_within = new A._PathRelation("within");
  126158. B._SingletonCssMediaQueryMergeResult_0 = new A._SingletonCssMediaQueryMergeResult("empty");
  126159. B._SingletonCssMediaQueryMergeResult_00 = new A._SingletonCssMediaQueryMergeResult0("empty");
  126160. B._SingletonCssMediaQueryMergeResult_1 = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
  126161. B._SingletonCssMediaQueryMergeResult_10 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
  126162. B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
  126163. B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
  126164. B._StreamGroupState_listening = new A._StreamGroupState("listening");
  126165. B._StreamGroupState_paused = new A._StreamGroupState("paused");
  126166. B._StringStackTrace_OdL = new A._StringStackTrace("");
  126167. B._ZoneFunction_KjJ = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
  126168. B._ZoneFunction_PAY = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
  126169. B._ZoneFunction_Xkh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
  126170. B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
  126171. B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
  126172. B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
  126173. B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
  126174. B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
  126175. B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure());
  126176. B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
  126177. B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
  126178. B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
  126179. B._ZoneFunction_e9o = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
  126180. B._ZoneSpecification_Ipa = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
  126181. })();
  126182. (function staticFields() {
  126183. $._JS_INTEROP_INTERCEPTOR_TAG = null;
  126184. $.toStringVisiting = A._setArrayType([], type$.JSArray_Object);
  126185. $.printToZone = null;
  126186. $.Primitives__identityHashCodeProperty = null;
  126187. $.BoundClosure__receiverFieldNameCache = null;
  126188. $.BoundClosure__interceptorFieldNameCache = null;
  126189. $.getTagFunction = null;
  126190. $.alternateTagFunction = null;
  126191. $.prototypeForTagFunction = null;
  126192. $.dispatchRecordsForInstanceTags = null;
  126193. $.interceptorsForUncacheableTags = null;
  126194. $.initNativeDispatchFlag = null;
  126195. $._Record__computedFieldKeys = A._setArrayType([], A.findType("JSArray<List<Object>?>"));
  126196. $._nextCallback = null;
  126197. $._lastCallback = null;
  126198. $._lastPriorityCallback = null;
  126199. $._isInCallbackLoop = false;
  126200. $.Zone__current = B.C__RootZone;
  126201. $._RootZone__rootDelegate = null;
  126202. $.Uri__cachedBaseString = "";
  126203. $.Uri__cachedBaseUri = null;
  126204. $._fs = null;
  126205. $._currentUriBase = null;
  126206. $._current = null;
  126207. $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  126208. $._rootishPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  126209. $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  126210. $._realCaseCache = function() {
  126211. var t1 = type$.String;
  126212. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  126213. }();
  126214. $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  126215. $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  126216. $._glyphs = B.C_UnicodeGlyphSet;
  126217. $._rootishPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  126218. $._realCaseCache0 = function() {
  126219. var t1 = type$.String;
  126220. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  126221. }();
  126222. $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  126223. $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  126224. $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  126225. $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  126226. })();
  126227. (function lazyInitializers() {
  126228. var _lazyFinal = hunkHelpers.lazyFinal,
  126229. _lazy = hunkHelpers.lazy;
  126230. _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
  126231. _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<~>")));
  126232. _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
  126233. toString: function() {
  126234. return "$receiver$";
  126235. }
  126236. })));
  126237. _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
  126238. toString: function() {
  126239. return "$receiver$";
  126240. }
  126241. })));
  126242. _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
  126243. _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126244. var $argumentsExpr$ = "$arguments$";
  126245. try {
  126246. null.$method$($argumentsExpr$);
  126247. } catch (e) {
  126248. return e.message;
  126249. }
  126250. }()));
  126251. _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
  126252. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126253. var $argumentsExpr$ = "$arguments$";
  126254. try {
  126255. (void 0).$method$($argumentsExpr$);
  126256. } catch (e) {
  126257. return e.message;
  126258. }
  126259. }()));
  126260. _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
  126261. _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126262. try {
  126263. null.$method$;
  126264. } catch (e) {
  126265. return e.message;
  126266. }
  126267. }()));
  126268. _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
  126269. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126270. try {
  126271. (void 0).$method$;
  126272. } catch (e) {
  126273. return e.message;
  126274. }
  126275. }()));
  126276. _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
  126277. _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => $.$get$nullFuture());
  126278. _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
  126279. _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
  126280. var t1 = type$.dynamic;
  126281. return A.HashMap_HashMap(t1, t1);
  126282. });
  126283. _lazyFinal($, "_Utf8Decoder__reusableBuffer", "$get$_Utf8Decoder__reusableBuffer", () => A.NativeUint8List_NativeUint8List(4096));
  126284. _lazyFinal($, "_Utf8Decoder__decoder", "$get$_Utf8Decoder__decoder", () => new A._Utf8Decoder__decoder_closure().call$0());
  126285. _lazyFinal($, "_Utf8Decoder__decoderNonfatal", "$get$_Utf8Decoder__decoderNonfatal", () => new A._Utf8Decoder__decoderNonfatal_closure().call$0());
  126286. _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))));
  126287. _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => {
  126288. var t1 = typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32";
  126289. return t1;
  126290. });
  126291. _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
  126292. _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_A4p));
  126293. _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
  126294. _lazyFinal($, "_isStrictMode", "$get$_isStrictMode", () => new A._isStrictMode_closure().call$0());
  126295. _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
  126296. _lazyFinal($, "readline", "$get$readline", () => self.readline);
  126297. _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
  126298. _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
  126299. _lazyFinal($, "context", "$get$context", () => new A.Context($.$get$Style_platform(), null));
  126300. _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
  126301. _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)));
  126302. _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)));
  126303. _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
  126304. _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));
  126305. _lazyFinal($, "completeVersion", "$get$completeVersion", () => A.RegExp_RegExp($.$get$startVersion().pattern + "$", false));
  126306. _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ParameterList_ParameterList$parse(string$.x40funct, null));
  126307. _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));
  126308. _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
  126309. var $name,
  126310. t1 = type$.SassColor,
  126311. t2 = type$.String,
  126312. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  126313. for (t1 = A.MapExtensions_get_pairs($.$get$colorsByName(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  126314. t2 = t1.get$current(t1);
  126315. $name = t2._0;
  126316. t3.$indexSet(0, t2._1, $name);
  126317. }
  126318. return t3;
  126319. });
  126320. _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
  126321. _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
  126322. _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
  126323. var t1 = type$.BuiltInCallable,
  126324. t2 = A.List_List$of($.$get$global(), true, t1);
  126325. B.JSArray_methods.addAll$1(t2, $.$get$global0());
  126326. B.JSArray_methods.addAll$1(t2, $.$get$global1());
  126327. B.JSArray_methods.addAll$1(t2, $.$get$global2());
  126328. B.JSArray_methods.addAll$1(t2, $.$get$global3());
  126329. B.JSArray_methods.addAll$1(t2, $.$get$global4());
  126330. B.JSArray_methods.addAll$1(t2, $.$get$global5());
  126331. t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
  126332. return A.UnmodifiableListView$(t2, t1);
  126333. });
  126334. _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));
  126335. _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  126336. _lazyFinal($, "global", "$get$global", () => {
  126337. var _s5_ = "color",
  126338. _s27_ = "$red, $green, $blue, $alpha",
  126339. _s19_ = "$red, $green, $blue",
  126340. _s9_ = "$channels",
  126341. _s37_ = "$hue, $saturation, $lightness, $alpha",
  126342. _s29_ = "$hue, $saturation, $lightness",
  126343. _s17_ = "$hue, $saturation",
  126344. _s6_ = "adjust",
  126345. _s15_ = "$color, $amount",
  126346. t1 = type$.String,
  126347. t2 = type$.Value_Function_List_Value;
  126348. 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);
  126349. });
  126350. _lazyFinal($, "module", "$get$module", () => {
  126351. var _null = null,
  126352. _s10_ = "saturation",
  126353. _s9_ = "lightness",
  126354. _s6_ = "$color", _s5_ = "alpha",
  126355. _s30_ = "$color, $channel, $space: null",
  126356. t1 = type$.String,
  126357. t2 = type$.Value_Function_List_Value;
  126358. 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);
  126359. });
  126360. _lazyFinal($, "_mix", "$get$_mix", () => A._function5("mix", string$.x24color, new A._mix_closure()));
  126361. _lazyFinal($, "_complement", "$get$_complement", () => A._function5("complement", "$color, $space: null", new A._complement_closure()));
  126362. _lazyFinal($, "_adjust", "$get$_adjust", () => A._function5("adjust", "$color, $kwargs...", new A._adjust_closure()));
  126363. _lazyFinal($, "_scale", "$get$_scale", () => A._function5("scale", "$color, $kwargs...", new A._scale_closure()));
  126364. _lazyFinal($, "_change", "$get$_change", () => A._function5("change", "$color, $kwargs...", new A._change_closure()));
  126365. _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function5("ie-hex-str", "$color", new A._ieHexStr_closure()));
  126366. _lazyFinal($, "global0", "$get$global0", () => {
  126367. var _s4_ = "list";
  126368. 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);
  126369. });
  126370. _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));
  126371. _lazyFinal($, "_length", "$get$_length0", () => A._function4("length", "$list", new A._length_closure0()));
  126372. _lazyFinal($, "_nth", "$get$_nth", () => A._function4("nth", "$list, $n", new A._nth_closure()));
  126373. _lazyFinal($, "_setNth", "$get$_setNth", () => A._function4("set-nth", "$list, $n, $value", new A._setNth_closure()));
  126374. _lazyFinal($, "_join", "$get$_join", () => A._function4("join", string$.x24list1, new A._join_closure()));
  126375. _lazyFinal($, "_append", "$get$_append0", () => A._function4("append", "$list, $val, $separator: auto", new A._append_closure0()));
  126376. _lazyFinal($, "_zip", "$get$_zip", () => A._function4("zip", "$lists...", new A._zip_closure()));
  126377. _lazyFinal($, "_index", "$get$_index0", () => A._function4("index", "$list, $value", new A._index_closure0()));
  126378. _lazyFinal($, "_separator", "$get$_separator", () => A._function4("separator", "$list", new A._separator_closure()));
  126379. _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function4("is-bracketed", "$list", new A._isBracketed_closure()));
  126380. _lazyFinal($, "_slash", "$get$_slash", () => A._function4("slash", "$elements...", new A._slash_closure()));
  126381. _lazyFinal($, "global1", "$get$global1", () => {
  126382. var _s3_ = "map";
  126383. 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);
  126384. });
  126385. _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));
  126386. _lazyFinal($, "_get", "$get$_get", () => A._function3("get", "$map, $key, $keys...", new A._get_closure()));
  126387. _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)));
  126388. _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)));
  126389. _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function3("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
  126390. _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function3("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
  126391. _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)));
  126392. _lazyFinal($, "_keys", "$get$_keys", () => A._function3("keys", "$map", new A._keys_closure()));
  126393. _lazyFinal($, "_values", "$get$_values", () => A._function3("values", "$map", new A._values_closure()));
  126394. _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function3("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
  126395. _lazyFinal($, "global2", "$get$global2", () => {
  126396. var _s4_ = "math";
  126397. 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);
  126398. });
  126399. _lazyFinal($, "module2", "$get$module2", () => {
  126400. var _null = null;
  126401. 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);
  126402. });
  126403. _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
  126404. _lazyFinal($, "_clamp", "$get$_clamp", () => A._function2("clamp", "$min, $number, $max", new A._clamp_closure()));
  126405. _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
  126406. _lazyFinal($, "_max", "$get$_max", () => A._function2("max", "$numbers...", new A._max_closure()));
  126407. _lazyFinal($, "_min", "$get$_min", () => A._function2("min", "$numbers...", new A._min_closure()));
  126408. _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", new A._round_closure()));
  126409. _lazyFinal($, "_hypot", "$get$_hypot", () => A._function2("hypot", "$numbers...", new A._hypot_closure()));
  126410. _lazyFinal($, "_log", "$get$_log", () => A._function2("log", "$number, $base: null", new A._log_closure()));
  126411. _lazyFinal($, "_pow", "$get$_pow", () => A._function2("pow", "$base, $exponent", new A._pow_closure()));
  126412. _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._singleArgumentMathFunc("sqrt", A.number0__sqrt$closure()));
  126413. _lazyFinal($, "_acos", "$get$_acos", () => A._singleArgumentMathFunc("acos", A.number0__acos$closure()));
  126414. _lazyFinal($, "_asin", "$get$_asin", () => A._singleArgumentMathFunc("asin", A.number0__asin$closure()));
  126415. _lazyFinal($, "_atan", "$get$_atan", () => A._singleArgumentMathFunc("atan", A.number0__atan$closure()));
  126416. _lazyFinal($, "_atan2", "$get$_atan2", () => A._function2("atan2", "$y, $x", new A._atan2_closure()));
  126417. _lazyFinal($, "_cos", "$get$_cos", () => A._singleArgumentMathFunc("cos", A.number0__cos$closure()));
  126418. _lazyFinal($, "_sin", "$get$_sin", () => A._singleArgumentMathFunc("sin", A.number0__sin$closure()));
  126419. _lazyFinal($, "_tan", "$get$_tan", () => A._singleArgumentMathFunc("tan", A.number0__tan$closure()));
  126420. _lazyFinal($, "_compatible", "$get$_compatible", () => A._function2("compatible", "$number1, $number2", new A._compatible_closure()));
  126421. _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function2("is-unitless", "$number", new A._isUnitless_closure()));
  126422. _lazyFinal($, "_unit", "$get$_unit", () => A._function2("unit", "$number", new A._unit_closure()));
  126423. _lazyFinal($, "_percentage", "$get$_percentage", () => A._function2("percentage", "$number", new A._percentage_closure()));
  126424. _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
  126425. _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function2("random", "$limit: null", new A._randomFunction_closure()));
  126426. _lazyFinal($, "_div", "$get$_div", () => A._function2("div", "$number1, $number2", new A._div_closure()));
  126427. _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));
  126428. _lazyFinal($, "global3", "$get$global5", () => {
  126429. var t2,
  126430. t1 = A._setArrayType([], type$.JSArray_BuiltInCallable);
  126431. for (t2 = $.$get$_shared(), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  126432. t1.push(t2.get$current(0).withDeprecationWarning$1("meta"));
  126433. return A.UnmodifiableListView$(t1, type$.BuiltInCallable);
  126434. });
  126435. _lazyFinal($, "moduleFunctions", "$get$moduleFunctions", () => {
  126436. var t1 = type$.BuiltInCallable,
  126437. t2 = A.List_List$of($.$get$_shared(), true, t1);
  126438. t2.push(A._function("calc-name", "$calc", new A.moduleFunctions_closure()));
  126439. t2.push(A._function("calc-args", "$calc", new A.moduleFunctions_closure0()));
  126440. t2.push(A._function("accepts-content", "$mixin", new A.moduleFunctions_closure1()));
  126441. return A.UnmodifiableListView$(t2, t1);
  126442. });
  126443. _lazyFinal($, "global4", "$get$global3", () => {
  126444. var _s8_ = "selector";
  126445. 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);
  126446. });
  126447. _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));
  126448. _lazyFinal($, "_nest", "$get$_nest", () => A._function1("nest", "$selectors...", new A._nest_closure()));
  126449. _lazyFinal($, "_append0", "$get$_append", () => A._function1("append", "$selectors...", new A._append_closure()));
  126450. _lazyFinal($, "_extend", "$get$_extend", () => A._function1("extend", "$selector, $extendee, $extender", new A._extend_closure()));
  126451. _lazyFinal($, "_replace", "$get$_replace", () => A._function1("replace", "$selector, $original, $replacement", new A._replace_closure()));
  126452. _lazyFinal($, "_unify", "$get$_unify", () => A._function1("unify", "$selector1, $selector2", new A._unify_closure()));
  126453. _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function1("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
  126454. _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function1("simple-selectors", "$selector", new A._simpleSelectors_closure()));
  126455. _lazyFinal($, "_parse0", "$get$_parse", () => A._function1("parse", "$selector", new A._parse_closure()));
  126456. _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
  126457. _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
  126458. _lazyFinal($, "global5", "$get$global4", () => {
  126459. var _s6_ = "string";
  126460. 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);
  126461. });
  126462. _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));
  126463. _lazyFinal($, "_unquote", "$get$_unquote", () => A._function0("unquote", "$string", new A._unquote_closure()));
  126464. _lazyFinal($, "_quote", "$get$_quote", () => A._function0("quote", "$string", new A._quote_closure()));
  126465. _lazyFinal($, "_length0", "$get$_length", () => A._function0("length", "$string", new A._length_closure()));
  126466. _lazyFinal($, "_insert", "$get$_insert", () => A._function0("insert", "$string, $insert, $index", new A._insert_closure()));
  126467. _lazyFinal($, "_index0", "$get$_index", () => A._function0("index", "$string, $substring", new A._index_closure()));
  126468. _lazyFinal($, "_slice", "$get$_slice", () => A._function0("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
  126469. _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function0("to-upper-case", "$string", new A._toUpperCase_closure()));
  126470. _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function0("to-lower-case", "$string", new A._toLowerCase_closure()));
  126471. _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function0("unique-id", "", new A._uniqueId_closure()));
  126472. _lazyFinal($, "FilesystemImporter_cwd", "$get$FilesystemImporter_cwd", () => {
  126473. var _null = null;
  126474. return new A.FilesystemImporter(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true);
  126475. });
  126476. _lazyFinal($, "FilesystemImporter_noLoadPath", "$get$FilesystemImporter_noLoadPath", () => new A.FilesystemImporter(null, false));
  126477. _lazyFinal($, "_jsThrow", "$get$_jsThrow0", () => new self.Function("error", "throw error;"));
  126478. _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
  126479. _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
  126480. var t1 = $.$get$globalFunctions();
  126481. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
  126482. t1.add$1(0, "if");
  126483. t1.remove$1(0, "abs");
  126484. t1.remove$1(0, "alpha");
  126485. t1.remove$1(0, "color");
  126486. t1.remove$1(0, "grayscale");
  126487. t1.remove$1(0, "hsl");
  126488. t1.remove$1(0, "hsla");
  126489. t1.remove$1(0, "hwb");
  126490. t1.remove$1(0, "invert");
  126491. t1.remove$1(0, "lab");
  126492. t1.remove$1(0, "lch");
  126493. t1.remove$1(0, "max");
  126494. t1.remove$1(0, "min");
  126495. t1.remove$1(0, "oklab");
  126496. t1.remove$1(0, "oklch");
  126497. t1.remove$1(0, "opacity");
  126498. t1.remove$1(0, "rgb");
  126499. t1.remove$1(0, "rgba");
  126500. t1.remove$1(0, "round");
  126501. t1.remove$1(0, "saturate");
  126502. return t1;
  126503. });
  126504. _lazyFinal($, "_epsilon", "$get$_epsilon", () => A.pow(10, -11));
  126505. _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => A.pow(10, 11));
  126506. _lazyFinal($, "bogusSpan", "$get$bogusSpan", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  126507. _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
  126508. _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
  126509. _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)));
  126510. _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)));
  126511. _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)));
  126512. _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)));
  126513. _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)));
  126514. _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)));
  126515. _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)));
  126516. _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)));
  126517. _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)));
  126518. _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)));
  126519. _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)));
  126520. _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)));
  126521. _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)));
  126522. _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)));
  126523. _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)));
  126524. _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)));
  126525. _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)));
  126526. _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)));
  126527. _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)));
  126528. _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)));
  126529. _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)));
  126530. _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)));
  126531. _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)));
  126532. _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)));
  126533. _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)));
  126534. _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)));
  126535. _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)));
  126536. _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)));
  126537. _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)));
  126538. _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)));
  126539. _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)));
  126540. _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)));
  126541. _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)));
  126542. _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)));
  126543. _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)));
  126544. _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)));
  126545. _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)));
  126546. _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)));
  126547. _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)));
  126548. _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)));
  126549. _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)));
  126550. _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)));
  126551. _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)));
  126552. _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)));
  126553. _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)));
  126554. _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)));
  126555. _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)));
  126556. _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)));
  126557. _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)));
  126558. _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)));
  126559. _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)));
  126560. _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)));
  126561. _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)));
  126562. _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)));
  126563. _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)));
  126564. _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)));
  126565. _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)));
  126566. _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)));
  126567. _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
  126568. var t3, type,
  126569. t1 = type$.String,
  126570. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  126571. for (t1 = A.MapExtensions_get_pairs(B.Map_Sr65K, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  126572. t3 = t1.get$current(t1);
  126573. type = t3._0;
  126574. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  126575. t2.$indexSet(0, t3.get$current(t3), type);
  126576. }
  126577. return t2;
  126578. });
  126579. _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
  126580. var _i, set, t2,
  126581. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  126582. for (_i = 0; _i < 5; ++_i) {
  126583. set = B.List_BFg[_i];
  126584. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  126585. t1.$indexSet(0, t2.get$current(0), set);
  126586. }
  126587. return t1;
  126588. });
  126589. _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
  126590. _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
  126591. _lazyFinal($, "maxInt32", "$get$maxInt32", () => A._asInt(A.pow(2, 31)) - 1);
  126592. _lazyFinal($, "minInt32", "$get$minInt32", () => -A._asInt(A.pow(2, 31)));
  126593. _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
  126594. _lazyFinal($, "_v8JsFrame", "$get$_v8JsFrame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
  126595. _lazyFinal($, "_v8JsUrlLocation", "$get$_v8JsUrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
  126596. _lazyFinal($, "_v8WasmFrame", "$get$_v8WasmFrame", () => A.RegExp_RegExp("^\\s*at (?:(?<member>.+) )?(?:\\(?(?:(?<uri>\\S+):wasm-function\\[(?<index>\\d+)\\]\\:0x(?<offset>[0-9a-fA-F]+))\\)?)$", false));
  126597. _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
  126598. _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
  126599. _lazyFinal($, "_firefoxSafariJSFrame", "$get$_firefoxSafariJSFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
  126600. _lazyFinal($, "_firefoxWasmFrame", "$get$_firefoxWasmFrame", () => A.RegExp_RegExp("^(?<member>.*?)@(?:(?<uri>\\S+).*?:wasm-function\\[(?<index>\\d+)\\]:0x(?<offset>[0-9a-fA-F]+))$", false));
  126601. _lazyFinal($, "_safariWasmFrame", "$get$_safariWasmFrame", () => A.RegExp_RegExp("^.*?wasm-function\\[(?<member>.*)\\]@\\[wasm code\\]$", false));
  126602. _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
  126603. _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
  126604. _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
  126605. _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
  126606. _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
  126607. _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
  126608. _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
  126609. _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
  126610. _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
  126611. _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
  126612. _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
  126613. _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
  126614. _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\n|\\r\\n|\\r(?!\\n)", false));
  126615. _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
  126616. _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
  126617. _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
  126618. _lazyFinal($, "calculationClass", "$get$calculationClass", () => new A.calculationClass_closure().call$0());
  126619. _lazyFinal($, "calculationOperationClass", "$get$calculationOperationClass", () => new A.calculationOperationClass_closure().call$0());
  126620. _lazyFinal($, "calculationInterpolationClass", "$get$calculationInterpolationClass", () => new A.calculationInterpolationClass_closure().call$0());
  126621. _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  126622. _lazyFinal($, "global6", "$get$global6", () => {
  126623. var _s5_ = "color",
  126624. _s27_ = "$red, $green, $blue, $alpha",
  126625. _s19_ = "$red, $green, $blue",
  126626. _s9_ = "$channels",
  126627. _s37_ = "$hue, $saturation, $lightness, $alpha",
  126628. _s29_ = "$hue, $saturation, $lightness",
  126629. _s17_ = "$hue, $saturation",
  126630. _s6_ = "adjust",
  126631. _s15_ = "$color, $amount",
  126632. t1 = type$.String,
  126633. t2 = type$.Value_Function_List_Value_2;
  126634. 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);
  126635. });
  126636. _lazyFinal($, "module5", "$get$module5", () => {
  126637. var _null = null,
  126638. _s10_ = "saturation",
  126639. _s9_ = "lightness",
  126640. _s6_ = "$color", _s5_ = "alpha",
  126641. _s30_ = "$color, $channel, $space: null",
  126642. t1 = type$.String,
  126643. t2 = type$.Value_Function_List_Value_2;
  126644. 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);
  126645. });
  126646. _lazyFinal($, "_mix0", "$get$_mix0", () => A._function12("mix", string$.x24color, new A._mix_closure0()));
  126647. _lazyFinal($, "_complement0", "$get$_complement0", () => A._function12("complement", "$color, $space: null", new A._complement_closure0()));
  126648. _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function12("adjust", "$color, $kwargs...", new A._adjust_closure0()));
  126649. _lazyFinal($, "_scale0", "$get$_scale0", () => A._function12("scale", "$color, $kwargs...", new A._scale_closure0()));
  126650. _lazyFinal($, "_change0", "$get$_change0", () => A._function12("change", "$color, $kwargs...", new A._change_closure0()));
  126651. _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function12("ie-hex-str", "$color", new A._ieHexStr_closure0()));
  126652. _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
  126653. _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
  126654. var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
  126655. 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));
  126656. return t1;
  126657. });
  126658. _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));
  126659. _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
  126660. var $name,
  126661. t1 = type$.SassColor_2,
  126662. t2 = type$.String,
  126663. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  126664. for (t1 = A.MapExtensions_get_pairs0($.$get$colorsByName0(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  126665. t2 = t1.get$current(t1);
  126666. $name = t2._0;
  126667. t3.$indexSet(0, t2._1, $name);
  126668. }
  126669. return t3;
  126670. });
  126671. _lazyFinal($, "nodePackageImporterClass", "$get$nodePackageImporterClass", () => new A.nodePackageImporterClass_closure().call$0());
  126672. _lazyFinal($, "compilerClass", "$get$compilerClass", () => new A.compilerClass_closure().call$0());
  126673. _lazyFinal($, "asyncCompilerClass", "$get$asyncCompilerClass", () => new A.asyncCompilerClass_closure().call$0());
  126674. _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)));
  126675. _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)));
  126676. _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)));
  126677. _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)));
  126678. _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)));
  126679. _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)));
  126680. _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)));
  126681. _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)));
  126682. _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)));
  126683. _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)));
  126684. _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)));
  126685. _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)));
  126686. _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)));
  126687. _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)));
  126688. _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)));
  126689. _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)));
  126690. _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)));
  126691. _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)));
  126692. _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)));
  126693. _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)));
  126694. _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)));
  126695. _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)));
  126696. _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)));
  126697. _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)));
  126698. _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)));
  126699. _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)));
  126700. _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)));
  126701. _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)));
  126702. _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)));
  126703. _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)));
  126704. _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)));
  126705. _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)));
  126706. _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)));
  126707. _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)));
  126708. _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)));
  126709. _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)));
  126710. _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)));
  126711. _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)));
  126712. _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)));
  126713. _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)));
  126714. _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)));
  126715. _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)));
  126716. _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)));
  126717. _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)));
  126718. _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)));
  126719. _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)));
  126720. _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)));
  126721. _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)));
  126722. _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)));
  126723. _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)));
  126724. _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)));
  126725. _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)));
  126726. _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)));
  126727. _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)));
  126728. _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)));
  126729. _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)));
  126730. _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)));
  126731. _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)));
  126732. _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
  126733. var t1 = $.$get$globalFunctions0();
  126734. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
  126735. t1.add$1(0, "if");
  126736. t1.remove$1(0, "abs");
  126737. t1.remove$1(0, "alpha");
  126738. t1.remove$1(0, "color");
  126739. t1.remove$1(0, "grayscale");
  126740. t1.remove$1(0, "hsl");
  126741. t1.remove$1(0, "hsla");
  126742. t1.remove$1(0, "hwb");
  126743. t1.remove$1(0, "invert");
  126744. t1.remove$1(0, "lab");
  126745. t1.remove$1(0, "lch");
  126746. t1.remove$1(0, "max");
  126747. t1.remove$1(0, "min");
  126748. t1.remove$1(0, "oklab");
  126749. t1.remove$1(0, "oklch");
  126750. t1.remove$1(0, "opacity");
  126751. t1.remove$1(0, "rgb");
  126752. t1.remove$1(0, "rgba");
  126753. t1.remove$1(0, "round");
  126754. t1.remove$1(0, "saturate");
  126755. return t1;
  126756. });
  126757. _lazyFinal($, "deprecations", "$get$deprecations", () => {
  126758. var _i, deprecation, t2,
  126759. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Deprecation1?"));
  126760. for (_i = 0; _i < 24; ++_i) {
  126761. deprecation = B.List_SJo[_i];
  126762. if (deprecation !== B.Deprecation_f5Y) {
  126763. t2 = deprecation.id;
  126764. 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)});
  126765. }
  126766. }
  126767. return t1;
  126768. });
  126769. _lazyFinal($, "versionClass", "$get$versionClass", () => new A.versionClass_closure().call$0());
  126770. _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
  126771. _lazyFinal($, "FilesystemImporter_cwd0", "$get$FilesystemImporter_cwd0", () => {
  126772. var _null = null;
  126773. return new A.FilesystemImporter0(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true);
  126774. });
  126775. _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
  126776. _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
  126777. var t1 = type$.BuiltInCallable_2,
  126778. t2 = A.List_List$of($.$get$global6(), true, t1);
  126779. B.JSArray_methods.addAll$1(t2, $.$get$global7());
  126780. B.JSArray_methods.addAll$1(t2, $.$get$global8());
  126781. B.JSArray_methods.addAll$1(t2, $.$get$global9());
  126782. B.JSArray_methods.addAll$1(t2, $.$get$global10());
  126783. B.JSArray_methods.addAll$1(t2, $.$get$global11());
  126784. B.JSArray_methods.addAll$1(t2, $.$get$global12());
  126785. t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
  126786. return A.UnmodifiableListView$(t2, t1);
  126787. });
  126788. _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));
  126789. _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ParameterList_ParameterList$parse0(string$.x40funct, null));
  126790. _lazyFinal($, "global7", "$get$global7", () => {
  126791. var _s4_ = "list";
  126792. 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);
  126793. });
  126794. _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));
  126795. _lazyFinal($, "_length1", "$get$_length2", () => A._function11("length", "$list", new A._length_closure2()));
  126796. _lazyFinal($, "_nth0", "$get$_nth0", () => A._function11("nth", "$list, $n", new A._nth_closure0()));
  126797. _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function11("set-nth", "$list, $n, $value", new A._setNth_closure0()));
  126798. _lazyFinal($, "_join0", "$get$_join0", () => A._function11("join", string$.x24list1, new A._join_closure0()));
  126799. _lazyFinal($, "_append1", "$get$_append2", () => A._function11("append", "$list, $val, $separator: auto", new A._append_closure2()));
  126800. _lazyFinal($, "_zip0", "$get$_zip0", () => A._function11("zip", "$lists...", new A._zip_closure0()));
  126801. _lazyFinal($, "_index1", "$get$_index2", () => A._function11("index", "$list, $value", new A._index_closure2()));
  126802. _lazyFinal($, "_separator0", "$get$_separator0", () => A._function11("separator", "$list", new A._separator_closure0()));
  126803. _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function11("is-bracketed", "$list", new A._isBracketed_closure0()));
  126804. _lazyFinal($, "_slash0", "$get$_slash0", () => A._function11("slash", "$elements...", new A._slash_closure0()));
  126805. _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
  126806. _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
  126807. var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
  126808. 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));
  126809. return t1;
  126810. });
  126811. _lazyFinal($, "global8", "$get$global8", () => {
  126812. var _s3_ = "map";
  126813. 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);
  126814. });
  126815. _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));
  126816. _lazyFinal($, "_get0", "$get$_get0", () => A._function10("get", "$map, $key, $keys...", new A._get_closure0()));
  126817. _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)));
  126818. _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)));
  126819. _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function10("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
  126820. _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function10("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
  126821. _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)));
  126822. _lazyFinal($, "_keys0", "$get$_keys0", () => A._function10("keys", "$map", new A._keys_closure0()));
  126823. _lazyFinal($, "_values0", "$get$_values0", () => A._function10("values", "$map", new A._values_closure0()));
  126824. _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function10("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
  126825. _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
  126826. _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
  126827. var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
  126828. 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));
  126829. return t1;
  126830. });
  126831. _lazyFinal($, "global9", "$get$global9", () => {
  126832. var _s4_ = "math";
  126833. 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);
  126834. });
  126835. _lazyFinal($, "module8", "$get$module8", () => {
  126836. var _null = null;
  126837. 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);
  126838. });
  126839. _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
  126840. _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function9("clamp", "$min, $number, $max", new A._clamp_closure0()));
  126841. _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
  126842. _lazyFinal($, "_max0", "$get$_max0", () => A._function9("max", "$numbers...", new A._max_closure0()));
  126843. _lazyFinal($, "_min0", "$get$_min0", () => A._function9("min", "$numbers...", new A._min_closure0()));
  126844. _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", new A._round_closure0()));
  126845. _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function9("hypot", "$numbers...", new A._hypot_closure0()));
  126846. _lazyFinal($, "_log0", "$get$_log0", () => A._function9("log", "$number, $base: null", new A._log_closure0()));
  126847. _lazyFinal($, "_pow0", "$get$_pow0", () => A._function9("pow", "$base, $exponent", new A._pow_closure0()));
  126848. _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._singleArgumentMathFunc0("sqrt", A.number2__sqrt$closure()));
  126849. _lazyFinal($, "_acos0", "$get$_acos0", () => A._singleArgumentMathFunc0("acos", A.number2__acos$closure()));
  126850. _lazyFinal($, "_asin0", "$get$_asin0", () => A._singleArgumentMathFunc0("asin", A.number2__asin$closure()));
  126851. _lazyFinal($, "_atan0", "$get$_atan0", () => A._singleArgumentMathFunc0("atan", A.number2__atan$closure()));
  126852. _lazyFinal($, "_atan20", "$get$_atan20", () => A._function9("atan2", "$y, $x", new A._atan2_closure0()));
  126853. _lazyFinal($, "_cos0", "$get$_cos0", () => A._singleArgumentMathFunc0("cos", A.number2__cos$closure()));
  126854. _lazyFinal($, "_sin0", "$get$_sin0", () => A._singleArgumentMathFunc0("sin", A.number2__sin$closure()));
  126855. _lazyFinal($, "_tan0", "$get$_tan0", () => A._singleArgumentMathFunc0("tan", A.number2__tan$closure()));
  126856. _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function9("compatible", "$number1, $number2", new A._compatible_closure0()));
  126857. _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function9("is-unitless", "$number", new A._isUnitless_closure0()));
  126858. _lazyFinal($, "_unit0", "$get$_unit0", () => A._function9("unit", "$number", new A._unit_closure0()));
  126859. _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function9("percentage", "$number", new A._percentage_closure0()));
  126860. _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
  126861. _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function9("random", "$limit: null", new A._randomFunction_closure0()));
  126862. _lazyFinal($, "_div0", "$get$_div0", () => A._function9("div", "$number1, $number2", new A._div_closure0()));
  126863. _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));
  126864. _lazyFinal($, "global10", "$get$global12", () => {
  126865. var t2,
  126866. t1 = A._setArrayType([], type$.JSArray_BuiltInCallable_2);
  126867. for (t2 = $.$get$_shared0(), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  126868. t1.push(t2.get$current(0).withDeprecationWarning$1("meta"));
  126869. return A.UnmodifiableListView$(t1, type$.BuiltInCallable_2);
  126870. });
  126871. _lazyFinal($, "moduleFunctions0", "$get$moduleFunctions0", () => {
  126872. var t1 = type$.BuiltInCallable_2,
  126873. t2 = A.List_List$of($.$get$_shared0(), true, t1);
  126874. t2.push(A._function6("calc-name", "$calc", new A.moduleFunctions_closure2()));
  126875. t2.push(A._function6("calc-args", "$calc", new A.moduleFunctions_closure3()));
  126876. t2.push(A._function6("accepts-content", "$mixin", new A.moduleFunctions_closure4()));
  126877. return A.UnmodifiableListView$(t2, t1);
  126878. });
  126879. _lazyFinal($, "mixinClass", "$get$mixinClass", () => new A.mixinClass_closure().call$0());
  126880. _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
  126881. _lazyFinal($, "_epsilon0", "$get$_epsilon0", () => A.pow(10, -11));
  126882. _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => A.pow(10, 11));
  126883. _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
  126884. _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
  126885. var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
  126886. 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));
  126887. return t1;
  126888. });
  126889. _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
  126890. var t3, type,
  126891. t1 = type$.String,
  126892. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  126893. for (t1 = A.MapExtensions_get_pairs0(B.Map_Sr65K, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  126894. t3 = t1.get$current(t1);
  126895. type = t3._0;
  126896. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  126897. t2.$indexSet(0, t3.get$current(t3), type);
  126898. }
  126899. return t2;
  126900. });
  126901. _lazyFinal($, "_interpolation", "$get$_interpolation", () => A.Interpolation$0(B.List_empty28, B.List_empty29, $.$get$bogusSpan0()));
  126902. _lazyFinal($, "_expression", "$get$_expression", () => A.NullExpression$($.$get$bogusSpan0()));
  126903. _lazyFinal($, "global11", "$get$global10", () => {
  126904. var _s8_ = "selector";
  126905. 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);
  126906. });
  126907. _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));
  126908. _lazyFinal($, "_nest0", "$get$_nest0", () => A._function8("nest", "$selectors...", new A._nest_closure0()));
  126909. _lazyFinal($, "_append2", "$get$_append1", () => A._function8("append", "$selectors...", new A._append_closure1()));
  126910. _lazyFinal($, "_extend0", "$get$_extend0", () => A._function8("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
  126911. _lazyFinal($, "_replace0", "$get$_replace0", () => A._function8("replace", "$selector, $original, $replacement", new A._replace_closure0()));
  126912. _lazyFinal($, "_unify0", "$get$_unify0", () => A._function8("unify", "$selector1, $selector2", new A._unify_closure0()));
  126913. _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function8("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
  126914. _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function8("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
  126915. _lazyFinal($, "_parse1", "$get$_parse0", () => A._function8("parse", "$selector", new A._parse_closure0()));
  126916. _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
  126917. var _i, set, t2,
  126918. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  126919. for (_i = 0; _i < 5; ++_i) {
  126920. set = B.List_BFg[_i];
  126921. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  126922. t1.$indexSet(0, t2.get$current(0), set);
  126923. }
  126924. return t1;
  126925. });
  126926. _lazyFinal($, "bogusSpan0", "$get$bogusSpan0", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  126927. _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
  126928. _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
  126929. _lazyFinal($, "global12", "$get$global11", () => {
  126930. var _s6_ = "string";
  126931. 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);
  126932. });
  126933. _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));
  126934. _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function7("unquote", "$string", new A._unquote_closure0()));
  126935. _lazyFinal($, "_quote0", "$get$_quote0", () => A._function7("quote", "$string", new A._quote_closure0()));
  126936. _lazyFinal($, "_length2", "$get$_length1", () => A._function7("length", "$string", new A._length_closure1()));
  126937. _lazyFinal($, "_insert0", "$get$_insert0", () => A._function7("insert", "$string, $insert, $index", new A._insert_closure0()));
  126938. _lazyFinal($, "_index2", "$get$_index1", () => A._function7("index", "$string, $substring", new A._index_closure1()));
  126939. _lazyFinal($, "_slice0", "$get$_slice0", () => A._function7("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
  126940. _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function7("to-upper-case", "$string", new A._toUpperCase_closure0()));
  126941. _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function7("to-lower-case", "$string", new A._toLowerCase_closure0()));
  126942. _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function7("unique-id", "", new A._uniqueId_closure0()));
  126943. _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
  126944. _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
  126945. var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
  126946. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
  126947. return t1;
  126948. });
  126949. _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
  126950. _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
  126951. _lazyFinal($, "_urlSchemeRegExp", "$get$_urlSchemeRegExp", () => A.RegExp_RegExp("^[a-z0-9+.-]+$", false));
  126952. _lazyFinal($, "_jsThrow0", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
  126953. _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
  126954. _lazyFinal($, "_isNull", "$get$_isNull", () => new self.Function("value", "return value === null;"));
  126955. _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
  126956. _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
  126957. _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
  126958. })();
  126959. (function nativeSupport() {
  126960. !function() {
  126961. var intern = function(s) {
  126962. var o = {};
  126963. o[s] = 1;
  126964. return Object.keys(hunkHelpers.convertToFastObject(o))[0];
  126965. };
  126966. init.getIsolateTag = function(name) {
  126967. return intern("___dart_" + name + init.isolateTag);
  126968. };
  126969. var tableProperty = "___dart_isolate_tags_";
  126970. var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
  126971. var rootProperty = "_ZxYxX";
  126972. for (var i = 0;; i++) {
  126973. var property = intern(rootProperty + "_" + i + "_");
  126974. if (!(property in usedProperties)) {
  126975. usedProperties[property] = 1;
  126976. init.isolateTag = property;
  126977. break;
  126978. }
  126979. }
  126980. init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
  126981. }();
  126982. hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer: A.NativeByteBuffer, ArrayBufferView: A.NativeTypedData, DataView: A.NativeByteData, Float32Array: A.NativeFloat32List, Float64Array: A.NativeFloat64List, Int16Array: A.NativeInt16List, Int32Array: A.NativeInt32List, Int8Array: A.NativeInt8List, Uint16Array: A.NativeUint16List, Uint32Array: A.NativeUint32List, Uint8ClampedArray: A.NativeUint8ClampedList, CanvasPixelArray: A.NativeUint8ClampedList, Uint8Array: A.NativeUint8List});
  126983. hunkHelpers.setOrUpdateLeafTags({ArrayBuffer: true, ArrayBufferView: false, DataView: true, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false});
  126984. A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
  126985. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  126986. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  126987. A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
  126988. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  126989. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  126990. A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
  126991. })();
  126992. Function.prototype.call$0 = function() {
  126993. return this();
  126994. };
  126995. Function.prototype.call$1 = function(a) {
  126996. return this(a);
  126997. };
  126998. Function.prototype.call$2 = function(a, b) {
  126999. return this(a, b);
  127000. };
  127001. Function.prototype.call$3$1 = function(a) {
  127002. return this(a);
  127003. };
  127004. Function.prototype.call$2$1 = function(a) {
  127005. return this(a);
  127006. };
  127007. Function.prototype.call$1$1 = function(a) {
  127008. return this(a);
  127009. };
  127010. Function.prototype.call$3 = function(a, b, c) {
  127011. return this(a, b, c);
  127012. };
  127013. Function.prototype.call$4 = function(a, b, c, d) {
  127014. return this(a, b, c, d);
  127015. };
  127016. Function.prototype.call$3$3 = function(a, b, c) {
  127017. return this(a, b, c);
  127018. };
  127019. Function.prototype.call$2$2 = function(a, b) {
  127020. return this(a, b);
  127021. };
  127022. Function.prototype.call$5 = function(a, b, c, d, e) {
  127023. return this(a, b, c, d, e);
  127024. };
  127025. Function.prototype.call$6 = function(a, b, c, d, e, f) {
  127026. return this(a, b, c, d, e, f);
  127027. };
  127028. Function.prototype.call$2$0 = function() {
  127029. return this();
  127030. };
  127031. Function.prototype.call$1$0 = function() {
  127032. return this();
  127033. };
  127034. Function.prototype.call$1$2 = function(a, b) {
  127035. return this(a, b);
  127036. };
  127037. Function.prototype.call$2$3 = function(a, b, c) {
  127038. return this(a, b, c);
  127039. };
  127040. convertAllToFastObject(holders);
  127041. convertToFastObject($);
  127042. (function(callback) {
  127043. if (typeof document === "undefined") {
  127044. callback(null);
  127045. return;
  127046. }
  127047. if (typeof document.currentScript != "undefined") {
  127048. callback(document.currentScript);
  127049. return;
  127050. }
  127051. var scripts = document.scripts;
  127052. function onLoad(event) {
  127053. for (var i = 0; i < scripts.length; ++i) {
  127054. scripts[i].removeEventListener("load", onLoad, false);
  127055. }
  127056. callback(event.target);
  127057. }
  127058. for (var i = 0; i < scripts.length; ++i) {
  127059. scripts[i].addEventListener("load", onLoad, false);
  127060. }
  127061. })(function(currentScript) {
  127062. init.currentScript = currentScript;
  127063. var callMain = A.main2;
  127064. if (typeof dartMainRunner === "function") {
  127065. dartMainRunner(callMain, []);
  127066. } else {
  127067. callMain([]);
  127068. }
  127069. });
  127070. })();
  127071. }